/* ============================================================
   Luna 自己紹介LP v2（ファンタジーRPG公式サイト風・全振り版）
   深緑 × 金 × 紙 ／ Shippori Mincho ／ 額縁・光・粒子
   ============================================================ */

:root {
  --forest-0: #081712;   /* 最深部 */
  --forest-1: #0C2018;   /* 暗部ベース */
  --forest-2: #13291E;   /* 暗部フレーム */
  --paper:    #F4EDDA;   /* 紙地 */
  --paper-warm: #EFE5CC; /* 紙地（温） */
  --ink:      #2A3B31;   /* 紙上の文字 */
  --ink-soft: #55645A;
  --gold:      #C8A45E;
  --gold-soft: #D9BE85;
  --gold-pale: #EFE2BC;
  --gold-deep: #8D6C33;
  --ivory:     #F0E8D3;
  --serif: "Shippori Mincho", "Yu Mincho", serif;
  --sans:  "Noto Sans JP", sans-serif;
  --disp:  "Cormorant Garamond", "Shippori Mincho", serif;
}

/* ---------- リセット・基礎 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--forest-1);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: rgba(200, 164, 94, .45); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* 日本語の自然な折り返し（homepage鉄則#4） */
h1, h2, h3,
.hero__sub, .about__lead, .about__quote, .fl__ttl,
.philosophy__text, .footer__lead {
  overflow-wrap: break-word;
  line-break: strict;
}
@supports (word-break: auto-phrase) {
  h1, h2, h3,
  .hero__sub, .about__lead, .about__quote, .fl__ttl,
  .philosophy__text, .footer__lead {
    word-break: auto-phrase;
  }
}

.nb { white-space: nowrap; }

/* 金の箔押しグラデ文字 */
.h2--gold, .hero__catch {
  color: var(--gold-soft); /* clip未対応フォールバック */
  background: linear-gradient(172deg, #F4E7BD 4%, #DFC486 38%, #C8A45E 62%, #97742F 96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Chromiumはfractional DPR（Windows 150%表示等）でこのbackground-clip:text文字を
     スクロール後に再ラスタライズする際、ラインボックス境界に1pxのグラデ縞（横線）を
     描くバグがある（dsf=1.5のheadless実描画で再現確認済み・2026-07-18 修正③）。
     自前の合成レイヤーに昇格させてタイル再ラスタのシームを回避する */
  will-change: transform;
}

/* ---------- reveal（JS有効時のみ隠す） ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .95s ease, transform .95s cubic-bezier(.22, 1, .36, 1);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
/* グリッド内は時差で登場 */
html.js .pillars .reveal:nth-child(2),
html.js .strengths .reveal:nth-child(2),
html.js .quests .reveal:nth-child(2) { transition-delay: .12s; }
html.js .pillars .reveal:nth-child(3),
html.js .strengths .reveal:nth-child(3),
html.js .quests .reveal:nth-child(3) { transition-delay: .22s; }
html.js .pillars .reveal:nth-child(4),
html.js .strengths .reveal:nth-child(4),
html.js .quests .reveal:nth-child(4) { transition-delay: .32s; }
html.js .pillars .reveal:nth-child(5),
html.js .strengths .reveal:nth-child(5) { transition-delay: .42s; }

/* ============================================================
   0. ナビ
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(8, 23, 18, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(200, 164, 94, .3);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}
.nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  font-family: var(--disp); font-weight: 600; font-size: 1.5rem;
  letter-spacing: .18em; color: var(--gold-pale);
  display: flex; align-items: center; gap: 8px;
}
.nav__logo-mark { font-size: .8em; color: var(--gold); }
.nav__menu { display: flex; gap: 30px; }
.nav__menu a {
  position: relative; font-size: .86rem; letter-spacing: .1em;
  color: var(--ivory); padding: 6px 2px;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform .35s ease;
}
.nav__menu a:hover { color: var(--gold-soft); }
.nav__menu a:hover::after { transform: scaleX(1); }
.nav__toggle { display: none; }

@media (max-width: 820px) {
  .nav__inner { padding: 12px 18px; }
  /* ハンバーガーはJS有効時のみ表示（JS無効時はナビをインライン表示に切替） */
  html.js .nav__toggle {
    display: grid; gap: 5px; place-content: center;
    width: 46px; height: 46px; background: none;
    border: 1px solid rgba(200, 164, 94, .5); border-radius: 8px;
    cursor: pointer; z-index: 70; position: relative;
  }
  .nav__toggle span {
    width: 20px; height: 2px; background: var(--gold-soft);
    transition: transform .3s ease, opacity .3s ease;
  }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* フルスクリーン展開メニューはJS有効時のみ（開閉はJS依存のため） */
  html.js .nav__menu {
    position: fixed; inset: 0; z-index: 65;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px;
    background: rgba(8, 23, 18, .97);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    /* 閉時: opacity をフェードさせてから visibility を hidden に落とす（.35s遅延）。
       開時(.is-open)は visibility を即 visible にしてフォーカス可能にする＝
       開いた瞬間に先頭リンクへフォーカス移動できる */
    transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
  }
  html.js .nav__menu.is-open {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .35s ease, transform .35s ease, visibility 0s linear 0s;
  }
  .nav__menu a { font-family: var(--serif); font-size: 1.25rem; letter-spacing: .2em; padding: 12px 20px; }
  /* JS無効フォールバック: ナビリンクを全幅の折返し行として表示（導線を殺さない・右端見切れ防止） */
  html:not(.js) .nav__inner { flex-wrap: wrap; row-gap: 4px; }
  html:not(.js) .nav__menu {
    flex-basis: 100%; min-width: 0; flex-wrap: wrap; justify-content: flex-start; gap: 2px 14px;
  }
  html:not(.js) .nav__menu a { font-size: .9rem; letter-spacing: .1em; padding: 4px 6px; }
}

/* ============================================================
   1. Hero
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--forest-1);
}
.hero__bgwrap, .hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg { object-fit: cover; object-position: 68% 28%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(98deg, rgba(8, 23, 18, .9) 0%, rgba(8, 23, 18, .62) 32%, rgba(8, 23, 18, .12) 58%, rgba(8, 23, 18, 0) 72%),
    linear-gradient(180deg, rgba(8, 23, 18, .55) 0%, rgba(8, 23, 18, 0) 18%, rgba(8, 23, 18, 0) 72%, rgba(8, 23, 18, .82) 100%);
}
/* 光芒（codex画・黒地を screen 合成で透過） */
.hero__rays {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: 30% 0;
  mix-blend-mode: screen; pointer-events: none;
  animation: raysPulse 9s ease-in-out infinite alternate;
}
@keyframes raysPulse {
  from { opacity: .65; }
  to   { opacity: 1; }
}
.hero__frame {
  position: absolute; inset: clamp(10px, 1.6vw, 22px); z-index: 3; pointer-events: none;
  border: 1px solid rgba(200, 164, 94, .38);
  background-image:
    url("/assets/icons/corner-tl.webp"), url("/assets/icons/corner-tr.webp"),
    url("/assets/icons/corner-bl.webp"), url("/assets/icons/corner-br.webp");
  background-position: 8px 8px, calc(100% - 8px) 8px, 8px calc(100% - 8px), calc(100% - 8px) calc(100% - 8px);
  background-repeat: no-repeat;
  background-size: clamp(40px, 5vw, 68px) auto;
}
.dust { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

/* 舞う蝶（3匹・3層アニメ＝回遊軌道 × ふわふわ揺らぎ × 羽の開閉）
   .bfly       … 大きな回遊軌道（bflyPath1〜3）
   .bfly__sway … 傾き＋上下のゆらぎ（ひらひら感）
   img         … scaleX 振動で羽が開閉する羽ばたき
   ベースの transform は各軌道の 0% と同値＝ reduced-motion 時は定位置で静止 */
.bfly { position: absolute; top: 0; left: 0; z-index: 2; pointer-events: none; will-change: transform; }
.bfly__sway {
  display: block;
  animation: bflySway 3.6s ease-in-out infinite alternate;
}
.bfly img {
  width: 100%; height: auto;
  filter: drop-shadow(0 0 14px rgba(240, 214, 148, .35));
  transform-origin: 50% 50%;
  animation: bflyFlap .62s ease-in-out infinite alternate;
}
.bfly--2 .bfly__sway { animation-duration: 4.2s; animation-delay: -1.6s; }
.bfly--3 .bfly__sway { animation-duration: 3.1s; animation-delay: -0.9s; }
.bfly--2 img { animation-duration: .54s; animation-delay: -.2s; }
.bfly--3 img { animation-duration: .48s; animation-delay: -.35s; }
.bfly--1 { width: clamp(64px, 7vw, 110px); transform: translate(40vw, 16vh); animation: bflyPath1 36s ease-in-out infinite; }
.bfly--2 { width: clamp(44px, 5vw, 78px);  transform: translate(12vw, 10vh); animation: bflyPath2 44s ease-in-out infinite; animation-delay: -14s; }
.bfly--3 { width: clamp(34px, 4vw, 60px);  transform: translate(60vw, 66vh); animation: bflyPath3 30s ease-in-out infinite; animation-delay: -7s; }
/* 揺らぎ：傾きながらゆっくり浮き沈み（ひらひら感の土台） */
@keyframes bflySway {
  from { transform: rotate(-8deg) translateY(-5px); }
  to   { transform: rotate(9deg)  translateY(7px); }
}
/* 羽ばたき：横方向に縮む＝羽を閉じる → 開く（正面から見た開閉） */
@keyframes bflyFlap {
  from { transform: scaleX(1); }
  to   { transform: scaleX(.42); }
}
@keyframes bflyPath1 {
  0%   { transform: translate(40vw, 16vh); }
  18%  { transform: translate(56vw, 4vh); }
  38%  { transform: translate(86vw, 30vh); }
  56%  { transform: translate(52vw, 52vh); }
  76%  { transform: translate(30vw, 32vh); }
  100% { transform: translate(40vw, 16vh); }
}
@keyframes bflyPath2 {
  0%   { transform: translate(12vw, 10vh); }
  22%  { transform: translate(24vw, 14vh); }
  46%  { transform: translate(5vw, 16vh); }
  68%  { transform: translate(16vw, 5vh); }
  100% { transform: translate(12vw, 10vh); }
}
@keyframes bflyPath3 {
  0%   { transform: translate(60vw, 66vh); }
  24%  { transform: translate(76vw, 52vh); }
  50%  { transform: translate(64vw, 78vh); }
  74%  { transform: translate(46vw, 62vh); }
  100% { transform: translate(60vw, 66vh); }
}
@keyframes bflyPathM1 {
  0%   { transform: translate(6vw, 8vh); }
  25%  { transform: translate(22vw, 18vh); }
  50%  { transform: translate(4vw, 30vh); }
  75%  { transform: translate(16vw, 20vh); }
  100% { transform: translate(6vw, 8vh); }
}
@keyframes bflyPathM2 {
  0%   { transform: translate(74vw, 30vh); }
  28%  { transform: translate(86vw, 18vh); }
  55%  { transform: translate(70vw, 10vh); }
  80%  { transform: translate(82vw, 34vh); }
  100% { transform: translate(74vw, 30vh); }
}
@keyframes floaty {
  from { transform: translateY(-8px) rotate(-2deg); }
  to   { transform: translateY(10px) rotate(2.5deg); }
}

.hero__copy {
  position: relative; z-index: 4;
  padding: 120px 24px 90px clamp(24px, 7vw, 110px);
  max-width: 760px;
}
.hero__name {
  font-family: var(--serif); font-size: clamp(.82rem, 1.3vw, 1rem);
  letter-spacing: .22em; color: var(--gold-soft);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .6);
}
.hero__name span { color: rgba(217, 190, 133, .75); font-size: .9em; }
.hero__catch {
  margin-top: 26px;
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(2.5rem, 5.4vw, 4.3rem);
  line-height: 1.42; letter-spacing: .06em;
  filter: drop-shadow(0 3px 4px rgba(5, 13, 10, .75)) drop-shadow(0 0 26px rgba(240, 214, 148, .28));
}
.hero__sub {
  margin-top: 26px;
  font-size: clamp(1rem, 1.5vw, 1.22rem); line-height: 2.1; letter-spacing: .05em;
  color: var(--ivory); text-shadow: 0 1px 12px rgba(5, 13, 10, .85), 0 0 4px rgba(5, 13, 10, .9);
}
.hero__cta-row { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 16px; }

.btn {
  display: inline-block; padding: 15px 34px;
  font-family: var(--serif); font-weight: 700; font-size: .98rem; letter-spacing: .14em;
  border-radius: 4px; transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.btn--gold {
  color: #241B08;
  background: linear-gradient(178deg, #EBD8A4, #CBA75F 55%, #B18C43);
  border: 1px solid #8D6C33;
  box-shadow: inset 0 0 0 2px rgba(255, 250, 230, .32), 0 8px 22px rgba(0, 0, 0, .4);
}
.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 2px rgba(255, 250, 230, .4), 0 12px 30px rgba(0, 0, 0, .45), 0 0 26px rgba(216, 185, 116, .5);
}
.btn--ghost {
  color: var(--gold-pale);
  border: 1px solid rgba(200, 164, 94, .65);
  background: rgba(8, 23, 18, .35);
  box-shadow: inset 0 0 0 1px rgba(200, 164, 94, .18);
}
.btn--ghost:hover { background: rgba(200, 164, 94, .16); transform: translateY(-3px); }

.hero__scroll {
  position: absolute; z-index: 4; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--disp); font-size: .78rem; letter-spacing: .42em; text-indent: .42em;
  color: var(--gold-soft); padding: 10px 14px;
}
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(180deg, transparent, var(--gold)); overflow: hidden; position: relative; }
.hero__scroll-line::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: var(--gold-pale); animation: scrollDrop 2.2s ease-in-out infinite;
}
@keyframes scrollDrop {
  from { top: -50%; } to { top: 110%; }
}

@media (max-width: 700px) {
  .hero { align-items: flex-end; }
  .hero__bg { object-position: center 14%; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(8, 23, 18, .58) 0%, rgba(8, 23, 18, 0) 16%, rgba(8, 23, 18, 0) 42%, rgba(8, 23, 18, .82) 66%, rgba(8, 23, 18, .96) 100%);
  }
  .hero__copy { padding: 0 22px 84px; margin: 0 auto; text-align: center; }
  .hero__name {
    display: inline-block; padding: 8px 18px;
    background: rgba(8, 23, 18, .58);
    border: 1px solid rgba(200, 164, 94, .45); border-radius: 999px;
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  }
  .hero__catch { font-size: clamp(1.9rem, 8.8vw, 2.5rem); margin-top: 18px; }
  .hero__sub { margin-top: 18px; font-size: .98rem; }
  .hero__cta-row { margin-top: 26px; justify-content: center; }
  .btn { padding: 13px 24px; font-size: .9rem; }
  /* モバイルは2匹・キャラの顔（中央上部）を避ける左右の回遊路 */
  .bfly--3 { display: none; }
  .bfly--1 { width: 64px; transform: translate(6vw, 8vh); animation-name: bflyPathM1; }
  .bfly--2 { width: 46px; transform: translate(74vw, 30vh); animation-name: bflyPathM2; }
  .hero__scroll { display: none; }
}

/* ============================================================
   セクション共通
   ============================================================ */
.section { position: relative; padding: clamp(76px, 10vw, 136px) 24px; overflow: hidden; }
.wrap { position: relative; z-index: 3; max-width: 1120px; margin: 0 auto; }
.wrap--mid { max-width: 900px; }
.wrap--narrow { max-width: 780px; }

/* 紙地の場面（codex画の水彩紙テクスチャをタイル） */
.section--paper {
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255, 252, 240, .55), transparent 60%),
    url("/assets/deco/paper-texture.webp") repeat top left / 480px auto,
    var(--paper);
}
.section--paper-warm {
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255, 250, 232, .5), transparent 60%),
    linear-gradient(0deg, rgba(233, 218, 178, .45), rgba(233, 218, 178, .45)),
    url("/assets/deco/paper-texture.webp") repeat top left / 480px auto,
    var(--paper-warm);
}

/* 深緑の場面（森テクスチャ入り） */
.section--forest { background: var(--forest-1); color: var(--ivory); }
.section--textured::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("/assets/hero/hero-bg.webp") center / cover no-repeat;
  opacity: .16; filter: saturate(.85);
}
.section--textured::after,
.section--artbg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, var(--forest-1) 0%, rgba(12, 32, 24, 0) 16%, rgba(12, 32, 24, 0) 82%, var(--forest-1) 100%),
    radial-gradient(90% 60% at 50% 42%, rgba(240, 214, 148, .07), transparent 70%);
}

/* codex背景アート（lazy <img> 版・CSS背景だと初期に全読みされるため img で敷く） */
.sec-art {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .2; filter: saturate(.82); pointer-events: none;
}
.sec-art--soft { opacity: .17; object-position: center 30%; }

/* セクション上端の前景（枝葉・パララックス） */
.fg-branches {
  position: absolute; top: -1px; left: 0; z-index: 2;
  width: 100%; height: auto; pointer-events: none; opacity: .92;
}
/* 垂れ下がる枝葉と見出しが重ならないよう、artbg節は見出しを下げる */
.section--artbg .sec-head { padding-top: clamp(48px, 7vw, 104px); }

/* 見出しまわり */
.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--center { text-align: center; }
.eyebrow {
  font-family: var(--disp); font-weight: 600; font-size: .95rem;
  letter-spacing: .42em; text-indent: .42em; text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow--light { color: var(--gold-soft); }
.h2 {
  margin-top: 12px;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.85rem, 3.6vw, 2.8rem);
  line-height: 1.5; letter-spacing: .07em; color: var(--ink);
}
.h2--gold { font-weight: 800; filter: drop-shadow(0 2px 3px rgba(5, 13, 10, .55)); }
.sec-lede { margin-top: 16px; font-size: .95rem; color: var(--ink-soft); letter-spacing: .06em; }
.section--forest .sec-lede { color: rgba(240, 232, 211, .75); }
.tag {
  display: inline-block; vertical-align: .35em; margin-left: 12px;
  font-family: var(--sans); font-weight: 500; font-size: .78rem; letter-spacing: .1em;
  color: var(--gold-deep); border: 1px solid rgba(141, 108, 51, .5);
  border-radius: 999px; padding: 3px 14px; background: rgba(200, 164, 94, .12);
}

/* 飾り罫（codex画・唐草の飾り両端＋中央ダイヤ） */
.orn-rule {
  display: block; height: 15px; margin-top: 20px;
  width: min(340px, 74%);
  background: url("/assets/deco/rule.webp") center / contain no-repeat;
}
.sec-head--center .orn-rule { margin-left: auto; margin-right: auto; }

/* 節間の浮遊装飾 */
.sec-deco {
  position: absolute; z-index: 2; pointer-events: none;
  width: clamp(72px, 9vw, 150px); opacity: .5;
  animation: floaty 10s ease-in-out infinite alternate;
}
.sec-deco--tl { top: 4%; left: 2.5%; }
.sec-deco--tr { top: 5%; right: 3%; animation-delay: -4s; }
.sec-deco--bl { bottom: 5%; left: 3%; animation-delay: -2s; }
.sec-deco--br { bottom: 4%; right: 2.5%; animation-delay: -6s; }
@media (max-width: 700px) { .sec-deco { width: 64px; opacity: .32; } }

/* codexアートの額縁（挿絵用・紙/闇の2変種） */
.art-frame {
  position: relative; margin: 0 auto clamp(40px, 5vw, 64px); max-width: 880px;
  padding: 10px;
  background: linear-gradient(168deg, #FBF5E6, #F2E8CF);
  border: 1px solid rgba(158, 124, 61, .55); border-radius: 3px;
  box-shadow: 0 14px 40px rgba(63, 46, 15, .2);
}
.art-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    url("/assets/icons/corner-tl.webp"), url("/assets/icons/corner-tr.webp"),
    url("/assets/icons/corner-bl.webp"), url("/assets/icons/corner-br.webp");
  background-position: 4px 4px, calc(100% - 4px) 4px, 4px calc(100% - 4px), calc(100% - 4px) calc(100% - 4px);
  background-repeat: no-repeat;
  background-size: clamp(30px, 3.4vw, 44px) auto;
}
.art-frame img { display: block; width: 100%; height: auto; border: 1px solid rgba(158, 124, 61, .4); }
/* ※ About挿絵（art-frame--banner / art-frame--after）は v6 で削除（2026-07-18 壁打ち修正③-2） */
.art-frame--dark {
  background: linear-gradient(164deg, rgba(23, 47, 35, .92), rgba(10, 26, 19, .95));
  border-color: rgba(200, 164, 94, .5);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45), 0 0 30px rgba(240, 214, 148, .08);
  margin: 0;
}
.art-frame--dark img { border-color: rgba(200, 164, 94, .35); }

/* ※ リースの区切り帯（.divider）は v6 で撤去（2026-07-18 追加指示B） */

/* ============================================================
   額縁フレーム（金コーナー付き・全場面共通）
   ============================================================ */
.frame {
  position: relative;
  padding: clamp(26px, 4vw, 44px);
  background: linear-gradient(168deg, #FBF5E6, #F2E8CF);
  border: 1px solid rgba(158, 124, 61, .55);
  border-radius: 3px;
  box-shadow: 0 10px 34px rgba(63, 46, 15, .12);
}
.frame::before {
  content: ""; position: absolute; inset: 8px; pointer-events: none;
  border: 1px solid rgba(158, 124, 61, .35); border-radius: 2px;
}
.frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    url("/assets/icons/corner-tl.webp"), url("/assets/icons/corner-tr.webp"),
    url("/assets/icons/corner-bl.webp"), url("/assets/icons/corner-br.webp");
  background-position: 5px 5px, calc(100% - 5px) 5px, 5px calc(100% - 5px), calc(100% - 5px) calc(100% - 5px);
  background-repeat: no-repeat;
  background-size: clamp(34px, 4vw, 54px) auto;
}
.frame--dark {
  background: linear-gradient(164deg, rgba(23, 47, 35, .92), rgba(10, 26, 19, .95));
  border-color: rgba(200, 164, 94, .45);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45), inset 0 0 60px rgba(240, 214, 148, .05);
  color: var(--ivory);
}
.frame--dark::before { border-color: rgba(200, 164, 94, .28); }
.frame__ttl {
  font-family: var(--serif); font-weight: 700; font-size: 1.02rem;
  letter-spacing: .14em; color: var(--gold-deep);
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 1px dashed rgba(141, 108, 51, .35);
}
.frame__ttl::before { content: "✦ "; color: var(--gold); }

/* ============================================================
   2. About
   ============================================================ */
.about-frame { max-width: 880px; margin: 0 auto; }
.about-frame p + p { margin-top: 1.2em; }
.about__lead {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 2;
  letter-spacing: .05em; color: #3F3213;
  margin-bottom: 1em;
}
.about-frame > p { font-size: .96rem; color: #4A4633; }
.about__quote {
  margin: 1.6em 0; padding: 20px 26px; position: relative; text-align: center;
  border-top: 1px solid rgba(141, 108, 51, .4);
  border-bottom: 1px solid rgba(141, 108, 51, .4);
}
/* 読点「ではなく、」の後の<br>で常に2行構成（2026-07-18 追加指示A）。
   2行目（全角19字）がモバイルでも1行に収まるようvw連動でサイズを落とす */
.about__quote p {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(.78rem, 3.6vw, 1.3rem); letter-spacing: .04em; color: #6B5220;
}
@media (max-width: 700px) {
  .about__quote { margin-left: -8px; margin-right: -8px; padding: 16px 2px; }
  .about__quote p { letter-spacing: .02em; }
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.8em; }
.chips li {
  font-size: .82rem; letter-spacing: .05em; color: #5C4A22;
  border: 1px solid rgba(141, 108, 51, .45); border-radius: 999px;
  padding: 5px 16px; background: rgba(200, 164, 94, .12);
  transition: transform .3s ease, background .3s ease;
}
.chips li:hover { transform: translateY(-2px); background: rgba(200, 164, 94, .26); }

/* ============================================================
   3. 得意なこと（5本柱）
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.6vw, 30px); }
.pillar { overflow: hidden; }
.pillar--wide { grid-column: 1 / -1; }
.pillar__no {
  position: absolute; top: 2px; right: 18px; z-index: 0;
  font-family: var(--disp); font-weight: 600; font-size: clamp(3.4rem, 6vw, 5rem);
  color: rgba(200, 164, 94, .16); line-height: 1.2; pointer-events: none;
}
/* 円形リング枠（codex画メダリオン） */
.pillar__medal {
  position: relative; z-index: 1;
  width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 20px;
  background:
    radial-gradient(circle at 50% 38%, rgba(240, 214, 148, .2), rgba(240, 214, 148, .03) 68%),
    url("/assets/deco/medallion.webp") center / contain no-repeat;
  filter: drop-shadow(0 0 18px rgba(240, 214, 148, .28));
}
.pillar__medal img { width: auto; max-width: 54px; max-height: 54px; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .45)); }
.pillar__body { position: relative; z-index: 1; }
.pillar h3 {
  font-family: var(--serif); font-weight: 700; font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  letter-spacing: .08em; line-height: 1.6; color: var(--gold-pale);
  margin-bottom: 12px;
}
.pillar p { font-size: .93rem; line-height: 1.95; color: rgba(240, 232, 211, .85); }
.pillar__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pillar__list li {
  font-size: .8rem; letter-spacing: .04em; color: var(--gold-soft);
  border: 1px solid rgba(200, 164, 94, .38); border-radius: 999px;
  padding: 4px 13px; background: rgba(200, 164, 94, .09);
}
.pillar--wide { display: flex; gap: clamp(22px, 3.5vw, 44px); align-items: center; }
.pillar--wide .pillar__medal { flex: 0 0 auto; width: 128px; height: 128px; margin-bottom: 0; }
.pillar--wide .pillar__medal img { max-width: 68px; max-height: 68px; }
.pillar { transition: transform .4s ease, box-shadow .4s ease; }
.pillar:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .5), 0 0 34px rgba(240, 214, 148, .12), inset 0 0 60px rgba(240, 214, 148, .07);
}
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar--wide { flex-direction: column; align-items: flex-start; }
  .pillar--wide .pillar__medal { width: 96px; height: 96px; }
}

/* ============================================================
   4. 強み TOP5（アーチ型メダル）
   ============================================================ */
/* カードを大きく見せるため、この節だけ内容幅を広げる（2026-07-18 修正④＝1360pxへ再拡大） */
#strengths .wrap { max-width: 1360px; }
.strengths {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}
/* アーチ額縁（codex画）を各カードの枠として敷く */
.scard {
  position: relative; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  /* 左右20%＝アーチ額縁画像の枠幅（約19.5%/辺）に対する安全マージン。17.5%は枠に食い込む（v7実描画で確認） */
  padding: clamp(40px, 4.2vw, 56px) 20% clamp(34px, 3.4vw, 46px);
  background: url("/assets/deco/arch-frame.webp") center / 100% 100% no-repeat;
  filter: drop-shadow(0 10px 22px rgba(63, 46, 15, .22));
  transition: transform .4s ease, filter .4s ease;
}
.scard:hover {
  transform: translateY(-8px);
  filter: drop-shadow(0 18px 34px rgba(63, 46, 15, .3)) drop-shadow(0 0 22px rgba(200, 164, 94, .45));
}
.scard__no {
  font-family: var(--disp); font-weight: 600; font-size: 1.18rem;
  letter-spacing: .2em; color: var(--gold-deep);
}
.scard__icon { height: clamp(72px, 7vw, 94px); width: auto; margin: 14px auto 16px; filter: drop-shadow(0 4px 10px rgba(63, 46, 15, .3)); }
.scard h3 {
  font-family: var(--serif); font-weight: 700; font-size: clamp(1.16rem, 1.5vw, 1.32rem);
  letter-spacing: .1em; color: #3F3213; margin-bottom: 10px;
}
.scard p {
  font-size: .92rem; line-height: 1.85; color: var(--ink-soft); text-align: center;
  /* 修正④：句点・短語尾の最終行孤立を防ぐ日本語改行制御（<wbr>＝意図位置のヒントと併用） */
  overflow-wrap: break-word; line-break: strict;
}
@supports (word-break: auto-phrase) {
  .scard p { word-break: auto-phrase; }
}
/* 説明文の語のまとまり（「向き合います。」等の述語・「という」「一つひとつ」）は
   既存グローバル .nb（nowrap）で途中改行を確定的に防止＝auto-phrase非対応ブラウザでも語尾孤立なし */
@media (max-width: 1080px) { .strengths { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  {
  /* カードを外側へ10px/辺広げ、最長文節（8字≒100px）がテキスト幅に収まるようにする（修正④） */
  .strengths { grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 -10px; }
  .scard { padding: 34px 20% 42px; } .scard p { font-size: .78rem; } .scard__icon { height: 64px; }
  /* 見出し6字（理想を描く力等）が1行に収まる寸法＝「力」だけの2行目落ちを防ぐ（16px×6+0.05em×5≒100px ≤ テキスト幅101px） */
  .scard h3 { font-size: 1rem; letter-spacing: .05em; white-space: nowrap; }
}

/* ============================================================
   5. 特徴 × MBTI × スタンス（左=2段テキスト／右=診断カード）
   ============================================================ */
.character-grid {
  display: grid; grid-template-columns: 1.35fr 1fr;
  gap: clamp(18px, 2.6vw, 30px); align-items: stretch;
}
.character-grid__text { display: grid; gap: clamp(18px, 2.6vw, 30px); }
@media (max-width: 900px) { .character-grid { grid-template-columns: 1fr; } }
/* MBTIバー撤去後：特徴テキストが左カラムの主役。
   フレームを右の診断カードと同じ高さに伸ばし、5項目をゆったり等間隔に敷く */
.traits-frame { height: 100%; display: flex; flex-direction: column; }
.traits { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; }
.traits li {
  position: relative; padding: 16px 4px 16px 38px;
  font-size: 1.02rem; line-height: 1.95; color: #4A4633;
  border-bottom: 1px dashed rgba(141, 108, 51, .28);
}
.traits li:last-child { border-bottom: none; }
.traits li::before {
  content: "✦"; position: absolute; left: 6px; top: 16px;
  color: var(--gold); font-size: .9rem;
}
@media (max-width: 900px) {
  .traits li { padding: 12px 4px 12px 34px; font-size: .95rem; }
  .traits li::before { top: 12px; }
}

.stance-frame { margin-top: clamp(18px, 2.6vw, 30px); }
.stance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 28px; }
.stance li {
  position: relative; padding: 11px 4px 11px 30px; font-size: .9rem; color: #4A4633;
  border-bottom: 1px dashed rgba(141, 108, 51, .25);
}
.stance li::before {
  content: "◈"; position: absolute; left: 4px; top: 11px;
  color: var(--gold); font-size: .8rem;
}
@media (max-width: 900px) { .stance { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .stance { grid-template-columns: 1fr; } }
.note {
  margin-top: 34px; text-align: center; font-size: .84rem; line-height: 2;
  color: var(--ink-soft); max-width: 760px; margin-left: auto; margin-right: auto;
}

/* ============================================================
   診断カード（「私らしい特徴」右カラムに配置・紙地に馴染む枠）
   ============================================================ */
.mbticard { display: grid; justify-items: center; gap: 14px; }
.mbticard__btn {
  padding: 10px; cursor: zoom-in; border: 1px solid rgba(158, 124, 61, .55);
  background: linear-gradient(168deg, #FBF5E6, #F2E8CF); border-radius: 3px;
  box-shadow: 0 14px 36px rgba(63, 46, 15, .22);
  transition: transform .45s ease, box-shadow .45s ease;
}
.mbticard__btn:hover { transform: translateY(-6px) scale(1.012); box-shadow: 0 20px 48px rgba(63, 46, 15, .3), 0 0 30px rgba(200, 164, 94, .4); }
.mbticard__btn img { width: min(430px, 78vw); }
.mbticard figcaption { font-size: .82rem; letter-spacing: .08em; color: var(--ink-soft); text-align: center; }
.mbticard--side { align-content: start; }
.mbticard--side .mbticard__btn img { width: 100%; max-width: 430px; }
@media (max-width: 900px) { .mbticard--side { max-width: 430px; margin: 0 auto; } }

/* ============================================================
   7. 関心分野タグ
   ============================================================ */
.tags-frame { max-width: 900px; margin: 0 auto; }
.tags { display: flex; flex-wrap: wrap; gap: 12px 12px; justify-content: center; align-items: center; }
.tags li {
  font-family: var(--serif); font-size: .88rem; letter-spacing: .05em; color: #5C4A22;
  border: 1px solid rgba(141, 108, 51, .45); border-radius: 999px;
  padding: 7px 18px; background: #FBF5E6;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.tags li:hover { transform: translateY(-3px); background: #F6ECD2; box-shadow: 0 6px 16px rgba(141, 108, 51, .25); }
.tags .t-md { font-size: 1rem; padding: 8px 20px; }
.tags .t-lg {
  font-size: 1.12rem; font-weight: 700; padding: 9px 24px;
  background: linear-gradient(178deg, #F6ECD2, #EBD9AC); color: #4A3812;
  border-color: rgba(141, 108, 51, .6);
}

/* ============================================================
   6.5 制作した作品（ギャラリー）
   ============================================================ */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 26px); }
.wcard {
  position: relative;
  background: linear-gradient(168deg, #FBF5E6, #F2E8CF);
  border: 1px solid rgba(158, 124, 61, .55); border-radius: 3px;
  box-shadow: 0 12px 32px rgba(63, 46, 15, .16);
  transition: transform .4s ease, box-shadow .4s ease;
}
.wcard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    url("/assets/icons/corner-tl.webp"), url("/assets/icons/corner-tr.webp"),
    url("/assets/icons/corner-bl.webp"), url("/assets/icons/corner-br.webp");
  background-position: 4px 4px, calc(100% - 4px) 4px, 4px calc(100% - 4px), calc(100% - 4px) calc(100% - 4px);
  background-repeat: no-repeat;
  background-size: 30px auto;
}
.wcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(63, 46, 15, .24), 0 0 30px rgba(200, 164, 94, .35);
}
.wcard__a { display: block; padding: 12px 12px 18px; height: 100%; }
.wcard__thumb { display: block; border: 1px solid rgba(158, 124, 61, .45); overflow: hidden; }
.wcard__thumb img { display: block; width: 100%; height: auto; transition: transform .6s ease; }
.wcard:hover .wcard__thumb img { transform: scale(1.04); }
.wcard__body { display: grid; gap: 6px; padding: 16px 10px 0; text-align: center; }
.wcard__ttl {
  font-family: var(--serif); font-weight: 700; font-size: 1.06rem;
  letter-spacing: .08em; color: #3F3213;
}
.wcard__desc { font-size: .82rem; line-height: 1.8; color: var(--ink-soft); }
.wcard__link {
  margin-top: 6px; justify-self: center;
  font-family: var(--serif); font-weight: 700; font-size: .8rem; letter-spacing: .16em;
  color: var(--gold-deep); padding: 5px 18px;
  border: 1px solid rgba(141, 108, 51, .5); border-radius: 999px;
  background: rgba(200, 164, 94, .12);
  transition: background .3s ease;
}
.wcard:hover .wcard__link { background: rgba(200, 164, 94, .28); }
@media (max-width: 860px) {
  .works { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

/* ============================================================
   8. 挑戦（クエスト風）
   ============================================================ */
.challenges-grid {
  display: grid; grid-template-columns: .95fr 1.05fr;
  gap: clamp(20px, 3vw, 40px); align-items: center;
}
@media (max-width: 900px) {
  .challenges-grid { grid-template-columns: 1fr; }
  .challenges-grid .art-frame--dark { max-width: 560px; margin: 0 auto; }
}
.quests { display: grid; gap: 16px; }
.quest { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 28px); padding: clamp(18px, 2.6vw, 26px) clamp(20px, 3vw, 34px); }
.quest::after { background-size: 30px auto; }
.quest__icon { flex: 0 0 auto; width: 58px; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .5)); }
.quest h3 {
  font-family: var(--serif); font-weight: 700; font-size: 1.06rem;
  letter-spacing: .1em; color: var(--gold-pale); margin-bottom: 4px;
}
.quest p { font-size: .9rem; color: rgba(240, 232, 211, .82); }
.quest { transition: transform .35s ease, box-shadow .35s ease; }
.quest:hover { transform: translateX(6px); box-shadow: 0 14px 36px rgba(0, 0, 0, .5), 0 0 26px rgba(240, 214, 148, .1); }

/* ============================================================
   9. 好きなもの・資格
   ============================================================ */
.likes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.6vw, 30px); max-width: 900px; margin: clamp(24px, 3.4vw, 40px) auto 0; }
.likes__ttl {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--serif); font-weight: 700; font-size: 1.12rem; letter-spacing: .12em;
  color: #3F3213; margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px dashed rgba(141, 108, 51, .35);
}
.likes__ttl img { width: 44px; }
/* 7項目に増えたため行間を締める（2026-07-18 修正④）＋日本語改行制御 */
.likes__list li {
  position: relative; padding: 8px 4px 8px 30px; font-size: .95rem; line-height: 1.8; color: #4A4633;
  border-bottom: 1px dashed rgba(141, 108, 51, .22);
  overflow-wrap: break-word; line-break: strict;
}
@supports (word-break: auto-phrase) {
  .likes__list li { word-break: auto-phrase; }
}
.likes__list li:last-child { border-bottom: none; }
.likes__list li::before { content: "✦"; position: absolute; left: 4px; top: 8px; color: var(--gold); font-size: .8rem; }
/* 左列（7項目）が伸びても資格バッジは上に寄せてまとめる。
   資格7件差し替え（2026-07-18）：長名（AWS/Salesforce/教諭免許）が入るため
   折り返し許可＋角丸を緩め、見切れゼロを保証する */
.badges { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.badges li {
  font-size: .85rem; letter-spacing: .04em; line-height: 1.7; color: #5C4A22;
  border: 1px solid rgba(141, 108, 51, .5); border-radius: 16px;
  padding: 6px 16px; background: rgba(200, 164, 94, .14);
  max-width: 100%; text-align: center;
  overflow-wrap: break-word; line-break: strict;
}
@supports (word-break: auto-phrase) {
  .badges li { word-break: auto-phrase; }
}
@media (max-width: 760px) { .likes { grid-template-columns: 1fr; } }

/* ============================================================
   10. 大切にしていること（哲学）
   ============================================================ */
.philosophy {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(90px, 12vw, 150px) 24px;
  background:
    radial-gradient(70% 55% at 50% 30%, rgba(240, 214, 148, .08), transparent 70%),
    linear-gradient(180deg, var(--forest-1), var(--forest-0));
  color: var(--ivory);
}
.philosophy__inner { position: relative; z-index: 2; }
.philosophy__key {
  width: 74px; margin: 0 auto 26px;
  filter: drop-shadow(0 0 18px rgba(240, 214, 148, .45));
  animation: floaty 9s ease-in-out infinite alternate;
}
.philosophy .h2 { color: var(--gold-soft); }
.philosophy .orn-rule { margin-left: auto; margin-right: auto; }
.philosophy__text { margin-top: 38px; display: grid; gap: 1.4em; }
.philosophy__text p { font-size: clamp(.95rem, 1.4vw, 1.05rem); line-height: 2.3; letter-spacing: .05em; color: rgba(240, 232, 211, .9); }

/* ============================================================
   10. Footer
   ============================================================ */
.footer {
  position: relative; text-align: center;
  padding: clamp(70px, 9vw, 110px) 24px 46px;
  background: linear-gradient(180deg, var(--forest-0), var(--forest-1));
  color: var(--ivory);
  border-top: 1px solid rgba(200, 164, 94, .25);
}
.footer__h2 {
  margin-top: 12px;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem); letter-spacing: .1em;
  color: var(--gold-pale);
}
.orn-rule--center { margin-left: auto; margin-right: auto; }
.footer__lead { margin-top: 24px; font-family: var(--serif); font-size: clamp(1rem, 1.7vw, 1.22rem); line-height: 2.2; letter-spacing: .08em; color: rgba(240, 232, 211, .88); }

/* 導線カード */
.fl { margin-top: 44px; display: grid; gap: 34px; text-align: left; }
.fl__group-ttl {
  text-align: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.02rem; letter-spacing: .2em;
  color: var(--gold-soft); margin-bottom: 18px;
}
.fl__group-ttl::before, .fl__group-ttl::after { content: "　✦　"; color: rgba(200, 164, 94, .5); font-weight: 400; font-size: .8em; }
.fl__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fl__cards--two { grid-template-columns: repeat(2, 1fr); max-width: 620px; margin: 0 auto; }
.fl__card {
  position: relative; display: grid; justify-items: center; align-content: start; gap: 10px;
  padding: 26px 18px 22px; text-align: center;
  background: linear-gradient(164deg, rgba(23, 47, 35, .9), rgba(10, 26, 19, .94));
  border: 1px solid rgba(200, 164, 94, .45); border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4), inset 0 0 40px rgba(240, 214, 148, .04);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.fl__card::before {
  content: ""; position: absolute; inset: 6px; pointer-events: none;
  border: 1px solid rgba(200, 164, 94, .25); border-radius: 3px;
}
.fl__card:hover {
  transform: translateY(-5px); border-color: rgba(217, 190, 133, .8);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5), 0 0 30px rgba(240, 214, 148, .2);
}
.fl__card img { width: auto; max-width: 52px; max-height: 54px; filter: drop-shadow(0 0 12px rgba(240, 214, 148, .35)); }
/* 相談カードはサービスの実アイキャッチをサムネに（2026-07-18 修正③） */
.fl__card--thumb { padding: 12px 12px 18px; }
.fl__card--thumb img.fl__thumb {
  width: 100%; max-width: none; max-height: none; height: auto;
  border: 1px solid rgba(200, 164, 94, .4); border-radius: 2px;
  filter: none;
}
.fl__ttl { font-family: var(--serif); font-weight: 700; font-size: .95rem; line-height: 1.75; letter-spacing: .05em; color: var(--gold-pale); }
.fl__en { font-family: var(--disp); font-size: .74rem; letter-spacing: .34em; text-indent: .34em; text-transform: uppercase; color: rgba(217, 190, 133, .6); }
@media (max-width: 760px) {
  .fl__cards, .fl__cards--two { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .fl__card { grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 16px; row-gap: 2px; text-align: left; justify-items: start; align-items: center; padding: 18px 20px; }
  .fl__card img { grid-row: 1 / 3; margin: 0 auto; }
  .fl__ttl br, .fl__ttl wbr { display: none; }
  /* サムネ付きカードはモバイルでも縦積み（サムネ全幅→ラベル） */
  .fl__card--thumb { grid-template-columns: 1fr; row-gap: 8px; text-align: center; justify-items: center; padding: 12px 12px 16px; }
  .fl__card--thumb img.fl__thumb { grid-row: auto; width: 100%; }
}
.footer__note { margin-top: 40px; font-size: .8rem; color: rgba(240, 232, 211, .6); }
.footer__copy { margin-top: 20px; font-family: var(--disp); font-size: .82rem; letter-spacing: .3em; color: rgba(217, 190, 133, .65); }

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 24px;
  background: rgba(4, 11, 8, .93);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 640px); max-height: 88vh; width: auto; border: 1px solid rgba(200, 164, 94, .5); box-shadow: 0 0 60px rgba(240, 214, 148, .18); }
.lightbox__close {
  position: absolute; top: 18px; right: 18px;
  width: 52px; height: 52px; font-size: 1.5rem; line-height: 1;
  color: var(--gold-pale); background: rgba(8, 23, 18, .7);
  border: 1px solid rgba(200, 164, 94, .5); border-radius: 50%; cursor: pointer;
}
.lightbox__close:hover { background: rgba(200, 164, 94, .25); }

/* ============================================================
   reduced-motion：全アニメ停止
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .dust { display: none; }
}
