/* Anime Trip Guide
   明るい画面で、公式のキービジュアルが主役。目立たせるのは予約受付のチケット（.stub）だけ。 */
:root {
  --bg: #f3f5fa;
  --paper: #ffffff;
  --ink: #1b2140;
  --muted: #5b6385;
  --line: #dfe3ee;
  --pink: #ff2e74;
  --pink-ink: #d0105a;
  --ticket: #ffd93b;
  --ticket-ink: #2d2400;
  --k-popup: #ff2e74;
  --k-cafe: #f26a00;
  --k-exhibition: #6e4bff;
  --k-event: #0b8f80;
  --k-shop: #2f6bff;
  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", "PingFang TC", "Noto Sans TC", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", "PingFang TC", "Noto Sans TC", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--text); }
img { max-width: 100%; }
a { color: var(--pink-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--k-shop); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.2; letter-spacing: -0.01em; }
h2 { font-size: 1.45rem; font-weight: 750; margin: 0 0 16px; }
.muted, .empty { color: var(--muted); }
.n { margin-left: 6px; color: var(--muted); font-size: 0.85em; font-weight: 500; }

/* ヘッダー */
.top { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.brand-mark { width: 26px; height: 18px; border-radius: 4px; background: var(--ticket); position: relative; box-shadow: inset 0 0 0 2px var(--ink); }
.brand-mark::after { content: ""; position: absolute; left: 8px; top: 3px; bottom: 3px; border-left: 2px dashed var(--ink); }
.langs { display: flex; gap: 4px; font-size: 14px; }
.langs a, .langs span { padding: 4px 10px; border-radius: 999px; text-decoration: none; color: var(--ink); }
.langs a:hover { background: var(--bg); }
.langs span { background: var(--ink); color: #fff; }

/* 冒頭 */
.hero { background: var(--paper); padding: 30px 0 22px; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin: 0 0 10px; max-width: 22em; }
.hero .lead { color: var(--muted); max-width: 40em; margin: 0 0 20px; font-size: 1.05rem; }
.hero-small { padding: 28px 0 20px; }
.hero-small h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { background: var(--bg); color: var(--ink); padding: 6px 12px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; border: 1px solid var(--line); }
.chips a:hover { border-color: var(--ink); }

.hero-work-in { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.hero-pic { border-radius: 14px; overflow: hidden; background: var(--bg); aspect-ratio: 1200 / 630; }
.hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 860px) { .hero-work-in { grid-template-columns: 1.1fr 1fr; } }
.subscribe { margin-top: 16px; }
.subscribe p { color: var(--muted); font-size: 14px; margin: 10px 0 0; max-width: 34em; }

/* 区切り */
.sec { padding: 32px 0 8px; }
.sec-past { opacity: 0.85; }

/* 予約受付のチケット */
.sec-soon { background: var(--ink); color: #fff; padding: 28px 0 32px; }
.sec-soon h2 { color: #fff; }
.stubs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.stub { display: flex; background: var(--ticket); color: var(--ticket-ink); border-radius: 10px; position: relative; scroll-snap-align: start; min-height: 112px; }
.stub-date { flex: 0 0 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 2px dashed rgba(45, 36, 0, 0.45); padding: 10px 4px; }
.stub::before, .stub::after { content: ""; position: absolute; left: 67px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); }
.stub::before { top: -9px; }
.stub::after { bottom: -9px; }
.stub-mon { font-size: 13px; font-weight: 700; }
.stub-day { font-family: var(--display); font-size: 2.2rem; font-weight: 800; line-height: 1; }
.stub-body { padding: 12px 14px; min-width: 0; }
.stub-label { margin: 0; font-size: 13px; font-weight: 700; }
.stub-title { display: block; color: var(--ticket-ink); font-weight: 700; text-decoration: none; margin: 2px 0 4px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.stub-title:hover { text-decoration: underline; }
.stub-time { margin: 0; font-size: 14px; }
.stub-time small, .ev-book small, .stub-after small { font-size: 0.85em; opacity: 0.8; }
.local { display: block; font-size: 0.9em; opacity: 0.8; }
.col-side .stub { margin-bottom: 8px; }
.stub.is-past { opacity: 0.5; }
.col-side .stub::before, .col-side .stub::after { background: var(--paper); }

/* 催しのカード */
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px 18px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ev { min-width: 0; }
.ev-link { color: var(--ink); text-decoration: none; display: block; }
.ev-pic { position: relative; aspect-ratio: 1200 / 630; border-radius: 12px; overflow: hidden; background: #e8ebf3; }
.ev-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-img.contain { object-fit: contain; background: #fff; }
.noimg { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(135deg, #e8ebf3 0 12px, #eef1f7 12px 24px); }
.ev-pic .kind { position: absolute; left: 10px; bottom: 10px; }
.ev-title { font-size: 1.02rem; font-weight: 700; margin: 10px 0 4px; line-height: 1.35; }
.ev-link:hover .ev-title { color: var(--pink-ink); }
.ev-when { margin: 0; font-weight: 600; font-size: 14px; }
.ev-where, .ev-entry { margin: 0; color: var(--muted); font-size: 14px; }
.ev-note { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.ev-book { margin: 8px 0 0; display: inline-block; background: var(--ticket); color: var(--ticket-ink); font-size: 13px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.is-ended .ev-pic { filter: grayscale(0.8); opacity: 0.75; }
.ended { color: var(--muted); font-weight: 700; }

.kind { display: inline-block; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--ink); }
.k-popup_store { background: var(--k-popup); }
.k-collab_cafe { background: var(--k-cafe); }
.k-exhibition { background: var(--k-exhibition); }
.k-collab_event { background: var(--k-event); }
.k-official_shop { background: var(--k-shop); }

/* 催しのページ */
.event-pic { position: relative; background: #11142a; overflow: hidden; max-height: 520px; display: flex; justify-content: center; }
.event-bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(24px) saturate(1.2); opacity: 0.55; }
.event-img { position: relative; max-height: 520px; width: auto; max-width: 100%; display: block; }
.event-in { padding-top: 24px; padding-bottom: 24px; }
.event h1 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 800; margin: 8px 0 12px; max-width: 26em; }
.crumbs { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; }
.entry { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 600; }
.event .lead { font-size: 1.08rem; max-width: 42em; }
.cols { display: grid; gap: 28px; grid-template-columns: 1fr; margin-top: 20px; }
@media (min-width: 900px) { .cols { grid-template-columns: minmax(0, 1fr) 360px; } }
.col-main h2, .col-side h2 { font-size: 1.15rem; margin: 24px 0 8px; }
.col-main p { max-width: 42em; }
.col-side { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px 16px; align-self: start; }
@media (min-width: 900px) { .col-side { position: sticky; top: 72px; } }
.stub-after { font-size: 13px; margin: 0 0 12px; color: var(--muted); }
.platform { font-weight: 600; color: var(--ink); }
.plain { padding-left: 18px; margin: 8px 0; }
.plain li { margin-bottom: 8px; }
.sessions { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.sessions th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 10px 12px; background: #f8f9fc; }
.sessions td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.sessions small { display: block; color: var(--muted); font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.button { display: inline-block; background: var(--pink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.button:hover { background: var(--pink-ink); }
.button.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.small { font-size: 13px; color: var(--muted); margin-top: 28px; }

/* 作品一覧 */
.works { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.works a { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.works a:hover { border-color: var(--ink); }
.prose { max-width: 42em; }

.foot { margin-top: 48px; padding: 24px 0 40px; border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 14px; }
.foot a { margin-right: 16px; }

@media (max-width: 560px) {
  .hero { padding: 28px 0 20px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .ev-title { font-size: 0.95rem; }
  .ev-entry { display: none; }
  .stubs { grid-auto-columns: 84%; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
.sec-lead { color: var(--muted); margin: -8px 0 16px; max-width: 42em; }
.more { margin: 18px 0 0; }
.facts th { width: 9em; text-align: left; vertical-align: top; background: #f8f9fc; border-top: 1px solid var(--line); }
.facts tr:first-child th, .facts tr:first-child td { border-top: 0; }

/* 上部の入口 */
.mainnav { display: flex; gap: 4px; width: 100%; order: 3; margin: 0 -8px 6px; overflow-x: auto; }
.mainnav a { padding: 6px 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; border-radius: 8px; white-space: nowrap; }
.mainnav a:hover { background: var(--bg); }
@media (min-width: 760px) { .mainnav { width: auto; order: 0; margin: 0 auto 0 24px; } }

/* 作品のタイル（初めての人の入口） */
.hub-head { font-size: 1.15rem; margin: 26px 0 12px; }
.tiles { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.tile { display: block; text-decoration: none; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; height: 100%; }
.tile:hover { border-color: var(--pink); }
.tile-pic { display: block; aspect-ratio: 4 / 3; background: #e8ebf3; }
.tile-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-name { display: block; font-family: var(--display); font-weight: 750; font-size: 1.05rem; line-height: 1.25; padding: 10px 12px 2px; }
.tile-n { display: block; color: var(--muted); font-size: 13px; padding: 0 12px 12px; }
.hero .more { margin: 14px 0 0; display: flex; gap: 18px; font-weight: 600; }
.chips-tight { margin: -4px 0 18px; }
.new { position: absolute; right: 10px; top: 10px; background: var(--ticket); color: var(--ticket-ink); font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 6px; }

/* ---- 都市ガイド（2026-11-09） ---- */
.city-tiles { margin-top: 4px; }
.city-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: 0 0 22px; }
.city-pic { max-width: 1120px; margin: 0 auto; aspect-ratio: 21 / 9; max-height: 420px; overflow: hidden; background: #e8ebf3; }
.city-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 1152px) { .city-pic { border-radius: 0 0 18px 18px; } }
.city-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin: 20px 0 10px; }
.city-hero .lead { color: var(--muted); max-width: 42em; margin: 0 0 10px; font-size: 1.05rem; }
.photo-credit { font-size: 12px; color: var(--muted); margin: 0 0 16px; }
.photo-credit a { color: inherit; }
.toc a .n, .chips a .n { margin-left: 6px; color: var(--muted); font-weight: 500; }
.district h2 { margin-bottom: 6px; }
.district-text { max-width: 46em; margin: 0 0 16px; line-height: 1.65; }
.more-spots { margin: 14px 0 0; }
.more-spots summary { cursor: pointer; font-weight: 700; color: var(--pink-ink); padding: 8px 0; }
.more-spots[open] summary { margin-bottom: 12px; }
.ahead { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ahead li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--ticket); border-radius: 10px; padding: 10px 14px; }
.ahead a { font-weight: 700; color: var(--ink); }
.ahead span { color: var(--muted); font-size: 14px; }

/* Cookie の同意（EU 向け。2026-11-10） */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 560px; margin: 0 auto; background: var(--paper); color: var(--ink); border-radius: 14px; padding: 14px 16px; box-shadow: 0 10px 30px rgba(27, 33, 64, 0.25), inset 0 0 0 1px var(--line); font-size: 0.92rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 10px; }
.consent-buttons { display: flex; gap: 8px; justify-content: flex-end; margin: 0 !important; }
.consent .button { border: 0; font: inherit; font-weight: 700; cursor: pointer; }

/* 姉妹サイトへのリンク（2026-11-10） */
.sister { padding-top: 8px; padding-bottom: 8px; }
.sister-link { margin: 0; }
.sister-link a { font-weight: 700; }
.foot .sisters a { display: inline-block; margin: 0 16px 6px 0; }
