/* ========================================
   トップページ：ヘッダー下グラデーション
======================================== */
body.home {
  position: relative;
  width: 100%;
  max-width: 100%;
  background-color: var(--color-white);
}

.front-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.top-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--top-gradient-height);
  background: linear-gradient(
    180deg,
    var(--color-top-gradient) 0%,
    #d8fbff 30%,
    #eefcff 60%,
    var(--color-white) 100%
  );
  z-index: var(--z-top-gradient);
  pointer-events: none;
}

body.home .front-page {
  position: relative;
  z-index: 1;
}

/* ========================================
   トップページ：ヒーローセクション
======================================== */

/* 時間帯ごとのキャッチコピー配色（スライド連動時に変更予定） */
.hero {
  --hero-radius: 20px;
  --hero-gap-x: 30px;
  --hero-slide-max-width: 1300px;
  --hero-slide-max-height: 700px;
  --hero-track-height: clamp(70px, 10vw, 95px);
  --hero-truck-overlap: 75px;
  --hero-truck-width: clamp(150px, 20vw, 230px);
  --hero-truck-duration: 8s;
  --hero-truck-wheel-rotation-scale: 1;
  --hero-slide-fade-duration: 2s;
  --hero-slide-fade-delay: 0.5s;
  --hero-slide-zoom-from: 1.12;
  --hero-catch-color: var(--color-white);
  --hero-catch-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 0.65);
  padding: var(--spacing-md) var(--hero-gap-x) var(--spacing-lg);
}

.hero__inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--hero-track-height) - var(--hero-truck-overlap));
  overflow: visible;
}

.hero__stage {
  position: relative;
  flex-shrink: 0;
  width: min(100%, var(--hero-slide-max-width));
  margin-inline: auto;
}

/* スライド画像エリア
   - border ではなく inset box-shadow で枠を描画（サブピクセルで太さが揺れにくい）
   - 背景黒 + 子にも角丸で、実機の角の白隙間を防ぐ */
.hero__slides {
  position: relative;
  width: 100%;
  max-width: var(--hero-slide-max-width);
  height: min(
    calc(
      min(100vw - var(--hero-gap-x) * 2, var(--hero-slide-max-width)) * 650 /
        1200
    ),
    var(--hero-slide-max-height)
  );
  max-height: var(--hero-slide-max-height);
  border: none;
  border-radius: var(--hero-radius);
  overflow: hidden;
  background-color: #000000;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(#fff, #000);
  mask-image: radial-gradient(#fff, #000);
}

.hero__slides::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 3px #000000;
  pointer-events: none;
}

.hero__slide {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background-color: #000000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--hero-slide-fade-duration) ease,
    visibility var(--hero-slide-fade-duration) ease;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition-delay: var(--hero-slide-fade-delay);
}

.hero__slide:not(.is-active) {
  transition-delay: 0s;
}

.hero__picture,
.hero__image {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__picture {
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.hero__image {
  object-fit: cover;
  object-position: center bottom;
  transform: scale(var(--hero-slide-zoom-from));
  transform-origin: center bottom;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero--gsap .hero__slide.is-active .hero__image,
.hero--gsap .hero__slide.is-leaving .hero__image,
.hero--gsap .hero__slide:not(.is-active):not(.is-leaving) .hero__image {
  animation: none;
}

.hero--gsap .hero__slide:not(.is-active):not(.is-leaving) .hero__image {
  transform: scale(var(--hero-slide-zoom-from));
}

/* キャッチコピー */
.hero__content {
  position: absolute;
  top: clamp(48px, 8vw, 88px);
  left: clamp(20px, 5vw, 56px);
  z-index: 2;
  max-width: min(94%, 780px);
}

.hero__catch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(6px, 1.2vw, 12px);
  margin: 0;
}

.hero__catch-line {
  display: inline-block;
  font-size: clamp(36px, 5.2vw, 40px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--hero-catch-color);
  text-shadow: var(--hero-catch-shadow);
  transition:
    color var(--transition-base),
    text-shadow var(--transition-base);
}

/* トラック走行エリア（スライド下・一部重ね） */
.hero__track {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  height: var(--hero-track-height);
  margin-top: calc(var(--hero-truck-overlap) * -1);
  z-index: 3;
  container-type: inline-size;
  container-name: hero-track;
  overflow: visible;
  pointer-events: none;
}

.hero__truck {
  position: absolute;
  bottom: 0;
  left: 100%;
  width: var(--hero-truck-width);
  transform: translateX(0);
  will-change: transform;
}

.hero__truck-img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.truck-wheel {
  position: absolute;
  z-index: 2;
  width: var(--truck-wheel-size);
  height: auto;
  bottom: var(--truck-wheel-bottom, 0);
  pointer-events: none;
  transform-origin: 50% 50%;
}

.hero__truck .truck-wheel {
  --truck-wheel-size: 14.5%;
  --truck-wheel-front-x: 9.5%;
  --truck-wheel-rear-x: 66%;
  --truck-wheel-bottom: -5%;
}

.hero__truck .truck-wheel--front {
  left: var(--truck-wheel-front-x);
  right: auto;
}

.hero__truck .truck-wheel--rear {
  left: var(--truck-wheel-rear-x);
  right: auto;
}

.services__truck .truck-wheel {
  --truck-wheel-size: 14.5%;
  --truck-wheel-front-x: 9.5%;
  --truck-wheel-rear-x: 66%;
  --truck-wheel-bottom: -5%;
}

.services__truck .truck-wheel--front {
  left: auto;
  right: var(--truck-wheel-front-x);
}

.services__truck .truck-wheel--rear {
  left: auto;
  right: var(--truck-wheel-rear-x);
}

@media (min-width: 769px) {
  .hero {
    --hero-slide-max-height: 900px;
    margin-top: calc(-1 * var(--header-height-pc));
    padding-top: 0;
    padding-inline: 0;
  }

  .hero__stage {
    width: 100%;
    max-width: none;
  }

  .hero__slides {
    width: 100%;
    max-width: none;
    height: var(--hero-slide-max-height);
    max-height: var(--hero-slide-max-height);
    border: none;
    border-radius: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero__slides::after {
    content: none;
  }

  .hero__slide,
  .hero__picture {
    border-radius: 0;
  }

  .hero__content {
    top: calc(var(--header-height-pc) + clamp(96px, 14vw, 180px));
  }
}

/* ========================================
   トップページ：PHILOSOPHYセクション
======================================== */
.philosophy {
  position: relative;
  padding-top: clamp(96px, 10vw, 128px);
  --philosophy-text-shadow:
    0 0 6px rgba(255, 255, 255, 1), 0 0 14px rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(255, 255, 255, 1);
}

.philosophy__inner {
  width: min(100% - 32px, var(--container-width));
  margin-inline: auto;
}

.philosophy__title-area {
  position: relative;
  margin-bottom: var(--spacing-lg);
  padding-bottom: 72px;
}

.section-heading--philosophy {
  margin-bottom: 0;
}

.philosophy__balloon {
  position: absolute;
  display: block;
}

.philosophy__balloon--left {
  left: 0;
  bottom: calc(72px + 0.675 * clamp(1.35rem, 3.8vw, 2.25rem));
}

.philosophy__balloon--right {
  right: 0;
  bottom: calc(72px + 0.675 * clamp(1.35rem, 3.8vw, 2.25rem) - 48px);
}

.philosophy__body {
  width: 100%;
  margin-bottom: 0;
}

.philosophy__visual {
  position: relative;
  width: 100%;
  overflow: visible;
}

.philosophy__media {
  position: relative;
  width: 100%;
  overflow: visible;
}

.philosophy__picture,
.philosophy__bg {
  display: block;
  width: 100%;
  height: auto;
  filter: blur(0);
}

.philosophy__box {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(96%, 1100px);
  padding: 0 clamp(20px, 3.5vw, 36px);
  transform: translate(-50%, -50%);
}

.philosophy__text {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 700;
  line-height: 1.9;
  color: var(--color-text);
  text-align: center;
  text-shadow: var(--philosophy-text-shadow);
}

.philosophy__text-body {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 24px);
}

.philosophy__text-line {
  display: block;
}

.philosophy__text-body--sp {
  display: none;
}

@media (min-width: 769px) {
  .philosophy__text-line {
    white-space: nowrap;
  }
}

/* ========================================
   トップページ：SERVICESセクション
======================================== */
.services {
  position: relative;
  padding-top: clamp(96px, 10vw, 128px);
  --services-truck-width: clamp(150px, 20vw, 230px);
  --services-truck-duration: 8s;
  --services-truck-wheel-rotation-scale: 1;
  --services-card-dots: url("../images/top/service-card-dots.svg");
}

.services__inner {
  width: min(100% - 32px, var(--container-width));
  margin-inline: auto;
}

.services__cards {
  position: relative;
  margin-bottom: var(--spacing-lg);
}

.services__cards-track {
  width: 100%;
}

.services__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.services__card {
  border: 2px solid #000000;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--services-card-bg);
  background-image: var(--services-card-dots);
  background-repeat: repeat;
  background-size: 120px 120px;
}

.services__card:hover {
  animation: services-card-lift 0.5s ease;
}

.services__card--01 {
  --services-card-bg: #e05542;
}

.services__card--02 {
  --services-card-bg: #179cb9;
}

.services__card--03 {
  --services-card-bg: #60af44;
}

.services__card-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: clamp(260px, 28vw, 320px);
  padding: clamp(24px, 3vw, 32px) clamp(16px, 2vw, 24px) clamp(56px, 6vw, 64px);
  text-align: center;
  text-decoration: none;
  color: var(--color-white);
}

.services__card-icon-wrap {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: clamp(64px, 10vw, 80px);
  height: clamp(64px, 10vw, 80px);
  margin-bottom: clamp(12px, 2vw, 20px);
  border-radius: 50%;
  background-color: var(--color-white);
}

.services__card-icon {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
}

.services__card-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: calc(2 * 1.5em);
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-white);
}

.services__card-text {
  align-self: stretch;
  width: 100%;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
}

.services__card-more {
  position: absolute;
  right: clamp(12px, 2vw, 20px);
  bottom: clamp(12px, 2vw, 20px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.services__card-more-text {
  display: none;
}

.services__card-arrow {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  line-height: 0;
}

.services__visual {
  width: 100%;
}

.services__media {
  position: relative;
  width: 100%;
  min-height: clamp(220px, 32vw, 360px);
  overflow: hidden;
}

.services__bg {
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
  width: min(92%, 960px);
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: right bottom;
}

.services__track {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  width: 100%;
  height: clamp(70px, 10vw, 95px);
  overflow: visible;
  pointer-events: none;
}

.services__truck {
  position: absolute;
  bottom: 0;
  left: 0;
  width: var(--services-truck-width);
  transform: translateX(-100%);
  will-change: transform;
}

.services__truck-img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

@keyframes services-scroll-hint-arrow {
  0%,
  100% {
    transform: translateY(-50%) rotate(45deg) translateX(0);
    opacity: 1;
  }

  50% {
    transform: translateY(-50%) rotate(45deg) translateX(4px);
    opacity: 0.5;
  }
}

/* ========================================
   トップページ：STRENGTHSセクション
======================================== */
.strengths {
  position: relative;
  --strengths-wave-height: clamp(72px, 11.72vw, 150px);
  --strengths-padding-block: clamp(96px, 10vw, 128px);
  padding: var(--strengths-padding-block) 0
    calc(var(--strengths-padding-block) * 2);
  background-color: #415fb0;
  background-image: url("../images/top/service-card-dots.svg");
  background-repeat: repeat;
  background-size: 120px 120px;
}

.strengths__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: var(--strengths-wave-height);
  pointer-events: none;
  line-height: 0;
}

.strengths__wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.strengths__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--container-width));
  margin-inline: auto;
}

.section-heading--strengths .section-heading__en {
  color: #fffaad;
}

.section-heading--strengths .section-heading__ja {
  color: var(--color-white);
}

.strengths__cards {
  position: relative;
}

.strengths__cards-track {
  width: 100%;
}

.strengths__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.strengths__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: clamp(220px, 24vw, 280px);
  padding: clamp(24px, 3vw, 32px) clamp(20px, 2.5vw, 28px);
  text-align: center;
  background-color: #eef8ff;
  border: 2px solid #000000;
  border-radius: 16px;
}

.strengths__card--01,
.strengths__card--03 {
  background-color: #eef8ff;
}

.strengths__card--02 {
  background-color: #fdfce6;
}

.strengths__card-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: calc(2 * 1.5em);
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  color: #e05542;
}

.strengths__card-icon-wrap {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100px;
  margin-bottom: 12px;
}

.strengths__card-icon-wrap:empty {
  display: none;
  margin: 0;
}

.strengths__card-icon {
  display: block;
  width: auto;
  height: 100px;
  max-width: 100%;
  object-fit: contain;
}

.strengths__card--03 .strengths__card-icon {
  width: min(100%, 148px);
  height: auto;
  max-height: 76px;
}

.strengths__card-text {
  align-self: stretch;
  width: 100%;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  color: #582508;
  text-align: left;
}

/* ========================================
   トップページ：FLOWセクション
======================================== */
.flow {
  position: relative;
  --flow-padding-top: clamp(64px, 8vw, 96px);
  --strengths-wave-height: clamp(72px, 11.72vw, 150px);
  padding: var(--flow-padding-top) 0 clamp(96px, 10vw, 128px);
  background-color: var(--color-white);
}

.flow__inner {
  position: relative;
  width: min(100% - 32px, var(--container-width));
  margin-inline: auto;
}

.flow__badge,
.top-contact__badge {
  position: absolute;
  left: max(16px, calc((100% - min(100% - 32px, var(--container-width))) / 2));
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(108px, 12vw, 148px);
  height: clamp(108px, 12vw, 148px);
  margin: 0;
  border-radius: 50%;
  background-color: #e05542;
  text-decoration: none;
  color: inherit;
  transform: translateY(-50%);
}

.flow__badge {
  top: calc(var(--strengths-wave-height) / -2);
}

.top-contact__badge {
  top: calc(var(--top-contact-hill-height) / -2);
}

.flow__badge:hover,
.top-contact__badge:hover {
  animation: flow-badge-lift 0.5s ease;
}

.flow__badge:focus-visible,
.top-contact__badge:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}

.flow__badge-text,
.top-contact__badge-text {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-white);
  text-align: center;
}

.flow__badge-em,
.top-contact__badge-em {
  display: block;
  margin-top: 2px;
  font-size: 2em;
  line-height: 1.1;
}

.section-heading--flow .section-heading__ja {
  color: var(--color-text);
}

.flow__lead {
  width: min(100%, 720px);
  margin: 0 auto clamp(40px, 5vw, 56px);
  font-size: 17px;
  font-weight: 700;
  line-height: 2;
  color: var(--color-text);
  text-align: center;
}

.flow__steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.flow__step {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin: 0;
}

.flow__step-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.flow__step-num {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-text);
}

.flow__step-icon-wrap {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
}

.flow__step-icon {
  display: block;
  width: auto;
  height: 80px;
  max-width: 80px;
  object-fit: contain;
}

.flow__step-body {
  padding: 20px 24px;
  border: 2px solid #79b2fd;
  border-radius: 12px;
  background-color: var(--color-white);
}

.flow__step-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
}

.flow__step-text {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text);
}

/* ========================================
   トップページ：COMPANYセクション
======================================== */
.company {
  position: relative;
  --company-content-width: 900px;
  --company-profile-indent: calc(50% - 12.5em);
  --company-profile-term-width: 160px;
  --company-wave-height: clamp(72px, 11.72vw, 150px);
  --company-padding-block: clamp(96px, 10vw, 128px);
  padding: calc(var(--company-padding-block) + var(--company-wave-height)) 0
    calc(var(--company-padding-block) + var(--company-wave-height));
  background-color: #f09033;
  background-image: url("../images/top/service-card-dots.svg");
  background-repeat: repeat;
  background-size: 120px 120px;
}

.company__wave {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: var(--company-wave-height);
  pointer-events: none;
  line-height: 0;
}

.company__wave--top {
  top: 0;
}

.company__wave--bottom {
  bottom: 0;
}

.company__wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.company__wave--top svg {
  transform: scaleX(-1);
}

.company__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--container-width));
  margin-inline: auto;
}

.company__title-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(20px, 4vw, 48px);
  margin-bottom: var(--spacing-lg);
}

.company__title-side--left {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.company__title-side--right {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  min-width: 0;
}

.company__deco-cluster {
  position: relative;
  flex-shrink: 0;
  margin-right: clamp(28px, 8vw, 120px);
}

.section-heading--company {
  grid-column: 2;
  grid-row: 1;
  margin-bottom: 0;
}

.company__deco {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  pointer-events: none;
  flex-shrink: 0;
}

.company__deco--cloud-left {
  width: clamp(120px, 17vw, 210px);
}

.company__deco--cloud-right {
  width: clamp(140px, 19vw, 240px);
  margin-top: clamp(-32px, -4.5vw, -48px);
}

.company__deco--balloon {
  position: absolute;
  top: -60px;
  left: 91%;
  width: clamp(52px, 6.5vw, 76px);
}

.section-heading--company .section-heading__en {
  color: #fffaad;
}

.section-heading--company .section-heading__ja {
  color: var(--color-white);
}

.company__lead {
  width: min(100%, 720px);
  margin: 0 auto clamp(40px, 5vw, 56px);
  font-size: 17px;
  font-weight: 700;
  line-height: 2;
  color: var(--color-white);
  text-align: center;
}

.company__profile {
  width: min(100%, var(--company-content-width));
  margin: 0 auto var(--spacing-lg);
  font-size: 18px;
}

.company__profile-row {
  display: grid;
  grid-template-columns:
    var(--company-profile-indent) var(--company-profile-term-width)
    1fr;
  gap: 0 24px;
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.85);
}

.company__profile-row:first-child {
  border-top: 1px dashed rgba(255, 255, 255, 0.85);
}

.company__profile-term {
  grid-column: 2;
}

.company__profile-desc {
  grid-column: 3;
}

.company__profile-term,
.company__profile-desc {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--color-white);
}

.company__profile-desc-note {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.company__business {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 16px;
}

.company__business-col {
  margin: 0;
  padding: 0;
  list-style: none;
}

.company__business-col li {
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.8;
}

.company__group {
  width: min(100%, var(--company-content-width));
  margin: 0 auto;
}

.company__group-box {
  padding: clamp(24px, 4vw, 32px) clamp(20px, 3.5vw, 36px);
  background-color: var(--color-white);
  border-radius: 8px;
}

.company__group-heading {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.5;
  color: #f09033;
  text-align: center;
}

.company__group-lead {
  margin: 0 0 clamp(20px, 3vw, 28px);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--color-text);
  text-align: center;
}

.company__group-logos {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
  justify-content: center;
  margin: 0 0 clamp(20px, 3vw, 28px);
  padding: 0;
  list-style: none;
}

.company__group-logo-item {
  flex: 0 1 auto;
}

.company__group-logo {
  display: block;
  width: auto;
  height: 90px;
  max-width: clamp(120px, 18vw, 200px);
  object-fit: contain;
  object-position: center;
  margin-inline: auto;
}

.company__group-more {
  margin: 0;
  text-align: right;
}

.company__group-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
  transition: color var(--transition-base);
}

.company__group-link-arrow {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  line-height: 0;
}

.company__group-link:hover {
  color: var(--color-secondary);
}

/* ========================================
   トップページ：FAQセクション
======================================== */
.faq {
  padding: clamp(96px, 10vw, 128px) 0;
  background-color: var(--color-white);
}

.faq__inner {
  width: min(100% - 32px, var(--container-width));
  margin-inline: auto;
}

.section-heading--faq .section-heading__ja {
  color: var(--color-text);
}

.faq__list {
  display: grid;
  gap: clamp(16px, 2.5vw, 24px);
  width: min(100%, 900px);
  margin: 0 auto;
}

.faq__item {
  margin: 0;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px);
  background-color: #c7e2ff;
  border-radius: 12px;
}

.faq__question,
.faq__answer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5em 12px;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--color-text);
}

.faq__question {
  margin-bottom: 12px;
}

.faq__label {
  font-family: var(--font-en);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
}

.faq__answer {
  font-weight: 500;
}

/* ========================================
   トップページ：CONTACTセクション
======================================== */
.top-contact {
  position: relative;
  --top-contact-hill-height: clamp(50px, 12vw, 140px);
  margin-top: calc(var(--top-contact-hill-height) + var(--spacing-lg));
  padding: clamp(96px, 10vw, 128px) 0 clamp(64px, 8vw, 96px);
  background-color: var(--color-footer-bg);
}

.top-contact__hill-area {
  position: absolute;
  top: calc(var(--top-contact-hill-height) / -2);
  left: 0;
  z-index: 2;
  width: 100%;
  height: var(--top-contact-hill-height);
  pointer-events: none;
}

.top-contact__hill {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120vw;
  height: var(--top-contact-hill-height);
  background-color: var(--color-footer-bg);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.top-contact__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--container-width));
  margin-inline: auto;
}

.top-contact__title-area {
  position: relative;
  margin-bottom: clamp(32px, 4vw, 48px);
  text-align: center;
}

.top-contact__balloon {
  position: absolute;
  top: -12px;
  right: clamp(0px, 6vw, 80px);
  width: clamp(52px, 6.5vw, 76px);
  height: auto;
  pointer-events: none;
}

.section-heading--top-contact .section-heading__en,
.section-heading--top-contact .section-heading__ja {
  color: var(--color-white);
}

.top-contact__lead {
  width: min(100%, 720px);
  margin: 0 auto clamp(40px, 5vw, 56px);
  font-size: 17px;
  font-weight: 700;
  line-height: 2;
  color: var(--color-white);
  text-align: center;
}

.top-contact__action {
  margin: 0;
  text-align: center;
}

.top-contact__button {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: min(100%, 400px);
  padding: 20px 32px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-white);
  text-decoration: none;
  background-color: var(--color-primary);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-contact);
  transition:
    background-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.top-contact__button:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(3px);
  box-shadow: var(--shadow-contact-hover);
}

.top-contact__button-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.top-contact__button-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-contact__button-text {
  flex: 0 1 auto;
}

.top-contact__button-arrow {
  position: absolute;
  top: 50%;
  right: 32px;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  line-height: 0;
  transform: translateY(-50%);
}

/* ========================================
   トップページ：フッター
======================================== */
body.home .site-footer {
  margin-top: 0;
  padding-top: var(--spacing-lg);
  background-color: var(--color-white);
}

body.home .site-footer__hill-area {
  display: none;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 768px) {
  .hero {
    --hero-radius: 12px;
    --hero-gap-x: 12px;
    --hero-slide-max-height: 480px;
    --hero-track-height: clamp(56px, 15vw, 76px);
    --hero-truck-overlap: 48px;
    --hero-truck-width: clamp(120px, 30vw, 180px);
    --hero-truck-duration: 8s;
    --hero-slide-fade-duration: 2.4s;
    --hero-slide-fade-delay: 0.4s;
    margin-top: 0;
    padding: var(--spacing-sm) var(--hero-gap-x) var(--spacing-md);
  }

  .hero__slides {
    height: min(
      calc((100vw - var(--hero-gap-x) * 2) * 420 / 375),
      var(--hero-slide-max-height)
    );
    max-height: var(--hero-slide-max-height);
  }

  .hero__content {
    top: clamp(40px, 7vw, 56px);
    bottom: auto;
    left: 16px;
    max-width: calc(100% - 32px);
  }

  .hero__catch {
    gap: 8px;
  }

  .hero__catch-line {
    font-size: 20px;
    line-height: 1.55;
    letter-spacing: 0.06em;
  }

  .philosophy {
    padding-top: clamp(72px, 16vw, 96px);
  }

  .services {
    padding-top: clamp(72px, 16vw, 96px);
  }

  .strengths {
    --strengths-padding-block: clamp(72px, 16vw, 96px);
    padding: var(--strengths-padding-block) 0
      calc(var(--strengths-padding-block) * 2);
  }

  .flow {
    --flow-padding-top: clamp(56px, 14vw, 72px);
    --strengths-wave-height: clamp(72px, 11.72vw, 150px);
    padding: var(--flow-padding-top) 0 clamp(72px, 16vw, 96px);
  }

  .flow__badge,
  .top-contact__badge {
    left: max(8px, calc((100% - min(100% - 32px, var(--container-width))) / 2));
    width: 120px;
    height: 120px;
  }

  .flow__badge-text,
  .top-contact__badge-text {
    font-size: 12px;
  }

  .flow__inner {
    width: min(100% - 32px, var(--container-width));
  }

  .flow__lead {
    margin-bottom: clamp(32px, 8vw, 40px);
    font-size: 16px;
    line-height: 1.9;
    text-align: left;
  }

  .flow__steps {
    gap: 24px;
    width: 100%;
  }

  .flow__step {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }

  .flow__step-num {
    font-size: 12px;
  }

  .flow__step-icon {
    height: 60px;
    max-width: 60px;
  }

  .flow__step-body {
    padding: 16px;
  }

  .flow__step-title {
    margin-bottom: 6px;
    font-size: 16px;
  }

  .flow__step-text {
    font-size: 14px;
    line-height: 1.75;
  }

  .company {
    --company-padding-block: clamp(72px, 16vw, 96px);
    padding: calc(var(--company-padding-block) + var(--company-wave-height)) 0
      calc(var(--company-padding-block) + var(--company-wave-height));
  }

  .company__inner {
    width: min(100% - 32px, var(--container-width));
  }

  .company__title-area {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .company__title-side {
    display: none;
  }

  .section-heading--company {
    grid-column: 1;
  }

  .company__lead {
    margin-bottom: clamp(32px, 8vw, 40px);
    font-size: 16px;
    line-height: 1.9;
    text-align: left;
  }

  .company__profile {
    font-size: 16px;
  }

  .company__profile-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }

  .company__profile-term,
  .company__profile-desc {
    grid-column: 1;
    font-size: inherit;
    line-height: 1.75;
  }

  .company__profile-desc {
    font-weight: 500;
  }

  .company__business {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
  }

  .company__group-box {
    padding: 20px 16px;
  }

  .company__group-lead {
    font-size: 16px;
    line-height: 1.85;
    text-align: left;
  }

  .company__group-logos {
    gap: 16px 20px;
  }

  .company__group-logo {
    height: 48px;
    max-width: min(140px, 28vw);
  }

  .company__group-link {
    font-size: 15px;
  }

  .faq {
    padding: clamp(72px, 16vw, 96px) 0;
  }

  .faq__inner {
    width: min(100% - 32px, var(--container-width));
  }

  .faq__item {
    padding: 18px 16px;
  }

  .faq__question,
  .faq__answer {
    font-size: 16px;
    line-height: 1.85;
  }

  .top-contact {
    margin-top: calc(var(--top-contact-hill-height) + var(--spacing-md));
    padding: clamp(72px, 16vw, 96px) 0 clamp(56px, 12vw, 72px);
  }

  .top-contact__inner {
    width: min(100% - 32px, var(--container-width));
  }

  .top-contact__title-area {
    margin-bottom: 32px;
  }

  .top-contact__balloon {
    display: none;
  }

  .top-contact__lead {
    margin-bottom: clamp(32px, 8vw, 40px);
    font-size: 16px;
    line-height: 1.9;
    text-align: left;
  }

  .top-contact__button {
    width: 100%;
    max-width: 400px;
    padding: 18px 24px;
    font-size: 16px;
  }

  .top-contact__button-arrow {
    right: 24px;
  }

  body.home .site-footer {
    padding-top: var(--spacing-md);
  }

  body.home .site-footer__inner {
    padding-top: 0;
  }

  .strengths__inner {
    width: min(100% - 32px, var(--container-width));
  }

  .services__cards,
  .strengths__cards {
    --card-carousel-width: min(280px, 78vw);
    --card-carousel-gutter: max(
      2px,
      calc((100% - var(--card-carousel-width)) / 2)
    );
  }

  .strengths__cards-track {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--card-carousel-gutter);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .strengths__cards-track::-webkit-scrollbar {
    display: none;
  }

  .strengths__list {
    display: flex;
    gap: 16px;
    width: max-content;
    padding-inline: var(--card-carousel-gutter);
    box-sizing: content-box;
  }

  .strengths__card {
    flex: 0 0 var(--card-carousel-width);
    min-height: 300px;
    padding: 40px 18px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .strengths__card-title {
    font-size: 18px;
    min-height: calc(2 * 1.5em);
  }

  .strengths__card-text {
    font-size: 16px;
  }

  .strengths__card-icon {
    height: 64px;
  }

  .strengths__card-icon-wrap {
    min-height: 64px;
  }

  .strengths__card--03 .strengths__card-icon {
    width: min(100%, 120px);
    max-height: 52px;
  }

  .strengths .scroll-hint-overlay {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: 56px;
    height: 100%;
    background: linear-gradient(
      90deg,
      rgba(65, 95, 176, 0) 0%,
      rgba(65, 95, 176, 0.85) 55%,
      rgba(65, 95, 176, 1) 100%
    );
    pointer-events: none;
    transition: opacity var(--transition-base);
  }

  .strengths__cards.is-scrollable .scroll-hint-overlay {
    display: block;
  }

  .strengths .scroll-hint-overlay.is-hidden {
    opacity: 0;
  }

  .strengths .scroll-hint-overlay__icon {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 8px;
    height: 8px;
    border-top: 2px solid rgba(255, 255, 255, 0.85);
    border-right: 2px solid rgba(255, 255, 255, 0.85);
    transform: translateY(-50%) rotate(45deg);
    animation: services-scroll-hint-arrow 1.2s ease-in-out infinite;
  }

  .services__inner {
    width: min(100% - 32px, var(--container-width));
  }

  .philosophy__inner {
    width: min(100% - 32px, var(--container-width));
  }

  .philosophy__title-area {
    padding-bottom: 0;
    margin-bottom: var(--spacing-lg);
  }

  .philosophy__balloon {
    display: none;
  }

  .philosophy__picture {
    display: block;
    width: 100%;
    height: clamp(360px, 108vw, 520px);
    overflow: hidden;
  }

  .philosophy__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .philosophy__box {
    width: calc(100% - 24px);
    padding: 0 12px;
  }

  .philosophy__text {
    line-height: 1.9;
    text-align: center;
  }

  .philosophy__text-body {
    gap: 12px;
  }

  .philosophy__text-body--pc {
    display: none;
  }

  .philosophy__text-body--sp {
    display: block;
  }

  .philosophy__text-nowrap {
    white-space: nowrap;
  }

  .services__cards-track {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--card-carousel-gutter);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .services__cards-track::-webkit-scrollbar {
    display: none;
  }

  .services__list {
    display: flex;
    gap: 16px;
    width: max-content;
    padding-inline: var(--card-carousel-gutter);
    box-sizing: content-box;
  }

  .services__card {
    flex: 0 0 var(--card-carousel-width);
    scroll-snap-align: center;
    scroll-snap-stop: always;
    display: flex;
    min-height: 300px;
  }

  .services__card-link {
    flex: 1;
    min-height: 0;
  }

  .services .scroll-hint-overlay {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: 56px;
    height: 100%;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.85) 55%,
      rgba(255, 255, 255, 1) 100%
    );
    pointer-events: none;
    transition: opacity var(--transition-base);
  }

  .services__cards.is-scrollable .scroll-hint-overlay {
    display: block;
  }

  .services .scroll-hint-overlay.is-hidden {
    opacity: 0;
  }

  .services .scroll-hint-overlay__icon {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--color-text-light);
    border-right: 2px solid var(--color-text-light);
    transform: translateY(-50%) rotate(45deg);
    animation: services-scroll-hint-arrow 1.2s ease-in-out infinite;
  }

  .services__card:hover {
    animation: none;
  }

  .services__card-more-text {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--color-white);
  }

  .services__card-title {
    font-size: 20px;
    min-height: calc(2 * 1.5em);
  }

  .services__media {
    min-height: clamp(180px, 52vw, 260px);
  }

  .services__bg {
    width: min(100%, 720px);
  }

  .services__track {
    height: clamp(56px, 15vw, 76px);
  }

  .services {
    --services-truck-width: clamp(120px, 30vw, 180px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition: none;
  }

  .hero__slide .hero__image {
    animation: none;
    transform: none;
  }

  .hero__truck {
    animation: none;
    left: 50%;
    transform: translateX(-50%);
  }

  .services__truck {
    animation: none;
    left: 50%;
    transform: translateX(-50%);
  }

  .services .scroll-hint-overlay__icon {
    animation: none;
  }

  .strengths .scroll-hint-overlay__icon {
    animation: none;
  }

  .services__card:hover,
  .flow__badge:hover,
  .top-contact__badge:hover {
    animation: none;
  }
}

@keyframes services-card-lift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes flow-badge-lift {
  0%,
  100% {
    transform: translateY(-50%);
  }

  50% {
    transform: translateY(calc(-50% - 7px));
  }
}
