/* =====================================================================
   i deer station 共通スタイル v2(ダーク) — DESIGN.md の実装
   ポータル(i-deer-station.com)と各ゲームのサブドメインが同じこのファイルを読む。
   規範: Steam のような濃紺の地に白い文字。見出しは丸ゴシック 900、ラベルはドット文字。
         パステルは「光」としてだけ使う(差し色・影・イラスト)。線は細く、角は直角。
   ===================================================================== */

/* ---------- 1. トークン ---------- */
:root {
  /* 色: 地と面(暗い方から) */
  --bg-0: #0f1218;       /* ヘッダー・フッター。いちばん奥 */
  --canvas: #151a23;     /* ページの地 */
  --canvas-2: #1b2130;   /* 帯セクション */
  --surface: #1f2634;    /* カード・表 */
  --surface-2: #28324a;  /* ホバー・タグの地 */
  --line: #2f3a4e;       /* 枠線(基本) */
  --line-2: #3d4a63;     /* 枠線(強) */

  /* 色: 文字(白い方から) */
  --text: #f2f4f8;
  --text-2: #aab3c5;
  --text-3: #7d8799;
  --ink: #0f1218;        /* 明るい面(ボタン・タグ)の上の文字 */

  /* 色: 役割 */
  --brand: #9EEBD6;      /* ミント。工房の印。眉・下棒・進捗・主ボタン */
  --action: var(--brand);
  --accent: var(--brand);/* ページごとの差し色。ゲームページは上書き */
  --highlight: #F3F38B;  /* イエロー。選択・強調の小物だけ */

  /* 色: パレット(影・イラスト・帯にだけ) */
  --pal-pink: #F288A8; --pal-salmon: #F0A0A8; --pal-peach: #F5BF8E; --pal-yellow: #F3F38B;
  --pal-lime: #C9E98C; --pal-peri: #A9B4E6; --pal-mint: #9EEBD6; --pal-sky: #A9DDF2;
  --pal-blue: #A8B8F0; --pal-violet: #A3A6F2; --pal-lilac: #C9A8F2;
  /* 旧名(テンプレートの style 属性が参照する) */
  --pink: var(--pal-pink); --salmon: var(--pal-salmon); --peach: var(--pal-peach); --yellow: var(--pal-yellow);
  --lime: var(--pal-lime); --peri: var(--pal-peri); --mint: var(--pal-mint); --sky: var(--pal-sky);
  --blue: var(--pal-blue); --violet: var(--pal-violet); --lilac: var(--pal-lilac);
  --paper: var(--surface); --cream: var(--canvas); --cream-2: var(--canvas-2); --ink-2: var(--text-2);

  /* 余白(4px 単位) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --section-y: clamp(64px, 10vw, 128px);
  --maxw: 1100px;
  --gutter: 16px;

  /* 線 */
  --line-w: 2px;
  --hair: 1px;
  --px: 2px;

  /* 文字 */
  --font-body: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic UI", system-ui, sans-serif;
  --font-dot: "DotGothic16", "MS Gothic", monospace;
  --t-display: clamp(40px, 7.5vw, 84px);
  --t-h2: clamp(28px, 3.8vw, 40px);
  --t-h3: 20px;
  --t-lead: clamp(16px, 1.8vw, 19px);
  --t-body: 16px;
  --t-small: 14px;
  --t-label: 14px;
  --t-numeral: clamp(40px, 6vw, 64px);

  /* 動き */
  --ease-out: cubic-bezier(.215, .61, .355, 1);
  --ease-in-out: cubic-bezier(.645, .045, .355, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --snap: steps(2, end);
  --d-fast: 160ms; --d-press: 120ms; --d-snap: 380ms; --d-pop: 520ms; --d-enter: 600ms; --d-count: 1200ms;
  --stagger: 70ms;
}

html[lang="ko"] { --font-body: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif; --font-dot: "DotGothic16", "Noto Sans KR", monospace; }
html[lang="zh-CN"] { --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; --font-dot: "DotGothic16", "Noto Sans SC", monospace; }

/* ---------- 2. ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }
body {
  margin: 0;
  color: var(--text);
  background-color: var(--canvas);
  /* 奥から手前へわずかに明るくなる地 + 48px の薄い方眼 */
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(180deg, #1b2232 0, var(--canvas) 520px);
  background-size: 48px 48px, 48px 48px, 100% 100%;
  background-attachment: scroll, scroll, scroll;
  font-family: var(--font-body);
  font-size: var(--t-body);
  font-weight: 500;
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100dvh;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; max-width: 36em; }
h1, h2, h3, h4 { margin: 0; font-weight: 900; line-height: 1.25; color: #fff; }
h3 { font-size: var(--t-h3); line-height: 1.35; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
::selection { background: var(--highlight); color: var(--ink); }

.pixel { image-rendering: pixelated; image-rendering: crisp-edges; }
.dot { font-family: var(--font-dot); font-weight: 400; letter-spacing: .04em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - var(--gutter) * 2, var(--maxw)); margin-inline: auto; }

/* ---------- 3. セクションの骨 ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--band { background: var(--canvas-2); border-block: var(--hair) solid var(--line); }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .eyebrow {
  display: inline-block; font-family: var(--font-dot); font-size: 13px; letter-spacing: .14em; line-height: 1;
  color: var(--brand); margin-bottom: var(--s3);
}
.section-head h2 { font-size: var(--t-h2); }
.section-head h2::after { content: ""; display: block; width: 48px; height: 3px; background: var(--brand); margin-top: var(--s3); }
.section-head p { color: var(--text-2); margin: var(--s2) 0 0; }

/* 文章パネル(v1 の名残。暗い地では不要なので透明に。テンプレートはそのまま使える) */
.panel { background: none; border: 0; box-shadow: none; padding: 0; width: auto; max-width: 100%; }
.panel p, .panel li { color: var(--text-2); }
.panel a:not(.btn) { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hero-copy { max-width: 44em; }
.prose { max-width: 40em; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- 4. 板(全部品の土台) ---------- */
.px-box {
  --shadow: var(--accent);
  position: relative;
  background: var(--surface);
  border: var(--line-w) solid var(--line);
  padding: 20px;
  transition: transform var(--d-fast) var(--snap), box-shadow var(--d-fast) var(--snap), border-color var(--d-fast);
}
.px-box--link:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--shadow); border-color: var(--line-2); }

/* ---------- 5. ボタン ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-dot); font-size: 16px; line-height: 1; letter-spacing: .04em;
  min-height: 44px; padding: 14px 22px;
  background: var(--action); color: var(--ink);
  border: var(--line-w) solid transparent;
  box-shadow: 4px 4px 0 0 rgba(0, 0, 0, .45);
  margin: 0 8px 8px 0;
  transition: transform var(--d-fast) var(--snap), box-shadow var(--d-fast) var(--snap), background var(--d-fast), border-color var(--d-fast);
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 rgba(0, 0, 0, .55); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 0 rgba(0, 0, 0, .5); transition-duration: var(--d-press); }
.btn::after { content: ""; position: absolute; inset: -4px auto -4px -40%; width: 30%; z-index: -1; background: #fff; opacity: .35; transform: skewX(-20deg) translateX(-120%); }
.btn:hover::after { animation: sweep 820ms linear 1; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); box-shadow: none; }
.btn--ghost:hover { border-color: var(--brand); box-shadow: 6px 6px 0 0 rgba(0, 0, 0, .35); }
.btn--small { font-size: 14px; min-height: 36px; padding: 10px 16px; }
.btn[aria-disabled="true"] { background: var(--surface-2); color: var(--text-3); cursor: not-allowed; box-shadow: none; border-color: var(--line); }
.btn[aria-disabled="true"]:hover, .btn[aria-disabled="true"]:active { transform: none; box-shadow: none; }
.btn[aria-disabled="true"]::after { display: none; }
.btn .ico { width: 18px; height: 18px; flex: none; }
.btn--sky, .btn--pink, .btn--yellow { background: var(--action); }

/* ---------- 6. タグ ---------- */
.tag { font-family: var(--font-dot); font-size: 12px; letter-spacing: .06em; line-height: 1; padding: 5px 8px 4px; background: var(--surface-2); color: var(--text-2); border: var(--hair) solid var(--line-2); }
.tag--status { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 50%, transparent); background: color-mix(in srgb, var(--brand) 12%, transparent); }
.tag--platform { color: var(--pal-sky); border-color: color-mix(in srgb, var(--pal-sky) 50%, transparent); background: color-mix(in srgb, var(--pal-sky) 12%, transparent); }
.tag--released { color: var(--pal-lime); border-color: color-mix(in srgb, var(--pal-lime) 50%, transparent); background: color-mix(in srgb, var(--pal-lime) 12%, transparent); }

/* ---------- 7. ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 18, 24, .92); border-bottom: var(--hair) solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 64px; }
.site-header .progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--brand); pointer-events: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-dot); font-size: 20px; letter-spacing: .04em; color: #fff; }
.brand img { width: 36px; height: 36px; transform-origin: 50% 100%; }
.brand:hover img { animation: squash 500ms steps(4, end) 1; }
.nav { display: flex; gap: var(--s1); flex-wrap: wrap; justify-content: flex-end; }
.nav a { font-family: var(--font-dot); font-size: 15px; letter-spacing: .04em; padding: 10px 12px; position: relative; line-height: 1; color: var(--text-2); transition: color var(--d-fast); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease-out); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a.nav-back::before { content: "◀ "; }

.lang-switch { display: flex; gap: 2px; font-family: var(--font-dot); font-size: 13px; border: var(--hair) solid var(--line-2); background: var(--bg-0); padding: 2px; }
.lang-switch a { padding: 7px 8px 6px; line-height: 1; white-space: nowrap; min-height: 28px; color: var(--text-2); }
.lang-switch a:hover { background: var(--surface-2); color: #fff; }
.lang-switch a[aria-current="page"] { background: var(--brand); color: var(--ink); }
.lang-banner { display: flex; justify-content: center; align-items: center; gap: var(--s4); flex-wrap: wrap; padding: var(--s2) var(--s4); background: var(--brand); color: var(--ink); border-bottom: var(--hair) solid var(--line); font-size: var(--t-small); }
.lang-banner a { font-family: var(--font-dot); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lang-banner button { font-family: var(--font-dot); border: var(--hair) solid var(--ink); background: transparent; color: var(--ink); padding: 2px 8px; min-height: 28px; }

@media (max-width: 720px) {
  .site-header .wrap { flex-wrap: wrap; padding-block: 6px; min-height: 56px; row-gap: 2px; }
  .brand { font-size: 17px; white-space: nowrap; }
  .brand img { width: 30px; height: 30px; }
  .nav { order: 3; width: 100%; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -8px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: 14px; padding: 9px 8px; white-space: nowrap; }
  .nav a::after { left: 8px; right: 8px; }
  .lang-switch { order: 2; margin-left: auto; }
  .lang-switch a span { display: none; }
  .lang-switch a::before { content: attr(data-short); }
}

/* ---------- 8. ヒーロー ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(64px, 12vw, 150px); min-height: min(82dvh, 760px); display: grid; align-items: center; }
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { font-size: var(--t-display); line-height: 1.1; }
.hero h1 .word { display: inline-block; white-space: nowrap; }
.hero .eyebrow-line { font-family: var(--font-dot); font-size: 14px; letter-spacing: .14em; color: var(--brand); margin: 0 0 var(--s3); }
.hero .lead { font-size: var(--t-lead); color: var(--text-2); max-width: 36em; margin: var(--s4) 0 0; }
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); margin-top: var(--s6); }
.hero .meta { font-family: var(--font-dot); font-size: var(--t-small); color: var(--text-3); margin: var(--s4) 0 0; }
.hero-logo { width: min(100%, 640px); margin: 0 auto var(--s5); filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .5)) drop-shadow(0 0 24px rgba(0, 0, 0, .6)); }
.hero.center .wrap { text-align: center; }
.hero.center .lead, .hero.center p { margin-inline: auto; }
.hero.center .actions { justify-content: center; }
/* ゲームページ: 背景画像を暗く敷く(Steam のストアヘッダーのように) */
.hero-tint { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-size: cover; background-position: center 30%; opacity: .22;
  -webkit-mask-image: linear-gradient(#000 0 45%, transparent 100%); mask-image: linear-gradient(#000 0 45%, transparent 100%); }
.hero-tint::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,18,24,.25), rgba(21,26,35,.7) 70%, var(--canvas)); }

/* 背景のふわふわ(雲・ボール・星)。暗い地では雲は薄く、星は光る */
.sky-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.cloud { position: absolute; width: 180px; height: 60px; background: rgba(255,255,255,.04);
  box-shadow: 40px -28px 0 0 rgba(255,255,255,.04), 90px -36px 0 0 rgba(255,255,255,.04), 130px -20px 0 0 rgba(255,255,255,.04);
  animation: drift var(--dur, 60s) linear infinite; animation-delay: var(--delay, 0s); left: -220px; }
.ball { position: absolute; width: 40px; height: 40px; top: -60px; left: var(--x, 50%); animation: fall var(--dur, 9s) linear infinite; animation-delay: var(--delay, 0s); opacity: .85; }
.ball img { width: 100%; height: 100%; filter: drop-shadow(0 0 6px rgba(255,255,255,.15)); }
.star { position: absolute; width: 8px; height: 8px; background: var(--highlight);
  box-shadow: 0 -8px 0 var(--highlight), 0 8px 0 var(--highlight), -8px 0 0 var(--highlight), 8px 0 0 var(--highlight);
  animation: twinkle 2.2s steps(4, end) infinite; animation-delay: var(--delay, 0s); top: var(--y, 20%); left: var(--x, 20%); opacity: .7; }
.ground { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; z-index: 1;
  background: repeating-linear-gradient(90deg, var(--pal-pink) 0 12.5%, var(--pal-peach) 12.5% 25%, var(--pal-yellow) 25% 37.5%, var(--pal-lime) 37.5% 50%, var(--pal-mint) 50% 62.5%, var(--pal-sky) 62.5% 75%, var(--pal-peri) 75% 87.5%, var(--pal-lilac) 87.5% 100%); }

/* ヒーローの大きなゲーム画面(作品ページ) */
.hero-shot, .gallery.hero-shot { display: block; width: min(100%, 880px); margin: 0 auto var(--s5); }
.hero-shot button { position: relative; display: block; width: 100%; padding: 0; border: var(--line-w) solid var(--line-2); background: var(--bg-0); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); overflow: hidden; transition: transform var(--d-fast) var(--snap), border-color var(--d-fast); }
.hero-shot button:hover { transform: translateY(-2px); border-color: var(--accent); }
.hero-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-shot .cap { position: absolute; left: 0; bottom: 0; font-family: var(--font-dot); font-size: 12px; letter-spacing: .08em; background: rgba(15,18,24,.85); color: var(--text-2); padding: 6px 10px 5px; border-top: var(--hair) solid var(--line-2); border-right: var(--hair) solid var(--line-2); }

/* ---------- 9. ゲームカード ---------- */
.game-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.game-card { padding: 0; display: flex; flex-direction: column; }
.game-card .thumb { position: relative; aspect-ratio: 616 / 353; overflow: hidden; background: var(--bg-0); border-bottom: var(--hair) solid var(--line); }
.game-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.game-card:hover .thumb img { transform: scale(1.03); }
.game-card .thumb .placeholder { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-dot); color: var(--text-3); letter-spacing: .1em;
  background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,.03) 14px 28px); }
.game-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.game-card .desc { color: var(--text-2); font-size: 15px; flex: 1; margin: 0; }
.game-card .meta { display: flex; gap: var(--s2); flex-wrap: wrap; }
.game-card .cta { margin-top: 6px; }

/* ---------- 10. 特徴・一覧・統計 ---------- */
.feature-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.feature { --shadow: var(--fcol, var(--accent)); border-top: 3px solid var(--fcol, var(--accent)); }
.feature .icon { width: 56px; height: 56px; margin-bottom: var(--s3); }
.feature h3 { margin-bottom: var(--s2); }
.feature p { color: var(--text-2); font-size: 15px; margin: 0; }

.ball-list { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.ball-list li { background: var(--surface); border: var(--hair) solid var(--line); border-left: 3px solid var(--bcol, var(--accent)); padding: var(--s3) 14px; display: flex; gap: var(--s3); align-items: flex-start; font-size: 15px; }
.ball-list .dotball { flex: none; width: 28px; height: 28px; margin-top: 4px; }
.ball-list b { display: block; font-size: 16px; color: #fff; }
.ball-list span { color: var(--text-2); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--s4); }
.stats .px-box { text-align: center; padding: 18px 10px; border-bottom: 3px solid var(--shadow); }
.stats .label { font-size: var(--t-small); color: var(--text-2); }
.big-num { font-family: var(--font-dot); font-size: var(--t-numeral); line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.big-num small { font-size: .35em; color: var(--text-3); margin-left: 6px; }

/* ---------- 11. ギャラリー・実績・表・注意書き ---------- */
.gallery { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.gallery button { display: block; width: 100%; padding: 0; border: var(--line-w) solid var(--line); background: var(--bg-0); overflow: hidden; transition: transform var(--d-fast) var(--snap), box-shadow var(--d-fast) var(--snap), border-color var(--d-fast); }
.gallery button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--accent); border-color: var(--line-2); }
.gallery img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.lightbox { border: var(--line-w) solid var(--line-2); padding: 0; background: var(--bg-0); max-width: min(96vw, 1280px); box-shadow: 0 30px 80px rgba(0, 0, 0, .7); }
.lightbox[open] { animation: pop 250ms var(--ease-out) 1; }
.lightbox::backdrop { background: rgba(8, 10, 14, .8); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; }
.lightbox .close { position: absolute; top: var(--s2); right: var(--s2); background: rgba(15,18,24,.9); color: var(--text); border: var(--hair) solid var(--line-2); font-family: var(--font-dot); padding: 4px 10px; min-height: 32px; }

.ach-strip { display: flex; flex-wrap: wrap; gap: 14px; }
.ach-strip figure { margin: 0; width: 96px; text-align: center; }
.ach-strip img { width: 64px; height: 64px; margin-inline: auto; border: var(--line-w) solid var(--line-2); transition: transform var(--d-fast) var(--snap), box-shadow var(--d-fast) var(--snap), border-color var(--d-fast); }
.ach-strip figure:hover img { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 0 var(--accent); border-color: var(--accent); }
.ach-strip figcaption { font-size: 12px; line-height: 1.4; margin-top: 6px; color: var(--text-2); }

.spec { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border: var(--line-w) solid var(--line); }
.spec th, .spec td { padding: 10px 14px; border-bottom: var(--hair) solid var(--line); text-align: left; vertical-align: top; }
.spec th { width: 9em; font-family: var(--font-dot); font-weight: 400; color: var(--text-2); background: var(--canvas-2); white-space: nowrap; }
.spec td { color: var(--text); }
.spec tr:last-child > * { border-bottom: 0; }

.note { --shadow: var(--highlight); font-size: 15px; border-left: 3px solid var(--highlight); }
.note .dot { font-size: 12px; letter-spacing: .1em; display: inline-block; margin-bottom: 6px; color: var(--highlight); line-height: 1; }
.note p { color: var(--text-2); }

.news li { display: grid; grid-template-columns: 7.5em 1fr; gap: var(--s3); padding: 14px 0; border-bottom: var(--hair) solid var(--line); font-size: 15px; color: var(--text); }
.news li:first-child { border-top: var(--hair) solid var(--line); }
.news time { font-family: var(--font-dot); color: var(--text-3); }
@media (max-width: 480px) { .news li { grid-template-columns: 1fr; gap: 2px; } }

.about-list li { display: grid; grid-template-columns: 7em 1fr; gap: 10px; padding: var(--s2) 0; border-bottom: var(--hair) solid var(--line); font-size: 15px; }
.about-list li b { font-family: var(--font-dot); font-weight: 400; color: var(--text-3); }
.about-list li span { color: var(--text); }

.split { display: grid; gap: var(--s6); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 820px) { .split { grid-template-columns: 1.1fr .9fr; } .split.rev > :first-child { order: 2; } }

/* ---------- 12. 流れる帯・フッター ---------- */
.marquee { overflow: hidden; border-block: var(--hair) solid var(--line); background: var(--bg-0); padding: 10px 0; }
.marquee .track { display: flex; gap: 40px; width: max-content; animation: marquee 28s linear infinite; font-family: var(--font-dot); font-size: 13px; letter-spacing: .12em; color: var(--text-3); }
.marquee .track span { display: inline-flex; align-items: center; gap: 10px; }
.marquee .track i { width: 10px; height: 10px; display: inline-block; }
.marquee:hover .track { animation-play-state: paused; }

.site-footer { border-top: var(--hair) solid var(--line); background: var(--bg-0); padding: 36px 0 28px; font-size: var(--t-small); color: var(--text-3); margin-top: 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); align-items: center; }
.site-footer .links { display: flex; gap: var(--s4); flex-wrap: wrap; }
.site-footer .links a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.site-footer .copy { font-family: var(--font-dot); letter-spacing: .06em; }

/* ---------- 13. 動き ---------- */
.js .enter { opacity: 0; animation: enter var(--d-enter) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 120ms); }
.js .enter--pop { animation-name: enter-pop; animation-duration: var(--d-pop); animation-timing-function: var(--ease-back); }
.js h1[data-split] .ch { display: inline-block; opacity: 0; animation: pop-in var(--d-pop) var(--ease-back) forwards; animation-delay: calc(120ms + var(--i, 0) * 40ms); }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--d-enter) var(--ease-out), transform var(--d-enter) var(--ease-out); transition-delay: calc(var(--i, 0) * var(--stagger)); }
.js .reveal--pop { transform: scale(.96); transition-duration: var(--d-pop); transition-timing-function: var(--ease-back); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.is-in.px-box { transition: transform var(--d-fast) var(--snap), box-shadow var(--d-fast) var(--snap), border-color var(--d-fast); }

@keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes enter-pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.6) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes squash { 0% { transform: scale(1, 1); } 30% { transform: scale(1.15, .85); } 60% { transform: scale(.95, 1.08); } 100% { transform: scale(1, 1); } }
@keyframes sweep { from { transform: skewX(-20deg) translateX(-120%); } to { transform: skewX(-20deg) translateX(520%); } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 440px)); } }
@keyframes fall { 0% { transform: translateY(0) rotate(0); opacity: 0; } 5% { opacity: .85; } 95% { opacity: .85; } 100% { transform: translateY(calc(100% + 120vh)) rotate(540deg); opacity: 0; } }
@keyframes twinkle { 0%, 100% { transform: scale(1); opacity: .7; } 50% { transform: scale(.4); opacity: .2; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .enter, .js .enter--pop, .js h1[data-split] .ch, .js .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .cloud, .ball, .star, .marquee .track, .brand:hover img, .btn:hover::after, .lightbox[open] { animation: none !important; }
  .px-box, .btn, .gallery button, .ach-strip img { transition: none; }
}
