* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body.schedule-page { margin: 0; color: #171716; background: #fffefa; font: 15px/1.7 'DM Sans', 'Noto Sans JP', sans-serif; overflow-x: hidden; }
.schedule-page img { display: block; max-width: 100%; }
.schedule-page button, .schedule-page a { font: inherit; }
.schedule-page a { color: inherit; text-decoration: none; }
.schedule-page [hidden] { display: none !important; }

.schedule-hero { position: relative; display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: center; min-height: 390px; padding: 46px max(8vw,40px) 58px; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 80% 92%,#c5edcf 0 16%,transparent 43%),linear-gradient(115deg,#fffefa 0%,#fff8e9 48%,#dff6f7 100%); }
.schedule-hero-picture { display:none; }
.schedule-hero::before { position: absolute; z-index: -1; content: ''; width: 390px; height: 390px; right: -65px; bottom: -220px; border-radius: 50%; background: #d2f0c4; }
.schedule-hero-copy { position: relative; z-index: 2; max-width: 520px; }
.schedule-script { margin: 0 0 -8px; color: #f3268b; font: italic 68px/1 'Brush Script MT','Segoe Script',cursive; letter-spacing: -.04em; transform: rotate(-5deg); transform-origin: left center; }
.schedule-hero h1 { margin: 4px 0 14px; font-size: clamp(36px,5vw,56px); font-weight: 900; letter-spacing: .04em; line-height: 1.3; }
.schedule-hero-lead { margin: 0; font-size: 14px; font-weight: 600; line-height: 2; }
.schedule-hero-truck { justify-self: end; width: min(100%,650px); max-height: 320px; object-fit: contain; filter: drop-shadow(0 14px 15px #59624a18); }
.schedule-spark { position: absolute; z-index: 1; color: #ffe34c; font-size: 48px; line-height: 1; }
.schedule-spark-one { top: 49px; right: 6%; transform: rotate(12deg); }
.schedule-spark-two { bottom: 77px; left: 46%; font-size: 30px; color: #f7a3c5; }
.schedule-wave { position: relative; z-index: 2; display: flex; height: 26px; margin-top: 0; overflow: hidden; }
.schedule-wave span { flex: 1; margin-top: -11px; border-radius: 50% 50% 0 0; background: #fffefa; }
.schedule-wave span:nth-child(2) { background: #fdf1c6; transform: translateY(6px); }
.schedule-wave span:nth-child(3) { background: #e4f7ee; transform: translateY(2px); }
.schedule-content { width: min(100% - 48px,1000px); margin: 0 auto; padding: 24px 0 64px; }
.schedule-view-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: min(460px,100%); margin: 0 auto 12px; padding: 5px; border: 1px solid #f5dce7; border-radius: 999px; background: #fff; box-shadow: 0 7px 20px #4928360a; }
.schedule-view-tab { min-height: 46px; border: 0; border-radius: 999px; color: #716b69; background: transparent; font-weight: 800 !important; cursor: pointer; transition: background .18s,color .18s,transform .18s; }
.schedule-view-tab span { margin-right: 5px; color: #f3268b; }
.schedule-view-tab.is-active { color: #fff; background: #f3268b; box-shadow: 0 5px 13px #f3268b35; }
.schedule-view-tab.is-active span { color: #fff; }
.schedule-view-tab:focus-visible,.month-button:focus-visible,.calendar-day:focus-visible,.upcoming-card:focus-visible,.next-event-trigger:focus-visible { outline: 3px solid #f3268b; outline-offset: 3px; }
.schedule-sample-note { margin: 0 0 28px; color: #8d817d; font-size: 11px; text-align: center; }
.schedule-panel { animation: panel-in .2s ease-out; }
@keyframes panel-in { from { opacity: .55; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.next-event-section,.upcoming-section { margin-top: 24px; }
.schedule-section-title { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto 18px; text-align: center; }
.schedule-section-title>span { color: #ffe34c; font-size: 24px; }
.schedule-kicker { margin: 0 0 2px; color: #f3268b; font-size: 10px; font-weight: 900; letter-spacing: .2em; line-height: 1.3; }
.schedule-section-title h2 { margin: 0; font-size: 23px; font-weight: 900; letter-spacing: .015em; line-height: 1.45; }
.next-event-trigger { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); width: 100%; min-height: 280px; padding: 0; overflow: hidden; border: 1px solid #f4ebdd; border-radius: 26px; background: #fff; box-shadow: 0 14px 40px #55462612; text-align: left; cursor: pointer; }
.next-event-image-wrap { position: relative; min-height: 100%; background: #f8f5ea; }
.next-event-image-wrap img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.next-badge { position: absolute; top: 16px; left: 16px; padding: 6px 13px; border-radius: 999px; color: #fff; background: #f3268b; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.next-event-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: 28px clamp(22px,4vw,48px); }
.event-status { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; color: #168b69; background: #e8f8ef; font-size: 10px; font-weight: 800; }
.next-event-name { margin-top: 12px; font-size: clamp(19px,2.4vw,27px); font-weight: 900; line-height: 1.5; }
.next-event-date { margin-top: 7px; color: #f3268b; font-size: 17px; font-weight: 900; }
.next-event-meta { margin-top: 5px; color: #625c58; font-size: 12px; }
.next-event-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 17px; color: #f3268b; font-size: 12px; font-weight: 900; }
.next-event-link span { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #f5a7ca; border-radius: 50%; }
.upcoming-list { display: grid; gap: 11px; }
.upcoming-card { display: grid; grid-template-columns: 64px minmax(0,1fr) 24px; align-items: center; gap: 15px; width: 100%; min-height: 92px; padding: 13px 18px; border: 1px solid #f5eadf; border-radius: 18px; background: #fff; box-shadow: 0 7px 19px #5546260a; text-align: left; cursor: pointer; transition: transform .18s,box-shadow .18s; }
.upcoming-card:hover,.next-event-trigger:hover { box-shadow: 0 12px 26px #55462618; transform: translateY(-2px); }
.upcoming-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 17px; color: #f3268b; background: #fff0f6; }
.upcoming-date strong { font-size: 23px; line-height: 1; }
.upcoming-date small { margin-top: 3px; font-size: 10px; font-weight: 800; }
.upcoming-date-range { display: none; }
.upcoming-card-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; gap: 3px; }
.upcoming-card-copy strong { max-width: 100%; font-size: 14px; font-weight: 900; line-height: 1.5; }
.upcoming-card-copy .upcoming-event-date { color: #f3268b; font-size: 11px; font-weight: 800; line-height: 1.45; }
.upcoming-card-copy>span:last-child { max-width: 100%; color: #736d68; font-size: 11px; line-height: 1.55; }
.upcoming-card-compact { grid-template-columns: 55px minmax(0,1fr) 20px; min-height: 77px; padding: 10px 13px; }
.upcoming-card-compact .upcoming-date { width: 50px; height: 50px; border-radius: 15px; }
.upcoming-card-compact .upcoming-date strong { font-size: 20px; }
.upcoming-card-compact .upcoming-card-copy strong { font-size: 13px; }
.upcoming-card-compact .upcoming-card-copy>span:last-child { font-size: 10px; }
.upcoming-arrow { color: #f3268b; font-size: 20px; }
.no-schedule-message { margin: 0; padding: 20px; border: 1px dashed #e9d8c5; border-radius: 16px; color: #7a716c; background: #fffdf8; font-size: 13px; text-align: center; }

.calendar-panel { padding: 28px clamp(16px,4vw,46px) 34px; border: 1px solid #f2eadc; border-radius: 28px; background: linear-gradient(145deg,#fffefa,#fffdf3); box-shadow: 0 12px 34px #5546260d; }
.calendar-toolbar { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px; max-width: 460px; margin: 0 auto 18px; }
.calendar-toolbar h2 { margin: 0; font-size: 22px; font-weight: 900; text-align: center; }
.month-button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #f7c6dc; border-radius: 50%; color: #f3268b; background: #fff; font-size: 30px !important; line-height: 1; cursor: pointer; }
.calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); max-width: 540px; margin: 0 auto; overflow: hidden; border: 1px solid #f2eadc; border-radius: 17px; background: #fff; }
.calendar-weekday { display: grid; place-items: center; height: 37px; color: #514a46; background: #fff6dc; font-size: 12px; font-weight: 900; }
.calendar-weekday.is-sunday { color: #f3268b; }
.calendar-weekday.is-saturday { color: #418fbd; }
.calendar-days { display: contents; }
.calendar-day,.calendar-blank { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 58px; border: 0; border-top: 1px solid #f4eee5; border-right: 1px solid #f4eee5; color: #312d2a; background: #fff; font-size: 14px !important; font-weight: 700; cursor: pointer; }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day.has-event { color: #f3268b; font-weight: 900; }
.calendar-day.has-event::before { position: absolute; inset: 8px; border: 1px solid #f6bdd7; border-radius: 50%; content: ''; }
.calendar-day.is-selected::before { border: 0; background: #f3268b; box-shadow: 0 5px 12px #f3268b40; }
.calendar-day.is-selected { color: #fff; }
.calendar-day>* { position: relative; z-index: 1; }
.calendar-dot { position: absolute; z-index: 1; bottom: 9px; width: 5px; height: 5px; border-radius: 50%; background: #f3268b; }
.calendar-day.is-selected .calendar-dot { background: #fff; }
.calendar-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 20px; margin: 13px auto 29px; color: #716a65; font-size: 10px; }
.calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; background: #f3268b; }
.event-dot { background: #ffe34c; }
.calendar-day-details { max-width: 650px; margin: 0 auto; }
.calendar-day-details .schedule-section-title { margin-bottom: 14px; }
.calendar-day-details .schedule-section-title h2 { font-size: 18px; }
.calendar-day-details .schedule-section-title>span { font-size: 18px; }
.calendar-day-details .no-schedule-message { padding: 15px; }
.schedule-bottom-wave { position: relative; display: flex; align-items: center; justify-content: flex-start; height: 105px; padding-left: max(8vw,40px); overflow: hidden; background: linear-gradient(180deg,#e8f8ed,#fff3cb); }
.schedule-bottom-wave::before { position: absolute; top: -32px; left: -5%; width: 110%; height: 65px; border-radius: 50%; background: #fffefa; content: ''; }
.schedule-bottom-wave::after { position: absolute; right: -4%; bottom: -49px; width: 115%; height: 92px; border-radius: 50% 50% 0 0; background: #fff1c9; content: ''; }
.schedule-bottom-wave img { position: relative; z-index: 1; width: 92px; opacity: .85; }
.schedule-page .site-footer { position: relative; z-index: 2; }

@media (min-width: 1024px) {
  .schedule-page .schedule-hero { padding:0; }
  .schedule-page .schedule-hero-picture { position:absolute; inset:0; display:block; }
  .schedule-page .schedule-hero::before,.schedule-page .schedule-hero-copy,.schedule-page .schedule-hero-truck,.schedule-page .schedule-spark { display:none; }
}

.schedule-dialog { position: fixed; width: min(520px,calc(100vw - 30px)); max-height: min(88vh,800px); padding: 0; overflow: auto; border: 0; border-radius: 25px; color: #171716; background: #fffefa; box-shadow: 0 25px 80px #21140d40; }
.schedule-dialog::backdrop { background: #1917148c; backdrop-filter: blur(3px); }
.dialog-close { position: sticky; z-index: 2; top: 12px; float: right; display: grid; place-items: center; width: 38px; height: 38px; margin: 12px 12px -50px 0; border: 1px solid #f1d8e3; border-radius: 50%; color: #f3268b; background: #fff; font-size: 25px !important; line-height: 1; cursor: pointer; }
#event-detail-content { padding: 0 25px 27px; }
.dialog-event-image { width: calc(100% + 50px) !important; max-width: none !important; height: 230px; margin: 0 -25px 22px; object-fit: cover; }
.dialog-kicker { margin: 14px 0 2px; color: #f3268b; font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.schedule-dialog h2 { margin: 5px 0 15px; font-size: 22px; line-height: 1.5; }
.event-detail-list { display: grid; gap: 0; margin: 0; }
.event-detail-list>div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f1eadf; font-size: 13px; }
.event-detail-list dt { color: #8b7f78; font-weight: 700; }
.event-detail-list dd { margin: 0; font-weight: 700; }
.dialog-description { color: #635c57; font-size: 13px; }
.map-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 6px; padding: 10px 15px; border-radius: 999px; color: #fff !important; background: #f3268b; font-size: 12px; font-weight: 800; }

@media (max-width: 760px) {
  .schedule-page .schedule-hero { display:block; min-height:0; height:auto; aspect-ratio:auto; padding:0; overflow:hidden; background:none; }
  .schedule-page .schedule-hero::before,.schedule-page .schedule-hero-copy,.schedule-page .schedule-hero-truck,.schedule-page .schedule-spark { display:none; }
  .schedule-page .schedule-hero-picture { display:block; width:100%; }
  .schedule-page .schedule-hero-image { display:block; width:100%; height:auto; object-fit:contain; }
  .schedule-hero { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); min-height: 300px; padding: 34px 5% 43px; }
  .schedule-script { font-size: clamp(45px,11vw,60px); }
  .schedule-hero h1 { font-size: clamp(29px,7vw,39px); }
  .schedule-hero-lead { font-size: 12px; }
  .schedule-hero-truck { max-height: 230px; }
  .schedule-spark-one { right: 3%; top: 30px; }
  .schedule-content { width: min(100% - 32px,620px); padding-top: 19px; }
  .calendar-panel { padding: 22px 16px 26px; }
  .calendar-day,.calendar-blank { min-height: clamp(44px,8vw,55px); }
  .schedule-bottom-wave { padding-left: 24px; }
}
@media (max-width: 420px) {
  .schedule-hero { min-height: 258px; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); gap: 0; padding: 28px 16px 34px; }
  .schedule-hero-copy { align-self: center; }
  .schedule-script { margin-bottom: -4px; font-size: 43px; }
  .schedule-hero h1 { margin-bottom: 7px; font-size: 27px; letter-spacing: 0; white-space: nowrap; }
  .schedule-hero-lead { max-width: 195px; font-size: 10px; line-height: 1.75; }
  .schedule-hero-truck { align-self: end; width: 120%; max-width: none; max-height: 185px; object-fit: contain; object-position: center bottom; transform: translateX(6px); }
  .schedule-spark-one { top: 24px; right: 4%; font-size: 32px; }
  .schedule-spark-two { left: 45%; bottom: 38px; font-size: 23px; }
  .schedule-wave { height: 19px; margin-top: 0; }
  .schedule-content { width: calc(100% - 28px); padding: 15px 0 42px; }
  .schedule-view-tabs { margin-bottom: 10px; padding: 4px; }
  .schedule-view-tab { min-height: 42px; font-size: 13px !important; }
  .schedule-sample-note { margin-bottom: 19px; font-size: 9px; }
  .next-event-section,.upcoming-section { margin-top: 20px; }
  .schedule-section-title { gap: 8px; margin-bottom: 12px; }
  .schedule-section-title>span { font-size: 18px; }
  .schedule-kicker { font-size: 8px; }
  .schedule-section-title h2 { font-size: 18px; }
  .next-event-trigger { grid-template-columns: 1fr; min-height: 0; border-radius: 20px; }
  .next-event-image-wrap { height: 165px; min-height: 165px; }
  .next-event-image-wrap img { min-height: 0; height: 100%; object-position: center 54%; }
  .next-badge { top: 11px; left: 11px; padding: 5px 10px; font-size: 9px; }
  .next-event-copy { padding: 14px 17px 16px; }
  .next-event-name { margin-top: 7px; font-size: 18px; }
  .next-event-date { margin-top: 4px; font-size: 15px; }
  .next-event-meta { margin-top: 3px; font-size: 10px; }
  .next-event-link { margin-top: 10px; font-size: 11px; }
  .upcoming-list { gap: 8px; }
  .upcoming-card { box-sizing: border-box; min-width: 0; grid-template-columns: 45px minmax(0,1fr) 18px; gap: 8px; min-height: 76px; padding: 9px; border-radius: 15px; }
  .upcoming-date { width: 45px; height: 49px; border-radius: 13px; }
  .upcoming-card-copy { width: 100%; min-width: 0; max-width: 100%; }
  .upcoming-card-copy>* { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .upcoming-date strong { font-size: 19px; }
  .upcoming-date small { font-size: 9px; }
  .upcoming-card-copy { gap: 2px; }
  .upcoming-card-copy .event-status { padding: 2px 7px; font-size: 8px; }
  .upcoming-card-copy strong { font-size: 11px; line-height: 1.35; }
  .upcoming-card-copy .upcoming-event-date { font-size: 9px; }
  .upcoming-card-copy>span:last-child { font-size: 9px; line-height: 1.4; }
  .upcoming-arrow { justify-self: end; width: 18px; font-size: 17px; text-align: center; }
  .calendar-panel { padding: 17px 10px 20px; border-radius: 21px; }
  .calendar-toolbar { grid-template-columns: 36px 1fr 36px; gap: 7px; margin-bottom: 13px; }
  .month-button { width: 34px; height: 34px; font-size: 25px !important; }
  .calendar-toolbar h2 { font-size: 18px; }
  .calendar-grid { border-radius: 13px; }
  .calendar-weekday { height: 31px; font-size: 10px; }
  .calendar-day,.calendar-blank { min-height: 42px; font-size: 11px !important; }
  .calendar-day.has-event::before { inset: 4px; }
  .calendar-dot { bottom: 5px; width: 4px; height: 4px; }
  .calendar-legend { gap: 7px 12px; margin: 10px auto 21px; font-size: 9px; }
  .calendar-day-details .schedule-section-title h2 { font-size: 14px; }
  .upcoming-card-compact { grid-template-columns: 43px minmax(0,1fr) 16px; gap: 8px; min-height: 66px; padding: 8px; }
  .upcoming-card-compact .upcoming-date { width: 41px; height: 44px; }
  .upcoming-card-compact .upcoming-date strong { font-size: 17px; }
  .upcoming-card-compact .upcoming-card-copy strong { font-size: 10px; }
  .upcoming-card-compact .upcoming-card-copy>span:last-child { font-size: 8px; }
  .schedule-bottom-wave { height: 82px; padding-left: 15px; }
  .schedule-bottom-wave img { width: 68px; }
  .schedule-dialog { border-radius: 19px; }
  #event-detail-content { padding: 0 17px 20px; }
  .dialog-event-image { width: calc(100% + 34px) !important; height: 180px; margin-right: -17px; margin-left: -17px; }
  .schedule-dialog h2 { font-size: 18px; }
  .event-detail-list>div { grid-template-columns: 56px 1fr; gap: 7px; font-size: 11px; }
}
@media (max-width: 430px) {
  .upcoming-section .upcoming-card { box-sizing: border-box; min-width: 0; min-height: 120px; grid-template-columns: 82px minmax(0,1fr) 18px; gap: 8px; padding: 10px; }
  .upcoming-section .upcoming-date { box-sizing: border-box; width: 82px; height: 50px; flex: 0 0 82px; padding: 0 3px; }
  .upcoming-section .upcoming-date-days,
  .upcoming-section .upcoming-date-month { display: none; }
  .upcoming-section .upcoming-date .upcoming-date-range { display: block; font-size: 14px; font-weight: 700; line-height: 1.15; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .upcoming-section .upcoming-card-copy { width: 100%; min-width: 0; max-width: 100%; gap: 4px; }
  .upcoming-section .upcoming-card-copy>* { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .upcoming-section .upcoming-card-copy .event-status { max-width: 100%; padding: 3px 8px; font-size: 9px; white-space: normal; }
  .upcoming-section .upcoming-card-copy strong { font-size: 14px; line-height: 1.4; }
  .upcoming-section .upcoming-card-copy .upcoming-event-date { display: none; }
  .upcoming-section .upcoming-card-copy>span:last-child { font-size: 11px; line-height: 1.5; }
  .upcoming-section .upcoming-arrow { justify-self: end; width: 18px; font-size: 17px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
