/* ============================================================
   VALORISE — top page
   ============================================================ */

:root {
  --bg: #000;
  --bg-panel: #0b0d0f;
  --bg-panel-hover: #15181b;
  --text: #fff;
  --text-70: rgba(255, 255, 255, .7);
  --text-60: rgba(255, 255, 255, .6);
  --text-50: rgba(255, 255, 255, .5);
  --text-40: rgba(255, 255, 255, .4);
  --line: rgba(255, 255, 255, .16);
  --line-soft: rgba(255, 255, 255, .14);
  --font-en: "Barlow Condensed", sans-serif;
  --font-jp: "Noto Sans JP", sans-serif;
  --pad-x: 40px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  /* セクション余白は3段階。重要度の低い面ほど狭くする */
  --sec-lg: 140px;
  --sec-md: 108px;
  --sec-sm: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* 自動折り返しを文節単位にする。「宣伝文句にな／ります」のような
     語の途中での改行を防ぐ。Chromium系で有効、他ブラウザは通常の折り返しにフォールバック */
  word-break: auto-phrase;
}

a { color: inherit; text-decoration: none; }
a:hover { color: #9aa0a6; }

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  padding: 12px 20px;
  background: #ffffff;
  color: #000000;
  font-size: 13px;
}
.skip-link:focus {
  left: var(--pad-x);
  top: 10px;
  color: #000000;
}

[id] { scroll-margin-top: 96px; }

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

/* 保険：個別指定を忘れても画像が親からはみ出さないようにする */
img { max-width: 100%; }

.wrap { padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* --- shared type --------------------------------------------------- */

.eyebrow {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .34em;
  color: var(--text-50);
}

.label {
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--text-40);
}

.display {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.06;
}
.display--md { font-size: 52px; }
.display--sm { font-size: 44px; }

.heading-jp { font-size: 26px; line-height: 1.7; font-weight: 700; }
.heading-jp--sm { font-size: 24px; line-height: 1.6; }

.lead {
  font-size: 15px;
  line-height: 2.05;
  color: var(--text-70);
  max-width: 32em;
  text-wrap: pretty;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 30px;
  border: 1px solid rgba(255, 255, 255, .5);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-ghost:hover { background: #fff; color: #000; border-color: #fff; }
/* 本文中に置く小さいボタン */
.btn-ghost--sm {
  margin-top: 22px;
  padding: 11px 22px;
  font-size: 11px;
  letter-spacing: .18em;
  border-color: rgba(255, 255, 255, .38);
}

/* --- decorative background layers ---------------------------------- */

.bg { position: absolute; inset: 0; z-index: 0; }
.scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* 写真は .bg--hero / .bg--about のグラデーションの上に重ねる。
   読み込み前や読み込み失敗時はグラデーションがそのまま背景になる。 */
.bg--photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg--hero {
  background:
    radial-gradient(90% 70% at 68% 22%, rgba(122, 160, 200, .30) 0%, rgba(0, 0, 0, 0) 62%),
    linear-gradient(180deg, #1b2733 0%, #0d141b 55%, #05080b 100%);
}
.bg--hero-lines {
  opacity: .5;
  background:
    repeating-linear-gradient(90deg, rgba(190, 215, 240, .05) 0 2px, rgba(0, 0, 0, 0) 2px 34px),
    repeating-linear-gradient(90deg, rgba(190, 215, 240, .03) 0 6px, rgba(0, 0, 0, 0) 6px 121px);
}

/* 写真自体が暗いため、スクリムは以前より弱めている。
   これ以上強くすると被写体が潰れ、弱くすると文字のコントラストが落ちる。 */
/* 下端はリード文とボタンが乗るため強めに沈める。
   現在のヒーロー写真では、ここを .62 に緩めるとボタンが 6.6:1 まで落ちる。 */
.scrim--bottom {
  background: linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .72) 100%);
}

.bg--model { background: radial-gradient(110% 75% at 50% 42%, #101c28 0%, #05070a 72%); }
.bg--grid {
  opacity: .55;
  background:
    linear-gradient(rgba(140, 180, 220, .055) 1px, rgba(0, 0, 0, 0) 1px) 0 0 / 100% 40px,
    linear-gradient(90deg, rgba(140, 180, 220, .055) 1px, rgba(0, 0, 0, 0) 1px) 0 0 / 40px 100%;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 45%, #000 20%, transparent 100%);
          mask-image: radial-gradient(80% 70% at 50% 45%, #000 20%, transparent 100%);
}

.bg--about {
  background:
    radial-gradient(70% 90% at 82% 18%, rgba(200, 220, 240, .20) 0%, rgba(0, 0, 0, 0) 60%),
    linear-gradient(45deg, #080a0c 0%, #141a20 52%, #232c34 100%);
}
/* 斜めに差し込む光の帯。右半分だけに出して、本文が載る左側には掛けない */
.bg--about-edge {
  background: linear-gradient(118deg,
    rgba(0, 0, 0, 0) 44%,
    rgba(190, 214, 238, .04) 47%,
    rgba(190, 214, 238, .13) 55%,
    rgba(190, 214, 238, .04) 63%,
    rgba(0, 0, 0, 0) 72%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 28%, #000 64%, #000 100%);
          mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 28%, #000 64%, #000 100%);
}
.bg--about-lines {
  opacity: .4;
  background: repeating-linear-gradient(115deg, rgba(200, 220, 240, .05) 0 26px, rgba(0, 0, 0, 0) 26px 148px);
}
.scrim--left {
  background: linear-gradient(90deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .28) 55%, rgba(0, 0, 0, 0) 100%);
}

/* --- header --------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad-x);
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
}

/* エンブレム＋文字ロゴ。エンブレムは六角形の内側が濃紺で塗られているため、
   黒背景の上では紺の面と金の線がそのまま出る。透過PNGなので余白は出ない。 */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .32em;
}
.logo__mark {
  width: 28px;
  height: 28px;
  /* 文字の見た目の重心と揃える。エンブレム下端の余白ぶんだけ上げている */
  margin-top: -1px;
}
/* ロゴ全体にホバー色が乗ると金が濁るので、文字だけ色を変える */
.logo:hover { color: inherit; }
.logo:hover span { color: #9aa0a6; }

.global-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .75);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: 6px 2px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 1px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 29;
  background: rgba(0, 0, 0, .96);
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer[hidden] { display: none; }
.drawer nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: center;
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .22em;
}

/* --- hero ----------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 620px;
  height: 92vh;
  display: flex;
  align-items: stretch;
  background: #111;
}
/* 見出しは左上、エンブレムは右端までブリード、下辺は全幅の帯。
   中央に空白の帯ができないよう、下の帯で左右をつないでいる。 */
.hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 150px;   /* 固定ヘッダーを避ける */
  padding-bottom: 64px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.hero__body > * { min-width: 0; }
.hero__body > :first-child { grid-column: 1; grid-row: 1; }

.hero__aside {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}


.hero__title {
  margin-top: 20px;
  font-family: var(--font-en);
  font-size: clamp(38px, 7.4vw, 152px);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.005em;
}
.hero__aside {
  align-self: end;
  padding-bottom: 6px;
}
/* 1行で見せたいので max-width を外し、画面幅に連動させる */
.hero__lead {
  font-size: clamp(16px, 1.6vw, 30px);
  line-height: 1.8;
  font-weight: 500;
}
.hero .btn-ghost { margin-top: 36px; }

/* --- 90% model ------------------------------------------------------ */

.model {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  background: #05070a;
}
.model__body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.model__body > * { min-width: 0; }
.model .display { margin-top: 22px; }
/* 文の切れ目で <br> を入れているため、32em では1文目が折り返してしまう */
.model .lead { margin-top: 26px; max-width: 36em; }

/* 何を100%とした割合なのかを、帯の直前で明示する */
.split__head {
  margin-bottom: 14px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--text-60);
}
.split__head strong {
  font-weight: 500;
  color: #fff;
  font-family: var(--font-en);
  font-size: 16px;
  letter-spacing: .04em;
  padding: 0 2px;
}
.split__caption {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--text-50);
}

.split { display: flex; align-items: stretch; border: 1px solid var(--line); }
.split__major { flex: 9; position: relative; padding: 30px 28px; }
.split__minor { flex: 1; padding: 30px 18px; border-left: 1px solid var(--line); }
.split__bar { position: absolute; inset: 0; background: rgba(255, 255, 255, .1); }
.split__major > *:not(.split__bar) { position: relative; }
.split__num {
  margin-top: 10px;
  font-family: var(--font-en);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
}
.split__num--sm { font-size: 26px; color: rgba(255, 255, 255, .55); }
.split__note { margin-top: 10px; font-size: 13px; color: var(--text-60); }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-top: 0;
}
.facts > div { padding: 22px 24px; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts p { margin-top: 8px; font-size: 13.5px; line-height: 1.8; font-weight: 500; }

/* --- statement ------------------------------------------------------ */

.statement { padding-top: 160px; padding-bottom: 160px; text-align: center; }
.statement p {
  margin: 0 auto;
  max-width: 30em;
  font-size: 24px;
  line-height: 2.1;
  font-weight: 500;
  text-wrap: pretty;
}

/* --- about ---------------------------------------------------------- */

.about {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  background: #0a0c0e;
}
.about__body {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: 120px;
  padding-bottom: 120px;
}
.about__body h2 { margin-top: 22px; }
.about__body p {
  margin-top: 24px;
  font-size: 14.5px;
  line-height: 2.2;
  color: var(--text-70);
}

/* --- four reasons --------------------------------------------------- */

.reasons { padding-top: 130px; padding-bottom: 130px; }
.section-head { margin-bottom: 52px; }
.section-head .display { margin-top: 20px; }

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
}
.reason-grid > * { min-width: 0; }
.reason-grid article { background: var(--bg-panel); padding: 38px 28px 46px; }
.reason-grid h3 {
  margin: 26px 0 14px;
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .06em;
}
.reason-grid p { font-size: 13px; line-height: 2; color: var(--text-60); }

/* --- service -------------------------------------------------------- */

.service { padding-bottom: 130px; }
.service h2 { margin-top: 20px; }
.service .lead { margin-top: 22px; }

.stack { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.stack li {
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, .2);
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .1em;
}
.stack__todo {
  border-style: dashed !important;
  border-color: rgba(255, 255, 255, .25) !important;
  font-family: var(--font-jp) !important;
  font-size: 12.5px !important;
  color: rgba(255, 255, 255, .45);
}

/* --- explore cards -------------------------------------------------- */

.explore {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.explore > * { min-width: 0; }
.explore a {
  background: var(--bg-panel);
  padding: 56px 30px 40px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color .3s var(--ease);
}
.explore a:hover { background: var(--bg-panel-hover); color: #fff; }
.explore h3 {
  margin: 20px 0 12px;
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .08em;
}
.explore p { font-size: 13px; line-height: 1.95; color: var(--text-60); }
.explore .arrow { font-family: var(--font-en); font-size: 18px; }

/* --- cta ------------------------------------------------------------ */

.cta { padding-top: 150px; padding-bottom: 150px; text-align: center; }
.cta .display { margin-top: 22px; }
.cta > p { margin-top: 20px; font-size: 15px; line-height: 1.9; color: var(--text-60); }
.cta .btn-ghost { margin-top: 40px; }

/* --- footer --------------------------------------------------------- */

.site-footer {
  padding: 0 var(--pad-x) 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--text-60);
}
.social {
  display: flex;
  gap: 20px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .45);
}
.copyright {
  font-family: var(--font-en);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .35);
}

/* --- lower pages: shell --------------------------------------------- */

.display--lg { font-size: 62px; }

.section { padding-top: var(--sec-md); padding-bottom: var(--sec-md); }
.section--lg { padding-top: var(--sec-lg); padding-bottom: var(--sec-lg); }
.section--sm { padding-top: var(--sec-sm); padding-bottom: var(--sec-sm); }
.section--panel { background: var(--bg-panel); }

.bg--head {
  background:
    radial-gradient(80% 120% at 78% 0%, rgba(140, 175, 210, .26) 0%, rgba(0, 0, 0, 0) 62%),
    linear-gradient(160deg, #171f27 0%, #0b1015 60%, #05070a 100%);
}

.page-head {
  position: relative;
  background: #05070a;
  border-bottom: 1px solid var(--line-soft);
}
.page-head__body {
  position: relative;
  z-index: 2;
  padding-top: 176px;
  padding-bottom: 92px;
}
.page-head h1 { margin-top: 18px; }
.page-head__lead {
  margin-top: 26px;
  max-width: 34em;
  font-size: 15px;
  line-height: 2.1;
  color: var(--text-70);
  text-wrap: pretty;
}
/* 文の切れ目で <br> を入れているページ用。基底より後ろに置かないと上書きされる */
.page-head__lead--wide { max-width: 46em; }

.breadcrumb {
  display: flex;
  gap: 12px;
  margin-bottom: 26px;
  font-family: var(--font-en);
  font-size: 11.5px;
  letter-spacing: .2em;
  color: var(--text-40);
}

.global-nav a[aria-current="page"],
.drawer a[aria-current="page"] { color: #fff; }
.global-nav a[aria-current="page"] { border-bottom: 1px solid rgba(255, 255, 255, .6); padding-bottom: 3px; }

/* --- lower pages: content blocks ------------------------------------ */

.spec-table { border-top: 1px solid var(--line); }
.spec-table > div {
  display: grid;
  grid-template-columns: 224px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.spec-table dt {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--text-50);
  padding-top: 3px;
}
.spec-table dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 2;
  color: var(--text-70);
}
.spec-table dd strong { font-weight: 500; color: #fff; }

.source-note {
  margin-top: 22px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--text-50);
}
.source-note a,
.row-list a,
.spec-table a { text-decoration: underline; text-underline-offset: 3px; }
.row-list strong { font-weight: 500; color: #fff; }

.feature {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 68px;
  align-items: start;
}
.feature > * { min-width: 0; }
.feature--rev { grid-template-columns: 7fr 5fr; }
.feature__num {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: .2em;
  color: var(--text-40);
}
.feature h2 {
  margin: 16px 0 22px;
  font-size: 24px;
  line-height: 1.65;
  font-weight: 700;
}
/* balance は各行の長さを均すので、最終行だけ極端に短くなるのを防げる。
   段落が短い（数行）ときにだけ効く指定で、未対応ブラウザは通常の折り返しになる。 */
.feature p {
  font-size: 14.5px;
  line-height: 2.2;
  color: var(--text-70);
  max-width: 44em;
  text-wrap: balance;
}
.feature p + p { margin-top: 20px; }
/* 写真だけの枠。箇条書きは本文側に置いて左右の高さを揃える。
   height: auto を書かないと HTML の height 属性が残り、aspect-ratio が無視される。 */
.feature__media { border: 1px solid var(--line); }
.feature__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.feature__field { margin-top: 44px; }
.feature__field .label { display: block; margin-bottom: 14px; }
.feature__field ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 44px;
}
.feature__field li {
  padding: 13px 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-70);
  border-top: 1px solid var(--line-soft);
}
/* 2件だけだと右側が空くため、見出しを左に置いて横幅を使い切る */
.minor {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 68px;
  align-items: start;
}
.minor > * { min-width: 0; }
.minor .section-head { margin-bottom: 0; }

/* 1件だけの紹介。罫線で囲って「単独で置かれている」ことを意図的に見せる。
   背景の斜線は 115deg で、ABOUT セクションの .bg--about-lines と角度を揃えている。 */
.new-service {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  padding: 34px 36px 38px;
  background: var(--bg-panel);
}
.new-service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(56% 130% at 88% 16%, rgba(122, 160, 200, .24) 0%, rgba(0, 0, 0, 0) 64%),
    repeating-linear-gradient(115deg, rgba(200, 220, 240, .055) 0 22px, rgba(0, 0, 0, 0) 22px 128px);
  /* 文章が載る左側には掛けない */
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 22%, #000 76%);
          mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 22%, #000 76%);
}
.new-service > * { position: relative; z-index: 1; }
.new-service h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}
.new-service p {
  margin-top: 16px;
  max-width: 44em;
  font-size: 13.5px;
  line-height: 2.05;
  color: var(--text-70);
}

.row-list { border-top: 1px solid var(--line); }
.row-list > li,
.row-list > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.95;
  color: var(--text-70);
}

.timeline { counter-reset: step; margin: 0; padding: 0; list-style: none; }
.timeline li {
  position: relative;
  padding: 0 0 34px 40px;
  border-left: 1px solid var(--line);
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: -20px;
  top: -2px;
  width: 40px;
  text-align: center;
  background: var(--bg);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--text-50);
}
.section--panel .timeline li::before { background: var(--bg-panel); }
.timeline h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.6;
}
.timeline p { font-size: 13.5px; line-height: 2; color: var(--text-60); }

.big-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
.big-stats > div { padding: 40px 32px 44px; }
.big-stats > div + div { border-left: 1px solid var(--line); }
.big-stats .num {
  margin-top: 14px;
  font-family: var(--font-en);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
}
.big-stats p { margin-top: 14px; font-size: 13px; line-height: 1.95; color: var(--text-60); }

/* --- member ----------------------------------------------------------- */

.member-list { margin-top: 44px; border-top: 1px solid var(--line-soft); }

.member {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--line-soft);
}
.member > * { min-width: 0; }

.member__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  overflow: hidden;
}
/* カラー表示。白黒に戻す場合は filter: grayscale(1) contrast(1.04); を足してください。 */
.member__photo img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member__soon {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--text-40);
}

.member__role {
  display: block;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--text-50);
}
.member h3 {
  margin: 10px 0 16px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .06em;
}
.member p { font-size: 13.5px; line-height: 2.1; color: var(--text-70); }

/* --- topics（YouTube以外のお知らせ） ---------------------------------- */

.topic-list { margin-top: 44px; border-top: 1px solid var(--line); }

.topic {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.topic > * { min-width: 0; }

.topic__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 2px;
}
.topic__cat {
  padding: 4px 11px;
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--text-70);
}
.topic h3 {
  font-size: 15.5px;
  line-height: 1.8;
  font-weight: 700;
}
/* リンクを持つお知らせだけ、見出しに下線を出して外部リンクだと分かるようにする */
.topic h3 a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .35);
  text-underline-offset: 5px;
  transition: text-decoration-color .3s var(--ease);
}
.topic h3 a:hover {
  color: #fff;
  text-decoration-color: #fff;
}
.topic p a { text-decoration: underline; text-underline-offset: 3px; }
.topic p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 2.05;
  color: var(--text-70);
}

/* --- news ------------------------------------------------------------- */

/* 日付表記はTOPICSと動画リストで共有している */
.news-date {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text-50);
}

/* --- video（YouTube最新3件） -------------------------------------------
   YouTubeのサムネイルは配色も文字量もこのサイトと衝突するため使わない。
   番号・再生マークはすべてCSSで描き、外部画像の読み込みをゼロにしている。 */

.video-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}
.video-head .section-head,
.video-head > div:first-child { margin-bottom: 0; }
.video-head__note {
  flex: none;
  text-align: right;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-50);
}
.video-head__note span {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--text-40);
}

.video-list {
  list-style: none;
  border-top: 1px solid var(--line-soft);
}
.video { display: block; }

.video__link {
  display: grid;
  grid-template-columns: 78px 1fr 46px;
  align-items: center;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-soft);
  color: inherit;
  transition: background-color .35s var(--ease), padding-left .35s var(--ease);
}
.video__link:hover {
  background-color: rgba(255, 255, 255, .035);
  padding-left: 18px;
}

.video__no {
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .22);
  transition: color .35s var(--ease);
}
.video__link:hover .video__no { color: rgba(255, 255, 255, .5); }

.video__main { display: block; min-width: 0; }

.video__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.video__meta time {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text-50);
}
.video__cat {
  padding: 3px 10px;
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--text-60);
}
.video__dur {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--text-40);
}

.video__title {
  display: block;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.7;
  color: #fff;
}
.video__desc {
  display: block;
  margin-top: 10px;
  max-width: 52em;
  font-size: 13.5px;
  line-height: 2.1;
  color: var(--text-60);
}

/* 再生マーク。三角は border で描いているので画像もSVGも要らない */
.video__play {
  justify-self: end;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  transition: border-color .35s var(--ease), background-color .35s var(--ease);
}
.video__play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid rgba(255, 255, 255, .55);
  transition: border-left-color .35s var(--ease);
}
.video__link:hover .video__play {
  border-color: rgba(255, 255, 255, .55);
  background-color: rgba(255, 255, 255, .06);
}
.video__link:hover .video__play::before { border-left-color: #fff; }

.video-all { margin-top: 44px; }


button.btn-ghost {
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: var(--font-en);
}

/* --- faq -------------------------------------------------------------- */

.faq-group + .faq-group { margin-top: 64px; }
.faq-group > .label { display: block; margin-bottom: 20px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  font-size: 15.5px;
  line-height: 1.8;
  font-weight: 500;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-en);
  font-size: 20px;
  color: var(--text-50);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer {
  padding: 0 48px 28px 0;
  font-size: 14px;
  line-height: 2.15;
  color: var(--text-70);
}

/* --- contact form ---------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 76px;
  align-items: start;
}
.contact-grid > * { min-width: 0; }

.field + .field { margin-top: 26px; }
.field label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--text-70);
}
.req {
  margin-left: 8px;
  font-family: var(--font-en);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: rgba(214, 176, 120, .95);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: #0b0d0f;
  border: 1px solid var(--line);
  color: #ffffff;
  font-family: var(--font-jp);
  font-size: 14.5px;
  transition: border-color .25s var(--ease);
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: rgba(255, 255, 255, .55); }
.field [aria-invalid="true"] { border-color: #e0736a; }
.field .error {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  color: #f0938b;
}
.field .error:empty { display: none; }

.consent {
  margin-top: 30px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-70);
}
.consent input {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  accent-color: #ffffff;
}
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.consent + .error {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  color: #f0938b;
}
.consent + .error:empty { display: none; }

.btn-solid {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 44px;
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.btn-solid:hover { background: #000000; color: #ffffff; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 24px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-70);
}
.form-status:empty { display: none; }
/* 送信結果。色だけに頼らず文言でも状態を伝えている（色覚特性への配慮） */
.form-status.is-done {
  padding: 14px 18px;
  border-left: 2px solid #5fd38d;
  color: #fff;
}
.form-status.is-error {
  padding: 14px 18px;
  border-left: 2px solid #ff8a8a;
  color: #fff;
}

.aside-block + .aside-block { margin-top: 40px; }
.aside-block .label { display: block; margin-bottom: 14px; }
.aside-block p { font-size: 14px; line-height: 2.05; color: var(--text-70); }

/* --- legal ------------------------------------------------------------ */

.legal { max-width: 44em; }
.legal h2 {
  margin-top: 52px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}
.legal h2:first-child { margin-top: 0; }
/* 条文の中の小見出し。h2 より一段弱くして、階層が分かるようにする */
.legal h3 {
  margin-top: 30px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--text-70);
}
.legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, .35);
}
.legal a:hover { color: #fff; text-decoration-color: #fff; }
.legal p,
.legal li {
  margin-top: 16px;
  font-size: 14px;
  line-height: 2.15;
  color: var(--text-70);
}
.legal ul { margin-top: 8px; }
.legal li { padding-left: 1.2em; text-indent: -1.2em; }

.todo {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  border: 1px dashed rgba(255, 255, 255, .3);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .5);
  vertical-align: middle;
}

/* --- scroll reveal --------------------------------------------------- */

.js-reveal [data-r] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js-reveal [data-r].in { opacity: 1; transform: none; }

.js-reveal [data-fade] { opacity: 0; transition: opacity 1.4s ease; }
.js-reveal [data-fade].in { opacity: 1; }

.js-reveal [data-bar] {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease);
}
.js-reveal [data-bar].in { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal [data-r],
  .js-reveal [data-fade],
  .js-reveal [data-bar] { opacity: 1; transform: none; transition: none; }
}

/* --- responsive ------------------------------------------------------ */

@media (max-width: 1000px) {
  :root { --pad-x: 24px; }
  .global-nav { display: none; }
  .model__body { grid-template-columns: 1fr; gap: 48px; }
  .reason-grid,
  .explore { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .hero__body {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 40px;
    padding-top: 132px;
  }
  .hero__aside {
    grid-column: 1;
    grid-row: 3;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
  .display--md { font-size: 40px; }
  .display--sm { font-size: 34px; }
  .statement p { font-size: 20px; }
}

@media (min-width: 1001px) {
  .menu-toggle { display: none; }
  .drawer { display: none !important; }
}

/* ナビ項目が7つあるため、中間幅では字間と間隔を詰める */
@media (min-width: 1001px) and (max-width: 1200px) {
  .global-nav { gap: 20px; font-size: 12px; letter-spacing: .14em; }
}

/* .model が2カラムのままの中間幅では、facts の3分割が細くなりすぎる */
@media (max-width: 1280px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div { padding: 18px 24px; }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 1000px) {
  :root { --sec-lg: 96px; --sec-md: 80px; --sec-sm: 60px; }
  .display--lg { font-size: 42px; }
  .feature,
  .feature--rev { grid-template-columns: 1fr; gap: 36px; }
  .feature--rev .feature__media { order: -1; }
  .feature__field ul { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .minor { grid-template-columns: 1fr; gap: 30px; }
  .new-service { padding: 28px 24px 30px; }
  .page-head__body { padding-top: 148px; padding-bottom: 68px; }
  .logo { gap: 9px; }
  .logo__mark { width: 24px; height: 24px; }
  .video-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .video-head__note { text-align: left; }
  .video__link { grid-template-columns: 52px 1fr; gap: 18px; padding: 26px 0; }
  .video__no { font-size: 30px; }
  .video__play { display: none; }
  .member { grid-template-columns: 148px 1fr; gap: 26px; padding: 30px 0; }
  .topic { grid-template-columns: 1fr; gap: 12px; padding: 22px 0; }
}

@media (max-width: 600px) {
  /* 上部の余白は .hero__body の padding-top が持つため、ここでは足さない */
  .hero { height: auto; min-height: 0; }
  .hero__body { padding-top: 124px; padding-bottom: 64px; }
  .display--lg { font-size: 34px; }
  .spec-table > div,
  .row-list > li,
  .row-list > div { grid-template-columns: 1fr; gap: 8px; }
  .big-stats { grid-template-columns: 1fr; }
  .big-stats > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .big-stats .num { font-size: 44px; }
  .faq .answer { padding-right: 0; }
  .member { grid-template-columns: 1fr; gap: 20px; }
  .member__photo { max-width: 190px; }
  .reason-grid,
  .explore { grid-template-columns: 1fr; }
  .explore a { min-height: 0; padding: 40px 24px 32px; }
  .statement { padding-top: 100px; padding-bottom: 100px; }
  .reasons, .cta { padding-top: 90px; padding-bottom: 90px; }
  .service { padding-bottom: 90px; }
  .about__body, .model__body { padding-top: 90px; padding-bottom: 90px; }
}
