/* 株式会社X STAND — サイト共通スタイル（2026-11-11 デザイン一新 v2）
   コンセプト：「×（クロス）」。社名のXを、構想×実行／つくる×売る×回す の「掛け合わせ」と「交点」として扱う。
   ・紙の色の地、黒の特大の文字、ブランドの青1色。写真は使わず、文字と線と「＋→×」の印で組む
   ・動きは意味のある所だけ（読み込み時の見出し、＋が×に回る印、横に流れる事業の3段階）
   ・動きを減らす設定の端末、仕組み（JavaScript）が動かない環境では、すべて最初から表示する */

:root {
  --paper: #F2F0EA;
  --paper-2: #E8E5DC;
  --white: #FFFFFF;
  --ink: #0B0F17;
  --ink-2: #151B27;
  --blue: #1E7EC3;        /* ブランド青：図形・大きな面 */
  --blue-d: #0F5FA6;      /* 紙色・白の上の文字、青い面 */
  --blue-l: #59B4F5;      /* 黒の上の文字・線 */
  --mute: #5A606E;
  --mute-l: #9BA5B7;
  --line: rgba(11, 15, 23, .16);
  --line-l: rgba(255, 255, 255, .18);
  --hair: rgba(11, 15, 23, .055);
  --hair-l: rgba(255, 255, 255, .06);
  --err: #B00020;
  --pad: clamp(20px, 4.4vw, 72px);
  --hd: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --f-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --f-en: "Barlow Condensed", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --f-min: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
}
@media (max-width: 859px) { :root { --hd: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-jp); font-size: 1rem; font-weight: 500; line-height: 1.9; letter-spacing: .03em; line-break: strict; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, canvas { max-width: 100%; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-feature-settings: "palt"; word-break: auto-phrase; }
p, li, dd, td { text-wrap: pretty; }
::selection { background: var(--blue-d); color: #fff; }
:focus-visible { outline: 3px solid var(--blue-d); outline-offset: 3px; }
.on-dark :focus-visible, .sec--ink :focus-visible, .sec--blue :focus-visible, .ft :focus-visible { outline-color: #fff; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--hd) + 16px); }

.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nw { display: inline-block; }
.nb { white-space: nowrap; }
.x { margin: 0 .35em; color: var(--blue-d); font-style: normal; font-weight: 700; }
.sec--ink .x, .sec--blue .x { color: var(--blue-l); }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--ink); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { padding-inline: var(--pad); }

/* 文字リンク */
.tl { color: var(--blue-d); font-weight: 700; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .3s var(--ease); }
.tl:hover { background-size: 100% 3px; }
.sec--ink .tl, .sec--blue .tl { color: #fff; }

/* ＋の印（開くと×に回る） */
.pm { position: relative; display: inline-block; flex: none; width: 18px; height: 18px; transition: transform .45s var(--ease); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; }
.pm::before { width: 100%; height: 2px; margin: -1px 0 0 -50%; }
.pm::after { width: 2px; height: 100%; margin: -50% 0 0 -1px; }

/* 矢印 */
.arr { position: relative; display: inline-block; flex: none; width: 22px; height: 12px; }
.arr::before { content: ""; position: absolute; left: 0; right: 1px; top: 50%; height: 2px; margin-top: -1px; background: currentColor; }
.arr::after { content: ""; position: absolute; right: 0; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.arr--out { transform: rotate(-45deg); }
.arr--down { transform: rotate(90deg); }

/* ---------- ボタン ---------- */
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 64px; padding: 0 22px 0 28px; overflow: hidden; border: 1px solid var(--ink); border-radius: 2px; background: transparent; color: var(--ink); font-size: 1rem; font-weight: 700; letter-spacing: .08em; line-height: 1.4; cursor: pointer; transition: color .4s var(--ease), border-color .4s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transform-origin: left center; transition: transform .5s var(--ease); }
.btn:hover { color: #fff; }
.btn:hover::before { transform: scaleX(1); }
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(6px); }
.btn:hover .arr--out { transform: rotate(-45deg) translateX(5px); }
.btn:hover .arr--down { transform: rotate(90deg) translateX(5px); }
.btn--solid { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--solid::before { background: var(--blue-d); }
.btn--solid:hover { border-color: var(--blue-d); }
.btn--blue { border-color: var(--blue-d); background: var(--blue-d); color: #fff; }
.btn--blue::before { background: #fff; }
.btn--blue:hover { border-color: #fff; color: var(--ink); }
.btn--white { border-color: #fff; background: #fff; color: var(--ink); }
.btn--white::before { background: var(--ink); }
.btn--white:hover { border-color: var(--ink); color: #fff; }
.btn--ghost-l { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost-l::before { background: #fff; }
.btn--ghost-l:hover { border-color: #fff; color: var(--ink); }
.btn--lg { min-height: 76px; padding: 0 28px 0 36px; font-size: 1.125rem; }
.btn[disabled] { opacity: .55; cursor: default; }
.note { color: var(--mute); font-size: .8125rem; }
.sec--ink .note, .sec--blue .note { color: var(--mute-l); }
.sec--blue .note { color: #C9E4FA; }

/* ---------- ヘッダー ---------- */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--hd); padding-inline: var(--pad); background: rgba(242, 240, 234, 0); border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s; }
.hd.is-solid, html:not(.js) .hd { background: var(--paper); border-bottom-color: var(--line); }
html:not(.js) .hd { position: sticky; }
.hd__logo { display: inline-flex; align-items: center; }
.hd__logo img { width: auto; height: 40px; }
.gnav ul { display: flex; align-items: center; gap: clamp(8px, 2vw, 36px); }
.gnav a { position: relative; display: block; padding: 10px 2px; font-size: .875rem; font-weight: 700; letter-spacing: .08em; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--blue-d); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.gnav a:hover::after, .gnav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.gnav__no { display: none; }
.gnav .gnav__cta a { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding: 0 16px 0 20px; background: var(--ink); color: #fff; border-radius: 2px; transition: background-color .3s; }
.gnav .gnav__cta a::after { display: none; }
.gnav .gnav__cta a:hover { background: var(--blue-d); }
.hd__menu { display: none; position: relative; z-index: 2; width: 48px; height: 48px; margin-right: -10px; padding: 0; border: 0; background: none; cursor: pointer; }
.hd__menu span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .4s var(--ease), background-color .3s; }
.hd__menu span:nth-child(1) { top: 19px; }
.hd__menu span:nth-child(2) { top: 27px; }

@media (max-width: 859px) {
  .gnav ul { flex-direction: column; align-items: stretch; gap: 0; }
  html:not(.nav-ready) .hd { position: static; height: auto; flex-wrap: wrap; padding-block: 10px; }
  html:not(.nav-ready) .gnav { flex-basis: 100%; }
  html:not(.nav-ready) .gnav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .js.nav-ready .hd__menu { display: block; }
  .js.nav-ready .gnav { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hd) + 16px) var(--pad) 40px; overflow-y: auto; background: var(--ink); color: #fff; visibility: hidden; opacity: 0; transition: opacity .35s, visibility 0s .35s; }
  .js.nav-ready .gnav.is-open { visibility: visible; opacity: 1; transition: opacity .35s, visibility 0s; }
  .js.nav-ready .gnav li { border-top: 1px solid var(--line-l); }
  .js.nav-ready .gnav li:last-child { border-top: 0; }
  .js.nav-ready .gnav a { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; font-size: clamp(1.5rem, 6.4vw, 2rem); font-weight: 900; letter-spacing: .02em; }
  .js.nav-ready .gnav a::after { display: none; }
  .js.nav-ready .gnav__no { display: inline; color: var(--blue-l); font: 600 .875rem/1 var(--f-en); letter-spacing: .14em; }
  .js.nav-ready .gnav .gnav__cta { margin-top: 28px; }
  .js.nav-ready .gnav .gnav__cta a { align-items: center; justify-content: space-between; min-height: 64px; padding: 0 22px; background: var(--blue-d); font-size: 1rem; letter-spacing: .08em; }
  .js.nav-ready .hd.is-open .hd__logo { position: relative; z-index: 2; }
  .js.nav-ready .hd.is-open .hd__logo img { filter: brightness(0) invert(1); }
  .js.nav-ready .hd.is-open .hd__menu span { background: #fff; }
  .js.nav-ready .hd.is-open .hd__menu span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .js.nav-ready .hd.is-open .hd__menu span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .js.nav-ready .hd.is-open { background: transparent; border-bottom-color: transparent; }
  .js.nav-ready .hd.is-open :focus-visible { outline-color: #fff; }
}

/* ---------- 見出しの部品 ---------- */
.label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--blue-d); font: 600 .9375rem/1 var(--f-en); letter-spacing: .18em; text-transform: uppercase; }
.label .pm { width: 12px; height: 12px; transform: rotate(45deg); }
.label__no { color: var(--ink); }
.label__jp { color: var(--ink); font: 700 .8125rem/1.5 var(--f-jp); letter-spacing: .14em; text-transform: none; }
.sec--ink .label, .sec--blue .label, .svc .label { color: var(--blue-l); }
.sec--blue .label { color: #C9E4FA; }
.sec--ink .label__no, .sec--ink .label__jp, .sec--blue .label__no, .sec--blue .label__jp, .svc .label__no, .svc .label__jp { color: #fff; }
.title .x { margin: 0 .12em; font-weight: 900; }
.title { margin-top: clamp(20px, 2.6vw, 36px); font-size: clamp(2.375rem, 7.2vw, 6.75rem); font-weight: 900; line-height: 1.14; letter-spacing: -.02em; }
.title--m { font-size: clamp(2rem, 4.6vw, 4.25rem); line-height: 1.2; }
.title--s { font-size: clamp(1.625rem, 2.8vw, 2.5rem); line-height: 1.3; letter-spacing: 0; }
.lead { max-width: 38em; font-size: clamp(1rem, 1.25vw, 1.1875rem); line-height: 2; }
.sub { font-size: clamp(1.125rem, 1.9vw, 1.75rem); font-weight: 700; line-height: 1.6; letter-spacing: .02em; }
.c-mute { color: var(--mute); }
.sec--ink .c-mute { color: var(--mute-l); }

/* 行ごとに下から現れる見出し */
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > span { display: block; }

/* ---------- 区画の共通 ---------- */
.sec { position: relative; padding-block: clamp(96px, 13vw, 208px); }
.sec--paper, .sec--white, .hero { background-image: linear-gradient(90deg, var(--hair) 1px, transparent 1px); background-position: var(--pad) 0; background-size: calc((100% - var(--pad) * 2) / 4) 100%; }
.sec--paper { background-color: var(--paper); }
.sec--white { background-color: var(--white); }
.sec--ink { background-color: var(--ink); color: #fff; background-image: linear-gradient(90deg, var(--hair-l) 1px, transparent 1px); background-position: var(--pad) 0; background-size: calc((100% - var(--pad) * 2) / 4) 100%; }
.sec--blue { background-color: var(--blue-d); color: #fff; background-image: linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px); background-position: var(--pad) 0; background-size: calc((100% - var(--pad) * 2) / 4) 100%; }
.sec--tight { padding-block: clamp(72px, 9vw, 136px); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }

/* ---------- 最初の画面 ---------- */
.hero { position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding-top: var(--hd); overflow: hidden; background-color: var(--paper); }
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__in { position: relative; display: flex; flex: 1; flex-direction: column; justify-content: center; padding-block: clamp(24px, 4.5vh, 72px) clamp(24px, 4vh, 56px); }
.hero__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; color: var(--ink); font-size: clamp(.8125rem, 1.05vw, 1rem); font-weight: 700; letter-spacing: .14em; }
.hero__title { margin-top: clamp(12px, 2vh, 28px); font-size: clamp(3.75rem, min(13.4vw, 22.5vh), 13.5rem); font-weight: 900; line-height: 1.04; letter-spacing: -.04em; }
.hero__title em { color: var(--blue-d); font-style: normal; }
.hero__foot { display: grid; gap: 24px clamp(32px, 5vw, 96px); margin-top: clamp(20px, 3.6vh, 48px); }
.hero__lead { max-width: 44em; margin-top: 10px; font-size: clamp(.9375rem, 1.1vw, 1.0625rem); line-height: 1.95; color: var(--ink); }
.hero .btn:not(.btn--solid) { background: var(--paper); }
.hero .sub { font-size: clamp(1.125rem, min(1.9vw, 3.4vh), 1.75rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px 16px; align-self: end; }
@media (min-width: 960px) { .hero__foot { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
@media (max-width: 859px) {
  .hero { min-height: 0; }
  .hero__in { justify-content: flex-end; padding-top: clamp(200px, 34svh, 300px); }
  .hero__cta .btn { flex: 1 1 100%; }
}

.hero__index { position: relative; display: grid; border-top: 1px solid var(--ink); background: var(--paper); }
.hero__index a { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 4px 18px; padding: clamp(16px, 2.4vh, 26px) var(--pad); transition: color .35s; isolation: isolate; }
.hero__index a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.hero__index a:hover { color: #fff; }
.hero__index a:hover::before { transform: scaleY(1); }
.hero__index li + li { border-top: 1px solid var(--line); }
.hero__index .no { color: var(--blue-d); font: 600 1rem/1 var(--f-en); letter-spacing: .12em; transition: color .35s; }
.hero__index a:hover .no { color: var(--blue-l); }
.hero__index .v { font-size: clamp(1.125rem, 1.7vw, 1.5rem); font-weight: 900; letter-spacing: .02em; }
.hero__index .n { grid-column: 2; color: var(--mute); font-size: .8125rem; font-weight: 700; transition: color .35s; }
.hero__index a:hover .n { color: var(--mute-l); }
.hero__index .arr { grid-row: 1 / span 2; grid-column: 3; align-self: center; }
@media (min-width: 860px) {
  .hero__index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__index li + li { border-top: 0; border-left: 1px solid var(--line); }
  .hero__index a { padding-inline: clamp(20px, 2.2vw, 36px); }
  .hero__index li:first-child a { padding-left: var(--pad); }
  .hero__index li:last-child a { padding-right: var(--pad); }
}

/* ---------- 考え方 ---------- */
.stance__body { max-width: 34em; margin-top: clamp(32px, 4vw, 64px); }
@media (min-width: 1000px) { .stance__body { margin-left: 50%; } }
.pts { margin-top: clamp(56px, 8vw, 120px); border-top: 1px solid var(--ink); }
.pt { display: grid; gap: 8px 24px; padding: clamp(24px, 3.4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.pt__no { color: var(--blue-d); font: 600 1rem/1.6 var(--f-en); letter-spacing: .14em; }
.pt__key { font-size: clamp(2rem, 5.2vw, 4.75rem); font-weight: 900; line-height: 1.15; letter-spacing: -.01em; font-feature-settings: "palt"; }
.pt__say { font-size: clamp(1.0625rem, 1.5vw, 1.375rem); font-weight: 700; line-height: 1.7; }
.pt__sup { margin-top: 6px; color: var(--mute); font-size: .9375rem; }
@media (min-width: 900px) {
  .pt { grid-template-columns: 5rem minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
}

/* ---------- 事業領域（横に流れる3段階） ---------- */
.svc { position: relative; padding-block: clamp(96px, 13vw, 208px) clamp(72px, 9vw, 136px); background-color: var(--ink); color: #fff; scroll-margin-top: 0; }
.svc__pin { position: relative; }
.svc__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; padding-inline: var(--pad); }
.svc__side { max-width: 30em; }
.svc__sub { font-size: clamp(1.0625rem, 1.6vw, 1.5rem); font-weight: 700; line-height: 1.6; }
.svc__note { margin-top: 8px; color: var(--mute-l); font-size: .875rem; }
.svc__rail { display: none; }
.svc__track { display: grid; gap: 0; margin-top: clamp(48px, 6vw, 88px); padding-inline: var(--pad); }
.sv { position: relative; display: grid; gap: 28px clamp(32px, 4vw, 72px); padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line-l); scroll-margin-top: calc(var(--hd) + 8px); }
.sv__no { color: transparent; font: 700 clamp(5.5rem, 13vw, 12rem)/.82 var(--f-en); letter-spacing: -.01em; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .42); }
.sv__phase { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--blue-l); font-size: .875rem; font-weight: 700; letter-spacing: .14em; }
.sv__h { margin: 0; }
.sv__verb { display: block; margin-top: 6px; font-size: clamp(3.25rem, 8.6vw, 8.5rem); font-weight: 900; line-height: 1.08; letter-spacing: -.03em; }
.sv__name { display: block; margin-top: 14px; font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 900; letter-spacing: .02em; }
.sv__desc { max-width: 32em; color: #E6EAF1; font-size: clamp(.9375rem, 1.15vw, 1.0625rem); line-height: 2; }
.sv__meta { display: grid; gap: 20px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-l); }
.sv__meta dt { color: var(--blue-l); font-size: .8125rem; font-weight: 700; letter-spacing: .18em; }
.sv__meta dd { margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 5px 14px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 2px; font-size: .875rem; font-weight: 700; line-height: 1.6; }
.outs li { position: relative; padding-left: 1.4em; font-size: .9375rem; line-height: 1.9; }
.outs li::before { content: "×"; position: absolute; left: 0; color: var(--blue-l); font-weight: 700; }
@media (min-width: 760px) { .sv { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; } }

/* 横に流す（画面が広く、動きを減らす設定でないとき。site.js が is-pinned を付ける） */
.svc.is-pinned { padding-block: 0; }
.svc.is-pinned .svc__pin { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding-top: calc(var(--hd) + clamp(16px, 3vh, 40px)); padding-bottom: clamp(16px, 3vh, 36px); overflow: hidden; }
.svc.is-pinned .svc__head .title { font-size: clamp(2rem, 4.4vw, 4.25rem); }
.svc.is-pinned .svc__rail { display: flex; align-items: center; gap: 18px; padding-inline: var(--pad); margin-top: clamp(14px, 2.4vh, 28px); color: var(--mute-l); font: 600 .875rem/1 var(--f-en); letter-spacing: .16em; }
.svc__rail-bar { position: relative; flex: 1; height: 1px; background: var(--line-l); }
.svc__rail-bar i { position: absolute; inset: -1px auto -1px 0; width: 100%; background: var(--blue-l); transform: scaleX(0); transform-origin: left; }
.svc__rail b { color: #fff; font-weight: 600; }
.svc.is-pinned .svc__track { display: flex; flex: 1; align-items: stretch; gap: 0; width: max-content; min-height: 0; margin-top: clamp(12px, 2.4vh, 28px); padding-inline: var(--pad) 0; will-change: transform; }
.svc.is-pinned .sv { flex: none; align-content: center; width: min(82vw, 1240px); padding: 0 clamp(32px, 4vw, 72px) 0 0; margin-right: clamp(32px, 4vw, 72px); border-top: 0; border-right: 1px solid var(--line-l); }
.svc.is-pinned .sv:last-child { border-right: 0; }
.svc.is-pinned .sv__no { font-size: clamp(5rem, min(14vw, 24vh), 13rem); }
.svc.is-pinned .sv__verb { font-size: clamp(3rem, min(8.4vw, 15vh), 8.5rem); }
@media (max-height: 760px) {
  .svc.is-pinned .sv__desc { line-height: 1.8; }
  .svc.is-pinned .sv__meta { margin-top: 16px; padding-top: 16px; gap: 12px; }
  .svc.is-pinned .sv__name { margin-top: 8px; }
}

/* ---------- 支援実績 ---------- */
.works__head { display: grid; gap: 32px; }
@media (min-width: 1000px) { .works__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(40px, 5vw, 72px); }
.filter button { display: inline-flex; align-items: baseline; gap: 10px; min-height: 44px; padding: 8px 18px; border: 1px solid var(--ink); border-radius: 2px; background: transparent; font-size: .875rem; font-weight: 700; letter-spacing: .06em; cursor: pointer; transition: background-color .3s, color .3s; }
.filter button small { font: 600 .8125rem/1 var(--f-en); letter-spacing: .1em; color: var(--blue-d); transition: color .3s; }
.filter button:hover { background: var(--paper-2); }
.filter button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.filter button[aria-pressed="true"] small { color: var(--blue-l); }
html:not(.acc-ready) .filter { display: none; }
.wl { margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--ink); }
.filter + .vh + .wl, .filter + .wl { margin-top: 24px; }
.w { border-bottom: 1px solid var(--line); }
.w__btn { position: relative; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) 20px; align-items: start; gap: 6px 16px; width: 100%; padding: clamp(20px, 2.6vw, 34px) 0; border: 0; background: none; text-align: left; cursor: pointer; }
.w__no { padding-top: .3em; color: var(--blue-d); font: 600 1rem/1.4 var(--f-en); letter-spacing: .12em; }
.w__cat { grid-column: 2; color: var(--mute); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; }
.w__ttl { grid-column: 2; font-size: clamp(1.125rem, 2.1vw, 1.875rem); font-weight: 900; line-height: 1.5; letter-spacing: .01em; font-feature-settings: "palt"; transition: color .3s, transform .45s var(--ease); }
.w__res { grid-column: 2; display: flex; gap: 12px; margin-top: 4px; font-size: clamp(.9375rem, 1.15vw, 1.0625rem); font-weight: 900; line-height: 1.7; }
.w__res i { flex: none; align-self: flex-start; margin-top: .25em; padding: 2px 8px; background: var(--ink); color: #fff; font-size: .8125rem; font-style: normal; letter-spacing: .14em; line-height: 1.6; }
.w__btn .pm { grid-row: 1 / span 2; grid-column: 3; margin-top: .45em; color: var(--ink); }
.w__btn:hover .w__ttl { color: var(--blue-d); transform: translateX(10px); }
.w__btn:hover .pm { transform: rotate(90deg); }
.w__btn[aria-expanded="true"] .pm { transform: rotate(45deg); color: var(--blue-d); }
.w__panel { display: grid; grid-template-rows: 1fr; }
.js.acc-ready .w__panel { grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.js.acc-ready .is-open > .w__panel { grid-template-rows: 1fr; }
.w__panel > div { min-height: 0; overflow: hidden; }
.js.acc-ready .w__panel > div { visibility: hidden; transition: visibility 0s .5s; }
.js.acc-ready .is-open > .w__panel > div { visibility: visible; transition-delay: 0s; }
.w__h { margin: 0; font-size: inherit; font-weight: inherit; }
.w__detail { display: grid; gap: 6px 16px; padding: 0 0 clamp(24px, 3vw, 40px) calc(2.5rem + 16px); }
.w__detail dt { color: var(--blue-d); font-size: .8125rem; font-weight: 700; letter-spacing: .18em; }
.w__detail dd { max-width: 44em; font-size: .9375rem; line-height: 2; }
html:not(.acc-ready) .w__btn { cursor: default; }
html:not(.acc-ready) .w__btn .pm { display: none; }
@media (min-width: 1000px) {
  .w__btn { grid-template-columns: 4rem 13.5rem minmax(0, 1fr) minmax(0, 19rem) 20px; align-items: center; gap: 0 24px; }
  .w__no { padding-top: 0; }
  .w__cat, .w__ttl, .w__res { grid-column: auto; }
  .w__res { margin-top: 0; }
  .w__btn .pm { grid-row: auto; grid-column: auto; margin-top: 0; }
  .w__detail { grid-template-columns: 13.5rem minmax(0, 1fr); padding-left: calc(4rem + 24px); }
  .w__detail dt { padding-top: .5em; }
}
.works__note { margin-top: 20px; color: var(--mute); font-size: .875rem; }

/* ---------- 取次サービスの帯 ---------- */
.ref { overflow: hidden; }
.ref__x { position: absolute; right: -4vw; top: 50%; width: min(52vw, 760px); aspect-ratio: 1; transform: translateY(-50%) rotate(45deg); pointer-events: none; opacity: .16; }
.ref__x::before, .ref__x::after { content: ""; position: absolute; left: 50%; top: 50%; background: #fff; }
.ref__x::before { width: 100%; height: 12%; margin: -6% 0 0 -50%; }
.ref__x::after { width: 12%; height: 100%; margin: -50% 0 0 -6%; }
.ref__grid { position: relative; display: grid; gap: 32px clamp(32px, 5vw, 96px); }
@media (min-width: 1000px) { .ref__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }
.ref__name { margin-top: clamp(20px, 2.6vw, 36px); font-size: clamp(2.5rem, 7.4vw, 6.5rem); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; }
.ref__name small { display: block; margin-top: 10px; font-size: clamp(1rem, 1.6vw, 1.375rem); letter-spacing: .12em; }
.ref__who { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 24px; font-size: .9375rem; font-weight: 700; }
.ref__who .x { color: #fff; }
.ref__desc { font-size: clamp(1rem, 1.25vw, 1.1875rem); line-height: 2; }
.ref__grid .btn { margin-top: 28px; }

/* ---------- 代表 ---------- */
.fd__quote { max-width: 22em; margin-top: clamp(28px, 3.6vw, 56px); text-indent: -.5em; padding-left: .5em; font-family: var(--f-min); font-size: clamp(1.75rem, 4.6vw, 4.5rem); font-weight: 600; line-height: 1.5; letter-spacing: .02em; font-feature-settings: "palt"; }
.fd__quote-after { margin-top: 20px; color: var(--mute); font-size: clamp(1rem, 1.3vw, 1.25rem); font-weight: 700; }
.fd__grid { display: grid; gap: 32px clamp(32px, 5vw, 96px); margin-top: clamp(56px, 8vw, 120px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--ink); }
@media (min-width: 900px) { .fd__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.fd__role { color: var(--mute); font-size: .875rem; font-weight: 700; letter-spacing: .08em; }
.fd__name { margin-top: 6px; font-size: clamp(2.25rem, 4.4vw, 4rem); font-weight: 900; line-height: 1.2; letter-spacing: .06em; }
.fd__bio { max-width: 40em; font-size: clamp(1rem, 1.15vw, 1.0625rem); line-height: 2.1; }
.tlm { display: grid; gap: 0; margin-top: clamp(56px, 7vw, 104px); }
.tlm__item { position: relative; padding: 0 0 36px 32px; border-left: 1px solid var(--ink); }
.tlm__item:last-child { padding-bottom: 0; }
.tlm__item::before, .tlm__item::after { content: ""; position: absolute; left: -8px; top: 9px; width: 15px; height: 2px; background: var(--blue-d); transform: rotate(45deg); }
.tlm__item::after { transform: rotate(-45deg); }
.tlm__when { color: var(--blue-d); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; }
.tlm__org { margin-top: 10px; font-size: clamp(1.0625rem, 1.5vw, 1.375rem); font-weight: 900; line-height: 1.5; }
.tlm__role { color: var(--mute); font-size: .875rem; font-weight: 700; }
.tlm__text { margin-top: 12px; font-size: .9375rem; line-height: 1.95; }
.tlm__item--now .tlm__org { color: var(--blue-d); }
@media (min-width: 1000px) {
  .tlm { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tlm__item { padding: 36px clamp(16px, 2vw, 32px) 0 0; border-left: 0; border-top: 1px solid var(--ink); }
  .tlm__item::before, .tlm__item::after { left: 0; top: -1px; }
}

/* ---------- 会社概要・お知らせ ---------- */
.two { display: grid; gap: clamp(72px, 9vw, 120px) clamp(40px, 6vw, 112px); }
@media (min-width: 1000px) { .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.kv { margin-top: clamp(28px, 3.4vw, 48px); border-top: 1px solid var(--ink); }
.kv > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--mute); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; line-height: 2.2; }
.kv dd { font-weight: 700; line-height: 1.8; }
.news { margin-top: clamp(28px, 3.4vw, 48px); border-top: 1px solid var(--ink); }
.news a { display: grid; grid-template-columns: minmax(0, 1fr) 22px; align-items: center; gap: 4px 20px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), color .3s; }
.news time { grid-column: 1 / -1; color: var(--mute); font: 600 .9375rem/1.4 var(--f-en); letter-spacing: .12em; }
.news b { font-weight: 700; line-height: 1.7; }
.news .arr { color: var(--blue-d); transition: transform .4s var(--ease); }
.news a:hover { padding-left: 12px; color: var(--blue-d); }
.news a:hover .arr { transform: rotate(-45deg) translateX(5px); }
.news__more { margin-top: 28px; }

/* ---------- お問い合わせ ---------- */
.ct__grid { display: grid; gap: clamp(48px, 6vw, 96px) clamp(40px, 6vw, 112px); }
@media (min-width: 1000px) { .ct__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.ct__grid .title { font-size: clamp(2rem, 3.9vw, 3.75rem); line-height: 1.3; }
.ct__lead { margin-top: 28px; color: #E6EAF1; }
.form { display: grid; gap: 30px; }
.form__row { display: grid; gap: 30px 28px; }
@media (min-width: 720px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 700; letter-spacing: .08em; }
.req, .opt { padding: 1px 8px; font-size: .8125rem; letter-spacing: .12em; line-height: 1.7; }
.req { background: #fff; color: var(--ink); }
.opt { border: 1px solid rgba(255, 255, 255, .4); color: var(--mute-l); }
.hint { display: block; margin-top: 4px; color: var(--mute-l); font-size: .8125rem; }
.input { display: block; width: 100%; min-height: 52px; margin-top: 6px; padding: 12px 2px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .5); border-radius: 0; background: transparent; color: #fff; font: inherit; font-size: 1rem; font-weight: 500; line-height: 1.6; letter-spacing: .03em; transition: border-color .3s, box-shadow .3s; }
.input:hover { border-bottom-color: #fff; }
.input:focus { outline: none; border-bottom-color: var(--blue-l); box-shadow: 0 2px 0 var(--blue-l); }
.input:focus-visible { outline: none; }
textarea.input { min-height: 132px; resize: vertical; }
select.input { padding-right: 36px; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='m8 11.4-6-6L3.4 4 8 8.6 12.6 4 14 5.4l-6 6Z'/%3E%3C/svg%3E"); background-position: right 6px center; background-repeat: no-repeat; background-size: 14px; }
select.input option { color: var(--ink); }
.form__submit { display: grid; gap: 14px; margin-top: 8px; }
.form__submit .btn { width: 100%; }
.notice { padding: 28px clamp(20px, 3vw, 36px); border: 1px solid var(--line-l); border-left: 4px solid var(--blue-l); }
.notice h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 900; line-height: 1.5; }
.notice p { margin-top: 8px; }
.notice--error { border-left-color: #FF8A8A; font-weight: 700; }

/* ---------- フッター ---------- */
.ft { position: relative; overflow: hidden; padding-top: clamp(56px, 7vw, 96px); background: var(--ink); color: #fff; border-top: 1px solid var(--line-l); }
.ft__in { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 32px 48px; padding-inline: var(--pad); }
.ft__logo img { width: auto; height: 48px; filter: brightness(0) invert(1); }
.ft__nav ul { display: flex; flex-wrap: wrap; gap: 10px 32px; }
.ft__nav a { font-size: .875rem; font-weight: 700; letter-spacing: .08em; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 3px; transition: background-size .35s var(--ease); }
.ft__nav a:hover { background-size: 100% 1px; }
.ft__copy { margin-top: 48px; padding-inline: var(--pad); color: var(--mute-l); font: 500 .875rem/1.6 var(--f-en); letter-spacing: .12em; }
.ft__mark { display: block; margin: clamp(16px, 3vw, 40px) 0 -0.085em; padding-inline: calc(var(--pad) - .04em); color: transparent; font: 700 31.4vw/.86 var(--f-en); letter-spacing: -.012em; white-space: nowrap; -webkit-text-stroke: 1px rgba(255, 255, 255, .36); user-select: none; }
.ft__mark b { color: var(--blue); font-weight: 700; -webkit-text-stroke: 0; }

/* ---------- 下層ページ（TALKsmith） ---------- */
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--mute); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; }
.crumb li + li::before { content: "/"; margin-right: 10px; color: var(--line); }
.crumb a:hover { color: var(--blue-d); }
.crumb [aria-current] { color: var(--ink); }
.phero { position: relative; overflow: hidden; padding: calc(var(--hd) + clamp(32px, 5vw, 72px)) 0 0; background-color: var(--paper); background-image: linear-gradient(90deg, var(--hair) 1px, transparent 1px); background-position: var(--pad) 0; background-size: calc((100% - var(--pad) * 2) / 4) 100%; }
.phero__in { position: relative; padding-bottom: clamp(48px, 6vw, 88px); }
.phero__kicker { margin-top: clamp(32px, 5vw, 72px); }
.phero h1 { margin: 0; font-size: inherit; font-weight: inherit; }
.phero__title { display: block; margin-top: clamp(16px, 2vw, 28px); font-size: clamp(2.25rem, 6.9vw, 7.25rem); font-weight: 900; line-height: 1.12; letter-spacing: -.03em; }
.phero__foot { display: grid; gap: 28px clamp(32px, 5vw, 96px); margin-top: clamp(28px, 4vw, 56px); }
@media (min-width: 1000px) { .phero__foot { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }
.phero__cta { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 16px; margin-top: 28px; }
.phero__cta .note { margin-top: 8px; }
.phero__pos { margin-top: 24px; font-size: .875rem; font-weight: 700; }
.jump { border-top: 1px solid var(--ink); }
.jump__label { padding: 14px 0 6px; color: var(--mute); font-size: .8125rem; font-weight: 700; letter-spacing: .16em; }
.jump a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.0625rem, 1.5vw, 1.375rem); font-weight: 900; transition: padding .4s var(--ease), color .3s; }
.jump a:hover { padding-left: 12px; color: var(--blue-d); }

.roles { position: relative; display: grid; border-top: 1px solid var(--ink); background: var(--paper); }
.roles__item { padding: clamp(20px, 2.6vw, 36px) var(--pad); border-bottom: 1px solid var(--line); }
.roles dt { display: flex; align-items: center; gap: 10px; color: var(--blue-d); font-size: .8125rem; font-weight: 700; letter-spacing: .18em; }
.roles__main { margin-top: 8px; font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 900; line-height: 1.5; }
.roles__note { margin-top: 4px; color: var(--mute); font-size: .875rem; }
@media (min-width: 860px) {
  .roles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .roles__item { padding-inline: clamp(20px, 2.2vw, 36px); border-bottom: 0; border-right: 1px solid var(--line); }
  .roles__item:first-child { padding-left: var(--pad); }
  .roles__item:last-child { padding-right: var(--pad); border-right: 0; }
}

.localnav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding: 16px var(--pad); background: var(--ink); color: #fff; }
.localnav__label { color: var(--blue-l); font-size: .8125rem; font-weight: 700; letter-spacing: .16em; }
.localnav ul { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.localnav a { display: block; padding: 8px 0; font-size: .875rem; font-weight: 700; letter-spacing: .06em; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.localnav a:hover { background-size: 100% 1px; }

.head2 > .lead, .head2 > .prose { margin-top: clamp(24px, 3vw, 48px); }
@media (min-width: 1000px) { .head2 > .lead, .head2 > .prose { margin-left: 50%; } }
.body-top { margin-top: clamp(40px, 6vw, 88px); }

.cases { border-top: 1px solid var(--ink); }
.cases li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); align-items: baseline; gap: 16px; padding: clamp(20px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line); font-size: clamp(1.125rem, 2.2vw, 1.875rem); font-weight: 900; line-height: 1.5; font-feature-settings: "palt"; }
.cases li i { color: var(--blue-d); font: 600 1rem/1 var(--f-en); letter-spacing: .12em; }
.closing { max-width: 30em; margin-top: clamp(32px, 4vw, 56px); font-size: clamp(1.125rem, 1.9vw, 1.75rem); font-weight: 700; line-height: 1.7; }

.steps { display: grid; gap: 0; counter-reset: st; }
.step { position: relative; padding: 0 0 32px 32px; border-left: 1px solid var(--line-l); counter-increment: st; }
.sec--paper .step, .sec--white .step { border-left-color: var(--ink); }
.step:last-child { padding-bottom: 0; }
.step::before, .step::after { content: ""; position: absolute; left: -8px; top: 9px; width: 15px; height: 2px; background: var(--blue-l); transform: rotate(45deg); }
.step::after { transform: rotate(-45deg); }
.sec--paper .step::before, .sec--paper .step::after, .sec--white .step::before, .sec--white .step::after { background: var(--blue-d); }
.step__no { color: var(--blue-l); font: 600 1rem/1.3 var(--f-en); letter-spacing: .14em; }
.sec--paper .step__no, .sec--white .step__no { color: var(--blue-d); }
.step__who { margin-left: 12px; font: 700 .8125rem/1 var(--f-jp); letter-spacing: .08em; color: #fff; }
.sec--paper .step__who, .sec--white .step__who { color: var(--ink); }
.step h3, .step h4 { margin-top: 12px; font-size: clamp(1.125rem, 1.6vw, 1.5rem); font-weight: 900; line-height: 1.5; }
.step p { margin-top: 8px; color: #E6EAF1; font-size: .9375rem; line-height: 1.9; }
.sec--paper .step p, .sec--white .step p { color: var(--ink); }
.step--key h4 { color: var(--blue-l); }
@media (min-width: 1000px) {
  .steps { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .step { padding: 32px clamp(16px, 2vw, 32px) 0 0; border-left: 0; border-top: 1px solid var(--line-l); }
  .sec--paper .step, .sec--white .step { border-top-color: var(--ink); }
  .step::before, .step::after { left: 0; top: -1px; }
}
.after-note { margin-top: clamp(28px, 3.6vw, 48px); max-width: 44em; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(40px, 6vw, 80px); padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); }
.sec--ink .cta-band { border-top-color: var(--line-l); }
.cta-band p { flex: 1 1 360px; min-width: 0; font-size: clamp(1.0625rem, 1.5vw, 1.375rem); font-weight: 700; line-height: 1.7; }

.cells { display: grid; border-top: 1px solid var(--ink); }
.cell { padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); }
.cell h3 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 900; line-height: 1.5; }
.cell h3 i { color: var(--blue-d); font: 600 .9375rem/1 var(--f-en); letter-spacing: .12em; }
.cell p { margin-top: 10px; font-size: .9375rem; line-height: 1.95; }
@media (min-width: 760px) {
  .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell { padding-inline: 0 clamp(24px, 3vw, 48px); }
  .cell:nth-child(even) { padding-inline: clamp(24px, 3vw, 48px) 0; border-left: 1px solid var(--line); }
}
@media (min-width: 1100px) {
  .cells { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cell, .cell:nth-child(even) { padding-inline: clamp(24px, 3vw, 48px); border-left: 1px solid var(--line); }
  .cell:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
  .cell:nth-child(3n) { padding-right: 0; }
}

.inds { display: grid; gap: 0; border-top: 1px solid var(--line-l); }
.ind { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 48px) 0; border-bottom: 1px solid var(--line-l); scroll-margin-top: calc(var(--hd) + 16px); transition: background-color .4s; }
.ind__tag { display: flex; align-items: center; gap: 12px; color: var(--blue-l); font: 600 .9375rem/1 var(--f-en); letter-spacing: .16em; }
.ind h3 { margin-top: 14px; font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 900; line-height: 1.3; }
.ind__copy { margin-top: 14px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); font-weight: 700; line-height: 1.7; }
.ind__lead { margin-top: 8px; color: var(--mute-l); font-size: .9375rem; }
.ind .sv__meta { margin-bottom: 28px; }
.ind .sv__meta dd { font-size: .9375rem; font-weight: 700; line-height: 1.9; }
.ind__link { display: inline-flex; align-items: center; gap: 14px; align-self: flex-start; margin-top: auto; padding: 10px 0; color: #fff; font-weight: 700; letter-spacing: .06em; border-bottom: 1px solid rgba(255, 255, 255, .5); transition: border-color .3s, gap .4s var(--ease); }
.ind__link:hover { gap: 22px; border-bottom-color: #fff; }
.ind:target { background: var(--blue-d); box-shadow: 0 0 0 100vmax var(--blue-d); clip-path: inset(0 -100vmax); }
.ind:target .ind__tag, .ind:target .sv__meta dt { color: #C9E4FA; }
.ind:target .ind__lead { color: #E3F1FC; }
.ind:target .ind__tag::after { content: "選択中"; margin-left: 4px; padding: 3px 10px; background: #fff; color: var(--blue-d); font: 700 .8125rem/1.6 var(--f-jp); letter-spacing: .14em; }
@media (min-width: 1000px) {
  .inds { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line-l); }
  .ind { padding: clamp(28px, 3.4vw, 48px) clamp(24px, 2.6vw, 44px); border-bottom: 0; border-left: 1px solid var(--line-l); }
  .ind:first-child { padding-left: 0; border-left: 0; }
  .ind:last-child { padding-right: 0; }
  .ind:target { box-shadow: none; clip-path: none; margin-inline: 0; padding-inline: clamp(24px, 2.6vw, 44px); }
}

.links2 { display: grid; border-top: 1px solid var(--ink); }
.lk { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 32px; padding: clamp(28px, 3.6vw, 52px) 0; border-bottom: 1px solid var(--line); transition: color .4s var(--ease), padding .45s var(--ease); }
.lk::before { content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.lk:hover { color: #fff; }
.lk:hover::before { transform: scaleY(1); }
.lk h3 { font-size: clamp(1.5rem, 3.4vw, 3rem); font-weight: 900; line-height: 1.3; }
.lk p { grid-column: 1; font-size: .9375rem; }
.lk .note { grid-column: 1; transition: color .4s; }
.lk:hover .note { color: var(--mute-l); }
.lk .arr { grid-row: 1 / span 3; grid-column: 2; width: clamp(28px, 4vw, 56px); color: var(--blue-d); transition: transform .45s var(--ease), color .4s; }
.lk:hover .arr { color: var(--blue-l); transform: rotate(-45deg) translateX(8px); }
.lk:hover .arr--down { transform: rotate(90deg) translateX(8px); }

.facts { display: grid; border-top: 1px solid var(--line-l); }
.fact { padding: clamp(28px, 3.6vw, 52px) 0; border-bottom: 1px solid var(--line-l); }
.fact__num { font: 600 clamp(3.5rem, 9vw, 8.5rem)/1 var(--f-en); letter-spacing: -.01em; }
.fact__num small { margin-left: .08em; font: 900 .32em/1 var(--f-jp); letter-spacing: .04em; }
.fact__num--s { font-size: clamp(2.25rem, 4.3vw, 4.25rem); line-height: 1.5; }
@media (min-width: 900px) { .fact__num { display: flex; align-items: baseline; min-height: clamp(5rem, 9.4vw, 8.9rem); } .fact__num--s { align-items: flex-end; } }
.fact__desc { margin-top: 14px; color: #E6EAF1; font-size: .9375rem; font-weight: 700; }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line-l); }
  .fact { padding-inline: clamp(24px, 2.6vw, 44px); border-bottom: 0; border-left: 1px solid var(--line-l); }
  .fact:first-child { padding-left: 0; border-left: 0; }
}
.source { margin-top: 24px; color: var(--mute-l); font-size: .8125rem; }

.prose { max-width: 40em; }
.prose p + p { margin-top: 1em; }
.prose .more { margin-top: 28px; }
.notes { margin-top: 28px; color: var(--mute); font-size: .875rem; }
.sec--ink .notes, .sec--blue .notes { color: var(--mute-l); }
.sec--blue .notes { color: #E3F1FC; }
.notes li { position: relative; padding-left: 1.3em; }
.notes li::before { content: "※"; position: absolute; left: 0; }

.faq { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { margin: 0; font-size: inherit; }
.faq__btn { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) 20px; align-items: baseline; gap: 16px; width: 100%; padding: clamp(20px, 2.4vw, 30px) 0; border: 0; background: none; text-align: left; cursor: pointer; font-size: clamp(1.0625rem, 1.7vw, 1.5rem); font-weight: 900; line-height: 1.6; }
.faq__btn i { color: var(--blue-d); font: 600 1rem/1 var(--f-en); letter-spacing: .12em; }
.faq__btn .pm { align-self: center; }
.faq__btn:hover { color: var(--blue-d); }
.faq__btn[aria-expanded="true"] .pm { transform: rotate(45deg); color: var(--blue-d); }
.faq__a { display: grid; grid-template-rows: 1fr; }
.js.acc-ready .faq__a { grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.js.acc-ready .is-open > .faq__a { grid-template-rows: 1fr; }
.faq__a > div { min-height: 0; overflow: hidden; }
.js.acc-ready .faq__a > div { visibility: hidden; transition: visibility 0s .5s; }
.js.acc-ready .is-open > .faq__a > div { visibility: visible; transition-delay: 0s; }
.faq__a p { max-width: 44em; padding: 0 0 clamp(20px, 2.4vw, 32px) calc(2.5rem + 16px); font-size: .9375rem; line-height: 2; }
html:not(.acc-ready) .faq__btn { cursor: default; }
html:not(.acc-ready) .faq__btn .pm { display: none; }

.cbox__title { margin-top: clamp(20px, 2.6vw, 36px); font-size: clamp(2.25rem, 6.4vw, 6rem); font-weight: 900; line-height: 1.18; letter-spacing: -.02em; }
.cbox__grid { display: grid; gap: 32px clamp(32px, 5vw, 96px); margin-top: clamp(32px, 4vw, 56px); }
@media (min-width: 1000px) { .cbox__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.cbox__links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; }
.cbox__tel { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .3); font-weight: 700; }
.cbox__tel a { display: block; margin-top: 2px; font: 600 clamp(2.25rem, 4.4vw, 3.75rem)/1.1 var(--f-en); letter-spacing: .04em; }
.cbox__other { margin-top: 20px; font-size: .9375rem; }

/* ---------- カーソルに付いてくる印（マウスのある端末だけ。site.js が置く） ---------- */
.cur { position: fixed; left: 0; top: 0; z-index: 90; width: 0; height: 0; pointer-events: none; color: var(--ink); opacity: 0; transition: opacity .3s, color .25s; }
.cur.is-on { opacity: 1; }
.cur.is-light { color: #fff; }
.cur::before, .cur::after { content: ""; position: absolute; left: 12px; top: 20px; width: 16px; height: 2px; background: currentColor; transition: transform .45s var(--ease), background-color .25s; }
.cur::after { transform: rotate(90deg); }
.cur.is-x::before { transform: rotate(45deg) scale(1.35); background: var(--blue); }
.cur.is-x::after { transform: rotate(135deg) scale(1.35); background: var(--blue); }
.cur.is-x.is-light::before, .cur.is-x.is-light::after { background: var(--blue-l); }
@media print { .cur { display: none; } }

/* ---------- 現れる動き（仕組みが動くとき・動きを減らす設定でないときだけ） ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js.rv-ready [data-r] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .js.rv-ready [data-r].is-in { opacity: 1; transform: none; }
  .js.rv-ready [data-l] .ln > span { transform: translateY(108%); transition: transform 1s var(--ease); transition-delay: var(--d, 0s); }
  .js.rv-ready [data-l].is-in .ln > span { transform: none; }
  .js.rv-ready [data-l] .ln:nth-child(2) > span { transition-delay: calc(var(--d, 0s) + .09s); }
  .js.rv-ready [data-l] .ln:nth-child(3) > span { transition-delay: calc(var(--d, 0s) + .18s); }
  .js.rv-ready [data-rule] { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
  .js.rv-ready [data-rule].is-in { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; }
}

@media print {
  .hd, .skip, .hero__field { display: none !important; }
  .sec, .svc { padding-block: 32px; }
}
