/* Studio Unit 00. 新宿 ティザー（design/tokens.json の値）。方向は「地下に明かりを灯す」（2026年10月10日） */
:root {
  --ink: #121116; --night: #1C1B21; --line: #3A3840;
  --paper: #F4EFE6; --mute: #A39E98; --signal: #ED690F; --signal-light: #FF8B3D;
  --sans: "Inter", "Noto Sans JP", sans-serif;
  --serif: "Noto Serif JP", serif;
  --num: "EB Garamond", serif;
}
* { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 16px/1.75 var(--sans); font-feature-settings: normal; text-spacing-trim: normal; text-autospace: ideograph-alpha; word-break: auto-phrase; text-wrap: pretty; }
/* 本文は400（暗い地では文字が太って見えるため）。折り返しは文節単位、行末に1〜2字を残さない（ページ全体） */
/* 日本語組版：本文はベタ組み（palt なし）、見出し・惹句はツメ（palt）。字間はベタの文字（ラベル）にだけ足す */
h2, .tagline, .entry .headword { font-feature-settings: "palt"; }
.hk { font-feature-settings: "halt"; }  /* 〝〟は字面が小さいので半角にして穴をふさぐ */
a { color: inherit; }
::selection { background: var(--signal); color: var(--ink); }
.nw { white-space: nowrap; display: inline-block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 40px; }

header.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 80px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
/* 用途の3語：ショップカードと同じく、頭文字をセリフ体（EB Garamond）のオレンジで立てる */
.uses { font: 700 13px/1 var(--sans); letter-spacing: 0.2em; color: var(--paper); margin: 0 0 40px; }
.uses .ini { font: 700 1.85em/1 var(--num); letter-spacing: 0.02em; color: var(--signal); }
.uses .sep { color: var(--mute); margin: 0 0.9em 0 0.7em; }
/* ロゴ：版面の幅いっぱいに置く。SVG の余白（左9・右10.26単位）を外に出し、枠の線の左端と「新宿」の右端を版面の左右にそろえる
   （字面の幅 608.74／全体 628）。ベクターのロゴの下に光彩だけのSVGを敷く */
.logo { position: relative; width: calc(100% * 628 / 608.74); margin-left: calc(-100% * 9 / 608.74); aspect-ratio: 628 / 160; }
.logo img { position: absolute; display: block; }
.logo .mark { inset: 0; width: 100%; height: 100%; }
.logo .halo { left: -4.777%; top: -18.75%; width: 109.554%; height: 137.5%; }
/* 読み込みが終わった0.1秒後に、蛍光灯のように光彩だけが灯る。ロゴ本体は動かさない（2026年10月12日・代表）
   全体1.41秒：30%から一瞬だけ点く（60ms）→ 暗転20%（200ms）→ 保持値で唸るように揺れる（150ms）→ 戻り（1000ms・expo out）
   揺れは steps(1) で値を保持して切り替え、補間でぼかさない */
.js .logo .halo { opacity: 0.3; }
.lit .logo .halo { animation: ignite 1.41s 0.1s linear both; }
@keyframes ignite {
  0% { opacity: 0.3; }
  0.4% { opacity: 0.9; }
  3.83% { opacity: 0.75; }
  4.26% { opacity: 0.2; animation-timing-function: steps(1, end); }
  18.44% { opacity: 0.5; animation-timing-function: steps(1, end); }
  20.21% { opacity: 0.3; animation-timing-function: steps(1, end); }
  22.7% { opacity: 0.55; animation-timing-function: steps(1, end); }
  24.11% { opacity: 0.32; animation-timing-function: steps(1, end); }
  26.6% { opacity: 0.48; animation-timing-function: steps(1, end); }
  29.08% { opacity: 0.6; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
  100% { opacity: 1; }
}
header.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 50% at 30% 30%, rgba(237, 105, 15, 0.14), transparent 70%); animation: breathe 9s ease-in-out infinite; }
header.hero .wrap { position: relative; width: 100%; }  /* flex の中で縮まず、下のセクションと左の軸をそろえる */
@keyframes breathe { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lit .logo .halo, header.hero::before { animation: none; opacity: 1; } }
.tagline { font: 700 40px/1.5 var(--serif); margin: 40px 0 40px; letter-spacing: 0.04em; }
/* 辞書の項目：版面の幅いっぱいの罫に挟み、中央に組む。中央揃えでは行末の句読点の右のアキで行が左に寄って見えるので、行末の「、」「。」は .hk で半角にする */
.entry { margin: 64px 0 0; padding: 32px 0 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 700 18px/2 var(--serif); text-align: center; text-wrap: balance; }
.entry p { margin: 0; }
.entry .headword { font-size: 24px; line-height: 1.5; margin-bottom: 16px; }
.entry .lat { font-family: "EB Garamond", serif; }
.prose { margin: 0 0 30px; line-height: 2; }
sup { font-size: 0.7em; color: var(--signal); margin-left: 0.1em; }
.notes { list-style: none; padding: 0; margin: 0; color: var(--mute); font-size: 13px; }
.notes li { display: flex; gap: 10px; }
.notes span { color: var(--signal); flex: none; }
.buttons { display: flex; flex-wrap: wrap; gap: 20px; }
.btn { display: inline-block; padding: 17px 40px; border: 1px solid var(--signal); text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: 0.14em; transition: background-color .3s, color .3s, box-shadow .3s; }
.btn.primary, .btn:hover { background: var(--signal); color: var(--ink); }
.btn:hover { box-shadow: 0 0 24px rgba(255, 139, 61, 0.35); }

section { padding: 140px 0; border-bottom: 1px solid var(--line); }
.label { font: 700 12px/1 var(--sans); letter-spacing: 0.32em; color: var(--signal); margin: 0 0 24px; }
h2 { font: 700 32px/1.5 var(--serif); margin: 0 0 44px; text-wrap: balance; }
dl.specs { display: grid; grid-template-columns: 200px 1fr; margin: 0; border-bottom: 1px solid var(--line); }
dl.specs dt, dl.specs dd { margin: 0; padding: 22px 0; border-top: 1px solid var(--line); }
dl.specs dt { color: var(--mute); font-size: 13px; line-height: 28px; letter-spacing: 0.16em; }  /* 行の高さを値（16px×1.75）とそろえる */
.note { color: var(--mute); font-size: 14px; margin: 30px 0 0; }
dl.specs + .notes { margin-top: 12px; }  /* 表の下の罫と注を離す */
.ol { margin-left: -0.1em; }  /* 行頭の全角数字は左の字面のアキ（0.2em）が漢字（0.1em）より広いので、左の軸に合わせて詰める */

footer { padding: 60px 0 80px; color: var(--mute); font-size: 14px; }
footer .contact { color: var(--paper); font-size: 20px; margin: 0 0 20px; }
footer .contact a { color: var(--signal); text-decoration: none; }
footer a:not(.nw) { text-decoration-thickness: 1px; text-underline-offset: 0.3em; }

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  header.hero { padding: 40px 0 64px; }
  .uses { margin-bottom: 28px; font-size: 12px; }
  .tagline { font-size: 26px; }
  .tagline { text-align: center; }  /* スマホだけ、惹句とボタンを辞書の項目と同じ中央の軸にする（PCは左揃え） */
  .buttons .btn { flex: 1 1 100%; text-align: center; }  /* 縦に積むボタンは版面の幅にそろえる */
  .entry { margin-top: 40px; padding: 24px 0 28px; font-size: 15px; }
  .entry .headword { font-size: 17px; margin-bottom: 12px; }
  h2 { font-size: 24px; margin-bottom: 40px; }
  section { padding: 96px 0; }
  dl.specs { grid-template-columns: 1fr; }
  dl.specs dt { line-height: 1.75; padding-bottom: 4px; }
  dl.specs dd { border-top: 0; padding-top: 0; }
}
