/* =========================================================================
   motif.css — モチーフ物語型（blades.css の汎用化版）
   -------------------------------------------------------------------------
   ★重なり対策の要点
     文言を「同じ場所に重ねて出し入れ」すると必ず衝突する。
     1つの文言＝1つのセクション（.bs-beat）とし、通常フローで縦に積む。
     各セクションは最低でも画面1枚ぶんの高さを持つので、原理的に重ならない。

   ★白の章の地の色（#F4F2ED）は bs-config.js の motif.flipColor と対。
     片方を変えたら両方変えること。
   ========================================================================= */

/* 舞台は canvas を置くだけ。高さは持たせない（文章側が高さを作る） */
[data-progress] .bs-stage,
.bs-stage { height: 0; }
[data-progress] .bs-stage__sticky,
.bs-stage__sticky { position: static; height: 0; overflow: visible; }

.bs-script { position: relative; z-index: 1; }

/* ---------- 1文言＝1画面 ---------- */
.bs-beat {
  min-height: 100svh;
  display: grid;
  align-content: center;
  row-gap: clamp(.5rem, 1.6vh, 1.4rem);
  padding: clamp(96px, 14vh, 160px) var(--pad) clamp(80px, 12vh, 140px);
  box-sizing: border-box;
}
.bs-beat--left   { place-items: center start; }
.bs-beat--right  { place-items: center end; text-align: right; }
/* 端に寄せた節が画面幅いっぱいに伸びると、寄せた意味がなくなる */
.bs-beat--left > *, .bs-beat--right > * { max-width: min(26ch, 62vw); }
/* 横に流すぶん、はみ出しを切る。clip なら sticky が生きたまま切れる */
.bs-script { overflow-x: clip; }
.bs-beat--center { place-items: center; text-align: center; }
.bs-beat--bottom { place-items: end center; text-align: center; }
.bs-beat--short  { min-height: 52svh; }
.bs-beat--hero   { min-height: 100svh; }

/* 白の章は詰めて、文字を左右へ振り、図面と場所を分け合う */
.bs-light .bs-beat { min-height: 74svh; padding-block: clamp(60px, 9vh, 110px); }
.bs-light .bs-beat--hero { min-height: 100svh; }
.bs-light .bs-beat--pair { min-height: 92svh; }
.bs-beat--l { place-items: center start; text-align: left; }
.bs-beat--r { place-items: center end; text-align: right; }
.bs-beat--l > *, .bs-beat--r > * { max-width: min(30ch, 52vw); }

.bs-beat > * { max-width: min(52ch, 92vw); }

.bs-no {
  margin: 0 0 .7rem; font-family: var(--font-ui);
  font-size: clamp(.78rem, 1.0vw, .95rem); letter-spacing: .3em;
  color: rgba(242, 239, 233, .72);           /* 暗い地の上でも消えない濃さ */
  text-shadow: 0 1px 10px rgba(3, 8, 14, .85);
}
.bs-beat__line {
  margin: 0; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.0rem, 4.6vw, 4.0rem); letter-spacing: .05em; line-height: 1.45;
}
.bs-beat__mid {
  margin: 0; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.95rem, 4.2vw, 3.6rem); line-height: 1.62; letter-spacing: .05em;
}
.bs-beat__big {
  margin: 0; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.35rem, 5.4vw, 5.0rem); line-height: 1.42; letter-spacing: .035em;
}
.bs-brand { display: inline-block; margin-top: .35em; letter-spacing: .18em; }

/* 三つの名。横並びが窮屈なら自動で折り返す */
.bs-three {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(12px, 2.4vw, 40px);
}
.bs-three li {
  font-family: var(--font-ui); font-size: clamp(.76rem, 1.15vw, .98rem);
  letter-spacing: .2em; padding: .55em 0; position: relative;
}
.bs-three li::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--line);
}
.bs-three li + li::before {
  content: "×"; margin-right: clamp(12px, 2.4vw, 40px); color: var(--ink-faint);
}

/* ═══════════ 地の明暗に文字を追従させる ═══════════
   3D の地は暗 → 明 と変わる。文字色を固定にすると、
   反転した瞬間に読めなくなる。data-tone を見て色を入れ替える。 */
:root[data-tone="light"] .bs-script > .bs-beat,
:root[data-tone="light"] .bs-beat--award {
  --ink: #14120F;
  --ink-dim: rgba(20, 18, 15, .68);
  --ink-faint: rgba(20, 18, 15, .34);
  --line: rgba(20, 18, 15, .18);
  color: #14120F;
}
/* 明るい地では、白い光彩で文字を浮かせる */
:root[data-tone="light"] .bs-script > .bs-beat .bs-beat__big,
:root[data-tone="light"] .bs-script > .bs-beat .bs-beat__mid,
:root[data-tone="light"] .bs-script > .bs-beat .bs-beat__line {
  text-shadow: 0 1px 16px rgba(244,242,237,.95), 0 0 46px rgba(244,242,237,.85);
}
/* 暗い地では、黒い落ち影で文字を浮かせる */
:root[data-tone="dark"] .bs-script > .bs-beat .bs-beat__big,
:root[data-tone="dark"] .bs-script > .bs-beat .bs-beat__mid,
:root[data-tone="dark"] .bs-script > .bs-beat .bs-beat__line {
  text-shadow: 0 2px 22px rgba(3,8,14,.92), 0 0 56px rgba(3,8,14,.72);
}
/* 実績の金は、明るい地では影を濃くして輪郭を保つ */
:root[data-tone="light"] .bs-award::before {
  background: radial-gradient(58% 52% at 50% 52%, rgba(255,255,255,.86), transparent 72%);
}
:root[data-tone="light"] .bs-award__label { color: #6B5518; text-shadow: none; }
:root[data-tone="light"] .bs-award__value {
  filter: drop-shadow(0 1px 2px rgba(255,255,255,.9)) drop-shadow(0 2px 10px rgba(138,106,30,.35));
}

/* ═══════════ 実績（背景なし・月桂冠） ═══════════
   地を敷かない代わりに、金の発光と落ち影で読ませる。 */
.bs-beat--award { place-items: center; min-height: 92svh; }

.bs-award-row {
  list-style: none; margin: 0; padding: 0;
  width: min(1240px, 96vw); max-width: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(26px, 3.6vw, 64px);
}

.bs-award {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; justify-items: center; gap: clamp(2px, .5vw, 8px);
}
/* 文字の背後だけをそっと沈める。四角い板は置かない */
.bs-award::before {
  content: ""; position: absolute; inset: -8% -4%;
  background: radial-gradient(64% 58% at 50% 52%, rgba(4,10,16,.88), rgba(4,10,16,.55) 46%, transparent 76%);
  z-index: -1;
}

.bs-wreath {
  width: clamp(46px, 4.6vw, 74px); height: auto;
  filter: drop-shadow(0 2px 14px rgba(201,162,39,.45));
}
.bs-award .bs-wreath:first-child { transform: scaleX(-1); }

.bs-award__body { display: grid; gap: .55em; text-align: center; }
.bs-award__label {
  font-family: var(--font-ui); font-weight: 500;
  font-size: clamp(.86rem, 1.05vw, 1.06rem); letter-spacing: .1em; line-height: 1.7;
  text-wrap: balance;
  color: #F3E7BE;
  text-shadow: 0 2px 12px rgba(4,10,16,.9);
}
.bs-award__value {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 3.9vw, 3.3rem); line-height: 1.06; letter-spacing: .02em;
  background: linear-gradient(178deg, #FFF8DC 0%, #F0D67B 34%, #C9A227 62%, #8A6A1E 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.55)) drop-shadow(0 0 26px rgba(233,197,88,.45));
  white-space: nowrap;
}

@media (max-width: 720px) {
  .bs-award-row { gap: clamp(30px, 6vh, 52px); }
  /* 1列になると 1fr が伸びて、冠だけが画面の両端へ飛ぶ。文字に添わせる */
  .bs-award { grid-template-columns: auto auto auto; justify-content: center;
    gap: clamp(8px, 3vw, 18px); }
  .bs-wreath { width: clamp(46px, 13vw, 68px); }
}

/* =========================================================================
   白の章。ここから地が明るく変わる。
   solid な背景で canvas を覆うので、JSに頼らず確実に切り替わる。
   ========================================================================= */
.bs-light {
  --ink: #14120F;
  --ink-dim: rgba(20, 18, 15, .66);
  --ink-faint: rgba(20, 18, 15, .56);
  --line: rgba(20, 18, 15, .16);
  --bg: #F4F2ED;
  background: #F4F2ED;      /* 3Dが無いときの地 */
  color: #14120F;
  position: relative; z-index: 2;
}
/* 3Dが動いているときは地を透かし、背後の図面を見せる。
   白は canvas の clearColor が受け持つ。 */
.has-3d .bs-light { background: transparent; }
.has-3d .bs-svc__item,
.has-3d .bs-footer--light { background: rgba(244, 242, 237, .82); backdrop-filter: blur(2px); }

.bs-beat--hero { padding-top: clamp(120px, 18vh, 220px); }
.bs-hero__copy {
  margin: 0; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.4rem, 7.2vw, 6.4rem); line-height: 1.2; letter-spacing: .02em;
}
.bs-hero__copy .bs-ch {
  display: inline-block; opacity: 0; transform: translateY(.55em);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.bs-hero__copy.is-in .bs-ch { opacity: 1; transform: none; }
/* 断言を受け止める一行。添え書きの大きさだと言い切りが伝わらない。
   見出しに次ぐ二番手として、明朝でドンと置く。 */
.bs-hero__sub {
  margin: clamp(28px, 4.6vh, 56px) 0 0;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.7rem, 4.0vw, 3.4rem); line-height: 1.4; letter-spacing: .06em;
  color: var(--ink);
  text-shadow: 0 2px 20px rgba(12, 6, 3, .92), 0 0 56px rgba(12, 6, 3, .7);
}
.has-3d .bs-light .bs-beat__big,
.has-3d .bs-light .bs-beat__mid,
.has-3d .bs-light .bs-ask {
  text-shadow: 0 1px 18px rgba(244, 242, 237, .9), 0 0 42px rgba(244, 242, 237, .75);
}
.bs-beat__after { margin-top: clamp(26px, 4vh, 52px); }
/* 「求められるのは」「そして」の前置き。小見出し扱いだと本文に食われて、
   一続きの文として読めない。次の一行を受け止める大きさで置く。 */
.bs-lead-small {
  margin: 0 0 clamp(20px, 3.2vh, 38px);
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  letter-spacing: .12em; line-height: 1.5; color: var(--ink);
}
.bs-ask {
  margin: 0 0 .9em; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1.6; letter-spacing: .05em;
}
.bs-ask__end { margin-top: clamp(26px, 4vh, 52px); }

/* ---------- お客様の声 ---------- */
.bs-h2 {
  margin: 0 0 clamp(34px, 5vh, 64px); font-family: var(--font-display);
  font-weight: 300; font-size: clamp(1.7rem, 3.4vw, 3.0rem); line-height: 1.4;
}
.bs-voices__title {
  margin: .8rem 0 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.8rem); line-height: 1.45; color: #123a8a;
}
.bs-voices__note { margin: 1.4rem 0 clamp(30px, 5vh, 56px);
  padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }

.bs-voice {
  display: grid; gap: clamp(20px, 3vw, 48px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  align-items: start;
  padding-bottom: clamp(34px, 5vh, 60px);
  margin-bottom: clamp(34px, 5vh, 60px);
  border-bottom: 1px solid var(--line);
}
.bs-voice:last-child { border-bottom: 0; margin-bottom: 0; }
/* サムネイル無し（文字だけ）の声。1カラムで置く */
.bs-voice--text { grid-template-columns: 1fr; }
/* 対談動画のサムネイルを使うときの器（実物の16:9をそのまま活かす） */
.bs-voice__thumb {
  position: relative; display: block; overflow: hidden;
  border-radius: 3px; background: #0f2450; line-height: 0;
  transition: transform .6s var(--ease);
}
.bs-voice__thumb img { width: 100%; height: auto; display: block; }
.bs-voice__thumb:hover { transform: translateY(-3px); }
.bs-voice__play {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
  width: clamp(46px, 4.4vw, 62px); aspect-ratio: 1; border-radius: 999px;
  background: rgba(255,255,255,.92);
  transition: background-color .4s var(--ease), transform .4s var(--ease);
}
.bs-voice__play::after {
  content: ""; position: absolute; inset: 50% auto auto 54%;
  transform: translate(-50%, -50%);
  border-style: solid; border-width: .48em 0 .48em .78em;
  border-color: transparent transparent transparent #b4261f;
}
.bs-voice__thumb:hover .bs-voice__play { transform: translate(-50%, -50%) scale(1.08); }
/* どの声も同じ強さで見せる。2本目以降を小さくすると「おまけ」に見える */
.bs-voice__lead {
  margin: 0; font-weight: 700; line-height: 1.66;
  font-size: clamp(1.28rem, 2.1vw, 1.85rem); letter-spacing: .01em;
}
.bs-voice__lead--sm { font-size: clamp(1.28rem, 2.1vw, 1.85rem); }
.bs-voice__lead em { font-style: normal; color: #b4261f; }
.bs-voice__who {
  margin: 1.1rem 0 0; font-size: clamp(.88rem, 1.1vw, 1.02rem);
  letter-spacing: .06em; color: var(--ink-dim);
}

/* ---------- サービス ---------- */
.bs-svc {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.bs-svc__item {
  background: #F4F2ED; padding: clamp(26px, 3.4vw, 46px);
  display: grid; gap: .9rem; align-content: start;
}
.bs-svc__item h3 {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem); line-height: 1.5;
}
.bs-svc__item p { margin: 0; color: var(--ink-dim); font-size: clamp(.86rem, 1.02vw, .96rem); }

/* ---------- メッセージ・依頼 ---------- */
.bs-message { text-align: center; }
.bs-message__copy {
  margin: 1.2rem 0 0; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.5rem, 3.6vw, 3.1rem); line-height: 1.55; letter-spacing: .04em;
}
.bs-cta { text-align: center; }
.bs-cta__btn { margin-top: clamp(10px, 2vh, 22px); }

/* ---------- フッター（白） ---------- */
.bs-footer--light {
  --ink: #14120F; --ink-dim: rgba(20,18,15,.66);
  --ink-faint: rgba(20,18,15,.56); --line: rgba(20,18,15,.16); --bg: #F4F2ED;
  background: #F4F2ED; color: #14120F;
  position: relative; z-index: 2;
}
.bs-footer--light .bs-footer__block { background: #F4F2ED; }

/* ---------- スクロールの合図 ---------- */
.bs-hint { position: fixed; left: 50%; bottom: clamp(20px, 3.5vh, 46px);
  transform: translateX(-50%); z-index: 5; }

/* ---------- 狭い画面 ---------- */
@media (max-width: 860px) {
  .bs-voice { grid-template-columns: 1fr; }
  .bs-beat--right { place-items: center start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .bs-hero__copy .bs-ch { opacity: 1 !important; transform: none !important; }
}

/* 章の蝶番になる一行は、地が入れ替わる場所。小さいと切り替わりが伝わらない */
.bs-beat--short .bs-beat__mid {
  font-size: clamp(2.0rem, 4.4vw, 3.6rem); letter-spacing: .1em;
}
/* 前置きの小さい行が薄すぎて読めなかったので、濃さを戻す */
.bs-lead-small { color: var(--ink); }
:root[data-tone="light"] .bs-lead-small { color: rgba(20, 18, 15, .82); }

/* 図面が透けるぶん、出典・注記は白の光彩で持ち上げる */
.has-3d .bs-light [class$="__cite"],
.has-3d .bs-light .bs-note,
.has-3d .bs-light figcaption {
  text-shadow: 0 1px 10px rgba(244,242,237,.95);
}

/* ═══════════ 幕（スプラッシュ） ═══════════
   本編の3Dとは別物。中央に紋を置き、要素が一枚ずつ嵌まる。
   地は透かさない。ここは「入口」で、本編の続きではないため。 */
.has-js .bs-loader {
  position: fixed; inset: 0; z-index: 4000;
  display: grid; grid-template-rows: 1fr auto;
  place-items: center; gap: 0;
  padding: clamp(28px, 5vw, 72px);
  background:
    radial-gradient(72% 58% at 50% 44%, #0d1a24, #04090f 72%),
    #04090f;
  color: #F2EFE9;
  transition: opacity .85s ease, clip-path 1.1s cubic-bezier(.76, 0, .24, 1);
  clip-path: polygon(-30% 0, 130% 0, 130% 100%, -30% 100%);
}
/* ひと筋通ったように、斜めに開いて消える */
.bs-loader.is-gone {
  opacity: 0; pointer-events: none;
  clip-path: polygon(-30% -30%, 130% -130%, 130% -30%, -30% 130%);
}

.bs-loader__inner { display: grid; justify-items: center; gap: clamp(20px, 3.4vh, 44px); }
.bs-loader__foot {
  width: min(1100px, 92vw);
  display: grid; justify-items: end; gap: clamp(8px, 1.4vh, 16px);
}

/* ── 紋（見本＝三枚の花弁。モチーフに合わせて描き替えてよい） ── */
.bs-crest { width: clamp(230px, 28vw, 400px); height: auto; overflow: visible; }
.bs-crest__blade {
  transform: rotate(var(--a)) translateY(34px) scale(.965);
  /* 軸＝弁の中ほど。ここを軸にすると、三枚が中心で交わる */
  transform-origin: 0px -22px;
  opacity: 0;
  transition: transform .16s cubic-bezier(.18, 1.5, .36, 1), opacity .1s linear;
}
.bs-crest__blade.is-set { transform: rotate(var(--a)); opacity: 1; }

.bs-crest__stroke { fill: #C6D2DE; }
.bs-crest__vein   { fill: none; stroke: rgba(16, 26, 36, .38); stroke-width: 1.4; }

/* 嵌まった瞬間、光が走る */
.bs-crest__spark {
  fill: none; stroke: #FFFFFF; stroke-width: 11; stroke-linecap: round;
  opacity: 0; filter: blur(3px);
}
.bs-crest__blade.is-set .bs-crest__spark { animation: bs-chakin .34s ease-out 1; }
@keyframes bs-chakin {
  0%   { opacity: .95; stroke-width: 16; }
  100% { opacity: 0;   stroke-width: 4; }
}

/* 交点で弾ける火花 */
.bs-crest__flash { fill: #FFFFFF; opacity: 0;
  transform-origin: 0px -22px; }
.bs-crest.is-hit .bs-crest__flash { animation: bs-hit .38s ease-out 1; }
@keyframes bs-hit {
  0%   { opacity: .9; transform: scale(.2); }
  100% { opacity: 0;  transform: scale(2.6); }
}

.bs-loader__mark {
  margin: 0;
  font-family: var(--font-ui); font-weight: 500;
  font-size: clamp(.72rem, 1vw, .92rem); letter-spacing: .3em;
  color: rgba(242, 239, 233, .66);
  opacity: 0; animation: bs-splash-in 1.2s .2s ease forwards;
}
@keyframes bs-splash-in { to { opacity: 1; } }

/* 数取り機は隅へ。主役は紋 */
.bs-odo {
  display: flex; gap: .02em;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.0rem, 4.4vw, 3.6rem); line-height: 1;
  letter-spacing: -.01em; font-variant-numeric: tabular-nums;
  color: rgba(242, 239, 233, .8);
}
/* 帯の1コマは 1em。窓はそれより浅くして、隣のコマの頭と足が覗くのを切る */
.bs-odo__digit { display: block; height: .86em; overflow: hidden; }
.bs-odo__reel {
  display: block; margin-top: -.08em; will-change: transform;
  transition: transform .34s cubic-bezier(.22, 1, .36, 1);
}
.bs-odo__reel > span { display: block; height: 1em; line-height: 1; text-align: center; }

.bs-loader__bar {
  width: 100%; position: relative; height: 1px;
  background: rgba(242, 239, 233, .14); overflow: hidden;
}
.bs-loader__bar-fill {
  position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, rgba(242,239,233,.3), #F2EFE9);
}

/* 幕のあいだはヘッダーを伏せる */
.is-locked .bs-header { opacity: 0; transition: opacity .5s ease; }

@media (prefers-reduced-motion: reduce) {
  .has-js .bs-loader { transition: opacity .3s ease; clip-path: none; }
  .bs-loader.is-gone { clip-path: none; }
  .bs-crest__blade { transition: none; }
  .bs-crest__blade.is-set .bs-crest__spark,
  .bs-crest.is-hit .bs-crest__flash { animation: none; }
}

/* ═══════════ 熱の上に置く問い ═══════════
   もとは白の章の見出しなので濃紺のまま。熱の地では沈むので取り直す。 */
.bs-beat--ask { min-height: 96svh; }
.bs-beat--ask .bs-voices__title {
  margin: .9rem 0 0;
  font-size: clamp(2.1rem, 4.8vw, 4.2rem); line-height: 1.4;
  color: #F6F1E8;
  text-shadow: 0 2px 20px rgba(20, 6, 2, .95), 0 0 60px rgba(20, 6, 2, .8);
}
.bs-beat--ask .bs-meta {
  font-size: clamp(.86rem, 1.1vw, 1rem);
  color: rgba(246, 241, 232, .82);
  text-shadow: 0 2px 16px rgba(20, 6, 2, .96);
}
/* 前置きの小さい行が、熱の地でも沈んでいた */
:root[data-tone="dark"] .bs-lead-small {
  color: rgba(242, 239, 233, .92);
  text-shadow: 0 2px 18px rgba(12, 6, 3, .94);
}

/* 熱の章は「読ませる」より「言い切る」場所。薄墨をやめて地の色で押す */
:root[data-tone="dark"] .bs-script > .bs-beat .bs-beat__after,
:root[data-tone="dark"] .bs-script > .bs-beat .bs-hero__sub { color: var(--ink); }

/* ═══════════ ヘッダーのロゴ ═══════════
   地が暗 → 明 と反転する。文字ロゴは color の入れ替えで追従する。
   画像ロゴを使うなら、明暗2枚を data-tone で入れ替える（1枚だと必ず沈む）。 */
.bs-header__logo--text {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.02rem, 1.5vw, 1.35rem); letter-spacing: .2em;
  color: var(--ink); text-decoration: none;
  text-shadow: 0 1px 12px rgba(3, 8, 14, .6);
  transition: color .45s ease;
}
:root[data-tone="light"] .bs-header__logo--text {
  color: #14120F; text-shadow: 0 1px 10px rgba(244, 242, 237, .8);
}
html:not(.has-3d) .bs-header__logo--text { color: #14120F; text-shadow: none; }

.bs-header__logo { display: block; line-height: 0; }
.bs-header__logo--text { line-height: 1.4; }
.bs-header__logo-img {
  display: block; width: clamp(148px, 15vw, 218px); height: auto;
  transition: opacity .45s ease;
}
.bs-header__logo-img--light { display: none; }
:root[data-tone="light"] .bs-header__logo-img--dark { display: none; }
:root[data-tone="light"] .bs-header__logo-img--light { display: block; }
html:not(.has-3d) .bs-header__logo-img--dark { display: none; }
html:not(.has-3d) .bs-header__logo-img--light { display: block; }

/* ═══════════ メッセージの肖像と本文 ═══════════ */
.bs-portrait {
  margin: clamp(44px, 6.5vh, 84px) auto clamp(30px, 4.5vh, 52px);
  width: clamp(180px, 21vw, 280px);
}
.bs-portrait img {
  display: block; width: 100%; height: auto;
  border-radius: 999px;
  /* 白地に白背景の写真なので、輪郭が無いと溶ける */
  box-shadow: 0 0 0 1px rgba(20, 18, 15, .16),
              0 18px 46px rgba(20, 18, 15, .16);
  filter: grayscale(1) contrast(1.06);
}
.bs-portrait figcaption {
  margin-top: 1.1em; font-family: var(--font-ui);
  font-size: clamp(.86rem, 1.05vw, 1rem); letter-spacing: .12em;
  color: var(--ink-dim);
}
.bs-message__body {
  width: min(760px, 92vw); margin: 0 auto;
  text-align: left;
}
.bs-message__body p {
  margin: 0 0 1.5em;
  font-size: clamp(1.02rem, 1.35vw, 1.2rem); line-height: 2.1;
  letter-spacing: .03em;
}
.bs-message__body p:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
  .bs-message__body p { line-height: 1.95; }
}
