/* 多読ベスト — 芥川龍之介 没後100年特集（/akutagawa/）だけで読みこむ。動きは src/akutagawa.js
   ハロウィン特集の作りを土台に、藍・朱・金の和の色と明朝体にした。ページの中身はサイトの明るい／暗いの設定によらず夜の色 */
.page-ak main {
  --bg: #0b0f1c;
  --bg2: #111829;
  --card: #172036;
  --ink: #f4efe4;
  --ink2: #dcd6c6;
  --muted: #a7afc2;
  --line: #2c3a5a;
  --brand: #e8590c;
  --brand2: #f2c14e;
  --ak-or: #e8590c;
  --ak-gold: #f2c14e;
  --ak-vi: #3b5bdb;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(59, 91, 219, 0.25), transparent 60%),
    radial-gradient(900px 500px at 0% 40%, rgba(232, 89, 12, 0.12), transparent 60%),
    linear-gradient(#0b0f1c, #080b16 60%, #0b0f1c);
  color: var(--ink);
}
.page-ak main a { color: inherit; }
.page-ak main .h2,
.page-ak main h2 { color: var(--ink); }

/* ---------- ヒーロー ---------- */
.ak-hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.ak-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
  z-index: -3;
}
.ak-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(6, 9, 18, 0.92) 0%, rgba(6, 9, 18, 0.6) 38%, rgba(6, 9, 18, 0) 70%), linear-gradient(0deg, #0b0f1c 0%, rgba(11, 15, 28, 0) 40%);
}
.ak-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.ak-hero-in {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 90px 20px 44px;
  max-width: 100%;
}
.ak-hero .crumb,
.ak-hero .crumb a { color: #d6dcef; }
.ak-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font: 900 0.82rem/1.2 'Zen Kaku Gothic New', sans-serif;
  letter-spacing: 0.06em;
  color: #2b1300;
  background: linear-gradient(90deg, #f2c14e, #e8590c);
  border-radius: 999px;
  padding: 7px 14px;
  box-shadow: 0 0 24px rgba(232, 89, 12, 0.55);
}
.ak-hero h1 {
  margin: 14px 0 10px;
  font: 900 clamp(2.1rem, 6.5vw, 4.4rem) / 1.08 'Zen Kaku Gothic New', sans-serif;
  color: #fff;
  text-shadow: 0 4px 30px rgba(59, 91, 219, 0.7);
}
.ak-hero h1 em {
  font-style: normal;
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #f2c14e, #e8590c 45%, #f2c14e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ak-hero-lead {
  max-width: 34em;
  color: #e8e4d8;
  font-size: clamp(0.98rem, 2.4vw, 1.12rem);
  line-height: 1.85;
}
.ak-cd {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 20px;
  color: #d6dcef;
  font-weight: 700;
}
.ak-cd-n {
  display: flex;
  gap: 6px;
}
.ak-cd-n span {
  display: grid;
  place-items: center;
  min-width: 58px;
  padding: 6px 8px;
  border-radius: 12px;
  background: rgba(16, 24, 46, 0.75);
  border: 1px solid rgba(242, 193, 78, 0.45);
  box-shadow: inset 0 0 18px rgba(59, 91, 219, 0.35);
}
.ak-cd-n b {
  font: 800 1.5rem/1 Fraunces, Georgia, serif;
  color: #f2c14e;
}
.ak-cd-n small { font-size: 0.68rem; color: #b9c0d4; }
.ak-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.ak-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 20px;
  border-radius: 999px;
  font: 900 1rem/1 'Zen Kaku Gothic New', sans-serif;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff !important;
  backdrop-filter: blur(6px);
}
.ak-cta a.go {
  background: linear-gradient(90deg, #e8590c, #c92a2a);
  border-color: transparent;
  box-shadow: 0 8px 26px rgba(247, 103, 7, 0.5);
}
.ak-mascot {
  position: absolute;
  right: max(2vw, 10px);
  bottom: 10px;
  width: clamp(120px, 22vw, 240px);
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(232, 89, 12, 0.45));
  animation: ak-bob 3.6s ease-in-out infinite;
  z-index: 0;
}
@keyframes ak-bob {
  50% { transform: translateY(-12px) rotate(-3deg); }
}

/* ---------- 終わったとき ---------- */
.ak-endmsg { display: none; }
.ak-ended .ak-endmsg {
  display: block;
  margin: 20px auto;
  padding: 22px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  text-align: center;
}
.ak-ended [data-ak-live] { display: none !important; }

/* ---------- セクション ---------- */
.ak-sec { width: min(1100px, 100%); margin: 0 auto; padding: 34px 16px 10px; }
.ak-sec-h { margin-bottom: 18px; }
.ak-sec-h .kicker {
  font: 800 0.8rem/1 Fraunces, Georgia, serif;
  letter-spacing: 0.18em;
  color: var(--ak-or);
  margin: 0 0 6px;
}
.ak-sec-h h2 { font: 900 clamp(1.5rem, 4.2vw, 2.2rem) / 1.25 'Zen Kaku Gothic New', sans-serif; margin: 0 0 8px; }
.ak-sec-h p { color: var(--ink2); margin: 0; }

/* ゲームのカード */
.ak-games {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 720px) {
  .ak-games { grid-template-columns: minmax(0, 1fr); }
}
.ak-game {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 250px;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  color: #fff;
  background: #141d33;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s;
  font: inherit;
}
.ak-game:hover,
.ak-game:focus-visible {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 0 2px var(--c, #e8590c) inset, 0 0 40px color-mix(in srgb, var(--c, #e8590c) 45%, transparent);
}
.ak-game > img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.ak-game:hover > img.bg { transform: scale(1.06); }
.ak-game::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 9, 18, 0.95) 0%, rgba(6, 9, 18, 0.55) 55%, rgba(6, 9, 18, 0.05) 100%);
}
.ak-game > img.sp {
  position: absolute;
  top: 12px;
  right: 14px;
  width: clamp(78px, 22%, 120px);
  height: auto;
  z-index: 1;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5));
  animation: ak-bob 3.2s ease-in-out infinite;
}
.ak-game-in { position: relative; z-index: 1; padding: 18px 18px 16px; display: grid; gap: 6px; }
.ak-game-tag {
  justify-self: start;
  font: 900 0.72rem/1 'Zen Kaku Gothic New', sans-serif;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--c, #e8590c);
  color: #fff;
}
.ak-game b.t { font: 900 1.35rem/1.3 'Zen Kaku Gothic New', sans-serif; }
.ak-game small.d { color: #ddd8cb; line-height: 1.6; font-size: 0.9rem; }
.ak-game-f { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.ak-game-f em { font-style: normal; font-size: 0.8rem; color: #f2c14e; }
.ak-game-f span.play {
  font: 900 0.95rem/1 'Zen Kaku Gothic New', sans-serif;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.ak-game:hover span.play { background: var(--c, #e8590c); border-color: transparent; }
.ak-lvchips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; color: var(--ink2); font-size: 0.85rem; }
.ak-lvchips i {
  font-style: normal;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
}

/* 本棚（サイトの .row・.card を夜の色で） */
.ak-shelf .row { margin-top: 6px; }
.ak-shelf .sub { color: var(--ink2); }
.page-ak main .card { background: var(--card); border-color: var(--line); }

.ak-tip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(59, 91, 219, 0.22), rgba(232, 89, 12, 0.14));
  border: 1px solid var(--line);
}
.ak-tip img { width: 84px; height: 84px; }

/* ---------- 世界の行事・祝日ナビ（ハロウィンの由来）への大きなリンク ---------- 2026-10-26 ユーザー「コレへの大き目のリンクも作成して紹介してね」 */
.ak-link {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(242, 193, 78, 0.45);
  background: linear-gradient(135deg, rgba(232, 89, 12, 0.2), rgba(59, 91, 219, 0.22));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s;
}
.ak-link:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(232, 89, 12, 0.25); }
.ak-link > img { width: 100%; height: 100%; aspect-ratio: 1200 / 630; object-fit: cover; display: block; }
.ak-link-in { display: flex; flex-direction: column; gap: 10px; justify-content: center; padding: clamp(18px, 3vw, 32px); min-width: 0; }
.ak-link-in small { color: var(--ak-gold); font-weight: 700; letter-spacing: 0.04em; }
.ak-link-in b { font: 900 clamp(1.3rem, 3.4vw, 1.9rem) / 1.3 'Zen Kaku Gothic New', sans-serif; color: var(--ink); }
.ak-link-txt { color: var(--ink2); line-height: 1.8; }
.ak-link-go {
  align-self: flex-start;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ak-or);
  color: #141414;
  font-weight: 900;
}
.ak-link:hover .ak-link-go span { display: inline-block; transform: translateX(3px); transition: transform 0.2s; }
@media (max-width: 720px) {
  .ak-link { grid-template-columns: minmax(0, 1fr); }
  .ak-link-go { align-self: stretch; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ak-link, .ak-link:hover { transform: none; transition: none; }
}
.ak-tip p { margin: 0; line-height: 1.8; color: var(--ink2); }

/* ---------- ゲームの画面（全画面） ---------- */
html.ak-lock,
html.ak-lock body { overflow: hidden; overscroll-behavior: none; }
.ak-ov {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #070a14;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr); /* 長い題名で上のバーが画面より広がらないように */
  color: #fff;
  font-family: 'Zen Kaku Gothic New', system-ui, sans-serif;
}
.ak-ov[hidden] { display: none; }
.ak-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: max(8px, env(safe-area-inset-top)) 10px 8px;
  background: linear-gradient(#121a30, #0d1324);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ak-top b { flex: 1; min-width: 0; font-size: 0.98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ak-top button {
  flex: none;
  min-width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
}
.ak-top button.off { opacity: 0.4; text-decoration: line-through; }
.ak-top button.x { padding: 0 12px; font-size: 0.9rem; font-weight: 900; }
.ak-stage { position: relative; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.ak-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ak-hud { position: absolute; left: 0; right: 0; top: 0; pointer-events: none; z-index: 2; }
.ak-layer { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.ak-layer > * { pointer-events: auto; }
.hh { padding: 10px 12px 0; display: grid; gap: 6px; }
.hh-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 900; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); }
.hh-sc { font: 800 0.95rem/1 Fraunces, Georgia, serif; letter-spacing: 0.04em; }
.hh-sc b { font-size: 1.25rem; color: #f2c14e; }
.hh-cb { color: #e8590c; font-size: 0.95rem; }
.hh-lv i { font-style: normal; font-size: 1.2rem; transition: opacity 0.3s, filter 0.3s; }
.hh-lv i.gone { opacity: 0.25; filter: grayscale(1); }
.hh-time { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.hh-time i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #e8590c, #f2c14e); box-shadow: 0 0 12px #e8590c; border-radius: inherit; }
.hh-time.fever i { background: linear-gradient(90deg, #f06595, #f2c14e, #74c0fc, #748ffc); }
.hh-time.candle i { background: linear-gradient(90deg, #ffe066, #fff3bf); box-shadow: 0 0 14px #ffe066; }
.hh-q {
  justify-self: center;
  margin-top: 4px;
  max-width: min(92vw, 560px);
  padding: 10px 20px 12px;
  border-radius: 18px;
  text-align: center;
  background: rgba(12, 18, 36, 0.82);
  border: 2px solid rgba(242, 193, 78, 0.55);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 24px rgba(59, 91, 219, 0.4);
  pointer-events: none; /* 下を通るおばけもタップできるように（ボタンだけ押せる） */
}
.hh-q button { pointer-events: auto; }
.hh-q small { display: block; color: #b9c0d4; font-size: 0.75rem; margin-bottom: 2px; }
.hh-q .pj { font-size: clamp(1.3rem, 5vw, 1.9rem); }
.hh-q .pe { font: 800 clamp(1.4rem, 5.5vw, 2rem) / 1.2 Fraunces, Georgia, serif; }
.hh-q .pl { font: 900 1rem 'Zen Kaku Gothic New', sans-serif; padding: 8px 16px; border-radius: 99px; border: 0; background: #e8590c; color: #fff; cursor: pointer; }
.hh-q.sp small { font-size: 1rem; color: #fff; font-weight: 900; }
.slots { display: flex; gap: 5px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.slots i {
  font-style: normal;
  width: clamp(24px, 6.5vw, 34px);
  height: clamp(30px, 8vw, 40px);
  display: grid;
  place-items: center;
  border-radius: 8px;
  font: 800 clamp(1rem, 4.5vw, 1.4rem) / 1 Fraunces, Georgia, serif;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 3px solid rgba(255, 255, 255, 0.35);
}
.slots i.got { background: rgba(242, 193, 78, 0.2); border-color: #f2c14e; color: #f2c14e; }
.slots i.now { border-color: #e8590c; animation: ak-blink 1s infinite; }
@keyframes ak-blink { 50% { background: rgba(232, 89, 12, 0.3); } }
.hh-keys i { font-style: normal; opacity: 0.25; filter: grayscale(1); font-size: 0.95rem; }
.hh-keys i.got { opacity: 1; filter: none; }
.hh-cnd b { color: #ffe066; }

/* メニュー・結果・一時停止 */
.ak-menu,
.ak-pausebox {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  display: grid;
  place-items: center;
  padding: 18px 14px calc(18px + env(safe-area-inset-bottom));
  background: radial-gradient(circle at 50% 30%, rgba(30, 12, 60, 0.55), rgba(4, 6, 14, 0.85));
}
.ak-card {
  width: min(560px, 100%);
  padding: 22px 20px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(24, 34, 62, 0.96), rgba(12, 18, 36, 0.97));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(59, 91, 219, 0.25);
  text-align: center;
}
.ak-k { margin: 0; font: 800 0.75rem/1 Fraunces, Georgia, serif; letter-spacing: 0.2em; color: #e8590c; }
.ak-card h2 { margin: 6px 0 10px; font-size: clamp(1.4rem, 5vw, 1.9rem); color: #fff; }
.ak-how { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 6px; text-align: left; }
.ak-how li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; align-items: start; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.ak-how li span { font-size: 1.2rem; line-height: 1.4; text-align: center; }
.ak-how li p { margin: 0; line-height: 1.7; color: #ddd8cb; font-size: 0.9rem; }
.ak-how b { color: #f2c14e; }
.ak-note { font-size: 0.8rem; color: #a7afc2; margin: 10px 0 0; line-height: 1.6; }
.ak-lab { margin: 14px 0 6px; font-size: 0.8rem; color: #b9c0d4; font-weight: 900; text-align: left; }
.ak-lvs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ak-lv,
.ak-mode {
  font: inherit;
  color: #fff;
  cursor: pointer;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 8px;
  display: grid;
  gap: 2px;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.ak-lv b { font-size: 1.05rem; }
.ak-lv small { font-size: 0.7rem; color: #b9c0d4; }
.ak-lv em { font-style: normal; font-size: 0.7rem; color: #f2c14e; font-family: Fraunces, Georgia, serif; }
.ak-lv.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 28%, transparent); transform: translateY(-2px); box-shadow: 0 0 22px color-mix(in srgb, var(--c) 55%, transparent); }
.ak-modes { display: flex; gap: 6px; flex-wrap: wrap; }
.ak-mode { flex: 1 1 140px; font-weight: 900; font-size: 0.88rem; }
.ak-mode.on { border-color: #e8590c; background: rgba(232, 89, 12, 0.25); }
.ak-btn {
  font: 900 0.95rem/1.2 'Zen Kaku Gothic New', sans-serif;
  color: #fff;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}
.ak-btn:disabled { opacity: 0.4; cursor: default; }
.ak-btn.main { background: linear-gradient(90deg, #e8590c, #c92a2a); border-color: transparent; box-shadow: 0 8px 24px rgba(247, 103, 7, 0.45); }
.ak-btn.big { width: 100%; margin-top: 16px; padding: 16px; font-size: 1.15rem; }
.ak-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.ak-count { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none !important; }
.ak-count b { font: 800 clamp(4rem, 22vw, 9rem) / 1 Fraunces, Georgia, serif; color: #f2c14e; text-shadow: 0 0 40px #e8590c, 0 6px 0 #6b2c00; }

.ak-rank {
  width: 108px;
  height: 108px;
  margin: 4px auto 6px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 800 4rem/1 Fraunces, Georgia, serif;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, #748ffc, #364fc7);
  box-shadow: 0 0 40px rgba(59, 91, 219, 0.7);
  animation: ak-pop 0.7s cubic-bezier(0.22, 1.6, 0.36, 1) both;
}
.ak-rank.r-S { background: radial-gradient(circle at 35% 30%, #ffe066, #f08c00); box-shadow: 0 0 60px rgba(242, 193, 78, 0.9); color: #4a2500; }
.ak-rank.r-A { background: radial-gradient(circle at 35% 30%, #ffa8a8, #e8590c); }
.ak-rank.r-C { background: radial-gradient(circle at 35% 30%, #868e96, #343a40); box-shadow: none; }
@keyframes ak-pop { from { transform: scale(0) rotate(-30deg); } }
.ak-score { margin: 0; font: 800 2.4rem/1.1 Fraunces, Georgia, serif; color: #f2c14e; }
.ak-score small { font: 900 1rem 'Zen Kaku Gothic New', sans-serif; margin-left: 4px; }
.ak-newbest { margin: 6px 0; font-weight: 900; color: #e8590c; animation: ak-blink 1.2s infinite; border-radius: 99px; }
.ak-bestline { margin: 6px 0; font-size: 0.85rem; color: #b9c0d4; }
.ak-stats { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ak-stats li { padding: 8px 4px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); }
.ak-stats small { display: block; font-size: 0.7rem; color: #b9c0d4; }
.ak-stats b { font-size: 1.05rem; }
.ak-review { margin-top: 12px; text-align: left; background: rgba(255, 255, 255, 0.05); border-radius: 14px; padding: 8px 12px; }
.ak-review summary { cursor: pointer; font-weight: 900; padding: 4px 0; }
.ak-review ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 4px; max-height: 210px; overflow-y: auto; }
.ak-review li { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 10px; min-width: 0; }
.ak-review li.miss { background: rgba(255, 107, 107, 0.14); }
.ak-review li b { font-family: Fraunces, Georgia, serif; font-size: 1.05rem; }
.ak-review li span { color: #dcd6c6; font-size: 0.85rem; min-width: 0; overflow-wrap: anywhere; }
.ak-review li i { font-style: normal; margin-left: auto; font-size: 0.7rem; color: #ff8787; font-weight: 900; flex: none; }
.ak-review button { flex: none; border: 0; background: rgba(255, 255, 255, 0.1); color: #fff; border-radius: 8px; width: 32px; height: 30px; cursor: pointer; }
.ak-recs { margin-top: 16px; text-align: left; }
.ak-recs p { margin: 0 0 8px; font-weight: 900; font-size: 0.9rem; }
.ak-recs a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: center; text-decoration: none; color: #fff; padding: 6px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); margin-bottom: 6px; }
.ak-recs img { width: 96px; height: 54px; object-fit: cover; border-radius: 8px; }
.ak-recs span { font-size: 0.9rem; font-weight: 700; }

/* 脱出ゲームの部屋 */
.es-wrap {
  position: absolute;
  inset: 62px 0 0; /* 上の HUD（ろうそくの時間）にかぶらない */
  overflow-y: auto;
  padding: 8px 14px calc(20px + env(safe-area-inset-bottom));
  display: grid;
  place-items: start center;
}
.es-card {
  position: relative;
  width: min(640px, 100%);
  padding: 18px;
  border-radius: 22px;
  background: rgba(12, 16, 30, 0.86);
  border: 1px solid rgba(242, 193, 78, 0.3);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.es-room { margin: 0 0 10px; font-weight: 900; color: #f2c14e; }
.es-note {
  position: relative;
  padding: 18px 18px 16px 18px;
  border-radius: 6px 18px 8px 16px;
  color: #3a2410;
  background: linear-gradient(135deg, #fff4d6, #f3dca5 60%, #e8c98a);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 0 40px rgba(150, 100, 30, 0.35);
  transform: rotate(-0.6deg);
}
.es-note p { margin: 0; padding-right: 36px; font: 400 clamp(1.02rem, 3.6vw, 1.2rem) / 1.75 Literata, Georgia, serif; }
.es-say { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(80, 45, 10, 0.15); cursor: pointer; font-size: 1rem; }
.es-q { margin: 14px 0 10px; font: 800 clamp(1.05rem, 3.8vw, 1.25rem) / 1.5 Fraunces, Georgia, serif; color: #fff; }
.es-ch { display: grid; gap: 8px; }
.es-c {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  font: inherit;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.es-c:hover:not(:disabled) { transform: translateX(4px); border-color: #f2c14e; }
.es-c span { font-size: 1.6rem; flex: none; }
.es-c b { font: 700 1.05rem/1.35 Literata, Georgia, serif; }
.es-c.ok { border-color: #51cf66; background: rgba(81, 207, 102, 0.22); }
.es-c.ng { border-color: #ff6b6b; background: rgba(255, 107, 107, 0.16); opacity: 0.7; }
.es-c:disabled { cursor: default; }
.es-ja { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(59, 91, 219, 0.16); border: 1px dashed rgba(116, 143, 252, 0.6); text-align: left; }
.es-ja small { color: #748ffc; font-weight: 900; }
.es-ja p { margin: 4px 0 0; line-height: 1.8; color: #ece7da; font-size: 0.95rem; }
.es-foot { display: flex; gap: 8px; justify-content: space-between; flex-wrap: wrap; margin-top: 14px; }
.es-foot .ak-btn { flex: 1 1 200px; }
.es-door { position: absolute; inset: 0; pointer-events: none !important; perspective: 900px; z-index: 5; }
.es-door i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(90deg, #3b2210, #5c3317 40%, #3b2210);
  box-shadow: inset 0 0 0 10px #2a170a, inset 0 0 60px rgba(0, 0, 0, 0.6);
  animation: es-close 1.4s ease-in-out forwards;
}
.es-door i.l { left: 0; transform-origin: left center; }
.es-door i.r { right: 0; transform-origin: right center; animation-name: es-close-r; }
.es-door b { position: absolute; left: 50%; top: 50%; translate: -50% -50%; font-size: 4rem; animation: es-key 1.4s ease-in-out forwards; filter: drop-shadow(0 0 20px #f2c14e); }
@keyframes es-close { 0% { transform: rotateY(90deg); } 35%, 55% { transform: rotateY(0); } 100% { transform: rotateY(95deg); } }
@keyframes es-close-r { 0% { transform: rotateY(-90deg); } 35%, 55% { transform: rotateY(0); } 100% { transform: rotateY(-95deg); } }
@keyframes es-key { 0%, 25% { opacity: 0; scale: 0.3; } 45% { opacity: 1; scale: 1.2; rotate: 0deg; } 60% { rotate: 90deg; } 100% { opacity: 0; scale: 2; } }

/* ---------- ゲームの手ごたえ（動き）：はねる・飛ぶ・スタンプ・のこり時間の点滅。動かすのは transform と opacity だけ ---------- */
@keyframes ak-bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
.hh-sc b, .hh-cb, .hh-lv i, .hh-keys i { display: inline-block; }
.bump { animation: ak-bump 0.32s cubic-bezier(0.22, 1.6, 0.36, 1); }
.hh-lv i.gone.bump { animation: ak-out 0.45s ease-out; }
@keyframes ak-out { 0% { transform: scale(1.4); opacity: 1; filter: none; } 100% { transform: scale(1); } }
.hh-cb.hot { color: #f2c14e; text-shadow: 0 0 12px #e8590c, 0 2px 8px rgba(0, 0, 0, 0.8); }
.hh-time.low { background: rgba(255, 80, 80, 0.25); }
.hh-time.low i { background: linear-gradient(90deg, #ff6b6b, #ffa94d); box-shadow: 0 0 14px #ff6b6b; animation: ak-low 0.5s ease-in-out infinite alternate; }
@keyframes ak-low { to { opacity: 0.45; } }
.hh-say { margin-left: 6px; border: 0; border-radius: 99px; width: 30px; height: 26px; background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer; font-size: 0.85rem; vertical-align: middle; }
.hh-sc, .hh-cb, .hh-lv, .hh-keys, .hh-cnd { white-space: nowrap; }
@media (max-width: 360px) {
  .hh { padding: 8px 10px 0; }
  .hh-row { gap: 6px; }
  .hh-sc { font-size: 0.78rem; }
  .hh-sc b { font-size: 1.05rem; }
  .hh-cb { font-size: 0.8rem; }
  .hh-lv i { font-size: 1rem; }
  .hh-keys i { font-size: 0.8rem; }
}
.ak-stage canvas.ak-fxtop { z-index: 4; pointer-events: none; }
.hh-cnd { position: relative; }
.hh-cnd b { display: inline-block; }
.hh-pen { position: absolute; right: 0; top: 100%; font-style: normal; font-weight: 900; color: #ff8787; white-space: nowrap; animation: ak-pen 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes ak-pen { 0% { opacity: 0; transform: translateY(-6px) scale(1.4); } 20% { opacity: 1; transform: translateY(4px) scale(1); } 100% { opacity: 0; transform: translateY(22px); } }
.ak-fly { position: absolute; z-index: 6; pointer-events: none; will-change: transform, opacity; }
.ak-fly.letter { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font: 800 1.3rem/1 Fraunces, Georgia, serif; color: #2b1300; background: radial-gradient(circle at 35% 30%, #fff3bf, #f2c14e 60%, #f08c00); box-shadow: 0 0 18px #f2c14e; }
.ak-fly.key { font-size: 2rem; filter: drop-shadow(0 0 10px #f2c14e); }
.ak-btn, .ak-lv, .ak-mode, .es-c { -webkit-tap-highlight-color: transparent; }
.ak-btn:active:not(:disabled), .ak-lv:active, .ak-mode:active, .es-c:active:not(:disabled) { transform: scale(0.96); transition-duration: 0.05s; }
.ak-btn { transition: transform 0.15s cubic-bezier(0.22, 1.6, 0.36, 1); }
.ak-btn.sm, .ak-review button.ak-btn.sm { width: auto; height: auto; padding: 7px 14px; font-size: 0.85rem; margin: 4px 0 2px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); }
/* サイトが絵文字を絵（img.emo）に置きかえても、ボタンの中で文字と横にならぶように */
.ak-mode { display: flex; align-items: center; justify-content: center; gap: 6px; }
.ak-ov img.emo { width: 1.2em; height: 1.2em; vertical-align: -0.2em; }
/* メニュー・結果のカードは、下からふわっと出る。結果は上から順に（ランク → 得点 → 記録 → 単語） */
.ak-menu > .ak-card, .ak-pausebox > .ak-card { animation: ak-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes ak-in { from { opacity: 0; transform: translateY(26px) scale(0.96); } }
.ak-result .ak-card > * { animation: ak-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
.ak-result .ak-card > :nth-child(2) { animation-delay: 0.08s; }
.ak-result .ak-card > .ak-rank { animation: ak-slam 0.55s cubic-bezier(0.3, 1.5, 0.4, 1) 0.2s both; }
@keyframes ak-slam { 0% { opacity: 0; transform: scale(2.6) rotate(-18deg); } 60% { opacity: 1; transform: scale(0.9) rotate(4deg); } 100% { transform: none; } }
.ak-result .ak-card > :nth-child(4) { animation-delay: 0.45s; }
.ak-result .ak-card > :nth-child(5) { animation-delay: 0.9s; }
.ak-result .ak-card > :nth-child(6) { animation-delay: 1s; }
.ak-result .ak-card > :nth-child(n + 7) { animation-delay: 1.15s; }
.ak-review li { transition: background 0.2s; }
.ak-review li.playing { background: rgba(242, 193, 78, 0.22); }
.ak-notes .ak-note1 { padding: 10px 4px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.ak-notes .ak-note1 p { margin: 4px 0; line-height: 1.65; font-size: 0.9rem; color: #ece7da; }
.ak-notes .ak-note1 p[lang='en'] { font-family: Literata, Georgia, serif; }
.ak-notes .nr { display: flex; align-items: center; justify-content: space-between; font-weight: 900; color: #f2c14e !important; }
.ak-notes .nq b { color: #8ce99a; }
.ak-notes .nj { color: #b9c0d4 !important; font-size: 0.85rem !important; }
/* 脱出ゲーム：正解のスタンプ・キーボードの番号 */
.es-stamp { position: absolute; top: 14px; right: 14px; pointer-events: none; animation: ak-stamp 0.5s cubic-bezier(0.3, 1.6, 0.4, 1) both; }
.es-stamp b { display: block; padding: 6px 14px; border: 3px solid #51cf66; border-radius: 10px; color: #51cf66; font: 800 1.15rem/1 Fraunces, Georgia, serif; letter-spacing: 0.06em; transform: rotate(-12deg); background: rgba(20, 40, 20, 0.6); box-shadow: 0 0 20px rgba(81, 207, 102, 0.45); }
@keyframes ak-stamp { 0% { opacity: 0; transform: scale(2.4); } 100% { opacity: 1; transform: scale(1); } }
.es-c kbd { margin-left: auto; flex: none; font: 700 0.75rem/1 system-ui, sans-serif; padding: 4px 7px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.25); color: #b9c0d4; }
@media (hover: none) { .es-c kbd { display: none; } }
.es-c.ok { animation: ak-bump 0.4s cubic-bezier(0.22, 1.6, 0.36, 1); }

@media (prefers-reduced-motion: reduce) {
  .ak-mascot, .ak-game > img.sp, .slots i.now, .ak-newbest { animation: none; }
  .es-door { display: none; }
  .bump, .hh-pen, .hh-time.low i, .ak-menu > .ak-card, .ak-pausebox > .ak-card, .ak-result .ak-card > *, .ak-result .ak-card > .ak-rank, .es-stamp, .es-c.ok, .hh-lv i.gone.bump { animation: none !important; }
  .ak-btn:active:not(:disabled), .ak-lv:active, .ak-mode:active, .es-c:active:not(:disabled) { transform: none; }
}

/* スマホ：はらだくんは右上に小さく（文字とボタンに重ならないように） */
@media (max-width: 640px) {
  .ak-hero { min-height: 0; }
  .ak-hero-in { padding: 70px 16px 30px; }
  .ak-mascot { top: 64px; bottom: auto; right: 8px; width: 92px; }
  .ak-hero h1 { padding-right: 70px; }
  .ak-cd-n span { min-width: 50px; }
  .ak-cta a { flex: 1 1 auto; justify-content: center; padding: 12px 14px; font-size: 0.92rem; }
  .ak-game { min-height: 230px; }
  .ak-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ak-card { padding: 18px 14px; }
}

/* =====================================================================
   ここから芥川特集だけの部品（2026-10-31）
   ===================================================================== */
.page-ak main { --mincho: 'Shippori Mincho B1', 'Yu Mincho', 'Hiragino Mincho ProN', serif; --shu: #e8590c; --kin: #f2c14e; --ai: #1b2a4e; }
.page-ak main h2, .page-ak main h3 { font-family: var(--mincho); }

/* ヒーロー：右に絵、左に縦書きの大見出し */
.ak-hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.ak-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 40%; z-index: -3; animation: ak-zoom 24s ease-in-out infinite alternate; }
@keyframes ak-zoom { to { transform: scale(1.06); } }
.ak-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(6, 9, 18, 0.94) 0%, rgba(6, 9, 18, 0.7) 34%, rgba(6, 9, 18, 0) 68%), linear-gradient(0deg, #0b0f1c 0%, rgba(11, 15, 28, 0) 42%); }
.ak-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.ak-hero-in { width: min(1100px, 100%); margin: 0 auto; padding: 84px 20px 40px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: end; }
.ak-hero-in > .crumb { grid-column: 1 / -1; }
.ak-hero .crumb, .ak-hero .crumb a { color: #c9d1e8; }
.ak-tate { writing-mode: vertical-rl; font: 800 clamp(2.4rem, 6.4vw, 4.6rem) / 1.15 var(--mincho); color: #fff; letter-spacing: 0.12em; margin: 0; text-shadow: 0 0 30px rgba(0, 0, 0, 0.8), 0 0 60px rgba(232, 89, 12, 0.35); }
.ak-tate small { display: block; font-size: 0.42em; letter-spacing: 0.3em; color: var(--kin); margin-left: 0.4em; }
.ak-seal { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 10px; background: #c92a2a; color: #fff; font: 800 1.05rem/1.05 var(--mincho); text-align: center; transform: rotate(-6deg); box-shadow: 0 6px 24px rgba(201, 42, 42, 0.55), inset 0 0 0 3px rgba(255, 255, 255, 0.35); margin-bottom: 12px; }
.ak-hero-txt h1 { font: 800 clamp(1.5rem, 4vw, 2.3rem) / 1.35 var(--mincho); color: #fff; margin: 0 0 10px; }
.ak-hero-txt h1 em { font-style: normal; display: block; font: 700 clamp(0.95rem, 2.4vw, 1.2rem) / 1.4 Fraunces, Georgia, serif; letter-spacing: 0.08em; color: var(--kin); margin-top: 6px; }
.ak-lead { max-width: 36em; color: #e8e4d8; line-height: 1.9; font-size: clamp(0.96rem, 2.3vw, 1.08rem); margin: 0; }
.ak-cd { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 18px 0; color: #d6dcef; font-weight: 700; }
.ak-cd-n { display: flex; gap: 6px; }
.ak-cd-n span { display: grid; place-items: center; min-width: 58px; padding: 6px 8px; border-radius: 10px; background: rgba(12, 18, 36, 0.8); border: 1px solid rgba(242, 193, 78, 0.5); }
.ak-cd-n b { font: 800 1.5rem/1 Fraunces, Georgia, serif; color: var(--kin); }
.ak-cd-n small { font-size: 0.68rem; color: #b9c0d4; }
.ak-cd-done { font: 800 1.3rem var(--mincho); color: var(--kin); }
.ak-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.ak-cta a { display: inline-flex; align-items: center; gap: 6px; padding: 13px 20px; border-radius: 999px; font: 900 1rem/1 'Zen Kaku Gothic New', sans-serif; text-decoration: none; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3); color: #fff !important; backdrop-filter: blur(6px); }
.ak-cta a.go { background: linear-gradient(90deg, #e8590c, #c92a2a); border-color: transparent; box-shadow: 0 8px 26px rgba(201, 42, 42, 0.5); }
.ak-mascot { position: absolute; right: max(2vw, 10px); bottom: 14px; width: clamp(120px, 20vw, 230px); height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6)); animation: ak-bob 4s ease-in-out infinite; z-index: 0; }
@keyframes ak-bob { 50% { transform: translateY(-10px) rotate(-2deg); } }

/* 数字の帯 */
.ak-nums { width: min(1100px, 100%); margin: 0 auto; padding: 18px 16px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ak-nums div { padding: 14px 10px; border-radius: 16px; background: linear-gradient(160deg, rgba(24, 34, 62, 0.9), rgba(12, 18, 36, 0.9)); border: 1px solid rgba(242, 193, 78, 0.28); text-align: center; }
.ak-nums b { display: block; font: 800 clamp(1.5rem, 4.6vw, 2.2rem) / 1.1 Fraunces, Georgia, serif; color: var(--kin); }
.ak-nums small { color: #b9c0d4; font-size: 0.8rem; }

/* 原文主義の宣言 */
.ak-pledge { width: min(1100px, 100%); margin: 26px auto 0; padding: 0 16px; }
.ak-pledge-in { position: relative; overflow: hidden; border-radius: 26px; padding: clamp(22px, 4vw, 40px); background: radial-gradient(700px 300px at 100% 0%, rgba(201, 42, 42, 0.25), transparent 60%), linear-gradient(160deg, #f5efe0, #ebe1c8); color: #2a1f12; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5); }
.ak-pledge-in::after { content: '原文'; position: absolute; right: -10px; bottom: -40px; font: 800 9rem/1 var(--mincho); color: rgba(201, 42, 42, 0.07); writing-mode: vertical-rl; pointer-events: none; }
.ak-pledge .kicker { margin: 0; font: 800 0.8rem/1 Fraunces, Georgia, serif; letter-spacing: 0.22em; color: #c92a2a; }
.ak-pledge h2 { margin: 8px 0 6px; font: 800 clamp(1.6rem, 5vw, 2.6rem) / 1.3 var(--mincho); color: #1b1208 !important; }
.ak-pledge h2 span { color: #c92a2a; }
.ak-pledge .sub { margin: 0 0 18px; line-height: 1.9; color: #4a3a26; max-width: 46em; position: relative; z-index: 1; }
.ak-pl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; position: relative; z-index: 1; }
.ak-pl div { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(120, 80, 30, 0.2); }
.ak-pl b { display: block; font: 800 1.1rem/1.4 var(--mincho); margin-bottom: 4px; color: #1b1208; }
.ak-pl b span { margin-right: 6px; }
.ak-pl p { margin: 0; line-height: 1.8; color: #4a3a26; font-size: 0.92rem; }
.ak-pl-stats { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.ak-pl-stats span { padding: 6px 12px; border-radius: 999px; background: #1b2a4e; color: #fff; font-size: 0.85rem; font-weight: 700; }
.ak-pl-stats span b { color: var(--kin); }
.ak-cmp { margin-top: 18px; display: grid; gap: 8px; position: relative; z-index: 1; }
.ak-cmp p.h { margin: 0; font-weight: 900; color: #7a4a10; }
.ak-cmp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 14px; overflow: hidden; border: 1px solid rgba(120, 80, 30, 0.25); text-decoration: none; color: #2a1f12 !important; background: #fffdf6; }
.ak-cmp-row > span { padding: 12px 14px; line-height: 1.8; font-size: 0.95rem; }
.ak-cmp-row > span:first-child { font-family: var(--mincho); border-right: 1px dashed rgba(120, 80, 30, 0.3); }
.ak-cmp-row > span:last-child { font-family: Literata, Georgia, serif; }
.ak-cmp-row small { display: block; font: 700 0.72rem/1.4 'Zen Kaku Gothic New', sans-serif; color: #9a6a30; margin-bottom: 2px; }
.ak-cmp-row:hover { box-shadow: 0 0 0 2px #c92a2a; }

/* タブ（スマホでは横にスクロール。ページは横に揺れない） */
.ak-tabs { position: sticky; top: 0; z-index: 30; margin-top: 26px; background: rgba(8, 11, 22, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(242, 193, 78, 0.25); }
.ak-tabs-in { width: min(1100px, 100%); margin: 0 auto; display: flex; gap: 4px; overflow-x: auto; padding: 8px 12px; scrollbar-width: none; }
.ak-tabs-in::-webkit-scrollbar { display: none; }
.ak-tab { flex: none; font: 900 0.95rem/1 'Zen Kaku Gothic New', sans-serif; color: #c9d1e8; background: transparent; border: 1px solid transparent; border-radius: 999px; padding: 11px 16px; cursor: pointer; }
.ak-tab.on { color: #1b1208; background: linear-gradient(90deg, #f2c14e, #e8a33c); box-shadow: 0 4px 18px rgba(242, 193, 78, 0.35); }
.ak-js [data-ak-panel]:not(.on) { display: none; }
[data-ak-panel].on { animation: ak-fade 0.4s ease both; }
@keyframes ak-fade { from { opacity: 0; transform: translateY(10px); } }
.ak-sec { width: min(1100px, 100%); margin: 0 auto; padding: 30px 16px 10px; }
.ak-sec-h { margin-bottom: 16px; }
.ak-sec-h .kicker { font: 800 0.8rem/1 Fraunces, Georgia, serif; letter-spacing: 0.2em; color: var(--shu); margin: 0 0 6px; }
.ak-sec-h h2 { font: 800 clamp(1.5rem, 4.4vw, 2.2rem) / 1.3 var(--mincho); margin: 0 0 8px; }
.ak-sec-h p { color: #dcd6c6; margin: 0; line-height: 1.8; }

/* 本棚 */
.ak-shelf { margin-bottom: 26px; scroll-margin-top: 70px; }
.ak-shelf h3 { font: 800 1.25rem/1.4 var(--mincho); margin: 0 0 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ak-shelf h3 small { font: 700 0.8rem 'Zen Kaku Gothic New', sans-serif; color: var(--kin); }
.ak-shelf > p { margin: 0 0 10px; color: #b9c0d4; font-size: 0.9rem; line-height: 1.7; }
.ak-books { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 12px; }
.ak-books.clip > :nth-child(n + 7) { display: none; }
.ak-books.clip.open > :nth-child(n + 7) { display: grid; }
.ak-bk { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 14px; overflow: hidden; text-decoration: none; color: #f4efe4 !important; background: #141d33; border: 1px solid #2c3a5a; transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s; }
.ak-bk:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(242, 193, 78, 0.6); }
.ak-bk img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.ak-bk .ph { aspect-ratio: 16 / 9; display: grid; place-items: center; font-size: 2.4rem; background: linear-gradient(135deg, #1b2a4e, #3b1f2b); }
.ak-bk-in { padding: 10px 12px 12px; display: grid; gap: 4px; align-content: start; }
.ak-bk-t { font: 800 1.05rem/1.35 var(--mincho); }
.ak-bk-e { font: 600 0.82rem/1.3 Fraunces, Georgia, serif; color: #b9c0d4; }
.ak-bk-m { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 0.72rem; }
.ak-bk-m span { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; line-height: 1.4; white-space: nowrap; background: rgba(255, 255, 255, 0.08); }
.ak-bk-m .lv { background: var(--c, #2f9e44); color: #fff; font-weight: 900; }
.ak-bk-m .nw { background: #c92a2a; color: #fff; font-weight: 900; }
.ak-bk-m .gb { background: #f2c14e; color: #2b1300; font-weight: 900; }
.ak-bk-h { font-size: 0.8rem; color: #ddd8cb; line-height: 1.6; }
.ak-more { display: block; margin: 12px auto 0; font: 900 0.92rem 'Zen Kaku Gothic New', sans-serif; padding: 11px 22px; border-radius: 999px; border: 1px solid rgba(242, 193, 78, 0.5); background: rgba(242, 193, 78, 0.1); color: var(--kin); cursor: pointer; }
.ak-filter { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; }
.ak-filter a { padding: 8px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; text-decoration: none; background: rgba(255, 255, 255, 0.07); border: 1px solid #2c3a5a; }

/* トリビア：タップで答えが出る札 */
.ak-tvs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 12px; }
.ak-tvs.clip > :nth-child(n + 13) { display: none; }
.ak-tvs.clip.open > :nth-child(n + 13) { display: block; }
.ak-tv { position: relative; text-align: left; font: inherit; color: inherit; cursor: pointer; border-radius: 16px; padding: 16px; min-height: 150px; border: 1px solid #2c3a5a; background: linear-gradient(160deg, #18223c, #111829); transition: transform 0.3s, border-color 0.3s; }
.ak-tv:hover { transform: translateY(-3px); border-color: rgba(242, 193, 78, 0.6); }
.ak-tv .ic { font-size: 1.8rem; }
.ak-tv .tg { position: absolute; top: 12px; right: 12px; font-size: 0.7rem; font-weight: 900; padding: 3px 8px; border-radius: 999px; background: rgba(232, 89, 12, 0.2); color: #ffa94d; }
.ak-tv .q { display: block; margin: 6px 0; font: 800 1.05rem/1.5 var(--mincho); }
.ak-tv .a { display: none; color: #ddd8cb; line-height: 1.8; font-size: 0.9rem; }
.ak-tv .hint { color: var(--kin); font-size: 0.78rem; font-weight: 700; }
.ak-tv.flip { border-color: var(--kin); background: linear-gradient(160deg, #2a2412, #15131c); }
.ak-tv.flip .a { display: block; animation: ak-fade 0.35s ease both; }
.ak-tv.flip .hint { display: none; }

/* 年表 */
.ak-tl { position: relative; list-style: none; margin: 0; padding: 0 0 0 26px; }
.ak-tl::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(#f2c14e, #c92a2a 70%, #3b5bdb); }
.ak-tl > li { position: relative; padding: 0 0 22px; }
.ak-tl > li::before { content: ''; position: absolute; left: -24px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #0b0f1c; border: 3px solid var(--kin); }
.ak-tl .y { font: 800 1.3rem/1 Fraunces, Georgia, serif; color: var(--kin); }
.ak-tl .y small { font: 700 0.8rem 'Zen Kaku Gothic New', sans-serif; color: #b9c0d4; margin-left: 6px; }
.ak-tl h3 { margin: 4px 0; font: 800 1.1rem/1.5 var(--mincho); }
.ak-tl p { margin: 0 0 6px; color: #ddd8cb; line-height: 1.8; font-size: 0.92rem; }
.ak-tl .ws { display: flex; gap: 6px; flex-wrap: wrap; }
.ak-tl .ws a { font-size: 0.8rem; padding: 4px 10px; border-radius: 999px; background: rgba(242, 193, 78, 0.12); border: 1px solid rgba(242, 193, 78, 0.35); text-decoration: none; }

/* 芥川検定・作品診断 */
.ak-box { border-radius: 22px; padding: clamp(16px, 3vw, 26px); background: linear-gradient(160deg, rgba(24, 34, 62, 0.95), rgba(12, 18, 36, 0.95)); border: 1px solid rgba(242, 193, 78, 0.25); }
.kt-grades { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kt-grade { font: inherit; color: #fff; cursor: pointer; display: grid; gap: 4px; padding: 18px 10px; border-radius: 16px; border: 2px solid var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); }
.kt-grade b { font: 800 1.6rem/1 var(--mincho); }
.kt-grade small { color: #ddd8cb; font-size: 0.8rem; }
.kt-grade em { font-style: normal; font-size: 0.8rem; color: var(--kin); }
.kt-n { display: flex; gap: 8px; align-items: center; margin: 0 0 6px; color: #b9c0d4; font-size: 0.85rem; flex-wrap: wrap; }
.kt-n span { padding: 3px 10px; border-radius: 999px; background: var(--c); color: #fff; font-weight: 900; }
.kt-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.kt-bar i { display: block; height: 100%; background: linear-gradient(90deg, #f2c14e, #e8590c); transition: width 0.4s; }
.kt-q h3 { font: 800 clamp(1.1rem, 3.4vw, 1.35rem) / 1.6 var(--mincho); margin: 14px 0; }
.kt-cs { display: grid; gap: 8px; }
.kt-c { display: flex; gap: 10px; align-items: center; text-align: left; font: inherit; color: #fff; cursor: pointer; padding: 12px 14px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05); line-height: 1.5; }
.kt-c span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(242, 193, 78, 0.2); color: var(--kin); font-weight: 900; }
.kt-c:hover:not(:disabled) { border-color: var(--kin); }
.kt-c.ok { border-color: #51cf66; background: rgba(81, 207, 102, 0.18); }
.kt-c.ng { border-color: #ff6b6b; background: rgba(255, 107, 107, 0.14); }
.kt-ex { margin-top: 12px; padding: 14px; border-radius: 14px; background: rgba(242, 193, 78, 0.1); border: 1px dashed rgba(242, 193, 78, 0.45); }
.kt-ex p { margin: 0 0 10px; line-height: 1.8; }
.kt-res { text-align: center; }
.kt-cert { position: relative; margin: 8px auto 0; max-width: 420px; padding: 26px 20px; border-radius: 8px; background: linear-gradient(160deg, #f8f2e2, #eadfc3); color: #2a1f12; box-shadow: 0 0 0 6px #1b2a4e, 0 0 0 8px #f2c14e, 0 20px 50px rgba(0, 0, 0, 0.5); }
.kt-cert small { letter-spacing: 0.3em; color: #9a6a30; font-weight: 700; }
.kt-cert b { display: block; font: 800 1.6rem/1.4 var(--mincho); margin: 6px 0; }
.kt-sc { font: 800 3rem/1 Fraunces, Georgia, serif; margin: 6px 0; color: #c92a2a; }
.kt-sc small { font-size: 1rem; letter-spacing: 0; color: #4a3a26; }
.kt-stamp { position: absolute; right: 16px; top: 16px; margin: 0; width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; border: 3px solid #c92a2a; color: #c92a2a; font: 800 1.05rem var(--mincho); transform: rotate(-14deg); animation: ak-stamp 0.5s cubic-bezier(0.3, 1.6, 0.4, 1) 0.3s both; }
.kt-res:not(.pass) .kt-stamp { border-color: #868e96; color: #868e96; font-size: 0.85rem; }
@keyframes ak-stamp { from { opacity: 0; transform: scale(2.4) rotate(-14deg); } }
.kt-cert p { line-height: 1.8; }
.kt-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.page-ak .ak-btn { font: 900 0.95rem/1.2 'Zen Kaku Gothic New', sans-serif; color: #fff; cursor: pointer; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); }
.page-ak .ak-btn.main { background: linear-gradient(90deg, #e8590c, #c92a2a); border-color: transparent; }
.page-ak .ak-btn:disabled { opacity: 0.45; cursor: default; }
.dg-start { text-align: center; }
.dg-start p { line-height: 1.8; color: #ddd8cb; }
.dg-q h3, .dg-res h3 { font: 800 clamp(1.15rem, 3.6vw, 1.5rem) / 1.5 var(--mincho); margin: 6px 0 14px; }
.dg-n, .dg-k { margin: 0; color: var(--kin); font-weight: 900; }
.dg-cs { display: grid; gap: 8px; }
.dg-c { display: flex; gap: 12px; align-items: center; text-align: left; font: inherit; color: #fff; cursor: pointer; padding: 14px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05); }
.dg-c span { font-size: 1.5rem; }
.dg-c:hover { border-color: var(--kin); }
.dg-res { text-align: center; }
.dg-res > p { line-height: 1.8; color: #ddd8cb; }
.dg-ws { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0; text-align: left; }
.dg-ws a { display: grid; border-radius: 12px; overflow: hidden; text-decoration: none; background: #141d33; border: 1px solid #2c3a5a; }
.dg-ws img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.dg-ws span { padding: 8px 10px; display: grid; }
.dg-ws b { font: 800 0.95rem/1.4 var(--mincho); }
.dg-ws small { color: #b9c0d4; font-size: 0.75rem; }
.ak-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.ak-two h3 { font: 800 1.3rem var(--mincho); margin: 0 0 10px; }

/* 太宰とのつながり */
.ak-dazai { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px; border-radius: 20px; margin-top: 18px; background: linear-gradient(135deg, rgba(59, 91, 219, 0.2), rgba(201, 42, 42, 0.16)); border: 1px solid #2c3a5a; }
.ak-dazai h3 { margin: 0 0 6px; font: 800 1.2rem var(--mincho); }
.ak-dazai p { margin: 0 0 10px; line-height: 1.8; color: #ddd8cb; }
.ak-dazai .ws { display: flex; gap: 8px; flex-wrap: wrap; }
.ak-dazai .ws a { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); text-decoration: none; font-weight: 700; }
.ak-dazai img { width: 110px; height: auto; }

/* ゲーム：蜘蛛の糸（選択肢の札は下に） */
.sp-opts { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 45%), 1fr)); gap: 8px; background: linear-gradient(0deg, rgba(4, 6, 14, 0.85), rgba(4, 6, 14, 0)); }
.sp-o { display: flex; align-items: center; gap: 8px; justify-content: center; font: 900 clamp(1rem, 3.6vw, 1.2rem) / 1.3 'Zen Kaku Gothic New', sans-serif; color: #fff; padding: 14px 10px; border-radius: 16px; border: 2px solid rgba(255, 230, 180, 0.55); background: rgba(30, 20, 40, 0.75); backdrop-filter: blur(4px); cursor: pointer; box-shadow: 0 0 20px rgba(255, 220, 160, 0.15); min-height: 56px; }
.sp-o[lang='en'] { font-family: Fraunces, Georgia, serif; font-weight: 800; }
.sp-o kbd { font: 700 0.7rem system-ui; opacity: 0.6; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 5px; padding: 2px 5px; }
@media (hover: none) { .sp-o kbd { display: none; } }
.sp-o.ok { border-color: #8ce99a; background: rgba(81, 207, 102, 0.35); }
.sp-o.ng { border-color: #ff8787; background: rgba(255, 80, 80, 0.3); }
.sp-shout { grid-column: 1 / -1; justify-self: center; font: 700 0.75rem 'Zen Kaku Gothic New', sans-serif; color: rgba(255, 200, 200, 0.75); background: transparent; border: 1px dashed rgba(255, 150, 150, 0.4); border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.hh-up { font-weight: 900; color: #ffe8cc; }
.hh-up b { color: #f2c14e; font-size: 1.15rem; margin: 0 2px; }
.ak-prog i { background: linear-gradient(90deg, #ff6b6b, #ffd8a8, #fff3bf) !important; }
.ak-secret { margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; text-align: left; background: rgba(255, 107, 107, 0.12); border: 1px dashed rgba(255, 135, 135, 0.6); line-height: 1.8; font-size: 0.9rem; color: #ffe3e3; }
.ak-secret a { color: #ffd8a8; display: inline-block; margin-top: 4px; }
.ak-rank.r-X { background: radial-gradient(circle at 35% 30%, #ff8787, #862e9c); font-size: 3.2rem; }

/* ゲーム：トロッコ（語のタイルは下に） */
.hh-q.tk small { font-size: 0.95rem; color: #fff; font-weight: 900; }
.tk-slots { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.tk-slots i { font-style: normal; min-width: 30px; padding: 4px 8px; border-radius: 8px; font: 700 clamp(0.9rem, 3.2vw, 1.1rem) / 1.2 Fraunces, Georgia, serif; background: rgba(255, 255, 255, 0.08); border-bottom: 3px solid rgba(255, 255, 255, 0.35); }
.tk-slots i.got { background: rgba(242, 193, 78, 0.2); border-color: #f2c14e; color: #ffe8a8; }
.tk-slots i.now { border-color: #e8590c; animation: ak-blink 1s infinite; min-width: 40px; }
.tk-slots.done i { background: rgba(81, 207, 102, 0.25); border-color: #8ce99a; color: #fff; }
.tk-tiles { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 10px calc(12px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; background: linear-gradient(0deg, rgba(20, 10, 4, 0.85), rgba(20, 10, 4, 0)); }
.tk-t { font: 800 clamp(1rem, 3.8vw, 1.2rem) / 1 Fraunces, Georgia, serif; color: #2a1a08; padding: 13px 14px; border-radius: 12px; border: 0; cursor: pointer; background: linear-gradient(180deg, #fff3d6, #f2d49b); box-shadow: 0 4px 0 #a8742e, 0 8px 16px rgba(0, 0, 0, 0.4); min-width: 48px; }
.tk-t:active { transform: translateY(3px); box-shadow: 0 1px 0 #a8742e; }
.tk-t.used { visibility: hidden; }
.tk-t.hint { box-shadow: 0 4px 0 #a8742e, 0 0 0 3px #ffd43b, 0 0 22px #ffd43b; }
.tk-t.ng { background: linear-gradient(180deg, #ffc9c9, #ff8787); }
@keyframes ak-blink { 50% { background: rgba(232, 89, 12, 0.3); } }

/* ゲーム：藪の中 */
.yb-set { margin: -4px 0 12px; color: #ddd8cb; font-size: 0.9rem; }
.yb-ws { display: grid; gap: 10px; }
.yb-w { padding: 12px 14px; border-radius: 6px 16px 8px 14px; color: #2e2414; background: linear-gradient(135deg, #fbf3dc, #eedcae); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); transition: box-shadow 0.3s, transform 0.3s; animation: ak-fade 0.4s ease var(--d) both; }
.yb-w.talk { box-shadow: 0 0 0 3px #f2c14e, 0 0 26px rgba(242, 193, 78, 0.7); transform: scale(1.015); }
.yb-who { display: flex; align-items: center; gap: 8px; }
.yb-who span { font-size: 1.4rem; }
.yb-who b { font: 800 1rem 'Shippori Mincho B1', serif; }
.yb-who .es-say { position: static; margin-left: auto; }
.yb-w p { margin: 6px 0 0; font: 400 clamp(1rem, 3.4vw, 1.12rem) / 1.7 Literata, Georgia, serif; }
.yb-why { margin-top: 14px; padding: 14px; border-radius: 14px; background: rgba(81, 207, 102, 0.12); border: 1px solid rgba(140, 233, 154, 0.5); text-align: left; animation: ak-fade 0.4s ease both; }
.yb-why p { margin: 0 0 8px; line-height: 1.8; }
.yb-why b { color: #8ce99a; margin-right: 6px; }
.yb-why details { margin-bottom: 10px; color: #ddd8cb; font-size: 0.9rem; }

/* ゲーム：書き出しカルタ */
.kr-yomi { position: relative; justify-self: center; width: min(92vw, 640px); margin-top: 4px; padding: 12px 44px 12px 16px; border-radius: 10px; background: linear-gradient(135deg, #fbf3dc, #eedcae); color: #2e2414; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); pointer-events: auto; text-shadow: none; }
.kr-yomi .hh-say { position: absolute; right: 8px; top: 8px; background: rgba(80, 45, 10, 0.15); color: #2e2414; }
.kr-ja { margin: 0; font: 700 clamp(1.05rem, 4vw, 1.35rem) / 1.6 'Shippori Mincho B1', serif; min-height: 1.6em; }
.kr-en { margin: 4px 0 0; font: 400 clamp(0.92rem, 3.2vw, 1.05rem) / 1.6 Literata, Georgia, serif; color: #5a4626; }
.kr-en.late { opacity: 0; transition: opacity 0.4s; }
.kr-field { position: absolute; left: 0; right: 0; bottom: 0; top: 170px; padding: 10px 10px calc(12px + env(safe-area-inset-bottom)); display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; overflow-y: auto; }
.kr-field.n6, .kr-field.n8 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kr-field.n10 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 760px) { .kr-field.n8, .kr-field.n10 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .kr-field.n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .kr-field { width: min(980px, 100%); margin: 0 auto; } }
.kr-c { position: relative; display: grid; grid-template-rows: auto 1fr; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer; border: 3px solid #f2e2b8; background: #fbf3dc; color: #2e2414; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45); font: inherit; transition: transform 0.2s; }
.kr-c img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.kr-c b { padding: 6px 4px; font: 800 clamp(0.8rem, 2.8vw, 1rem) / 1.3 'Shippori Mincho B1', serif; display: grid; place-items: center; }
.kr-c.noimg { min-height: 90px; }
.kr-c.noimg b { font-size: clamp(1rem, 3.6vw, 1.3rem); writing-mode: vertical-rl; margin: 0 auto; padding: 10px 4px; }
.kr-c.got { animation: kr-fly 0.8s cubic-bezier(0.5, 0, 0.75, 0) forwards; }
@keyframes kr-fly { to { transform: translate(40vw, -60vh) rotate(40deg) scale(0.6); opacity: 0; } }
.kr-c.ng { animation: kr-shake 0.35s; border-color: #ff8787; }
@keyframes kr-shake { 25% { transform: translateX(-6px) rotate(-2deg); } 75% { transform: translateX(6px) rotate(2deg); } }
.kr-c.empty { visibility: hidden; }
.kr-list li { align-items: flex-start !important; }
.kr-list span { display: grid; gap: 2px; }
.kr-list a { color: #ffe8a8; }
.kr-gb { font-family: 'Shippori Mincho B1', serif; color: #f4efe4 !important; }

@media (max-width: 760px) {
  .ak-hero { min-height: 0; }
  .ak-hero-in { padding: 64px 16px 26px; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ak-tate { writing-mode: horizontal-tb; font-size: clamp(2rem, 9vw, 2.6rem); letter-spacing: 0.04em; padding-right: 86px; }
  .ak-tate small { margin: 4px 0 0; letter-spacing: 0.15em; }
  .ak-mascot { top: 60px; bottom: auto; width: 90px; }
  .ak-hero-txt h1 { font-size: clamp(1.15rem, 5.4vw, 1.5rem); }
  .ak-seal { width: 58px; height: 58px; font-size: 0.85rem; }
  .ak-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ak-pl { grid-template-columns: minmax(0, 1fr); }
  .ak-cmp-row { grid-template-columns: minmax(0, 1fr); }
  .ak-cmp-row > span:first-child { border-right: 0; border-bottom: 1px dashed rgba(120, 80, 30, 0.3); }
  .kt-grades { grid-template-columns: minmax(0, 1fr); }
  .dg-ws { grid-template-columns: minmax(0, 1fr); }
  .ak-two { grid-template-columns: minmax(0, 1fr); }
  .ak-dazai { grid-template-columns: minmax(0, 1fr); }
  .ak-dazai img { display: none; }
  .ak-cta a { flex: 1 1 auto; justify-content: center; }
  .kr-field { top: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  .ak-hero-img, .ak-mascot, [data-ak-panel].on, .kt-stamp, .yb-w, .kr-c.got, .tk-slots i.now { animation: none !important; }
}
/* 照合の記録 */
.ak-fix { margin-top: 18px; position: relative; z-index: 1; }
.ak-fix p.h { margin: 0 0 8px; font-weight: 900; color: #7a4a10; }
.ak-fix ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 8px; }
.ak-fix li { display: grid; gap: 3px; padding: 12px 14px; border-radius: 12px; background: #fffdf6; border: 1px solid rgba(120, 80, 30, 0.25); font-size: 0.9rem; line-height: 1.6; }
.ak-fix .gb { font-family: var(--mincho); color: #2a1f12; }
.ak-fix .bf { font-family: Literata, Georgia, serif; }
.ak-fix s { color: #c92a2a; }
.ak-fix ins { text-decoration: none; color: #2b8a3e; font-weight: 700; }
.ak-fix small { color: #6b5a40; }
