/* =========================================================
   TEN International — renewal prototype
   Tone: refined / reassuring / professional
   One accent colour (TEN crimson) + ink + paper. No blue as a main colour.
   Rules: DESIGN_RULES (no text effects, no shadows, no decorative borders /
   colour bars / gradients, one accent, left-aligned long text).
   ========================================================= */
:root {
  --crimson: #C8102E;
  --crimson-deep: #A30D25;
  --crimson-tint: #F9ECEE;
  --on-crimson-2: #FBE3E6;
  --crimson-ink: #8E0A1F;
  --ink: #16181D;
  --ink-2: #3A3E46;
  --ink-3: #6E727A;
  --paper: #F5F3EF;
  --paper-2: #ECE8E1;
  --stone: #E2DDD3;
  --line: #DDD8CF;
  --line-strong: #C4BEB3;
  --on-ink: #F5F3EF;
  --on-ink-2: #C9C5BD;
  --ff-en: 'Cormorant Garamond', 'Times New Roman', serif;
  --ff-serif: 'Noto Serif JP', 'Yu Mincho', serif;
  --ff-sans: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Sans', sans-serif;
  --fs-display: 96px;
  --fs-h2: 48px;
  --fs-h3: 34px;
  --fs-h4: 23px;
  --fs-lead: 18px;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-caption: 12px;
  --wrap: 1200px;
  --gut: 40px;
  --sec: 140px;
  --r: 6px;
}
@media (max-width: 768px) {
  :root { --fs-display: 44px; --fs-h2: 28px; --fs-h3: 22px; --fs-h4: 19px; --fs-lead: 16px; --gut: 20px; --sec: 84px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; font-variant-numeric: lining-nums; }
body {
  margin: 0; background: #fff; color: var(--ink-2);
  font-family: var(--ff-sans); font-weight: 500; font-size: var(--fs-body);
  line-height: 2; letter-spacing: .05em;
  font-feature-settings: 'palt' 0;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.5; letter-spacing: .06em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.wrap--wide { max-width: calc(1360px + var(--gut) * 2); }
.sp-only { display: none; }
@media (max-width: 768px) { .sp-only { display: inline; } .pc-only { display: none; } }
.jp { word-break: auto-phrase; }
.en { font-family: var(--ff-en); font-variant-numeric: lining-nums; letter-spacing: .02em; }
.note { font-size: var(--fs-caption); color: var(--ink-3); letter-spacing: .04em; line-height: 1.8; }
.kari { display: inline-block; font-size: var(--fs-caption); font-weight: 700; color: var(--crimson); letter-spacing: .08em; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- icons ---------- */
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.arrowc { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--crimson); color: #fff; display: inline-grid; place-items: center; transition: transform .25s ease, background .25s ease; }
.arrowc .ic { width: 16px; height: 16px; stroke-width: 2; }
.arrowc--sm { width: 28px; height: 28px; }
.arrowc--sm .ic { width: 13px; height: 13px; }
.arrowc--white { background: #fff; color: var(--crimson); }
.arrowc--line { background: transparent; color: var(--crimson); box-shadow: inset 0 0 0 1.5px var(--crimson); }
a:hover .arrowc, button:hover .arrowc { transform: translateX(4px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 60px; padding: 10px 12px 10px 28px; border-radius: var(--r);
  background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .08em; line-height: 1.5;
  transition: background .25s ease;
}
.btn:hover { background: #2A2D35; }
.btn--crimson { background: var(--crimson); }
.btn--crimson:hover { background: var(--crimson-deep); }
.btn--crimson .arrowc { background: #fff; color: var(--crimson); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--paper); }
.btn--wide { min-width: 300px; }
.btns { display: flex; flex-wrap: wrap; gap: 16px; }
.linkchip { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); letter-spacing: .06em; }
.linkchip:hover { color: var(--crimson); }
.on-dark .linkchip { color: #fff; }

/* ---------- section heads ---------- */
.sec { padding: var(--sec) 0; position: relative; }
.sec--paper { background: var(--paper); }
.sec--paper2 { background: var(--paper-2); }
.sec--ink { background: var(--ink); color: var(--on-ink-2); }
.sec--crimson { background: var(--crimson); color: #fff; }
.sec--tight { padding: calc(var(--sec) * .6) 0; }
.shead { margin-bottom: 56px; }
.shead__lb { display: block; font-size: var(--fs-small); font-weight: 700; color: var(--crimson); letter-spacing: .16em; line-height: 1.6; }
.shead__en { display: block; font-family: var(--ff-en); font-weight: 600; font-size: var(--fs-display); line-height: 1; color: var(--crimson); letter-spacing: .01em; margin-top: 10px; font-variant-numeric: lining-nums; }
.shead__ttl { font-family: var(--ff-serif); font-size: var(--fs-h2); line-height: 1.5; margin-top: 28px; letter-spacing: .08em; word-break: auto-phrase; }
.shead__lead { margin-top: 24px; font-size: var(--fs-lead); line-height: 2.2; letter-spacing: .08em; max-width: 760px; }
.sec--ink .shead__en, .sec--ink .shead__ttl { color: var(--on-ink); }
.sec--ink .shead__lb { color: #F2A3AF; }
.sec--crimson .shead__lb, .sec--crimson .shead__en, .sec--crimson .shead__ttl { color: #fff; }
.sec--crimson .shead__lead { color: #fff; }
.shead--row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
@media (max-width: 768px) {
  .shead { margin-bottom: 36px; }
  .shead--row { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 24px; }
}

/* ---------- header ---------- */
.hdr {
  position: fixed; z-index: 100; top: 16px; left: 24px; right: 24px; height: 68px;
  display: flex; align-items: center; gap: 24px; padding: 0 10px 0 24px;
  background: #fff; border-radius: var(--r);
}
.hdr__logo { display: flex; align-items: center; gap: 14px; flex: none; color: var(--crimson); }
.hdr__logo svg { height: 40px; width: auto; }
.hdr__logo small { font-size: 11px; line-height: 1.5; color: var(--ink-3); letter-spacing: .06em; font-weight: 500; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; align-items: center; gap: 30px; }
.gnav a { position: relative; display: block; padding: 8px 0; font-size: var(--fs-small); font-weight: 700; color: var(--ink); letter-spacing: .08em; }
.gnav a:hover { color: var(--crimson); }
.gnav a[aria-current] { color: var(--crimson); }
.gnav a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--crimson); }
.gnav .gnav__plan { color: var(--crimson); }
.hdr__lang { font-family: var(--ff-en); font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: .06em; padding: 6px 4px; }
.hdr__lang:hover { color: var(--crimson); }
.hdr__cta { display: inline-flex; align-items: center; gap: 14px; height: 50px; padding: 0 8px 0 22px; border-radius: 4px; background: var(--crimson); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .08em; }
.hdr__cta:hover { background: var(--crimson-deep); }
.hdr__cta .arrowc { background: #fff; color: var(--crimson); width: 32px; height: 32px; }
.hdr__menu { display: none; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 4px; background: var(--ink); color: #fff; font-family: var(--ff-en); font-weight: 700; font-size: 16px; letter-spacing: .12em; }
.hdr__menu i { display: grid; gap: 5px; width: 20px; }
.hdr__menu i::before, .hdr__menu i::after { content: ''; height: 2px; background: currentColor; }
@media (max-width: 1180px) {
  .gnav, .hdr__lang { display: none; }
  .hdr__cta { margin-left: auto; }
  .hdr__menu { display: inline-flex; }
}
@media (max-width: 640px) {
  .hdr { top: 10px; left: 10px; right: 10px; height: 60px; padding: 0 6px 0 14px; gap: 8px; }
  .hdr__logo svg { height: 32px; }
  .hdr__logo small { display: none; }
  .hdr__cta { height: 44px; padding: 0 14px; font-size: 13px; }
  .hdr__cta .arrowc { display: none; }
  .hdr__menu { height: 44px; padding: 0 12px; font-size: 14px; }
}

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 120; background: var(--ink); color: var(--on-ink); overflow-y: auto; padding: 96px var(--gut) 120px; visibility: hidden; opacity: 0; transition: opacity .3s ease, visibility .3s; }
.drawer.is-open { visibility: visible; opacity: 1; }
.drawer__close { position: absolute; top: 22px; right: 22px; height: 46px; padding: 0 18px; border-radius: 4px; background: #fff; color: var(--ink); font-family: var(--ff-en); font-weight: 700; letter-spacing: .12em; }
.drawer__nav { display: grid; gap: 4px; max-width: 640px; }
.drawer__nav a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-family: var(--ff-serif); font-size: 22px; font-weight: 700; color: #fff; }
.drawer__nav a small { display: block; font-family: var(--ff-en); font-size: 15px; color: var(--on-ink-2); letter-spacing: .08em; font-weight: 600; }
.drawer__cta { margin-top: 36px; display: grid; gap: 12px; max-width: 640px; }

/* side rail (wide screens) */
.rail { position: fixed; z-index: 90; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 2px; }
.rail a { writing-mode: vertical-rl; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 58px; padding: 22px 0 12px; min-height: 220px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .14em; border-radius: 4px 0 0 4px; }
.rail a.rail__est { background: var(--crimson); }
.rail .arrowc { writing-mode: horizontal-tb; width: 30px; height: 30px; }
.rail a.rail__est .arrowc { background: #fff; color: var(--crimson); }
@media (max-width: 1279px) { .rail { display: none; } }

/* bottom CTA bar (phones) */
.spbar { display: none; }
@media (max-width: 640px) {
  body { padding-bottom: 64px; }
  .spbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: fixed; z-index: 95; left: 0; right: 0; bottom: 0; height: 64px; background: #fff; }
  .spbar a { display: grid; place-items: center; align-content: center; gap: 2px; font-size: 12px; font-weight: 700; letter-spacing: .04em; line-height: 1.4; color: var(--ink); }
  .spbar a .ic { width: 20px; height: 20px; }
  .spbar a.spbar__plan { background: var(--ink); color: #fff; }
  .spbar a.spbar__est { background: var(--crimson); color: #fff; }
}

/* ---------- MV (left: catch + authority / centre: globe / bottom-right: news) ---------- */
.mv { --mvL: max(var(--gut), calc((100vw - 1360px) / 2 + var(--gut))); --copyW: 560px; --S: min(calc(100svh - 80px), 860px); --R: calc(var(--S) * .4);
  position: relative; min-height: max(100svh, 720px); background: var(--ink); color: var(--on-ink); overflow: hidden; display: flex; align-items: center; padding: 104px 0 88px; }
.mv__copy { position: relative; z-index: 2; box-sizing: content-box; width: var(--copyW); padding-left: var(--mvL); }
.mv__en { font-family: var(--ff-en); font-size: 26px; font-weight: 600; line-height: 1.3; color: var(--on-ink-2); letter-spacing: .03em; }
.mv__ttl { margin-top: 10px; font-family: var(--ff-serif); font-size: clamp(40px, min(3.9vw, 7svh), 62px); line-height: 1.4; color: #fff; letter-spacing: .07em; white-space: nowrap; }
.mvauth, .mv__lead { max-width: 470px; }
.mvauth { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 26px; }
.mvauth li { display: flex; align-items: center; gap: 7px; padding: 8px 12px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .02em; white-space: nowrap; }
.mvauth li:first-child { border-radius: 4px 0 0 4px; }
.mvauth li:last-child { border-radius: 0 4px 4px 0; }
.mvauth .ic { width: 20px; height: 20px; color: var(--crimson); }
.mvauth b { font-family: var(--ff-en); font-size: 18px; font-weight: 700; letter-spacing: 0; font-variant-numeric: lining-nums; margin: 0 2px; }
.mv__lead { margin-top: 22px; font-size: 15px; line-height: 2; color: var(--on-ink); letter-spacing: .06em; word-break: auto-phrase; }
.mv .btns { margin-top: 28px; gap: 12px; flex-wrap: nowrap; }
.mv .btn { min-height: 56px; padding-left: 22px; gap: 14px; }
.mv__globe { position: absolute; z-index: 1; width: var(--S); height: var(--S); top: calc(50% - var(--S) / 2 + 24px); left: calc(var(--mvL) + var(--copyW) + var(--R) * 1.14 + 28px - var(--S) / 2); }
.mv__globe canvas, .globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.mv__globe canvas:active { cursor: grabbing; }
.mvnews { position: absolute; z-index: 3; right: var(--mvL); bottom: 40px; width: min(560px, 40vw); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; padding: 22px 26px 22px 30px; background: #fff; border-radius: 8px; color: var(--ink); }
.mvnews__head b { display: block; font-family: var(--ff-en); font-size: 34px; font-weight: 600; line-height: 1.1; color: var(--ink); }
.mvnews__head a { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; min-height: 32px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.mvnews__head a:hover { color: var(--crimson); }
.mvnews__body { display: block; min-width: 0; }
.mvnews__meta { display: flex; align-items: center; gap: 12px; }
.mvnews__meta time { font-family: var(--ff-en); font-size: 16px; font-weight: 700; color: var(--ink-3); }
.mvnews__ttl { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-size: 15px; font-weight: 700; line-height: 1.7; color: var(--ink); }
.mvnews__body:hover .mvnews__ttl { color: var(--crimson); }
@media (max-width: 1180px) {
  .mv { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 124px 0 40px; align-items: start; }
  .mv__copy { width: auto; padding: 0 var(--gut); }
  .mv__ttl { font-size: 50px; }
  .mv__lead { max-width: 600px; }
  .mv__globe { position: relative; left: auto; top: auto; width: 100%; max-width: 720px; height: auto; aspect-ratio: 1 / 1; margin: 0 auto; }
  .mvnews { position: static; width: auto; margin: 8px var(--gut) 0; }
}
@media (max-width: 1180px) {
  .mv { padding-top: 80px; }
  .mv__globe { order: -1; width: 112vw; max-width: none; margin: 0 -6vw 4px; aspect-ratio: 10 / 7.6; overflow: hidden; }
  .mv__globe canvas { inset: auto 0 auto 0; top: -9%; width: 100%; height: auto; aspect-ratio: 1 / 1; }
}
@media (min-width: 769px) and (max-width: 1180px) {
  .mv__globe { width: 100%; margin: 0 0 8px; aspect-ratio: 16 / 9; }
  .mv__globe canvas { left: 50%; width: 76%; height: auto; aspect-ratio: 1 / 1; top: -16%; transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .mv { padding-top: 72px; }
  .mv__en { font-size: 18px; }
  .mv__ttl { font-size: clamp(28px, 8.6vw, 34px); letter-spacing: .05em; }
  .mvauth { margin-top: 20px; }
  .mvauth li { padding: 8px 10px; font-size: 12px; gap: 6px; }
  .mvauth b { font-size: 16px; }
  .mvauth .ic { width: 16px; height: 16px; }
  .mv__lead { font-size: 15px; margin-top: 18px; }
  .mv .btns { margin-top: 24px; flex-wrap: wrap; }
  .mv .btns .btn { width: 100%; }
  .mvnews { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 16px 18px; margin-top: 16px; }
  .mvnews__head { display: flex; align-items: center; justify-content: space-between; }
  .mvnews__head b { font-size: 26px; }
  .mvnews__head a { margin-top: 0; min-height: 44px; }
}
/* ---------- MESSAGE ---------- */
.msg { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.msg__body p + p { margin-top: 1.4em; }
.msg__body { font-size: var(--fs-body); line-height: 2.3; letter-spacing: .08em; }
.msg__sign { margin-top: 32px; font-family: var(--ff-serif); font-weight: 700; color: var(--ink); }
.msg .btns { margin-top: 44px; }
/* message photos: two columns, the left one starts lower; every gap is the same (--pg), photos never overlap */
.msg__photos { --pg: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--pg); align-items: start; }
.msg__col { display: grid; gap: var(--pg); }
.msg__col--a { padding-top: calc(var(--pg) * 5); }
.msg__photos figure { margin: 0; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; }
.msg__photos figure.is-tall { aspect-ratio: 3 / 4; }
.msg__photos img { width: 100%; height: 100%; object-fit: cover; }
.msg__note { grid-column: 1 / -1; margin-top: 12px; text-align: right; }
@media (max-width: 960px) {
  .msg { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .msg__photos { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
  .msg__col { display: contents; }
  .msg__photos figure, .msg__photos figure.is-tall { flex: 0 0 76%; aspect-ratio: 4 / 3; scroll-snap-align: start; }
  .msg__note { flex: 0 0 auto; align-self: end; margin: 0; }
}
/* marquee */
.marquee { overflow: hidden; padding: 20px 0 0; }
.marquee__in { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__in span { font-family: var(--ff-en); font-weight: 600; font-size: clamp(64px, 9vw, 150px); line-height: 1.1; color: var(--ink); letter-spacing: .01em; white-space: nowrap; padding-right: .6em; }
.marquee__in span b { color: var(--crimson); font-weight: 600; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SERVICE ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.svc__map { position: sticky; top: 120px; }
.svc__map svg { width: 100%; height: auto; display: block; }
.svc__map .note { margin-top: 12px; }
.pnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
.pnav--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pnav__item { display: block; }
.pnav__ph { overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; background: var(--stone); }
.pnav__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pnav__item:hover .pnav__ph img { transform: scale(1.04); }
.pnav__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.pnav__ttl { font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.5; letter-spacing: .06em; }
.pnav__en { display: block; font-family: var(--ff-en); font-size: 16px; font-weight: 600; color: var(--crimson); letter-spacing: .04em; line-height: 1.4; }
.pnav__txt { margin-top: 10px; font-size: var(--fs-small); line-height: 1.9; }
@media (max-width: 960px) {
  .svc { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .svc__map { position: static; max-width: 480px; margin: 0 auto; }
  .pnav--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pnav, .pnav--3 { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 8px; }
  .pnav__item { flex: 0 0 76%; scroll-snap-align: start; }
}

/* ---------- PLAN (crimson) ---------- */
.plan-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.merits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.merit { background: var(--crimson-ink); border-radius: var(--r); padding: 36px 26px 38px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.merit p, .merit h3 { word-break: auto-phrase; text-wrap: balance; }
.merit__icon { width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--crimson); display: grid; place-items: center; }
.merit__icon .ic { width: 28px; height: 28px; stroke-width: 1.6; }
.merit h3 { margin-top: 20px; font-size: 19px; color: #fff; letter-spacing: .06em; }
.merit p { margin-top: 8px; font-size: var(--fs-small); line-height: 1.9; color: var(--on-crimson-2); }
.plist { display: grid; gap: 14px; margin-top: 64px; }
.prow { display: grid; grid-template-columns: 132px minmax(0, 1fr) minmax(0, 1.25fr) 40px; gap: 32px; align-items: center; padding: 28px 28px 28px 32px; background: #fff; color: var(--ink-2); border-radius: var(--r); transition: background .25s ease; }
a.prow:hover { background: var(--paper); }
.prow__no { font-family: var(--ff-en); color: var(--crimson); line-height: 1; }
.prow__no small { display: block; font-size: 15px; font-weight: 700; letter-spacing: .14em; }
.prow__no b { display: block; font-size: 68px; font-weight: 600; margin-top: 4px; font-variant-numeric: lining-nums; }
.prow__name { font-family: var(--ff-serif); font-size: 24px; font-weight: 700; color: var(--ink); line-height: 1.5; letter-spacing: .06em; }
.prow__for { margin-top: 8px; font-size: var(--fs-small); line-height: 1.85; }
.flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.flow__step { display: grid; justify-items: center; gap: 8px; min-width: 84px; text-align: center; }
.flow__step i { width: 64px; height: 64px; border-radius: 50%; background: var(--crimson-tint); color: var(--crimson); display: grid; place-items: center; }
.flow__step i .ic { width: 30px; height: 30px; stroke-width: 1.5; }
.flow__step span { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: .04em; line-height: 1.4; }
.flow__plus { font-family: var(--ff-en); font-size: 30px; font-weight: 600; color: var(--ink-3); line-height: 1; margin-top: -26px; }
.plan-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; }
.plan-foot p { font-size: var(--fs-lead); font-weight: 700; color: #fff; letter-spacing: .08em; }
@media (max-width: 1100px) {
  .prow { grid-template-columns: 96px minmax(0, 1fr) 40px; }
  .prow .flow { grid-column: 2 / 3; }
  .prow__go { grid-column: 3; grid-row: 1; }
  .prow__no b { font-size: 52px; }
}
@media (max-width: 960px) {
  .plan-intro { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .merits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
}
@media (max-width: 640px) {
  .prow { grid-template-columns: minmax(0, 1fr) 36px; gap: 16px; padding: 22px 18px; }
  .prow__no { grid-column: 1; display: flex; align-items: baseline; gap: 10px; }
  .prow__no b { font-size: 40px; margin: 0; }
  .prow__go { grid-column: 2; grid-row: 1; }
  .prow__main, .prow .flow { grid-column: 1 / -1; }
  .flow { gap: 4px; }
  .flow__step { min-width: 64px; }
  .flow__step i { width: 52px; height: 52px; }
  .flow__step i .ic { width: 24px; height: 24px; }
  .flow__step span { font-size: 12px; }
  .flow__plus { font-size: 22px; margin-top: -24px; }
  .prow__name { font-size: 20px; }
}

/* ---------- NUMBERS ---------- */
.nums { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 2fr); gap: 20px; }
.nums__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.num { position: relative; background: #fff; border-radius: var(--r); padding: 28px 26px 30px; display: flex; flex-direction: column; }
.num__lb { align-self: flex-start; display: inline-block; padding: 2px 10px; border-radius: 4px; background: var(--crimson); color: #fff; font-size: var(--fs-caption); font-weight: 700; letter-spacing: .1em; line-height: 1.8; }
.num__icon { position: absolute; top: 22px; right: 22px; width: 52px; height: 52px; border-radius: 50%; background: var(--crimson-tint); color: var(--crimson); display: grid; place-items: center; }
.num__icon .ic { width: 26px; height: 26px; stroke-width: 1.5; }
.num__name { margin-top: 26px; font-size: var(--fs-small); font-weight: 700; color: var(--ink); }
.num__val { margin-top: 2px; font-family: var(--ff-en); font-weight: 600; color: var(--crimson); line-height: 1.05; font-size: 72px; font-variant-numeric: lining-nums; letter-spacing: 0; }
.num__val small { font-family: var(--ff-sans); font-size: 18px; font-weight: 700; color: var(--ink); margin-left: 4px; letter-spacing: .04em; }
.num__val--txt { font-size: 40px; white-space: nowrap; }
.num__txt { margin-top: auto; padding-top: 18px; font-size: var(--fs-small); line-height: 1.85; }
.num--big { padding: 40px 36px; }
.num--big .num__val { font-size: 128px; }
.num--big .num__name { font-size: var(--fs-body); margin-top: 48px; }
.num--big .num__txt { font-size: var(--fs-body); }
@media (max-width: 1100px) { .nums { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 768px) {
  .nums__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .num { padding: 20px 16px 22px; }
  .num__icon { width: 40px; height: 40px; top: 16px; right: 14px; }
  .num__icon .ic { width: 20px; height: 20px; }
  .num__val { font-size: 48px; }
  .num__val--txt { font-size: 32px; }
  .num--big .num__val { font-size: 88px; }
  .num__txt { font-size: 13px; }
}

/* ---------- QUALITY ---------- */
.qlt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
/* sticky scroll: the photo stays put while the right column scrolls past it */
.qlt__ph { position: sticky; top: 104px; }
.qlt__ph figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; max-height: calc(100svh - 140px); width: 100%; }
.qlt__ph img { width: 100%; height: 100%; object-fit: cover; }
.isobadge { position: absolute; left: -28px; bottom: 40px; width: 176px; height: 176px; border-radius: 50%; background: var(--crimson); color: #fff; display: grid; place-content: center; text-align: center; line-height: 1.3; }
.isobadge b { font-family: var(--ff-en); font-size: 40px; font-weight: 700; letter-spacing: 0; }
.isobadge small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.steps { display: grid; gap: 0; margin-top: 40px; }
.step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 22px 0; }
.step + .step { border-top: 1px solid var(--line); }
.step__no { font-family: var(--ff-en); font-size: 44px; font-weight: 600; line-height: 1; color: var(--crimson); font-variant-numeric: lining-nums; }
.step h3 { font-size: 19px; letter-spacing: .06em; }
.step p { margin-top: 6px; font-size: var(--fs-small); line-height: 1.9; }
.links { margin-top: 36px; }
.links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); font-weight: 700; color: var(--ink); letter-spacing: .06em; }
.links a:last-child { border-bottom: 1px solid var(--line); }
.links a small { display: block; font-family: var(--ff-en); font-size: 15px; color: var(--ink-3); font-weight: 600; letter-spacing: .06em; line-height: 1.4; }
.links a:hover { color: var(--crimson); }
@media (max-width: 960px) {
  .qlt { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .qlt__ph { position: relative; top: auto; }
  .qlt__ph figure { aspect-ratio: 4 / 3; max-height: none; }
  .isobadge { left: auto; right: 16px; bottom: -36px; width: 128px; height: 128px; }
  .isobadge b { font-size: 30px; }
}

/* ---------- CASES (ink) ---------- */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.case { display: flex; flex-direction: column; background: #fff; color: var(--ink-2); border-radius: var(--r); overflow: hidden; }
.case__ph { aspect-ratio: 16 / 10; overflow: hidden; }
.case__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.case:hover .case__ph img { transform: scale(1.04); }
.case__body { padding: 30px 32px 32px; display: flex; flex-direction: column; flex: 1; }
.case__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.case__no { font-family: var(--ff-en); font-size: 18px; font-weight: 700; color: var(--crimson); letter-spacing: .1em; }
.tag { display: inline-block; padding: 1px 10px; border-radius: 4px; background: var(--crimson-tint); color: var(--crimson); font-size: var(--fs-caption); font-weight: 700; letter-spacing: .06em; line-height: 1.9; }
.case__ttl { margin-top: 14px; font-family: var(--ff-serif); font-size: var(--fs-h4); line-height: 1.6; letter-spacing: .06em; word-break: auto-phrase; }
.case__txt { margin-top: 12px; font-size: var(--fs-small); line-height: 1.9; }
.case__foot { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: var(--fs-small); font-weight: 700; color: var(--ink); }
.case--wide { grid-column: 1 / -1; flex-direction: row; }
.case--wide .case__ph { flex: 0 0 58%; aspect-ratio: auto; min-height: 420px; }
.case--wide .case__body { padding: 48px 48px 44px; }
.case--wide .case__ttl { font-size: var(--fs-h3); }
@media (max-width: 960px) {
  .cases { grid-template-columns: minmax(0, 1fr); }
  .case--wide { flex-direction: column; }
  .case--wide .case__ph { min-height: 0; aspect-ratio: 16 / 10; }
  .case--wide .case__body { padding: 30px 24px; }
  .case--wide .case__ttl { font-size: var(--fs-h4); }
  .case__body { padding: 26px 22px 28px; }
}

/* ---------- LANGUAGES ---------- */
.lang { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
.hello { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 24px; }
.hello li { min-width: 0; }
.hello b { display: block; font-family: var(--ff-serif); font-size: 30px; font-weight: 700; color: var(--ink); line-height: 1.4; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.hello li:nth-child(5n+1) b { color: var(--crimson); }
.hello span { display: block; margin-top: 4px; font-size: var(--fs-small); color: var(--ink-3); letter-spacing: .06em; }
.fields { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.fields h3 { font-size: var(--fs-h4); }
.fields p { margin-top: 14px; line-height: 2.1; }
@media (max-width: 960px) {
  .lang { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hello { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hello { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .hello b { font-size: 24px; }
}

/* ---------- photo panels ---------- */
.panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.panel { position: relative; display: block; min-height: 520px; border-radius: var(--r); overflow: hidden; color: #fff; isolation: isolate; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s ease; }
.panel::after { content: ''; position: absolute; inset: 0; background: rgba(22, 24, 29, .52); z-index: -1; }
.panel:hover img { transform: scale(1.04); }
.panel__in { position: absolute; left: 32px; right: 32px; bottom: 32px; }
.panel__lb { font-size: var(--fs-small); font-weight: 700; letter-spacing: .14em; }
.panel__en { display: block; margin-top: 6px; font-family: var(--ff-en); font-size: 52px; font-weight: 600; line-height: 1; letter-spacing: .01em; }
.panel__txt { margin-top: 16px; font-size: var(--fs-small); line-height: 1.9; }
.panel__go { margin-top: 20px; display: flex; justify-content: flex-end; }
@media (max-width: 960px) {
  .panels { grid-template-columns: minmax(0, 1fr); }
  .panel { min-height: 360px; }
}

/* ---------- column cards ---------- */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.col__ph { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: var(--stone); }
.col__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.col:hover .col__ph img { transform: scale(1.04); }
.col__meta { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.col__meta time { font-family: var(--ff-en); font-size: 16px; font-weight: 700; color: var(--ink-3); }
.col__ttl { margin-top: 10px; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.7; letter-spacing: .05em; }
.col:hover .col__ttl { color: var(--crimson); }
@media (max-width: 960px) {
  .cols { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 8px; }
  .col { flex: 0 0 76%; scroll-snap-align: start; }
}

/* ---------- news list (DESIGN_RULES 6-2) ---------- */
.newslist li + li { border-top: 1px solid var(--line); }
.newslist a { display: grid; grid-template-columns: 200px minmax(0, 1fr) 40px; gap: 28px; align-items: center; padding: 24px 0; }
.newslist__thumb { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--ink); display: grid; place-items: center; }
.newslist__thumb img { width: 100%; height: 100%; object-fit: cover; }
.newslist__thumb svg { width: 46%; height: auto; color: #fff; }
.newslist__meta { display: flex; align-items: center; gap: 14px; }
.newslist__meta time { font-family: var(--ff-en); font-size: 16px; font-weight: 700; color: var(--ink-3); }
.newslist__cat { display: inline-block; padding: 0 10px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--crimson); color: var(--crimson); font-size: var(--fs-caption); font-weight: 700; line-height: 1.9; letter-spacing: .06em; }
.newslist__ttl { margin-top: 6px; font-size: var(--fs-lead); font-weight: 700; color: var(--ink); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.newslist__ex { margin-top: 4px; font-size: var(--fs-small); line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.newslist a:hover .newslist__ttl { color: var(--crimson); }
.newslist .arrowc { justify-self: end; }
@media (max-width: 640px) {
  .newslist a { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 18px 0; align-items: start; }
  .newslist .arrowc { display: none; }
  .newslist__ttl { font-size: 15px; }
  .newslist__ex { display: none; }
}

/* ---------- contact band ---------- */
.ctaband { position: relative; min-height: 600px; display: grid; align-items: stretch; overflow: hidden; background: var(--ink); }
.ctaband > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ctaband__panel { position: relative; z-index: 1; width: min(100%, calc(max(var(--gut), (100vw - 1360px) / 2 + var(--gut)) + 600px)); background: var(--ink); color: var(--on-ink-2); padding: 96px 64px 88px max(var(--gut), calc((100vw - 1360px) / 2 + var(--gut))); }
.ctaband__panel .shead__en { color: var(--on-ink); font-size: 88px; }
.ctaband__ttl { margin-top: 24px; font-family: var(--ff-serif); font-size: 36px; color: #fff; line-height: 1.6; letter-spacing: .08em; }
.ctaband__txt { margin-top: 20px; line-height: 2.1; }
.ctaband .btns { margin-top: 36px; }
.ctaband__tel { margin-top: 28px; color: #fff; }
.ctaband__tel a { display: inline-flex; align-items: center; gap: 12px; font-family: var(--ff-en); font-size: 36px; font-weight: 700; letter-spacing: .04em; }
.ctaband__tel a .ic { width: 26px; height: 26px; color: #F2A3AF; }
.ctaband__tel small { display: block; font-size: var(--fs-caption); color: var(--on-ink-2); letter-spacing: .08em; }
@media (max-width: 768px) {
  .ctaband { min-height: 0; }
  .ctaband > img { position: static; height: 220px; }
  .ctaband__panel { width: 100%; padding: 48px var(--gut) 56px; }
  .ctaband__panel .shead__en { font-size: 52px; }
  .ctaband__ttl { font-size: 24px; }
  .ctaband .btns .btn { width: 100%; }
}

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: var(--on-ink-2); padding: 96px 0 40px; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr); gap: 64px; padding-bottom: 64px; }
.ftr__copy { font-family: var(--ff-serif); font-size: 40px; font-weight: 700; color: #fff; line-height: 1.5; letter-spacing: .1em; }
.ftr__copy small { display: block; font-family: var(--ff-en); font-size: 22px; font-weight: 600; color: var(--on-ink-2); letter-spacing: .03em; margin-bottom: 14px; }
.ftr__logo { margin-top: 48px; display: flex; align-items: center; gap: 16px; color: #fff; }
.ftr__logo svg { height: 46px; width: auto; }
.ftr__addr { margin-top: 22px; font-size: var(--fs-small); line-height: 2; }
.ftr__addr a:hover { color: #fff; }
.ftr__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ftr__nav h3 { font-family: var(--ff-en); font-size: 18px; font-weight: 700; color: #fff; letter-spacing: .1em; }
.ftr__nav ul { margin-top: 14px; display: grid; gap: 6px; }
.ftr__nav a { font-size: var(--fs-small); line-height: 1.8; }
.ftr__nav a:hover { color: #fff; }
.certs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.certs li { padding: 6px 12px; border-radius: 4px; background: #23262D; color: #fff; font-size: var(--fs-caption); font-weight: 700; letter-spacing: .06em; line-height: 1.6; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid #2C3038; font-size: var(--fs-caption); }
.ftr__bottom ul { display: flex; flex-wrap: wrap; gap: 24px; }
.ftr__bottom a:hover { color: #fff; }
.ftr__credit { margin-top: 20px; font-size: var(--fs-caption); color: #8A8E96; }
.ftr__credit summary { cursor: pointer; }
.ftr__credit p { margin-top: 8px; line-height: 1.8; }
@media (max-width: 960px) {
  .ftr__top { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .ftr__copy { font-size: 28px; }
}
@media (max-width: 640px) {
  .ftr { padding-top: 64px; }
  .ftr__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
}

/* ---------- lower page hero ---------- */
.pghero { background: var(--ink); color: var(--on-ink-2); padding: 150px 0 80px; }
.pghero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: end; }
.bc { display: flex; flex-wrap: wrap; gap: 8px 12px; font-size: var(--fs-caption); letter-spacing: .08em; color: var(--on-ink-2); }
.bc li + li::before { content: '/'; margin-right: 12px; color: #6E727A; }
.bc a:hover { color: #fff; }
.pghero__en { margin-top: 28px; display: block; font-family: var(--ff-en); font-size: clamp(56px, 7vw, 110px); font-weight: 600; line-height: 1; color: var(--on-ink); letter-spacing: .01em; }
.pghero__ttl { margin-top: 20px; font-family: var(--ff-serif); font-size: var(--fs-h3); color: #fff; letter-spacing: .1em; }
.pghero__lead { margin-top: 24px; line-height: 2.1; color: var(--on-ink); max-width: 560px; }
.pghero__ph { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; }
.pghero__ph img { width: 100%; height: 100%; object-fit: cover; }
.pghero--noimg .pghero__in { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) {
  .pghero { padding: 120px 0 56px; }
  .pghero__in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* ---------- lower page building blocks ---------- */
.anchors { display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 26px 0; }
.anchors a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 15px; }
.anchors a:hover { color: var(--crimson); }
.anchors-bar { background: var(--paper); }
@media (max-width: 640px) { .anchors { flex-wrap: nowrap; overflow-x: auto; padding: 18px 0; } .anchors a { flex: none; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split--rev > :first-child { order: 2; }
.split__ph { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.split__ph img { width: 100%; height: 100%; object-fit: cover; }
.split__ph figcaption { padding-top: 8px; }
@media (max-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split--rev > :first-child { order: 0; }
}
.h-sec { font-family: var(--ff-serif); font-size: var(--fs-h3); line-height: 1.6; letter-spacing: .08em; word-break: auto-phrase; }
.h-sec__no { display: block; font-family: var(--ff-en); font-size: 22px; font-weight: 700; color: var(--crimson); letter-spacing: .1em; margin-bottom: 8px; }
.h-sub { font-size: var(--fs-h4); letter-spacing: .06em; color: var(--ink); }
.txt { margin-top: 24px; }
.txt p + p { margin-top: 1.2em; }
.block + .block { margin-top: 120px; }
@media (max-width: 768px) { .block + .block { margin-top: 72px; } }

.featgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feat { background: var(--paper); color: var(--ink-2); border-radius: var(--r); padding: 32px 30px 34px; }
.sec--paper .feat, .sec--paper2 .feat { background: #fff; }
.feat__icon { width: 60px; height: 60px; border-radius: 50%; background: var(--crimson); color: #fff; display: grid; place-items: center; }
.feat__icon .ic { width: 28px; height: 28px; stroke-width: 1.5; }
.feat h3 { margin-top: 20px; font-size: 20px; letter-spacing: .06em; }
.feat p { margin-top: 10px; font-size: var(--fs-small); line-height: 1.95; }
@media (max-width: 960px) { .featgrid { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

.dlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.dlist li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); line-height: 1.7; }
.dlist li .ic { width: 20px; height: 20px; margin-top: 4px; color: var(--crimson); stroke-width: 2; }
@media (max-width: 640px) { .dlist { grid-template-columns: minmax(0, 1fr); } }

.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 20px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.9; }
.table th { width: 220px; color: var(--ink); font-weight: 700; }
.table thead th { width: auto; font-size: var(--fs-small); background: var(--ink); color: #fff; border-bottom: 0; }
.table thead th.is-ten { background: var(--crimson); }
.table td.is-ten { background: var(--crimson-tint); color: var(--ink); font-weight: 700; }
@media (max-width: 640px) {
  .table--stack th, .table--stack td { display: block; width: 100%; padding: 10px 0; }
  .table--stack th { border-bottom: 0; padding-top: 18px; }
  .tablewrap { overflow-x: auto; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
  .tablewrap .table { min-width: 560px; }
}

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: grid; grid-template-columns: 40px minmax(0, 1fr) 28px; gap: 12px; align-items: center; padding: 22px 0; cursor: pointer; font-weight: 700; color: var(--ink); line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary b, .faq .faq__a b { font-family: var(--ff-en); font-size: 28px; font-weight: 700; color: var(--crimson); line-height: 1; }
.faq summary i { width: 28px; height: 28px; border-radius: 50%; background: var(--crimson-tint); position: relative; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--crimson); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.faq details[open] summary i::after { transform: translate(-50%, -50%); }
.faq__a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 0 40px 26px 0; line-height: 2; }
.faq__a b { color: var(--ink-3) !important; }

.flowsteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: fs; }
.flowsteps li { background: #fff; border-radius: var(--r); padding: 28px 24px 30px; }
.flowsteps__no { font-family: var(--ff-en); font-size: 18px; font-weight: 700; color: var(--crimson); letter-spacing: .12em; }
.flowsteps__ic { margin-top: 14px; width: 56px; height: 56px; border-radius: 50%; background: var(--crimson-tint); color: var(--crimson); display: grid; place-items: center; }
.flowsteps__ic .ic { width: 26px; height: 26px; stroke-width: 1.5; }
.flowsteps h3 { margin-top: 16px; font-size: 19px; }
.flowsteps p { margin-top: 8px; font-size: var(--fs-small); line-height: 1.9; }
@media (max-width: 960px) { .flowsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .flowsteps { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

.compare { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); gap: 0; align-items: stretch; }
.compare__col { border-radius: var(--r); padding: 36px 36px 40px; }
.compare__col--old { background: var(--paper-2); }
.compare__col--ten { background: var(--crimson); color: #fff; }
.compare__col h3 { font-size: var(--fs-h4); }
.compare__col--ten h3 { color: #fff; }
.compare__col ul { margin-top: 20px; display: grid; gap: 12px; }
.compare__col li { display: flex; gap: 12px; line-height: 1.8; font-weight: 700; }
.compare__col li .ic { width: 22px; height: 22px; margin-top: 3px; flex: none; }
.compare__col--old li .ic { color: var(--ink-3); }
.compare__arrow { display: grid; place-items: center; color: var(--crimson); }
.compare__arrow .ic { width: 40px; height: 40px; stroke-width: 1.6; }
@media (max-width: 768px) {
  .compare { grid-template-columns: minmax(0, 1fr); }
  .compare__arrow { padding: 8px 0; transform: rotate(90deg); }
  .compare__col { padding: 26px 22px 30px; }
}

/* plan detail page */
.pdetail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding: 64px 0; }
.pdetail + .pdetail { border-top: 1px solid var(--line); }
.pdetail__no { font-family: var(--ff-en); color: var(--crimson); line-height: 1; }
.pdetail__no small { font-size: 18px; font-weight: 700; letter-spacing: .14em; }
.pdetail__no b { display: block; font-size: 120px; font-weight: 600; font-variant-numeric: lining-nums; }
.pdetail h3 { font-family: var(--ff-serif); font-size: var(--fs-h3); margin-top: 16px; letter-spacing: .08em; }
.pdetail__for { margin-top: 16px; }
.pdetail .flow { margin-top: 28px; }
.pdetail dl { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 0; margin: 0; }
.pdetail dt, .pdetail dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); line-height: 1.9; }
.pdetail dt { font-weight: 700; color: var(--ink); }
.pdetail .btns { margin-top: 28px; }
@media (max-width: 960px) {
  .pdetail { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 48px 0; }
  .pdetail__no b { font-size: 80px; }
}
@media (max-width: 640px) { .pdetail dl { grid-template-columns: minmax(0, 1fr); } .pdetail dt { border-bottom: 0; padding-bottom: 0; } }

/* forms */
.form { display: grid; gap: 28px; }
.form__row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.form__lb { padding-top: 14px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.form__lb em { font-style: normal; display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 4px; background: var(--crimson); color: #fff; font-size: 11px; line-height: 1.8; vertical-align: 2px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=date], .form select, .form textarea {
  width: 100%; min-height: 54px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 4px; background: #fff; font: inherit; font-size: 16px; color: var(--ink);
}
.form textarea { min-height: 180px; line-height: 1.8; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--crimson); outline-offset: 0; border-color: var(--crimson); }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--fs-small); font-weight: 700; color: var(--ink); cursor: pointer; line-height: 1.4; }
.checks input { accent-color: var(--crimson); width: 16px; height: 16px; }
.checks label:has(input:checked) { border-color: var(--crimson); color: var(--crimson); background: var(--crimson-tint); }
.drop { display: grid; place-items: center; gap: 8px; padding: 32px; border: 1px dashed var(--line-strong); border-radius: var(--r); text-align: center; font-size: var(--fs-small); }
.drop .ic { width: 32px; height: 32px; color: var(--crimson); }
@media (max-width: 768px) { .form__row { grid-template-columns: minmax(0, 1fr); gap: 8px; } .form__lb { padding-top: 0; } }

.notice { display: flex; gap: 16px; align-items: flex-start; padding: 22px 26px; border-radius: var(--r); background: var(--crimson-tint); color: var(--ink); line-height: 1.9; }
.notice .ic { color: var(--crimson); margin-top: 4px; }

/* article */
.article { max-width: 820px; margin: 0 auto; }
.article h2 { font-family: var(--ff-serif); font-size: 28px; margin: 64px 0 20px; letter-spacing: .06em; }
.article p { line-height: 2.2; }
.article p + p { margin-top: 1.2em; }
.article__ph { margin: 40px 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; }
.article__ph img { width: 100%; height: 100%; object-fit: cover; }

/* profile */
.profile { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 56px; align-items: start; }
.profile__ph { aspect-ratio: 3 / 4; border-radius: var(--r); background: var(--paper-2); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--ink-3); font-size: var(--fs-small); line-height: 1.8; }
.profile__ph b { display: block; font-family: var(--ff-en); font-size: 64px; color: var(--crimson); line-height: 1; margin-bottom: 12px; }
.books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.book { background: var(--paper); border-radius: var(--r); padding: 26px 28px; }
.book h4 { font-family: var(--ff-serif); font-size: 19px; }
.book p { margin-top: 8px; font-size: var(--fs-small); line-height: 1.9; }
@media (max-width: 960px) { .profile { grid-template-columns: minmax(0, 1fr); } .profile__ph { max-width: 320px; } .books { grid-template-columns: minmax(0, 1fr); } }

.map { margin-top: 32px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 7; background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .map { aspect-ratio: 4 / 3; } }

/* globe in a section */
.globe { position: relative; aspect-ratio: 1 / 1; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .marquee__in { animation: none; }
  html { scroll-behavior: auto; }
}

/* demo badge */
.demo-badge { position: fixed; z-index: 200; left: 16px; bottom: 16px; padding: 6px 12px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
@media (max-width: 640px) { .demo-badge { display: none; } }



/* utilities */
.split--top { align-items: start; }
.shead--flush { margin-bottom: 0; }
.mt-0 { margin-top: 0 !important; } .mt-10 { margin-top: 10px; } .mt-12 { margin-top: 12px; } .mt-20 { margin-top: 20px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; } .mt-64 { margin-top: 64px; }
.sec--pt0 { padding-top: 40px; }


.sec--crimson .kari { color: #fff; }
.featgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .featgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .featgrid--4 { grid-template-columns: minmax(0, 1fr); } }
.flowsteps--paper li { background: var(--paper); }
.sec--ink .kari { color: #F2A3AF; }


.featgrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .featgrid--2 { grid-template-columns: minmax(0, 1fr); } }
.sec--ink .step h3 { color: #fff; }
.sec--ink .step + .step { border-top-color: #2C3038; }
.sec--ink .split__ph figcaption { color: var(--on-ink-2); }
.tel-ink { color: var(--ink) !important; }
.tel-ink .ic { color: var(--crimson) !important; }
.sitemap h3 { color: var(--crimson); }
.sitemap a { color: var(--ink); font-size: var(--fs-body); }
.sitemap a:hover { color: var(--crimson); }
.dlist--1 { grid-template-columns: minmax(0, 1fr); }
/* news filters (DESIGN_RULES 6-2) */
.filterbox { display: grid; gap: 12px; margin-bottom: 32px; padding: 22px 26px; border-radius: var(--r); background: var(--paper); }
.filterbox__row { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: center; }
.filterbox__lb { font-size: var(--fs-small); font-weight: 700; color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters__btn { display: inline-block; padding: 6px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: var(--fs-small); font-weight: 700; color: var(--ink); line-height: 1.6; }
.filters__btn.is-on { box-shadow: inset 0 0 0 1.5px var(--crimson); color: var(--crimson); background: var(--crimson-tint); }
@media (max-width: 640px) { .filterbox__row { grid-template-columns: minmax(0, 1fr); gap: 8px; } .filters { flex-wrap: nowrap; overflow-x: auto; } .filters__btn { flex: none; } }

@media (max-width: 640px) { .merits { grid-template-columns: minmax(0, 1fr); gap: 10px; } .merit { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; padding: 22px 20px; text-align: left; align-items: start; } .merit__icon { width: 52px; height: 52px; grid-row: span 2; } .merit h3 { margin-top: 2px; } }




@media (max-width: 640px) { .hello b { font-size: clamp(18px, 5.6vw, 24px); } .num__lb { font-size: 11px; letter-spacing: .06em; } }

.rail a { outline: 1px solid rgba(255, 255, 255, .45); outline-offset: -1px; }


/* avoid 1-2 character last lines in body copy */
p, li, dd { text-wrap: pretty; }

.shead__lead, .pghero__lead, .pnav__txt, .case__txt, .prow__for { word-break: auto-phrase; }


/* =========================================================
   MOTION (2026-10-13 brush-up: "シンプルすぎる" -> scroll motion)
   Hidden start states only apply when <html class="js">; reduced motion turns everything off.
   ========================================================= */

/* --- stacked cards: cards slide up and overlap the previous one --- */
.stack { position: relative; display: grid; gap: 48px; }
.stack__card { position: sticky; top: 104px; transform-origin: 50% 0; transform: scale(calc(1 - var(--p, 0) * .06)); filter: brightness(calc(1 - var(--p, 0) * .28)); will-change: transform; }
.stack__card:nth-child(2) { top: 128px; }
.stack__card:nth-child(3) { top: 152px; }
.stack__card:nth-child(4) { top: 176px; }
.stack__card:nth-child(5) { top: 200px; }
@media (max-width: 768px) {
  .stack { gap: 16px; }
  .stack__card { position: relative; top: 0 !important; transform: none; filter: none; }
}

/* case story card (TOP) */
.story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr) minmax(0, 1.2fr); gap: 48px; align-items: center; min-height: 520px; padding: 56px 56px; border-radius: 12px; background: #fff; color: var(--ink-2); }
.story:nth-child(2) { background: var(--paper); }
.story:nth-child(3) { background: #EAE5DC; }
.story__no { display: grid; justify-items: center; text-align: center; gap: 14px; }
.story__lb { display: inline-block; padding: 3px 16px; border-radius: 999px; background: var(--crimson); color: #fff; font-family: var(--ff-en); font-size: 17px; font-weight: 700; letter-spacing: .12em; }
.story__num { font-family: var(--ff-en); font-size: 150px; font-weight: 600; line-height: .9; color: var(--crimson); font-variant-numeric: lining-nums; }
.story__cat { font-weight: 700; color: var(--ink); font-size: 15px; line-height: 1.7; }
.story__ph { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.4; }
.story__ph img { width: 100%; height: 100%; object-fit: cover; }
.story__ttl { font-family: var(--ff-serif); font-size: 30px; line-height: 1.6; letter-spacing: .06em; color: var(--ink); word-break: auto-phrase; }
.story__txt { margin-top: 18px; font-size: 15px; line-height: 2; }
.story__plan { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.story .btns { margin-top: 28px; }
@media (max-width: 1100px) {
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); padding: 40px; gap: 32px; }
  .story__no { grid-column: 1 / -1; grid-template-columns: auto auto; justify-content: start; align-items: center; text-align: left; }
  .story__num { font-size: 96px; }
}
@media (max-width: 768px) {
  .story { grid-template-columns: minmax(0, 1fr); padding: 28px 22px 32px; min-height: 0; }
  .story__num { font-size: 72px; }
  .story__ttl { font-size: 22px; }
}

/* plan detail as stacked cards (plan.html) */
.pstack .pdetail { background: #fff; color: var(--ink-2); border-radius: 12px; padding: 56px 56px; border-top: 0 !important; }
.pstack .pdetail:nth-child(even) { background: var(--paper); }
@media (max-width: 768px) { .pstack .pdetail { padding: 32px 22px; } }

/* --- character reveal for English display headings --- */
.split-ch { display: inline-block; white-space: pre; }
.js .chars .split-ch { opacity: 0; transform: translateY(.45em); transition: opacity .6s ease, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--ci) * 28ms); }
.js .chars.is-in .split-ch { opacity: 1; transform: none; }

/* --- Japanese heading wipe --- */
.js .wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(.65, 0, .35, 1) .15s; }
.js .wipe.is-in { clip-path: inset(0 0 0 0); }

/* --- image reveal: curtain + slow zoom-out --- */
.js .rvimg { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.65, 0, .35, 1); }
.js .rvimg img { transform: scale(1.18); transition: transform 1.6s cubic-bezier(.2, .8, .2, 1); }
.js .rvimg.is-in { clip-path: inset(0 0 0 0); }
.js .rvimg.is-in img { transform: scale(1); }

/* --- parallax (JS sets --py) --- */
[data-speed] { translate: 0 var(--py, 0px); will-change: translate; }

/* --- staggered children --- */
.js .stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .stagger.is-in > * { opacity: 1; transform: none; }
.stagger > *:nth-child(2) { transition-delay: .08s; } .stagger > *:nth-child(3) { transition-delay: .16s; } .stagger > *:nth-child(4) { transition-delay: .24s; }
.stagger > *:nth-child(5) { transition-delay: .32s; } .stagger > *:nth-child(6) { transition-delay: .4s; } .stagger > *:nth-child(7) { transition-delay: .48s; } .stagger > *:nth-child(8) { transition-delay: .56s; }

/* --- plan flow chips pop in order --- */
.js .prow .flow > * { opacity: 0; transform: scale(.6); transition: opacity .4s ease, transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.js .prow.is-in .flow > * { opacity: 1; transform: none; }
.prow .flow > *:nth-child(2) { transition-delay: .25s; } .prow .flow > *:nth-child(3) { transition-delay: .45s; }
.prow .flow > *:nth-child(4) { transition-delay: .65s; } .prow .flow > *:nth-child(5) { transition-delay: .85s; }
.prow .flow > *:nth-child(1) { transition-delay: .05s; }

/* --- service map nodes pop --- */
.js .svc__map a { opacity: 0; transition: opacity .6s ease; }
.js .svc__map.is-in a { opacity: 1; }
.svc__map a:nth-of-type(2) { transition-delay: .12s; } .svc__map a:nth-of-type(3) { transition-delay: .24s; }
.svc__map a:nth-of-type(4) { transition-delay: .36s; } .svc__map a:nth-of-type(5) { transition-delay: .48s; } .svc__map a:nth-of-type(6) { transition-delay: .6s; }

/* --- MV entrance --- */
.js .mv__copy > * { opacity: 0; transform: translateY(28px); animation: mvIn 1s cubic-bezier(.2, .8, .2, 1) forwards; }
.mv__copy > *:nth-child(2) { animation-delay: .15s; } .mv__copy > *:nth-child(3) { animation-delay: .3s; } .mv__copy > *:nth-child(4) { animation-delay: .45s; } .mv__copy > *:nth-child(5) { animation-delay: .6s; }
.js .mvnews { opacity: 0; transform: translateY(20px); animation: mvIn 1s cubic-bezier(.2, .8, .2, 1) .9s forwards; }
.js .mv__globe { opacity: 0; transform: scale(.92); animation: globeIn 1.6s cubic-bezier(.2, .8, .2, 1) .2s forwards; }
@keyframes mvIn { to { opacity: 1; transform: none; } }
@keyframes globeIn { to { opacity: 1; transform: none; } }

/* --- greeting marquees (languages) --- */
.hellomq { overflow: hidden; display: grid; gap: 6px; margin-bottom: 104px; padding: 22px 0 24px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.hellomq__row { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.hellomq__row--rev { animation-direction: reverse; animation-duration: 70s; }
.hellomq__row span { font-family: var(--ff-serif); font-weight: 700; font-size: clamp(36px, 5vw, 72px); line-height: 1.35; color: var(--ink); white-space: nowrap; padding-right: .9em; }
.hellomq__row span:nth-child(3n+1) { color: var(--crimson); }
.hellomq__row--rev span { color: var(--ink-3); }
.hellomq__row--rev span:nth-child(4n+2) { color: var(--ink); }


/* --- buttons: arrow circle grows on hover --- */
.btn .arrowc, .hdr__cta .arrowc { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), background .25s ease; }
.btn:hover .arrowc, .hdr__cta:hover .arrowc { transform: translateX(4px) scale(1.12); }

@media (prefers-reduced-motion: reduce) {
  .stack__card { transform: none !important; filter: none !important; }
  .js .chars .split-ch, .js .wipe, .js .rvimg, .js .rvimg img, .js .stagger > *, .js .prow .flow > *, .js .svc__map a, .js .mv__copy > *, .js .mv__globe, .js .mvnews { opacity: 1 !important; transform: none !important; clip-path: none !important; animation: none !important; transition: none !important; }
  [data-speed] { translate: none !important; }
  .hellomq__row { animation: none; }
}

.split-w { display: inline-block; white-space: nowrap; }


.hello b.is-long { font-size: 20px; letter-spacing: 0; }

.sec--ink .pdetail .kari, .sec--ink .story .kari, .sec--ink .case .kari, .sec--ink .notice .kari { color: var(--crimson); }


/* DESIGN_RULES 13 (phone UI) */
@media (max-width: 960px) {
  .split > .split__ph, .split > figure { order: -1; }          /* 13-1: photo first, full width */
  .msg__photos { order: -1; }
  .pghero__ph { order: -1; }
}
@media (max-width: 768px) {
  .anchors a, .bc a { min-height: 44px; display: inline-flex; align-items: center; }   /* 13-3: 44px tap targets */
  .filters__btn { min-height: 44px; display: inline-flex; align-items: center; }
  .ftr__nav a, .ftr__bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .ftr__nav ul { gap: 0; }
  .linkchip { min-height: 44px; }
  .sitemap a { min-height: 44px; display: inline-flex; align-items: center; }
}
[hidden] { display: none !important; }


/* service map: white nodes with crimson outline; the dot travels the ring and lights the node it reaches */
.svcmap .svcnode circle { fill: #fff; stroke: var(--crimson); stroke-width: 2; transition: fill .45s ease, transform .45s cubic-bezier(.3, 1.4, .5, 1); transform-box: fill-box; transform-origin: center; }
.svcmap .svcnode use { fill: none; stroke: var(--crimson); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .45s ease; }
.svcmap .svcnode text { font-family: var(--ff-sans); font-size: 15px; font-weight: 700; fill: var(--ink); transition: fill .45s ease; }
.svcmap .svcnode.is-on circle { fill: var(--crimson); transform: scale(1.07); }
.svcmap .svcnode.is-on use { stroke: #fff; }
.svcmap .svcnode.is-on text { fill: #fff; }
.svcmap__spokes line { stroke-width: 5; opacity: 0; transition: opacity .4s ease; }
.svcmap__spokes line.is-on { opacity: 1; }
.svcmap__dot { transition: opacity .2s ease; }
.svcmap__cap { margin-top: 14px; min-height: 5.8em; text-align: center; font-size: var(--fs-small); line-height: 1.9; word-break: auto-phrase; text-wrap: balance; }
.svcmap__cap b { display: block; font-size: 17px; color: var(--crimson); letter-spacing: .06em; }
/* big headings: lines break only at <br>; JS shrinks a heading that would overflow (main.js fitHeadings) */
.js .fit { white-space: nowrap; }
/* CTA heading: each line sits on an ink plate (zabuton) and may run over the photo */
.ctaband__ttl { position: relative; z-index: 2; }
.ctaband__ttl span { white-space: nowrap; background: var(--ink); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .35em 0 0; }
.fit-wrap { white-space: normal; word-break: auto-phrase; text-wrap: balance; }
.ctaband__ttl { width: max-content; max-width: none; }


@media (max-width: 440px) { .mvauth { flex-wrap: nowrap; } .mvauth li { padding: 8px 9px; gap: 4px; font-size: 12px; letter-spacing: 0; } .mvauth b { font-size: 15px; margin: 0 1px; } .mvauth .ic { width: 14px; height: 14px; } }
@media (max-width: 370px) { .mvauth .ic { display: none; } }


@media (max-width: 1180px) { .plan-intro { grid-template-columns: minmax(0, 1fr); gap: 24px; } }


@media (max-width: 768px) { .hellomq { margin-bottom: 64px; padding: 14px 0 16px; } }

@media (max-width: 1180px) { .lang { grid-template-columns: minmax(0, 1fr); gap: 32px; } }


/* immersive scroll: bars slide away on scroll down, come back on scroll up (DESIGN_RULES 6-0-1) */
.spbar { padding-bottom: env(safe-area-inset-bottom); height: calc(64px + env(safe-area-inset-bottom)); }
.hdr, .spbar { will-change: transform; }
/* hellomq band: top/bottom lines separate the strip from the section below */
