:root {
  --bg: #fbf9f7;
  --surface: #ffffff;
  --surface-2: #f4f1f6;
  --text: #1d1a2b;
  --body-2: #3d3950;
  --muted: #6d6880;
  --line: #e9e4ee;
  --accent: #e0356f;        /* ピンク：リンク・ボタン */
  --accent-strong: #c9225b;
  --accent-soft: #fdeaf1;
  --violet: #6a4cf0;        /* 紫：見出しの英字・補助 */
  --violet-soft: #efebff;
  --sky: #2f9be8;
  --ok: #1f9d6b;
  --ok-soft: #e5f6ee;
  --warn: #c77700;
  --warn-soft: #fff4e0;
  --glow: linear-gradient(90deg, #ff5d8f 0%, #8a5cff 55%, #3fb6ff 100%);
  --radius: 16px;
  --maxw: 1040px;
  --display: "Outfit", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --jp-display: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  line-height: 1.85;
  font-size: 16px;
  overflow-wrap: anywhere;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
::selection { background: var(--accent); color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 249, 247, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  max-width: var(--maxw); margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-family: var(--jp-display); font-weight: 900; font-size: 17px; letter-spacing: .04em;
}
.logo .mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; margin-left: auto; }
.nav a {
  color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  padding: 6px 10px; border-radius: 999px;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: #17132b;
  color: #fff;
}
/* ペンライトの光のような帯 */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(520px 320px at 88% 110%, rgba(255, 93, 143, .55), transparent 70%),
    radial-gradient(460px 300px at 60% 120%, rgba(138, 92, 255, .5), transparent 70%),
    radial-gradient(420px 260px at 20% 130%, rgba(63, 182, 255, .45), transparent 70%);
}
.hero .beams { position: absolute; right: -40px; top: 0; bottom: 0; width: min(46%, 460px); opacity: .9; pointer-events: none; }
.hero .inner { max-width: var(--maxw); margin: 0 auto; padding: 72px 16px 60px; position: relative; z-index: 1; }
.hero .eyebrow { color: #ffb3cb; }
.hero .eyebrow::before { background: #ffb3cb; }
.hero h1 {
  font-family: var(--jp-display); font-weight: 900;
  font-size: clamp(30px, 6.2vw, 54px); line-height: 1.3; margin: 0 0 18px; letter-spacing: .02em;
}
.hero h1 .glow {
  background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { color: #d9d4ea; max-width: 34em; margin: 0; font-size: 17px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }

/* 下層ページの見出し帯 */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--glow); }
.page-head .inner { max-width: var(--maxw); margin: 0 auto; padding: 36px 16px 34px; }
.page-head h1 {
  font-family: var(--jp-display); font-weight: 900;
  font-size: clamp(26px, 5vw, 40px); line-height: 1.35; margin: 0 0 12px; letter-spacing: .02em;
}
.page-head .lead { color: var(--body-2); margin: 0; max-width: 40em; }
.page-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; color: var(--body-2);
  background: var(--surface-2); border-radius: 999px; padding: 3px 10px;
}
.chip.pink { background: var(--accent-soft); color: var(--accent-strong); }
.chip.violet { background: var(--violet-soft); color: var(--violet); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 600; letter-spacing: .24em; font-size: 12px;
  color: var(--violet); text-transform: uppercase; margin: 0 0 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--violet); border-radius: 2px; }

.breadcrumb { font-size: 12px; color: var(--muted); margin: 0 0 14px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }

/* ---------- layout ---------- */
main { max-width: var(--maxw); margin: 0 auto; padding: 28px 16px 72px; }
main.narrow > * { max-width: 760px; }
h2 {
  font-family: var(--jp-display); font-weight: 900;
  font-size: clamp(21px, 3.6vw, 27px); line-height: 1.45; margin: 64px 0 18px; letter-spacing: .03em;
  scroll-margin-top: 80px;
}
h2 .en {
  display: block; font-family: var(--display); font-size: 12px; letter-spacing: .26em; color: var(--violet);
  font-weight: 600; text-transform: uppercase; margin-bottom: 2px;
}
h3 { font-size: 17px; margin: 28px 0 8px; font-weight: 700; letter-spacing: .02em; scroll-margin-top: 80px; }
p { margin: 0 0 14px; }
ul, ol { padding-left: 1.4em; margin: 0 0 14px; }
li { margin-bottom: 4px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.card h3 { margin-top: 0; }
.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.link-card {
  display: block; text-decoration: none; color: var(--text);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.link-card:hover { border-color: #f2b3c8; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(224, 53, 111, .08); }
.link-card .num {
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .12em; color: var(--accent);
}
.link-card h3 { margin: 4px 0 6px; font-size: 17px; }
.link-card p { color: var(--muted); font-size: 14px; margin: 0; }
.link-card .go { display: inline-block; margin-top: 10px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .12em; color: var(--accent); }

/* 会場カード */
.venue-card { display: flex; flex-direction: column; gap: 4px; }
.venue-card .area { font-size: 12px; font-weight: 700; color: var(--violet); letter-spacing: .06em; }
.venue-card h3 { margin: 0; font-size: 18px; }
.venue-card .cap { font-size: 13px; color: var(--muted); }
.venue-card .st { font-size: 13px; color: var(--body-2); margin-top: 4px; }
.area-title { font-size: 15px; font-weight: 700; margin: 30px 0 10px; display: flex; align-items: center; gap: 8px; }
.area-title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--glow); }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--accent-strong); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .5); }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.btn.sub { background: var(--surface); color: var(--accent); border: 1px solid #f2b3c8; }
.btn.sub:hover { background: var(--accent-soft); }

/* 目次 */
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 8px 0 8px; }
.toc p { font-weight: 700; font-size: 14px; margin: 0 0 6px; }
.toc ol { margin: 0; font-size: 14px; columns: 2 220px; column-gap: 28px; }
.toc a { color: var(--body-2); text-decoration: none; }
.toc a:hover { color: var(--accent); }

/* 要点・注意 */
.point { border-radius: 12px; padding: 14px 16px; margin: 16px 0; font-size: 15px; background: var(--violet-soft); }
.point b.label { display: block; font-size: 13px; color: var(--violet); margin-bottom: 2px; }
.point.tip { background: var(--ok-soft); }
.point.tip b.label { color: var(--ok); }
.point.warn { background: var(--warn-soft); }
.point.warn b.label { color: var(--warn); }
.point p:last-child, .point ul:last-child { margin-bottom: 0; }

/* 表 */
.table-wrap { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--surface-2); font-size: 13px; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
td.num { font-family: var(--display); font-weight: 600; white-space: nowrap; }

/* 基本情報（dl） */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0 0 16px; }
.facts dt, .facts dd { margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { background: var(--surface-2); font-weight: 700; color: var(--body-2); }
.facts dt:last-of-type, .facts dd:last-of-type { border-bottom: 0; }

/* 最寄り駅 */
.stations { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stations li { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.stations .st-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.stations .st-head b { font-size: 17px; }
.stations .walk { flex: none; font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--accent-strong); background: var(--accent-soft); border-radius: 999px; padding: 1px 10px; }
.stations .lines { font-size: 13px; color: var(--violet); font-weight: 700; margin: 2px 0 6px; }
.stations .note { font-size: 14px; color: var(--body-2); margin: 0; }

/* 時系列 */
.steps { list-style: none; padding: 0; margin: 0 0 16px; counter-reset: s; }
.steps li { position: relative; padding: 0 0 18px 46px; margin: 0; }
.steps li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--glow); color: #fff; font-family: var(--display); font-weight: 700; display: grid; place-items: center; font-size: 14px;
}
.steps li::after { content: ""; position: absolute; left: 14px; top: 34px; bottom: 4px; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps b { display: block; }

/* ---------- ツール ---------- */
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 10px 30px rgba(29, 26, 43, .05); }
.tool .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 14px; }
.tool label { display: block; font-size: 13px; font-weight: 700; color: var(--body-2); margin-bottom: 4px; }
.tool select, .tool input[type="time"], .tool input[type="text"], .tool input[type="date"], .tool input[type="number"] {
  width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid #d9d2e2; background: #fff; color: var(--text);
}
.tool select:focus, .tool input:focus { outline: 2px solid var(--violet); outline-offset: 1px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { margin: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid #d9d2e2; background: #fff;
  font-size: 14px; font-weight: 700; color: var(--body-2); cursor: pointer;
}
.seg input:checked + span { background: var(--text); border-color: var(--text); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }

.result { margin-top: 18px; border-radius: 16px; background: #17132b; color: #fff; padding: 20px; position: relative; overflow: hidden; }
.result::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--glow); }
.result .big { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 9vw, 56px); line-height: 1.05; letter-spacing: .02em; }
.result .cap { font-size: 12px; letter-spacing: .14em; color: #c9c2e0; font-weight: 700; }
.result .timeline { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; }
.result .timeline li { display: flex; gap: 12px; align-items: baseline; margin: 0; font-size: 14px; color: #e4def5; }
.result .timeline time { font-family: var(--display); font-weight: 700; min-width: 3.4em; color: #fff; font-size: 16px; }
.result .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.result .note { font-size: 12px; color: #b9b1d3; margin: 12px 0 0; }

/* チェックリスト */
.check-group { margin-bottom: 22px; }
.check-group h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.check-group h3 small { font-family: var(--display); color: var(--muted); font-weight: 600; font-size: 13px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.checks li { margin: 0; }
.checks label {
  display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px; cursor: pointer; font-size: 15px;
}
.checks input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--accent); flex: none; }
.checks .sub { display: block; font-size: 12px; color: var(--muted); }
.checks input:checked ~ span { color: var(--muted); text-decoration: line-through; }
.progress { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin: 6px 0 18px; }
.progress i { display: block; height: 100%; width: 0; background: var(--glow); transition: width .3s; }

/* ---------- 広告枠 ---------- */
.ad-slot { display: none; margin: 32px 0; }
.ad-slot.filled { display: block; }
.ad-title { font-weight: 700; font-size: 15px; margin: 0 0 10px; }
.ad-title::after { content: "PR"; font-size: 10px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; margin-left: 8px; vertical-align: 2px; }
.ad-body { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ad-item {
  display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
}
.ad-item:hover { border-color: #f2b3c8; }
.ad-item img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 6px; background: var(--surface-2); }
.ad-name { font-weight: 700; font-size: 15px; }
.ad-desc { font-size: 13px; color: var(--muted); }
.ad-go { font-size: 13px; font-weight: 700; color: var(--accent); margin-top: 6px; }
.pr-notice { font-size: 12px; color: var(--muted); margin: 0 0 12px; }

/* ---------- footer ---------- */
.site-footer { background: #17132b; color: #cfc8e4; font-size: 13px; }
.site-footer .inner { max-width: var(--maxw); margin: 0 auto; padding: 36px 16px 40px; }
.site-footer a { color: #fff; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 14px; }
.site-footer .links a { text-decoration: none; }
.site-footer .links a:hover { text-decoration: underline; }
.site-footer p { margin: 0 0 6px; }
.site-footer .brand { font-family: var(--jp-display); font-weight: 900; color: #fff; font-size: 16px; margin-bottom: 10px; }

.sources { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 48px; padding-top: 16px; }
.sources ul { padding-left: 1.2em; }
.updated { font-size: 12px; color: var(--muted); }

@media (max-width: 640px) {
  .nav { margin-left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .nav a { white-space: nowrap; }
  .hero .inner { padding: 52px 16px 44px; }
  .hero .beams { width: 70%; opacity: .45; }
  h2 { margin-top: 52px; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 2px; }
  .facts dd { padding-top: 2px; }
}
