/* AMIX GAMES JOURNAL（一覧・記事 共通）2026-11-11
   読み物なので、本文は生成りの紙に黒い字。上の帯・データの面・終わりの案内だけ GAMES と同じ暗い色にする
   （GAMES の案内カードやランキングの「暗いページの中で明るい面」を裏返した考え方）。
   左だけ太い色線は使わない。角丸は --r1〜--r3 の3段だけ（DATA CENTRAL と同じ） */
:root {
  --paper: #f3efe6;
  --paper2: #e9e3d6;
  --ink: #16140f;
  --dim: rgba(22, 20, 15, 0.68);
  --mute: rgba(22, 20, 15, 0.46);
  --rule: rgba(22, 20, 15, 0.14);
  --night: #0b0c12;
  --night2: #151826;
  --n-ink: #eef1f8;
  --n-dim: rgba(238, 241, 248, 0.66);
  --n-rule: rgba(238, 241, 248, 0.14);
  --hot: #ff5a1f;      /* 札・強調（GAMES のアクセントに近い橙） */
  --bar: #ff7a3d;      /* グラフの棒（1系列だけなので1色） */
  --f-en: "Anton", "Noto Sans JP", sans-serif;
  --f-ja: "Noto Sans JP", system-ui, sans-serif;
  --f-mono: "Space Mono", "Noto Sans JP", ui-monospace, monospace;
  --pad: clamp(16px, 4.4vw, 56px);
  --col: 720px;
  --wide: 1080px;
  --r1: 2px;
  --r2: 4px;
  --r3: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; overflow-x: clip; }
body { margin: 0; line-break: strict; word-break: normal; background: var(--paper); color: var(--ink); font-family: var(--f-ja); font-size: 17px; line-height: 1.95; letter-spacing: 0.02em; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 上の帯 ---------- */
.jt { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 0 var(--pad); height: 60px; background: var(--night); color: var(--n-ink); }
.jt-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.jt-brand svg { width: 132px; height: auto; fill: var(--n-ink); }
.jt-brand b { font-family: var(--f-en); font-weight: 400; font-size: 15px; letter-spacing: 0.14em; color: var(--hot); padding-top: 2px; }
/* ヘッダーのリンクは AMIX GAMES の共通メニュー（../css/menu.css・../js/menu.js）にまとめた（2026-11-12 本人：PC もスマホもハンバーガーに） */
.jt .amx-menu-btn { flex: none; font-family: var(--f-en); font-size: 14px; color: var(--n-ink); }
.jt-contact { flex: none; margin-left: auto; font-size: 13px; font-weight: 700; text-decoration: none; padding: 8px 14px; border-radius: var(--r2); background: var(--n-ink); color: var(--night); }
.jt-contact:hover { background: var(--hot); color: #fff; }
@media (max-width: 760px) {
  .jt { gap: 12px; }
  .jt-brand svg { width: 108px; }
  .jt-contact { padding: 7px 11px; font-size: 12px; }
  .jt-brand b { display: none; }   /* 狭い幅では JOURNAL の文字を外し、お問い合わせと MENU を入れる */
}

/* ---------- パンくず ---------- */
.crumb { max-width: var(--wide); margin: 0 auto; padding: 18px var(--pad) 0; font-size: 12px; color: var(--mute); letter-spacing: 0.04em; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.crumb li + li::before { content: "›"; margin-right: 6px; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* ---------- 記事の頭 ---------- */
.ah { max-width: var(--wide); margin: 0 auto; padding: clamp(28px, 6vw, 72px) var(--pad) 0; }
.ah-kick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 18px; font-family: var(--f-en); font-size: 14px; letter-spacing: 0.16em; }
.tag { display: inline-block; padding: 3px 9px 2px; border-radius: var(--r1); background: var(--ink); color: var(--paper); font-family: var(--f-en); font-weight: 400; font-size: 13px; letter-spacing: 0.14em; line-height: 1.5; }
.tag--case { background: var(--hot); color: #fff; }
.tag--data { background: var(--night2); color: var(--n-ink); }
.tag--notes { background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 2px 8px 1px; }
.ah-kick span:not(.tag) { color: var(--mute); }   /* 札（.tag）は札の色のまま。以前は .ah-kick span が勝って DATA の札の文字が地と同じ暗さになっていた（2026-11-11） */
.ah h1 { margin: 0; font-weight: 900; font-size: clamp(27px, 4.6vw, 50px); line-height: 1.38; letter-spacing: 0.01em; }
/* 見出しは文節で早めに折り返さず、行の端まで詰めて組む（日本語の文字組・本人 2026-11-11）。HTML の <span> は区切りの目印として残すだけ */
.ah h1 span, .cta h2 span, .lh h1 span { display: inline; }
@media (max-width: 420px) { .ah h1 { font-size: 23px; } }
/* タイトルの下のサブタイトル（つかみの一言。2026-11-12 本人：タイトルは本題だけにして、つかみは h1 の下に少し小さく） */
.ah-sub { max-width: var(--col); margin: 16px 0 0; font-weight: 700; font-size: clamp(16px, 2vw, 21px); line-height: 1.75; letter-spacing: 0.04em; color: var(--ink); line-break: strict; font-feature-settings: "palt"; }
/* 先頭に橙の短い横線（左の縦線ではない）、文字の下半分に薄い橙の蛍光ペン。行をまたいでも各行に引く */
.ah-sub::before { content: ""; display: inline-block; width: 1.6em; height: 2px; margin-right: 0.5em; vertical-align: 0.32em; background: var(--hot); }
.ah-sub span { background: linear-gradient(transparent 58%, rgba(255, 90, 31, 0.2) 58%, rgba(255, 90, 31, 0.2) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 0.12em; }
.ah-lead { max-width: var(--col); margin: 22px 0 0; font-size: clamp(16px, 1.9vw, 18px); color: var(--dim); }
.ah-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--mute); }
.ah-meta a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.ah-cover { max-width: var(--wide); margin: clamp(26px, 4vw, 44px) auto 0; padding: 0 var(--pad); }
.ah-cover img { width: 100%; border-radius: var(--r3); background: var(--paper2); }

/* ---------- 本文 ---------- */
.ab { max-width: var(--col); margin: 0 auto; padding: clamp(36px, 6vw, 64px) var(--pad) 0; }
.ab > p, .ab li { text-wrap: auto; }   /* 和文の本文に pretty を使わない（右端が空く） */
.ab p { margin: 0 0 1.35em; }
.ab h2 { position: relative; margin: 2.6em 0 0.9em; padding-top: 1.1em; border-top: 1px solid var(--ink); font-weight: 900; font-size: clamp(22px, 3vw, 29px); line-height: 1.45; }
.ab h2 .no { display: block; margin-bottom: 0.25em; font-family: var(--f-en); font-weight: 400; font-size: 15px; letter-spacing: 0.18em; color: var(--hot); }
.ab h3 { margin: 2em 0 0.6em; font-weight: 900; font-size: 19px; line-height: 1.55; }
.ab ul, .ab ol { margin: 0 0 1.35em; padding-left: 1.3em; }
.ab li { margin: 0.3em 0; }
.ab strong { font-weight: 700; background: linear-gradient(transparent 62%, rgba(255, 122, 61, 0.28) 62%); }
.ab a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ab a:hover { color: var(--hot); }
.ab code { font-family: var(--f-mono); font-size: 0.86em; padding: 1px 5px; border-radius: var(--r1); background: var(--paper2); }

/* 図：本文の幅より広げる */
.fig { width: min(calc(100vw - var(--pad) * 2), var(--wide)); margin: 2em 0 2.2em 50%; transform: translateX(-50%); }
.fig img, .fig video { width: 100%; border-radius: var(--r3); background: var(--paper2); }
.fig figcaption { max-width: var(--col); margin: 10px auto 0; font-size: 13px; line-height: 1.75; color: var(--mute); }
.fig--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fig--2 figcaption { grid-column: 1 / -1; }
.fig--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fig--3 figcaption { grid-column: 1 / -1; }
.fig--sm { width: min(calc(100vw - var(--pad) * 2), 640px); }
@media (max-width: 640px) { .fig--3 { grid-template-columns: 1fr 1fr; } .fig--3 > img:first-child { grid-column: 1 / -1; } }

/* 概要の表 */
.spec { margin: 0 0 2em; border-top: 1px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.75; }
.spec dt { font-weight: 700; color: var(--dim); }
.spec dd { margin: 0; }
@media (max-width: 520px) { .spec div { grid-template-columns: 1fr; gap: 2px; } }

/* 遊ぶボタン */
.play { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.6em 0 2em; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: var(--r2); border: 1px solid var(--ink); background: transparent; font-weight: 700; font-size: 15px; line-height: 1.4; text-decoration: none !important; }
.btn--main { background: var(--ink); color: var(--paper); }
.btn:hover { background: var(--hot); border-color: var(--hot); color: #fff !important; }
.btn i { font-style: normal; transition: transform 0.3s var(--ease); }
.btn:hover i { transform: translateX(4px); }

/* 囲み（補足） */
.note { margin: 1.6em 0 2em; padding: 18px 20px; border: 1px solid var(--rule); border-radius: var(--r3); background: rgba(255, 255, 255, 0.45); font-size: 15px; line-height: 1.85; }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.note-h { display: block; margin-bottom: 6px; font-family: var(--f-en); font-size: 13px; letter-spacing: 0.16em; color: var(--hot); }

/* 記事末のゲーム案内（AMIX GAMES への導線） */
/* 訂正の注記（2026-11-13 本人：誤りを直すときは、前と後の値と日付を記事に残す）。記事の最後、相談の欄の前に小さく */
.erratum { margin: 2.2em 0 0; padding: 14px 18px; border: 1px solid var(--rule); border-radius: var(--r2); font-size: 13px; line-height: 1.8; color: var(--dim); }
.erratum p { margin: 0; }
.erratum ul { margin: 6px 0 0; padding-left: 1.3em; }
.erratum li { margin: 0; }
.erratum b { color: var(--ink); font-weight: 700; }
.try { margin: 2.6em 0 0; padding: clamp(20px, 3vw, 28px); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--paper2); }
.try-k { margin: 0 0 6px; font-family: var(--f-en); font-size: 13px; letter-spacing: 0.18em; color: var(--hot); }
.try-t { margin: 0; font-weight: 900; font-size: clamp(18px, 2.3vw, 21px); line-height: 1.5; }
.try-d { margin: 8px 0 0; font-size: 15px; line-height: 1.85; color: var(--dim); }
.try .play { margin: 18px 0 0; }

/* ---------- データの面（暗い） ---------- */
.data { width: min(calc(100vw - var(--pad) * 2), var(--wide)); margin: 2em 0 2.4em 50%; transform: translateX(-50%); padding: clamp(20px, 3.4vw, 36px); border-radius: var(--r3); background: var(--night); color: var(--n-ink); }
.data-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin-bottom: 18px; }
.data-head p { margin: 0; }
.data-k { font-family: var(--f-en); font-size: 14px; letter-spacing: 0.18em; color: var(--hot); }
.data-src { font-size: 12px; color: var(--n-dim); }
.data-src a { color: var(--n-ink); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: 22px; border-radius: var(--r2); overflow: hidden; background: var(--n-rule); }
.kpi { padding: 16px 16px 14px; background: var(--night2); }
.kpi b { display: block; font-family: var(--f-en); font-weight: 400; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: 0.02em; }
.kpi b small { font-size: 0.5em; margin-left: 2px; }
.kpi span { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.6; color: var(--n-dim); }
@media (max-width: 760px) { .kpis { grid-template-columns: 1fr 1fr; } }
.chart-h { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.chart-h small { font-weight: 400; color: var(--n-dim); margin-left: 8px; }
.hours { width: 100%; height: auto; overflow: visible; }
.hours .b { fill: var(--bar); }
.hours .b.is-day { fill: var(--bar); }
.hours .b.is-off { fill: rgba(255, 122, 61, 0.42); }
.hours g.h:hover .b { fill: #ffd2bd; }
.hours .t { fill: var(--n-dim); font-family: var(--f-mono); font-size: 11px; }
.hours .base { stroke: var(--n-ink); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0.55; }
.hours .base-t { fill: var(--n-dim); font-size: 11px; }
.hours .band { fill: rgba(238, 241, 248, 0.06); }
.hours .band-t { fill: var(--n-ink); font-size: 11.5px; font-weight: 700; }
.hours .val { fill: var(--n-ink); font-family: var(--f-mono); font-size: 11px; }
.charts2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 26px; }
@media (max-width: 760px) { .charts2 { grid-template-columns: 1fr; gap: 22px; } }
.hb { margin: 0; padding: 0; list-style: none; }
.hb li { display: grid; grid-template-columns: 11.5em 1fr 3.4em; align-items: center; gap: 10px; padding: 5px 0; font-size: 13.5px; }
.hb .bar { height: 10px; border-radius: 0 var(--r1) var(--r1) 0; background: var(--n-rule); overflow: hidden; }
.hb .bar i { display: block; height: 100%; background: var(--bar); border-radius: 0 var(--r1) var(--r1) 0; }
.hb li > b { font-family: var(--f-mono); font-weight: 400; text-align: right; }
.data-foot { margin: 20px 0 0; font-size: 12px; line-height: 1.8; color: var(--n-dim); }

/* ---------- 終わりの案内（暗い） ---------- */
.cta { max-width: var(--wide); margin: clamp(48px, 8vw, 96px) auto 0; padding: 0 var(--pad); }
.cta-in { padding: clamp(26px, 4.6vw, 56px); border-radius: var(--r3); background: var(--night); color: var(--n-ink); }
.cta-in { position: relative; }
/* デビちゃんの置き場（js/devi.js が一覧ページでだけ作る）。相談のエリアに着くと、ここへ飛んできて見つめる。PC は見出しの右、スマホは箱の右上の角にかかる */
.devi-cta { position: absolute; top: clamp(18px, 3vw, 40px); right: clamp(16px, 5vw, 64px); width: clamp(84px, 10vw, 128px); aspect-ratio: 198 / 240; pointer-events: none; z-index: 2; }
@media (max-width: 759px) { .devi-cta { top: -46px; right: 6px; width: 64px; } }
.cta-k { margin: 0 0 12px; font-family: var(--f-en); font-size: 14px; letter-spacing: 0.18em; color: var(--hot); }
.cta h2 { margin: 0; font-weight: 900; font-size: clamp(22px, 3.4vw, 34px); line-height: 1.45; }
@media (max-width: 647px) { .cta h2 { font-size: min(5.2vw, 24px); } }   /* 一覧の「…制作、／…こちら。」が各行に収まる大きさ */
.cta-lead + .cta-lead { margin-top: 2px; }   /* 1文ずつ段落にして、どの幅でも最後の行が数文字だけ残らないようにしてある（2026-11-11・320〜1280px で確かめた文言） */
.cta-lead { margin: 14px 0 0; font-size: 15px; line-height: 1.9; color: var(--n-dim); }
.cta-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
@media (max-width: 860px) { .cta-links { grid-template-columns: 1fr; } }
.cta-links a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 18px 16px; border: 1px solid var(--n-rule); border-radius: var(--r2); text-decoration: none; transition: background 0.25s, border-color 0.25s; }
.cta-links a:hover { background: var(--night2); border-color: rgba(238, 241, 248, 0.4); }
.cta-links b { font-size: 16px; line-height: 1.5; }
.cta-links b i { font-style: normal; color: var(--hot); margin-left: 6px; }
.cta-links span { font-size: 13px; line-height: 1.7; color: var(--n-dim); }
.cta-links .is-main a { background: var(--n-ink); color: var(--night); border-color: var(--n-ink); }
.cta-links .is-main span { color: rgba(11, 12, 18, 0.66); }
.cta-links .is-main a:hover { background: var(--hot); border-color: var(--hot); color: #fff; }
.cta-links .is-main a:hover span { color: rgba(255, 255, 255, 0.85); }

/* ---------- 記事のカード（一覧・関連） ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); margin: 0; padding: 0; list-style: none; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card a { display: block; text-decoration: none; }
.card-img { aspect-ratio: 20 / 13; border-radius: var(--r3); overflow: hidden; background: var(--paper2); box-shadow: 0 0 0 rgba(22, 20, 15, 0); transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease); }
/* 画像は「視差（--py）× 寄り（--sc）」で動かす。--py は js/cards.js が見えているカードにだけ入れる */
.card-img img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--py, 0px)) scale(var(--sc, 1.06)); transition: transform 0.6s var(--ease); }
.card a:hover .card-img, .card a:focus-visible .card-img { box-shadow: 0 18px 34px -16px rgba(22, 20, 15, 0.38); transform: translateY(-3px); }
.card a:hover .card-img img, .card a:focus-visible .card-img img { --sc: 1.1; }
.card a:active .card-img { transform: scale(0.985); transition-duration: 0.15s; }   /* スマホで押したときの軽い反応 */

/* ---------- 一覧の動き（js/cards.js・2026-11-12 本人：「JOURNAL のトップは各記事もモダンな動的演出あるといい」）
   スクロールで見えたカードから、少しずつ時間差でふわっと出る。画像はゆっくり寄りながら落ち着き、札と日付は少し遅れて出る。
   html.cards-on は一覧ページの <head> のスクリプトが付ける（動きを減らす設定では付けない。JS が動かなければ3秒で外れて全部見える） ---------- */
html.cards-on .cards .card { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.7s var(--ease); transition-delay: calc(var(--ci, 0) * 80ms); }
html.cards-on .cards .card.is-in { opacity: 1; transform: none; }
html.cards-on .cards .card .card-img img { --sc: 1.14; transition: transform 0.8s var(--ease); transition-delay: calc(var(--ci, 0) * 80ms); }
html.cards-on .cards .card.is-in .card-img img { --sc: 1.06; }
html.cards-on .cards .card.is-in a:hover .card-img img { --sc: 1.1; transition-delay: 0s; }
html.cards-on .cards .card .card-meta > * { opacity: 0; transform: translateX(-8px); transition: opacity 0.4s ease, transform 0.5s var(--ease); transition-delay: calc(var(--ci, 0) * 80ms + 220ms); }
html.cards-on .cards .card .card-meta > * + * { transition-delay: calc(var(--ci, 0) * 80ms + 300ms); }
html.cards-on .cards .card.is-in .card-meta > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .card-img, .card-img img { transition: none; }
  .card a:hover .card-img { transform: none; }
}
.card-meta { display: flex; align-items: center; gap: 10px; margin: 14px 0 6px; font-size: 12px; color: var(--mute); }
.card h3 { margin: 0; font-weight: 900; font-size: 18px; line-height: 1.55; }
.card p { margin: 8px 0 0; font-size: 14px; line-height: 1.8; color: var(--dim); }
.card--soon .card-img { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--paper2) 0 10px, #e2dbcc 10px 20px); }
.card--soon .card-img b { font-family: var(--f-en); font-weight: 400; letter-spacing: 0.18em; color: var(--mute); }

.rel { max-width: var(--wide); margin: clamp(48px, 7vw, 80px) auto 0; padding: 0 var(--pad); }
.rel-h { margin: 0 0 20px; font-family: var(--f-en); font-weight: 400; font-size: 15px; letter-spacing: 0.18em; }

/* ---------- 一覧の頭 ---------- */
.lh { max-width: var(--wide); margin: 0 auto; padding: clamp(32px, 7vw, 88px) var(--pad) clamp(28px, 4vw, 48px); }
.lh-logo { margin: 0; font-family: var(--f-en); font-weight: 400; font-size: clamp(56px, 12vw, 148px); line-height: 0.92; letter-spacing: 0.01em; }
.lh-logo span { color: var(--hot); }
.lh h1 { margin: 22px 0 0; font-weight: 900; font-size: clamp(20px, 2.8vw, 28px); line-height: 1.5; }
.lh-lead { max-width: 44em; margin: 14px 0 0; color: var(--dim); font-size: 16px; }
.lh-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 700; }
.lh-links a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.lh-links a:hover { color: var(--hot); border-color: var(--hot); }
.lh-links i { font-style: normal; color: var(--hot); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: var(--wide); margin: 0 auto clamp(36px, 5vw, 56px); padding: 0; list-style: none; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.pillars li { padding: 16px var(--pad) 18px 0; }
.pillars li + li { padding-left: 18px; border-left: 1px solid var(--rule); }
.pillars b { display: block; font-family: var(--f-en); font-weight: 400; font-size: 18px; letter-spacing: 0.14em; }
.pillars a { display: block; color: inherit; text-decoration: none; }   /* 柱は各カテゴリの一覧（case/・data/・notes/）へのリンク */
.pillars a:hover b, .pillars a[aria-current] b { color: var(--hot); }
.pillars span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.7; color: var(--dim); }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } .pillars li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); } }
.lwrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--pad); }
.lwrap .pillars { margin-left: 0; margin-right: 0; }

/* ---------- フッター ---------- */
/* フッター：AMIX GAMES の共通フッター（../css/menu.css の .amx-foot。トップと同じ形）を白い地の色で（2026-11-12 本人：award / data / ジャーナルのフッターをトップに合わせる） */
.amx-foot { margin-top: clamp(56px, 8vw, 96px); --ft-bg: var(--paper2); --ft-ink: var(--ink); --ft-logo: var(--ink); --ft-dim: var(--dim); --ft-mute: var(--mute); --ft-line: var(--rule); --ft-accent: var(--hot); --ft-f-k: var(--f-mono); }

/* メニューのパネル：白い地の色（id 指定なので menu.css の初期値より強い） */
#amxMenu { --mn-bg: var(--paper); --mn-ink: var(--ink); --mn-dim: var(--dim); --mn-line: var(--rule); --mn-accent: var(--hot); --mn-f-big: var(--f-en); --mn-f-k: var(--f-mono); }
#amxMenu .amx-menu-panel { box-shadow: -30px 0 80px rgba(22, 20, 15, 0.18); }
#amxMenu .amx-menu-back { background: rgba(22, 20, 15, 0.32); }

/* ---------- 読み込み演出（js/jl.js）：白い地に、読みものにちなむ小物をドットで組み上げる。タップは無く、読み込みが終わったら自動で開く ---------- */
.jl { display: none; }
html.jl-on .jl { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: var(--paper); transition: opacity 0.45s ease, visibility 0.45s; }
html.jl-on .jl.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.jl-in { display: flex; flex-direction: column; align-items: center; }
.jl-logo { display: flex; align-items: center; gap: 10px; line-height: 0; opacity: 0.85; }
.jl-logo svg { width: clamp(96px, 9vw, 120px); height: auto; fill: var(--ink); }
.jl-logo b { font-family: var(--f-en); font-weight: 400; font-size: 13px; line-height: 1; letter-spacing: 0.16em; color: var(--hot); padding-top: 2px; }
.jl-stage { position: relative; width: clamp(128px, 12vw, 168px); aspect-ratio: 1; margin: clamp(20px, 2.8vw, 30px) auto 0; }
.jl-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.jl-line { width: clamp(120px, 14vw, 180px); height: 1px; margin: clamp(18px, 2.4vw, 26px) auto 12px; background: var(--rule); overflow: hidden; }
.jl-line i { display: block; height: 100%; background: var(--hot); transform-origin: 0 50%; transform: scaleX(0); transition: transform 0.3s ease; }
.jl-hint { margin: 0; display: flex; gap: 14px; justify-content: center; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.42em; color: var(--mute); }
.jl-hint b { font-weight: 400; color: var(--dim); font-variant-numeric: tabular-nums; letter-spacing: 0.2em; }
.jl.is-alive .jl-line i { background: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ---------- JOURNAL トップの開発の悪魔デビちゃん（js/devi.js）：見出しの右の空いた所を飛び、押すと吹き出しで話す ---------- */
.lh { position: relative; }
.devi { position: absolute; top: clamp(18px, 6vw, 78px); right: var(--pad); z-index: 5; width: clamp(84px, 9vw, 116px); transform: translate(var(--dx, 0), var(--dy, 0)); opacity: 0; transition: opacity 0.6s ease; }
.devi[hidden] { display: none !important; }
.devi.is-on { opacity: 1; }
.devi-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; transform: rotate(var(--tilt, 0deg)); transform-origin: 50% 40%; -webkit-tap-highlight-color: transparent; }
.devi-btn img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 14px rgba(22, 20, 15, 0.16)); }
/* 3D のデビちゃん（js/devi.js が three.js で描けたときだけ .is-3d）。平たい絵は場所取りに残して見えなくし、その上に一回り大きい透明なキャンバスを重ねる（くるりと回っても羽が切れないように） */
.devi-btn { position: relative; }
.devi-gl { position: absolute; left: 50%; top: 50%; width: 170%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.devi.is-3d .devi-btn img { visibility: hidden; }
.devi-btn:focus-visible { outline: 2px solid var(--hot); outline-offset: 4px; border-radius: 50%; }
.devi.is-poke .devi-btn img { animation: devi-poke 0.42s var(--ease); }
@keyframes devi-poke { 0% { transform: none; } 35% { transform: translateY(-10px) scale(1.06) rotate(-6deg); } 70% { transform: translateY(2px) scale(0.98) rotate(3deg); } 100% { transform: none; } }
/* 吹き出し：デビちゃんの左に出す。かぶるのは飾りの大きな JOURNAL の文字だけで、見出しや本文には重ならない */
.devi-say { position: absolute; right: calc(100% + 4px); top: 34%; width: max-content; max-width: min(250px, 62vw); margin: 0; padding: 10px 14px; border: 1.5px solid var(--ink); border-radius: 14px;   /* 尖りは付けない（顔の位置と合わないため・本人 2026-11-12） */ background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.6; letter-spacing: 0.02em; box-shadow: 0 8px 20px rgba(22, 20, 15, 0.12); opacity: 0; transform: translateX(6px) scale(0.96); transform-origin: 100% 0; transition: opacity 0.25s ease, transform 0.35s var(--ease); pointer-events: none; }
.devi.is-talking .devi-say { opacity: 1; transform: none; }
/* 話している間だけ、吹き出しの上の段に名前を小さく、少し遅れてふわっと出す（本人 2026-11-12） */
.devi-name { display: block; margin-bottom: 2px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; color: var(--hot); opacity: 0; transform: translateY(3px); transition: opacity 0.4s ease 0s, transform 0.5s var(--ease) 0s; }
.devi.is-talking .devi-name { opacity: 1; transform: none; transition-delay: 0.18s; }
.devi-line { display: block; }
@media (max-width: 760px) {
  .devi { top: 12px; width: 64px; }
  .devi-say { font-size: 13px; max-width: min(230px, 62vw); top: 4%; padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .devi, .devi-say { transition: none; }
  .devi.is-poke .devi-btn img { animation: none; }
}

/* ---------- 記事の画像のワイプ（js/journal.js・2026-11-12 本人：「左から右に画像が出てくる感じ。位置の移動ではなく、ワイプみたいな感じ」） ----------
   html.wipe-on は <head> のスクリプトが付ける（動きを減らす設定・クローラーでは付けない。JS が動かなければ3秒で外す）
   位置は動かさず、clip-path で左から右へ切り開く。読みこめてから始め、間に合わなければそのまま見せる */
html.wipe-on .ah-cover img, html.wipe-on .fig img, html.wipe-on .fig video { clip-path: inset(0 100% 0 0); }
html.wipe-on .ah-cover img.is-wiped, html.wipe-on .fig img.is-wiped, html.wipe-on .fig video.is-wiped { clip-path: inset(0 0 0 0); transition: clip-path 0.72s cubic-bezier(0.16, 1, 0.3, 1) var(--wd, 0s); }
html.wipe-on .ah-cover img.is-shown, html.wipe-on .fig img.is-shown, html.wipe-on .fig video.is-shown { clip-path: none; transition: none; }
