/* ==========================================================
   とやま城址 秋まつり 2026（デモサイト）
   切り紙（ペーパーカット）風デザイン
   ・ベタ塗りの背景に文字を直接のせる（カード・枠線・影は使わない）
   ・写真は不ぞろいな多角形で切り抜く
   ・文字サイズは最小 16px（1rem）を下回らないこと
   ========================================================== */

:root {
  --cream: #fefef3;
  --paper: #fffdf0;
  --brown: #5a3a22;
  --brown-soft: #7a4b1e;
  --yellow: #fff46d;
  --yellow-pale: #fff79d;

  --orange: #c4520a;
  --pink: #c2405c;
  --green: #2e8558;
  --blue: #1a7aa8;
  --wood: #8f5a34;
  --red: #c5371c;
  --teal: #1f6f73;
  --navy: #1c284f;

  --c-food: #c2405c;
  --c-stage: #33407a;
  --c-exp: #2e8558;
  --c-kids: #1a7aa8;
  --c-mall: #8f5a34;

  --display: "Mochiy Pop One", "Zen Maru Gothic", sans-serif;

  /* 紙を切ったような形 */
  --cut-a: polygon(3% 6%, 38% 0, 97% 4%, 100% 58%, 94% 97%, 52% 100%, 5% 95%, 0 45%);
  --cut-b: polygon(0 8%, 45% 2%, 100% 0, 96% 50%, 100% 94%, 60% 100%, 6% 96%, 3% 40%);
  --cut-c: polygon(6% 0, 60% 4%, 96% 1%, 100% 40%, 95% 100%, 40% 96%, 0 100%, 4% 55%);
  --cut-d: polygon(2% 3%, 55% 0, 98% 8%, 95% 62%, 100% 96%, 48% 100%, 3% 93%, 0 50%);
  --cut-chip: polygon(2% 12%, 98% 0, 100% 86%, 3% 100%);
  --cut-chip2: polygon(0 0, 97% 9%, 100% 100%, 2% 90%);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #fff;
  background: var(--orange);
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
}
/* 対応ブラウザでは、ことばの切れ目（文節）で折り返す */
@supports (word-break: auto-phrase) {
  body { word-break: auto-phrase; }
}
p, dd, li, summary { text-wrap: pretty; }
h1, h2, h3, h4, .head__copy, .lead__catch, .final__title, .day__title, .subhead { text-wrap: balance; }
/* 数字と単位・日付と曜日など、途中で切りたくない短いまとまり */
.nb { white-space: nowrap; }

img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
a { color: inherit; text-underline-offset: .3em; }
button { font: inherit; color: inherit; cursor: pointer; }
small { font-size: 1rem; }
strong { font-weight: 900; color: var(--yellow); }

:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #1c284f; }

.skip { position: absolute; left: -999px; top: 0; background: var(--brown); color: #fff; padding: 12px 16px; z-index: 300; }
.skip:focus { left: 8px; top: 8px; }

.wrap { width: min(90%, 1180px); margin-inline: auto; position: relative; }
.wrap--narrow { width: min(90%, 820px); }
.pc-only { display: none; }

/* ---------- 切り紙の写真枠 ---------- */
.ph { position: relative; aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; }
.ph--a { clip-path: var(--cut-a); }
.ph--b { clip-path: var(--cut-b); }
.ph--c { clip-path: var(--cut-c); }
.ph--d { clip-path: var(--cut-d); }
.ph img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.ph figcaption {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 12%;
  text-align: center; font-size: 1rem; font-weight: 700; line-height: 1.5; color: #b79a6c;
}
.ph--wide { aspect-ratio: 16 / 7; width: min(100%, 980px); margin: 0 auto 40px; }

/* 写真の角にのるキャラクター */
.chara { position: absolute; top: 0; width: 28%; max-width: 150px; aspect-ratio: 1; background: var(--paper); clip-path: polygon(8% 4%, 70% 0, 100% 30%, 92% 88%, 40% 100%, 0 70%); z-index: 2; transform: translateY(-18%); }
.chara--l { left: -4%; }
.chara--r { right: -4%; }
.chara img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 切り紙の文字 ---------- */
.cut { font-family: var(--display); font-weight: 400; letter-spacing: .02em; }
.cut .w { display: inline-block; white-space: nowrap; }
.cut i { display: inline-block; font-style: normal; transform: rotate(var(--r, 0deg)) translateY(var(--y, 0)); }

/* ---------- ボタン ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px 34px;
  border: 0; border-radius: 999px; background: var(--yellow-pale); color: var(--brown);
  font-weight: 900; font-size: 1.125rem; line-height: 1.3; text-decoration: none; text-align: center;
  transition: transform .4s;
}
.pill:hover { transform: scale(1.04); }
.pill--big { width: min(100%, 460px); min-height: 76px; padding-inline: 16px; font-size: clamp(1.125rem, 5vw, 1.375rem); white-space: nowrap; }

.cta { margin-top: 44px; display: grid; justify-items: center; gap: 14px; text-align: center; font-weight: 700; }

.maplink {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 18px; padding: 4px 22px 4px 6px;
  border: 2px solid #fff; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.4; text-decoration: none;
  transition: transform .4s;
}
.maplink:hover { transform: scale(1.04); }
.maplink b { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--bg); font-weight: 900; font-size: 1.125rem; line-height: 1; }

/* ---------- 丸いメニューボタン ---------- */
.burger {
  position: fixed; top: 8px; right: 8px; z-index: 210; width: 68px; height: 68px; border-radius: 50%; border: 0;
  background: #cc381c; color: #fff; display: grid; place-content: center; justify-items: center; gap: 2px;
}
.burger__bars { display: grid; gap: 6px; }
.burger__bars i { display: block; width: 28px; height: 3px; background: #fff; transition: transform .4s, opacity .4s; }
.burger[aria-expanded="true"] .burger__bars i:nth-child(1) { transform: translateY(9px) rotate(40deg); }
.burger[aria-expanded="true"] .burger__bars i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bars i:nth-child(3) { transform: translateY(-9px) rotate(-40deg); }
.burger__txt { display: none; }

.nav {
  position: fixed; top: 0; right: 0; z-index: 200; width: min(100%, 480px); height: 100dvh; overflow-y: auto;
  background-color: var(--orange); background-image: var(--leaves); background-size: 100% auto;
  border-left: 3px solid #fff; display: grid; place-items: center; padding: 90px 24px 40px;
  transform: translateX(110%); visibility: hidden; transition: transform .5s ease, visibility .5s;
}
.nav.is-open { transform: none; visibility: visible; }
.nav ul { width: min(100%, 280px); }
.nav a { display: block; padding: 14px 0; font-size: 1.25rem; font-weight: 700; text-decoration: none; border-bottom: 2px dotted rgba(255, 255, 255, .6); }
.nav a:hover { color: var(--yellow); }

/* ---------- ファーストビュー ---------- */
.hero { position: relative; background: var(--paper); overflow: hidden; }
.hero__collage { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.hero__collage .ph { aspect-ratio: 1 / 1.2; background: #e9dfc4; clip-path: none; }
.hero__collage .ph:nth-child(1) { clip-path: polygon(0 0, 100% 0, 96% 100%, 0 97%); }
.hero__collage .ph:nth-child(2) { clip-path: polygon(2% 0, 100% 0, 100% 94%, 0 100%); background: #dfd3b4; }
.hero__collage .ph:nth-child(3) { clip-path: polygon(0 2%, 98% 5%, 100% 100%, 0 100%); background: #dfd3b4; }
.hero__collage .ph:nth-child(4) { clip-path: polygon(3% 4%, 100% 0, 100% 100%, 0 100%); }
.hero__collage figcaption { place-items: start; padding: 14px; color: #a48a5e; }
.hero__collage .ph:nth-child(n+3) figcaption { place-items: end start; }

.hero__blob {
  position: absolute; left: 50%; top: 50%; width: min(92%, 640px); aspect-ratio: 1 / .92;
  transform: translate(-50%, -50%);
  background: var(--cream); color: var(--brown);
  clip-path: polygon(12% 8%, 38% 0, 70% 3%, 92% 14%, 100% 42%, 95% 74%, 78% 96%, 48% 100%, 18% 94%, 3% 70%, 0 36%);
  display: grid; align-content: center; justify-items: center; text-align: center; padding: 8% 9%;
  container-type: inline-size;
  animation: pop .9s cubic-bezier(.2, 1.4, .4, 1) both;
}
@keyframes pop { from { transform: translate(-50%, -50%) scale(.6); opacity: 0; } }
.hero__lead { font-weight: 700; font-size: max(1rem, 3.5cqw); color: var(--brown-soft); line-height: 1.4; }
.hero__title { display: grid; justify-items: center; line-height: 1; margin-top: 6px; position: relative; }
.hero__title-sub { font-weight: 900; font-size: max(1.25rem, 6.4cqw); letter-spacing: .14em; color: var(--brown); }
.hero__title-main { font-size: 19.5cqw; color: #cc381c; line-height: 1.08; white-space: nowrap; }
.hero__title-main i:nth-child(2) { color: #e2742a; }
.hero__title-main i:nth-child(3) { color: #c99a12; }
.hero__title-main i:nth-child(4) { color: #6f8f2a; }
.hero__year { position: absolute; right: -16%; top: -4%; font-family: var(--display); font-weight: 400; font-size: max(1rem, 5.4cqw); color: #fff; background: #e2742a; padding: .1em .5em .2em; clip-path: var(--cut-chip); transform: rotate(8deg); }
.hero__date { font-weight: 900; color: var(--brown); line-height: 1.1; margin-top: 2px; white-space: nowrap; }
.hero__date b { font-family: var(--display); font-weight: 400; font-size: 7.6cqw; }
.hero__date small { font-size: 1rem; margin-left: 2px; }
.hero__date i { font-style: normal; margin: 0 2px; }
.hero__place { font-weight: 700; font-size: max(1rem, 3.5cqw); margin-top: 6px; line-height: 1.4; }

/* ---------- セクション共通 ---------- */
:root {
  --leaves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 1100'%3E%3Cg fill='white' fill-opacity='.09'%3E%3Cpath d='M20 60C120 10 250 40 300 130 200 170 80 150 20 60Z'/%3E%3Cpath d='M360 520C440 470 560 500 590 590 500 620 400 600 360 520Z'/%3E%3Cpath d='M90 800l120-30 40 70-30 110-110-20-40-60 50-30Z'/%3E%3C/g%3E%3Cg fill='black' fill-opacity='.07'%3E%3Cpath d='M420 40l130-20 30 80-40 100-100-30-30-70 60-20Z'/%3E%3Cpath d='M-20 380C60 330 180 360 230 450 140 480 30 460-20 380Z'/%3E%3Cpath d='M330 880C420 830 540 870 580 960 480 990 380 960 330 880Z'/%3E%3C/g%3E%3C/svg%3E");
}

.sec {
  --bg: var(--orange);
  position: relative; padding: 56px 0 96px;
  background-color: var(--bg); background-image: var(--leaves); background-size: 100% auto; background-repeat: repeat-y;
}
.cut-top { position: absolute; left: 0; bottom: calc(100% - 1px); width: 100%; height: clamp(34px, 6vw, 80px); }
.cut-top polygon { fill: var(--bg); }
.cut-top--flip { transform: scaleX(-1); }

.sec--lead   { --bg: var(--orange); padding-top: 44px; }
.sec--food   { --bg: var(--pink); }
.sec--stage  { --bg: var(--navy); background-image: var(--leaves), linear-gradient(180deg, #1c284f 15%, #5d4a8c 100%); background-size: 100% auto, auto; background-repeat: repeat-y, no-repeat; }
.sec--exp    { --bg: var(--green); }
.sec--kids   { --bg: var(--blue); }
.sec--mall   { --bg: var(--wood); }
.sec--map    { --bg: var(--cream); background-image: none; color: var(--brown); }
.sec--ticket { --bg: var(--red); }
.sec--access { --bg: var(--teal); }
.sec--notice { --bg: var(--cream); background-image: none; color: var(--brown); }
.sec--final  { --bg: var(--orange); text-align: center; padding-bottom: 120px; }

.head { text-align: center; margin-bottom: 44px; }
.head__title { font-size: clamp(2rem, 9.6vw, 4.25rem); line-height: 1.25; color: var(--yellow); }
.head__copy { margin-top: 14px; font-weight: 700; font-size: 1.0625rem; }
.head__copy br { display: none; }
.sec--map .head__title, .sec--notice .head__title { color: #cc381c; }
.sec--map strong, .sec--notice strong { color: #cc381c; }

.subhead { text-align: center; font-size: 1.5rem; font-weight: 900; line-height: 1.4; color: var(--yellow); margin: 72px 0 26px; }
.subhead small { display: block; font-weight: 700; color: #fff; }
.sec--notice .subhead { color: #cc381c; }
.caption { font-size: 1rem; line-height: 1.7; margin-top: 26px; }
.caption a { font-weight: 700; }

/* 項目ラベル（黄色い四角＋黄色い文字） */
.spec { display: grid; gap: 7px; margin-top: 14px; text-align: left; }
.spec > div { display: grid; grid-template-columns: 4.2em 1fr; gap: 12px; align-items: stretch; }
.spec dt { background: var(--yellow); color: var(--brown-soft); font-weight: 700; font-size: 1rem; line-height: 1.3; display: grid; place-items: center; padding: 5px 0; }
.spec dd { color: var(--yellow); font-weight: 700; font-size: 1rem; line-height: 1.55; align-self: center; }

/* スクロールで現れる動き */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* 地図から飛んできた先を知らせる */
.item:target .item__name, .wrap:target .head__title { animation: wobble 1.2s ease 2; }
@keyframes wobble { 25% { transform: rotate(-2deg) scale(1.05); } 75% { transform: rotate(2deg) scale(1.05); } }

/* ---------- 概要 ---------- */
.lead__catch { text-align: center; font-family: var(--display); font-size: clamp(1.375rem, 6.4vw, 2.75rem); line-height: 1.4; color: var(--yellow); }
.lead__text { margin-top: 16px; font-weight: 700; }
.spec--lead { width: min(100%, 720px); margin: 30px auto 0; }
.spec--lead dd { font-size: 1.0625rem; }
.countdown { font-weight: 700; }
.countdown b { font-family: var(--display); font-weight: 400; font-size: 2rem; color: var(--yellow); margin: 0 6px; line-height: 1; }

.chips { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 10px; }
.chips a {
  display: grid; place-items: center; min-height: 58px; padding: 6px 8px; background: var(--paper); color: var(--brown-soft);
  font-weight: 900; font-size: 1.0625rem; line-height: 1.3; text-align: center; text-decoration: none;
  clip-path: var(--cut-chip); transition: transform .4s;
}
.chips li:nth-child(even) a { clip-path: var(--cut-chip2); }
.chips a:hover { transform: scale(1.05) rotate(-1.5deg); }

.points { margin-top: 64px; display: grid; gap: 40px; }
.points li { text-align: center; }
.points__num { font-weight: 900; font-size: 1.25rem; line-height: 1; color: var(--yellow); white-space: nowrap; }
.points__num b { font-family: var(--display); font-weight: 400; font-size: 4.25rem; margin-right: 6px; }
.points h3 { font-size: 1.3125rem; font-weight: 900; line-height: 1.45; margin: 10px 0 8px; }
.points p:last-child { text-align: left; }

/* ---------- 写真つきの項目 ---------- */
.grid2, .grid3 { display: grid; gap: 56px; }
.item { position: relative; text-align: center; }
.item .ph { margin-bottom: 16px; }
.item__no { display: inline-block; background: var(--yellow); color: var(--brown-soft); font-weight: 900; font-size: 1rem; line-height: 1.3; padding: 5px 16px; clip-path: var(--cut-chip); margin-bottom: 6px; }
.item__name { font-size: 1.5rem; font-weight: 700; line-height: 1.3; }
.item__price { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .5em; margin-top: 8px; padding-top: 8px; font-size: 1.25rem; font-weight: 900; line-height: 1.4; color: var(--yellow); position: relative; }
.item__price::before { content: ""; position: absolute; top: 0; left: 50%; width: 3em; border-top: 2px dotted rgba(255, 255, 255, .7); transform: translateX(-50%); }
.item__price i { font-style: normal; font-weight: 500; color: #fff; }
.item__tag { font-weight: 700; font-size: 1rem; color: var(--yellow); margin-top: 6px; }
.item__text { text-align: left; margin-top: 8px; }

.grid4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
.mini { text-align: center; font-size: 1rem; line-height: 1.45; color: var(--yellow); font-weight: 700; }
.mini .ph { margin-bottom: 8px; }
.mini b { display: block; color: #fff; font-size: 1.0625rem; font-weight: 700; margin-bottom: 2px; }
.mini__price { display: inline-block; }

/* ---------- ステージ ---------- */
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: min(100%, 560px); margin: 0 auto 34px; }
.tab { min-height: 68px; border: 2px solid var(--yellow); border-radius: 999px; background: none; color: var(--yellow); font-weight: 700; font-size: 1rem; line-height: 1.2; display: grid; place-content: center; transition: transform .4s; }
.tab b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.25rem; line-height: 1.3; }
.tab:hover { transform: scale(1.04); }
.tab.is-active { background: var(--yellow); color: var(--navy); }

.js .day { display: none; }
.js .day.is-active { display: block; animation: fadeup .6s ease; }
@keyframes fadeup { from { opacity: 0; transform: translateY(20px); } }
.day + .day { margin-top: 56px; }
.js .day + .day { margin-top: 0; }
.day__title { text-align: center; font-size: 1.375rem; font-weight: 900; color: var(--yellow); margin-bottom: 30px; }
.day__title small { display: block; color: #fff; font-weight: 700; }

.acts { display: grid; gap: 34px; }
.act { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: start; }
.act .ph { aspect-ratio: 1; }
.act .ph figcaption { padding: 6px; }
.act__time { font-weight: 700; color: var(--yellow); line-height: 1.3; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.act__time time { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1; margin-right: 4px; }
.kind { background: var(--yellow); color: var(--navy); font-weight: 900; font-size: 1rem; line-height: 1.3; padding: 3px 12px; clip-path: var(--cut-chip); }
.kind--talk { background: #ffc9a8; }
.kind--head { background: #fff; }
.act h4 { font-size: 1.4375rem; font-weight: 900; line-height: 1.35; margin-top: 10px; }
.act__kana { font-size: 1rem; font-weight: 500; line-height: 1.4; letter-spacing: .08em; opacity: .85; margin-top: 2px; }
.act__role { font-weight: 700; color: var(--yellow); line-height: 1.5; margin: 8px 0 6px; }
.act__body > p:last-child { line-height: 1.75; }

/* ---------- ちびっこ：設備 ---------- */
.care { margin-top: 64px; display: grid; gap: 10px; }
.care li { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; align-items: stretch; color: var(--yellow); font-weight: 700; font-size: 1rem; line-height: 1.5; }
.care b { background: var(--yellow); color: var(--brown-soft); font-weight: 700; display: grid; place-items: center; padding: 6px 4px; text-align: center; line-height: 1.3; }
.care li { align-items: center; }
.care b { align-self: stretch; }

/* ---------- 会場マップ ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.chip { min-height: 48px; padding: 6px 20px; border: 2px solid var(--brown); border-radius: 999px; background: none; color: var(--brown); font-weight: 700; font-size: 1rem; transition: transform .4s; }
.chip:hover { transform: scale(1.05); }
.chip.is-active { background: var(--brown); color: #fff; }

.mapgrid { display: grid; gap: 40px; }
.map { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 600 / 920; overflow: hidden; background: #f3ead2; clip-path: polygon(0 1%, 52% 0, 100% 1.4%, 99% 50%, 100% 99%, 46% 100%, 0 98.8%, 1% 48%); }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map > .lbl, .map > .pin, .map > .fac { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }

.lbl { font-size: 1rem; font-weight: 900; line-height: 1.15; color: #4c6a2c; white-space: nowrap; pointer-events: none; text-align: center; }
.lbl--water { color: #1f5f7c; }
.lbl--road { color: #7a6a4c; }
.lbl--n { color: var(--brown); }

.pin {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; padding-bottom: 2px;
  background: var(--c); color: #fff; font-family: var(--display); font-size: 1.375rem; line-height: 1; text-decoration: none;
  border: 3px solid #fff; z-index: 3; transition: transform .4s, opacity .3s;
}
.pin:hover, .pin:focus-visible { transform: translate(-50%, -50%) scale(1.2); z-index: 6; }
.pin--food { --c: var(--c-food); }
.pin--stage { --c: var(--c-stage); }
.pin--exp { --c: var(--c-exp); }
.pin--kids { --c: var(--c-kids); }
.pin--mall { --c: var(--c-mall); }
.pin.is-ping { animation: ping 1s ease 3; z-index: 7; }
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(204, 56, 28, .8); transform: translate(-50%, -50%) scale(1.3); }
  100% { box-shadow: 0 0 0 28px rgba(204, 56, 28, 0); transform: translate(-50%, -50%) scale(1); }
}

.fac, .fac-s {
  display: grid; place-items: center; min-width: 40px; height: 30px; padding: 0 4px 1px;
  font-weight: 900; font-size: 1rem; line-height: 1; white-space: nowrap; color: #fff; z-index: 2;
  clip-path: var(--cut-chip); transition: opacity .3s, transform .4s;
}
.fac-s { flex: none; min-width: 48px; height: 32px; margin-top: 3px; }
.fac--wc { background: #1a6fb0; }
.fac--smoke { background: #565656; }
.fac--gate { background: var(--brown); }
.fac--bus { background: #2e8558; }
.fac--aid { background: #cc381c; }
.fac--baby { background: #c2567e; }

.map.is-filtered .pin, .map.is-filtered .fac { opacity: .15; }
.map.is-filtered .is-match { opacity: 1; transform: translate(-50%, -50%) scale(1.2); z-index: 6; }

.legend h3 { font-size: 1.375rem; font-weight: 900; color: #cc381c; margin-bottom: 6px; display: flex; align-items: baseline; gap: 14px; }
.legend h3 small { color: var(--brown-soft); font-weight: 700; }
.legend__events { margin-bottom: 40px; }
.legend__events a { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; min-height: 64px; padding: 8px 4px; border-bottom: 2px dotted #c9b48c; text-decoration: none; font-weight: 900; font-size: 1.125rem; line-height: 1.35; transition: transform .4s; }
.legend__events a:hover { transform: translateX(8px); }
.legend__name { grid-column: 2; }
.legend__sub { grid-column: 2; font-size: 1rem; font-weight: 500; color: var(--brown-soft); margin-top: 2px; }
.no { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-family: var(--display); font-weight: 400; font-size: 1.25rem; line-height: 1; padding-bottom: 2px; }
.no--food { background: var(--c-food); }
.no--stage { background: var(--c-stage); }
.no--exp { background: var(--c-exp); }
.no--kids { background: var(--c-kids); }
.no--mall { background: var(--c-mall); }
.legend__fac { display: grid; gap: 14px; }
.legend__fac li { display: flex; gap: 14px; align-items: flex-start; }
.legend__fac p { font-size: 1rem; line-height: 1.65; }
.legend__fac b { display: block; font-weight: 900; font-size: 1.0625rem; margin-bottom: 2px; }

/* ---------- チケット ---------- */
.price { display: grid; gap: 28px; text-align: center; }
.price__name { font-weight: 700; font-size: 1.125rem; }
.price__num { font-weight: 900; font-size: 1.5rem; color: var(--yellow); line-height: 1.2; white-space: nowrap; }
.price__num b { font-family: var(--display); font-weight: 400; font-size: clamp(3.5rem, 16vw, 5.5rem); margin-right: 4px; }
.price__num small { margin-left: 2px; color: #fff; font-weight: 700; }
.incl { width: min(100%, 720px); margin: 36px auto 0; display: grid; gap: 8px; }
.incl li { padding-left: 1.6em; position: relative; font-weight: 700; line-height: 1.6; }
.incl li::before { content: ""; position: absolute; left: 0; top: .45em; width: .9em; height: .9em; background: var(--yellow); clip-path: polygon(50% 0, 100% 40%, 80% 100%, 20% 100%, 0 40%); }
.sec--ticket .caption { width: min(100%, 720px); margin-inline: auto; }

.steps { display: grid; gap: 36px; }
.steps li { text-align: center; }
.steps b { display: block; font-family: var(--display); font-weight: 400; font-size: 3.75rem; line-height: 1; color: var(--yellow); }
.steps h4 { font-size: 1.25rem; font-weight: 900; line-height: 1.45; margin: 6px 0; }
.steps p { text-align: left; }

/* ---------- アクセス ---------- */
.pr-lead { width: min(100%, 820px); margin-inline: auto; font-weight: 700; }
.routes { margin-top: 40px; display: grid; gap: 40px; }
.routes__dir { display: inline-block; background: var(--paper); color: var(--teal); font-weight: 900; font-size: 1rem; line-height: 1.3; padding: 6px 18px; clip-path: var(--cut-chip); }
.routes h4 { font-family: var(--display); font-weight: 400; font-size: 1.875rem; line-height: 1.3; color: var(--yellow); margin-top: 8px; }
.routes__lot { font-weight: 700; font-size: 1.125rem; line-height: 1.4; padding-top: 6px; margin-top: 4px; border-top: 2px dotted rgba(255, 255, 255, .6); display: inline-block; }

.times { margin-top: 56px; display: grid; gap: 34px; text-align: center; font-weight: 700; }
.times__label { display: inline-block; background: var(--yellow); color: var(--brown-soft); font-weight: 900; font-size: 1rem; line-height: 1.3; padding: 6px 18px; }
.times__big { font-size: 1.5rem; font-weight: 900; line-height: 1.2; color: var(--yellow); white-space: nowrap; }
.times__big b { font-family: var(--display); font-weight: 400; font-size: 4.5rem; margin: 0 8px; }

.dots { display: grid; gap: 8px; margin-top: 30px; }
.dots li { padding-left: 1.5em; position: relative; line-height: 1.7; }
.dots li::before { content: ""; position: absolute; left: 0; top: .5em; width: .8em; height: .8em; background: var(--yellow); clip-path: polygon(50% 0, 100% 40%, 80% 100%, 20% 100%, 0 40%); }
.dots b { display: block; font-weight: 900; color: var(--yellow); margin-bottom: 2px; }
.dots a { font-weight: 700; color: var(--yellow); }
.ways .subhead { text-align: left; margin-bottom: 0; }
.ways .dots { margin-top: 16px; }

/* ---------- ご注意・FAQ ---------- */
.notes { display: grid; gap: 22px; }
.notes dt { display: inline-block; background: #cc381c; color: #fff; font-weight: 900; font-size: 1.0625rem; line-height: 1.3; padding: 6px 18px; clip-path: var(--cut-chip); }
.notes > div:nth-child(even) dt { clip-path: var(--cut-chip2); background: #c4520a; }
.notes dd { margin-top: 6px; }

.faq details { border-bottom: 2px dotted #c9b48c; }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 18px 44px 18px 46px; font-weight: 900; line-height: 1.55; min-height: 60px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 0; top: 14px; font-family: var(--display); font-weight: 400; font-size: 1.75rem; line-height: 1.2; color: #cc381c; }
.faq summary::after { content: "＋"; position: absolute; right: 4px; top: 16px; font-size: 1.375rem; color: #cc381c; transition: transform .4s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 8px 22px 46px; }

/* ---------- 最後の呼びかけ ---------- */
.final__date { font-family: var(--display); font-size: clamp(1.25rem, 5.8vw, 2.5rem); color: var(--yellow); line-height: 1.2; }
.final__date small { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; margin: 0 2px; }
.final__title { font-size: clamp(1.125rem, 5.4vw, 2.5rem); font-weight: 900; line-height: 1.55; margin-top: 14px; }
.sec--final .cta { margin-top: 30px; }

/* ---------- フッター ---------- */
.footer { background: #fff; color: var(--brown); padding: 44px 0 120px; text-align: center; line-height: 1.8; font-size: 1rem; }
.footer a { font-weight: 700; }
.footer__name { font-weight: 900; font-size: 1.25rem; margin-bottom: 10px; }
.footer__demo { margin: 22px auto; padding: 16px 0; border-block: 2px dotted #c9b48c; text-align: left; width: min(100%, 720px); }

/* ---------- 画面下の固定ボタン ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 108px 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  transform: translateY(120%); transition: transform .5s;
}
.dock.is-show { transform: none; }
.dock a { min-height: 58px; display: grid; place-items: center; font-weight: 900; font-size: 1.125rem; line-height: 1.2; text-decoration: none; border-radius: 999px; transition: transform .4s; }
.dock a:hover { transform: scale(1.03); }
.dock__map { background: var(--paper); color: var(--brown); border: 3px solid var(--brown); }
.dock__buy { background: #cc381c; color: #fff; border: 3px solid #fff; }

/* ---------- デモ用ダイアログ ---------- */
.modal { border: 0; padding: 44px 30px 36px; width: min(92%, 480px); text-align: center; color: var(--brown); background: var(--cream); clip-path: polygon(3% 4%, 50% 0, 98% 3%, 100% 60%, 96% 98%, 40% 100%, 2% 95%, 0 45%); }
.modal::backdrop { background: rgba(28, 20, 12, .65); }
.modal h2 { font-size: 1.375rem; font-weight: 900; color: #cc381c; margin-bottom: 10px; }
.modal p { text-align: left; margin-bottom: 22px; }
.modal .pill { background: #cc381c; color: #fff; }
.modal :focus-visible { outline-color: var(--brown); box-shadow: none; }
.sec--map :focus-visible, .sec--notice :focus-visible, .footer :focus-visible { outline-color: var(--brown); box-shadow: none; }

/* ==========================================================
   タブレット以上
   ========================================================== */
@media (min-width: 720px) {
  body { font-size: 1.125rem; }
  .pc-only { display: inline; }
  .sec { padding: 72px 0 150px; }
  .head { margin-bottom: 60px; }
  .head__copy { font-size: 1.25rem; }
  .head__copy br { display: inline; }

  .burger { width: 80px; height: 80px; top: 6px; right: 6px; gap: 4px; }
  .burger__txt { display: block; font-size: 1rem; font-weight: 700; line-height: 1; }
  .burger__bars { gap: 5px; }
  .burger[aria-expanded="true"] .burger__bars i:nth-child(1) { transform: translateY(8px) rotate(40deg); }
  .burger[aria-expanded="true"] .burger__bars i:nth-child(3) { transform: translateY(-8px) rotate(-40deg); }

  .hero__collage .ph { aspect-ratio: 16 / 7.6; }
  .hero__collage figcaption { padding: 24px; }
  .hero__blob { width: min(52%, 660px); padding: 4% 5%; }

  .lead__text { text-align: center; }
  .chips { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .points { grid-template-columns: repeat(3, 1fr); gap: 44px; }

  .grid2 { grid-template-columns: repeat(2, 1fr); gap: 72px 5%; }
  .grid2 > li:nth-child(even) { margin-top: 48px; }
  .grid3 { grid-template-columns: repeat(3, 1fr); gap: 4%; }
  .grid3 > li:nth-child(2) { margin-top: 56px; }
  .grid4 { grid-template-columns: repeat(4, 1fr); gap: 36px 3%; }
  .item__name { font-size: 1.625rem; }
  .item > .item__text, .item > .spec { width: 90%; margin-inline: auto; }

  .acts { grid-template-columns: repeat(2, 1fr); gap: 48px 6%; width: min(100%, 1040px); margin-inline: auto; }
  .act { grid-template-columns: 132px 1fr; gap: 20px; }

  .care { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .care li { grid-template-columns: 1fr; gap: 8px; text-align: center; }

  .price { grid-template-columns: repeat(2, auto); justify-content: center; gap: 80px; align-items: end; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 5%; }
  .routes { grid-template-columns: repeat(3, 1fr); gap: 5%; }
  .times { grid-template-columns: repeat(2, 1fr); width: min(100%, 820px); margin-inline: auto; }
  .sec--access .dots { width: min(100%, 820px); margin-inline: auto; }
  .ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6%; }
  .ways .dots { width: auto; }
  .notes { gap: 28px; }

  /* PCでは左下にチケットボタンだけ */
  .dock { left: 16px; right: auto; bottom: 16px; grid-template-columns: auto; padding: 0; }
  .dock .dock__map { display: none; }
  .dock__buy { padding: 0 34px; min-height: 64px; }
  .footer { padding-bottom: 110px; }
}

@media (min-width: 1000px) {
  .mapgrid { grid-template-columns: minmax(0, 520px) 1fr; align-items: start; gap: 60px; }
  .map { position: sticky; top: 20px; margin: 0; }
}

/* 動きを減らす設定の人には、動きを止める */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
