@charset "UTF-8";
:root{--ink:#304970;--sans:"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN",Meiryo,sans-serif;--serif:"Yu Mincho","Hiragino Mincho ProN",serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:16px;scrollbar-gutter:stable;overflow-x:clip}
body{margin:0;background:white;color:#333;font:16px/1.6 var(--sans);overflow-x:clip}
img{display:block;width:100%;height:auto}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer;border:0}
a{color:inherit}
button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #dc5670;outline-offset:4px}
[hidden]{display:none!important}
.sr-only,.skip:not(:focus){position:absolute!important;width:1px!important;height:1px!important;clip-path:inset(50%);overflow:hidden!important;white-space:nowrap!important;margin:0!important;padding:0!important}
.skip:focus{position:fixed;top:10px;left:10px;z-index:100;background:white;padding:12px}
h1,h2,h3,p{margin:0}

/* Desktop cover uses the full two-panel composition from the supplied artwork. */
.hero{position:relative;z-index:2;display:flex;width:100%;margin:0}
.hero-left{width:44.2898975%}
.hero-right{width:55.7101025%}
.hero img{width:100%;height:auto}

/* Below the cover, the two side columns stick to the viewport. No ancestor creates a nested scroll container. */
.layout{width:100%;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) min(36.603221vw,500px) minmax(0,1fr);align-items:start}
.layout>main{position:relative;z-index:2;min-width:0;box-shadow:12px 0 18px #c3ad403b,-5px 0 20px #c8b97517}
.countdown-side,.contents-side{position:sticky;top:0;align-self:start;min-width:0;z-index:1}
.countdown-art,.contents-side nav{position:relative;container-type:inline-size;width:100%}
.countdown-art img,.contents-side nav img{width:100%}
.countdown-art #days{position:absolute;left:16.4%;top:48%;font-family:"Times New Roman",Times,serif;font-weight:400;font-style:italic;font-size:47cqw;letter-spacing:-.06em;line-height:1;color:var(--ink);transform:rotate(-5deg);transform-origin:center;min-width:46%;text-align:center}
.countdown-art #days.closed,.countdown-art #days.today{font:700 17cqw/1.5 var(--serif);background:transparent;left:18%;top:51%;width:62%}
.menu-hit{position:absolute;left:18%;width:68%;height:7.8%;border-radius:12px;text-decoration:none}
.menu-hit:hover{background:#fff5;box-shadow:0 0 0 1px #30497022}

/* One continuous background. All animated layers live inside the original 500 × 650 area. */
.greeting{position:relative;aspect-ratio:500/650;container-type:inline-size;isolation:isolate;overflow-anchor:none}
.greeting-art{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.envelope-stage{position:absolute;inset:0;overflow-anchor:none}
.envelope{position:absolute;left:6%;top:30.49951%;width:87.63584%;height:39.23718%;perspective:1100px;isolation:isolate;transform:translateY(0);transition:transform .9s .35s cubic-bezier(.22,.8,.25,1)}
.env-back,.env-front,.env-flap,.envelope-closed,.seal{position:absolute;inset:0;border-radius:2cqw}
.env-back{z-index:1;background:#bb4957}
.env-front{z-index:3;background:#cc525e;clip-path:polygon(0 0,50% 59%,100% 0,100% 100%,0 100%)}
.env-front:before,.env-front:after{content:"";position:absolute;inset:0;background:#bf4c58}
.env-front:before{clip-path:polygon(0 0,50% 59%,0 100%)}
.env-front:after{clip-path:polygon(100% 0,50% 59%,100% 100%)}
.env-flap{z-index:5;background:#d45965;clip-path:polygon(0 0,100% 0,100% 10%,50% 79%,0 10%);transform-origin:50% 0;transition:transform .65s ease,z-index 0s .32s;backface-visibility:visible}
.envelope-closed{z-index:7;width:100%;height:100%;transition:opacity .2s;pointer-events:none}
.seal{z-index:8;background:transparent}
.letter{position:absolute;left:5%;bottom:80%;width:90%;height:64cqw;padding:3cqw;background:#fffdf6 url('../assets/paper.webp') center/cover;box-shadow:0 2px 16px #78653b2b;border:1px solid #e7d8bb;border-radius:2px;z-index:2;text-align:center;opacity:0;transform:translateY(90%) scale(.97);transition:transform .9s .35s cubic-bezier(.22,.8,.25,1),opacity .45s .35s,z-index 0s .35s;overflow:auto;backface-visibility:hidden}
.letter:before{content:"";position:absolute;inset:0;background:#ffffffbd;z-index:-1}
.letter .eyebrow{font:2.2cqw/1.4 Georgia,serif;letter-spacing:.04em;margin:0 0 3cqw}
.letter h3{font:700 4cqw/1.55 var(--serif);color:var(--ink);margin:0 0 3cqw}
.letter p{font-size:2.8cqw;line-height:1.6;margin:0}
.letter .letter-school{font-size:2.6cqw;margin-top:3cqw}
.letter{display:flex;flex-direction:column;justify-content:center}
.open .envelope{transform:translateY(70.3125%)}
.open .letter{opacity:1;transform:translateY(0) scale(1);z-index:4}
.open .env-flap{transform:rotateX(180deg);z-index:0}
.open .envelope-closed{opacity:0}
.open .seal{pointer-events:none;visibility:hidden}
.env-back,.env-front,.env-flap{opacity:0;transition:opacity .2s,transform .65s ease,z-index 0s .32s}
.open .env-back,.open .env-front,.open .env-flap{opacity:1}
.envelope-closed{border-radius:0}
.greeting #replay{position:absolute;bottom:1%;left:50%;transform:translateX(-50%);z-index:10;min-height:32px;font-size:2.5cqw;color:#776750;background:#fffdf5eb;border-radius:20px;text-decoration:none}
.text-button{min-height:40px;padding:8px 12px;background:transparent;text-decoration:underline;text-underline-offset:4px}

.design-section{position:relative;aspect-ratio:500/var(--section-height);container-type:inline-size;isolation:isolate;scroll-margin-top:16px}.section-art{position:absolute;left:-13%;top:0;width:126%;max-width:none;pointer-events:none;user-select:none;z-index:-1}.live-copy{display:contents}.source-copy{position:absolute;font-weight:400;letter-spacing:-.035em;color:#323232}.source-copy.bold{font-weight:700}.headquarters .source-copy{letter-spacing:-.055em}.riddle-copy{position:absolute;left:20%;top:82.4%;width:60%;text-align:center;font-size:3.2cqw;line-height:1.5;letter-spacing:-.025em}.riddle-copy small{font-size:.88em}.timetable-hit{position:absolute;left:8%;top:24%;width:86%;height:65%;border-radius:8px}.timetable-hit:hover{box-shadow:0 0 0 3px #30497044}.second-day-hit{position:absolute;left:33.8%;top:16.8%;width:25.4%;height:6%;background:transparent;border-radius:7px 7px 0 0}.brochure-hit{position:absolute;left:14%;top:86%;width:73%;height:8%;border-radius:40px;background:transparent}.brochure-hit:hover{box-shadow:0 0 0 2px #30497044}.program-panel{position:absolute;left:6%;top:18.6%;width:88%;height:78.5%;padding:6.8% 6.4%;border-radius:2cqw;background:#fff;display:flex;flex-direction:column}.program-tools{display:flex;gap:5%;align-items:stretch;margin-bottom:2cqw;flex-shrink:0}.program-tools select,.program-tools button{min-height:10cqw;border:0;border-radius:2cqw;background:#eaeaea;font-size:3.2cqw;padding:2cqw 3cqw;color:#2f3e4c}.program-tools select{width:35%;appearance:auto;padding-left:2cqw}.program-tools button{width:60%;white-space:nowrap}.program-tools button span{font-size:4cqw;vertical-align:-.2em}.result-count{font-size:2.3cqw;color:#71818d;line-height:1.7;margin:0 0 1.5cqw}.active-filters{font-size:2.4cqw;overflow-wrap:anywhere;margin-bottom:1cqw}.active-filters:empty{display:none}.program-list{padding:0 2cqw 0 0;margin:0;list-style:none;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--ink) #e8e8e8;flex:1;min-height:0}.program{border-bottom:1px dotted #92999f}.program summary{display:flex;gap:3cqw;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;font-size:3.35cqw;line-height:1.8;min-height:12cqw;padding:3cqw 0}.program summary::-webkit-details-marker{display:none}.arrow{font:5cqw/4cqw Georgia,serif;width:4cqw;height:4cqw;flex:0 0 4cqw;background:var(--ink);border-radius:50%;color:white;text-align:center}.program[open] .arrow{transform:rotate(90deg)}.program-body{font-size:3cqw;background:#f2f7fa;margin:1cqw 0 3cqw;padding:3cqw;border-radius:1cqw;overflow-wrap:anywhere}.program-body h3{font-size:3.7cqw;line-height:1.7;margin:2cqw 0;color:var(--ink)}.program-body dl{display:grid;grid-template-columns:2.5em 1fr;gap:1.6cqw;margin:3cqw 0}.program-body dt{color:#708799}.program-body dd{margin:0;white-space:pre-line}.program-body .tags{font-size:2.6cqw;color:#568098}.program-panel #reset{font-size:2.5cqw;min-height:6cqw;flex-shrink:0}.program-panel #empty{font-size:3cqw;padding:5cqw 0}.program-panel #empty .primary{font-size:2.8cqw;padding:2cqw}.map-hit{position:absolute;left:8%;top:52%;width:86%;height:39%;border-radius:12px}.social-hit{position:absolute;background:transparent;border-radius:8px;transition:box-shadow .2s}.social-hit:hover{box-shadow:0 0 0 3px #fff9}.sweater-pending{position:absolute;left:18%;top:46.5%;width:20%;text-align:center;font-size:2.5cqw;color:#81909c}.footer-home{position:absolute;inset:10% 12% 48% 5%}.mobile-nav{display:none}
dialog{border:0;border-radius:16px;padding:0;width:min(500px,calc(100% - 30px));max-height:85dvh;color:#354454;box-shadow:0 20px 80px #132b4355}dialog::backdrop{background:#142c4d80;backdrop-filter:blur(4px)}body:has(dialog[open]){overflow:hidden}.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #e4e9ee;background:white;position:sticky;top:0;z-index:1}.dialog-head h2{font-size:19px;margin:0;color:var(--ink)}.dialog-head button{font-size:28px;background:#f0f4f5;border-radius:50%;width:42px;height:42px;line-height:1}.filter-fields{padding:22px;display:grid;gap:10px}.filter-fields label{font-size:13px;font-weight:700}.filter-fields input,.filter-fields select{width:100%;min-height:48px;border:1px solid #c7d2d9;border-radius:6px;background:#fff;padding:10px}.dialog-foot{padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #ddd;background:white;position:sticky;bottom:0}.primary{border-radius:7px;background:var(--ink);color:white;padding:13px 18px;font-size:14px;min-height:46px}.dialog-nav{padding:10px 25px 25px}.dialog-nav>a{display:flex;gap:14px;text-decoration:none;align-items:center;font-size:14px;border-bottom:1px dotted #708397;padding:12px 0}.dialog-nav>a>span{font:italic 25px Georgia,serif;color:#748fa9}.dialog-nav>a>b{margin-left:auto;font-weight:400}#pending-message{padding:28px 24px;font-size:15px;line-height:1.9}


/* Current copy stays semantic and flows within the supplied ticket / balloon artwork. */
.hq-slide{position:absolute;inset:0}
.hq-audience{position:absolute;left:33.25%;top:29.8%;width:48%;font-size:2.2cqw;line-height:1.6;white-space:nowrap}
.hq-event{position:absolute;left:19.1%;top:33.4%;width:55%;font-size:3.9cqw;line-height:1.35}
.hq-event-long{font-size:3.35cqw;letter-spacing:-.045em;white-space:nowrap}
.hq-slide dl{margin:0}.hq-slide dd{margin:0;font-weight:700;font-size:3.8cqw;line-height:1.35}
.hq-slide small{display:block;font-size:2.35cqw;font-weight:400;line-height:1.35;margin-top:.35cqw}
.hq-place,.hq-date,.hq-time{position:absolute}.hq-place{left:19.1%;top:44.5%;width:58%}.hq-date{left:19.1%;top:55.8%;width:29%}.hq-time{left:51.8%;top:55.8%;width:32%}
.hq-date dd{font-size:3cqw;white-space:nowrap}.hq-time dd{font-size:3.7cqw;white-space:nowrap}
.hq-description{position:absolute;left:19.3%;top:62.6%;width:62%;height:30%;background:white;font-size:2.9cqw;line-height:1.55;display:flex;flex-direction:column;align-items:center;text-align:left;padding:.2cqw 0}
.hq-description>p{width:100%;flex-shrink:0}.hq-description .hq-note{font-size:2.25cqw;line-height:1.4;margin-top:1cqw}.hq-logo{width:15cqw;height:15cqw;object-fit:contain;margin:auto auto 0;min-height:0;flex:0 1 auto}
.hq-description.has-logo{font-size:3.1cqw;line-height:1.5}.hq-description.has-logo:has(.hq-note){font-size:2.8cqw}.hq-description.has-logo:has(.hq-note) .hq-logo{width:11cqw;height:11cqw}
.hq-place:has(small) dd{font-size:3.3cqw;line-height:1.2}.hq-place small{font-size:2.2cqw}
.hq-labels>span{position:absolute;font-size:2.8cqw;line-height:1.4;color:white}.hq-label-event{left:20.4%;top:29.9%}.hq-label-place{left:20.4%;top:41.1%}.hq-label-date{left:21.2%;top:52.2%}.hq-label-time{left:53.9%;top:52.2%}
.hq-arrow{position:absolute;top:47.5%;width:10%;height:10%;min-height:36px;background:transparent;border-radius:50%}.hq-arrow:hover{box-shadow:0 0 0 2px #fff8}.hq-prev{left:1.2%}.hq-next{right:1.2%}
.hq-noscript{position:absolute;top:95%;z-index:5;background:#fff;padding:12px;font-size:14px;max-height:60vh;overflow:auto;box-shadow:0 3px 12px #0002}.hq-noscript h3{margin:18px 0 4px}
.unizania-copy{position:absolute;left:18%;top:19.6%;width:65%;font-size:2.8cqw;line-height:1.45;text-align:center;letter-spacing:-.03em}
.game-reward{position:absolute;left:20%;top:56.6%;width:60%;text-align:center;font-size:2.5cqw}
.riddle-copy{top:82.4%;left:17%;width:66%;font-size:2.95cqw;line-height:1.5}
.timetable-tabs{position:absolute;left:6%;top:16.4%;width:88%;height:7.5%;display:flex;align-items:stretch;gap:1cqw;background:#fff;padding:0 0 0 2cqw}
.timetable-tabs button{width:34%;border-radius:1.2cqw 1.2cqw 0 0;font-size:4.3cqw;font-weight:700;background:#eaf0f4;color:#53647a;line-height:1.1;padding:1cqw}.timetable-tabs small{display:block;font-size:2.5cqw;line-height:1.5}
.timetable-tabs [aria-selected="true"]{background:#304970;color:#fff}.timetable-tabs button:last-child[aria-selected="true"]{background:#e94475}
.timetable-panels{position:absolute;top:23.7%;left:6.7%;width:86.6%;min-height:66%;padding:.8cqw;background:#fff}
.timetable-panels img{width:100%;height:auto}.timetable-panels a{display:block}.timetable-zoom{text-align:center;font-size:2.3cqw;color:#53647a;padding:.4cqw}
.timetable-fallback{position:absolute;bottom:1%;left:28%;font-size:3cqw;background:#fff;padding:6px}
@media print{.hq-slide[hidden]{display:block!important;position:static;padding:20px;background:#fff}.hq-slide[hidden]>*{position:static}.hq-arrow{display:none}.timetable-tabs{display:none}#timetable-panel-2[hidden]{display:block!important}}

/* Live labels sit inside padded boxes while retaining the original ticket artwork. */
.hq-labels>span{display:flex;align-items:center;justify-content:center;width:13.24%;height:3.52%;padding:0;font-size:2.5cqw;line-height:1;background:#e98c44;box-shadow:0 0 0 .35cqw white}
.hq-label-event{left:18.95%;top:30%}
.hq-label-place{left:18.95%;top:41.14%}
.hq-label-date{left:18.95%;top:52.34%}
.hq-label-time{left:51.65%;top:52.34%}
.hq-audience{left:32.19%;top:30%;width:49.1%;height:3.52%;display:flex;align-items:center;padding:0 1cqw;border:1px solid #e98c44;background:white;box-shadow:0 0 0 .18cqw white;font-size:2.05cqw;line-height:1.2}
.hq-event{top:34.45%;font-size:3.65cqw;line-height:1.2}
.hq-event-long{font-size:3.15cqw}
.hq-place{top:45.6%}
.hq-place dd{font-size:3.65cqw;line-height:1.2}
.hq-place:has(small){top:45.25%}
.hq-place:has(small) dd{font-size:3.15cqw}
.hq-place small{font-size:2.05cqw;margin-top:0;line-height:1.15}
.hq-date,.hq-time{top:56.9%}
.hq-date{width:24.3%}
.hq-date dd{font-size:2.45cqw;letter-spacing:-.055em;line-height:1.3}
.hq-time dd{font-size:3.5cqw;line-height:1.2}
.hq-time small{font-size:2.05cqw;line-height:1.15;margin-top:0}
.hq-description{top:63.5%;height:29.1%}
.hq-arrow{top:48%;width:8.2%;height:auto;aspect-ratio:1;min-height:0}
.hq-prev{left:2.1%}.hq-next{right:2.1%}

/* The passports are foreground cutouts, above both tab and timetable panels. */
.timetable-passport{position:absolute;z-index:3;pointer-events:none;user-select:none;max-width:none}
.timetable-passport-blue{left:-11.2%;top:84%;width:23%}
.timetable-passport-red{left:85.4%;top:16.42105%;width:16.4%}
.timetable-tabs,.timetable-panels{z-index:1}

/* Keep the exact composition fixed in layout; only transform painted layers. */
.highlight-sky{position:absolute;left:0;right:0;top:7.216495%;bottom:0;overflow:hidden;z-index:-1;pointer-events:none;mask-image:linear-gradient(transparent,#000 7%,#000 94%,transparent)}
.highlight-sky img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;animation:cloud-drift 9s ease-in-out infinite alternate;transform-origin:center}
.highlights-heading{position:absolute;left:-13%;top:0;width:126%;max-width:none;pointer-events:none;z-index:-2}
.floating-balloon{position:absolute;left:0;width:100%;height:25.257732%;transform-origin:50% 35%;animation:balloon-float 4.8s ease-in-out infinite}
.floating-balloon:nth-of-type(2){animation-duration:5.4s;animation-delay:-3.5s}
.floating-balloon:nth-of-type(3){animation-duration:6s;animation-delay:-7s}
.balloon-art{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1}
.balloon-content{position:absolute;top:6%;left:17%;width:66%;text-align:center;color:#3e3a39}
.balloon-label{display:block;width:13.2cqw;margin:0 auto;padding:.3cqw 0;background:#fff;color:var(--balloon-accent);font-size:2.8cqw;line-height:1;letter-spacing:0;font-weight:400}
.balloon-event{width:82%;margin-inline:auto;padding-bottom:.8cqw;border-bottom:1px dotted #776c6a90}
.balloon-event h3{margin:.6cqw 0 0;font-size:4cqw;line-height:1.2;letter-spacing:-.035em}
.balloon-facts{margin:0;display:grid;grid-template-columns:1fr 1fr;column-gap:1cqw}
.balloon-facts dd{margin:.6cqw 0 0;font-size:3.2cqw;font-weight:700;line-height:1.3;white-space:nowrap;letter-spacing:-.035em}
.balloon-place{grid-column:1/-1;margin-top:1.2cqw;padding-bottom:1cqw;border-bottom:1px dotted #776c6a90}
.balloon-game .balloon-place dd{font-size:3.6cqw}
.balloon-when{margin-top:1.2cqw;padding-bottom:1cqw;border-bottom:1px dotted #776c6a90}
.balloon-when .balloon-day{font-size:3.1cqw;letter-spacing:-.065em}
.balloon-when .balloon-time{font-size:3.5cqw;letter-spacing:-.05em}
.balloon-description{margin:2cqw 0 0;font-size:2.8cqw;line-height:1.45;letter-spacing:-.035em}
.balloon-line{display:block;width:max-content;margin-inline:auto;white-space:nowrap}
.balloon-game .balloon-description{font-size:3cqw}
.balloon-riddle .balloon-description{font-size:2.9cqw}
.balloon-reward{margin:1cqw 0 0;font-size:2.5cqw;line-height:1.4}

/* The greeting uses last year's introduction, updated for the 62nd festival. */
.letter h3{font-size:3.8cqw;white-space:nowrap}
.letter .letter-message{line-height:1.8;margin-bottom:3cqw}

/* Clip moving content to the white ticket, leaving its decoration in place. */
#hq-slides{position:absolute;inset:0;clip-path:inset(19% 0 4% 0)}
.hq-slide{backface-visibility:hidden}
@keyframes balloon-float{0%,100%{transform:translate3d(-.7cqw,.9cqw,0) rotate(-.6deg)}50%{transform:translate3d(1cqw,-2.4cqw,0) rotate(.6deg)}}
@keyframes cloud-drift{from{transform:scale(1.12) translate3d(-3.8%,-.25%,0)}to{transform:scale(1.12) translate3d(3.8%,.25%,0)}}

/* Every slide owns its entire ticket, labels and shadow. */
.hq-card-art{position:absolute;left:-13%;top:0;width:126%;height:100%;max-width:none;pointer-events:none}
.sweater-logo{position:absolute;left:17.5%;top:44.6%;width:22%;aspect-ratio:250/160;overflow:hidden;border-radius:1cqw}
.sweater-logo img{position:absolute;width:626.8%;height:auto;max-width:none;left:-472%;top:-312.5%}

#hq-slides{touch-action:pan-y pinch-zoom;cursor:grab;user-select:none;-webkit-user-select:none}
#hq-slides.is-dragging{cursor:grabbing}

/* Enlarge the complete balloon, including its copy, without changing float motion. */
.floating-balloon{scale:1.18;transform-origin:50% 50%;margin-top:4cqw}
.sponsor-banner{position:absolute;display:flex;align-items:center;justify-content:center;background:#fff;padding:1.5cqw}.sponsor-chiba{left:10.1%;top:34.296875%;width:38%;height:11.71875%}.sponsor-banner img{display:block;width:100%;height:100%;object-fit:contain}
/* Sponsor heading, introduction, and confirmed sponsors only. */
.sponsors{background:#b9f3ff}
.sponsors-heading-art{clip-path:inset(0 0 67% 0)}

.sponsors-intro{position:absolute;left:10%;top:41cqw;width:80%;font-size:3.2cqw;line-height:1.8;color:#304970}
.sponsors-intro p{margin:0 0 1.5cqw}
.sponsors .sponsor-chiba{top:73.9cqw;height:15cqw}
.menu-sponsors{top:92%;display:flex;align-items:center;gap:4cqw;width:43%;height:6.5%;color:#333;font-size:3.9cqw;border-radius:0;border-bottom:1px dotted #304970}
.menu-sponsors>span{font:italic 6cqw/1 Georgia,serif;color:#304970}




.sponsor-tour{left:52%;top:73.9cqw;width:38%;height:15cqw;flex-direction:column;padding:1.2cqw;gap:1cqw}
.tour-logo-row{display:flex;align-items:center;width:100%;gap:1%;background:#fff}
.sponsor-tour .tour-mark{width:25%;height:auto;background:#102d51;isolation:isolate}
.sponsor-tour .tour-name{width:74%;height:auto;background:#102d51;isolation:isolate}

.sponsor-tour .tour-logo-row img{width:100%;height:auto;mix-blend-mode:screen}

/* Keep the complete suitcase above the sliding ticket, without blocking gestures. */
.hq-suitcase-overlay{z-index:5;pointer-events:none;clip-path:polygon(14.2% 93.2%,18% 92.3%,18.1% 91.5%,18.8% 90.7%,20% 90.2%,21.3% 90.2%,22.5% 90.6%,23.3% 91.2%,23.6% 91.8%,26% 91.1%,26.8% 91.5%,28.1% 98%,27.7% 99%,15.7% 100%,14.2% 94%)}

.sponsor-shino{left:10.1%;top:94cqw;width:38%;height:15cqw;padding:1cqw;background:#fff;gap:1cqw}
.shino-mark{display:block;position:relative;width:10cqw;height:10.333cqw;flex-shrink:0;overflow:hidden}
.sponsor-shino .shino-mark img{position:absolute;left:-11.111%;top:-9.677%;width:119.556%;height:163.441%;max-width:none;object-fit:fill}

/* Current print-ready pamphlet cover; preserve the section heading and button. */
.brochure{background:#d7f3ff url("../assets/design/highlights-sky.webp") center/cover}
.brochure>.section-art{clip-path:inset(0 0 81% 0)}
.brochure>.brochure-bottom-art{clip-path:inset(74% 0 0 0)}
.brochure-cover-current{position:absolute;left:18.5%;top:22%;width:63%;height:auto;transform:rotate(-5deg);box-shadow:2cqw 2cqw 3cqw #30497040}

.shino-wordmark{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;gap:.7cqw;color:#222;line-height:1.3}
.shino-wordmark [lang="en"]{font:italic 700 1.85cqw/1.3 Arial,sans-serif;white-space:nowrap}
.shino-japanese{font:600 3.8cqw/1.3 "Yu Mincho","Hiragino Mincho ProN","Hiragino Mincho Pro","Noto Serif CJK JP",serif;letter-spacing:.08em}

html.opening-active{overflow:hidden}
#opening-splash{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#000;overflow:hidden;color:#fff}
#opening-splash::backdrop{background:#000}
#opening-video{display:block;width:100%;height:100%;object-fit:contain}
.opening-actions{position:absolute;right:max(20px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));display:flex;gap:12px}
.opening-actions button{min-height:44px;padding:10px 18px;border:1px solid #ffffff99;border-radius:24px;background:#000b;color:#fff;font-size:14px;cursor:pointer}
.opening-actions button:focus-visible{outline:3px solid #fff;outline-offset:4px}

.brochure-year{position:absolute;left:34.7%;top:63.08%;width:5.35%;height:1.3%;background:#f5f9f9;color:#252f38;font:1.5cqw/1.4 Arial,sans-serif;transform:rotate(-5deg);white-space:nowrap}
@media(min-width:1001px){
  /* Fill the viewport; keep lettering proportional and limit cropping on tall screens. */
  .countdown-side,.contents-side{height:100vh;height:100dvh;display:grid;place-items:center;background:#f7f2e8 linear-gradient(#fffdf5c9,#fffdf5c9);isolation:isolate;overflow:clip}
  .countdown-side:before,.contents-side:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(#fffdf5b8,#fffdf5b8),url('../assets/paper.webp') center/cover}
  .countdown-art,.contents-side nav{width:min(130%,max(100%,66.615385vh));width:min(130%,max(100%,66.615385dvh));aspect-ratio:433/650;max-width:none}
}
@media(max-width:1000px){
  .layout{display:block;max-width:500px}
  .layout>main{box-shadow:10px 0 18px #c3ad4033,-4px 0 16px #c8b97511}
  .contents-side{display:none}
  .countdown-side{position:relative;margin:auto;width:100%;max-width:433px}
  .mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;z-index:20;background:#fffef9f5;border-top:1px solid #b4c7d2;padding:6px 8px calc(6px + env(safe-area-inset-bottom));backdrop-filter:blur(12px)}
  .mobile-nav a,.mobile-nav button{display:block;flex:1;text-align:center;text-decoration:none;font-size:12px;color:var(--ink);padding:10px 4px;background:transparent;border-right:1px solid #ccd6dd;min-height:40px}
  .mobile-nav button{border:0}
  body{padding-bottom:65px}
  html{scroll-padding-bottom:80px}
}
@media(max-width:560px){
  .hero{flex-direction:column}
  .hero-left,.hero-right{width:100%}
  .layout{width:calc(100% - 30px)}
  .countdown-side{width:calc(100% + 30px);margin-left:-15px;max-width:none}
  .layout>main{box-shadow:8px 0 12px #c3ad4033}
  .source-copy{font-synthesis:none}
  .dialog-foot{padding:12px}
  .primary{padding:12px 14px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{animation:none!important;transition:none!important}
}
@media print{
  .mobile-nav,.contents-side,dialog,.countdown-side{display:none}
  body{padding:0}
  .layout{display:block}
  .layout>main{width:500px;margin:auto;box-shadow:none}
  .program-list{overflow:visible}
  .program-panel{position:relative;top:0;height:auto;padding-top:220px}
  .programs{aspect-ratio:auto}
  .programs .section-art{height:100%;object-fit:cover;object-position:top}
  .program-tools{display:none!important}
  .envelope{transform:translateY(70.3125%)}
  .letter{opacity:1;transform:none;z-index:4}
  .env-flap,.seal,.envelope-closed{display:none}
}

@media(max-width:560px){
 .headquarters{aspect-ratio:500/790!important}
 .headquarters>.section-art{height:100%;object-fit:fill}
 .hq-card-art{object-fit:fill}
 .hq-description,.hq-description.has-logo,.hq-description.has-logo:has(.hq-note){font-size:3.65cqw;line-height:1.5;top:62%;height:31.5%}
 .hq-description .hq-note{font-size:3.1cqw;line-height:1.4}
 .hq-event,.hq-place dd{font-size:4.6cqw}
 .hq-event-long{font-size:3.7cqw}
 .hq-place:has(small) dd{font-size:4cqw}
 .hq-date dd{font-size:3cqw}
 .hq-time dd{font-size:4cqw}
 .hq-place small,.hq-time small{font-size:2.7cqw}
 .hq-audience{font-size:2.65cqw;white-space:normal}
 .hq-labels>span{font-size:3.2cqw}
 #pending-title{font-size:22px}
 #pending-message{font-size:18px;line-height:1.8}
 .letter p{font-size:3.3cqw}
 .letter h3{font-size:4.1cqw}
 .letter .letter-school{font-size:3cqw}
}

/* Nine consistent, readable links, all inside the viewport. */
@media(min-width:1001px){
.contents-side nav{width:100%;height:100%;aspect-ratio:auto}
.contents-side nav>img{height:100%;object-fit:fill}
.contents-list-background{position:absolute;inset:23% 0 9%;background:#f4eddf url('../assets/paper.webp') center/cover}
.contents-side .contents-entry{left:15%;top:calc(24% + var(--row)*7.2%);width:72%;height:6.8%;display:flex;align-items:center;gap:2%;border-radius:0;font-size:3.6cqw;color:#333}
.contents-number{flex:0 0 21%;height:95%;display:grid;place-items:center;color:#304970;font:italic 6cqw/1 Georgia,serif;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 60'%3E%3Cpath d='M10 52C0 49 2 36 9 32C2 20 13 10 23 16C28 1 48 0 54 14C70 9 81 24 72 36' fill='none' stroke='%23304970' stroke-width='1.8'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.contents-label{flex:1;height:90%;display:flex;align-items:center;border-bottom:2px dotted #304970;white-space:nowrap}


}

@media(min-width:1001px){
.contents-side nav{background:linear-gradient(#fffaf080,#fffaf080),url('../assets/paper.webp') center/cover}
.contents-side nav>img,.contents-list-background{display:none}
.contents-side nav:before{content:"目 次";position:absolute;top:6%;left:0;width:100%;text-align:center;color:#304970;font:700 10cqw/1.6 var(--serif);z-index:1}
.contents-side nav:after{content:"Contents";position:absolute;top:5%;left:0;width:100%;text-align:center;color:#bca07680;font:italic 12cqw/1.8 Georgia,serif;pointer-events:none}
}

/* Hand-drawn greeting: the greeting stays on the envelope; the theme rises out. */
.greeting .envelope{top:57%;height:31%;transform:none;transition:none}
.greeting .env-front{clip-path:none;background:#cc525e}
.greeting .env-front:before,.greeting .env-front:after{opacity:.14}
.greeting .letter{left:12%;width:76%;height:50cqw;bottom:88%;padding:5cqw 3cqw;overflow:hidden;justify-content:center;z-index:2;transform:translateY(105%);opacity:0;transition:transform 1.25s ease,opacity .3s}
.greeting .letter h3{white-space:normal;font-size:5cqw;line-height:1.8;margin:0}
.greeting .letter .eyebrow{font-size:2.8cqw;margin-bottom:3cqw}
.greeting .open .letter{transform:none;opacity:1;z-index:2;transition-delay:2s}
.envelope-message{position:absolute;inset:0;z-index:4;padding:3cqw 4cqw;text-align:center;color:#fffdf6;opacity:0;transition:opacity .5s}
.envelope-message h3{font:700 4.6cqw/1.5 var(--serif);margin:0 0 1.5cqw}
.envelope-message p{font-size:3.5cqw;line-height:1.6;margin:0 0 1.5cqw}
.open .envelope-message{opacity:1;transition-delay:.75s}
.greeting .env-flap{transition:transform .8s ease,z-index 0s .4s,opacity .2s}
.greeting .open .envelope{transform:none}
.greeting .envelope-closed{transition:opacity .3s}
.inline-contents{padding:40px 10%;background:#f7f1e5 url('../assets/paper.webp') center/cover;container-type:inline-size}
.inline-contents h2{text-align:center;font:700 8cqw/1.5 var(--serif);color:var(--ink);margin:0 0 5cqw}
.inline-contents nav{display:grid;gap:2cqw}
.inline-contents a{display:flex;gap:4cqw;align-items:center;min-height:10cqw;text-decoration:none;border-bottom:1px dotted var(--ink);font-size:4.7cqw}
.inline-contents a span{font:italic 6cqw/1 Georgia,serif;color:var(--ink)}
@media(prefers-reduced-motion:reduce){.greeting .letter,.envelope-message{transition:none}}


.greeting .letter{left:8%;width:84%;height:48cqw;bottom:100%;padding:3cqw 2cqw}
.greeting .letter h3{font-size:4.5cqw;line-height:1.5;flex-shrink:0}
.greeting .letter .eyebrow{font-size:2.5cqw;margin:0 0 2cqw;flex-shrink:0}
.greeting .letter .theme-message{font-size:2.6cqw;line-height:1.8;margin:3cqw 0 0;color:var(--ink);flex-shrink:0}

/* Clip the moving letter at the envelope bottom, including during replay. */
.greeting .envelope{clip-path:inset(-200% -10% 0 -10%)}

/* 2026-10-16: keep captions clear of the printed rules and reserve every logo. */
.hq-slide:has(.hq-event-long)::before{content:"";position:absolute;left:74%;top:33%;width:10%;height:4.8%;background:#fff}
.hq-event-long{width:63%;font-size:4.45cqw;letter-spacing:-.05em;line-height:1.15}
.hq-audience{white-space:nowrap;font-size:1.95cqw;padding-inline:.8cqw}
.hq-place small,.hq-time small{display:block;position:relative;width:max-content;max-width:100%;background:white;line-height:1.4;padding:.25cqw .2cqw;font-size:2.15cqw}
.hq-place small{margin-top:1.15cqw}
.hq-time small{margin-top:1.15cqw}
.hq-date{width:24%}
.hq-date dd{font-size:2.25cqw;letter-spacing:-.05em;white-space:nowrap}
.hq-description,.hq-description.has-logo,.hq-description.has-logo:has(.hq-note){top:64%;height:29%;font-size:2.8cqw;line-height:1.5;gap:.7cqw}
.hq-description .hq-note{font-size:2.15cqw;line-height:1.4;margin:0}
.hq-description .hq-logo,.hq-description.has-logo:has(.hq-note) .hq-logo{width:15cqw;height:15cqw;min-height:15cqw;flex:0 0 15cqw;object-fit:contain;margin:auto auto 0}
.balloon-reward{color:#c92525;font-weight:700}
.balloon-unizania .balloon-description{font-size:2.65cqw;line-height:1.35}
.payment-methods{position:absolute;left:60%;top:80.5%;width:33%;display:flex;gap:1cqw;color:#2d4769}
.payment-methods figure{margin:0;flex:1;min-width:0;text-align:center}
.payment-methods svg{width:100%;fill:#fff;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.payment-methods figcaption{font-size:2.2cqw;font-weight:700;white-space:nowrap}
@media(max-width:560px){
.hq-event-long{font-size:4.6cqw}
.hq-audience{font-size:1.95cqw;white-space:nowrap}
.hq-date dd{font-size:2.25cqw}
.hq-place small,.hq-time small{font-size:2.4cqw;margin-top:1.4cqw}
.hq-description,.hq-description.has-logo,.hq-description.has-logo:has(.hq-note){font-size:3.2cqw;line-height:1.45;top:64%;height:29%}
.hq-description .hq-note{font-size:2.55cqw;line-height:1.35}
}
.hq-event-long{font-size:5.15cqw;width:63%;background:white;letter-spacing:-.055em}
.hq-time dd{font-size:3.3cqw;letter-spacing:-.035em}
@media(max-width:560px){.hq-event-long{font-size:5.15cqw}.hq-time dd{font-size:3.3cqw}}
.hq-slide:has(.hq-event-long)::before{z-index:1}
.hq-event-long{z-index:2}
@media(min-width:561px){.hq-description.has-logo:has(.hq-note){font-size:2.5cqw;line-height:1.45}.hq-description .hq-note{font-size:2cqw}}
/* Place captions below the printed PLACE rule, matching the time captions. */
.hq-place:has(small){top:45.25%}
.hq-place small{position:absolute;top:5.8cqw;left:0;margin:0;padding:.15cqw .2cqw;line-height:1.2;max-width:none;white-space:nowrap}
@media(max-width:560px){.hq-place small{top:7.7cqw;margin:0}}

/* Keep date numerals legible; compact only the weekday labels. */
.hq-date dd{font-size:3cqw;letter-spacing:-.035em;white-space:nowrap}
.hq-date .hq-weekday{font-size:.7em;letter-spacing:-.04em;white-space:nowrap}
/* Match DATE/TIME numeral sizes and slightly narrow the TIME column. */
.hq-time{width:29%}
.hq-time dd{font-size:3cqw;letter-spacing:-.035em}
.hq-labels>.hq-label-time{width:12%}
.hq-labels>.hq-label-time::after{content:"";position:absolute;left:100%;top:-.2cqw;bottom:-.2cqw;width:1.5cqw;background:#fff}

/* November 5 proof corrections. Keep the EVENT frame and plane unobscured. */
.hq-slide:has(.hq-event-long)::before{display:none}
.hq-event-long{width:56%;font-size:4.25cqw;letter-spacing:-.055em;background:transparent}
.hq-logo[src$="hq-night.webp"]{clip-path:inset(2% 0 0)}
.social-hit:hover{box-shadow:none}
.social-hit:focus-visible{outline:2px solid #304970;outline-offset:3px}

/* November 6: preserve the source silhouette, remove click rings and align visible logo sizes. */
.hq-suitcase-overlay{clip-path:none}
.hq-arrow:hover,.hq-arrow:active{box-shadow:none;outline:none}
.hq-arrow:focus:not(:focus-visible){box-shadow:none;outline:none}
.hq-arrow:focus-visible{outline:2px solid #304970;outline-offset:2px;box-shadow:none}
.hq-logo[src$="hq-opening.webp"]{clip-path:ellipse(36% 35% at 50% 47%);transform:scale(1.35);transform-origin:50% 50%}
.hq-logo[src$="hq-homecoming.webp"]{transform:scale(1.12);transform-origin:50% 100%}

/* Event-day and closing messages match the Mincho festival lettering. */
.countdown-art #days.today,.countdown-art #days.closed{font-family:"Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;font-size:21cqw;font-weight:700;font-style:normal;line-height:1;letter-spacing:-.04em;left:12%;width:76%;white-space:nowrap}

.sponsor-list{position:absolute;top:73.9cqw;left:10%;width:80%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4cqw}
.sponsor-list .sponsor-banner{position:static;width:100%}
.sponsor-list .sponsor-tour,.sponsor-list .sponsor-chiba{grid-column:1/-1;height:26cqw;padding:2cqw}
