/* ============================================================
   Push Forward — MIDNIGHT TABLE
   夜、ひとつの卓を囲んで謎を解く。オレンジは「灯り」としてだけ使う。
   ============================================================ */
:root {
  --ink: #0c0e14;        /* 墨紺: page */
  --ink-2: #10131b;      /* raised */
  --ink-3: #07080c;      /* screen black */
  --paper: #efe8db;      /* headings        (≈15:1 on ink) */
  --body: #d2cbbd;       /* paragraphs      (≈12:1 on ink) */
  --muted: #bab3a5;      /* meta            (≈9.2:1 on ink) */
  --gold: #d4b27a;       /* KV gold: type ornaments (≈9.6:1 on ink) */
  --gold-dim: rgba(201, 164, 106, 0.32);
  --lamp: #ff8b00;       /* brand orange = light only */
  --lamp-text: #ffb466;  /* orange for small type (≈10:1) */
  --error: #ff9d8f;      /* (≈9:1 on ink) */
  --rule: rgba(239, 232, 219, 0.13);
  --mincho: 'Shippori Mincho B1', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --gothic: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --latin: 'Cormorant Garamond', 'Times New Roman', serif;
  --gutter: clamp(20px, 4.4vw, 64px);
  --max: 1280px;
  --header-h: 72px;
}
@media (max-width: 640px) { :root { --header-h: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ink); scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--body);
  font-family: var(--gothic);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  word-break: auto-phrase;
  line-break: strict;
}
@media (min-width: 900px) { body { font-size: 16px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
.nb { display: inline-block; } /* 文節単位で折り返す */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--lamp-text); outline-offset: 4px; border-radius: 2px; }
::selection { background: rgba(255, 139, 0, 0.35); color: #fff; }

/* film grain — fixed, very low */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 100;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 8px 14px;
  background: var(--paper); color: var(--ink);
  font-size: 13px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.label {
  font-family: var(--gothic); font-weight: 500; font-size: 12px; line-height: 1.6;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
}
.chev { display: inline-block; flex: none; width: 0.95em; height: 0.7em; vertical-align: 0.02em; }

.tate {
  writing-mode: vertical-rl;
  font-family: var(--mincho); font-weight: 700; font-size: 15px;
  letter-spacing: 0.45em; line-height: 1; color: var(--gold);
}

/* ============================================================
   header
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s, border-color 0.4s;
}
.site-header.is-scrolled {
  background: rgba(12, 14, 20, 0.86);
  border-color: var(--rule);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { position: relative; z-index: 2; display: block; width: 170px; line-height: 0; }
.logo img { width: 100%; }
.site-nav { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.site-nav a {
  position: relative; display: block;
  padding: 10px 0;
  font-size: 12px; font-weight: 500; letter-spacing: 0.22em;
  text-decoration: none; color: var(--body);
  transition: color 0.25s;
}
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--paper); }
.site-nav a[aria-current='page']::before { /* 灯り: 現在地 */
  content: '';
  position: absolute; left: 50%; bottom: 2px;
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--lamp); box-shadow: 0 0 10px 2px rgba(255, 139, 0, 0.55);
}
.nav-ja { display: none; }
.nav-toggle { display: none; }

@media (max-width: 640px) {
  .logo { width: 136px; }
  .nav-toggle {
    position: relative; z-index: 2;
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; margin-right: -10px; padding: 0;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 24px; height: 1px; background: var(--paper); transition: transform 0.3s, opacity 0.3s; }
  .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); }

  .nav-open, .nav-open body { overflow: hidden; }
  .nav-open .site-header { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 0;
    padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
    background:
      radial-gradient(circle at 80% 18%, rgba(255, 139, 0, 0.12), transparent 45%),
      var(--ink-3);
    visibility: hidden; opacity: 0;
    transition: opacity 0.35s, visibility 0s 0.35s;
  }
  .site-nav.open { visibility: visible; opacity: 1; transition: opacity 0.35s; }
  .site-nav a {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
    padding: 22px 0;
    border-bottom: 1px solid var(--rule);
    font-family: var(--latin); font-style: italic; font-weight: 400;
    font-size: 2.5rem; line-height: 1; letter-spacing: 0.02em;
  }
  .site-nav a:first-child { border-top: 1px solid var(--rule); }
  .site-nav a[aria-current='page'] { color: var(--lamp-text); }
  .site-nav a[aria-current='page']::before { display: none; }
  .nav-ja { display: inline; font-family: var(--gothic); font-style: normal; font-size: 13px; letter-spacing: 0.16em; color: var(--muted); }
}

/* ============================================================
   buttons / links
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 52px; padding: 0 24px;
  border: 1px solid rgba(239, 232, 219, 0.42);
  border-radius: 0;
  background: rgba(7, 8, 12, 0.4);
  color: var(--paper);
  font: 500 14px/1.5 var(--gothic); letter-spacing: 0.1em;
  text-decoration: none; text-align: left;
  cursor: pointer;
  transition: border-color 0.35s, box-shadow 0.35s, color 0.35s, background-color 0.35s;
}
.btn .chev { color: var(--lamp); transition: transform 0.35s; }
.btn:hover {
  border-color: var(--lamp);
  background: rgba(255, 139, 0, 0.06);
  box-shadow: 0 0 0 1px rgba(255, 139, 0, 0.25), 0 10px 40px -8px rgba(255, 139, 0, 0.35);
}
.btn:hover .chev { transform: translateX(3px); }
.btn:disabled { opacity: 0.5; cursor: default; box-shadow: none; border-color: rgba(239, 232, 219, 0.42); background: rgba(7, 8, 12, 0.4); }
.btn-discord, .btn-outline { border-color: rgba(239, 232, 219, 0.24); }
.btn-discord .chev, .btn-outline .chev { color: var(--gold); }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 0;
  font-size: 14px; font-weight: 500; letter-spacing: 0.1em;
  text-decoration: none; color: var(--body);
  background: linear-gradient(var(--gold-dim), var(--gold-dim)) 0 calc(100% - 6px) / 100% 1px no-repeat;
  transition: color 0.3s;
}
.link .chev { color: var(--gold); }
.link:hover { color: var(--paper); background-image: linear-gradient(var(--lamp), var(--lamp)); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }
@media (max-width: 420px) {
  .actions .btn { width: 100%; }
}

/* ============================================================
   TOP: hero — 暗闇に浮かぶ、光の点で描いた地球儀
   JS 有効かつ reduced-motion でないときだけ html.globe-pin が付き、
   背の高いラッパー＋ sticky ステージになる（JS が落ちても空白が残らない）
   ============================================================ */
.hero { position: relative; background: var(--ink-3); }
.hero-stage {
  --gr: min(32vh, 23vw); /* 地球儀の半径 */
  position: relative;
  min-height: calc(100vh - 68px); min-height: calc(100svh - 68px); /* 固定しないときは下端に NOW SHOWING を覗かせる */
  display: grid;
  isolation: isolate; overflow: hidden;
}
.globe-pin .hero-pin { height: 300vh; height: 300svh; }
.globe-pin .hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.hero-stage > .wrap, .marquee-bar .wrap { width: 100%; }

/* 地球儀の位置と大きさは CSS が決め、globe.js は .globe-box の矩形に描く */
.globe-box {
  position: absolute; z-index: -2;
  left: calc(75.5% - var(--gr)); top: calc(46% - var(--gr));
  width: calc(var(--gr) * 2); aspect-ratio: 1;
  border-radius: 50%;
  /* CSS だけの淡い球（JS無効・canvas非対応時の下敷き） */
  background:
    radial-gradient(circle at 62% 34%, rgba(239, 232, 219, 0.1), rgba(239, 232, 219, 0.03) 38%, transparent 62%),
    radial-gradient(circle, rgba(16, 19, 27, 0.9) 60%, rgba(212, 178, 122, 0.12) 69.5%, transparent 71%);
  transition: opacity 1.2s ease;
}
.globe-ready .globe-box { opacity: 0; }
.globe-canvas, .globe-light { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; }
.js .globe-canvas, .js .globe-light { opacity: 0; transition: opacity 1.4s ease 0.2s; }
.globe-ready .globe-canvas, .globe-ready .globe-light { opacity: 1; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(12, 14, 20, 0.9) 30%, rgba(12, 14, 20, 0.25) 56%, rgba(12, 14, 20, 0) 70%),
    linear-gradient(0deg, var(--ink) 0%, rgba(12, 14, 20, 0) 30%),
    linear-gradient(180deg, rgba(12, 14, 20, 0.6) 0%, rgba(12, 14, 20, 0) 16%);
}

.hero-body {
  align-self: end;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--gutter);
  padding-top: 120px; padding-bottom: clamp(48px, 8vh, 96px);
}
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(24px, 4vh, 40px); }
.hero-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: var(--mincho); font-weight: 700; color: var(--paper);
  font-size: clamp(2.55rem, 1.1rem + 6.1vw, 7rem); line-height: 1.24; letter-spacing: 0.03em;
}
.hero h1 > span { display: block; }
.hero h1 .hang { margin-left: -0.48em; }
.hero h1 em { font-style: normal; color: var(--lamp-text); }
.hero-lead { max-width: 31em; margin-top: clamp(28px, 4.5vh, 48px); color: var(--body); }
.hero-side {
  writing-mode: vertical-rl;
  padding: 0 14px 6px 0;
  border-right: 1px solid var(--gold-dim);
  font-family: var(--mincho); font-weight: 700; font-size: 14px;
  letter-spacing: 0.4em; line-height: 2.2; color: var(--body);
}
.hero-side b { font-weight: 500; color: var(--gold); }

.marquee-bar { border-top: 1px solid var(--rule); background: linear-gradient(0deg, rgba(7, 8, 12, 0.6), rgba(7, 8, 12, 0)); }
.marquee-bar .wrap { display: grid; grid-template-columns: 200px; grid-auto-flow: column; grid-auto-columns: 1fr; }
.marquee-bar .label { display: flex; align-items: center; gap: 10px; padding: 22px 0; }
.marquee-bar .label::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--lamp); box-shadow: 0 0 12px 3px rgba(255, 139, 0, 0.5);
}
.bill {
  display: flex; align-items: baseline; gap: 16px;
  padding: 22px 0 22px 28px;
  border-left: 1px solid var(--rule);
  text-decoration: none;
  transition: background-color 0.3s;
}
.bill .no { font-family: var(--latin); font-style: italic; font-size: 22px; line-height: 1; color: var(--gold); }
.bill .t { font-family: var(--mincho); font-weight: 700; font-size: 17px; letter-spacing: 0.06em; color: var(--paper); }
.bill .ar { margin-left: auto; margin-right: 24px; color: var(--muted); transition: transform 0.3s, color 0.3s; }
.bill:hover { background: rgba(255, 139, 0, 0.05); }
.bill:hover .ar { transform: translateY(3px); color: var(--lamp-text); }

@media (max-width: 899px) {
  .globe-pin .hero-pin { height: 240vh; height: 240svh; }
  /* 上部（ヘッダー下）に地球儀、その下にコピー */
  .hero-stage { --gr: min(21vh, 40vw); --gr: min(21svh, 40vw); min-height: 100vh; min-height: 100svh; }
  .globe-box { left: calc(50% - var(--gr)); top: calc(var(--header-h) + 20px); }
  .hero-scrim {
    background:
      linear-gradient(0deg, var(--ink) 0%, var(--ink) 34%, rgba(12, 14, 20, 0.5) 46%, rgba(12, 14, 20, 0) 56%),
      linear-gradient(180deg, rgba(12, 14, 20, 0.6) 0%, rgba(12, 14, 20, 0) 10%);
  }
  .hero-body { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + var(--gr) * 2 - 4px); padding-bottom: 40px; }
  .hero-side { display: none; }
  .marquee-bar .wrap { grid-template-columns: 1fr; grid-auto-flow: row; }
  .marquee-bar .label { padding: 16px 0 4px; }
  .bill { padding: 16px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .bill .ar { margin-right: 0; }
  .marquee-bar .label + .bill { border-top: 0; }
}

/* ---------- section heads ---------- */
.sec-head { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: clamp(16px, 3vw, 40px); }
.sec-head .en {
  font-family: var(--latin); font-style: italic; font-weight: 400; color: var(--paper);
  font-size: clamp(3.2rem, 1.6rem + 6.4vw, 8.5rem); line-height: 0.86; letter-spacing: -0.01em;
}
.sec-head .jp { display: flex; align-items: center; gap: 14px; padding-bottom: 0.9em; white-space: nowrap; }
.sec-head .jp::after { content: ''; flex: 1; height: 1px; background: var(--rule); }

/* ============================================================
   TOP: products — 上映作品
   ============================================================ */
.products { position: relative; overflow-x: clip; padding: clamp(88px, 10vw, 136px) 0 clamp(80px, 9vw, 128px); }
.products-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; margin-top: clamp(24px, 3vw, 36px); }
.products-intro p {
  grid-column: 1 / span 7;
  font-family: var(--mincho); font-weight: 500; color: var(--paper);
  font-size: clamp(1.15rem, 0.9rem + 1vw, 1.6rem); line-height: 1.9; letter-spacing: 0.08em;
}

.work {
  position: relative;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; gap: 0 24px;
  margin-top: clamp(96px, 11vw, 152px);
}
.products-intro + .work { margin-top: clamp(64px, 7vw, 96px); }
.work .tate { position: absolute; top: 0; left: calc(var(--gutter) * -1 + 18px); }
.work--a .screen-wrap { grid-column: 1 / span 7; justify-self: start; width: 100%; max-width: 652px; } /* 616px + 額装 18px×2 */
.work--a .screen { padding: 18px; }
.work--a .screen img { max-width: 616px; }
.work--a .info { grid-column: 9 / span 4; }
.work--b { align-items: end; }
.work--b .info { grid-column: 1 / span 5; grid-row: 1; padding-bottom: 12px; }
.work--b .screen-wrap { grid-column: 7 / span 6; grid-row: 1; }

/* スクリーン: 上映作品として額装 */
.screen {
  --c: var(--gold);
  position: relative;
  margin: 0;
  padding: clamp(8px, 1.2vw, 16px);
  background: var(--ink-3);
  box-shadow: 0 0 0 1px var(--gold-dim), 0 50px 90px -40px rgba(0, 0, 0, 0.9);
}
.screen::after { /* トンボ */
  content: '';
  position: absolute; inset: -9px;
  pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 16px 1px,
    linear-gradient(var(--c), var(--c)) 0 0 / 1px 16px,
    linear-gradient(var(--c), var(--c)) 100% 0 / 16px 1px,
    linear-gradient(var(--c), var(--c)) 100% 0 / 1px 16px,
    linear-gradient(var(--c), var(--c)) 0 100% / 16px 1px,
    linear-gradient(var(--c), var(--c)) 0 100% / 1px 16px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 16px 1px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 1px 16px;
  background-repeat: no-repeat;
}
.screen-wrap { position: relative; isolation: isolate; }
.screen-beam { /* 投影の灯り。面ではなく背後の滲み */
  position: absolute; inset: -18% -6%; z-index: -1;
  pointer-events: none;
  background: radial-gradient(50% 50% at 50% 55%, rgba(255, 139, 0, 0.16), rgba(255, 139, 0, 0) 70%);
  opacity: 0.9;
  transition: opacity 1.6s ease;
}
.screen img { width: 100%; background: var(--ink-2); transition: filter 1.6s ease; }
.caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; }
.caption span:last-child { color: var(--gold); }

.info .no { display: flex; align-items: baseline; gap: 14px; font-family: var(--latin); font-style: italic; font-size: 20px; line-height: 1; color: var(--gold); }
.info .no b { font-weight: 400; font-size: clamp(3.6rem, 2rem + 3vw, 5.2rem); letter-spacing: -0.02em; }
.info h3 {
  margin-top: clamp(24px, 2.6vw, 36px);
  font-family: var(--mincho); font-weight: 800; color: var(--paper);
  font-size: clamp(2rem, 1rem + 2.5vw, 3.3rem); line-height: 1.32; letter-spacing: 0.03em;
}
.info .desc { max-width: 24em; margin-top: 28px; color: var(--body); }
.meta { margin-top: 28px; border-top: 1px solid var(--rule); }
.meta div { display: grid; grid-template-columns: 9.6em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 14px; line-height: 1.7; }
.meta dt { font-weight: 500; letter-spacing: 0.08em; white-space: nowrap; color: var(--muted); }
.meta dd { color: var(--paper); }

@media (max-width: 899px) {
  .products-intro p { grid-column: 1 / -1; }
  .work { grid-template-columns: 1fr; margin-top: 96px; }
  .work .tate { display: none; }
  .work--a .screen-wrap, .work--b .screen-wrap { grid-column: 1; grid-row: 1; max-width: none; }
  .work--a .info, .work--b .info { grid-column: 1; grid-row: 2; margin-top: 40px; padding: 0; }
  .info .no b { font-size: 3.4rem; }
  .screen::after { inset: -6px; }
}

/* ============================================================
   TOP: company
   ============================================================ */
.company {
  position: relative;
  padding: clamp(88px, 10vw, 128px) 0 clamp(80px, 9vw, 120px);
  background: var(--ink-2);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.company .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
.company .sec-head { grid-column: 1 / -1; }
.company-body { display: contents; }
.company-statement {
  grid-column: 1 / span 5; align-self: start;
  margin-top: clamp(40px, 4.4vw, 56px);
  font-family: var(--mincho); font-weight: 500; color: var(--paper);
  font-size: clamp(1.15rem, 0.95rem + 0.8vw, 1.5rem); line-height: 2; letter-spacing: 0.08em;
}
.company-facts { grid-column: 4 / span 8; margin-top: clamp(40px, 4.4vw, 56px); }
.company .link { margin-top: 32px; }
@media (max-width: 899px) {
  .company .wrap { grid-template-columns: 1fr; }
  .company-statement, .company-facts { grid-column: 1; }
}

/* 会社概要の表（トップ・会社概要ページ共通） */
.outline { border-top: 1px solid var(--rule); }
.outline div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.outline dt { font-size: 14px; font-weight: 500; letter-spacing: 0.2em; line-height: 2; color: var(--muted); }
.outline dd { line-height: 2; color: var(--paper); }
@media (max-width: 640px) {
  .outline div { grid-template-columns: 1fr; gap: 2px; padding: 16px 0; }
}

/* ============================================================
   TOP: contact CTA
   ============================================================ */
.cta { --mx: 70%; --my: 50%; position: relative; padding: clamp(96px, 11vw, 152px) 0; isolation: isolate; overflow: hidden; }
.cta::before { /* 卓上の灯り。ホバーで明るむ */
  content: '';
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 139, 0, 0.15), rgba(255, 139, 0, 0.04) 18vmax, transparent 32vmax);
  opacity: 0.3;
  transition: opacity 0.6s;
}
.cta:hover::before, .cta:focus-within::before { opacity: 1; }
.cta .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; gap: 0 24px; }
.cta-text { grid-column: 1 / span 9; }
.cta .en {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--latin); font-style: italic; font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); line-height: 1; color: var(--gold);
}
.cta .en::after { content: ''; width: 64px; height: 1px; background: var(--gold-dim); }
.cta h2 {
  margin-top: clamp(28px, 3vw, 40px);
  font-family: var(--mincho); font-weight: 700; color: var(--paper);
  font-size: clamp(1.9rem, 1rem + 3.6vw, 4.2rem); line-height: 1.4; letter-spacing: 0.04em;
}
.cta-sub { margin-top: 24px; color: var(--body); }
.cta-go {
  grid-column: 10 / span 3; justify-self: end;
  display: flex; flex-direction: column; align-items: flex-end; gap: 18px;
  text-decoration: none; color: var(--paper);
}
.cta-go::after { content: ''; position: absolute; inset: 0; } /* セクション全体をクリック可能に */
.cta-go .ring {
  position: relative;
  display: grid; place-items: center;
  width: clamp(88px, 9vw, 128px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(239, 232, 219, 0.42);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.cta-go .ring .chev { width: 34%; height: auto; color: var(--lamp); transition: transform 0.4s; }
.cta-go .go-label { font-size: 13px; font-weight: 500; letter-spacing: 0.2em; }
.cta:hover .ring, .cta-go:focus-visible .ring { border-color: var(--lamp); box-shadow: 0 0 0 6px rgba(255, 139, 0, 0.06), 0 0 60px -6px rgba(255, 139, 0, 0.45); }
.cta:hover .ring .chev { transform: translateX(4px); }
.cta-go:focus-visible { outline: none; }
.cta-go:focus-visible .go-label { outline: 2px solid var(--lamp-text); outline-offset: 4px; }
@media (max-width: 899px) {
  .cta .wrap { grid-template-columns: 1fr; }
  .cta-text, .cta-go { grid-column: 1; }
  .cta-go { justify-self: start; flex-direction: row-reverse; align-items: center; margin-top: 48px; }
  .cta-go .ring { width: 72px; }
}

/* ============================================================
   sub pages: page head
   ============================================================ */
.page-head {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 112px)) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--rule);
  isolation: isolate; overflow: hidden;
}
.page-head::before { /* 遠くの灯り */
  content: '';
  position: absolute; right: -8vmax; top: -14vmax; z-index: -1;
  width: 46vmax; height: 46vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 139, 0, 0.13), rgba(255, 139, 0, 0.03) 45%, transparent 70%);
  pointer-events: none;
}
.page-en {
  font-family: var(--latin); font-style: italic; font-weight: 400; color: var(--paper);
  font-size: clamp(3rem, 1.4rem + 6vw, 7.5rem); line-height: 0.92; letter-spacing: -0.01em;
}
.page-head h1 {
  display: flex; align-items: center; gap: 16px;
  margin-top: clamp(24px, 3vw, 36px);
  font-family: var(--mincho); font-weight: 700; color: var(--paper);
  font-size: clamp(1.15rem, 0.95rem + 0.9vw, 1.6rem); line-height: 1.6; letter-spacing: 0.08em;
}
.page-head h1::before { content: ''; flex: none; width: 40px; height: 1px; background: var(--gold); }

/* ============================================================
   sub pages: document body
   ============================================================ */
.doc { padding: clamp(56px, 7vw, 104px) 0 clamp(96px, 11vw, 152px); }
.doc-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
.doc-rail { grid-column: 1 / span 2; align-self: start; justify-self: start; position: sticky; top: calc(var(--header-h) + 40px); }
.doc-body { grid-column: 4 / span 8; min-width: 0; max-width: 46em; word-break: normal; } /* 長文は文節折返しより均等な行末を優先 */
@media (max-width: 899px) {
  .doc-rail { display: none; }
  .doc-body { grid-column: 1 / -1; }
}

/* 本文ブロック（旧カード）: 面ではなく罫線で区切る */
.card { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--rule); }
.card:first-child { padding-top: 0; border-top: 0; }
.card:last-child { padding-bottom: 0; }
.card h2 {
  margin-bottom: 28px;
  word-break: auto-phrase;
  font-family: var(--mincho); font-weight: 700; color: var(--paper);
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); line-height: 1.65; letter-spacing: 0.04em;
}
.card p { max-width: 40em; font-size: 16px; line-height: 1.95; color: var(--body); }
.card p + p { margin-top: 1.25em; }
.card .actions + p { margin-top: 40px; }

/* ガイドライン: ブロック番号 */
.stack { counter-reset: block; }
.stack > .card::before {
  counter-increment: block;
  content: counter(block, decimal-leading-zero);
  display: block; margin-bottom: 18px;
  font-family: var(--latin); font-style: italic; font-size: 28px; line-height: 1; color: var(--gold);
}

.card .terms {
  margin-top: 28px; padding: 24px 28px;
  background: var(--ink-2);
  border-left: 1px solid var(--gold);
  font-size: 15px; color: var(--body);
}

/* 規約・ポリシー */
.prose h2 { margin-bottom: 32px; }
.prose h3 {
  margin: 56px 0 18px; padding-top: 28px;
  border-top: 1px solid var(--rule);
  font-family: var(--mincho); font-weight: 700; color: var(--paper);
  font-size: 1.15rem; line-height: 1.7; letter-spacing: 0.06em;
}
.prose h2 + h3 { margin-top: 0; }
.prose p + p, .prose ol + p, .prose p + ol { margin-top: 1.1em; }
.prose ol { max-width: 40em; margin: 0; padding-left: 1.8em; font-size: 16px; line-height: 1.95; color: var(--body); }
.prose li::marker { color: var(--gold); font-family: var(--gothic); }
.prose li + li { margin-top: 0.7em; }
.prose ol ol { margin-top: 0.7em; padding-left: 1.6em; }
.prose a { color: var(--lamp-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; word-break: break-all; }
.prose a:hover { color: #ffd2a1; }
.prose .date { max-width: none; margin-top: 48px; text-align: right; font-size: 14px; color: var(--muted); }
.prose .date + .date { margin-top: 4px; }

/* 会社概要ページ */
.doc .outline dd { font-size: 16px; }
.doc-next { margin-top: 56px; }

/* フォーム */
.contact-form { display: grid; gap: 28px; max-width: 36em; margin-top: 48px; }
.contact-form label { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0.08em; color: var(--paper); }
.contact-form em { font-style: normal; color: var(--lamp-text); }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 10px; padding: 14px 16px;
  border: 1px solid rgba(239, 232, 219, 0.3); border-radius: 0;
  background: var(--ink-2); color: var(--paper);
  font: 400 16px/1.7 var(--gothic); letter-spacing: 0.04em;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.contact-form ::placeholder { color: #918b7f; opacity: 1; } /* ≈5.2:1 on ink-2 */
.contact-form input:hover, .contact-form textarea:hover { border-color: rgba(239, 232, 219, 0.5); }
.contact-form input:focus-visible, .contact-form textarea:focus-visible {
  outline: none;
  border-color: var(--lamp);
  box-shadow: 0 0 0 3px rgba(255, 139, 0, 0.22);
}
.contact-form textarea { resize: vertical; min-height: 12em; }
.contact-form .btn { justify-self: start; min-width: 240px; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.7em; font-size: 14px; color: var(--body); }
.form-status.error { color: var(--error); }

/* ============================================================
   footer
   ============================================================ */
.site-footer { padding: clamp(64px, 8vw, 96px) 0 32px; background: var(--ink-3); border-top: 1px solid var(--rule); }
.foot-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; }
.foot-brand { grid-column: 1 / span 4; }
.foot-brand .logo { width: 190px; }
.foot-brand p { margin-top: 24px; font-size: 14px; line-height: 2; color: var(--body); }
.foot-nav { grid-column: 6 / span 7; }
.foot-nav ul { columns: 2; column-gap: 24px; }
.foot-nav li { break-inside: avoid; border-top: 1px solid var(--rule); }
.foot-nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 0;
  font-size: 14px; line-height: 1.6; text-decoration: none; color: var(--body);
  transition: color 0.25s;
}
.foot-nav a .chev { color: var(--muted); transition: color 0.25s, transform 0.25s; }
.foot-nav a:hover { color: var(--paper); }
.foot-nav a:hover .chev { color: var(--lamp); transform: translateX(3px); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: clamp(56px, 7vw, 96px); padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.copyright { font-size: 13px; letter-spacing: 0.1em; color: var(--muted); }
.to-top { padding: 8px 0; font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-decoration: none; color: var(--muted); }
.to-top:hover { color: var(--paper); }
@media (max-width: 899px) {
  .foot-brand, .foot-nav { grid-column: 1 / -1; }
  .foot-nav ul { columns: 1; }
}

/* ============================================================
   reveal（JS 有効時のみ）
   ============================================================ */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .screen-wrap .screen img { filter: brightness(0.3) saturate(0.5); }
.js .screen-wrap .screen-beam { opacity: 0; }
.js .screen-wrap.is-in .screen img { filter: none; }
.js .screen-wrap.is-in .screen-beam { opacity: 0.9; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .screen-wrap .screen img { filter: none; }
  .js .screen-wrap .screen-beam { opacity: 0.9; }
}

/* ---------- NEW badge (Products / Now Showing) ---------- */
.new {
  display: inline-block; align-self: center;
  padding: 3px 9px 2px;
  border: 1px solid var(--lamp-text); border-radius: 2px;
  color: var(--lamp-text);
  font: 500 11px/1.4 var(--gothic); font-style: normal; letter-spacing: 0.22em; text-transform: uppercase;
}
.bill .new { margin-left: 4px; }
.info .no .new { margin-left: 6px; transform: translateY(-0.9em); }
.bill { gap: 12px; padding-left: 24px; }
.bill .no, .bill .t, .bill .new { white-space: nowrap; flex: none; }
.bill .t { font-size: 16px; letter-spacing: 0.04em; }
.bill .new { align-self: center; margin-left: 0; padding: 2px 7px 1px; font-size: 10px; }
.bill .ar { margin-right: 20px; }
.info .no > span:first-child { display: flex; align-items: baseline; gap: 14px; }
