/* ============================================================
   ソラヒカリ トップだけの束（オープニング＋1画面目＋一日の図）
   2026-09-23 A-昼5 で役を広げた（design.md 第A5-13節）。名前は intro のまま（変えない）。
   1. オープニング 2. 1画面目 3. 一日の図 4. トップの節だけの組み 5. 動き

   ---- 1. オープニングの見た目 ----
   - 色・字体・余白は css/style.css のカスタムプロパティを使う。
     単体で開いても壊れないよう、var() には既定値を添えてある。
   - 2026-10-14 から案5「光から月へ」（ルミエナ入り。絵と CSS だけ・映像なし）のオープニング。
     （2026-09-25〜10-13 は実写の素材映像 img/intro-* の案3「パネルをはさむ」だった）
     ここに置くのは幕の外枠・スキップと、動きを減らす設定の押さえだけ。
     中身と時間割は初回だけ読む css/intro-op.css（js/intro.js が出すと決めたときだけ差し込む）。
   - 全体の尺は css/intro-op.css の --op-total。JS はそれを読むだけ（二重に持たない）。
   2026-09-17
   ============================================================ */

/* 幕の外枠（紺の地・0.20秒で出る）。中身が届く前から最後まで同じ場所に出ている */
.op {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: #0A192B;
  color: #EEF3F8;
  font-family: var(--f-base, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", "Meiryo", sans-serif);
  animation: op-in .2s ease-out both;
  /* 2026-10-15 サイトの色を案B「澄んだ宵」にしたが、オープニングは今の深い紺のまま（本人の決め）。
     css/intro-op.css の空・夜は style.css の変数を読むので、幕の中だけ前の値に戻しておく */
  --c-sky-0: #0D2442; --c-sky-1: #1C3A60; --c-sky-2: #3A4A72;
  --c-night-0: #0F2238; --c-night-3: #0A192B;
}
@keyframes op-in { from { opacity: 0; } to { opacity: 1; } }

/* ---- スキップ（いつでも押せる。48px 角より大きく。夜の組み） ---- */
.op-skip {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: calc(12px + env(safe-area-inset-right, 0px));
  z-index: 2;
  min-width: 108px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid #CFE0F2;
  border-radius: var(--r-s, 6px);
  background: rgba(10,25,43,.72);   /* 白の上でも字 6.35:1（spec 第6-6節） */
  color: #EEF3F8;
  font-family: inherit;
  font-size: var(--fs-body, 16px);
  font-weight: 700;
  line-height: 46px;
  cursor: pointer;
  -webkit-appearance: none;
          appearance: none;
}
.op-skip:hover { background: rgba(10,25,43,.90); }
.op-skip:focus-visible { outline: 3px solid #CFE0F2; outline-offset: 2px; }

/* ---- 幕の出入りで本編の幅を変えないための備え（seo.md 15-3 の CLS） ----
   ここにあった html { scrollbar-gutter: stable } は 2026-09-17 に消した。
   バーが出ていない幅でも 15px を先に取ってしまうので、中身の幅が 375 → 360px に縮み、
   ヘッダーが2段に折れて 97px → 113px になった（design.md 8-1 の上限 110px を割る）。
   代わりに js/intro.js が、幕が出ている間だけ消えるバーのぶんを
   html の padding-right で埋め、幕を消すときに元へ戻す（CLS の手当ては捨てていない）。 */

/* ============================================================
   動きを減らす設定の人には出さない。
   （JS 側でも出さないようにしてある。これは二重の押さえ）
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .op { display: none !important; }
}

/* ==== 2. 1画面目（design.md 第A5-6節。組みは試作と1px も変えない。
   背骨 --hz ＝ ヒーローの上端から地平線まで。重なりは 空 → 弧 → 夜の写真 → 字） ==== */
:root { --hz: 216px; --catch-fs: clamp(34px, 10.6vw, 44px); --catch-lh: calc(var(--catch-fs) * 1.1); --c-catch-use: #FFB880; --c-catch-day: #FFD66B; --c-catch-night: #8FDAF2; }
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.hero-sky { position: absolute; left: 0; right: 0; top: 0; height: var(--hz); overflow: hidden; background: var(--c-sky-0); }
.hero-day, .hero-day img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; }
.hero-day img { object-fit: cover; object-position: 50% 50%; }
/* 左下だけ暗くする膜／地平線 1px */
.hero-sky::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 72% 120% at 0% 100%, rgba(26,65,111,.36) 0, rgba(26,65,111,.12) 45%, rgba(26,65,111,0) 100%); }
.hero-sky::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(207,224,242,.6); z-index: 2; }
.hero-arc { position: absolute; left: 0; top: 0; width: 100%; height: var(--hz); max-width: none; z-index: 1; pointer-events: none; }
.hero-arc--l { display: none; }
.hero-sun { opacity: 0; }   /* 止まった姿では沈んでいて見えない（第A5-11節） */
.hero-night { position: absolute; left: 0; right: 0; top: var(--hz); bottom: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 48px, #000 calc(100% - 96px), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 48px, #000 calc(100% - 96px), transparent 100%); }
.hero-night picture, .hero-night img { display: block; width: 100%; height: 100%; max-width: none; }
.hero-night img { object-fit: cover; object-position: 50% 0; transform-origin: 50% 0; }
.hero-night::after { content: ""; position: absolute; inset: 0; background: rgba(26,65,111,.25); }
.hero-inner { position: relative; z-index: 3; flex: 1; width: 100%; max-width: calc(var(--w-page) + var(--pad-side) * 2); margin: 0 auto; padding: calc(var(--hz) - 12px - var(--catch-lh) * 2) var(--pad-side) 40px; }
/* 字のうしろの膜（第A5-9節）。z-index を付けない（どの字も覆わない） */
.halo { position: relative; }
.halo::before { content: ""; position: absolute; inset: -56px; z-index: -1; background: var(--c-scrim); filter: blur(28px); pointer-events: none; }
.hero-catch { margin: 0; font-family: var(--f-mincho); font-weight: 600; font-size: var(--catch-fs); line-height: 1.1; letter-spacing: .06em; font-feature-settings: "palt"; color: var(--c-ink); }
.hero-catch-sky, .hero-catch-use, .hero-catch-day, .hero-catch-night { display: block; white-space: nowrap; }
/* 空の段（昼の2行）の字の膜は1枚（スマホ .95／768px〜 .88。2026-10-14 キャッチ案6） */
.hero-catch-sky { position: relative; width: max-content; text-shadow: 0 2px 18px rgba(26,65,111,.55); }
.hero-catch-use { color: var(--c-catch-use); }
.hero-catch-day { margin-left: 2.5em; color: var(--c-catch-day); }   /* 段ずらし（太陽が弧を渡る向き） */
.hero-catch-sky::before { content: ""; position: absolute; z-index: -1; inset: -22px -32px -6px -32px; background: rgba(26,65,111,.95); filter: blur(22px); pointer-events: none; }
.hero-catch-night { margin-top: 24px; color: var(--c-catch-night); }
.hero-catch-night.halo { width: max-content; }
.hero-catch-night.halo::before { top: -12px; }   /* 地平線の上の空を暗くしない */
/* トップの h1 はゴシック。3段の大きさはここで上書き（第A5-4節） */
.hero-id { margin-top: 32px; }
.hero h1 { margin: 0; font-family: var(--f-base); font-weight: 700; color: var(--c-ink); }
.hero-id .hero-h1-area, .hero-id .hero-h1-main, .hero-id .hero-h1-act { display: block; }   /* 土台も自分で持つ（pg-main は読まない） */
.hero-id .hero-h1-area { font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: .08em; }
.hero-id .hero-h1-main, .hero-id .hero-h1-act { font-size: 22px; line-height: 1.4; letter-spacing: .02em; margin-top: 0; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.hero-actions .btn { width: 100%; }
.hero .lead { margin: 24px 0 0; font-size: 15px; line-height: 1.85; color: var(--c-text); max-width: 34em; }
.hero .photo-note { margin-top: 24px; }
/* 金のボタンのまわりの光（1画面目だけ） */
.cta-halo { position: relative; z-index: 0; }
.cta-halo::before { content: ""; position: absolute; inset: -18px -24px; z-index: -1; background: radial-gradient(closest-side, rgba(240,180,41,.28), rgba(240,180,41,0)); pointer-events: none; }
.photo-note { margin: var(--s-2) 0 0; font-size: var(--fs-note); line-height: var(--lh-note); color: var(--c-text-weak); text-align: right; }

/* ==== 3. 一日の図（第A5-10節の正本。座標・色・札の位置は試作のまま。
   水色 #8FDAF2 は図の中と、キャッチの3段目「夜につかう。」だけ（2026-09-25 第A5-3節）。札は押せない。影はここの2つだけ） ==== */
.day-fig { margin: 56px 0 0; }
.day-band { display: flex; margin-bottom: 12px; }
.day-band > span { flex: 1 1 50%; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; font-family: var(--f-mincho); font-weight: 600; font-size: 20px; line-height: 1.3; letter-spacing: .06em; }
.day-band-day { color: #F3CD73; }   /* 2026-10-15 案B で地が明るくなり、金 --c-cta だと 375px（20px）で 4.36:1。目盛りの昼と同じ色で 5.34:1 */
.day-band-night { color: #8FDAF2; padding-left: 12px; }
.day-ico { width: 18px; height: 18px; flex: none; }
.day-band-sub { font-family: var(--f-base); font-weight: 600; font-size: 14px; letter-spacing: .04em; color: var(--c-text); word-break: auto-phrase; text-wrap: balance; }
.day-plot { position: relative; height: 180px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(207,224,242,.16), 0 24px 48px -28px rgba(240,180,41,.45); }
.day-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.day-now { position: absolute; top: 0; bottom: 0; left: 100%; width: 1px; background: var(--c-cta); opacity: 0; }
.day-lab { position: absolute; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px; font-size: 14px; line-height: 1.4; font-weight: 700; letter-spacing: .06em; color: var(--c-night-3); white-space: nowrap; box-shadow: 0 4px 12px rgba(5,12,24,.35); }
.day-lab--gen { background: var(--c-cta); }
.day-lab--batt { background: #8FDAF2; }
.day-axis { display: flex; justify-content: space-between; list-style: none; margin: 8px 0 0; padding: 0; font-size: 14px; line-height: 1.7; color: var(--c-text-weak); }
.day-axis li, .day-key li { margin: 0; }
.day-axis li:nth-child(-n+2) { color: #F3CD73; }
.day-axis li:nth-child(n+4) { color: #B9E6F5; }
.day-key { display: flex; flex-wrap: wrap; gap: 4px 24px; list-style: none; margin: 16px 0 0; padding: 0; font-size: 14px; line-height: 1.7; color: var(--c-text); }
.day-key li { display: flex; align-items: center; gap: 8px; }
.day-key li::before { content: ""; width: 20px; flex: none; border-radius: 2px; }
.day-key-gen::before { height: 12px; background: linear-gradient(to bottom, rgba(240,180,41,.7), rgba(240,180,41,.12)); border-top: 2px solid var(--c-cta); }
.day-key-batt::before { height: 3px; background: #8FDAF2; }
.day-fig figcaption { margin-top: 8px; }
@media (max-width: 767px) { .day-band-sub { flex-basis: 100%; margin-top: 2px; } }

/* ==== 4. トップの節だけの組み（第A5-12-1節） ==== */
.honest .honest-box { max-width: var(--w-text); }
/* 四つのお約束（箱をやめ、上に 1px。.cards／.card は style.css から移した） */
.cards { display: grid; gap: 40px 48px; align-items: start; padding: 0; margin: 0; list-style: none; }
.card { border-top: 1px solid var(--c-line); padding: var(--s-5) 0 0; margin: 0; }
.card h3 { margin-bottom: var(--s-3); }
.card p { margin-bottom: 0; }
.card .fig { display: block; width: 64px; height: 64px; margin-bottom: var(--s-3); color: var(--c-main); }
/* 流れ＝夜道の4つの灯り。道と灯りは節の頭の絵 img/nagare-michi.svg が持つ（2026-09-25 design.md 第A5-17節）。::before が番号（明朝）。3段目の番号だけ明るい */
.lamps { list-style: none; margin: 0; padding: 0; }
.lamps > li { margin: 0; }
.lamps > li + li { margin-top: 40px; }
.lamps > li::before { content: attr(data-step); display: block; font-family: var(--f-mincho); font-weight: 600; font-size: 28px; line-height: 1; letter-spacing: 0; color: var(--c-text-weak); margin-bottom: 12px; }
.lamps > [data-step="3"]::before { color: var(--c-ink); }
.lamps + .note-box { margin: 48px 0 0; }
/* 節の頭の大きな絵（#6 流れ・#9 地域。第A5-17節）。スマホは画面の端から端まで */
.sec-art { display: block; width: calc(100% + var(--pad-side) * 2); max-width: none; height: auto; margin: 0 calc(var(--pad-side) * -1) 32px; }
/* セットにする理由: 写真 → h2 → 一日の図 → 理由2つ → 注釈 → ボタン（写真を h2 の前へ。2026-09-25 第A5-17節） */
.photo-cell { margin: 0 calc(var(--pad-side) * -1) var(--h2-b); }
.photo-cell img { display: block; width: 100%; height: auto; background: var(--c-bg-soft); }
.photo-cell .photo-note { padding: 0 var(--pad-side); }
.reasons { margin-top: 56px; }
.reason + .reason { margin-top: 40px; }
.reasons p { max-width: 34em; }
.reasons + .note-box, .reasons ~ .btn-stack { margin-top: 40px; }
/* 停電の備え（#7b。design.md 第A5-16節）。絵が先・文字はあと（第A5-0節）: 大きな絵（上にキャッチ）→ h2 → 左右の家の短い字 → 畳んだ条件 → ボタン。
   絵は img/teiden2-town.svg（字を持たない）。絵の上に置く字はキャッチと注だけ（第A5-16節の3） */
.tei-scene { display: grid; margin: 0 calc(var(--pad-side) * -1) 24px; }
.tei-scene > * { grid-area: 1 / 1; }
.tei-scene p { position: relative; }
.tei-scene img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 58% 100%; }
.catch2 { align-self: start; margin: 0; padding: 0 var(--pad-side); font-family: var(--f-mincho); font-weight: 600; font-size: clamp(30px, 8.6vw, 36px); line-height: 1.1; letter-spacing: .06em; font-feature-settings: "palt"; color: var(--c-ink); }
.catch2 span { display: block; }
.tei-note { align-self: end; margin: 0; padding: 0 var(--pad-side) 12px; font-size: 14px; line-height: 1.7; color: var(--c-text-weak); }
.tei-key { margin: 0; }
.tei-key div + div { margin-top: 16px; }
.tei-key dt { font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--c-head); }
.tei-key dd { margin: 0; text-wrap: pretty; }
.teiden .fold { margin-top: 24px; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.teiden .fold-body { padding-bottom: 16px; }
.teiden .btn-stack { margin-top: 32px; }
/* 縦を詰める（トップだけ・スマホだけ。design.md 第A5-16節の6。上の .card .fig と .lamps > li::before の余白に勝つよう、この4節の後ろに置く）。
   #7 の写真の 2:1 の切り抜きは 2026-09-25 に外した（元の比 750×549 に戻す。第A5-17節） */
@media (max-width: 767px) {
  :root { --sec-pad-b: 48px; }
  .card { display: grid; grid-template-columns: 64px 1fr; gap: 0 16px; align-items: center; } .card .fig { margin: 0; } .card p { grid-column: 1 / -1; }
  .lamps > li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; } .lamps > li::before { margin: 0; } .lamps > li > p { grid-column: 1 / -1; }
}
/* 4都県は明朝の2×2、区切り 1px */
.area-list { gap: 0 24px; }
.area-list li { background: none; border: 0; border-top: 1px solid var(--c-line); border-radius: 0; padding: 12px 0; text-align: left; font-family: var(--f-mincho); font-weight: 600; font-size: 20px; line-height: 1.4; }

@media (min-width: 768px) {
  :root { --hz: 300px; --catch-fs: 64px; }
  .hero-inner > .hero-id { max-width: 640px; }
  .hero .photo-note { margin-left: auto; }
  .hero-id .hero-h1-area { font-size: 18px; }
  .hero-id .hero-h1-main, .hero-id .hero-h1-act { font-size: 26px; }
  .hero .lead { font-size: 16px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .hero-actions .btn { width: auto; }
  .hero-actions .btn--cta { min-width: 260px; padding: 0 32px; }
  .hero-actions .btn--sub { min-width: 188px; padding: 0 32px; }
  .hero-catch-sky::before { background: rgba(26,65,111,.88); }
  .day-band > span { font-size: 24px; }
  .day-plot { height: 220px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .lamps > li::before { font-size: 32px; }
  .photo-cell { margin: 0 0 var(--h2-b); }
  .sec-art { width: 100%; margin: 0 0 48px; }
  .lamps-art { aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 100%; }
  .area-art { max-width: var(--w-text); margin: 0 auto 48px; }
  .photo-cell .photo-note { padding: 0; }
  .area-list li { font-size: 24px; }
  .tei-scene img { aspect-ratio: 16 / 9; object-position: 50% 100%; }
  .catch2 { font-size: 48px; }
}

/* 1100px〜: 1画面目は2列（キャッチは両列、h1〜リードは右 460px） */
@media (min-width: 1100px) {
  /* --h-head-pc ＝ いまのヘッダーの実高さ（仮置きの札が入った姿。1280px）。札を差し替えた日に測り直してここだけ直す */
  :root { --hz: clamp(340px, calc(100svh - 432px), 460px); --catch-fs: 88px; --h-head-pc: 103px; }
  .hero-arc--s { display: none; }
  .hero-arc--l { display: block; }
  .hero { min-height: calc(100svh - var(--h-head-pc)); }
  .hero-inner { display: grid; grid-template-columns: 1fr 460px; grid-template-rows: auto auto 1fr; column-gap: 80px; }
  .hero-catch { grid-column: 1 / -1; grid-row: 1; }
  .hero-inner > .hero-id { grid-column: 2; grid-row: 2; margin-top: calc(-1 * var(--catch-lh)); max-width: none; }
  .hero-inner > .photo-note { grid-column: 1 / -1; grid-row: 3; align-self: end; justify-self: end; }
  .hero-id .hero-h1-area { font-size: 20px; }
  .hero-id .hero-h1-main, .hero-id .hero-h1-act { font-size: 30px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn--cta, .hero-actions .btn--sub { min-height: 60px; }
  .hero-actions .cta-halo { display: flex; flex: 1 1 220px; }
  .hero-actions .cta-halo .btn--cta { flex: 1; min-width: 0; padding: 0 20px; }
  .hero-actions .btn--sub { flex: 1 1 auto; min-width: 0; padding: 0 20px; }
  .hero-inner > .hero-id.halo::before { top: -12px; }
  .honest { display: grid; grid-template-columns: 360px 1fr; column-gap: 80px; align-items: start; }
  .honest h2 { margin-bottom: 0; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .lamps { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 40px; }
  .lamps > li + li { margin-top: 0; }
  .area { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; column-gap: 80px; }
  .area-art { grid-row: 1 / 3; margin: 0; }
  .photo-cell img { height: 440px; object-fit: cover; object-position: 60% 50%; }
  .day-fig { margin-top: 80px; }
  .day-plot { height: 260px; }
  .reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: 48px; margin-top: 72px; }
  .reason + .reason { margin-top: 0; }
  .reasons + .note-box { margin-top: 56px; }
  .reasons ~ .btn-stack { margin-top: 48px; }
  .tei-scene { margin-bottom: 48px; }
  .tei-scene img { aspect-ratio: 2 / 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
  .catch2 { font-size: 64px; }
  .tei-body { display: grid; grid-template-columns: 360px 1fr; column-gap: 80px; }
  .teiden .btn-stack { margin-top: 40px; }
}

/* ==== 5. 動き（第A5-11節。印は js/intro.js が <html> に付ける ――
   sun-hold ＝ 幕の裏で待つ（2026-10-14 から intro.js は付けていない）／sun-run ＝ 走る。印が無い姿 ＝ 動きが終わったあとの姿。
   時間割は試作のまま。@keyframes と sun-hold は全部この中） ==== */
@media (prefers-reduced-motion: no-preference) {
  .sun-hold .hero-arc-path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .sun-hold .hero-tick, .sun-hold .cta-halo::before { opacity: 0; }
  .sun-hold .hero-day img { filter: brightness(.3) saturate(.5); transform: scale(1.06); }
  .sun-hold .hero-night img { opacity: .45; }
  .sun-run .hero-arc-path { stroke-dasharray: 1; stroke-dashoffset: 0; animation: hs-draw 3.2s cubic-bezier(.45,.05,.55,.95) both; }
  .sun-run .hero-sun { animation: hs-cross 3.2s cubic-bezier(.45,.05,.55,.95) both, hs-set .6s ease-in 3.2s forwards; }
  .sun-run .hero-tick { animation: hs-fade .4s ease-out both; }
  .sun-run .hero-tick--1 { animation-delay: .8s; }
  .sun-run .hero-tick--2 { animation-delay: 1.6s; }
  .sun-run .hero-tick--3 { animation-delay: 2.4s; }
  .sun-run .hero-day img { animation: hs-rise 3.2s cubic-bezier(.45,.05,.55,.95) both; }
  .sun-run .hero-night img { animation: hs-lights 1.2s ease-out 3.3s both, hs-push 24s ease-out forwards; }
  .sun-run .cta-halo::before { animation: hs-fade .8s ease-out 3.6s both; }
  .day-fig.is-wait .day-svg { clip-path: inset(0 100% 0 0); }
  .day-fig.is-run .day-svg { animation: dg-wipe 4s linear both; }
  .day-fig.is-run .day-now { animation: dg-now 4.3s linear both; }
  @keyframes hs-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes hs-cross { 0% { transform: rotate(var(--from)); opacity: 0; } 9.4% { opacity: 1; } 100% { transform: rotate(var(--to)); opacity: 1; } }
  @keyframes hs-set { 0% { transform: rotate(var(--to)); opacity: 1; } 100% { transform: rotate(var(--over)); opacity: 0; } }
  @keyframes hs-fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes hs-lights { from { opacity: .45; } to { opacity: 1; } }
  @keyframes hs-push { from { transform: scale(1); } to { transform: scale(1.04); } }
  @keyframes hs-rise { 0% { filter: brightness(.3) saturate(.5); transform: scale(1.06); } 100% { filter: brightness(1) saturate(1); transform: scale(1); } }
  @keyframes dg-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes dg-now { 0% { left: 0; opacity: 1; } 93% { left: 100%; opacity: 1; } 100% { left: 100%; opacity: 0; } }
}

/* ==== 6. ルミエナ（第A5-19節。形は sub.css と同じ。夜の面なので縁なし。動かさない） ==== */
.lm{--lm-size:80px;display:flex;align-items:center;gap:8px;margin:0 0 24px}
.lm-fig{flex:0 0 auto;width:var(--lm-size);height:var(--lm-size)}
.lm .lm-say{position:relative;margin:0;max-width:min(100%,32em);padding:10px 14px;border-radius:16px;background:var(--c-paper);color:#1F3349;font-family:"LmYusei",var(--f-base);font-size:16px;font-weight:400;line-height:1.6;text-align:left;text-wrap:balance;word-break:keep-all;overflow-wrap:anywhere}
.lm-say::before{content:"";position:absolute;left:-6px;top:calc(50% - 6px);width:12px;height:12px;background:inherit;transform:rotate(45deg)}
.lm--r{flex-direction:row-reverse}.lm--r .lm-say::before{left:auto;right:-6px}
@media(min-width:768px){.lm{--lm-size:112px}.band--closing .lm{justify-content:center}}
@font-face{font-family:"LmYusei";src:url("../fonts/lm-yusei-sub.woff2") format("woff2");font-weight:400;font-display:swap}
/* 補助金の入口（2026-10-29 本人「トップページの次に大きく目立つように、ルミエナから吹き出しで」）。
   吹き出しの面ぜんぶが補助金のページへのリンク。字は吹き出しの字（LmYusei）、金額だけ明朝で大きく */
.hojo-band{padding-top:40px}
.hojo-call{display:flex;flex-direction:column;align-items:center;gap:4px;max-width:720px;margin:0 auto;color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}
.hojo-lm{width:150px;height:150px;flex:0 0 auto}
.hojo-bubble{position:relative;width:100%;padding:22px 20px 20px;border:3px solid var(--c-cta);border-radius:24px;background:var(--c-paper);color:#1F3349;text-align:center;box-shadow:0 10px 30px rgba(10,25,43,.35);transition:transform .15s ease,box-shadow .15s ease}
.hojo-bubble::before{content:"";position:absolute;left:calc(50% - 12px);top:-14px;width:22px;height:22px;background:var(--c-paper);border-left:3px solid var(--c-cta);border-top:3px solid var(--c-cta);transform:rotate(45deg)}
.hojo-call .lm-say{margin:0;font-family:"LmYusei",var(--f-base);font-size:22px;line-height:1.5;color:#1F3349;word-break:keep-all;overflow-wrap:anywhere}
.hojo-call .pc-word{display:none}
.hojo-call .hojo-rei{margin:12px 0 0;font-size:16px;line-height:1.6;color:#1F3349}
.hojo-yen{font-family:var(--f-mincho);font-size:20px;font-weight:700}
.hojo-yen strong{font-size:44px;line-height:1.1;color:#0A192B;background:linear-gradient(transparent 62%,rgba(240,180,41,.55) 62%);padding:0 4px}
.hojo-call .hojo-go{display:inline-block;margin:14px 0 0;padding:12px 28px;border-radius:999px;background:var(--c-cta);color:var(--c-cta-ink);font-weight:700;font-size:17px;min-height:44px}
.hojo-go::after{content:" ▶"}
.hojo-call:hover .hojo-bubble,.hojo-call:focus-visible .hojo-bubble{transform:translateY(-2px);box-shadow:0 14px 34px rgba(10,25,43,.45)}
.hojo-call:focus-visible{outline:3px solid var(--c-cta-hover);outline-offset:6px;border-radius:24px}
.hojo-note{max-width:720px;margin:14px auto 0;font-size:14px;color:var(--c-text-weak);text-align:center}
@media(min-width:768px){
  .hojo-call{flex-direction:row;align-items:center;gap:28px}
  .hojo-lm{width:210px;height:210px}
  .hojo-bubble::before{left:-14px;top:calc(50% - 12px);border-top:0;border-bottom:3px solid var(--c-cta);transform:rotate(45deg)}
  .hojo-call .lm-say{font-size:26px}
  .hojo-call .sp-word{display:none}
  .hojo-call .pc-word{display:inline}
}
@media(prefers-reduced-motion:reduce){.hojo-bubble{transition:none}}
