/* わくわくランド — page sections */
.center { text-align: center; }
.narrow { max-width: 860px; }
.pill.sm { font-size: 11px; padding: 1px 9px; border-width: 1.5px; }
.sub-h { font-family: var(--f-pop); font-weight: 400; font-size: 22px; margin: 48px 0 16px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 8px 0; font-size: 14.5px; }
.kv dt { font-family: var(--f-pop); font-size: 13px; color: var(--red-deep); padding-top: 2px; }
.kv dd { margin: 0; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* top page */
.hero .pill + .pill { margin-left: 6px; }
.event-banner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; text-decoration: none; overflow: hidden; --ny: 50%; }
.event-banner .eb-txt { padding: 30px 34px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.event-banner h2 { font-family: var(--f-pop); font-weight: 400; font-size: clamp(22px, 3vw, 30px); margin: 0; line-height: 1.35; }
.event-banner p { margin: 0; font-family: var(--f-pop); color: var(--red-deep); }
.event-banner ul { margin: 0; padding-left: 1.2em; }
.event-banner .eb-ph { position: relative; min-height: 300px; }
.event-banner .eb-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.tk-price { padding: 24px 20px 18px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.tk-price .kind { font-family: var(--f-pop); font-size: 17px; }
.tk-price b { font-family: var(--f-num); font-weight: 400; font-size: 36px; color: var(--red); line-height: 1.2; }
.tk-price small { font-size: 13px; color: var(--muted); }
.tk-price .perf { margin: 10px 0; }
.tk-price.hot { background: var(--yellow-soft); }
.news-list { list-style: none; margin: 0 auto 24px; padding: 0; max-width: 820px; display: grid; gap: 10px; }
.news-list a { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; background: var(--card); border: 2.5px solid var(--ink); border-radius: 14px; padding: 12px 18px; text-decoration: none; box-shadow: 3px 4px 0 var(--ink); transition: transform .15s; }
.news-list a:hover { transform: translateY(-2px) rotate(-.3deg); }
.news-list time { font-family: var(--f-num); font-size: 13px; color: var(--muted); }
.news-list .t { flex: 1 1 260px; }
.faq { background: var(--card); border: 2.5px solid var(--ink); border-radius: 16px; margin-bottom: 10px; box-shadow: 3px 4px 0 var(--ink); }
.faq summary { cursor: pointer; padding: 14px 20px; font-family: var(--f-pop); list-style: none; position: relative; padding-right: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: var(--f-num); font-size: 20px; color: var(--red); }
.faq[open] summary::after { content: "−"; }
.faq p { margin: 0; padding: 0 20px 16px; }
.acc { padding: 22px 24px; }
.acc h3 { font-family: var(--f-pop); font-weight: 400; margin: 0 0 6px; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.acc h3::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--red); border: 2px solid var(--ink); }
.access .acc:nth-child(2) h3::before { background: var(--yellow); } .access .acc:nth-child(3) h3::before { background: var(--blue); }
.acc p { margin: 0; font-size: 14.5px; }
.addr { text-align: center; margin-top: 22px; font-size: 14.5px; }

/* attractions */
.rides .ride { --ny: 59%; }
.ride .badge small:last-child { display: inline; }
.wm-status { display: inline-flex; align-items: baseline; gap: 6px; background: var(--yellow-soft); border: 2.5px solid var(--ink); border-radius: 14px; padding: 4px 16px; margin-bottom: 8px; font-family: var(--f-pop); }
.wm-status.alert { background: #2b2140; color: #ff6a5a; }
.wm-status .num { font-size: 40px; line-height: 1; }
.modal-cta { margin: 16px 0 0; text-align: center; }
.others { padding: 10px 18px; --ny: 50%; }
.others table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.others th, .others td { text-align: left; padding: 10px 8px; border-bottom: 2px dashed var(--line); }
.others th { font-family: var(--f-pop); font-weight: 400; font-size: 13px; color: var(--muted); }
.others tr:last-child td { border-bottom: 0; }
.others td b { font-weight: 400; font-size: 18px; color: var(--red-deep); }

/* park map */
.pmap { position: relative; overflow: hidden; --notch: 16px; }
.pmap img { width: 100%; }
.pin { position: absolute; transform: translate(-50%, -100%); width: 38px; height: 46px; border: 0; padding: 0 0 8px; cursor: pointer; font-family: var(--f-num); font-size: 17px; color: #fff; background: none; display: grid; place-items: center; z-index: 2; transition: transform .2s; }
.pin::before { content: ""; position: absolute; inset: 0 0 6px; background: var(--red); border: 3px solid var(--ink); border-radius: 50% 50% 50% 0; transform: rotate(-45deg) scale(.82); z-index: -1; box-shadow: 2px 2px 0 rgba(0,0,0,.25); }
.pin.sq::before { background: var(--blue); }
.pin:hover { transform: translate(-50%, -112%) scale(1.08); }
.pin { animation: hop 2.8s ease-in-out infinite; }
.pin:nth-child(3n) { animation-delay: .4s; } .pin:nth-child(3n+1) { animation-delay: .9s; }
html:is([data-stage="3"], [data-stage="4"]) .pin::before { background: #8b8177; }
html:is([data-stage="3"], [data-stage="4"]) .pin { animation: none; }
.pmap-closed { position: absolute; inset: 0; background: rgba(90, 70, 50, .25); mix-blend-mode: multiply; }
.pmap-card { display: flex; align-items: center; gap: 14px; background: var(--card); border: 2.5px solid var(--ink); border-radius: 16px; padding: 10px 16px; margin-top: 14px; box-shadow: 3px 4px 0 var(--ink); animation: pop .3s; }
.pmap-card .pc-n { font-family: var(--f-num); font-weight: 400; font-size: 22px; width: 40px; height: 40px; display: grid; place-items: center; background: var(--red); color: #fff; border-radius: 50%; border: 2.5px solid var(--ink); flex: none; }
.pmap-card div { flex: 1; font-size: 14.5px; }
.legend { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 24px; font-size: 14.5px; }
.legend li { display: flex; gap: 10px; align-items: center; }
.pin-s { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--f-num); font-size: 13px; border: 2px solid var(--ink); }
.pin-s.sq { background: var(--blue); border-radius: 8px; }
.pin-s.off { background: #bbb; }
.live { padding: 0; overflow: hidden; --notch: 14px; --ny: 6%; }
.live-bar { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 10px 18px; background: #1e1a2b; color: #fff; font-size: 13.5px; }
.live-dot { font-family: var(--f-num); color: #ff5a4a; display: inline-flex; align-items: center; gap: 6px; }
.live-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #ff3b2b; animation: blink 1.4s steps(1) infinite; }
.live-time { margin-left: auto; font-family: var(--f-num); }
.live-view { position: relative; }
.live-view.ruin img { width: 100%; }
.live-view.arrived .g13 { filter: drop-shadow(0 0 10px rgba(255, 230, 120, .9)); }
.ruin-hit { position: absolute; left: 16.5%; top: 48%; width: 6.5%; height: 10%; border: 0; background: transparent; cursor: pointer; border-radius: 30%; }
.ruin-hit:hover, .ruin-hit:focus-visible { box-shadow: 0 0 0 3px rgba(255,255,255,.7); }
.live-info { margin: 0; padding: 12px 18px; font-family: var(--f-pop); font-size: 15px; min-height: 3em; background: var(--card); }
.modal-box.wide { width: min(980px, 100%); padding: 22px 20px 18px; }
.gphoto { position: relative; border-radius: 14px; overflow: hidden; border: 3px solid var(--ink); }
.gphoto img { width: 100%; }
.paper-hit { position: absolute; left: 61%; top: 63%; width: 18%; height: 13%; border: 0; background: transparent; cursor: pointer; border-radius: 8px; animation: glint 2.4s ease-in-out infinite; }
@keyframes glint { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,230,0); } 50% { box-shadow: 0 0 0 4px rgba(255,255,230,.55); } }
.gcap { margin: 10px 0 0; font-size: 14.5px; }

/* event */
.ev-block { padding: 26px 26px 22px; --ny: 9%; }
.ev-head h2 { font-family: var(--f-pop); font-weight: 400; font-size: clamp(22px, 3vw, 30px); margin: 8px 0 6px; }
.ev-head p { margin: 0 0 16px; }
.zoom-scroll { overflow-x: auto; border-radius: 16px; border: 3px solid var(--ink); }
.ev-wheel { min-width: 640px; }
.zoom-hint { display: none; text-align: center; margin: 6px 0 0; }
.ev-ruin { border-radius: 16px; overflow: hidden; border: 3px solid var(--ink); }
.ev-ruin img { width: 100%; }
.ev-rules { margin-top: 18px; }
.ev-rules h3 { font-family: var(--f-pop); font-weight: 400; margin: 0 0 4px; }
.ev-rules ol { margin: 0; padding-left: 1.4em; }
.ev-two { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ev-card { overflow: hidden; --ny: 64%; }
.ev-card .ph { aspect-ratio: 4 / 3; overflow: hidden; }
.ev-card .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.ev-card .bd { padding: 18px 22px 22px; }
.ev-card h2 { font-family: var(--f-pop); font-weight: 400; font-size: 21px; margin: 8px 0 6px; }
.ev-card p { margin: 0 0 8px; font-size: 14.5px; }
.sched { list-style: none; margin: 0; padding: 10px 22px; --ny: 50%; }
.sched li { display: flex; gap: 18px; padding: 10px 0; border-bottom: 2px dashed var(--line); align-items: baseline; }
.sched li:last-child { border: 0; }
.sched b { font-weight: 400; font-size: 20px; color: var(--red); min-width: 3.2em; }

/* ticket */
.prices { margin-bottom: 22px; }
.price-card { padding: 24px 26px 18px; position: relative; --ny: 32%; }
.price-card h2 { font-family: var(--f-pop); font-weight: 400; font-size: 19px; margin: 0 0 8px; }
.price-card.hot { background: var(--yellow-soft); }
.ribbon { position: absolute; right: 22px; top: -2px; background: var(--red); color: #fff; font-family: var(--f-pop); font-size: 12.5px; padding: 6px 10px 10px; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); }
.ptable { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ptable th { text-align: left; font-weight: 400; padding: 8px 0; border-bottom: 2px dashed var(--line); }
.ptable td { text-align: right; padding: 8px 0; border-bottom: 2px dashed var(--line); }
.ptable td.num { font-size: 19px; color: var(--red-deep); }
.ptable tr:last-child :is(th, td) { border-bottom: 0; }
.price-wide { padding: 10px 26px; --ny: 50%; }
.price-wide .ptable td { text-align: left; padding-left: 12px; }
.buy { padding: 26px 28px 20px; --ny: 22%; }
.kinds { display: flex; gap: 10px; flex-wrap: wrap; }
.kind-opt { display: inline-flex; align-items: center; gap: 8px; border: 2.5px solid var(--ink); border-radius: 999px; padding: 6px 16px; cursor: pointer; background: #fff; }
.kind-opt:has(input:checked) { background: var(--yellow); }
.kind-opt.g13:has(input:checked) { background: #cfc8bb; }
.counts { display: flex; gap: 12px; flex-wrap: wrap; }
.counts label { display: inline-flex; gap: 6px; align-items: center; }
.counts select, .date-row select { border: 2.5px solid var(--ink); border-radius: 10px; padding: 6px 8px; background: #fff; font-size: 16px; }
.confirm { padding: 24px 28px; --ny: 50%; }
.confirm h3 { font-family: var(--f-pop); font-weight: 400; margin: 0 0 8px; }
.btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.etk { display: grid; grid-template-columns: 1fr; padding: 24px 28px 18px; --ny: 66%; animation: pop .4s cubic-bezier(.3,1.6,.5,1); }
.etk h3 { font-family: var(--f-pop); font-weight: 400; font-size: 24px; margin: 8px 0 4px; }
.etk .perf { margin: 14px 0; }
.etk-code { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.etk-code .bars { width: 240px; max-width: 100%; height: 54px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 8px, var(--ink) 8px 9px, transparent 9px 12px); }
.etk-code .num { font-size: 14px; letter-spacing: .1em; }

/* the 1999 ticket */
.oldticket { display: flex; width: min(520px, 100%); margin: 0 auto 12px; background: #d9cdb2; color: #3b3128; border-radius: 6px; font-family: "Noto Serif JP", "Yu Mincho", serif; box-shadow: 0 10px 30px rgba(0,0,0,.25); position: relative; animation: pop .5s ease-out;
  background-image: radial-gradient(circle at 80% 20%, rgba(110, 70, 30, .22), transparent 40%), radial-gradient(circle at 15% 85%, rgba(110, 70, 30, .18), transparent 35%); }
.ot-main { flex: 1; padding: 18px 22px; display: flex; flex-direction: column; gap: 2px; border-right: 2px dashed #8b7b62; }
.ot-park { font-size: 12.5px; letter-spacing: .2em; }
.ot-title { font-size: 30px; font-weight: 900; letter-spacing: .3em; }
.ot-no { font-size: 17px; font-weight: 700; }
.ot-no .num { font-size: 30px; color: #8a2b1f; }
.ot-date, .ot-fare { font-size: 14.5px; }
.ot-stub { width: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; }
.ot-stub .num { font-size: 22px; }
.ot-stub.used::after { content: "済"; position: absolute; right: 26px; top: 50%; transform: translateY(-50%) rotate(-14deg); width: 54px; height: 54px; border: 3px solid rgba(160, 30, 20, .75); color: rgba(160, 30, 20, .8); border-radius: 50%; display: grid; place-items: center; font-size: 26px; font-weight: 900; }
.ot-msg { text-align: center; font-family: var(--f-hand); font-size: 18px; }

/* restaurant */
.rest { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; --ny: 50%; }
.rest .ph img { width: 100%; height: 100%; object-fit: cover; }
.rest .bd, .shop { padding: 24px 26px; }
.rest h2, .shop h2 { font-family: var(--f-pop); font-weight: 400; font-size: 22px; margin: 8px 0 6px; }
.shop { --ny: 50%; }
.menu { list-style: none; margin: 12px 0 0; padding: 0; }
.menu li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 2px dotted var(--line); font-size: 14.5px; }
.menu b { font-weight: 400; color: var(--red-deep); white-space: nowrap; }

/* news */
.news-full { display: grid; gap: 18px; }
.news-item { padding: 20px 26px; --ny: 50%; }
.news-item header { display: flex; gap: 10px; align-items: center; }
.news-item time { font-family: var(--f-num); font-size: 13px; color: var(--muted); }
.news-item h2 { font-family: var(--f-pop); font-weight: 400; font-size: 19px; margin: 6px 0 4px; }
.news-item p { margin: 0 0 6px; font-size: 14.5px; }
.news-item.old { opacity: .82; }
.news-item.paper { background: #e9e0c7; }

/* 404 */
.nf { padding: 70px 0 40px; }
.nf-box { max-width: 560px; margin: 0 auto; padding: 36px 26px; text-align: center; --ny: 70%; }
.nf-balloon { width: 70px; margin: 0 auto; animation: float 3.6s ease-in-out infinite; }
.nf-code { font-size: 64px; margin: 0; line-height: 1; color: var(--red); }
.nf-box h1 { font-family: var(--f-pop); font-weight: 400; font-size: 24px; margin: 8px 0; }

/* truth page */
html.truth body { background: #d9d1c3; }
.doc-hero { padding: 60px 0 30px; text-align: center; background: linear-gradient(#a59d92, #d9d1c3); }
.doc-kicker { font-family: var(--f-num); letter-spacing: .3em; font-size: 12px; color: #5f564e; margin: 0; }
.doc-hero h1 { font-family: "Noto Serif JP", serif; font-weight: 700; font-size: clamp(26px, 4.5vw, 40px); margin: 6px 0 8px; color: #4a4038; }
.doc-lead { margin: 0 0 26px; }
.oldticket.big { width: min(600px, 100%); }
.doc-sec { padding-block: 34px; }
.doc-h { font-family: "Noto Serif JP", serif; font-weight: 700; font-size: 22px; border-bottom: 2px solid #8b8177; padding-bottom: 6px; margin: 0 0 16px; }
.doc p { line-height: 2; }
.lap { display: flex; gap: 26px; align-items: center; padding: 22px 28px; --ny: 50%; color: #6e5444; }
.lap-ring { width: 140px; flex: none; }
.lap-txt p { margin: 0; }
.lap-big { font-size: 15px; }
.lap-big .num { font-size: 46px; line-height: 1.1; }
.timeline { list-style: none; margin: 0 0 24px; padding: 0; border-left: 3px solid #8b8177; }
.timeline li { position: relative; padding: 0 0 16px 22px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: #d9d1c3; border: 3px solid #6e5444; }
.timeline b { font-weight: 400; font-size: 18px; color: #6e5444; }
.timeline p { margin: 0; }
.doc-photo { margin: 0; overflow: hidden; --ny: 90%; }
.doc-photo img, .doc-gal img { width: 100%; }
.doc-photo figcaption, .doc-gal figcaption { padding: 10px 16px 14px; font-size: 13.5px; }
.doc-gal figure { margin: 0; overflow: hidden; --ny: 85%; }
.roster { padding: 8px 16px; overflow-x: auto; --ny: 50%; }
.roster table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
.roster th, .roster td { padding: 7px 6px; border-bottom: 1px dashed #b3a68e; text-align: left; }
.roster th { font-weight: 500; color: #8b8177; }
.roster tr.me td { color: #8a2b1f; font-weight: 500; background: rgba(160, 30, 20, .06); }
.doc-end { padding-block: 40px 70px; }
.quote { font-family: "Noto Serif JP", serif; font-size: clamp(22px, 4vw, 34px); font-weight: 700; color: #4a4038; line-height: 1.8; margin: 0 0 24px; }

@media (max-width: 900px) {
  .event-banner, .rest, .ev-two { grid-template-columns: 1fr; }
  .event-banner .eb-ph { min-height: 240px; }
  .legend { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .zoom-hint { display: block; }
  .ev-block { padding: 20px 16px 18px; }
}
@media (max-width: 600px) {
  .lap { flex-direction: column; text-align: center; }
  .pin { width: 30px; height: 37px; font-size: 13px; }
  .oldticket { flex-direction: column; }
  .ot-main { border-right: 0; border-bottom: 2px dashed #8b7b62; }
  .ot-stub { width: auto; flex-direction: row; padding: 10px; gap: 12px; }
  .ot-stub.used::after { right: 14px; top: auto; bottom: 4px; transform: rotate(-14deg); width: 40px; height: 40px; font-size: 20px; }
  .buy, .confirm, .etk { padding: 20px 16px; }
  .news-item { padding: 18px 18px; }
}
