/* ============================================================
   Scroll fade
   ============================================================ */
.js-fade {
  opacity: 0;
  transform: translateY(2.4rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--fade-delay, 0s);
}

.js-fade.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Intro
   ============================================================ */
.intro {
  position: fixed;
  inset: 0;
  background-color: #000;
  display: grid;
  place-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease;
}

.intro.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* 2回目以降の訪問。head のインラインスクリプトが付与する */
.intro-skip .intro {
  display: none;
}

.intro__logo {
  width: 11.4rem;
  opacity: 0;
  animation: introLogoIn 0.8s ease forwards 0.3s;
  transition: opacity 0.6s ease;
}


@keyframes introLogoIn {
  to {
    opacity: 1;
  }
}

/* ============================================================
   Variables
   ============================================================ */
:root {
  --color-bg: #000000;
  --color-bg-dark: #131313;
  --color-bg-company: #282828;
  --color-accent: #f79f07;
  --color-text: #ffffff;
  --color-text-muted: #a0a0a0;
  --color-text-dim: #4f4f4f;
  --color-tag-bg: #404040;

  --font-en: 'Jost', 'Futura PT', 'Futura', 'Century Gothic', sans-serif;
  --font-ja: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;

  --inner-width: 1480px;
  --inner-padding: 4rem;

  --header-height: 15.7rem;

  --transition: 0.25s ease;
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ja);
  font-size: 1.6rem;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition);
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* SPだけで効かせる改行 */
.br-sp {
  display: none;
}

/* ============================================================
   Layout
   ============================================================ */
.section-inner {
  max-width: var(--inner-width);
  margin-inline: auto;
  padding-inline: var(--inner-padding);
}

/* ============================================================
   Section Label
   ============================================================ */
.section-label {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 5.6rem;
}

.section-label__en {
  font-family: var(--font-en);
  font-size: 5.4rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
  line-height: 1;
}

.section-label__line {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent);
  color: var(--color-text);
  font-family: var(--font-ja);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 0 4rem;
  height: 5rem;
  border-radius: 10rem;
  border: none;
  cursor: pointer;
  transition: filter var(--transition);
  min-width: 26.5rem;
}

.btn-yellow:hover {
  opacity: 1;
  filter: brightness(1.1);
}


.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 7rem;
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--color-bg);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding-inline: 8rem;
}

.header__logo {
  display: block;
  width: 18.4rem;
  flex-shrink: 0;
}

.header__logo img {
  width: 100%;
  height: auto;
}

.header__nav ul {
  display: flex;
  align-items: center;
  gap: 5.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav a {
  color: #FFF;
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-style: normal;
  font-weight: 450;
  line-height: normal;
  white-space: nowrap;
}

.header__hamburger {
  position: relative;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 2.8rem;
  height: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* 見た目・占有領域は変えずにタップ判定だけ44px確保する */
.header__hamburger::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: max(100%, 4.4rem);
  height: 4.4rem;
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}

.header__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.header__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--color-bg);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4rem;
}

.nav-overlay.is-open {
  display: flex;
}

.nav-overlay a {
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ============================================================
   FV / Hero
   ============================================================ */
.fv {
  position: relative;
  min-height: 100svh;
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  background-color: var(--color-bg);
  overflow: hidden;
}

.fv__inner {
  width: 100%;
  max-width: var(--inner-width);
  margin-inline: auto;
  padding-inline: var(--inner-padding);
}

.fv__title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-en);
  font-size: 9.7rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.33;
  letter-spacing: 0.02em;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.fv__title span {
  display: block;
}

.fv__sub {
  font-family: var(--font-ja);
  font-size: 3.8rem;
  font-style: normal;
  font-weight: 500;
  line-height: 2.37;
  letter-spacing: 0.22em;
  color: var(--color-text);
}

.fv__scroll {
  position: absolute;
  right: 9.3rem;
  bottom: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.fv__scroll-text {
  font-family: var(--font-en);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
}

/* 線自体はトラックとして薄く敷いておく */
.fv__scroll-line {
  position: relative;
  width: 1px;
  height: 5rem;
  background-color: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

/* 白い線が上から下へ抜けていくのを繰り返す */
.fv__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-text);
  animation: scrollLine 2.2s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

@keyframes scrollLine {
  0% {
    transform: translateY(-100%);
  }
  70%, 100% {
    transform: translateY(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fv__scroll-line {
    background-color: var(--color-text);
  }

  .fv__scroll-line::after {
    animation: none;
  }
}

/* ============================================================
   Anchor offset
   ============================================================ */
#about,
#business,
#business-detail,
#case,
#flow,
#news,
#company {
  scroll-margin-top: var(--header-height);
}

/* ============================================================
   About
   ============================================================ */
.about {
  padding-bottom: 6.5rem;
  background-color: var(--color-bg);
}

.about__title {
  font-family: var(--font-ja);
  font-size: 8.7rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.08em;
  margin-bottom: 6rem;
}

.about__body {
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 2.1;
  letter-spacing: 0.08em;
}

/* Q&A block */
.about-qa {
  margin-top: 18.4rem;
  background-color: var(--color-bg);
}

.about-qa__inner {
  max-width: var(--inner-width);
  margin-inline: auto;
  padding-inline: var(--inner-padding);
  text-align: center;
}

.about-qa__circles {
  display: flex;
  justify-content: center;
  gap: 14.2rem;
  margin-bottom: 7.6rem;
}

.about-qa__circle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.about-qa__tab-active,
.about-qa__tab {
  width: 16.8rem;
  display: block;
}

.about-qa__tab-active { display: none; }
.about-qa__circle--active .about-qa__tab-active { display: block; }
.about-qa__circle--active .about-qa__tab { display: none; }

/* タブパネル */
.about-qa__panel {
  display: none;
}

.about-qa__panel--active {
  display: block;
}

.about-qa__q-ja {
  font-size: 4.1rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  margin-bottom: 1rem;
}

.about-qa__q-en {
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-style: normal;
  font-weight: 450;
  line-height: normal;
  color: var(--color-text-dim);
  margin-bottom: 7.6rem;
}

.about-qa__a-ja {
  font-size: 3.3rem;
  font-weight: 500;
  letter-spacing: 0.44em;
  margin-bottom: 1rem;
}

.about-qa__a-desc {
  color: #fff;
  text-align: center;
  font-size: 2.3rem;
  font-style: normal;
  font-weight: 500;
  line-height: 4.3rem;
  letter-spacing: 1.012rem;
  margin-bottom: 7.6rem;
}

.about-qa__a-en {
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-style: normal;
  font-weight: 450;
  line-height: normal;
  color: var(--color-text-dim);
  margin-bottom: 7.6rem;
}

.about-qa__a-ja em {
  color: var(--color-accent);
  font-style: normal;
}

.about-qa__services {
  display: grid;
  grid-template-columns: repeat(4, 24.2rem);
  gap: 5rem;
  list-style: none;
  /* safe付きなので、入りきらない時は中央寄せをやめて左端から並ぶ */
  justify-content: safe center;
  margin-inline: auto;
  padding: 0;
}

.about-qa__service {
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding-block: 4.3rem;
  display: flex;
  flex-direction: column;
  gap: 2.9rem;
}

.about-qa__service--active {
  background-color: rgba(255, 255, 255, 0.1);
}

.about-qa__service-name {
  font-family: var(--font-ja);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.21em;
  color: var(--color-text);
}

.about-qa__service--active .about-qa__service-name {
  color: var(--color-accent);
}

.about-qa__service-detail {
  font-family: var(--font-ja);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.21em;
  line-height: 1.87;
  color: var(--color-text);
}

/* ------------------------------------------------------------
   Tab2 比較表＋棒グラフ
   PCは表とグラフを左右に並べ、SPは縦積み＋表だけ横スクロール
   ------------------------------------------------------------ */
.compare {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6rem;
  text-align: left;
}

.compare__main {
  flex: none;
}

.compare__scroll {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

/* 表のセル寸法はPC・SP共通（デザイン上どちらも651px） */
.compare__table {
  width: 65.1rem;
  table-layout: fixed;
  border-collapse: collapse;
  /* 数字はJost、日本語はNoto Sans JPに落とす */
  font-family: 'Jost', 'Futura PT', 'Futura', 'Century Gothic', var(--font-ja);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-text);
}

.compare__table :is(th, td) {
  height: 5rem;
  border: 1px solid var(--color-text);
  text-align: center;
  font-weight: inherit;
}

.compare__table th:first-child {
  width: 23.3rem;
}

.compare__table thead th {
  background-color: var(--color-bg-dark);
}

.compare__table tbody th {
  background-color: #272727;
  font-family: var(--font-ja);
}

.compare__table tbody td:nth-child(2) {
  background-color: #404040;
}

.compare__table tbody td:nth-child(3) {
  background-color: #808080;
}

.compare__source {
  margin-top: 1.8rem;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-align: right;
  color: #2e2e2e;
}

.compare__chart {
  flex: none;
  width: 58.2rem;
  display: grid;
  grid-template-columns: 14.5rem 1fr;
  column-gap: 0.8rem;
}

.compare__legend {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 3rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.compare__legend-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.compare__legend-item::before {
  content: "";
  width: 1rem;
  aspect-ratio: 1;
  background-color: currentColor;
}

.compare__legend-item--without::before { color: #404040; }
.compare__legend-item--with::before { color: #808080; }

.compare__labels,
.compare__plot {
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.compare__labels li {
  display: grid;
  place-items: center end;
  height: 6.5rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* 0〜100の目盛線。10%ごとに引き、右端の100だけinset shadowで補う */
.compare__plot {
  background-image: repeating-linear-gradient(to right, #2e2e2e 0 1px, transparent 1px 10%);
  box-shadow: inset -1px 0 0 #2e2e2e;
}

.compare__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.compare__bar {
  height: 3rem;
  width: calc(var(--value) * 1%);
}

.compare__bar--without { background-color: #404040; }
.compare__bar--with { background-color: #808080; }

.compare__axis {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin-top: 0.6rem;
  font-family: var(--font-en);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: #2e2e2e;
}

/* ------------------------------------------------------------
   Tab3 3つの悩み円
   Figmaの円は塗りと線だけのSVGだったので画像を使わずCSSで描く
   ------------------------------------------------------------ */
.problems {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin-inline: auto;
  width: min(100%, 102.8rem);
  /* 円と文字を親幅に追従させる */
  container-type: inline-size;
}

.problems__item {
  /* 3つの円が9.8%ずつ重なるデザイン。3w - 2×0.098w = 100% */
  flex: none;
  width: 35.66%;
  aspect-ratio: 1;
  border: 1px solid var(--color-text);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.7cqw;
}

.problems__item + .problems__item {
  margin-inline-start: -3.49%;
}

.problems__item--active {
  background-color: rgba(255, 255, 255, 0.1);
}

.problems__label {
  font-family: var(--font-en);
  font-size: 2.34cqw;
  font-weight: 500;
  line-height: 1.2;
}

.problems__text {
  font-size: 1.95cqw;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.21em;
}

.problems__text em {
  color: var(--color-accent);
  font-style: normal;
}

/* ============================================================
   Business
   ============================================================ */
.business {
  padding-block: 6.5rem;
  background-color: var(--color-bg);
}

.business__lead {
  text-align: center;
  margin-bottom: 8.5rem;
}

.business__lead-text {
  font-family: var(--font-ja);
  font-size: 2.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 2;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.business__lead-logo {
  width: 23rem;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 1.7rem;
  position: relative;
  top: 2.6rem;
}

.business__lead-large {
  font-size: 3.3rem;
  font-weight: 500;
}

.business__lead-highlight {
  color: var(--color-accent);
  font-size: 5.3rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.05em;
}

.business__org {
  margin-bottom: 11.9rem;
  text-align: center;
}

/* ------------------------------------------------------------
   組織図（SP専用）
   PCの business_org.png はSP幅だと文字が潰れるため要素で組み直す
   ------------------------------------------------------------ */
.org-chart {
  width: min(100%, 71.8rem);
  margin-inline: auto;
  --org-gap: 5rem;
}

.org-chart__ceo,
.org-chart__depts li {
  display: grid;
  place-items: center;
  background-color: var(--color-bg-dark);
  border: 1px solid var(--color-text);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.21em;
}

.org-chart__ceo {
  width: 22.2rem;
  height: 10.5rem;
  margin-inline: auto;
}

/* 代表取締役から部門ラインまで降ろす縦線 */
.org-chart__trunk {
  position: relative;
  height: 25.7rem;
}

.org-chart__trunk::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 1px;
  background-color: var(--color-text);
}

/* 縦線から社外経営企画部へ分岐する横線 */
.org-chart__trunk::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6.3rem;
  height: 1px;
  background-color: var(--color-text);
}

.org-chart__quina {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  left: calc(50% + 6.3rem);
  right: 0;
  height: 17.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background-color: var(--color-accent);
  border: 1px solid var(--color-text);
}

.org-chart__quina img {
  width: 71%;
}

.org-chart__quina span {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.21em;
}

.org-chart__depts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--org-gap);
  padding-top: 3.3rem;
  list-style: none;
  margin: 0;
}

/* 4部門を貫く横線。1列目と4列目の中心を結ぶ */
.org-chart__depts::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc((100% - var(--org-gap) * 3) / 8);
  right: calc((100% - var(--org-gap) * 3) / 8);
  height: 1px;
  background-color: var(--color-text);
}

.org-chart__depts li {
  position: relative;
  height: 6.7rem;
  border-radius: 10rem;
}

/* 横線から各部門へ降ろす短い縦線 */
.org-chart__depts li::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 1px;
  height: 3.3rem;
  background-color: var(--color-text);
}

/* サービス詳細アコーディオン */
.business-detail {
  display: grid;
  grid-template-rows: 1fr;
}

.business-detail__inner {
  overflow: hidden;
  padding-inline: var(--inner-padding);
}

.biz-service {
  max-width: 112rem;
  margin-inline: auto;
  margin-bottom: 11rem;
}

.biz-service:first-child {
  border-top: none;
  padding-top: 0;
}

.biz-service:last-child {
  margin-bottom: 14rem;
}

.biz-service__header {
  position: relative;
  margin-bottom: 4.5rem;
}

.biz-service__num {
  position: absolute;
  top: -4.6rem;
  left: -6.2rem;
  font-family: var(--font-en);
  font-size: 8.8rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  color: rgba(255, 255, 255, 0.17);
  pointer-events: none;
}

.biz-service__title {
  font-family: var(--font-ja);
  font-size: 5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-text);
  line-height: 1.39;
}

.biz-service__title em {
  color: var(--color-accent);
  font-style: normal;
}

.biz-service__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.4rem;
  padding-inline: 1.3rem;
}

.biz-service__card {
  border: 1px solid #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3.3rem 4.5rem 4.4rem;
}

.biz-service__tag {
  width: 31.6rem;
  height: 5.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  color: #fff;
  text-align: center;
  font-size: 1.44rem;
  font-style: normal;
  font-weight: 500;
  line-height: 2.372rem;
  letter-spacing: 0.303rem;
  margin-bottom: 3.3rem;
}

.biz-service__card-title {
  color: var(--color-accent);
  text-align: center;
  font-size: 2.118rem;
  font-style: normal;
  font-weight: 500;
  line-height: 2.372rem;
  letter-spacing: 0.445rem;
  margin-bottom: 4.773rem;
  font-feature-settings: "palt";
}


.biz-service__points {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.biz-service__points li {
  color: #fff;
  font-size: 1.779rem;
  font-style: normal;
  font-weight: 500;
  line-height: 2.372rem;
  letter-spacing: 0.374rem;
  padding-left: 2.2rem;
  position: relative;
  font-feature-settings: "palt";
}

.biz-service__points li::before {
  content: '・';
  position: absolute;
  left: 0;
}


/* ============================================================
   Flow
   ============================================================ */
.flow {
  width: calc(100% + var(--inner-padding) * 2);
  margin-left: calc(var(--inner-padding) * -1);
  padding-block: 5.6rem 12rem;
  background-color: #181818;
}

.flow__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  padding-inline: var(--inner-padding);
}

.flow__step {
  flex: 1;
  min-width: 18.5rem;
  max-width: 18.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.flow__step-num {
  position: relative;
  width: 8.2rem;
  height: 8.2rem;
  border-radius: 5rem;
  background-color: #0e0e0d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3rem;
  margin-top: -4.1rem;
  margin-bottom: 1.6rem;
  color: var(--color-accent);
  text-align: center;
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
}

.flow__step-num::after {
  content: "";
  position: absolute;
  width: 2.2rem;
  height: 0.2rem;
  background-color: var(--color-accent);
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
}

.flow__step-icon {
  width: 9.7rem;
  height: 9.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4.1rem;
}

.flow__step-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.flow__step-title {
  color: #fff;
  text-align: center;
  font-size: 2rem;
  font-style: normal;
  font-weight: 500;
  line-height: 4.3211rem;
  letter-spacing: 0.02em;
  margin-bottom: 1.2rem;
}

.flow__step-desc {
  color: #fff;
  text-align: left;
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 500;
  line-height: 2.3723rem;
  letter-spacing: 0.21em;
}

.flow__arrow {
  padding-top: 6rem;
  flex-shrink: 0;
  min-width: 3.1rem;
  max-width: 3.1rem;
}

/* ============================================================
   Case
   ============================================================ */
.case {
  padding-block: 6.5rem;
  background-color: var(--color-bg);
}

.case__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4.3rem;
  list-style: none;
  padding: 0;
  margin-inline: auto;
}

.case__item {
  border: 1px solid rgba(255, 255, 255, 0.3);
  /* gap2つ分を引いた3等分。広い画面では42.6remで頭打ち */
  max-width: min(42.6rem, calc((100% - 8.6rem) / 3));
}

.case__img {
  background-color: #fff;
  aspect-ratio: 426 / 244;
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* 事例ロゴ。原寸比が違うので枠幅に対する比率で指定 */
.case__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.case__logo img {
  width: 100%;
}

.case__logo--firstview { width: 89.3%; }
.case__logo--trust { width: 40.9%; }
.case__logo--chubby { width: 84.9%; }

.case__logo--vitas { width: 73.9%; }

.case__body {
  padding: 2rem 2.4rem 3rem;
}

.case__company {
  font-size: 2.1rem;
  font-weight: 500;
  letter-spacing: 0.21em;
  margin-bottom: 1rem;
}

.case__desc {
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.21em;
  color: var(--color-text-muted);
  line-height: 1.65;
}



/* ============================================================
   News
   ============================================================ */
.news {
  padding-block: 6.5rem;
  background-color: var(--color-bg);
}

.news__title {
  font-family: var(--font-en);
  font-size: 4.1rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 0.8rem;
}

.news__sub {
  font-size: 2.2rem;
  font-weight: 500;
  text-align: center;
  color: var(--color-text-dim);
  margin-bottom: 6.2rem;
}

.news__list {
  max-width: 83.4rem;
  margin-inline: auto;
  list-style: none;
  padding: 0;
}

.news__list--full {
  max-width: 122.8rem;
  margin-bottom: 8.7rem;
}

/* 読み込み中・記事なし・エラー時の1行 */
.news__notice {
  padding-block: 4rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-ja);
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
}

.pagination__list {
  display: flex;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.pagination__ellipsis {
  color: #fff;
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 500;
  line-height: 2.8rem;
  letter-spacing: 0.21em;
}

.pagination__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 2px;
  border: 1px solid #fff;
  background: #000;
  color: #fff;
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 500;
  line-height: 2.8rem;
  letter-spacing: 0.21em;
}

.pagination__item--active a {
  background: #fff;
  color: #000;
}

.news__item {
  display: grid;
  grid-template-columns: 12rem 10rem 1fr auto;
  align-items: center;
  gap: 2rem;
  padding-block: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
}

.news__list li:first-child .news__item {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.news__date {
  font-family: var(--font-en);
  font-size: 1.4rem;
  letter-spacing: 0.21em;
  white-space: nowrap;
}

.news__tag-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.news__tag {
  background-color: var(--color-tag-bg);
  color: var(--color-text-muted);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.21em;
  padding: 0.4rem 1rem;
  border-radius: 10rem;
  white-space: nowrap;
}

.news__text {
  font-size: 1.6rem;
  letter-spacing: 0.08em;
}

.news__more {
  font-family: var(--font-en);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  cursor: pointer;
}

/* ============================================================
   Company
   ============================================================ */
.company {
  padding-block: 6.5rem;
  background-color: var(--color-bg-company);
}

.company__inner {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 8rem;
  align-items: start;
}

.company__img {
  overflow: hidden;
}

/* Googleマップ埋め込み（サイトのトーンに合わせてモノクロ表示） */
.company__img iframe {
  display: block;
  width: 100%;
  aspect-ratio: 1718 / 1002;
  border: 0;
  filter: grayscale(1);
}

.company__table {
  display: flex;
  flex-direction: column;
  padding-top: 2rem;
}

.company__row {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 2rem;
  padding-block: 1.8rem;
  border-bottom: 1px solid #FFF;
  font-family: var(--font-ja);
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.128rem;
  line-height: 2.75;
  color: #FFF;
}

.company__name-en {
  margin-inline-start: 0.8rem;
  font-size: 1.3rem;
}

/* ============================================================
   Contact
   ============================================================ */

/* ============================================================
   CTA
   ============================================================ */
.cta {
  background-color: var(--color-bg);
  padding-block: 14.4rem;
}

.cta__inner {
  width: 100%;
  max-width: 116.8rem;
  margin-inline: auto;
  padding-inline: var(--inner-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3.2rem;
}

.cta__title {
  font-family: var(--font-ja);
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.cta .btn-yellow {
  margin-top: 2rem;
}

.cta__body {
  font-family: var(--font-ja);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 2;
  color: #fff;
}

/* ============================================================
   Subpage
   ============================================================ */
.subpage {
  padding-top: 31.7rem;
}

.subpage__inner {
  overflow: hidden;
  padding-inline: var(--inner-padding);
}

.subpage__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.7rem;
  margin-bottom: 13.5rem;
}

.subpage__heading-en {
  color: #fff;
  font-family: var(--font-en);
  font-size: 5.4rem;
  font-style: normal;
  font-weight: 450;
  line-height: normal;
}

.subpage__heading-ja {
  color: #4f4f4f;
  font-size: 2.2rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.news-detail {
  padding-top: 16rem;
}

.news-detail__inner {
  max-width: var(--inner-width);
  margin-inline: auto;
  padding-inline: var(--inner-padding);
}

.news-detail__heading {
  margin-bottom: 3rem;
  align-items: flex-start;
}

.breadcrumb {
  margin-bottom: 6rem;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}

.breadcrumb__item {
  color: #a3a3a3;
  text-align: center;
  font-family: var(--font-ja);
  font-size: 1.7rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "›";
  margin-right: 1.4rem;
}

.breadcrumb__item a {
  color: var(--color-text-muted);
}

.breadcrumb__item a:hover {
  color: var(--color-text);
  opacity: 1;
}

.breadcrumb__item--current {
  color: var(--color-text);
}

/* ============================================================
   Article
   ============================================================ */
.article {
  max-width: 112.5rem;
  padding-inline: var(--inner-padding);
  margin-inline: auto;
}

.article__header {
  margin-bottom: 7rem;
  padding-bottom: 4rem;
  padding-inline: 4.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.article__meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.article__date {
  min-width: 12rem;
  max-width: 12rem;
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.article__tag {
  background-color: var(--color-tag-bg);
  color: var(--color-text-muted);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.21em;
  padding: 0.4rem 1rem;
  border-radius: 10rem;
}

.article__title {
  color: #fff;
  font-family: var(--font-ja);
  font-size: 3.6rem;
  font-style: normal;
  font-weight: 400;
  line-height: 4.4rem;
  letter-spacing: 0.08em;
  padding-bottom: 1.8rem;
}

.article__body {
  padding-inline: 4.4rem;
  margin-bottom: 10.9rem;
}

.article__back {
  text-align: center;
}

.article__back .btn-yellow {
  width: 36rem;
  height: 6.7rem;
}

.article__body p {
  color: #fff;
  font-family: var(--font-ja);
  font-size: 1.7rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

/* CMS から入る本文。見出し・リスト・リンクなどが混ざる */
.article__body {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.article__body :is(h2, h3, h4) {
  margin-block-start: 1.6rem;
  color: #fff;
  font-family: var(--font-ja);
  font-weight: 700;
  line-height: 1.6;
}

.article__body h2 {
  font-size: 2.4rem;
}

.article__body h3 {
  font-size: 2rem;
}

.article__body h4 {
  font-size: 1.8rem;
}

.article__body :is(ul, ol) {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-inline-start: 2.4rem;
  color: #fff;
  font-family: var(--font-ja);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.7;
  list-style: revert;
}

.article__body li {
  list-style: inherit;
}

.article__body blockquote {
  padding-inline-start: 1.6rem;
  border-inline-start: 2px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-ja);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.7;
}

.article__body a {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.article__body strong {
  font-weight: 700;
}

.article__body em {
  font-style: italic;
}

/* ============================================================
   Case Page
   ============================================================ */
.case-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13rem;
  max-width: 129.5rem;
  margin-inline: auto;
  padding-inline: var(--inner-padding);
}

.case-article {
  display: grid;
  /* 画像は42.6remで頭打ち。それ未満では等分、超えた分は本文側に回る
     （2.8rem = gapの半分。これを引かないと等分時にズレる） */
  grid-template-columns: min(42.6rem, calc(50% - 2.8rem)) 1fr;
  gap: 5.6rem;
}

.case-article__img {
  aspect-ratio: 42.6 / 24.4;
  background-color: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* 直下のimgだけを対象にする（ロゴはspanで包まれているので影響しない） */
.case-article__img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-article__body {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.case-article__company {
  color: #fff;
  font-size: 2.1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.21em;
}


.case-article__subtitle {
  color: var(--color-accent);
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: 0.18em;
}


.case-article__text {
  color: #fff;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: 0.18em;
}

/* ============================================================
   Member
   ============================================================ */
.member-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12rem;
  list-style: none;
  padding: 0;
  max-width: 123.5rem;
  margin-inline: auto;
  padding-inline: var(--inner-padding);
  margin-bottom: 12rem;
}

.member-card {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.member-card__img {
  aspect-ratio: 30.5 / 28.8;
  margin-bottom: 1.1rem;
}

.member-card__role {
  color: #afafaf;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.21em;
}

.member-card__name {
  color: #fff;
  font-size: 2.1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.21em;
}

.member-card__desc {
  color: #fff;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: 0.18em;
}

.flow__heading {
  margin-bottom: 5.3rem;
}

.flow__heading-en {
  font-size: 4.1rem;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background-color: var(--color-bg);
  padding-block: 6rem 4rem;
}

.footer__inner {
  max-width: var(--inner-width);
  margin-inline: auto;
  padding-inline: var(--inner-padding);
  display: grid;
  grid-template-columns: 35.9rem 1fr;
  gap: 21rem;
  margin-bottom: 16.6rem;
}

.footer__logo a {
  display: block;
  width: 35.9rem;
}

.footer__logo img {
  width: 100%;
}

.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer__nav-group {
  margin-bottom: 5rem;
}

.footer__nav-heading {
  color: #fff;
  font-family: var(--font-en);
  font-size: 1.9rem;
  font-style: normal;
  font-weight: 450;
  line-height: normal;
  margin-bottom: 1rem;
}

.footer__nav-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0;
  padding-left: 2.2rem;
  margin: 0;
}

.footer__nav-group a {
  font-family: var(--font-ja);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.112rem;
  color: #FFF;
}

.footer__copy {
  text-align: left;
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-text-dim);
  padding-top: 3rem;
  max-width: var(--inner-width);
  margin-inline: auto;
  padding-inline: var(--inner-padding);
}

/* ============================================================
   Contact Form
   ============================================================ */
.contact-form {
  max-width: 78.8rem;
  margin-inline: auto;
  margin-bottom: 14rem;
  padding-top: 2.3rem;
  padding-inline: var(--inner-padding);
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form__label {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  font-family: var(--font-ja);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.694;
  letter-spacing: 0.216em;
}


.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 0 2rem;
  background-color: #000;
  border: 1px solid #fff;
  border-radius: 0.4rem;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form__input {
  height: 6rem;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: var(--color-accent);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: #555;
}

.contact-form__textarea {
  min-height: 25.5rem;
  padding-block: 1rem;
  resize: vertical;
}

.contact-form__honeypot {
  display: none;
}

.contact-form__submit {
  text-align: center;
  padding-top: 3.3rem;
}

/* ============================================================
   Thanks
   ============================================================ */
.thanks__body {
  margin-bottom: 14rem;
  text-align: center;
}

.thanks__text {
  color: #fff;
  font-size: 1.779rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.686;
  letter-spacing: 0.21em;
}

.thanks__title {
  margin-bottom: 3.2rem;
  color: #fff;
  font-size: 3rem;
  font-style: normal;
  font-weight: 500;
  line-height: 3.7;
  letter-spacing: 0.24em;
}

.btn-submit {
  width: 36rem;
  height: 6.7rem;
  background-color: transparent;
  border: 1px solid #fff;
  border-radius: 10rem;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-ja);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* ============================================================
   Responsive
   max-width指定のため 広い → 狭い の順に並べること。
   逆に書くと狭い側が先に評価されて広い側に上書きされる。
   ============================================================ */
@media (max-width: 1289px) {
  /* ステップは min-width で縮まないため、まず gap を詰めて収める */
  .flow__steps {
    gap: 0;
  }
}

@media (max-width: 1190px) {
  :root {
    --inner-padding: 3rem;
    --header-height: 7.5rem;
  }

  .header__inner {
    padding-inline: var(--inner-padding);
  }

  .header__logo {
    width: 9.6rem;
  }

  .header__nav ul {
    gap: 2rem;
  }

  .header__nav a {
    font-size: 2rem;
  }

  .fv__title {
    font-size: 6.2rem;
  }

  .fv__sub {
    font-size: 2.4rem;
  }

  .about__title {
    font-size: 4.6rem;
  }

  .about__body {
    font-size: 1.8rem;
  }

  .section-label__en {
    font-size: 3.2rem;
  }

  .about-qa__circles {
    gap: 5rem;
  }

  .about-qa__q-ja {
    font-size: 3.6rem;
  }

  .about-qa__a-ja {
    font-size: 2.8rem;
  }

  .about-qa__a-desc {
    font-size: 1.8rem;
  }

  /* カードが入りきらない幅では横スクロールさせる。
     overflow-xだけ指定すると縦も自動でスクロール可能になり、
     js-fadeのtranslateY(2.4rem)がはみ出して縦スクロールが出るので塞ぐ */
  .about-qa__services {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    margin-inline: calc(var(--inner-padding) * -1);
    padding-inline: var(--inner-padding);
    padding-bottom: 3rem;
  }

  /* リード文はSPと同じ位置で改行させる。
     flexのままだとbrが効かないのでblockに戻す */
  .br-sp {
    display: inline;
  }

  .business__lead-text {
    display: block;
    font-size: 2.3rem;
  }

  .business__lead-logo {
    width: 18rem;
    top: -0.5rem;
  }

  .business__lead-large {
    font-size: 2.8rem;
  }

  .business__lead-highlight {
    font-size: 3.2rem;
  }

  /* 番号はタイトル左上に重なる透かしにする */
  .biz-service__num {
    left: 0;
  }

  .biz-service__title {
    padding-left: 2.1rem;
    font-size: 3.8rem;
  }

  /* カードを縮めずに横スクロールさせる */
  .biz-service__cards {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 50rem;
    justify-content: safe center;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    margin-inline: calc(var(--inner-padding) * -1);
    padding-inline: var(--inner-padding);
    padding-bottom: 1rem;
  }

  .case__list {
    gap: 2rem;
  }

  /* 親のsubpage__innerと二重に余白が付くのを解消 */
  .case-list {
    padding-inline: 0;
  }

  .member-list {
    gap: 2rem;
  }

  .company__inner {
    gap: 2rem;
  }

  .footer__logo a {
    width: 21.3rem;
  }


  /* gapが2remになるので3等分の計算も合わせる */
  .case__item {
    max-width: calc((100% - 4rem) / 3);
  }

  .case__company {
    font-size: 1.7rem;
  }

  .case__desc {
    font-size: 1.377rem;
  }

  /* 表(651px)とグラフ(582px)は横に並べると入りきらないので縦積みにする */
  .compare {
    flex-direction: column;
    align-items: center;
  }

  /* ---------- Footer ---------- */
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    justify-items: center;
  }

  .footer__nav {
    width: 100%;
  }
}

/* 5ステップ横並びは約1110pxで入りきらなくなるため、ここから縦積みにする */
@media (max-width: 1109px) {
  .flow__steps {
    flex-direction: column;
    gap: 3.7rem;
  }

  /* SPは番号を上段に置き、その下にアイコンと本文を横並びにする */
  .flow__step {
    display: grid;
    /* 本文列に上限を設けて、アイコンとセットで中央に寄せる */
    grid-template-columns: 9.7rem minmax(0, 34rem);
    justify-content: center;
    grid-template-areas:
      "num  num"
      "icon title"
      "icon desc";
    column-gap: 0.8rem;
    align-content: start;
    min-width: 0;
    max-width: none;
    width: 100%;
    text-align: left;
  }

  .flow__step-num {
    grid-area: num;
    justify-self: center;
    margin-bottom: 2.3rem;
  }

  .flow__step-icon {
    grid-area: icon;
    align-self: start;
    margin-bottom: 0;
  }

  .flow__step-title {
    grid-area: title;
    line-height: 2.16;
    text-align: left;
  }

  .flow__step-desc {
    grid-area: desc;
    line-height: 1.977;
  }

  .flow__arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  /* ---------- Header ---------- */
  .header__inner {
    padding-inline: 1.9rem;
  }

  .header__nav {
    display: none;
  }

  .header__hamburger {
    display: flex;
    width: 3.6rem;
    height: 1rem;
  }

  .header__hamburger span {
    height: 1px;
  }

  /* SPデザインは2本線。中央のspanを畳んで両端でXを作る */
  .header__hamburger span:nth-child(2) {
    display: none;
  }

  .header__hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(4.5px) rotate(45deg);
  }

  .header__hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  /* ---------- FV ----------
     PCは英語が主役だがSPは日本語が主役。orderで入れ替える */

  /* 下パディングでコピーを上寄せし、SCROLLとの重なりを避ける */
  .fv {
    padding-bottom: 15rem;
  }

  .fv__inner {
    display: flex;
    flex-direction: column;
  }

  .fv__sub {
    order: -1;
    font-size: 3.9rem;
    line-height: 1.667;
    letter-spacing: 0.02em;
    /* 「」の前後のアキを詰める */
    font-feature-settings: "palt";
    margin-bottom: 1rem;
  }

  .fv__sub span {
    display: block;
  }

  .fv__title {
    font-size: 2.2rem;
    line-height: 1.545;
    color: #666;
    margin-bottom: 0;
  }

  .fv__scroll {
    right: auto;
    left: 50%;
    translate: -50% 0;
    bottom: 8rem;
    gap: 0.9rem;
  }

  /* ---------- 共通パーツ ---------- */
  .section-label {
    gap: 4.1rem;
    margin-bottom: 4rem;
  }

  .section-label__en {
    font-size: 2.5rem;
  }

  .section-cta {
    margin-top: 4rem;
  }

  .btn-yellow {
    width: 100%;
    min-width: 0;
    height: 6.2rem;
    padding-inline: 2rem;
    letter-spacing: 0.21em;
  }

  /* ---------- About ---------- */
  .about {
    padding-bottom: 3.2rem;
  }

  .about__title {
    font-size: 2.3rem;
    line-height: 1.41;
    letter-spacing: 0.05em;
    /* 「」を詰めて2行に収める */
    font-feature-settings: "palt";
    text-align: center;
    margin-bottom: 3rem;
  }

  .about__body {
    font-size: 1.5rem;
    line-height: 1.43;
    letter-spacing: 0.17em;
    font-feature-settings: "palt";
  }

  .about-qa {
    margin-top: 6.5rem;
  }

  .about-qa__circles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 6rem;
  }

  .about-qa__tab-active,
  .about-qa__tab {
    width: 100%;
  }

  /* Q/A行はデザインでもセクション左右余白より外にはみ出しているので広く取る */
  .about-qa__q-ja {
    font-size: 2rem;
    letter-spacing: 0.18em;
    margin-inline: -3rem;
    margin-bottom: 1.3rem;
  }

  .about-qa__q-en {
    font-size: 1.4rem;
    margin-bottom: 3.4rem;
  }

  .about-qa__a-ja {
    font-size: min(1.8rem, 4.5vw);
    line-height: 1.45;
    letter-spacing: 0.18em;
    margin-inline: -1.5rem;
    margin-bottom: 1.6rem;
  }

  /* タブ1のemは行全体なので改行させる。タブ2/3のemは文中の一語なので対象外 */
  .about-qa__panel[data-panel="1"] .about-qa__a-ja em {
    display: block;
  }

  /* SPデザインではQ直下の英文のみでA側の英文は出さない */
  .about-qa__a-en {
    display: none;
  }

  .about-qa__a-en {
    font-size: 1.4rem;
    margin-bottom: 3.4rem;
  }

  .about-qa__a-desc {
    font-size: 1.5rem;
    line-height: 1.43;
    letter-spacing: 0.17em;
    text-align: left;
    margin-bottom: 4rem;
  }

  /* サービスカードは横スクロール（2枚目以降が画面外にはみ出すデザイン） */
  .about-qa__services {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 24.2rem;
    gap: 2.6rem;
    padding-inline: 2.6rem;
  }

  .about-qa__service {
    min-height: 26.2rem;
    padding-block: 3.8rem;
    gap: 2.3rem;
    border-color: var(--color-text);
    background-color: rgba(255, 255, 255, 0.1);
  }

  .about-qa__service-name {
    color: var(--color-accent);
    line-height: 2.22;
  }

  /* ---------- Tab2 比較表＋グラフ ---------- */
  .compare {
    /* ベースのflex-startのままだと子が内容幅のままで縮まない */
    align-items: stretch;
    gap: 3rem;
  }

  /* 表だけ画面幅いっぱいのスクロール領域にする */
  .compare__scroll {
    margin-inline: calc(var(--inner-padding) * -1);
    padding-inline: 2.3rem;
  }

  .compare__source {
    text-align: center;
  }

  .compare__chart {
    width: auto;
    grid-template-columns: 9.5rem 1fr;
    column-gap: 0.5rem;
  }

  .compare__legend {
    font-size: 0.92rem;
  }

  .compare__legend-item::before {
    width: 0.92rem;
  }

  .compare__labels,
  .compare__plot {
    gap: 1.11rem;
  }

  .compare__labels li {
    height: 4.25rem;
  }

  .compare__group {
    gap: 0.33rem;
  }

  .compare__bar {
    height: 1.96rem;
  }

  .compare__axis {
    font-size: 0.78rem;
  }

  /* ---------- Tab3 3つの悩み円 ---------- */
  /* SPは画面幅いっぱいに広げ、文字はPCより相対的に大きくする */
  .problems {
    width: auto;
    margin-inline: calc(var(--inner-padding) * -1);
    padding-inline: 1rem;
  }

  .problems__item {
    gap: 3cqw;
  }

  .problems__label {
    font-size: 2.63cqw;
  }

  .problems__text {
    font-size: 2.34cqw;
    line-height: 1.66;
  }

  /* ---------- Business ---------- */
  .business {
    padding-block: 3.2rem;
  }

  .business__lead {
    margin-bottom: 5rem;
  }

  .business__lead-text {
    font-size: 2.1rem;
    line-height: 1.77;
    letter-spacing: 0.05em;
  }

  .business__lead-logo {
    width: 13.6rem;
    margin-right: 0.8rem;
  }

  .business__lead-large {
    font-size: 2.1rem;
  }

  .business__lead-highlight {
    font-size: 2.3rem;
    letter-spacing: -0.03em;
  }

  .business__org {
    margin-bottom: 6rem;
  }

  /* 組織図はSPで一回り小さくする */
  .org-chart {
    width: min(100%, 32.4rem);
    --org-gap: 2.2rem;
  }

  .org-chart__ceo,
  .org-chart__depts li {
    font-size: 1.076rem;
  }

  .org-chart__ceo {
    width: 14.8rem;
    height: 4.7rem;
  }

  .org-chart__trunk {
    height: 11.6rem;
  }

  .org-chart__trunk::after {
    width: 2.8rem;
  }

  .org-chart__quina {
    left: calc(50% + 2.8rem);
    height: 7.8rem;
    gap: 0.8rem;
  }

  .org-chart__quina span {
    font-size: 0.8rem;
  }

  .org-chart__depts {
    padding-top: 1.5rem;
  }

  .org-chart__depts li {
    height: 3rem;
  }

  .org-chart__depts li::before {
    height: 1.5rem;
  }

  .biz-service__cards {
    grid-template-columns: 1fr;
  }

  /* ---------- Case ---------- */
  .case {
    padding-block: 3.2rem;
  }

  .news {
    padding-block: 3.2rem;
  }

  .case__list {
    gap: 2.9rem;
  }

  .case__item {
    max-width: none;
    width: 100%;
    border-color: var(--color-text);
  }

  /* ---------- News ---------- */
  .news__title {
    font-size: 2.5rem;
    margin-bottom: 1.4rem;
  }

  .news__sub {
    font-size: 1.7rem;
    letter-spacing: 0.21em;
    margin-bottom: 2.9rem;
  }

  /* 区切り線は画面幅いっぱいに引く */
  .news__list {
    margin-inline: calc(var(--inner-padding) * -1);
  }

  .news__item {
    grid-template-columns: auto 1fr;
    gap: 0 2.3rem;
    padding-block: 1.2rem;
    padding-inline: 2.7rem;
  }

  .news__date {
    line-height: 2;
  }

  .news__tag-wrap {
    justify-content: flex-start;
  }

  .news__tag {
    display: inline-flex;
    align-items: center;
    height: 2.7rem;
    padding-inline: 1rem;
    font-size: 1.2rem;
  }

  .news__text {
    grid-column: 1 / -1;
    line-height: 2.75;
  }

  .news__more {
    display: none;
  }

  /* ---------- Company ---------- */
  .company {
    padding-block: 3.2rem;
  }

  .company__inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  /* SPデザインは画像が先頭 */
  .company__img {
    order: 0;
  }

  .company__table {
    padding-top: 0;
  }

  .company__row {
    grid-template-columns: 8.5rem 1fr;
    gap: 0;
    padding-block: 1.4rem;
    padding-inline: 1rem;
    line-height: 1.9;
  }

  /* 375px幅でも「浜本 健太 Hamamoto Kenta」を1行に収める */
  .company__name-en {
    margin-inline-start: 0.5rem;
  }

  .company__row:last-child {
    border-bottom: none;
  }

  /* ---------- CTA ---------- */
  .cta {
    padding-block: 6.5rem;
  }

  .cta__title {
    font-size: 2.3rem;
    line-height: 1.41;
    letter-spacing: 0.05em;
  }

  .cta__body {
    font-size: 1.5rem;
    line-height: 1.43;
    letter-spacing: 0.17em;
  }

  /* ---------- 下層ページ共通 ---------- */
  .subpage {
    padding-top: 13.3rem;
  }

  .subpage__heading {
    gap: 1.1rem;
    margin-bottom: 4rem;
  }

  .subpage__heading-en {
    font-size: 2.5rem;
  }

  .subpage__heading-ja {
    font-size: 1.7rem;
    letter-spacing: 0.21em;
  }

  /* ---------- Business ---------- */
  /* このページだけデザインの左右余白が19px */
  .business-detail__inner {
    padding-inline: 1.9rem;
  }

  .biz-service {
    padding-top: 1.6rem;
    margin-bottom: 7rem;
  }

  .biz-service:last-child {
    margin-bottom: 6.8rem;
  }

  .biz-service__header {
    margin-bottom: 2.7rem;
  }

  .biz-service__num {
    top: -3rem;
    font-size: 6rem;
  }

  .biz-service__title {
    font-size: 2.84rem;
    line-height: 1.88;
  }

  /* SPは横スクロールをやめて縦積みに戻す */
  .biz-service__cards {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-auto-columns: auto;
    gap: 1.9rem;
    overflow-x: visible;
    margin-inline: 0;
    padding-inline: 0;
    padding-bottom: 0;
  }

  .biz-service__card {
    padding: 2.4rem 3.15rem 3rem;
  }

  /* 長いラベルの回で幅が伸びるので内容にあわせる */
  .biz-service__tag {
    width: fit-content;
    min-width: 22.15rem;
    max-width: 100%;
    height: 3.74rem;
    padding-inline: 1rem;
    font-size: 1.2rem;
    line-height: 1.39;
    letter-spacing: 0.21em;
    margin-bottom: 2.4rem;
  }

  .biz-service__card-title {
    font-size: 1.4845rem;
    line-height: 1.12;
    letter-spacing: 0.21em;
    margin-bottom: 3.4rem;
  }

  .biz-service__points {
    width: 100%;
    gap: 1.26rem;
  }

  .biz-service__points li {
    font-size: 1.247rem;
    line-height: 1.333;
    letter-spacing: 0.21em;
    padding-left: 1.6rem;
  }

  /* ---------- Flow ---------- */
  .flow {
    width: calc(100% + 3.8rem);
    margin-left: -1.9rem;
    padding-block: 4.5rem 4.4rem;
    background-color: var(--color-bg-company);
  }

  .flow__heading {
    margin-bottom: 3.7rem;
  }

  /* ---------- News（一覧） ---------- */
  .news__list--full {
    margin-bottom: 4.2rem;
  }

  /* ---------- News（詳細） ---------- */
  /* SPデザインにパンくずはない */
  .breadcrumb {
    display: none;
  }

  .news-detail__heading {
    align-items: center;
  }

  .article {
    padding-inline: 0.6rem;
  }

  /* 区切り線は .article__title 側に出すのでこちらは消す */
  .article__header {
    padding-inline: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
  }

  .article__meta {
    gap: 1rem;
    margin-bottom: 3.9rem;
  }

  .article__date {
    min-width: 11.3rem;
    max-width: none;
  }

  .article__title {
    font-size: 1.9rem;
    line-height: 1.74;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .article__body {
    padding-inline: 1.4rem;
    padding-top: 4rem;
    font-size: 1.247rem;
    letter-spacing: 0.21em;
    margin-bottom: 5.6rem;
  }

  /* .article__body p が直接指定しているので個別に上書きする */
  .article__body p {
    font-size: 1.247rem;
    line-height: 1.333;
  }

  .article__body {
    gap: 1.6rem;
  }

  .article__body h2 {
    font-size: 1.8rem;
  }

  .article__body h3 {
    font-size: 1.6rem;
  }

  .article__body h4 {
    font-size: 1.4rem;
  }

  .article__body :is(ul, ol, blockquote) {
    font-size: 1.247rem;
    line-height: 1.6;
  }

  .news__notice {
    padding-block: 3rem;
    font-size: 1.3rem;
  }

  /* ---------- Member ---------- */
  .member-list {
    grid-template-columns: 1fr;
    gap: 4.2rem;
    width: min(100%, 30.5rem);
    padding-inline: 0;
    margin-bottom: 6rem;
  }

  /* SPは 役職 → 氏名 → 写真 → 経歴 の順 */
  .member-card__img {
    order: 1;
    margin-bottom: 0;
    overflow: hidden;
  }

  .member-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .member-card__desc {
    order: 2;
  }

  /* ---------- Case（一覧） ---------- */
  /* 「様」付きだと21pxでは1行に収まらないため上限をvwで頭打ちにする */
  .case-article__company {
    font-size: min(2.1rem, 4.8vw);
  }

  .case-list {
    gap: 6rem;
  }

  /* 会社名 → 画像 → 各セクション の順に積む */
  .case-article {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
  }

  .case-article__body {
    display: contents;
  }

  .case-article__company {
    order: 0;
  }

  .case-article__img {
    order: 1;
  }

  .case-article__section {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  /* ---------- Contact ---------- */
  .contact__inner {
    padding-inline: 2.2rem;
  }

  .contact-form {
    padding-inline: 0;
    gap: 2.3rem;
    margin-bottom: 9rem;
  }

  .contact-form__label {
    font-size: 1.44rem;
    line-height: 1.647;
    letter-spacing: 0.21em;
  }

  .contact-form__input,
  .contact-form__textarea {
    font-size: 1.44rem;
    letter-spacing: 0.21em;
  }

  .contact-form__submit {
    padding-top: 4.7rem;
  }

  .btn-submit {
    width: 100%;
  }

  /* .btn-yellow より詳細度が高いので同じセレクタで上書きする */
  .article__back .btn-yellow {
    width: 100%;
  }

  /* ---------- Thanks ---------- */
  /* このページだけ日本語見出しが白 */
  .thanks__heading-ja {
    color: var(--color-text);
  }

  .thanks__body {
    margin-bottom: 4.6rem;
  }

  .thanks__title {
    font-size: 2.1rem;
    line-height: 1.44;
    letter-spacing: 0.21em;
    margin-bottom: 2.4rem;
  }

  .thanks__text {
    font-size: 1.5rem;
    line-height: 1.48;
    letter-spacing: 0.18em;
    text-align: left;
  }

  /* ---------- Footer ---------- */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 6rem;
    margin-bottom: 6rem;
  }

  .footer__nav {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer__nav-group {
    margin-bottom: 2.6rem;
  }

  .footer__nav-heading {
    font-size: 2.36rem;
    margin-bottom: 0.6rem;
  }

  .footer__nav-group ul {
    padding-left: 2.7rem;
    gap: 1.1rem;
  }

  .footer__nav-group a {
    font-size: 1.74rem;
    letter-spacing: 0.08em;
  }

  .footer__copy {
    text-align: center;
  }
}
