@charset "UTF-8";
/* すぴすぴ — site styles. Values live in the tokens below; components use the tokens only. */
:root {
  --head: #5b3fd0;          /* 主役の色：すみれ（ボタン・見出しの英字・リンク） */
  --head-2: #4a30b8;        /* 押したとき */
  --brand-deep: #2a1d63;    /* 夜のすみれ（濃い面・フッター） */
  --brand-night: #1d1446;   /* 濃い面の奥 */
  --lilac: #cfc3ff;         /* 線・印・濃い面の上の文字（補足） */
  --tint: #ece6ff;          /* 淡い色面 */
  --tint-2: #ddd3ff;        /* 色面の上の項目（一段濃い） */
  --bg: #ffffff;
  --ink: #1d1838;
  --ink-2: #3b3556;
  --ink-3: #6a6582;
  --line: #e4dff2;
  --line-strong: #c9c0e4;
  --on-deep: #ffffff;
  --on-deep-2: #ddd6fb;

  --ff: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif;
  --ff-en: "Poppins", "Noto Sans JP", 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: 20px;        /* 大きい面の角丸 */
  --r-s: 12px;
  --hd-gap: 14px; --hd-bar: 68px;
  --hd: calc(var(--hd-gap) * 2 + var(--hd-bar));
  --bar: 0px;       /* スマホの下の固定バーの高さ */
}
@media (max-width: 1024px) { :root { --gut: 28px; --sec: 110px; --hd-gap: 12px; --hd-bar: 62px; } }
@media (max-width: 768px) {
  :root { --fs-display: 44px; --fs-h2: 28px; --fs-h3: 22px; --fs-h4: 19px; --fs-lead: 16px; --gut: 20px; --sec: 84px; --r: 16px; --hd-gap: 8px; --hd-bar: 58px; --bar: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-variant-numeric: lining-nums; scroll-padding-top: calc(var(--hd) + 12px); }
body { margin: 0; font-family: var(--ff); font-size: var(--fs-body); font-weight: 500; line-height: 2; letter-spacing: .05em; color: var(--ink-2); background: var(--bg); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.45; letter-spacing: .04em; font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--head); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; }
.nw { white-space: nowrap; }
.ln { display: block; }
.sp-only { display: none; }
@media (max-width: 768px) { .sp-only { display: inline; } .pc-only { display: none; } }
.prose > p + p { margin-top: 1lh; }
:focus-visible { outline: 3px solid var(--head); outline-offset: 3px; border-radius: 6px; }

/* line breaking (phraseWrap / flowFix in main.js) */
.phr h1, .phr h2, .phr h3, .phr h4, .phr .btn, .phr .go, .phr .tool__t, .phr .col__t, .phr .seg__t, .phr .pt__t, .phr .prm__t, .phr .door__t, .phr .an__t, .phr .aff__t, .phr .rank__z, .phr .sh__h, .phr .pgh__h, .phr .art__h1, .phr .lineb__h, .phr .mine__h, .phr .tr__name, .phr .tr__msg, .phr .tr__fname, .phr .kz__type, .phr .cmpc__h, .phr .concept__h, .phr .art__cta-h, .phr .toc__h, .phr .point__h { word-break: keep-all; overflow-wrap: anywhere; }
.phr h1, .phr h2, .phr h3, .phr .tool__t, .phr .col__t, .phr .seg__t, .phr .pt__t, .phr .prm__t, .phr .door__t, .phr .an__t, .phr .aff__t, .phr .rank__z, .phr .sh__h, .phr .pgh__h, .phr .art__h1, .phr .lineb__h, .phr .mine__h, .phr .tr__name, .phr .tr__msg, .phr .tr__fname, .phr .kz__type, .phr .cmpc__h, .phr .concept__h, .phr .art__cta-h, .phr .toc__h, .phr .point__h { text-wrap: balance; }
.phr .toc a, .phr .side__toc a { word-break: keep-all; overflow-wrap: anywhere; }
.is-flow { word-break: normal !important; line-break: strict; overflow-wrap: anywhere; }
.is-flow.is-just { text-align: justify; text-justify: inter-character; }
.is-flow.is-just-c { text-align-last: center; }
.txt-nobr br:not(.br-keep) { display: none; }

/* ---------- Logo ---------- */
.lg { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--head); }
.lg__w { display: inline-flex; font-weight: 900; font-size: 28px; line-height: 1; letter-spacing: -.02em; transform: skewX(-9deg); }
.lg__k { position: relative; display: inline-block; }
.lg__p i { position: absolute; top: -.06em; right: -.16em; width: .34em; height: .34em; border: .09em solid currentColor; border-radius: 50%; background: var(--bg); }
.lg__en { font-family: var(--ff-en); font-size: 10px; font-weight: 700; letter-spacing: .22em; line-height: 1.3; color: var(--ink-3); }
.lg--deep { color: #fff; }
.lg--deep .lg__p i { background: var(--brand-deep); }
.lg--deep .lg__en { color: var(--on-deep-2); }

/* ---------- Header (floating capsule) ---------- */
.hd { position: fixed; z-index: 50; top: var(--hd-gap); left: 20px; right: 20px; height: var(--hd-bar); display: flex; align-items: center; gap: 24px; padding: 0 10px 0 26px; border-radius: 18px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(91, 63, 208, .12); }
.hd__nav { display: flex; gap: 6px; margin-left: auto; }
.hd__nav a { position: relative; padding: 8px 14px; font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: .06em; border-radius: 10px; }
.hd__nav a:hover { color: var(--head); }
.hd__nav a[aria-current="page"] { color: var(--head); }
.hd__nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--head); border-radius: 2px; }
.hd__r { display: flex; align-items: center; gap: 8px; }
.hd__btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 8px 0 20px; border-radius: 999px; background: var(--head); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.hd__btn:hover { background: var(--head-2); }
.hd__menu { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--tint); cursor: pointer; position: relative; }
.hd__menu span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.hd__menu span:nth-child(1) { top: 19px; }
.hd__menu span:nth-child(2) { top: 27px; }
.is-menu .hd__menu span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.is-menu .hd__menu span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.arw { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; position: relative; }
.arw::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--head); border-right: 2px solid var(--head); transform: translate(-65%, -50%) rotate(45deg); }
@media (max-width: 1180px) { .hd__nav a { padding: 8px 10px; font-size: 14px; } .hd { gap: 12px; } }
@media (max-width: 1024px) {
  .hd { left: 12px; right: 12px; padding-left: 18px; border-radius: 16px; }
  .hd__nav { display: none; }
  .hd__r { margin-left: auto; }
  .hd__menu { display: block; }
  .hd__btn { height: 44px; font-size: 13px; padding-left: 16px; }
  .menu-open .hd, .is-menu .hd { transform: none !important; }
}
@media (max-width: 768px) {
  .hd { left: 10px; right: 10px; padding: 0 6px 0 14px; border-radius: 14px; gap: 8px; }
  .lg__w { font-size: 24px; }
  .lg__en { display: none; }
  .hd__btn { height: 42px; padding: 0 6px 0 14px; gap: 8px; }
  .hd__btn .arw { width: 28px; height: 28px; }
  .hd__menu { width: 44px; height: 44px; }
  .hd__menu span { left: 13px; right: 13px; }
  .hd__menu span:nth-child(1) { top: 17px; } .hd__menu span:nth-child(2) { top: 25px; }
}
@media (max-width: 440px) { .hd__btn b { display: none; } }

/* drawer */
.dr { position: fixed; inset: 0; z-index: 45; background: var(--brand-deep); color: #fff; padding: calc(var(--hd) + 24px) var(--gut) calc(40px + var(--bar)); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .3s, visibility 0s .3s; }
.dr.is-open { visibility: visible; opacity: 1; transition: opacity .3s; }
.dr__list { display: grid; gap: 4px; max-width: 560px; margin: 0 auto; }
.dr__list a { display: flex; align-items: baseline; gap: 16px; padding: 14px 4px; color: #fff; text-decoration: none; font-size: 21px; font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.dr__list a small { font-family: var(--ff-en); font-size: 12px; letter-spacing: .18em; color: var(--lilac); min-width: 84px; }
.dr__sub { max-width: 560px; margin: 28px auto 0; display: grid; gap: 10px; }
.dr__sub a { color: var(--on-deep-2); font-size: 14px; }
body.is-menu { overflow: hidden; }

/* phone CTA bar */
.spbar { display: none; }
@media (max-width: 768px) {
  .spbar { position: fixed; z-index: 48; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 6px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .spbar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px; background: var(--tint); color: var(--head); font-weight: 700; font-size: 13px; text-decoration: none; letter-spacing: .02em; text-align: center; line-height: 1.3; }
  .spbar a.is-main { background: var(--head); color: #fff; }
  body { padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom)); }
}

/* PR notice (pages with affiliate links) */
.prbar { padding-top: calc(var(--hd) + 10px); }
.prbar__in { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.7; }
.prbar__tag { flex: none; display: inline-grid; place-items: center; height: 26px; padding: 0 10px; border-radius: 6px; background: var(--brand-deep); color: #fff; font-family: var(--ff-en); font-weight: 700; font-size: 13px; letter-spacing: .1em; }
.prbar + .pgh { padding-top: 24px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 0 10px 0 30px; border-radius: 999px; background: var(--head); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: .06em; border: 0; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--head-2); }
.btn .arw { width: 44px; height: 44px; }
.btn--deep { background: var(--brand-deep); }
.btn--deep:hover { background: var(--brand-night); }
.btn--white { background: #fff; color: var(--head); }
.btn--white .arw { background: var(--head); }
.btn--white .arw::before { border-color: #fff; }
.btn--white:hover { background: var(--tint); }
.btns { display: flex; flex-wrap: wrap; gap: 16px; }
.btns--c { justify-content: center; }
.go { display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 6px 0 20px; border-radius: 999px; background: var(--head); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.go .arw { width: 34px; height: 34px; }
.go--deep { background: var(--brand-deep); }
@media (max-width: 768px) {
  .btn { width: 100%; min-height: 60px; padding-left: 24px; font-size: 15px; }
  .btns { flex-direction: column; }
}

/* ---------- Sections ---------- */
.sec { padding: var(--sec) 0; position: relative; }
.sec--tint { background: var(--tint); }
.sec--deep { background: var(--brand-deep); color: var(--on-deep-2); }
.sec--deep h2, .sec--deep h3, .sec--deep h4 { color: #fff; }
.sh { margin-bottom: 56px; }
.sh--c { text-align: center; }
.sh__pill { display: inline-grid; place-items: center; height: 38px; padding: 0 18px 0 calc(18px + .2em); border-radius: 999px; background: var(--head); color: #fff; font-family: var(--ff-en); font-size: 15px; font-weight: 700; letter-spacing: .2em; line-height: 1; }
.sec--deep .sh__pill { background: #fff; color: var(--brand-deep); }
.sh__jp { display: block; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--head); letter-spacing: .12em; }
.sec--deep .sh__jp { color: var(--lilac); }
.sh__h { margin-top: 20px; font-size: var(--fs-h2); font-weight: 900; line-height: 1.4; }
.sh__lead { margin-top: 24px; font-size: var(--fs-lead); line-height: 2; }
.sh--c .sh__lead { text-align: center; }
.sec__more { margin-top: 56px; display: flex; justify-content: center; }
@media (max-width: 768px) {
  .sh { margin-bottom: 36px; text-align: center; }
  .sh__pill { height: 32px; font-size: 14px; }
  .sh__lead { text-align: left; }
  .sec__more { margin-top: 36px; }
}

/* reveal */
.js .rv { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .8s, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv-d1 { transition-delay: .1s; } .js .rv-d2 { transition-delay: .2s; } .js .rv-d3 { transition-delay: .3s; }
.is-qa .rv, .is-qa .rv * { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- MV (TOP) ---------- */
.mv { position: relative; height: max(640px, calc(var(--vh, 1svh) * 100)); background: var(--brand-deep); color: #fff; overflow: hidden; }
.mv__slides { position: absolute; inset: 0; }
.mv__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: 0; }
.mv__slides img.is-on { opacity: 1; transition: opacity 1.6s ease, transform 7.5s ease-out; transform: scale(1); }
.mv__slides img:not(.is-on) { transform: scale(1.06); }
.mv__slides .sp { display: none; }
.mv__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29, 20, 70, .82) 0%, rgba(29, 20, 70, .64) 40%, rgba(29, 20, 70, .28) 60%, rgba(29, 20, 70, 0) 74%); pointer-events: none; }
.mv__in { position: absolute; left: 0; right: 0; bottom: 0; top: var(--hd); display: flex; align-items: flex-end; padding-bottom: 96px; }
.mv__catch { font-size: clamp(40px, 4.4vw, 110px); font-weight: 900; line-height: 1.32; letter-spacing: .02em; color: #fff; }
.mv__catch .ln { white-space: nowrap; }
.mv__catch .ln--p { margin-right: -.5em; }
.mv__en { display: block; margin-bottom: 18px; font-family: var(--ff-en); font-size: 15px; font-weight: 700; letter-spacing: .24em; color: var(--lilac); }
@media (min-width: 769px) { .mv__in .wrap { width: auto; margin: 0 0 0 6vw; } }
.mv__words { position: absolute; right: var(--gut); bottom: 40px; display: grid; gap: 4px; justify-items: end; }
@media (max-width: 768px) {
  .mv { height: calc(var(--vh, 1svh) * 100 - var(--bar) - env(safe-area-inset-bottom)); min-height: 560px; }
  .mv__slides .pc { display: none; }
  .mv__slides .sp { display: block; }
  .mv__slides img { object-position: 50% 30%; }
  .mv__shade { background: linear-gradient(0deg, rgba(29, 20, 70, .9) 0%, rgba(29, 20, 70, .55) 34%, rgba(29, 20, 70, 0) 58%); }
  .mv__in { padding-bottom: 44px; }
  .mv__catch { font-size: min(40px, 10.6vw); }
  .mv__en { font-size: 12px; margin-bottom: 12px; }
}

/* ---------- Concept + doors (TOP) ---------- */
.concept { text-align: center; }
.concept__h { font-size: var(--fs-h2); font-weight: 900; line-height: 1.5; }
.concept__h .ln--p { margin-right: -.5em; }
.concept__txt { margin: 28px auto 0; max-width: none; font-size: var(--fs-lead); }
.doors { margin-top: 72px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; text-align: left; }
.door { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; background: var(--tint); transition: transform .3s; }
.door:hover { transform: translateY(-4px); }
.door__ph { aspect-ratio: 3 / 2; overflow: hidden; background: var(--tint-2); }
.door__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.door:hover .door__ph img { transform: scale(1.04); }
.door__b { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 20px; padding: 30px 32px 34px; }
.door__en { grid-column: 1 / -1; font-family: var(--ff-en); font-size: 14px; font-weight: 700; letter-spacing: .2em; color: var(--head); }
.door__t { font-size: var(--fs-h3); font-weight: 900; color: var(--ink); line-height: 1.35; }
.door__s { grid-column: 1 / 2; font-size: var(--fs-small); line-height: 1.9; }
.door .go { grid-column: 2; grid-row: 2 / 4; }
.door--naru { background: var(--brand-deep); color: var(--on-deep-2); }
.door--naru .door__t { color: #fff; }
.door--naru .door__en { color: var(--lilac); }
.door--naru .go { background: #fff; color: var(--brand-deep); }
.door--naru .go .arw { background: var(--brand-deep); }
.door--naru .go .arw::before { border-color: #fff; }
@media (max-width: 900px) {
  .doors { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 48px; }
  .door__b { grid-template-columns: minmax(0, 1fr); text-align: center; padding: 26px 22px 28px; }
  .door__s { grid-column: 1; }
  .door .go { grid-column: 1; grid-row: auto; justify-self: stretch; justify-content: space-between; margin-top: 10px; height: 54px; }
}

/* promises (3) */
.prm { margin-top: 88px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.prm__i { padding: 36px 28px 34px; border-radius: var(--r); background: var(--tint); text-align: center; }
.prm__n { font-family: var(--ff-en); font-size: 15px; font-weight: 800; letter-spacing: .2em; color: var(--head); }
.prm__t { margin-top: 10px; font-size: var(--fs-h4); font-weight: 900; }
.prm__s { margin-top: 12px; font-size: var(--fs-small); line-height: 1.9; text-align: justify; text-align-last: center; }
@media (max-width: 900px) { .prm { grid-template-columns: minmax(0, 1fr); margin-top: 56px; gap: 16px; } }

/* ---------- Today's fortune ---------- */
.today__date { font-family: var(--ff-en); font-weight: 700; letter-spacing: .12em; color: var(--head); }
.rank { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rank__i { position: relative; display: grid; justify-items: center; gap: 6px; padding: 40px 24px 32px; border-radius: var(--r); background: #fff; text-align: center; }
.sec--tint .rank__i { background: #fff; }
.rank__n { font-family: var(--ff-en); font-size: 64px; font-weight: 800; line-height: 1; color: var(--head); }
.rank__n small { font-size: 18px; margin-left: 2px; }
.rank__z { margin-top: 6px; font-size: var(--fs-h4); font-weight: 900; color: var(--ink); }
.rank__d { font-size: var(--fs-caption); color: var(--ink-3); letter-spacing: .08em; }
.rank__m { margin-top: 10px; font-size: var(--fs-small); line-height: 1.9; }
.rank__lk { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; font-size: var(--fs-small); }
.rank__lk span { display: inline-flex; gap: 6px; align-items: center; padding: 4px 12px; border-radius: 8px; background: var(--tint); color: var(--ink); font-weight: 700; }
.rank .rank__i--1 { background: var(--head); color: var(--on-deep-2); }
.rank__i--1 .rank__n, .rank__i--1 .rank__z { color: #fff; }
.rank__i--1 .rank__d { color: var(--on-deep-2); }
.rank__i--1 .rank__lk span { background: rgba(255, 255, 255, .16); color: #fff; }
@media (max-width: 900px) { .rank { grid-template-columns: minmax(0, 1fr); gap: 16px; } .rank__i { padding: 30px 20px 26px; } .rank__n { font-size: 56px; } }
.rlist { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.rlist__i { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rlist__n { grid-row: 1 / 3; font-family: var(--ff-en); font-size: 30px; font-weight: 800; color: var(--head); text-align: center; line-height: 1; }
.rlist__z { font-weight: 700; color: var(--ink); line-height: 1.5; }
.rlist__z small { margin-left: 8px; font-size: var(--fs-caption); color: var(--ink-3); font-weight: 500; }
.rlist__m { font-size: var(--fs-small); line-height: 1.7; }
@media (max-width: 1024px) { .rlist { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 640px) { .rlist { grid-template-columns: minmax(0, 1fr); } }
.mine { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; align-items: start; padding: 44px; border-radius: var(--r); background: var(--tint); }
.mine__h { font-size: var(--fs-h3); font-weight: 900; }
.mine__sel { margin-top: 18px; width: 100%; height: 56px; padding: 0 16px; border: 2px solid var(--line-strong); border-radius: 12px; background: #fff; font: inherit; font-weight: 700; color: var(--ink); }
.mine__out { display: grid; gap: 16px; }
.mine__row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 18px 22px; border-radius: 14px; background: #fff; }
.mine__row b { color: var(--head); }
@media (max-width: 900px) { .mine { grid-template-columns: minmax(0, 1fr); padding: 28px 20px; gap: 24px; text-align: center; } .mine__row { grid-template-columns: minmax(0, 1fr); text-align: left; gap: 2px; } }

/* ---------- Tool cards (photo nav) ---------- */
.tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tool { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); overflow: hidden; background: var(--tint); text-decoration: none; color: inherit; transition: transform .3s; }
.sec--tint .tool { background: #fff; }
.tool:hover { transform: translateY(-4px); }
.tool__ph { aspect-ratio: 1; background: var(--tint); }
.tool__ph img { width: 100%; height: 100%; object-fit: cover; }
.tool__b { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 22px 20px 24px; }
.tool__t { font-size: 20px; font-weight: 900; color: var(--ink); line-height: 1.4; }
.tool__s { grid-column: 1; font-size: var(--fs-small); line-height: 1.7; }
.tool .arw { grid-column: 2; grid-row: 1 / 3; background: var(--head); width: 40px; height: 40px; }
.tool .arw::before { border-color: #fff; }
@media (max-width: 1024px) { .tools { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 640px) {
  .tools { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tool { grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: auto; }
  .tool__ph { aspect-ratio: auto; height: 100%; }
  .tool__b { padding: 16px 14px; gap: 4px 10px; }
  .tool__t { font-size: 16px; }
  .tool .arw { width: 34px; height: 34px; }
}

/* ---------- Split (text + picture) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split--rev .split__fig { order: 2; }
.split__fig { border-radius: var(--r); overflow: hidden; background: var(--tint-2); aspect-ratio: 3 / 2; }
.split__fig img { width: 100%; height: 100%; object-fit: cover; }
.split__txt .sh { margin-bottom: 28px; }
.split__txt p + p { margin-top: 1lh; }
.split__txt .btns { margin-top: 36px; }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split--rev .split__fig { order: 0; }
}

/* checklist with icons (denwa) */
.pts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pt { padding: 36px 30px; border-radius: var(--r); background: #fff; }
.sec:not(.sec--tint) .pt { background: var(--tint); }
.pt__n { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--head); color: #fff; font-family: var(--ff-en); font-weight: 800; font-size: 20px; }
.pt__t { margin-top: 18px; font-size: var(--fs-h4); font-weight: 900; line-height: 1.5; }
.pt__s { margin-top: 12px; font-size: var(--fs-small); line-height: 1.9; }
@media (max-width: 900px) { .pts { grid-template-columns: minmax(0, 1fr); gap: 16px; } .pt { text-align: center; padding: 28px 22px; } }

/* partner (affiliate) cards — placeholders until the ASP partnerships are approved */
.aff { display: grid; gap: 24px; }
.aff__i { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 28px; border-radius: var(--r); background: #fff; }
.sec:not(.sec--tint) .aff__i { background: var(--tint); }
.aff__logo { aspect-ratio: 16 / 9; border-radius: 12px; background: var(--tint-2); display: grid; place-items: center; color: var(--head); font-weight: 700; font-size: var(--fs-small); text-align: center; line-height: 1.6; }
.aff__t { font-size: var(--fs-h4); font-weight: 900; color: var(--ink); }
.aff__dl { margin-top: 12px; display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 6px 14px; font-size: var(--fs-small); line-height: 1.8; }
.aff__dl dt { font-weight: 700; color: var(--head); }
.aff__dl dd { margin: 0; }
.aff__note { margin-top: 18px; font-size: var(--fs-caption); color: var(--ink-3); }
@media (max-width: 900px) {
  .aff__i { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; gap: 18px; }
  .aff__i .go { justify-content: space-between; height: 54px; }
  .aff__dl { grid-template-columns: 6.5em minmax(0, 1fr); }
}

/* ---------- Page hero (lower pages) ---------- */
.pgh { padding: calc(var(--hd) + 56px) 0 72px; background: var(--tint); }
.prbar + .pgh { background: var(--tint); }
.pgh__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.pgh__en { font-family: var(--ff-en); font-size: clamp(52px, 7vw, 104px); font-weight: 800; line-height: 1; letter-spacing: .02em; color: var(--head); white-space: nowrap; }
.pgh__h { margin-top: 22px; font-size: var(--fs-h2); font-weight: 900; line-height: 1.4; }
.pgh__lead { margin-top: 22px; font-size: var(--fs-lead); }
.pgh__fig { border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; background: var(--tint-2); }
.pgh__fig img { width: 100%; height: 100%; object-fit: cover; }
.pgh--deep { background: var(--brand-deep); color: var(--on-deep-2); }
.pgh--deep .pgh__en { color: var(--lilac); }
.pgh--deep .pgh__h { color: #fff; }
.crumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 28px; font-size: var(--fs-caption); color: var(--ink-3); }
.crumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumb a { color: var(--ink-2); }
.pgh--deep .crumb, .pgh--deep .crumb a { color: var(--on-deep-2); }
@media (max-width: 900px) {
  .pgh { padding: calc(var(--hd) + 32px) 0 48px; }
  .pgh__in { grid-template-columns: minmax(0, 1fr); gap: 28px; text-align: center; }
  .pgh__fig { order: -1; }
  .pgh__lead { text-align: left; }
  .crumb { justify-content: center; }
}

/* ---------- Tarot tool ---------- */
.tr { text-align: center; }
.tr__msg { font-size: var(--fs-h4); font-weight: 900; color: var(--ink); }
.tr__sub { margin-top: 8px; font-size: var(--fs-small); }
.tr__fan { position: relative; height: 330px; margin: 40px auto 0; max-width: 760px; }
.tr__card { position: absolute; left: 50%; bottom: 0; width: 150px; aspect-ratio: 2 / 3; margin-left: -75px; border: 0; padding: 0; border-radius: 12px; background: var(--brand-deep); overflow: hidden; cursor: pointer; transform-origin: 50% 120%; transition: transform .7s cubic-bezier(.2, .8, .2, 1), box-shadow .2s; }
.tr__card img { width: 100%; height: 100%; object-fit: cover; }
.tr__card:hover, .tr__card:focus-visible { transform: var(--t) translateY(-22px) !important; }
.tr__card.is-pick { z-index: 5; }
.tr__again { margin-top: 28px; }
.tr__res { margin-top: 56px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; text-align: left; padding: 48px; border-radius: var(--r); background: #fff; }
.tr__face { aspect-ratio: 2 / 3; border-radius: 16px; background: var(--brand-deep); color: #fff; display: grid; align-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center; transition: transform .6s; }
.tr__face.is-rev .tr__face-in { transform: rotate(180deg); }
.tr__face-in { display: grid; justify-items: center; gap: 12px; }
.tr__roman { font-family: var(--ff-en); font-size: 22px; font-weight: 700; letter-spacing: .2em; color: var(--lilac); }
.tr__moon { width: 84px; height: 84px; border-radius: 50%; background: #ffd34d; box-shadow: inset -22px -6px 0 0 var(--brand-deep); }
.tr__fname { font-size: 26px; font-weight: 900; line-height: 1.4; }
.tr__fen { font-family: var(--ff-en); font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--on-deep-2); }
.tr__pos { display: inline-grid; place-items: center; height: 30px; padding: 0 12px; border-radius: 6px; background: var(--head); color: #fff; font-size: 13px; font-weight: 700; }
.tr__name { margin-top: 12px; font-size: var(--fs-h3); font-weight: 900; }
.tr__kw { margin-top: 6px; color: var(--head); font-weight: 700; }
.tr__body { margin-top: 20px; display: grid; gap: 14px; }
.tr__row { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 14px; padding: 16px 20px; border-radius: 12px; background: var(--tint); }
.tr__row b { white-space: nowrap; }
.tr__row b { color: var(--head); }
.tr__note { margin-top: 18px; font-size: var(--fs-caption); color: var(--ink-3); }
@media (max-width: 768px) {
  .tr__fan { height: 250px; }
  .tr__card { width: 100px; margin-left: -50px; }
  .tr__res { grid-template-columns: minmax(0, 1fr); padding: 26px 18px; gap: 24px; }
  .tr__face { width: 200px; margin: 0 auto; }
  .tr__res-txt { text-align: center; }
  .tr__row { grid-template-columns: minmax(0, 1fr); gap: 2px; text-align: left; }
}

/* ---------- Form-like tools (numerology, simulator) ---------- */
.fm { display: grid; gap: 22px; }
.fm__row { display: grid; gap: 8px; }
.fm__lb { font-weight: 700; color: var(--ink); }
.fm__in { width: 100%; height: 56px; padding: 0 16px; border: 2px solid var(--line-strong); border-radius: 12px; background: #fff; font: inherit; font-weight: 700; color: var(--ink); }
.fm__in:focus { border-color: var(--head); outline: none; }
.fm__3 { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; }
.fm__hint { font-size: var(--fs-caption); color: var(--ink-3); }
.calc { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 48px; align-items: start; padding: 48px; border-radius: var(--r); background: #fff; }
.sec:not(.sec--tint) .calc { background: var(--tint); }
.calc__out { display: grid; gap: 16px; align-content: start; }
.calc__big { padding: 32px; border-radius: 16px; background: var(--head); color: #fff; text-align: center; }
.calc__big small { display: block; font-size: var(--fs-small); color: var(--on-deep-2); }
.calc__big b { display: block; margin-top: 4px; font-family: var(--ff-en); font-size: 56px; font-weight: 800; line-height: 1.2; }
.calc__big b span { font-family: var(--ff); font-size: 20px; margin-left: 4px; }
.calc__big b i { font-style: normal; }
.mine__lb { display: block; margin-top: 18px; }
.prbar { background: var(--tint); }
.prbar:has(+ .pgh--deep) { background: var(--brand-deep); }
.prbar:has(+ .pgh--deep) .prbar__in { color: var(--on-deep-2); }
.prbar:has(+ .pgh--deep) a { color: #fff; }
.prbar:has(+ .pgh--deep) .prbar__tag { background: #fff; color: var(--brand-deep); }
.calc__note { font-size: var(--fs-caption); color: var(--ink-3); line-height: 1.8; }
.tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.tabs__btn { flex: 1; height: 50px; border: 2px solid var(--line-strong); border-radius: 12px; background: #fff; font-weight: 700; cursor: pointer; }
.tabs__btn[aria-selected="true"] { border-color: var(--head); background: var(--head); color: #fff; }
.kz { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 40px; padding: 44px; border-radius: var(--r); background: #fff; }
.kz__num { aspect-ratio: 1; border-radius: 50%; background: var(--head); color: #fff; display: grid; place-items: center; font-family: var(--ff-en); font-size: 92px; font-weight: 800; line-height: 1; }
.kz__type { font-size: var(--fs-h3); font-weight: 900; color: var(--ink); }
.kz__rows { margin-top: 18px; display: grid; gap: 12px; }
@media (max-width: 900px) {
  .calc { grid-template-columns: minmax(0, 1fr); padding: 26px 18px; gap: 28px; }
  .kz { grid-template-columns: minmax(0, 1fr); padding: 28px 18px; gap: 20px; text-align: center; }
  .kz__num { width: 150px; margin: 0 auto; font-size: 72px; }
}

/* ---------- Angel numbers ---------- */
.an { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.an__i { padding: 28px 26px; border-radius: var(--r); background: #fff; scroll-margin-top: calc(var(--hd) + 16px); }
.an__n { font-family: var(--ff-en); font-size: 44px; font-weight: 800; line-height: 1.1; color: var(--head); letter-spacing: .04em; }
.an__t { margin-top: 8px; font-size: 19px; font-weight: 900; color: var(--ink); }
.an__s { margin-top: 10px; font-size: var(--fs-small); line-height: 1.9; }
.an__lv { margin-top: 12px; font-size: var(--fs-small); line-height: 1.9; }
.an__lv b { color: var(--head); margin-right: 6px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.jump a { display: inline-grid; place-items: center; min-width: 68px; height: 44px; padding: 0 12px; border-radius: 10px; background: #fff; color: var(--head); font-family: var(--ff-en); font-weight: 700; text-decoration: none; border: 2px solid var(--line-strong); }
.jump a:hover { border-color: var(--head); }
@media (max-width: 1024px) { .an { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 640px) { .an { grid-template-columns: minmax(0, 1fr); } .an__i { text-align: center; } .an__s, .an__lv { text-align: left; } }

/* ---------- Become a fortune teller ---------- */
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.seg__i { display: grid; grid-template-rows: auto auto auto 1fr auto; border-radius: var(--r); overflow: hidden; background: #fff; color: var(--ink-2); }
.sec:not(.sec--tint):not(.sec--deep) .seg__i { background: var(--tint); }
.seg__ph { aspect-ratio: 4 / 3; background: var(--tint); }
.seg__ph img { width: 100%; height: 100%; object-fit: cover; }
.seg__k { padding: 26px 26px 0; font-family: var(--ff-en); font-size: 14px; font-weight: 800; letter-spacing: .18em; color: var(--head); }
.seg__t { padding: 6px 26px 0; font-size: var(--fs-h4); font-weight: 900; color: var(--ink); line-height: 1.5; }
.seg__s { padding: 12px 26px 0; font-size: var(--fs-small); line-height: 1.9; }
.seg__go { padding: 20px 26px 28px; }
.seg__go .go { width: 100%; justify-content: space-between; }
@media (max-width: 900px) { .seg { grid-template-columns: minmax(0, 1fr); gap: 20px; } .seg__i { text-align: center; } .seg__s { text-align: left; } }
.cmp { width: 100%; table-layout: fixed; border-collapse: collapse; background: #fff; border-radius: var(--r); overflow: hidden; }
.cmp thead th:first-child { width: 190px; }
.cmp th, .cmp td { padding: 20px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.8; }
.cmp thead th { background: var(--brand-deep); color: #fff; font-size: var(--fs-lead); }
.cmp tbody th { color: var(--head); font-weight: 700; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmpc { display: none; }
@media (max-width: 768px) {
  .cmp { display: none; }
  .cmpc { display: grid; gap: 16px; }
  .cmpc__i { padding: 24px 20px; border-radius: var(--r); background: #fff; }
  .cmpc__h { font-size: var(--fs-h4); font-weight: 900; color: var(--ink); text-align: center; }
  .cmpc dl { margin: 14px 0 0; display: grid; gap: 12px; }
  .cmpc dt { font-weight: 700; color: var(--head); font-size: var(--fs-small); }
  .cmpc dd { margin: 2px 0 0; font-size: var(--fs-small); line-height: 1.8; }
}

/* ---------- LINE band ---------- */
.lineb { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: center; padding: 64px; border-radius: 28px; background: var(--brand-deep); color: var(--on-deep-2); }
.lineb__h { font-size: var(--fs-h2); font-weight: 900; color: #fff; line-height: 1.4; }
.lineb__s { margin-top: 18px; }
.lineb__list { margin-top: 22px; list-style: none; display: grid; gap: 10px; }
.lineb__list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; color: #fff; font-weight: 700; }
.lineb__list li::before { content: ""; width: 22px; height: 22px; margin-top: 5px; border-radius: 50%; background: #ffd34d; box-shadow: inset -7px -2px 0 0 var(--brand-deep); }
.lineb .btns { margin-top: 32px; }
.lineb__fig { border-radius: var(--r); overflow: hidden; aspect-ratio: 1; background: var(--tint); }
.lineb__fig img { width: 100%; height: 100%; object-fit: cover; }
.lineb__fig--mascot { display: grid; place-items: center; padding: 12%; }
.lineb__fig--mascot img { object-fit: contain; }
@media (max-width: 900px) { .lineb { grid-template-columns: minmax(0, 1fr); padding: 36px 22px; gap: 28px; text-align: center; } .lineb__fig { order: -1; width: min(280px, 80%); margin: 0 auto; } .lineb__list { text-align: left; } }

/* ---------- Column cards / list ---------- */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.col { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; border-radius: var(--r); overflow: hidden; background: var(--tint); }
.sec--tint .col { background: #fff; }
.col__ph { aspect-ratio: 3 / 2; background: var(--tint-2); overflow: hidden; }
.col__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.col:hover .col__ph img { transform: scale(1.04); }
.col__b { display: grid; align-content: start; gap: 10px; padding: 22px 24px 28px; }
.col__meta { display: flex; gap: 10px; align-items: center; font-size: var(--fs-caption); color: var(--ink-3); }
.col__cat { display: inline-grid; place-items: center; height: 26px; padding: 0 10px; border-radius: 6px; border: 1.5px solid var(--head); color: var(--head); font-weight: 700; background: #fff; }
.col__cat--naru { border-color: var(--brand-deep); color: #fff; background: var(--brand-deep); }
.col__t { font-size: 19px; font-weight: 900; color: var(--ink); line-height: 1.6; }
.col__go { margin-top: 6px; display: flex; justify-content: flex-end; }
@media (max-width: 1024px) { .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; } }
@media (max-width: 640px) { .cols { grid-template-columns: minmax(0, 1fr); } }
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filters button { height: 44px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--line-strong); background: #fff; font-weight: 700; cursor: pointer; color: var(--ink); }
.filters button[aria-pressed="true"] { border-color: var(--head); color: var(--head); background: var(--tint); }

/* ---------- Article ---------- */
.art { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; }
.art__main { min-width: 0; }
.art__thumb { border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; background: var(--tint-2); }
.art__thumb img { width: 100%; height: 100%; object-fit: cover; }
.art__meta { margin-top: 24px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: var(--fs-small); color: var(--ink-3); }
.art__h1 { margin-top: 12px; font-size: 40px; font-weight: 900; line-height: 1.5; }
.art__body { margin-top: 36px; }
.art__body > p { margin-top: 1lh; }
.art__body h2 { margin-top: 72px; font-size: 30px; font-weight: 900; line-height: 1.5; scroll-margin-top: calc(var(--hd) + 16px); }
.art__body h2 .num { display: block; font-family: var(--ff-en); font-size: 15px; letter-spacing: .2em; color: var(--head); }
.art__body h3 { margin-top: 44px; font-size: 22px; font-weight: 900; }
.art__body figure { margin: 28px 0 0; border-radius: var(--r-s); overflow: hidden; aspect-ratio: 3 / 2; background: var(--tint-2); }
.art__body figure img { width: 100%; height: 100%; object-fit: cover; }
.art__body ul, .art__body ol { margin-top: 1lh; padding-left: 1.4em; display: grid; gap: 6px; }
.art__body strong { color: var(--ink); font-weight: 700; }
.toc { margin-top: 40px; padding: 30px 32px; border-radius: var(--r); background: var(--tint); }
.toc__h { font-weight: 900; color: var(--ink); }
.toc ol { margin-top: 12px; padding-left: 1.4em; display: grid; gap: 6px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--head); text-decoration: underline; }
.point { margin-top: 32px; padding: 28px 30px; border-radius: var(--r); background: var(--tint); }
.point__h { font-weight: 900; color: var(--head); }
.point ul { margin-top: 10px; }
.box-ex { margin-top: 28px; display: grid; gap: 12px; }
.box-ex__i { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); gap: 14px; padding: 18px 22px; border-radius: 14px; background: var(--tint); }
.box-ex__i b { color: var(--head); }
.box-ex__i--ng b { color: var(--ink-3); }
.art__cta { margin-top: 72px; padding: 48px; border-radius: 24px; background: var(--brand-deep); color: var(--on-deep-2); text-align: center; }
.art__cta-h { font-size: 26px; font-weight: 900; color: #fff; line-height: 1.5; }
.art__cta p { margin-top: 14px; }
.art__cta .btns { margin-top: 28px; }
.writer { margin-top: 56px; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: center; padding: 28px; border-radius: var(--r); background: var(--tint); }
.writer__ph { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: #fff; }
.writer__ph img { width: 100%; height: 100%; object-fit: cover; }
.writer b { color: var(--ink); }
.writer p { font-size: var(--fs-small); line-height: 1.9; }
.side { position: sticky; top: calc(var(--hd) + 20px); display: grid; gap: 20px; }
.side__toc { padding: 24px; border-radius: var(--r); background: var(--tint); font-size: var(--fs-small); }
.side__toc b { display: block; margin-bottom: 8px; color: var(--ink); }
.side__toc a { display: block; padding: 6px 0; color: var(--ink-2); text-decoration: none; line-height: 1.6; }
.side__toc a.is-cur { color: var(--head); font-weight: 700; }
@media (max-width: 1024px) { .art { grid-template-columns: minmax(0, 1fr); } .side { display: none; } }
@media (max-width: 768px) {
  .art__h1 { font-size: 26px; }
  .art__body h2 { margin-top: 56px; font-size: 23px; }
  .art__body h3 { font-size: 19px; }
  .toc, .point { padding: 22px 20px; }
  .box-ex__i { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .art__cta { padding: 32px 20px; }
  .art__cta-h { font-size: 21px; }
  .writer { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
}

/* ---------- Simple text pages (about / privacy / contact) ---------- */
.doc { max-width: 880px; margin-inline: auto; }
.doc h2 { margin-top: 64px; font-size: var(--fs-h3); font-weight: 900; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin-top: 32px; font-size: 20px; font-weight: 900; }
.doc p, .doc ul, .doc ol { margin-top: 1em; }
.doc ul, .doc ol { padding-left: 1.4em; display: grid; gap: 6px; }
.dl { margin-top: 24px; display: grid; grid-template-columns: 170px minmax(0, 1fr); }
.dl dt, .dl dd { margin: 0; padding: 22px 0; border-bottom: 1px solid var(--line); }
.dl dt { font-size: var(--fs-small); font-weight: 700; color: var(--head); }
.dl dd { font-weight: 700; color: var(--ink); }
@media (max-width: 640px) { .dl { grid-template-columns: minmax(0, 1fr); } .dl dt { padding-bottom: 0; border: 0; } .dl dd { padding-top: 4px; } }
.form { display: grid; gap: 22px; margin-top: 32px; }
.form textarea { width: 100%; min-height: 200px; padding: 14px 16px; border: 2px solid var(--line-strong); border-radius: 12px; font: inherit; }
.notice { margin-top: 24px; padding: 20px 24px; border-radius: 14px; background: var(--tint); font-size: var(--fs-small); }
.tbd { display: inline-block; padding: 0 8px; border-radius: 6px; background: #fff4cc; color: #6b5200; font-size: .85em; font-weight: 700; letter-spacing: .04em; }

/* ---------- Footer ---------- */
.ft { background: var(--brand-night); color: var(--on-deep-2); padding: 96px 0 calc(40px + var(--bar)); }
.ft__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; }
.ft__about p { margin-top: 18px; font-size: var(--fs-small); line-height: 1.9; }
.ft__mascot { width: 120px; margin-top: 24px; }
.ft__nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ft__nav b { display: block; font-family: var(--ff-en); font-size: 13px; letter-spacing: .2em; color: var(--lilac); margin-bottom: 12px; }
.ft__nav a { display: block; padding: 5px 0; color: #fff; text-decoration: none; font-size: var(--fs-small); font-weight: 700; line-height: 1.6; }
.ft__nav a:hover { color: var(--lilac); }
.ft__pr { margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: var(--fs-caption); line-height: 1.9; }
.ft__cr { margin-top: 18px; font-family: var(--ff-en); font-size: var(--fs-caption); letter-spacing: .1em; }
@media (max-width: 900px) {
  .ft { padding-top: 64px; text-align: center; }
  .ft__in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ft__mascot { margin: 20px auto 0; }
  .ft__nav { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 16px; }
  .ft__pr { text-align: left; }
}

/* placeholders until generated images arrive */
img[src*="assets/img/ph/"] { object-fit: cover; }
