/* ==========================================
   layout.css - レイアウト構造
   - Grid / Flexbox の配置
   - position, display
   - width, height, margin, padding, gap
   - 色・装飾は component.css へ
========================================== */

/* ========== Container ========== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ========== Header ========== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 60px;
  z-index: 250;
}

.site-header__inner {
  height: 100%;
  position: relative;
  padding-left: 12px;
  padding-right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  height: 100%;
  display: flex;
  align-items: center;
}

.site-header__logo img {
  height: var(--img-logo-mobile);
  width: auto;
}

.site-header__menu-button {
  position: absolute;
  top: 0;
  right: 0;
}

/* ========== Sections ========== */
section {
  padding: 64px 0;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
  padding: 0;
}

.hero__media {
  position: absolute;
  inset: 0;
  height: 100%;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero__inner {
  position: relative;
  height: 100%;
}

.hero__badge {
  position: absolute;
  top: 80px;
  right: 16px;
}

.hero__badge-wrapper {
  position: absolute;
  bottom: 40px;
}

.hero__title {
  margin: 0 0 12px;
}

.hero__title-line {
  display: inline-block;
  white-space: nowrap;
}

/* ========== Section head (shared) ========== */
.section-head {
  text-align: left;
  margin-bottom: 16px;
}

.section-head--center {
  text-align: center;
}

.section-head__bar {
  display: block;
  width: 58px;
  height: 6px;
  margin: 0 auto 16px;
}

.section-head__title {
  line-height: 1.25;
  text-align: center;
}

/* ========== Message ========== */
.message {
  position: relative;
  padding: 56px 0 64px;
  overflow: hidden;
}

.message::before {
  content: "";
  position: absolute;
  width: 376px;
  height: 376px;
  z-index: -1;
}

.message::before{
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.message::after {
  content: none;
}

.message__sub {
  margin-top: 10px;
}

.message__text {
  margin-top: 26px;
}

.message__text p + p {
  margin-top: 18px;
}

/* ========== CTA Block ========== */
body > main > section.cta-block {
  background: #f5f5f5;
  padding: 56px 0;
  position: relative;
  overflow: visible;
}

body > main > section.cta-block::after {
  content: "";
  display: block;
  width: 331px;
  height: 179px;
  background: url("../images/shape.png") 50% / contain no-repeat;
  position: absolute;
  top: 39%;
  left: calc(50% - 10px);
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

#cta-block-title {
  color: #000;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 36px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  letter-spacing: -1.8px;
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
}

#cta-block-title > span.ls-pull-left {
  margin-left: -0.2em;
}

#cta-block-title::after {
  display: block;
  content: "";
  width: 331px;
  height: 26px;
  background: #ffea00;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.cta-block__text {
  max-width: 293px;
  margin: 0 auto;
  color: #000;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: -0.7px;
}

.cta-block__figure {
  width: 100%;
  height: 221px;
  background: url("../images/go-reserve-car.png") 50% / cover no-repeat;
  margin: 0;
}

body > main > section.cta-block > div > a {
  display: flex;
  width: 214px;
  height: 48px;
  padding: 16px 24px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 90px;
  background: #003d80;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  margin: 0 auto;
  margin-top: -20px;
}

/* ========== About Crew ========== */
.about-crew {
  padding: 56px 0 72px;
}

.section-lead {
  text-align: left;
  max-width: 90%;
  margin: 0 auto;
}

.feature-list {
  margin-top: 34px;
  display: grid;
  gap: 44px;
}

.feature {
  text-align: center;
}

.feature__icon {
  width: var(--img-feature-icon);
  margin: 0 auto 18px;
}

.feature__title {
  margin-bottom: 8px;
}

/* ========== Work Style ========== */
.work-style {
  padding: 64px 0 72px;
}

.work-style__lead {
  margin-top: 18px;
  text-align: left;
}

.work-style__subhead {
  margin-top: 26px;
  text-align: center;
}

.profiles {
  margin-top: 26px;
  display: grid;
  gap: 34px;
}

.profile {
  text-align: center;
}

.profile__avatar {
  width: var(--img-profile);
  height: var(--img-profile);
  overflow: hidden;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
}

.profile__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile__name {
  line-height: 1.25;
  margin-bottom: 16px;
}

.profile__desc {
  text-align: left;
}

.profile__desc {
  max-width: 90%;
  margin: 0 auto;
}

.profile__pill {
  margin: 16px auto 0;
  width: 260px;
  max-width: 100%;
  padding: 14px 16px;
}

.profile__pill span {
  display: block;
}

.profile__pill b {
  display: block;
  margin-top: 0;
}

.profile__arrow {
  width: 0;
  height: 0;
  margin: 18px auto 0;
}

/* ========== CTA strip ========== */
.cta-strip {
  padding: 20px 0 24px;
}

.cta-strip__inner {
  text-align: center;
}

.cta-strip__sub {
  margin-top: 6px;
}

.cta-strip .btn--pill {
  margin-top: 14px;
}

/* ========== Company points ========== */
.company--points {
  padding: 64px 0 72px;
}

.company-desc {
  margin-top: 16px;
  text-align: left;
}

.points {
  margin-top: 34px;
  display: grid;
  gap: 34px;
}

.point {
  padding-bottom: 34px;
}

.point:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.point__no {
  text-align: center;
}

.point__no span {
  display: block;
}

.point__no b {
  display: block;
  line-height: 1;
  margin-top: 6px;
}

.point__media {
  margin: 18px auto 14px;
  width: var(--img-point);
  display: flex;
  justify-content: center;
  align-items: center;
}

.point__title {
  text-align: center;
  line-height: 1.25;
}

.point__desc {
  margin-top: 12px;
  text-align: left;
}

/* ========== Process timeline ========== */
.process--timeline {
  padding: 64px 0 72px;
}

.process-desc {
  text-align: left;
  max-width: 90%;
  margin: 0 auto;
}

.timeline {
  position: relative;
  margin-top: 28px;
  display: grid;
  gap: 28px;
}

.timeline__line {
  position: absolute;
  left: 50%;
  top: 40px;
  bottom: 40px;
  width: 2px;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}

/* Ensure steps sit above the timeline */
.tstep {
  position: relative;
  display: grid;
  justify-items: center;
  padding-top: 14px;
  z-index: 3;
}

.tstep__num {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  z-index: 4;
  position: relative;
}

.tstep__card {
  width: 100%;
  margin-top: -12px;
  padding: 22px 18px 18px;
  position: relative;
  z-index: 2;
}

.tstep__title {
  text-align: center;
  margin-bottom: 8px;
}

.tstep__desc {
  text-align: left;
  max-width: 90%;
  margin: 0 auto;
}

.tstep__icon {
  margin-top: 18px;
  display: grid;
  place-items: center;
}

.tstep__icon img {
  width: var(--img-step-icon);
}

/* ========== FAQ ========== */
.faq {
  padding: 64px 0 72px;
}

.faq-list {
  margin-top: 22px;
  display: grid;
  gap: 16px;
}

.faq-item {
  overflow: hidden;
}

.faq-q {
  list-style: none;
  padding: 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::after {
  content: "";
  width: 10px;
  height: 10px;
}

.faq-a {
  padding: 0 18px 18px;
}

/* ========== Job List ========== */
.job-list {
  padding: 64px 0 72px;
}

.job-area {
  margin-top: 32px;
}

.job-area:first-child {
  margin-top: 22px;
}

.job-area__title {
  margin-bottom: 16px;
  text-align: center;
}

.job-office {
  margin-top: 16px;
}

.job-office:first-child {
  margin-top: 0;
}

.job-office__summary {
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.job-office__summary::-webkit-details-marker {
  display: none;
}

.job-office__summary::after {
  content: "";
  width: 10px;
  height: 10px;
}

.job-table {
  margin-top: 0;
  padding: 18px;
}

.job-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 16px 0;
}

.job-val small {
  display: inline-block;
  margin-top: 6px;
}

/* ========== Footer ========== */
.footer--dark {
  padding: 34px 0 16px;
}

.footer__inner {
  display: grid;
  gap: 14px;
  align-items: start;
}

.footer-logo {
  height: var(--img-logo-footer);
  width: auto;
}

.footer-info {
  line-height: 1.8;
}

.footer-ig {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
}

.footer__rule {
  margin-top: 18px;
  height: 1px;
}

.footer-copyright {
  padding-top: 12px;
  text-align: center;
}

/* ==========================================
   PC (769px+)
========================================== */
@media (min-width: 769px) {
  /* Container - max-width を設定して間延び防止 */
  .container {
    width: min(960px, 90%);
    max-width: 960px;
  }

  /* ========== Header PC ========== */
  .site-header {
    height: 72px;
  }

  .site-header__logo img {
    height: 48px;
  }

  .site-header__inner {
    padding-right: 24px;
    padding-left: 24px;
    margin: 0 auto;
  }

  .site-header__nav {
    display: flex;
    align-items: center;
  }

  .site-header__nav-list {
    display: flex;
    gap: 4px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .site-header__nav-link {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
    display: block;
    white-space: nowrap;
  }

  .site-header__nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
  }

  /* ヘッダースクロール時のナビリンク色 */
  .site-header.is-scrolled .site-header__nav-link {
    color: var(--color-text);
  }

  .site-header.is-scrolled .site-header__nav-link:hover {
    background: rgba(6, 58, 116, 0.1);
    color: var(--color-blue-dark);
  }

  /* ========== Main ========== */
  main {
    padding-top: 0;
  }

  section {
    padding: 80px 0;
  }

  /* ========== Hero PC ========== */
  .hero {
    height: 100vh;
    /* max-height: 750px; */
  }

  .hero__media {
    background-position: 60% 18%;
    background-size: cover;
    transform: none !important; /* パララックスを無効化 */
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 72px;
  }

  .hero__inner.container {
    min-width: calc(100% - 48px);
  }

  .hero__badge {
    position: absolute;
    top: 100px;
    right: 8%;
    width: 180px;
    height: 180px;
    font-size: 18px;
  }

  .hero__badge-wrapper {
    position: relative;
    bottom: auto;
    margin-top: auto;
    margin-bottom: 60px;
  }

  .hero__title {
    line-height: 1.3;
  }

  .hero__lead {
    line-height: 1.3;
  }

  /* ========== Message PC ========== */
  .message__body {
    max-width: 700px;
    margin: 0 auto;
  }

  .message__title {
    font-size: 26px;
  }

.message::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
}

.message::after{
  content: none;
}

.message::before {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}


  /* ========== CTA Block PC ========== */
  body > main > section.cta-block {
    padding: 48px 0;
  }

  body > main > section.cta-block::after {
    width: 320px;
    height: 173px;
    top: 42%;
  }

  #cta-block-title {
    font-size: 40px;
  }

  #cta-block-title::after {
    width: 280px;
  }

  .cta-block__text {
    max-width: 400px;
    font-size: 14px;
  }

  .cta-block__figure {
    height: 180px;
    max-width: 400px;
    margin: 0 auto;
    background-size: contain;
  }

  /* ========== About Crew PC ========== */
  .section-lead {
    text-align: center;
    max-width: 700px;
  }

  .feature-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .feature__title {
    font-size: 18px;
  }

  /* ========== Work Style PC ========== */
  .work-style__lead {
    text-align: center;
    max-width: 700px;
  }

  .profiles {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
  }

  /* プロフィールカードをflexboxで高さ揃え */
  .profile {
    display: flex;
    flex-direction: column;
  }

  .profile__desc {
    text-align: center;
    flex: 1;
  }

  .profile__arrow {
    margin-top: auto;
    padding-top: 16px;
  }

  .profile__pill {
    margin-top: 0;
  }

  /* ========== CTA Strip PC ========== */
  .cta-strip {
    padding: 24px 0;
  }

  .cta-strip__inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
  }

  .cta-strip__top {
    font-size: 16px;
  }

  .cta-strip__sub {
    margin-top: 0;
    font-size: 12px;
  }

  .cta-strip .btn--pill {
    margin-top: 0;
  }

  /* ========== Company Points PC ========== */
  .company-desc {
    text-align: center;
    max-width: 700px;
  }

  .points {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .point {
    border-bottom: none;
    padding-bottom: 0;
  }

  .point__desc {
    text-align: center;
    border-bottom: none;
  }

  .point__media {
    width: 200px;
  }

  /* ========== Process Timeline PC - シンプルな横並びデザイン ========== */
  .process-desc {
    text-align: center;
    max-width: 700px;
  }

  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  /* PCでは波線を非表示 */
  .timeline__line {
    display: none;
  }

  .tstep {
    padding-top: 0;
  }

  .tstep__num {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .tstep__card {
    z-index: 2;
    margin-top: 0;
    padding: 20px 16px;
  }

  .tstep__title {
    font-size: 16px;
  }

  .tstep__desc {
    text-align: center;
    font-size: 12px;
  }

  .tstep__icon {
    margin-top: 12px;
  }

  .tstep__icon img {
    width: 100px;
  }

  /* ========== Job List PC ========== */
  .job-list .container {
    max-width: 760px;
  }

  .job-row {
    grid-template-columns: 120px 1fr;
  }

  /* ========== FAQ PC ========== */
  .faq .container {
    max-width: 760px;
  }

  .faq-list {
    max-width: 100%;
  }

  /* ========== Form Section PC ========== */
  .form-section .container {
    max-width: 640px;
  }

  .form-card {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px;
  }

  /* ========== Footer PC ========== */
  .footer--dark {
    padding: 40px 0 20px;
  }

  .footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 100%;
  }

  .footer-logo {
    height: 48px;
  }

  .footer-info {
    text-align: center;
  }

  .footer-company,
  .footer-address,
  .footer-url {
    margin: 0;
  }

  .footer-address {
    margin-bottom: 8px;
  }

  .footer-ig {
    width: 28px;
    height: 28px;
  }

  .footer__rule {
    margin-top: 20px;
    width: 100%;
    max-width: 600px;
  }

  .footer-copyright {
    padding-top: 14px;
  }
}
