/* ============================================================
 * totallinks — "Editing Room" design system — v5: ARXと骨格を分離（左レール・スレート見出し・リール・フィルム・字幕FAQ・エンドカード・エンドロール） (2026-09, v5)
 * 映像会社らしさ: 明るい地×モノクロ×録画ランプの赤。
 * 欧文 Barlow Condensed（クレジット風の縦長大文字）、ラベル IBM Plex Mono（機材表示）、
 * 日本語 Zen Kaku Gothic New。直角・細罫・ビューファインダーの角ブラケット・タイムコード。
 * 履歴: v2 黒×ライム＝却下（黒多すぎ）／v3 緑×セリフ＝却下（柔らかすぎ）
 * ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, figure, table, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
mark { background: none; color: inherit; }

:root {
  --bg: #ffffff;
  --bg-2: #f2f3f4;      /* cool light gray */
  --bg-3: #e7e9ec;
  --ink: #0e1012;
  --ink-2: #454a52;
  --muted: #868c95;
  --line: rgba(14, 16, 18, .16);
  --line-d: rgba(255, 255, 255, .18);
  --accent: #e0332c;    /* REC red — used sparingly */
  --accent-d: #b9251f;
  --dark: #0e1012;
  --white: #ffffff;

  /* legacy aliases */
  --paper: var(--bg-2);
  --paper-2: var(--bg-3);
  --lime: var(--accent);
  --hl: rgba(224, 51, 44, .16);

  --display: 'Barlow Condensed', 'Oswald', 'Arial Narrow', sans-serif;
  --label: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --jp: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Yu Gothic UI', sans-serif;

  --r: 2px;
  --shell: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.19, 1, .22, 1);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--jp);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.95;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #fff; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.pc { display: block; } .sp { display: none; }
@media (max-width: 760px) { .pc { display: none; } .sp { display: block; } }

/* viewfinder corner brackets on photos */
.about__img, .svc__img, .worry__img, .pattern__img, .cteaser__img, .feature__img, .work__ph, .hero__frame, .phero__bg { position: relative; }
.about__img::before, .svc__img::before, .worry__img::before, .pattern__img::before, .cteaser__img::before, .feature__img::before, .work__ph::before,
.about__img::after, .svc__img::after, .worry__img::after, .pattern__img::after, .cteaser__img::after, .feature__img::after, .work__ph::after {
  content: ""; position: absolute; width: 22px; height: 22px; z-index: 2; pointer-events: none; opacity: .9;
  transition: inset .5s var(--ease), width .5s var(--ease), height .5s var(--ease);
}
.about__img::before, .svc__img::before, .worry__img::before, .pattern__img::before, .cteaser__img::before, .feature__img::before, .work__ph::before { left: 14px; top: 14px; border-left: 1.5px solid #fff; border-top: 1.5px solid #fff; }
.about__img::after, .svc__img::after, .worry__img::after, .pattern__img::after, .cteaser__img::after, .feature__img::after, .work__ph::after { right: 14px; bottom: 14px; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; }

/* ---------- Service index band ---------- */
.strip { background: var(--bg); border-bottom: 1px solid var(--line); }
.strip__inner { display: flex; align-items: center; gap: 36px; padding-top: 26px; padding-bottom: 26px; }
.strip__label { flex-shrink: 0; font-family: var(--display); font-weight: 600; font-size: 26px; text-transform: uppercase; color: var(--ink); line-height: 1; }
.strip__label small { display: block; font-family: var(--jp); font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--muted); margin-top: 8px; text-transform: none; }
.strip__list { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
.strip__list a { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--ink); transition: color .3s, padding-left .4s var(--ease); }
.strip__list a:nth-child(n+4) { border-bottom: none; }
.strip__list a b { font-family: var(--label); font-weight: 500; font-size: 11.5px; letter-spacing: .08em; color: var(--muted); }
.strip__list a:hover { color: var(--accent); padding-left: 6px; }
.strip__list a:hover b { color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 9.5vw, 128px) 0; position: relative; background: var(--bg); }
.section--paper { background: var(--bg-2); }
.section--paper2 { background: var(--bg-3); }
.section--dark2 { background: var(--bg); }
.section--tight { padding-top: clamp(64px, 7vw, 96px); }

/* cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); background: #fff; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card, .card--dark { background: #fff; color: var(--ink); border-radius: 0; padding: 36px 32px 38px; border-left: 1px solid var(--line); transition: background .3s; position: relative; }
.grid-3 > .card:first-child { border-left: none; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover::before { transform: scaleX(1); }
.card__num { font-family: var(--display); font-weight: 600; font-size: 56px; line-height: 1; color: var(--ink); }
.card h3 { font-weight: 700; font-size: 18.5px; line-height: 1.6; margin: 18px 0 12px; letter-spacing: .02em; }
.card p { font-size: 14px; line-height: 2.05; color: var(--ink-2); }
.card--icon { padding-top: 36px; }
.card__ico { position: absolute; right: 28px; top: 34px; width: 42px; height: 42px; border: 1px solid var(--ink); display: grid; place-items: center; }
.card__ico svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }
.merits { margin-top: clamp(48px, 6vw, 80px); }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.about__img { overflow: hidden; aspect-ratio: 16 / 10; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__badge { display: none; }
.about__lead { font-weight: 700; font-size: clamp(20px, 2.1vw, 27px); line-height: 1.85; letter-spacing: .02em; margin-bottom: 20px; }
.about__body > p:not(.about__lead) { font-size: 14.5px; line-height: 2.1; color: var(--ink-2); }
.media { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.media li { padding: 6px 14px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; color: var(--ink); }
.media li i { display: none; }

/* service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { position: relative; display: block; background: #fff; border: 1px solid var(--line); transition: border-color .3s; }
.svc:hover { border-color: var(--ink); }
.svc__img { aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform 1.2s var(--ease), opacity .5s; }
.svc:hover .svc__img img { transform: scale(1.05); opacity: .85; }
.svc:hover .svc__img::before, .feature:hover .feature__img::before, .work:hover .work__ph::before { left: 22px; top: 22px; }
.svc:hover .svc__img::after, .feature:hover .feature__img::after, .work:hover .work__ph::after { right: 22px; bottom: 22px; }
.svc__body { padding: 22px 24px 72px; }
.svc__top { display: flex; align-items: center; gap: 12px; font-family: var(--label); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.svc__no { color: var(--ink); font-weight: 500; }
.svc__no::before { content: "SC."; margin-right: 1px; }
.svc__en { font-family: var(--label); font-size: 11.5px; letter-spacing: .1em; color: var(--muted); }
.svc h3 { font-weight: 700; font-size: 18px; line-height: 1.55; margin: 12px 0 10px; letter-spacing: .02em; }
.svc p { font-size: 13.5px; line-height: 2; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags li { font-size: 11.5px; font-weight: 700; padding: 3px 10px; background: var(--bg-2); color: var(--ink-2); }
.svc__arrow { position: absolute; right: 0; bottom: 0; width: 52px; height: 52px; background: var(--ink); color: #fff; display: grid; place-items: center; transition: background .3s; }
.svc__arrow svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; }
.svc:hover .svc__arrow { background: var(--accent); }

/* numbers band (light, big condensed figures) */
.numbers { background: var(--bg-2); color: var(--ink); padding: clamp(48px, 6vw, 76px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.num { padding: 4px 26px; border-left: 1px solid var(--line); }
.num:first-child { border-left: none; padding-left: 0; }
.num__v { font-family: var(--display); font-weight: 600; font-size: clamp(52px, 5.6vw, 84px); line-height: .95; white-space: nowrap; }
.num__v small { font-family: var(--jp); font-size: 13.5px; font-weight: 700; margin-left: 6px; letter-spacing: .06em; }
.num__l { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--ink-2); margin-top: 12px; display: flex; align-items: center; gap: 8px; }
.num__l::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* worries */
.worry { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.worry__img { position: sticky; top: 96px; overflow: hidden; aspect-ratio: 4 / 5; }
.worry__img img { width: 100%; height: 100%; object-fit: cover; }
.checks { display: grid; gap: 0; border-top: 1px solid var(--ink); counter-reset: ck; }
.checks li { counter-increment: ck; position: relative; padding: 20px 8px 20px 64px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 15.5px; line-height: 1.7; letter-spacing: .02em; transition: background .3s, padding-left .45s var(--ease); }
.checks li::before { content: "0" counter(ck); position: absolute; left: 4px; top: 50%; transform: translateY(-50%); font-family: var(--label); font-size: 12px; font-weight: 500; letter-spacing: .08em; color: var(--accent); width: auto; height: auto; margin: 0; background: none; border-radius: 0; }
.checks li:hover { padding-left: 72px; background: #fff; }

/* only-us */
.only { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.only__txt h3 { font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.7; letter-spacing: .03em; }
.only__txt p { margin: 18px 0 28px; font-size: 14.5px; line-height: 2.1; color: var(--ink-2); }
.dots { margin-top: 14px; }
.dots li { position: relative; padding-left: 18px; font-size: 13.5px; font-weight: 500; line-height: 2; color: var(--ink-2); }
.dots li::before { content: ""; position: absolute; left: 0; top: .95em; width: 8px; height: 1px; background: var(--accent); }

.pattern { position: relative; background: #fff; border: 1px solid var(--line); }
.pattern__img { aspect-ratio: 16 / 9; overflow: hidden; }
.pattern__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pattern:hover .pattern__img img { transform: scale(1.04); }
.pattern__num { position: absolute; left: 0; top: 0; z-index: 3; padding: 6px 12px; background: var(--ink); color: #fff; font-family: var(--label); font-size: 12px; letter-spacing: .1em; }
.pattern__num::before { content: "TYPE "; }
.pattern__body { padding: 24px 26px 28px; }
.pattern__body h4 { font-weight: 700; font-size: 17.5px; margin-bottom: 8px; letter-spacing: .02em; }
.pattern__body p { font-size: 14px; color: var(--ink-2); }

/* flow = editing timeline */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; position: relative; padding-top: 30px; background:
  repeating-linear-gradient(90deg, rgba(14,16,18,.5) 0 1px, transparent 1px 12px) left top / 100% 7px no-repeat,
  repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 120px) left top / 100% 14px no-repeat; border-top: 1px solid var(--ink); }
.flow li { position: relative; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: 20px 20px 24px; }
.flow li:first-child { border-top-color: var(--accent); }
.flow__no { font-family: var(--label); font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--muted); }
.flow__no::before { content: "CLIP "; }
.flow h4 { font-weight: 700; font-size: 16.5px; margin: 10px 0 8px; line-height: 1.5; letter-spacing: .02em; }
.flow p { font-size: 13px; line-height: 2; color: var(--ink-2); }
.flow li::before, .flow li:not(:last-child)::after { content: none; }

/* works */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work { position: relative; display: block; }
.work__ph { display: block; overflow: hidden; background: #000; }
.work img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: opacity .5s; }
.work:hover img { opacity: .85; }
.work__cap { display: flex; align-items: center; gap: 12px; padding: 14px 0 0; border-top: none; position: static; background: none; }
.work__no { font-family: var(--label); font-size: 12px; letter-spacing: .1em; color: var(--accent); line-height: 1; }
.work__no::before { content: "WORK "; color: var(--muted); }
.work__cap b { font-weight: 700; font-size: 15.5px; letter-spacing: .04em; }

/* pricing teaser */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); background: #fff; }
.pcard { display: flex; flex-direction: column; background: #fff; padding: 26px 26px 26px; border-left: 1px solid var(--line); transition: background .3s, color .3s; }
.pcard:first-child { border-left: none; }
.pcard:hover { background: var(--ink); color: #fff; }
.pcard__k { font-size: 13px; font-weight: 700; letter-spacing: .06em; padding-bottom: 12px; border-bottom: 1px solid currentColor; }
.pcard__v { margin: 18px 0 6px; font-weight: 700; font-size: 15px; line-height: 1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 5px; }
.pcard__v b { font-family: var(--display); font-weight: 600; font-size: 64px; line-height: .95; }
.pcard__v small { font-size: 11.5px; font-weight: 700; opacity: .6; }
.pcard__n { font-size: 12px; font-weight: 500; opacity: .75; line-height: 1.8; margin-top: 8px; }

/* company teaser */
.cteaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.cteaser__img { overflow: hidden; aspect-ratio: 16 / 10; }
.cteaser__img img { width: 100%; height: 100%; object-fit: cover; }
.cteaser__dl { border-top: 1px solid var(--ink); }
.cteaser__dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cteaser__dl dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--muted); padding-top: 3px; }
.cteaser__dl dd { font-size: 14.5px; font-weight: 500; }
.access-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.access-pills li { padding: 5px 13px; background: var(--bg-2); font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.section--paper .access-pills li { background: #fff; }
.cteaser__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* feature */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature--rev .feature__img { order: 2; }
.feature__img { overflow: hidden; aspect-ratio: 16 / 10; background: #000; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .feature__img img { transform: scale(1.03); }
.feature__num { font-family: var(--label); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.feature h4 { font-weight: 700; font-size: clamp(19px, 2vw, 24px); line-height: 1.65; margin: 12px 0 14px; letter-spacing: .03em; }
.feature p { font-size: 14.5px; line-height: 2.1; color: var(--ink-2); }
.feature + .feature { margin-top: clamp(48px, 7vw, 96px); }
.feature .dots { margin-top: 18px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); background: #fff; }
.step { position: relative; padding: 30px 28px 32px; background: #fff; border-left: 1px solid var(--line); }
.step:first-child { border-left: none; }
.step__no { font-family: var(--label); font-weight: 500; font-size: 11.5px; letter-spacing: .14em; color: var(--muted); }
.step__no b { display: block; font-family: var(--display); font-weight: 600; font-size: 52px; line-height: 1; color: var(--ink); margin-top: 4px; letter-spacing: 0; }
.step h5 { font-weight: 700; font-size: 18px; margin: 14px 0 10px; letter-spacing: .02em; }
.step p { font-size: 13.5px; line-height: 2; color: var(--ink-2); }
.step:not(:last-child)::after { content: none; }

.qlist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.q { display: flex; gap: 16px; align-items: center; padding: 18px 22px; background: var(--bg-2); font-weight: 700; font-size: 14.5px; line-height: 1.8; border-left: 3px solid var(--ink); }
.section--paper .q, .section--paper2 .q { background: #fff; }
.q::before { content: "Q"; flex-shrink: 0; font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1; color: var(--accent); }

.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); }
.chip { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 76px; padding: 16px 20px; border-left: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14.5px; line-height: 1.6; letter-spacing: .02em; transition: background .3s, color .3s; }
.chip:first-child { border-left: none; }
.chip:hover { background: var(--ink); color: #fff; }

/* pricing page */
.ptable { width: 100%; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.ptable th, .ptable td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
.ptable thead th { background: var(--ink); color: #fff; font-weight: 700; font-size: 12.5px; letter-spacing: .08em; }
.ptable tbody th { font-family: var(--display); font-weight: 600; font-size: 22px; text-transform: uppercase; white-space: nowrap; width: 120px; }
.ptable tbody th i { font-style: normal; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: 3px; }
.ptable tbody tr:last-child th, .ptable tbody tr:last-child td { border-bottom: none; }
.ptable .price { font-family: var(--display); font-weight: 600; font-size: 28px; }
.ptable .price small { font-family: var(--jp); font-size: 11.5px; font-weight: 700; color: var(--muted); margin-left: 6px; }
.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tscroll .ptable { min-width: 640px; }
.pgroup + .pgroup { margin-top: clamp(56px, 8vw, 100px); }
.pgroup__head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.pgroup__head h3 { font-weight: 700; font-size: clamp(21px, 2.4vw, 28px); }
.pgroup__sub { font-weight: 700; font-size: 17px; margin: 36px 0 14px; display: flex; align-items: center; gap: 10px; letter-spacing: .04em; }
.pgroup__sub:first-child { margin-top: 0; }
.pgroup__sub::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.price-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.price-card { background: #fff; padding: 28px 28px 26px; border: 1px solid var(--line); border-top: 3px solid var(--ink); }
.price-card h5 { font-weight: 700; font-size: 16.5px; margin-bottom: 14px; letter-spacing: .02em; }
.price-card dl { display: grid; grid-template-columns: 90px 1fr; row-gap: 8px; align-items: baseline; font-size: 14px; }
.price-card dt { font-weight: 700; color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.price-card .price { font-family: var(--display); font-weight: 600; font-size: 38px; line-height: 1; }
.price-card .price small { font-family: var(--jp); font-size: 11.5px; font-weight: 700; color: var(--muted); margin-left: 6px; }
.bigprice { display: inline-flex; align-items: baseline; gap: 14px; padding: 24px 34px; background: var(--bg-2); color: var(--ink); border-left: 3px solid var(--accent); }
.bigprice b { font-family: var(--jp); font-weight: 700; font-size: 34px; line-height: 1.2; letter-spacing: .02em; }
.bigprice span { font-weight: 700; color: var(--muted); font-size: 13px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.plan { background: #fff; padding: 26px 26px 24px; border: 1px solid var(--line); border-top: 3px solid var(--ink); }
.plan__name { font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1; text-transform: uppercase; }
.plan__name i { display: none; }
.plan h5 { font-weight: 700; font-size: 16px; margin: 12px 0 10px; letter-spacing: .02em; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: #fff; padding: 26px 26px 24px; border: 1px solid var(--line); }
.section:not(.section--paper):not(.section--paper2) .tile { background: var(--bg-2); border-color: transparent; }
.tile h5 { font-weight: 700; font-size: 15.5px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; letter-spacing: .02em; }
.tile h5::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.tile p { font-size: 13.5px; line-height: 2; color: var(--ink-2); }

/* company */
.ctable { background: #fff; color: var(--ink); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.ctable th, .ctable td { padding: 20px 26px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14.5px; }
.ctable th { width: 170px; font-weight: 700; color: var(--muted); font-size: 12.5px; letter-spacing: .1em; }
.ctable tr:last-child th, .ctable tr:last-child td { border-bottom: none; }
.map { overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.8) contrast(1.05); }
.access { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; margin-top: 44px; }
.access h4 { font-weight: 700; font-size: 17.5px; margin-bottom: 10px; letter-spacing: .02em; }
.access p { font-size: 14.5px; color: var(--ink-2); line-height: 2.1; }
.access ul:not(.access-pills) { margin-top: 8px; }
.access ul:not(.access-pills) li { position: relative; padding-left: 18px; font-size: 14px; color: var(--ink-2); line-height: 2.1; }
.access ul:not(.access-pills) li::before { content: ""; position: absolute; left: 0; top: 1em; width: 8px; height: 1px; background: var(--accent); }
.biz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.biz > .card:first-child { border-left: none; }
.biz .card h3 { font-size: 17.5px; }

/* form */
.form { display: grid; gap: 22px; max-width: 720px; }
.field label { display: block; font-weight: 700; font-size: 13px; letter-spacing: .08em; margin-bottom: 8px; color: var(--ink); }
.field label .req { display: inline-block; margin-left: 10px; padding: 1px 8px; background: var(--accent); color: #fff; font-size: 10.5px; letter-spacing: .1em; vertical-align: 1px; }
.field input, .field textarea { width: 100%; padding: 15px 18px; border-radius: 0; border: 1px solid rgba(14,16,18,.3); background: #fff; color: var(--ink); font-size: 15px; transition: border-color .3s, box-shadow .3s; }
.field input::placeholder, .field textarea::placeholder { color: #a9adb4; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.field textarea { min-height: 200px; resize: vertical; }
.form .btn { justify-self: start; padding: 18px 44px; cursor: pointer; }
.form-wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-side { display: grid; gap: 12px; position: sticky; top: 96px; }
.form-side .tile { background: #fff; border-color: var(--line); }
.form-side .tel { font-family: var(--display); font-weight: 600; font-size: 38px; line-height: 1.1; display: block; margin: 2px 0 6px; color: var(--ink); }
.thanks { text-align: center; padding: 40px 0; }
.thanks .en { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(64px, 10vw, 140px); line-height: .92; margin-top: 14px; }
.thanks .jp { font-weight: 700; font-size: clamp(18px, 2vw, 24px); margin-top: 18px; letter-spacing: .04em; }
.thanks p { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); line-height: 2.1; }
.thanks .btn { margin-top: 30px; }

/* FAQ */
.faq { border-top: 1px solid var(--ink); max-width: 900px; }
.faq--wide { max-width: none; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 36px 1fr 32px; align-items: center; gap: 14px; padding: 24px 0; font-weight: 700; font-size: 16.5px; letter-spacing: .02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .qm { font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 1; color: var(--accent); }
.faq summary .pm { position: relative; width: 30px; height: 30px; border: 1px solid var(--ink); justify-self: end; transition: background .3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s var(--ease), background .3s; }
.faq summary .pm::before { width: 11px; height: 1.5px; } .faq summary .pm::after { width: 1.5px; height: 11px; }
.faq details[open] summary .pm { background: var(--ink); }
.faq details[open] summary .pm::before { background: #fff; }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); background: #fff; }
.faq .a { padding: 0 0 28px 50px; font-size: 14.5px; line-height: 2.1; color: var(--ink-2); max-width: 860px; }
.faq .a a { text-decoration: underline; }

.numline { display: flex; align-items: center; gap: 32px; padding: 26px 32px; background: #fff !important; border: 1px solid var(--line) !important; border-left: 3px solid var(--accent) !important; border-radius: 0 !important; margin: 0 0 64px; }
.numline .big { font-family: var(--display); font-weight: 600; font-size: clamp(56px, 6.4vw, 92px); line-height: .95; color: var(--ink) !important; white-space: nowrap; flex-shrink: 0; }
.numline .big small { font-family: var(--jp); font-size: 15px; font-weight: 700; color: var(--ink) !important; margin-left: 8px; }
.numline p { font-weight: 500; color: var(--ink-2) !important; line-height: 2; }

/* ---------- Reveal: clean cut-in (clip wipe up, no blur) ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.rv.in { opacity: 1; transform: none; }
html.no-js .rv, html.is-static .rv { opacity: 1; transform: none; transition: none; }
html.no-js .hero__en .line > span, html.is-static .hero__en .line > span { transform: none; animation: none; }
html.is-static .hero__frame img, html.is-static .phero__bg img, html.is-static .hero__ruler i, html.is-static .rec { animation: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding-top: 104px; }
  .hero__top { grid-template-columns: 1fr; gap: 24px; }
  .hero__frame { aspect-ratio: 16 / 10; }
  .hud { font-size: 10.5px; } .hud--tl, .hud--bl { left: 14px; } .hud--tr, .hud--br { right: 14px; } .hud--tl, .hud--tr { top: 12px; } .hud--bl, .hud--br { bottom: 12px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 14px 22px; }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sec-head--split { grid-template-columns: 1fr; gap: 18px; }
  .sec-head__desc { justify-self: start; max-width: none; }
  .strip__inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .strip__list { grid-template-columns: 1fr 1fr; }
  .strip__list a:nth-child(n+4) { border-bottom: 1px solid var(--line); }
  .strip__list a:nth-child(n+5) { border-bottom: none; }
  .about { grid-template-columns: 1fr; }
  .grid-3, .steps, .biz { grid-template-columns: 1fr; }
  .grid-3 > .card, .biz > .card, .step { border-left: none; border-top: 1px solid var(--line); }
  .grid-3 > .card:first-child, .biz > .card:first-child, .step:first-child { border-top: none; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .numbers__grid { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .num:nth-child(3) { border-left: none; padding-left: 0; }
  .worry { grid-template-columns: 1fr; }
  .worry__img { position: static; aspect-ratio: 16 / 9; }
  .only { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; background: none; padding-top: 0; border-top: none; }
  .works { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .pcard:nth-child(3) { border-left: none; }
  .pcard:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cteaser { grid-template-columns: 1fr; }
  .plans, .tiles { grid-template-columns: 1fr; }
  .chips { grid-template-columns: 1fr 1fr; }
  .chip:nth-child(3) { border-left: none; }
  .chip:nth-child(n+3) { border-top: 1px solid var(--line); }
  .feature { grid-template-columns: 1fr; }
  .feature--rev .feature__img { order: 0; }
  .qlist { grid-template-columns: 1fr; }
  .access { grid-template-columns: 1fr; gap: 28px; }
  .form-wrap { grid-template-columns: 1fr; }
  .form-side { position: static; }
  .cta__inner { grid-template-columns: 1fr; }
  .ft__grid { grid-template-columns: 1fr 1fr; }
  .ft__grid > :first-child { grid-column: 1 / -1; }
  .phero { padding: 104px 0 52px; }
  .phero__bg { position: relative; top: 0; right: auto; width: auto; margin: 0 var(--gutter) 36px; }
  .phero__inner > * { max-width: none; }
}
@media (max-width: 640px) {
  .strip__list { grid-template-columns: 1fr; }
  .strip__list a, .strip__list a:nth-child(n+4) { border-bottom: 1px solid var(--line); }
  .strip__list a:last-child { border-bottom: none; }
  .grid-2, .price-cards, .svc-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .pcard { border-left: none !important; border-top: 1px solid var(--line); }
  .pcard:first-child { border-top: none; }
  .num { padding: 0 14px; }
  .num__v { font-size: 46px; }
  .stat__num { font-size: 40px; }
  .stat__num small { font-size: 11.5px; margin-left: 4px; }
  .stat__num--txt { font-size: 19px; line-height: 2.1; }
  .hud--bl, .hud--br { display: none; }
  .hero__cta .btn { width: 100%; }
  .cta__btns .btn { min-width: 0; width: 100%; }
  .ft__grid { grid-template-columns: 1fr; }
  .ft__bottom { flex-direction: column; gap: 8px; }
  .numline { flex-direction: column; align-items: flex-start; gap: 12px; }
  .faq summary { grid-template-columns: 30px 1fr 30px; font-size: 15px; }
  .faq .a { padding-left: 0; }
  .ctable th { width: 100px; padding: 14px 12px; }
  .ctable td { padding: 14px 12px; }
  .cteaser__dl > div { grid-template-columns: 1fr; gap: 2px; }
  .checks li { font-size: 14.5px; padding-left: 48px; }
  .bigprice b { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .hero__frame img, .phero__bg img, .hero__ruler i, .rec { animation: none; }
  .hero__en .line > span { transform: none; animation: none; }
  html { scroll-behavior: auto; }
}

/* ==================================================================
 * v5 — original skeleton (no top bar / no giant-EN headings / no box buttons)
 * ================================================================== */
:root { --rail: 76px; }
body { padding-left: var(--rail); }

/* ---------- Slate headings (JP is the hero, EN is a caption) ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.slate { flex-shrink: 0; width: 112px; background: var(--ink); color: #fff; padding: 0 12px 12px; font-family: var(--label); text-transform: uppercase; transform: rotate(-3deg); transform-origin: left bottom; box-shadow: 8px 8px 0 var(--bg-3); }
.section--paper2 .slate { box-shadow: 8px 8px 0 #fff; }
.slate__bars { display: block; height: 18px; margin: 0 -12px 10px; background: repeating-linear-gradient(115deg, #fff 0 12px, var(--ink) 12px 24px); border-bottom: 2px solid var(--ink); outline: 1px solid var(--ink); }
.slate__k { display: block; font-size: 9.5px; letter-spacing: .22em; color: rgba(255,255,255,.6); }
.slate b { display: block; font-family: var(--display); font-weight: 600; font-size: 50px; line-height: 1; margin: 2px 0 6px; }
.slate__t { display: block; font-size: 9.5px; letter-spacing: .1em; line-height: 1.5; border-top: 1px solid rgba(255,255,255,.3); padding-top: 6px; color: rgba(255,255,255,.85); }
.sec-head { display: flex; align-items: flex-start; gap: clamp(24px, 3.4vw, 48px); margin-bottom: 60px; }
.sec-head__main { flex: 1; min-width: 0; padding-top: 2px; }
.sec-head h2 { display: block; }
.sec-head .jp { display: block; font-weight: 700; font-size: clamp(26px, 3.3vw, 46px); line-height: 1.45; letter-spacing: .03em; color: var(--ink); }
.sec-head .en { display: inline-block; margin-top: 14px; font-family: var(--label); font-weight: 500; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sec-head .en::before { content: "// "; color: var(--accent); }
.sec-head__desc { margin-top: 18px; font-size: 14.5px; line-height: 2.1; color: var(--ink-2); max-width: 640px; }
.sec-head__desc a { text-decoration: underline; }
.sec-foot { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.lead { font-size: 15.5px; line-height: 2.1; max-width: 720px; color: var(--ink-2); }
mark, .mark, .mark-dark { background: linear-gradient(transparent 70%, var(--hl) 70%); padding: 0 .04em; color: inherit; }

/* ---------- Buttons: round play button + label (no boxes) ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 0; border: none; background: none; color: var(--ink); font-weight: 700; font-size: 14px; letter-spacing: .08em; white-space: nowrap; cursor: pointer; position: relative; flex-direction: row-reverse; }
.btn .ico { width: 52px; height: 52px; padding: 17px 15px 17px 19px; border-radius: 50%; background: var(--ink); fill: #fff; stroke: none; transition: background .3s, transform .45s var(--ease); flex-shrink: 0; }
.btn:hover .ico { background: var(--accent); transform: scale(1.1); }
.btn--ghost .ico, .btn--outline-ink .ico { background: transparent; fill: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover .ico, .btn--outline-ink:hover .ico { fill: #fff; box-shadow: none; }
.btn:not(:has(.ico)) { flex-direction: row; padding-bottom: 6px; background: linear-gradient(var(--ink), var(--ink)) left bottom / 100% 1.5px no-repeat; transition: background-size .45s var(--ease), color .3s; }
.btn:not(:has(.ico))::after { content: "→"; font-family: var(--label); font-weight: 400; transition: transform .35s var(--ease); }
.btn:not(:has(.ico)):hover { color: var(--accent); background-image: linear-gradient(var(--accent), var(--accent)); }
.btn:not(:has(.ico)):hover::after { transform: translateX(5px); }
.form .btn { justify-self: start; padding: 0; font-size: 15px; }
.form .btn .ico { width: 64px; height: 64px; padding: 21px 18px 21px 24px; }

/* ---------- Left rail navigation (instead of a top bar) ---------- */
.hd { position: fixed; left: 0; top: 0; bottom: 0; z-index: 50; width: var(--rail); background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 0 0 18px; }
.hd__logo { position: relative; display: block; width: var(--rail); height: 168px; flex-shrink: 0; border-bottom: 1px solid var(--line); }
.hd__logo img { position: absolute; left: 50%; top: 50%; width: 118px; max-width: none; height: auto; transform: translate(-50%, -50%) rotate(-90deg); filter: invert(1) brightness(.1); }
.hd__nav { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.hd__nav a { writing-mode: vertical-rl; position: relative; font-weight: 700; font-size: 12.5px; letter-spacing: .24em; color: var(--ink); padding-top: 14px; transition: color .3s; }
.hd__nav a::before { content: ""; position: absolute; left: 50%; top: 0; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--line); transition: background .3s, transform .3s; }
.hd__nav a:hover, .hd__nav a.is-active { color: var(--accent); }
.hd__nav a:hover::before, .hd__nav a.is-active::before { background: var(--accent); transform: scale(1.4); }
.hd__foot { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hd__tc { writing-mode: vertical-rl; display: inline-flex; align-items: center; gap: 8px; font-family: var(--label); font-size: 10.5px; letter-spacing: .12em; color: var(--muted); }
.hd__tc b { font-weight: 400; font-variant-numeric: tabular-nums; }
.rec { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1.6s steps(2, jump-none) infinite; flex-shrink: 0; }
@keyframes blink { 50% { opacity: .2; } }
.hd__sns { display: flex; flex-direction: column; gap: 8px; }
.hd__sns img { width: 22px; height: 22px; border-radius: 50%; filter: grayscale(1) contrast(1.2); opacity: .7; transition: filter .3s, opacity .3s; }
.hd__sns a:hover img { filter: none; opacity: 1; }

.hd__burger { position: fixed; right: 26px; top: 22px; z-index: 60; width: 62px; height: 62px; border-radius: 50%; border: none; background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s, transform .45s var(--ease); }
.hd__burger:hover { background: var(--accent); transform: scale(1.06); }
.hd__burger span, .hd__burger span::before { position: absolute; left: 50%; top: 23px; width: 20px; height: 1.5px; background: #fff; transform: translateX(-50%); transition: transform .35s var(--ease), top .35s; }
.hd__burger span::before { content: ""; top: 6px; left: 0; transform: none; }
.hd__burger span::after { content: none; }
.hd__burger em { position: absolute; left: 0; right: 0; bottom: 13px; font-style: normal; font-family: var(--label); font-size: 8.5px; letter-spacing: .16em; text-align: center; }
.hd__burger.is-open span { top: 26px; transform: translateX(-50%) rotate(45deg); background: #fff; }
.hd__burger.is-open span::before { top: 0; transform: rotate(-90deg); }

.menu { position: fixed; inset: 0; z-index: 55; background: #fff; color: var(--ink); display: flex; flex-direction: column; justify-content: center; padding: 90px clamp(24px, 10vw, 160px) 40px calc(var(--rail) + clamp(24px, 8vw, 120px)); opacity: 0; pointer-events: none; transition: opacity .4s; overflow-y: auto; counter-reset: mn; }
.menu.is-open { opacity: 1; pointer-events: auto; }
.menu a.big { counter-increment: mn; display: flex; align-items: baseline; gap: 22px; font-family: var(--display); font-weight: 600; font-size: clamp(40px, 6.4vw, 84px); line-height: 1.05; text-transform: uppercase; padding: 10px 0; border-bottom: 1px solid var(--line); transition: color .3s, padding-left .45s var(--ease); }
.menu a.big::before { content: "SC.0" counter(mn); font-family: var(--label); font-weight: 400; font-size: 12px; letter-spacing: .12em; color: var(--accent); width: 56px; }
.menu a.big small { font-family: var(--jp); font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--muted); text-transform: none; }
.menu a.big:hover { color: var(--accent); padding-left: 14px; }
.menu__sub { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.menu__sub a { font-size: 12.5px; font-weight: 700; padding: 8px 14px; border: 1px solid var(--line); }
.menu__sub a:hover { background: var(--ink); color: #fff; }

/* floating contact dial (rotating ring) */
.dial { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 104px; height: 104px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 18px 40px -18px rgba(14,16,18,.45); }
.dial__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.dial__ring text { font-family: var(--label); font-size: 9.6px; letter-spacing: .12em; fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.dial__core { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transition: transform .45s var(--ease), background .3s; }
.dial__arrow { width: 16px; height: 16px; fill: #fff; margin-left: 3px; }
.dial:hover .dial__core { transform: scale(1.14); background: var(--ink); }
.dial:hover .dial__ring { animation-duration: 5s; }
.mbar { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--bg); padding: 64px 0 0; overflow: hidden; }
.hero__top { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: end; margin-bottom: clamp(36px, 4.5vw, 56px); padding-right: 84px; }
.hero__tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--label); font-size: 12px; font-weight: 500; letter-spacing: .12em; color: var(--ink); margin-bottom: 22px; }
.hero__en { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(64px, 9.6vw, 156px); line-height: .88; letter-spacing: -.01em; color: var(--ink); }
.hero__en .line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.hero__en .line > span { display: inline-block; transform: translateY(108%); animation: rise 1s var(--ease) forwards; }
.hero__en .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: none; } }
.hero__en em { font-style: normal; }
.hero__en .x { display: inline-block; color: var(--accent); font-weight: 500; margin-left: .12em; }
.hero__en .dot { color: var(--accent); }
.hero__jp { font-weight: 700; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.9; letter-spacing: .03em; margin-bottom: 12px; }
.hero__lead { color: var(--ink-2); font-size: 14px; line-height: 2.05; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; margin-top: 26px; }
.hero__frame { position: relative; aspect-ratio: 2.2 / 1; overflow: hidden; background: #000; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 42%; animation: kb 20s linear both; }
@keyframes kb { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__frame::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 22%, transparent 60%, rgba(0,0,0,.6) 100%); }
.hero__frame::after { content: ""; position: absolute; inset: 7% 5%; z-index: 1; border: 1px solid rgba(255,255,255,.28); pointer-events: none; }
.hud { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; font-family: var(--label); font-size: 12.5px; font-weight: 500; letter-spacing: .1em; color: #fff; text-transform: uppercase; }
.hud--tl { left: 28px; top: 22px; } .hud--tr { right: 28px; top: 22px; }
.hud--tr b { font-weight: 500; font-variant-numeric: tabular-nums; min-width: 8.2em; text-align: right; }
.hero__cross { position: absolute; left: 50%; top: 46%; z-index: 2; width: 34px; height: 34px; margin: -17px 0 0 -17px; pointer-events: none; opacity: .75; }
.hero__cross::before, .hero__cross::after { content: ""; position: absolute; background: #fff; }
.hero__cross::before { left: 50%; top: 0; bottom: 0; width: 1px; } .hero__cross::after { top: 50%; left: 0; right: 0; height: 1px; }
/* lower-third graphics carrying the numbers */
.l3 { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 6px; margin: -104px 0 0 5%; padding-bottom: 34px; }
.l3__i { background: #fff; color: var(--ink); padding: 12px 22px 12px 18px; border-left: 4px solid var(--accent); min-width: 0; }
.l3__i b { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(30px, 2.9vw, 42px); line-height: 1; white-space: nowrap; }
.l3__i b small { font-family: var(--jp); font-size: 12px; font-weight: 700; margin-left: 5px; }
.l3__i b.l3__txt { font-family: var(--jp); font-weight: 700; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.9; }
.l3__i > span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--ink-2); margin-top: 5px; white-space: nowrap; }
.hero__ruler { position: relative; height: 26px; border-bottom: 1px solid var(--ink); background:
  repeating-linear-gradient(90deg, rgba(14,16,18,.5) 0 1px, transparent 1px 12px) left bottom / 100% 7px no-repeat,
  repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 120px) left bottom / 100% 15px no-repeat; }
.hero__ruler i { position: absolute; left: 0; top: 0; bottom: -1px; width: 2px; background: var(--accent); animation: play 14s linear infinite; }
.hero__ruler i::before { content: ""; position: absolute; left: -5px; top: 0; border: 6px solid transparent; border-top-color: var(--accent); }
@keyframes play { from { left: 0; } to { left: 100%; } }
.stats, .hero__scroll, .hero__visual, .hero__note { display: none; }

/* ---------- Film strip (merits) ---------- */
.film { margin-top: clamp(48px, 6vw, 80px); background: var(--ink); padding: 30px 8px; position: relative; }
.film::before, .film::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: repeating-linear-gradient(90deg, transparent 0 12px, #fff 12px 26px, transparent 26px 38px); border-radius: 0; }
.film::before { top: 9px; } .film::after { bottom: 9px; }
.film .merits { margin-top: 0; border: none; background: none; gap: 8px; }
.film .card { border: none; padding: 34px 30px 36px; }
.film .card::before { content: none; }
.film .card__num { font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: .12em; color: var(--accent); }
.film .card__num::before { content: "FRAME "; color: var(--muted); }
.film .card__ico { top: 26px; right: 26px; border: none; background: var(--bg-2); border-radius: 50%; }

/* ---------- Service reel (horizontal, with transport bar) ---------- */
.svc-grid.reel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); cursor: grab; }
.svc-grid.reel::-webkit-scrollbar { display: none; }
.svc-grid.reel .svc { flex: 0 0 min(430px, 82vw); scroll-snap-align: start; }
.svc-grid.reel .svc.rv { opacity: 1; transform: none; }
.svc__arrow { border-radius: 50%; right: 18px; bottom: 18px; width: 46px; height: 46px; }
.svc__arrow svg { fill: #fff; stroke: none; width: 15px; height: 15px; margin-left: 2px; }
.reel__bar { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.reel__btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; cursor: pointer; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.reel__btn svg { width: 15px; height: 15px; fill: var(--ink); transition: fill .3s; }
.reel__btn:hover { background: var(--accent); border-color: var(--accent); }
.reel__btn:hover svg { fill: #fff; }
.reel__track { flex: 1; height: 14px; position: relative; background: repeating-linear-gradient(90deg, rgba(14,16,18,.45) 0 1px, transparent 1px 10px) left bottom / 100% 6px no-repeat; border-bottom: 1px solid var(--ink); }
.reel__track i { position: absolute; left: 0; bottom: -1px; height: 3px; width: 33%; background: var(--accent); transition: left .2s linear; }
.reel__count { font-family: var(--label); font-size: 12px; letter-spacing: .1em; color: var(--muted); min-width: 64px; text-align: right; }
.reel__count b { color: var(--ink); font-weight: 500; }

/* ---------- Flow = clips on a timeline track ---------- */
.flow { position: relative; display: grid; grid-template-columns: 1fr 1.15fr 1.3fr .95fr 1.4fr; gap: 3px; padding: 34px 3px 3px 46px; border-top: none; background:
  repeating-linear-gradient(90deg, rgba(14,16,18,.5) 0 1px, transparent 1px 12px) 46px 0 / 100% 7px no-repeat,
  repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 120px) 46px 0 / 100% 14px no-repeat,
  #fff; border: 1px solid var(--ink); }
.flow::before { content: "V1"; position: absolute; left: 0; top: 34px; bottom: 0; width: 46px; display: grid; place-items: center; font-family: var(--label); font-size: 12px; letter-spacing: .1em; color: #fff; background: var(--ink); }
.flow li { border: none; border-top: none; background: var(--bg-2); padding: 0 0 20px; }
.flow li:first-child { border-top: none; }
.flow__no { display: block; background: var(--ink-2); color: #fff; padding: 5px 14px; font-family: var(--label); font-size: 11px; letter-spacing: .1em; }
.flow li:nth-child(odd) .flow__no { background: var(--ink); }
.flow li:first-child .flow__no { background: var(--accent); }
.flow h4 { padding: 0 16px; margin: 16px 0 8px; }
.flow p { padding: 0 16px; }

/* ---------- FAQ: questions as subtitle captions ---------- */
.faq { border-top: none; }
.faq details { border-bottom: 1px dashed var(--line); }
.faq summary { grid-template-columns: 1fr 40px; gap: 18px; padding: 22px 0; font-size: 16px; }
.faq summary .qm { display: none; }
.faq summary .qt { justify-self: start; display: inline; background: var(--ink); color: #fff; padding: 6px 14px; line-height: 2.1; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background .3s; }
.faq summary:hover .qt, .faq details[open] .qt { background: var(--accent); }
.faq summary .pm { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--ink); }
.faq details[open] summary .pm { background: var(--ink); }
.faq .a { padding: 0 0 28px 14px; border-left: 3px solid var(--accent); margin: 0 0 26px 2px; padding-bottom: 0; }

/* ---------- End card (contact) ---------- */
.endcard { background: var(--bg-2); padding: clamp(72px, 9vw, 120px) 0; }
.endcard__frame { position: relative; text-align: center; padding: clamp(48px, 6vw, 84px) 24px clamp(44px, 5vw, 72px); background:
  linear-gradient(var(--ink), var(--ink)) left top / 44px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) left top / 2px 44px no-repeat,
  linear-gradient(var(--ink), var(--ink)) right top / 44px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) right top / 2px 44px no-repeat,
  linear-gradient(var(--ink), var(--ink)) left bottom / 44px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) left bottom / 2px 44px no-repeat,
  linear-gradient(var(--ink), var(--ink)) right bottom / 44px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) right bottom / 2px 44px no-repeat; }
.endcard__k { display: inline-flex; align-items: center; gap: 10px; font-family: var(--label); font-size: 12px; letter-spacing: .14em; }
.endcard__jp { font-weight: 700; font-size: clamp(24px, 3vw, 42px); line-height: 1.6; letter-spacing: .03em; margin-top: 18px; }
.endcard__msg { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }
.dial--lg { position: relative; right: auto; bottom: auto; z-index: 1; width: 214px; height: 214px; margin: 36px auto 0; display: grid; background: #fff; box-shadow: none; }
.dial--lg .dial__ring text { font-size: 9.2px; }
.dial--lg .dial__core { width: 138px; height: 138px; grid-auto-flow: row; gap: 4px; align-content: center; }
.dial--lg .dial__core em { font-style: normal; color: #fff; font-weight: 700; font-size: 12.5px; line-height: 1.5; letter-spacing: .06em; text-align: center; }
.dial--lg .dial__arrow { width: 22px; height: 22px; margin: 0 auto; }
.endcard__tel { display: inline-flex; align-items: baseline; gap: 12px; margin-top: 30px; font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: .02em; border-bottom: 2px solid var(--ink); padding-bottom: 6px; transition: color .3s, border-color .3s; }
.endcard__tel small { font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: .14em; color: var(--accent); }
.endcard__tel:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Footer = end roll ---------- */
.ft { background: var(--dark); color: rgba(255,255,255,.9); padding: 76px 0 30px; text-align: center; }
.ft__end { font-family: var(--label); font-size: 12px; letter-spacing: .3em; color: rgba(255,255,255,.5); margin-bottom: 44px; }
.credits { max-width: 760px; margin: 0 auto; display: grid; gap: 26px; }
.credits > div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; align-items: start; }
.credits dt { text-align: right; font-family: var(--label); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); padding-top: 4px; }
.credits dd { text-align: left; display: grid; gap: 6px; font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.credits dd a { transition: color .3s; justify-self: start; }
.credits dd a:hover { color: var(--accent); }
.credits dd span { color: rgba(255,255,255,.8); font-size: 13px; line-height: 1.8; }
.ft__logo { display: inline-block; margin-top: 60px; }
.ft__logo img { height: 26px; width: auto; }
.ft__bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-d); display: flex; justify-content: space-between; font-family: var(--label); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* ---------- Sub-page hero: slate + JP title, then a letterbox strip ---------- */
.phero { background: var(--bg); padding: 72px 0 0; }
.phero__head { display: flex; align-items: flex-start; gap: clamp(24px, 3.4vw, 48px); padding-right: 84px; margin-bottom: 44px; }
.phero__jp { font-weight: 700; font-size: clamp(28px, 3.8vw, 54px); line-height: 1.45; letter-spacing: .03em; }
.phero__en { display: inline-block; margin-top: 14px; font-family: var(--label); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.phero__en::before { content: "// "; color: var(--accent); }
.phero .lead { margin-top: 16px; font-size: 14.5px; }
.phero__strip { position: relative; aspect-ratio: 3.4 / 1; overflow: hidden; background: #000; }
.phero__strip img { width: 100%; height: 100%; object-fit: cover; animation: kb 20s linear both; }
.phero__strip::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.4), transparent 40%); }
.phero__strip::after { content: ""; position: absolute; inset: 10% 4%; z-index: 1; border: 1px solid rgba(255,255,255,.28); }
.subnav { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--ink); }
.subnav .shell { display: flex; gap: 0; overflow-x: auto; padding-top: 0; padding-bottom: 0; padding-right: 100px; scrollbar-width: none; }
.subnav .shell::-webkit-scrollbar { display: none; }
.subnav a { flex-shrink: 0; padding: 16px 20px 14px; border: none; border-right: 1px solid var(--line); font-size: 12.5px; font-weight: 700; color: var(--ink-2); transition: all .3s; position: relative; }
.subnav a:first-child { border-left: 1px solid var(--line); }
.subnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.subnav a:hover, .subnav a.is-active { color: var(--ink); background: var(--bg-2); }
.subnav a.is-active::after { transform: scaleX(1); }

html.is-static .dial__ring, html.is-static .rec, html.is-static .hero__ruler i, html.is-static .phero__strip img { animation: none; }

/* ---------- v5 responsive ---------- */
@media (max-width: 1100px) {
  .l3 { grid-template-columns: repeat(2, auto); margin-top: -150px; }
}
@media (max-width: 960px) {
  body { padding-left: 0; padding-top: 60px; padding-bottom: 54px; }
  .hd { right: 0; bottom: auto; width: auto; height: 60px; flex-direction: row; padding: 0 var(--gutter); border-right: none; border-bottom: 1px solid var(--line); }
  .hd__logo { width: auto; height: auto; border: none; }
  .hd__logo img { position: static; width: 124px; transform: none; }
  .hd__nav, .hd__foot { display: none; }
  .hd__burger { right: 14px; top: 8px; width: 44px; height: 44px; }
  .hd__burger span { top: 16px; width: 16px; } .hd__burger span::before { width: 16px; top: 5px; }
  .hd__burger em { display: none; }
  .hd__burger.is-open span { top: 21px; }
  .menu { padding: 80px var(--gutter) 80px; }
  .dial:not(.dial--lg) { display: none; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1.4fr 1fr; height: 54px; }
  .mbar a { display: grid; place-items: center; font-weight: 700; font-size: 13.5px; letter-spacing: .08em; color: #fff; background: var(--ink); }
  .mbar a:first-child { background: var(--accent); }
  .hero { padding-top: 36px; }
  .hero__top { grid-template-columns: 1fr; gap: 22px; padding-right: 0; }
  .hero__frame { aspect-ratio: 16 / 10; }
  .hud { font-size: 10.5px; } .hud--tl { left: 14px; top: 12px; } .hud--tr { right: 14px; top: 12px; }
  .l3 { grid-template-columns: 1fr 1fr; justify-content: stretch; margin: 6px 0 0; padding-bottom: 22px; }
  .l3__i { background: var(--bg-2); }
  .l3__i > span { white-space: normal; }
  .sec-head { gap: 20px; margin-bottom: 40px; }
  .slate { width: 84px; padding: 0 9px 9px; box-shadow: 5px 5px 0 var(--bg-3); }
  .slate__bars { height: 13px; margin: 0 -9px 7px; }
  .slate b { font-size: 36px; }
  .slate__t { font-size: 8px; }
  .film { padding: 28px 6px; }
  .film .merits { grid-template-columns: 1fr; }
  .film .card { border-top: none !important; }
  .flow { grid-template-columns: 1fr; padding: 3px 3px 3px 34px; background: #fff; }
  .flow::before { top: 0; width: 34px; }
  .credits > div { gap: 0 18px; }
  .phero { padding-top: 36px; }
  .phero__head { padding-right: 0; margin-bottom: 30px; }
  .phero__strip { aspect-ratio: 2.2 / 1; }
  .subnav { top: 60px; }
  .subnav .shell { padding-right: var(--gutter); }
}
@media (max-width: 640px) {
  .sec-head { flex-direction: column; gap: 22px; }
  .phero__head { flex-direction: column; gap: 22px; }
  .hero__cta { gap: 20px 28px; }
  .hero__cta .btn, .cta__btns .btn { width: auto; }
  .credits > div { grid-template-columns: 1fr; gap: 6px; }
  .credits dt, .credits dd { text-align: center; }
  .credits dd a, .credits dd span { justify-self: center; }
  .dial--lg { width: 190px; height: 190px; }
  .dial--lg .dial__core { width: 120px; height: 120px; }
  .faq .a { padding-left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .dial__ring, .rec, .hero__ruler i, .hero__frame img, .phero__strip img { animation: none; }
}

/* ==================================================================
 * v6 — clarity first: readable left sidebar, all services visible, calmer headings
 * ================================================================== */
:root { --rail: 236px; }
.hd { width: var(--rail); align-items: stretch; justify-content: flex-start; padding: 0; overflow-y: auto; scrollbar-width: none; }
.hd::-webkit-scrollbar { display: none; }
.hd__logo { width: auto; height: auto; border-bottom: 1px solid var(--line); padding: 30px 26px 24px; }
.hd__logo img { position: static; width: 150px; transform: none; }
.hd__logo span { display: block; margin-top: 10px; font-family: var(--label); font-size: 10.5px; letter-spacing: .16em; color: var(--muted); }
.hd__nav { align-items: stretch; gap: 0; padding: 14px 0; flex: 1; }
.hd__nav > a { writing-mode: horizontal-tb; display: flex; align-items: baseline; gap: 12px; padding: 12px 26px; font-size: 14.5px; letter-spacing: .06em; border-left: 3px solid transparent; transition: background .25s, border-color .25s, color .25s; }
.hd__nav > a::before { content: none; }
.hd__nav > a b { font-family: var(--label); font-weight: 500; font-size: 11px; letter-spacing: .08em; color: var(--muted); width: 18px; }
.hd__nav > a small { margin-left: auto; font-family: var(--label); font-weight: 400; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hd__nav > a:hover, .hd__nav > a.is-active { color: var(--ink); background: var(--bg-2); border-left-color: var(--accent); }
.hd__nav > a.is-active b { color: var(--accent); }
.hd__sub { display: grid; gap: 0; padding: 2px 0 8px 59px; }
.hd__sub a { writing-mode: horizontal-tb; font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--ink-2); padding: 4px 0; position: relative; }
.hd__sub a::before { content: ""; position: absolute; left: -14px; top: 50%; width: 7px; height: 1px; background: var(--line); transform: none; margin: 0; border-radius: 0; }
.hd__sub a:hover { color: var(--accent); }
.hd__foot { align-items: stretch; gap: 0; padding: 0; border-top: 1px solid var(--line); }
.hd__tel { display: block; padding: 16px 26px 12px; font-family: var(--display); font-weight: 600; font-size: 27px; line-height: 1; letter-spacing: .02em; }
.hd__tel small { display: block; font-family: var(--label); font-weight: 500; font-size: 10px; letter-spacing: .16em; color: var(--accent); margin-bottom: 6px; }
.hd__cta { display: flex; align-items: center; justify-content: space-between; margin: 0 16px; padding: 15px 18px; background: var(--ink); color: #fff; font-weight: 700; font-size: 13.5px; letter-spacing: .08em; transition: background .3s; }
.hd__cta svg { width: 14px; height: 14px; fill: #fff; }
.hd__cta:hover { background: var(--accent); }
.hd__meta { display: flex; align-items: center; justify-content: space-between; padding: 14px 26px 18px; }
.hd__tc { writing-mode: horizontal-tb; }
.hd__sns { flex-direction: row; }
.hd__burger { display: none; }
.dial:not(.dial--lg) { display: none; }
.hero__top, .phero__head { padding-right: 0; }
.subnav .shell { padding-right: var(--gutter); }
.menu { padding-left: clamp(24px, 8vw, 120px); }

/* calmer slate (no tilt) and tighter heading block */
.slate { transform: none; box-shadow: none; width: 96px; }
.slate b { font-size: 44px; }
.sec-head { margin-bottom: 52px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.sec-head .jp { font-size: clamp(24px, 2.7vw, 38px); }
.sec-head__desc { font-size: 15px; max-width: 680px; }

/* service grid: everything visible at once */
.svc-grid { grid-template-columns: repeat(3, 1fr); }
.svc__body { padding-bottom: 76px; }
.svc h3 { font-size: 18.5px; }
.svc p { font-size: 14px; }

/* hero sizing with the wider sidebar */
.hero { padding-top: 56px; }
.hero__en { font-size: clamp(56px, 8.2vw, 136px); }
.l3__i b { font-size: clamp(26px, 2.4vw, 38px); }

@media (max-width: 1280px) {
  :root { --rail: 208px; }
  .hd__logo { padding: 26px 20px 20px; } .hd__logo img { width: 132px; }
  .hd__nav > a { padding: 11px 20px; font-size: 14px; }
  .hd__sub { padding-left: 53px; }
  .hd__tel { padding: 14px 20px 10px; font-size: 24px; }
  .hd__cta { margin: 0 12px; }
  .hd__meta { padding: 12px 20px 16px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .l3 { grid-template-columns: repeat(2, auto); margin-top: -150px; }
}
@media (max-width: 960px) {
  .hd { width: auto; height: 60px; flex-direction: row; align-items: center; justify-content: space-between; padding: 0 var(--gutter); overflow: visible; }
  .hd__logo { padding: 0; border: none; }
  .hd__logo img { width: 124px; }
  .hd__logo span { display: none; }
  .hd__burger { display: grid; }
  .menu { padding: 80px var(--gutter) 80px; }
  .slate { width: 78px; } .slate b { font-size: 34px; }
  .l3 { grid-template-columns: 1fr 1fr; margin-top: 6px; }
  .sec-head { margin-bottom: 36px; padding-bottom: 22px; }
}
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* ==================================================================
 * v7 — navigation moved to a top header (.tb); top page becomes a gateway
 * ================================================================== */
:root { --rail: 0px; --tbh: 102px; }
body { padding-left: 0; padding-top: var(--tbh); }
.tb { position: fixed; left: 0; right: 0; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--ink); transition: transform .45s var(--ease); }
.tb.is-scrolled { transform: translateY(-34px); }
.tb__util { height: 34px; display: flex; align-items: center; gap: 22px; padding: 0 0 0 var(--gutter); background: var(--bg-2); border-bottom: 1px solid var(--line); font-family: var(--label); font-size: 11px; letter-spacing: .12em; color: var(--ink-2); }
.tb__tc { display: inline-flex; align-items: center; gap: 8px; }
.tb__tc b { font-weight: 400; font-variant-numeric: tabular-nums; }
.tb__tag { margin-right: auto; }
.tb__tel { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: .04em; color: var(--ink); }
.tb__tel small { font-family: var(--label); font-weight: 500; font-size: 10px; letter-spacing: .16em; color: var(--accent); }
.tb__sns { display: flex; gap: 8px; padding-right: var(--gutter); }
.tb__sns img { width: 20px; height: 20px; border-radius: 50%; filter: grayscale(1) contrast(1.2); opacity: .7; transition: filter .3s, opacity .3s; }
.tb__sns a:hover img { filter: none; opacity: 1; }
.tb__main { height: 68px; display: flex; align-items: stretch; padding-left: var(--gutter); }
.tb__logo { display: flex; align-items: center; margin-right: auto; }
.tb__logo img { height: 24px; width: auto; filter: invert(1) brightness(.1); }
.tb__nav { display: flex; align-items: stretch; }
.tb__item { position: relative; display: flex; }
.tb__link { position: relative; display: flex; align-items: center; gap: 9px; padding: 0 20px; font-weight: 700; font-size: 14px; letter-spacing: .06em; color: var(--ink); white-space: nowrap; transition: background .25s; }
.tb__link b { font-family: var(--label); font-weight: 500; font-size: 10.5px; letter-spacing: .08em; color: var(--muted); transition: color .25s; }
.tb__link::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: -1px; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.tb__link:hover, .tb__item:hover > .tb__link { background: var(--bg-2); }
.tb__link:hover b, .tb__link.is-active b { color: var(--accent); }
.tb__link.is-active::after, .tb__link:hover::after, .tb__item:hover > .tb__link::after { transform: scaleX(1); }
.tb__caret { width: 6px; height: 6px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.tb__sub { position: absolute; left: 0; top: 100%; min-width: 300px; background: #fff; border: 1px solid var(--ink); border-top: none; padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .35s var(--ease), visibility .25s; box-shadow: 0 24px 40px -24px rgba(14,16,18,.4); }
.tb__item:hover .tb__sub, .tb__item:focus-within .tb__sub { opacity: 1; visibility: visible; transform: none; }
.tb__sub a { display: flex; align-items: baseline; gap: 14px; padding: 10px 22px; font-size: 13.5px; font-weight: 700; letter-spacing: .03em; transition: background .2s, color .2s, padding-left .35s var(--ease); }
.tb__sub a b { font-family: var(--label); font-weight: 500; font-size: 10.5px; letter-spacing: .08em; color: var(--muted); }
.tb__sub a:hover { background: var(--bg-2); color: var(--accent); padding-left: 28px; }
.tb__cta { display: flex; align-items: center; gap: 14px; padding: 0 30px; margin-left: 10px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .1em; transition: background .3s; }
.tb__cta svg { width: 13px; height: 13px; fill: #fff; transition: transform .35s var(--ease); }
.tb__cta:hover { background: var(--accent); }
.tb__cta:hover svg { transform: translateX(4px); }
.hd__burger { display: none; }
.hero { padding-top: 48px; }
.phero { padding-top: 56px; }
.subnav { top: 68px; }
html { scroll-padding-top: 130px; }

/* guide panels on the top page */
.guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide__i { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); padding-bottom: 26px; transition: border-color .3s; }
.guide__i:hover { border-color: var(--ink); }
.guide__ph { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; margin-bottom: 22px; }
.guide__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .5s; }
.guide__i:hover .guide__ph img { transform: scale(1.05); opacity: .85; }
.guide__en { padding: 0 26px; font-family: var(--label); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.guide__i b { padding: 4px 26px 0; font-weight: 700; font-size: 22px; letter-spacing: .04em; }
.guide__tx { padding: 10px 84px 0 26px; font-size: 13.5px; line-height: 1.95; color: var(--ink-2); }
.guide__go { position: absolute; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; transition: background .3s, transform .45s var(--ease); }
.guide__go svg { width: 14px; height: 14px; fill: #fff; margin-left: 2px; }
.guide__i:hover .guide__go { background: var(--accent); transform: scale(1.1); }

@media (max-width: 1180px) {
  .tb__link { padding: 0 13px; font-size: 13px; }
  .tb__link::after { left: 13px; right: 13px; }
  .tb__cta { padding: 0 20px; }
  .tb__tag { visibility: hidden; }
}
@media (max-width: 960px) {
  :root { --tbh: 60px; }
  body { padding-top: 60px; }
  .tb.is-scrolled { transform: none; }
  .tb__util, .tb__nav, .tb__cta { display: none; }
  .tb__main { height: 60px; }
  .tb__logo img { height: 22px; }
  .hd__burger { display: grid; }
  .subnav { top: 60px; }
  .guide { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; } .phero { padding-top: 32px; }
  html { scroll-padding-top: 80px; }
}

/* v7.1: numbers band removed; end card sits on the darker gray so it never touches a same-colored section */
.endcard { background: var(--bg-3); }
.endcard .dial--lg { background: #fff; }

/* v7.2: '+5,937' item removed everywhere; band and lower-third now carry 3 items */
.numbers__grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .numbers__grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1280px) { .l3 { grid-template-columns: repeat(3, auto); margin-top: -104px; } }
@media (max-width: 960px) { .l3 { grid-template-columns: 1fr 1fr; margin-top: 6px; } .l3__i:last-child { grid-column: 1 / -1; } }

/* ==================================================================
 * v8 — palette only: charcoal × lime accent (layout untouched).
 * Dark surfaces are limited to header / hero / end card / footer; reading sections stay light.
 * Lime is used as a FILL (buttons, band, markers). On light backgrounds small accent TEXT uses --accent-t.
 * ================================================================== */
:root {
  --ink: #15171c; --dark: #15171c; --ink-2: #454952; --muted: #858a93;
  --bg-2: #f3f4ef; --bg-3: #e6e8df; --paper: #f3f4ef; --paper-2: #e6e8df;
  --accent: #d6ff3b; --accent-d: #c2ec22; --lime: #d6ff3b; --accent-t: #55700a;
  --hl: rgba(214, 255, 59, .75);
  --line: rgba(21, 23, 28, .15);
}
::selection { background: var(--accent); color: var(--ink); }
.rec { background: #ff4b3e; }

/* accent as text / tiny marks on light backgrounds */
.checks li::before, .sec-head .en::before, .phero__en::before, .work__no, .feature__num, .film .card__num,
.guide__en, .q::before, .menu a.big::before, .tb__sub a:hover { color: var(--accent-t); }
.menu a.big:hover, .btn:not(:has(.ico)):hover { color: var(--accent-t); }
.btn:not(:has(.ico)):hover { background-image: linear-gradient(var(--accent-t), var(--accent-t)); }
.kicker::before, .tile h5::before, .pgroup__sub::before, .ptable tbody th i { background: var(--accent-t); }
.dots li::before, .access ul:not(.access-pills) li::before { background: var(--accent-t); }
.faq .a { border-left-color: var(--accent); }

/* accent as fill → dark content on top */
.btn:hover .ico { background: var(--accent); fill: var(--ink); }
.btn--ghost:hover .ico, .btn--outline-ink:hover .ico { fill: var(--ink); }
.svc:hover .svc__arrow { background: var(--accent); color: var(--ink); }
.svc:hover .svc__arrow svg { fill: var(--ink); }
.guide__i:hover .guide__go { background: var(--accent); }
.guide__i:hover .guide__go svg { fill: var(--ink); }
.field label .req { background: var(--accent); color: var(--ink); }
.flow li:first-child .flow__no { background: var(--accent); color: var(--ink); }
.faq summary:hover .qt, .faq details[open] .qt { background: var(--accent); color: var(--ink); }
.mbar a:first-child { background: var(--accent); color: var(--ink); }
.chip:hover { background: var(--ink); color: var(--accent); }
.subnav a.is-active { background: var(--ink); color: #fff; }
.slate b { color: var(--accent); }
.price-card, .plan { border-top-color: var(--ink); }
.bigprice { border-left-color: var(--accent); background: var(--ink); color: #fff; }
.bigprice b { color: var(--accent); }
.bigprice span { color: rgba(255,255,255,.6); }
.ptable .price, .price-card .price { color: var(--ink); }

/* header: charcoal */
.tb { background: var(--ink); border-bottom-color: rgba(255,255,255,.14); }
.tb__util { background: #0e1013; border-bottom-color: rgba(255,255,255,.1); color: rgba(255,255,255,.6); }
.tb__tel { color: #fff; } .tb__tel small { color: var(--accent); }
.tb__sns img { filter: grayscale(1) brightness(1.6); }
.tb__logo img { filter: none; }
.tb__link { color: #fff; }
.tb__link b { color: rgba(255,255,255,.45); }
.tb__link:hover, .tb__item:hover > .tb__link { background: rgba(255,255,255,.07); }
.tb__link:hover b, .tb__link.is-active b { color: var(--accent); }
.tb__caret { border-color: #fff; }
.tb__sub { background: var(--ink); border-color: rgba(255,255,255,.18); }
.tb__sub a { color: #fff; } .tb__sub a b { color: rgba(255,255,255,.45); }
.tb__sub a:hover { background: rgba(255,255,255,.07); color: var(--accent); }
.tb__cta { background: var(--accent); color: var(--ink); }
.tb__cta svg { fill: var(--ink); }
.tb__cta:hover { background: #fff; color: var(--ink); }
.hd__burger { background: var(--accent); }
.hd__burger span, .hd__burger span::before { background: var(--ink); }
.hd__burger em { color: var(--ink); }
.hd__burger:hover { background: #fff; }
.hd__burger.is-open span { background: var(--ink); }

/* hero: charcoal with lime word, like the first concept */
.hero { background: var(--ink); color: #fff; padding-bottom: 8px; }
.hero__tag { color: rgba(255,255,255,.8); }
.hero__en { color: #fff; }
.hero__en em { color: var(--accent); }
.hero__en .x { color: rgba(255,255,255,.45); }
.hero__en .dot { color: var(--accent); }
.hero__jp { color: #fff; }
.hero__lead { color: rgba(255,255,255,.72); }
.hero .btn { color: #fff; }
.hero .btn .ico { background: var(--accent); fill: var(--ink); }
.hero .btn:hover .ico { background: #fff; }
.hero .btn:not(:has(.ico)) { background-image: linear-gradient(#fff, #fff); }
.hero .btn:not(:has(.ico)):hover { color: var(--accent); background-image: linear-gradient(var(--accent), var(--accent)); }
.hero__frame { outline: 1px solid rgba(255,255,255,.14); }
.l3__i { border-left-color: var(--accent); }
.hero__ruler { border-bottom-color: rgba(255,255,255,.5); background:
  repeating-linear-gradient(90deg, rgba(255,255,255,.4) 0 1px, transparent 1px 12px) left bottom / 100% 7px no-repeat,
  repeating-linear-gradient(90deg, rgba(255,255,255,.85) 0 1px, transparent 1px 120px) left bottom / 100% 15px no-repeat; }
.hero__ruler i { background: var(--accent); }
.hero__ruler i::before { border-top-color: var(--accent); }

/* numbers band: lime */
.numbers { background: var(--accent); color: var(--ink); border: none; }
.num { border-left-color: rgba(21,23,28,.22); }
.num__l { color: rgba(21,23,28,.75); }
.num__l::before { background: var(--ink); }

/* end card: charcoal */
.endcard { background: var(--ink); color: #fff; }
.endcard__frame { background:
  linear-gradient(#fff, #fff) left top / 44px 2px no-repeat, linear-gradient(#fff, #fff) left top / 2px 44px no-repeat,
  linear-gradient(#fff, #fff) right top / 44px 2px no-repeat, linear-gradient(#fff, #fff) right top / 2px 44px no-repeat,
  linear-gradient(#fff, #fff) left bottom / 44px 2px no-repeat, linear-gradient(#fff, #fff) left bottom / 2px 44px no-repeat,
  linear-gradient(#fff, #fff) right bottom / 44px 2px no-repeat, linear-gradient(#fff, #fff) right bottom / 2px 44px no-repeat; }
.endcard__msg { color: rgba(255,255,255,.7); }
.endcard .dial--lg { background: transparent; }
.endcard .dial__ring text { fill: #fff; }
.dial__core { background: var(--accent); }
.dial__arrow { fill: var(--ink); }
.dial--lg .dial__core em { color: var(--ink); }
.dial:hover .dial__core { background: #fff; }
.endcard__tel { color: #fff; border-bottom-color: rgba(255,255,255,.6); }
.endcard__tel small { color: var(--accent); }
.endcard__tel:hover { color: var(--accent); border-color: var(--accent); }

/* footer */
.ft { background: #0e1013; }
.credits dd a:hover { color: var(--accent); }

@media (max-width: 960px) {
  .tb { border-bottom-color: rgba(255,255,255,.14); }
  .l3__i { background: rgba(255,255,255,.07); color: #fff; }
  .l3__i > span { color: rgba(255,255,255,.65); }
  .l3__i b small { color: #fff; }
  .menu { background: var(--ink); color: #fff; }
  .menu a.big { border-bottom-color: rgba(255,255,255,.14); }
  .menu a.big::before, .menu a.big:hover { color: var(--accent); }
  .menu__sub a { border-color: rgba(255,255,255,.2); }
  .menu__sub a:hover { background: var(--accent); color: var(--ink); }
}

/* v8.1: no animated scrolling — anchor links (same page or across pages) land on the target instantly */
html { scroll-behavior: auto !important; }

/* v8.2: stronger alternation — white ↔ clearly visible gray (small fills inside white sections keep the pale tone) */
:root { --bg-2: #d8dbd5; --bg-3: #c6cac3; --paper: #d8dbd5; --paper-2: #c6cac3; --fill: #eef0ea; }
.tags li, .access-pills li, .q, .section:not(.section--paper):not(.section--paper2) .tile, .card__ico, .film .card__ico, .flow li { background: var(--fill); }
.section--paper .q, .section--paper2 .q, .section--paper .access-pills li { background: #fff; }
.tb__link:hover, .subnav a:hover { background-color: rgba(255,255,255,.07); }
.subnav a:hover { background: var(--fill); }
.section--paper .sec-head, .section--paper2 .sec-head { border-bottom-color: rgba(21,23,28,.22); }
.section--paper .sec-head__desc, .section--paper2 .sec-head__desc, .section--paper .lead { color: #33373f; }
.section--paper .slate, .section--paper2 .slate { box-shadow: none; }
.section--paper, .section--paper2 { --muted: #5c616a; --accent-t: #475e05; }
.section--paper .card, .section--paper .svc, .section--paper .guide__i, .section--paper .tile, .section--paper .plan, .section--paper .price-card, .section--paper2 .tile { --muted: #858a93; }

/* ==================================================================
 * v8.3 — typography hygiene + horizontal footer
 * ・日本語の改行: 文節で折り返し（auto-phrase）＋見出しは行の長さを揃える（balance）＋本文は末尾の孤立を避ける（pretty）
 * ================================================================== */
h1, h2, h3, h4, h5, .hero__jp, .sec-head .jp, .phero__jp, .about__lead, .endcard__jp, .only__txt h3, .guide__i b, .faq summary .qt, .checks li, .q, .chip, .thanks .jp {
  word-break: auto-phrase; text-wrap: balance; line-break: strict;
}
p, li, dd, dt, .guide__tx, .num__l, .l3__i > span, .stat__note, .ft__addr, .credits dd span {
  word-break: auto-phrase; text-wrap: pretty; line-break: strict;
}
.btn, .tb__link, .tb__sub a, .tags li, .access-pills li, .media li, .subnav a, .svc__top, .kicker, .slate__t { white-space: nowrap; }
.slate__t { white-space: normal; word-break: normal; }

/* footer: horizontal columns instead of one long vertical roll */
.ft { text-align: left; padding: 72px 0 28px; }
.ft .shell { display: flex; flex-direction: column; }
.ft__end { display: none; }
.ft__logo { order: -2; margin: 0 0 40px; align-self: flex-start; }
.ft__logo img { height: 28px; }
.credits { order: -1; max-width: none; margin: 0; display: grid; grid-template-columns: 1.7fr 1.35fr 1.35fr 1fr 1.1fr .8fr; gap: 36px 32px; align-items: start; }
.credits > div { display: block; }
.credits > div:last-child { order: -1; }
.credits dt { text-align: left; padding: 0 0 12px; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.16); color: var(--accent); }
.credits dd { gap: 9px; font-size: 13.5px; }
.credits dd a, .credits dd span { justify-self: start; }
.credits dd span { font-size: 12.5px; }
.ft__bottom { margin-top: 56px; }
@media (max-width: 1100px) {
  .credits { grid-template-columns: repeat(3, 1fr); }
  .credits > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .credits { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .credits > div { grid-template-columns: none; }
  .credits dt, .credits dd { text-align: left; }
  .credits dd a, .credits dd span { justify-self: start; }
}

/* v8.3b: fixes found by the orphan audit */
.ptable .price, .price-card .price, .ptable thead th, .ptable tbody th { white-space: nowrap; }
.tscroll .ptable { min-width: 760px; }
.credits { grid-template-columns: 1.6fr 1.55fr 1.2fr 1fr 1.15fr .8fr; gap: 36px 28px; }
.credits dd a { white-space: nowrap; }
.credits dd span { white-space: normal; }
@media (max-width: 1100px) { .credits { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .credits { grid-template-columns: 1fr 1fr; } .credits dd a { white-space: normal; } }
.access ul:not(.access-pills) li { text-wrap: balance; }

/* v8.4: first content section is white, the next one gray (a little darker), alternating */
:root { --bg-2: #cdd1ca; --paper: #cdd1ca; --bg-3: #bcc1b9; --paper-2: #bcc1b9; }
.section--paper .access p, .section--paper .access ul:not(.access-pills) li, .section--paper .feature p, .section--paper .only__txt p, .section--paper .sec-head__desc { color: #2f333a; }
.section--paper .map { border-color: rgba(21,23,28,.3); }
.numbers { border-top: 1px solid rgba(21,23,28,.12); }

/* v8.5: body copy keeps even line lengths (normal breaking) and only avoids a stranded last line; phrase-aware breaking stays on headings / short labels */
p, li, dd, .guide__tx, .ft__addr { word-break: normal; text-wrap: pretty; }
.checks li, .hero__lead + *, .num__l, .l3__i > span, .credits dd span, .sec-head__desc, .hero__lead, .lead, .endcard__msg { word-break: auto-phrase; }
.sec-head__desc, .hero__lead, .lead { text-wrap: pretty; }

/* v8.6: header logo as large as the bar allows */
.tb__logo img { height: 40px; }
@media (max-width: 1180px) { .tb__logo img { height: 34px; } }
@media (max-width: 960px) { .tb__logo img { height: 32px; } }
.dots li, .flow p, .tile p, .plan .dots li { word-break: auto-phrase; text-wrap: balance; }
.tile p, .flow p { text-wrap: pretty; }
.tb__logo img, .ft__logo img { filter: brightness(1.35) contrast(1.1); }

/* v8.7: SNS icons and the map keep their real colors */
.tb__sns img, .ft__sns img, .hd__sns img { filter: none; opacity: 1; }
.tb__sns a:hover img, .ft__sns a:hover img { opacity: .8; }
.map iframe { filter: none; }

