@charset "UTF-8";

:root {
  --pink: #e94378;
  --pink-dark: #c82960;
  --orange: #f59e42;
  --yellow: #ffd166;
  --blue: #3489db;
  --purple: #8355d9;
  --navy: #182135;
  --text: #1e293b;
  --muted: #64748b;
  --paper: #fffaf2;
  --white: #ffffff;
  --line: #e5e7eb;
  --radius: 24px;
  --shadow: 0 16px 38px rgba(51, 65, 85, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#page-top { scroll-margin-top: 0; }

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.8;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 999;
  padding: 10px 14px; color: #fff; background: #111827;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.7);
  background: rgba(255,250,242,.93);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: min(1120px, calc(100% - 40px)); min-height: 72px;
  margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  padding: 3px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-text span { display: block; line-height: 1.3; }
.brand-en { color: var(--pink-dark); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.brand-ja { font-weight: 900; }
.global-nav { display: flex; gap: 7px; }
.global-nav a { padding: 8px 12px; border-radius: 10px; font-size: .9rem; font-weight: 700; text-decoration: none; }
.global-nav a:hover, .global-nav a:focus-visible { color: var(--pink-dark); background: #fff; outline: none; }

.hero { position: relative; overflow: hidden; min-height: calc(100svh - 72px); padding: 34px 0 38px; display: flex; align-items: flex-start; }
.hero-decoration { position: absolute; border-radius: 50%; filter: blur(55px); opacity: .65; pointer-events: none; }
.decoration-one { top: 20px; left: -100px; width: 320px; height: 320px; background: #ffc4d7; }
.decoration-two { top: 80px; right: -100px; width: 360px; height: 360px; background: #ffe29c; }
.hero-inner { position: relative; z-index: 2; width: min(1120px, calc(100% - 40px)); margin-inline: auto; text-align: center; }
.festival-number {
  display: inline-block; margin: 0; padding: 9px 20px;
  color: #a63f45; background: rgba(255,255,255,.90); border: 2px solid #e0b6b8;
  border-radius: 999px; font-size: clamp(1.18rem, 2.25vw, 1.48rem); font-weight: 900;
  letter-spacing: .04em; box-shadow: 0 6px 18px rgba(166,63,69,.14);
  transform: translateX(-12px);
}
.festival-slogan { margin: 14px 0 9px; line-height: 1.04; letter-spacing: 0; }
.festival-slogan .slogan-ja {
  display: block; color: #12347f; background: none;
  font-family: "Hiragino Maru Gothic ProN", "BIZ UDPGothic", "Yu Gothic", "Meiryo", sans-serif;
  font-size: clamp(2.75rem, 6.4vw, 5.25rem); font-weight: 800; letter-spacing: .065em;
  -webkit-text-stroke: 1px rgba(255,255,255,.68);
  text-shadow:
    0 2px 0 rgba(255,255,255,.95),
    0 0 10px rgba(116,166,255,.48),
    0 0 24px rgba(116,166,255,.28),
    0 7px 16px rgba(18,52,127,.14);
}
.festival-slogan .slogan-en {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .24em;
  margin-top: 5px; color: var(--text); background: none;
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", "Yu Gothic", sans-serif;
  font-size: clamp(1.35rem, 3.5vw, 2.55rem); font-weight: 800; letter-spacing: .015em;
  -webkit-text-stroke: .35px rgba(255,255,255,.72);
  text-shadow:
    0 2px 0 rgba(255,255,255,.95),
    0 0 8px rgba(255,215,116,.36),
    0 0 18px rgba(126,173,255,.22),
    0 4px 8px rgba(30,41,59,.10);
}
.festival-slogan .slogan-en span { background: none; }
.word-paint, .word-our, .word-stories { display: inline-flex; }
.slogan-wave { font-size: 1.12em; font-weight: 900; }
.letter-red, .slogan-red { color: #a9432e; }
.letter-orange { color: #d37b2b; }
.letter-yellow { color: #d3a827; }
.letter-green { color: #34824e; }
.letter-blue { color: #2365a8; }
.letter-blue-dark { color: #173c8b; }
.letter-purple, .slogan-purple { color: #672060; }
.hero-copy { max-width: 710px; margin: 0 auto; color: var(--muted); font-size: 1.05rem; }
.event-summary { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.event-summary > span,
.event-summary .venue-link {
  padding: 9px 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(51,65,85,.07);
  font-size: .9rem;
  font-weight: 700;
}
.event-summary .venue-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  text-decoration: none;
}
.event-summary .venue-link:hover,
.event-summary .venue-link:focus-visible {
  color: inherit;
  background: #fff;
  transform: none;
}
.event-summary .venue-link:focus-visible {
  outline: 3px solid rgba(52,137,219,.28);
  outline-offset: 2px;
}
.venue-pin { padding: 0; background: none; box-shadow: none; font-size: 1em; }

.menu-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; text-align: left; }
.menu-card {
  min-height: 154px; padding: 19px 21px; border: 1px solid #f0f1f3; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.menu-card:hover, .menu-card:focus-visible { transform: translateY(-6px); box-shadow: 0 22px 45px rgba(51,65,85,.16); outline: 3px solid rgba(52,137,219,.25); }
.menu-icon { display: grid; place-items: center; width: 53px; height: 53px; color: #fff; border-radius: 17px; font-weight: 900; }
.menu-news .menu-icon { background: linear-gradient(135deg, #f6b536, #ee7440); }
.menu-programs .menu-icon { background: linear-gradient(135deg, #ed5792, #dd365e); }
.menu-schedule .menu-icon { background: linear-gradient(135deg, #45aada, #3375d9); }
.menu-timeline .menu-icon { background: linear-gradient(135deg, #a263dd, #7445ca); }
.menu-label { display: block; margin-top: 13px; font-size: 1.08rem; font-weight: 900; }
.menu-description { display: block; margin-top: 3px; color: var(--muted); font-size: .82rem; }


/* 昨年度写真：HTML・CSSと同じフォルダーに6枚を置くと自動表示 */
.festival-photo-reel {
  position: absolute;
  z-index: 1;
  top: 78px;
  width: clamp(240px, 25vw, 450px);
  aspect-ratio: 1.55 / 1;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(45,55,72,.10);
  background: rgba(255,255,255,.08);
}
.festival-photo-reel::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: -2px;
  pointer-events: none;
  border-radius: 30px;
  box-shadow:
    inset 0 0 18px 10px rgba(255,250,242,.78),
    inset 0 0 38px 21px rgba(255,250,242,.55),
    0 0 22px 9px rgba(255,250,242,.68);
}
.photo-reel-left {
  left: clamp(18px, 3.2vw, 64px);
  transform: rotate(-.7deg);
}
.photo-reel-right {
  right: clamp(18px, 3.2vw, 64px);
  transform: rotate(.7deg);
}
.reel-photo {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.035);
  animation: festival-photo-fade 18s ease-in-out infinite;
}
.reel-photo-1 { background-image: url("festival2025-left-1.jpg"); animation-delay: 0s; }
.reel-photo-2 { background-image: url("festival2025-left-2.jpg"); animation-delay: 6s; }
.reel-photo-3 { background-image: url("festival2025-left-3.jpg"); animation-delay: 12s; }
.reel-photo-4 { background-image: url("festival2025-right-1.jpg"); animation-delay: 3s; }
.reel-photo-5 { background-image: url("festival2025-right-2.jpg"); animation-delay: 9s; }
.reel-photo-6 { background-image: url("festival2025-right-3.jpg"); animation-delay: 15s; }

@keyframes festival-photo-fade {
  0% { opacity: 0; transform: scale(1.035); }
  8% { opacity: .92; }
  28% { opacity: .92; }
  36% { opacity: 0; transform: scale(1.105); }
  100% { opacity: 0; transform: scale(1.105); }
}

/* 中央の文字と重なる幅では、写真を非表示にして読みやすさを優先 */
@media (max-width: 1320px) {
  .festival-photo-reel { display: none; }
}

.section { padding: 80px 0; scroll-margin-top: 78px; }
.section-white { background: #fff; }
.section-header { margin-bottom: 32px; }
.section-en { margin: 0; color: var(--pink); font-size: .75rem; font-weight: 900; letter-spacing: .2em; }
.section-header h2 { margin: 3px 0 5px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.3; }
.section-header > p:last-child { margin: 0; color: var(--muted); }

.festival-days {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.festival-day-card {
  position: relative;
  overflow: hidden;
  padding: 27px;
  border: 1px solid #e7e9ee;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(51,65,85,.08);
}
.festival-day-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: var(--pink);
}
.public-day::before { background: var(--blue); }
.day-label {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 12px;
  color: #fff;
  background: var(--pink);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
}
.public-day .day-label { background: var(--blue); }
.day-date {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 18px;
  margin: 0;
}
.day-date strong { font-size: clamp(1.3rem, 3vw, 1.8rem); }
.day-date span { color: var(--muted); font-size: 1.08rem; font-weight: 800; }
.day-audience {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 15px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid #e6e9ee;
  font-weight: 900;
}
.audience-limited,
.audience-public {
  color: var(--text);
  background: transparent;
  border: 0;
}
.audience-caption {
  display: inline-block;
  padding: 2px 8px;
  color: var(--muted);
  background: #f3f5f7;
  border-radius: 999px;
  font-size: .68rem;
  letter-spacing: .04em;
}
.audience-public .audience-caption { color: var(--muted); }
.day-audience strong {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.4;
}

.no-reservation {
  margin: 18px 0 0;
  color: var(--pink-dark);
  font-weight: 900;
}
.no-reservation::before { content: "✓"; margin-right: 7px; }
.ticket-alert {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 17px;
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid #f1d28b;
  border-radius: 20px;
  background: #fff8df;
}
.ticket-alert-label {
  padding: 4px 10px;
  color: #fff;
  background: #b85b23;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 900;
}
.ticket-alert h3 { margin: 0 0 4px; font-size: 1.08rem; }
.ticket-alert p {
  margin: 0;
  color: #6a5839;
  font-weight: 500;
  line-height: 1.85;
}

.visitor-notes {
  margin-top: 24px;
  padding: 27px 30px;
  border-radius: 22px;
  background: #f7f9fc;
}
.visitor-notes h3 { margin: 0 0 17px; font-size: 1.25rem; }
.visitor-notes ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: visitor-note;
}
.visitor-notes li {
  counter-increment: visitor-note;
  position: relative;
  min-height: 34px;
  padding: 5px 0 9px 45px;
  border-bottom: 1px solid #e2e7ee;
}
.visitor-notes li + li { margin-top: 7px; }
.visitor-notes li::before {
  content: counter(visitor-note);
  position: absolute;
  top: 3px;
  left: 0;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 900;
}
.capacity-note {
  margin: 16px 0 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border-radius: 0;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.7;
}
.capacity-note::before { content: "※"; margin-right: 3px; }

.category-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.category-links a { padding: 9px 17px; border: 1px solid #dbe1e8; border-radius: 999px; background: #fff; font-size: .9rem; font-weight: 700; text-decoration: none; }
.category-links a:hover, .category-links a:focus-visible { color: #fff; background: var(--pink); border-color: var(--pink); }
.subheading { margin: 45px 0 18px; padding-left: 13px; border-left: 5px solid var(--pink); font-size: 1.35rem; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.program-card { overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: 0 8px 25px rgba(51,65,85,.08); }
.program-image { display: grid; place-items: center; height: 165px; color: #94a3b8; background: linear-gradient(135deg, #f1f5f9, #e2e8f0); font-size: .78rem; font-weight: 900; letter-spacing: .14em; }
.program-content { padding: 22px; }
.program-group { margin: 0; color: var(--pink-dark); font-size: .84rem; font-weight: 900; }
.program-card h4 { margin: 4px 0 8px; font-size: 1.2rem; }
.program-card p { color: var(--muted); font-size: .9rem; }
.program-place { padding-top: 10px; border-top: 1px solid var(--line); }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.tag-food { color: #a84a11; background: #ffedd5; }
.tag-experience { color: #6740ae; background: #ede9fe; }
.tag-display { color: #16765b; background: #d1fae5; }
.tag-stage { color: #185fa9; background: #dbeafe; }
.compact-card { min-height: 230px; }

.schedule-section { color: #fff; background: var(--navy); }
.section-header-dark > p:last-child { color: #aeb9ca; }
.schedule-tab-input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.schedule-tab-buttons { display: flex; gap: 10px; margin-bottom: 12px; }
.day-heading {
  display: inline-block;
  padding: 5px 15px;
  color: rgba(255,255,255,.58);
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease, opacity .18s ease;
}
#festival-day-1:checked ~ .schedule-tab-buttons .day-heading-1,
#festival-day-2:checked ~ .schedule-tab-buttons .day-heading-2 {
  color: var(--navy);
  background: var(--yellow);
  opacity: 1;
}
#festival-day-1:focus-visible ~ .schedule-tab-buttons .day-heading-1,
#festival-day-2:focus-visible ~ .schedule-tab-buttons .day-heading-2 {
  outline: 3px solid rgba(255,255,255,.7);
  outline-offset: 3px;
}
.schedule-panel { display: none; }
#festival-day-1:checked ~ .schedule-panel-1,
#festival-day-2:checked ~ .schedule-panel-2 { display: block; }
.timeline-scroll {
  overflow-x: auto;
  padding-bottom: 7px;
  scrollbar-color: rgba(255,209,102,.75) rgba(255,255,255,.08);
}
.venue-timeline {
  --slot-height: 31px;
  display: grid;
  grid-template-columns: 82px repeat(3, minmax(250px, 1fr));
  grid-template-rows: 58px calc(var(--slot-height) * 24);
  min-width: 900px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  background: rgba(255,255,255,.04);
}
.timeline-corner,
.timeline-venue-title {
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--navy);
  background: rgba(255,209,102,.95);
  border-right: 1px solid rgba(24,33,53,.24);
  font-size: 1rem;
  font-weight: 900;
}
.timeline-corner { grid-column: 1; grid-row: 1; }
.timeline-training-title { grid-column: 2; grid-row: 1; }
.timeline-gym-title { grid-column: 3; grid-row: 1; }
.timeline-hall-title { grid-column: 4; grid-row: 1; border-right: 0; }
.timeline-time-axis {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  border-right: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.035);
}
.timeline-time-axis span {
  position: absolute;
  top: calc((var(--line) - 1) * var(--slot-height));
  right: 10px;
  color: #d8e0eb;
  font-family: monospace;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
}
.timeline-time-axis span:first-child { transform: translateY(5px); }
.timeline-time-axis span:last-child { transform: translateY(-100%); }
.timeline-track {
  display: grid;
  grid-template-rows: repeat(24, var(--slot-height));
  position: relative;
  grid-row: 2;
  min-width: 0;
  border-right: 1px solid rgba(255,255,255,.14);
  background-image:
    repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--slot-height) - 1px), rgba(255,255,255,.055) calc(var(--slot-height) - 1px), rgba(255,255,255,.055) var(--slot-height)),
    repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--slot-height) * 3 - 1px), rgba(255,255,255,.10) calc(var(--slot-height) * 3 - 1px), rgba(255,255,255,.10) calc(var(--slot-height) * 3));
}
.timeline-training { grid-column: 2; }
.timeline-gym { grid-column: 3; }
.timeline-hall { grid-column: 4; border-right: 0; }
.venue-timeline-day2 {
  grid-template-rows: 58px calc(var(--slot-height) * 36);
}
.venue-timeline-day2 .timeline-track {
  grid-template-rows: repeat(36, var(--slot-height));
}
.timeline-event-dance {
  padding-block: 5px;
}
.timeline-event-dance time,
.timeline-event-dance h4 {
  font-size: .8rem;
}
.timeline-event-dance ul {
  margin-top: 3px;
  font-size: .67rem;
  line-height: 1.25;
}
.timeline-event-dance li {
  padding: 2px 0;
}
.timeline-event {
  z-index: 1;
  grid-row: var(--start) / var(--end);
  min-height: 0;
  margin: 3px 5px;
  padding: 9px 11px;
  overflow: auto;
  color: #fff;
  background: rgba(255,255,255,.105);
  border-left: 4px solid var(--yellow);
  border-radius: 9px;
  box-shadow: 0 5px 14px rgba(0,0,0,.10);
}
.timeline-event time {
  display: block;
  margin-bottom: 2px;
  color: var(--yellow);
  font-family: monospace;
  font-size: .88rem;
  font-weight: 900;
}
.timeline-event h4 {
  margin: 0;
  color: #fff;
  font-size: .95rem;
  line-height: 1.45;
}
.timeline-event ul {
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
  color: #d8e0eb;
  font-size: .76rem;
}
.timeline-event li {
  padding: 4px 0;
  border-top: 1px dashed rgba(255,255,255,.14);
}
.timeline-event li span {
  margin-right: 4px;
  color: var(--yellow);
  font-family: monospace;
}
.schedule-close-time {
  margin: 14px 0 0;
  text-align: center;
  color: #d8e0eb;
  font-weight: 800;
  letter-spacing: .08em;
}

.schedule-list { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.schedule-list article { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 21px 25px; border-bottom: 1px solid rgba(255,255,255,.12); }
.schedule-list article:last-child { border-bottom: none; }
.schedule-list time { color: var(--yellow); font-family: monospace; font-size: 1.2rem; font-weight: 900; }
.schedule-list h3 { margin: 0; font-size: 1.08rem; }
.schedule-list p { margin: 2px 0 0; color: #aeb9ca; font-size: .87rem; }
.schedule-note { color: #aeb9ca; font-size: .82rem; }

.timeline-container { max-width: 900px; }
.timeline { position: relative; display: grid; gap: 22px; }
.timeline::before { content: ""; position: absolute; top: 28px; bottom: 28px; left: 10px; width: 2px; background: #dfe4ea; }
.timeline-item { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 22px; }
.timeline-marker { position: relative; z-index: 1; width: 18px; height: 18px; margin-top: 30px; background: var(--pink); border: 5px solid var(--paper); border-radius: 50%; box-shadow: 0 0 0 2px var(--pink); }
.marker-purple { background: var(--purple); box-shadow: 0 0 0 2px var(--purple); }
.marker-blue { background: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.timeline-card { min-width: 0; padding: 26px; background: #fff; border-radius: var(--radius); box-shadow: 0 8px 25px rgba(51,65,85,.08); }
.timeline-card time { color: var(--pink-dark); font-size: .85rem; font-weight: 900; }
.timeline-card h3 { margin: 3px 0 7px; }
.timeline-card p { margin-top: 0; color: var(--muted); }
.timeline-photo { display: grid; place-items: center; height: 190px; margin-top: 18px; color: #94a3b8; background: linear-gradient(135deg, #f1f5f9, #e2e8f0); border-radius: 17px; font-size: .82rem; font-weight: 800; }

.site-footer { padding: 42px 0; text-align: center; background: #fff; }
.site-footer p { margin: 2px 0; color: var(--muted); font-size: .88rem; }
.site-footer .footer-school { color: var(--text); font-size: 1rem; font-weight: 900; }
.site-footer a { display: inline-block; margin-top: 15px; color: var(--pink-dark); font-size: .85rem; font-weight: 700; }

@media (max-width: 850px) {
  .global-nav { display: none; }
  .menu-cards { grid-template-columns: repeat(2, 1fr); }
  .festival-days { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .container, .header-inner { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 64px; }
  .brand-mark { width: 40px; height: 40px; }
  .festival-number { transform: translateX(-6px); }
  .hero { min-height: calc(100svh - 64px); padding: 38px 0 42px; }
  .hero-copy br { display: none; }
  .menu-cards { gap: 11px; margin-top: 37px; }
  .menu-card { min-height: 160px; padding: 17px; border-radius: 19px; }
  .menu-icon { width: 45px; height: 45px; border-radius: 14px; }
  .menu-label { margin-top: 14px; font-size: .95rem; }
  .menu-description { font-size: .72rem; }
  .section { padding: 60px 0; }
  .festival-day-card { padding: 22px; }
  .ticket-alert { grid-template-columns: 1fr; padding: 19px; }
  .ticket-alert-label { justify-self: start; }
  .visitor-notes { padding: 22px 18px; }
  .visitor-notes li { padding-left: 40px; }
  .program-grid { grid-template-columns: 1fr; }
  .venue-timeline { --slot-height: 29px; grid-template-columns: 70px repeat(3, 250px); min-width: 820px; }
  .timeline-scroll { margin-right: -14px; padding-right: 14px; }
  .schedule-list article { grid-template-columns: 75px 1fr; gap: 10px; padding: 18px 16px; }
  .timeline-item { gap: 13px; }
  .timeline-card { padding: 20px; }
  .timeline-photo { height: 150px; }
  .notice-box { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reel-photo { animation: none; opacity: 0; transform: none; }
  .reel-photo-1, .reel-photo-4 { opacity: .92; }
}

@media print {
  .schedule-tab-buttons { display: none; }
  .schedule-panel { display: block !important; margin-bottom: 18px; }
  .schedule-panel-1::before { content: "1日目"; display: block; margin-bottom: 8px; font-weight: 900; }
  .schedule-panel-2::before { content: "2日目"; display: block; margin-bottom: 8px; font-weight: 900; }
}

.grade-tab{position:absolute;opacity:0}.grade-buttons{display:flex;gap:10px;margin-bottom:20px}.grade-buttons label{padding:10px 18px;background:#fff;border:1px solid #dbe1e8;border-radius:999px;font-weight:700;cursor:pointer}.grade-panel{display:none}.class-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.class-item{padding:18px;border-radius:16px;background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.06)}.class-item h4{margin:0 0 6px}
.class-item h4 {
  display: inline-block;
  margin: 0 8px 6px 0;
}
.class-category {
  display: inline-block;
  margin: 0 0 6px;
  padding: 3px 10px;
  color: #476400;
  background: #eff9c9;
  border: 1px solid #b9d95a;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.5;
  vertical-align: middle;
}
.class-item p{margin:0 0 8px}.class-item span{color:#64748b;font-size:.9rem}#grade1:checked~.grade-buttons label[for="grade1"],#grade2:checked~.grade-buttons label[for="grade2"],#grade3:checked~.grade-buttons label[for="grade3"]{background:var(--pink);color:#fff;border-color:var(--pink)}#grade1:checked~.grade-panel-1,#grade2:checked~.grade-panel-2,#grade3:checked~.grade-panel-3{display:block}@media(max-width:580px){.class-grid{grid-template-columns:1fr}}

/* クラス以外の企画：CSSのみで区分を切り替え */
.other-program-tab-input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.other-program-tab-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.other-program-tab-label {
  padding: 10px 18px;
  background: #fff;
  border: 1px solid #dbe1e8;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}
#other-program-regular:checked ~ .other-program-tab-buttons .regular-label,
#other-program-voluntary:checked ~ .other-program-tab-buttons .voluntary-label {
  color: #fff;
  background: var(--pink);
  border-color: var(--pink);
}
#other-program-regular:focus-visible ~ .other-program-tab-buttons .regular-label,
#other-program-voluntary:focus-visible ~ .other-program-tab-buttons .voluntary-label {
  outline: 3px solid rgba(52,137,219,.28);
  outline-offset: 2px;
}
.other-program-panel { display: none; }
#other-program-regular:checked ~ .regular-panel,
#other-program-voluntary:checked ~ .voluntary-panel { display: block; }
.program-card-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; margin-bottom: 7px; }
.program-card-heading .program-group { margin: 0; font-size: .96rem; }
.program-card-heading .class-category { margin: 0; }
.other-program-card h4 { margin-top: 0; }
.other-program-card .program-place { margin-bottom: 0; }
@media print {
  .other-program-tab-buttons { display: none; }
  .other-program-panel { display: block !important; margin-bottom: 24px; }
}

/* スマートフォン：部活動・委員会等のみ横スクロール */
@media (max-width: 580px) {
  .regular-panel .program-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(82vw, 310px);
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 2px;
    padding: 4px 2px 16px;
    scrollbar-color: rgba(233,67,120,.55) rgba(255,255,255,.65);
    -webkit-overflow-scrolling: touch;
  }

  .regular-panel .other-program-card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .regular-panel::after {
    content: "横にスワイプしてご覧ください →";
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    text-align: right;
  }
}


/* クラス企画：学年または部門の単独切り替え */
.class-view-input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.class-view-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.class-view-label {
  padding: 9px 17px;
  border: 1px solid #dbe1e8;
  border-radius: 999px;
  background: #fff;
  font-size: .9rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.class-view-label.grade-filter { color: var(--pink-dark); background: #fff1f5; border-color: #f5c7d6; }
.class-view-label.category-display, .class-category.category-display { color: #476400; background: #eff9c9; border-color: #b9d95a; }
.class-view-label.category-performance, .class-category.category-performance { color: #155a91; background: #e3f3ff; border-color: #77b9e8; }
.class-view-label.category-photo, .class-category.category-photo { color: #126a72; background: #e2f9fa; border-color: #72ccd2; }
.class-view-label.category-haunted, .class-category.category-haunted { color: #68409a; background: #f1e9ff; border-color: #b99ae5; }
.class-view-label.category-cooking, .class-category.category-cooking { color: #9a4c12; background: #fff0dc; border-color: #efb56f; }
.class-view-label.category-cafe, .class-category.category-cafe { color: #9b3e68; background: #ffe8f1; border-color: #e9a1bf; }
.class-view-panel { display: none; }
#class-view-grade1:checked ~ .class-view-panel-grade1,
#class-view-grade2:checked ~ .class-view-panel-grade2,
#class-view-grade3:checked ~ .class-view-panel-grade3,
#class-view-display:checked ~ .class-view-panel-display,
#class-view-performance:checked ~ .class-view-panel-performance,
#class-view-photo:checked ~ .class-view-panel-photo,
#class-view-haunted:checked ~ .class-view-panel-haunted,
#class-view-cooking:checked ~ .class-view-panel-cooking,
#class-view-cafe:checked ~ .class-view-panel-cafe { display: block; }
#class-view-grade1:checked ~ .class-view-buttons label[for="class-view-grade1"],
#class-view-grade2:checked ~ .class-view-buttons label[for="class-view-grade2"],
#class-view-grade3:checked ~ .class-view-buttons label[for="class-view-grade3"],
#class-view-display:checked ~ .class-view-buttons label[for="class-view-display"],
#class-view-performance:checked ~ .class-view-buttons label[for="class-view-performance"],
#class-view-photo:checked ~ .class-view-buttons label[for="class-view-photo"],
#class-view-haunted:checked ~ .class-view-buttons label[for="class-view-haunted"],
#class-view-cooking:checked ~ .class-view-buttons label[for="class-view-cooking"],
#class-view-cafe:checked ~ .class-view-buttons label[for="class-view-cafe"] { color: #fff; }
#class-view-grade1:checked ~ .class-view-buttons label[for="class-view-grade1"],
#class-view-grade2:checked ~ .class-view-buttons label[for="class-view-grade2"],
#class-view-grade3:checked ~ .class-view-buttons label[for="class-view-grade3"] { background: var(--pink); border-color: var(--pink); }
#class-view-display:checked ~ .class-view-buttons label[for="class-view-display"] { background: #78a917; border-color: #78a917; }
#class-view-performance:checked ~ .class-view-buttons label[for="class-view-performance"] { background: #287fbe; border-color: #287fbe; }
#class-view-photo:checked ~ .class-view-buttons label[for="class-view-photo"] { background: #258f98; border-color: #258f98; }
#class-view-haunted:checked ~ .class-view-buttons label[for="class-view-haunted"] { background: #7d54ad; border-color: #7d54ad; }
#class-view-cooking:checked ~ .class-view-buttons label[for="class-view-cooking"] { background: #d87527; border-color: #d87527; }
#class-view-cafe:checked ~ .class-view-buttons label[for="class-view-cafe"] { background: #ce5c8e; border-color: #ce5c8e; }
.class-view-input:focus-visible ~ .class-view-buttons label { outline-offset: 3px; }
#class-view-grade1:focus-visible ~ .class-view-buttons label[for="class-view-grade1"],
#class-view-grade2:focus-visible ~ .class-view-buttons label[for="class-view-grade2"],
#class-view-grade3:focus-visible ~ .class-view-buttons label[for="class-view-grade3"],
#class-view-display:focus-visible ~ .class-view-buttons label[for="class-view-display"],
#class-view-performance:focus-visible ~ .class-view-buttons label[for="class-view-performance"],
#class-view-photo:focus-visible ~ .class-view-buttons label[for="class-view-photo"],
#class-view-haunted:focus-visible ~ .class-view-buttons label[for="class-view-haunted"],
#class-view-cooking:focus-visible ~ .class-view-buttons label[for="class-view-cooking"],
#class-view-cafe:focus-visible ~ .class-view-buttons label[for="class-view-cafe"] { outline: 3px solid rgba(52,137,219,.32); }
@media (max-width: 580px) {
  .class-view-buttons {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: inline proximity;
    scrollbar-color: rgba(233,67,120,.5) transparent;
    -webkit-overflow-scrolling: touch;
  }
  .class-view-label { flex: 0 0 auto; scroll-snap-align: start; }
}
@media print {
  .class-view-buttons { display: none; }
  .class-view-panel { display: none !important; }
  .class-view-panel-grade1, .class-view-panel-grade2, .class-view-panel-grade3 { display: block !important; margin-bottom: 18px; }
}


/* 2026 filter layout: separate rows and simple white categories */
.class-view-buttons,
.other-view-buttons { display: grid; gap: 11px; margin-bottom: 22px; }
.class-filter-row,
.other-filter-row { display: flex; flex-wrap: wrap; gap: 10px; }
.class-view-label,
.other-view-label {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 17px; border: 1px solid #dbe1e8; border-radius: 999px;
  background: #fff; color: var(--text); font-size: .9rem; font-weight: 800;
  white-space: nowrap; cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, color .18s ease, background-color .18s ease;
}
.class-view-label.grade-filter,
.other-view-label.group-filter { color: var(--pink-dark); background: #fff; border-color: #f1c9d7; }
.class-view-label.category-filter,
.other-view-label.category-filter,
.class-category,
.class-view-label.category-display,
.class-view-label.category-performance,
.class-view-label.category-photo,
.class-view-label.category-haunted,
.class-view-label.category-cooking,
.class-view-label.category-cafe,
.class-category.category-display,
.class-category.category-performance,
.class-category.category-photo,
.class-category.category-haunted,
.class-category.category-cooking,
.class-category.category-cafe {
  color: #334155; background: #fff; border-color: #cbd5e1;
}
.class-category { box-shadow: none; }
#class-view-grade1:checked ~ .class-view-buttons label[for="class-view-grade1"],
#class-view-grade2:checked ~ .class-view-buttons label[for="class-view-grade2"],
#class-view-grade3:checked ~ .class-view-buttons label[for="class-view-grade3"],
#other-view-regular:checked ~ .other-view-buttons label[for="other-view-regular"],
#other-view-voluntary:checked ~ .other-view-buttons label[for="other-view-voluntary"] {
  color: #fff; background: var(--pink); border-color: var(--pink); box-shadow: none;
}
#class-view-display:checked ~ .class-view-buttons label[for="class-view-display"],
#class-view-performance:checked ~ .class-view-buttons label[for="class-view-performance"],
#class-view-photo:checked ~ .class-view-buttons label[for="class-view-photo"],
#class-view-haunted:checked ~ .class-view-buttons label[for="class-view-haunted"],
#class-view-cooking:checked ~ .class-view-buttons label[for="class-view-cooking"],
#class-view-cafe:checked ~ .class-view-buttons label[for="class-view-cafe"],
#other-view-display:checked ~ .other-view-buttons label[for="other-view-display"],
#other-view-performance:checked ~ .other-view-buttons label[for="other-view-performance"],
#other-view-food:checked ~ .other-view-buttons label[for="other-view-food"] {
  color: var(--navy); background: #fff; border-color: var(--navy); box-shadow: 0 0 0 2px rgba(24,33,53,.12);
}
.other-view-input { position:absolute; inline-size:1px; block-size:1px; overflow:hidden; opacity:0; pointer-events:none; }
.other-view-panel { display:none; }
#other-view-regular:checked ~ .other-view-panel-regular,
#other-view-voluntary:checked ~ .other-view-panel-voluntary,
#other-view-display:checked ~ .other-view-panel-display,
#other-view-performance:checked ~ .other-view-panel-performance,
#other-view-food:checked ~ .other-view-panel-food { display:block; }
/* Previous mobile card carousel is disabled because filtering now reduces the results. */
@media (max-width:580px) {
  .class-filter-row,
  .other-filter-row { flex-wrap:nowrap; overflow-x:auto; padding:2px 2px 9px; scrollbar-color:rgba(100,116,139,.45) transparent; -webkit-overflow-scrolling:touch; }
  .class-view-label,
  .other-view-label { flex:0 0 auto; }
  .regular-panel .program-grid,
  .other-view-panel .program-grid { display:grid; grid-auto-flow:row; grid-auto-columns:auto; grid-template-columns:1fr; overflow:visible; padding:0; }
  .regular-panel::after { content:none; }
}
@media print {
  .other-view-buttons { display:none; }
  .other-view-panel { display:none !important; }
  .other-view-panel-regular, .other-view-panel-voluntary { display:block !important; margin-bottom:24px; }
}


/* 2026 revision: merged performance/photo and mobile non-class carousel */
#class-view-performance-photo:checked ~ .class-view-panel-performance-photo { display: block; }
#class-view-performance-photo:checked ~ .class-view-buttons label[for="class-view-performance-photo"] {
  color: var(--navy);
  background: #fff;
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(24,33,53,.12);
}
#class-view-performance-photo:focus-visible ~ .class-view-buttons label[for="class-view-performance-photo"] {
  outline: 3px solid rgba(52,137,219,.32);
  outline-offset: 3px;
}
@media (max-width: 580px) {
  .other-view-panel .program-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(82vw, 310px);
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 2px;
    padding: 4px 2px 16px;
    scrollbar-color: rgba(100,116,139,.55) rgba(255,255,255,.65);
    -webkit-overflow-scrolling: touch;
  }
  .other-view-panel .other-program-card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .other-view-panel::after {
    content: "横にスワイプしてご覧ください →";
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    text-align: right;
  }
}


/* 巨大貼り絵フォトギャラリー */
.giant-art-gallery { margin-top: 18px; }
.giant-art-photo { margin: 0; overflow: hidden; border-radius: 17px; background: #f1f5f9; }
.giant-art-photo img { display: block; width: 100%; height: auto; }
.giant-art-photo-wide {
  width: min(100%, 780px);
  margin-inline: auto;
  margin-bottom: 4px;
}
.giant-art-photo-wide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
.giant-art-photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; align-items: start; }
.giant-art-photo-portrait img { width: 100%; aspect-ratio: auto; object-fit: contain; }
.giant-art-photo-previous {
  background: #ead79a;
  border: 1px solid #d9bd73;
  box-shadow: 0 8px 20px rgba(126, 88, 20, .11);
}
.giant-art-photo-previous figcaption {
  padding: 10px 10px 11px;
  color: #5a481f;
  background: #f5e8bd;
  border-top: 1px solid rgba(139, 98, 22, .16);
  font-size: .8rem;
  font-weight: 800;
  text-align: center;
}
@media (max-width: 580px) {
  .giant-art-photo-wide {
    width: auto;
    margin-inline: 0;
    margin-bottom: 0;
  }
  .giant-art-gallery {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(82vw, 300px);
    gap: 13px;
    overflow-x: auto;
    margin-right: -20px;
    padding: 2px 20px 14px 2px;
    scroll-snap-type: inline mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-color: rgba(100,116,139,.5) transparent;
    -webkit-overflow-scrolling: touch;
  }
  .giant-art-photo-row { display: contents; }
  .giant-art-photo { align-self: start; scroll-snap-align: start; scroll-snap-stop: always; }
  .giant-art-photo img { width: 100%; height: auto; max-height: none; object-fit: contain; }
}

/* 文化祭タイムライン本文の可読性を向上 */
.timeline-card > p {
  color: #334155;
  font-size: .96rem;
  font-weight: 500;
  line-height: 1.9;
}

/* 2026年8月公開情報更新：準備中表示と公開対象の強調 */
.preparing-panel {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 48px 24px;
  border: 1px solid #e3e7ed;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}
.preparing-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: var(--pink);
  border-radius: 18px;
  font-size: 1.35rem;
  font-weight: 900;
}
.preparing-title {
  margin: 8px 0 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 900;
}
.preparing-text { margin: 0; color: var(--muted); font-size: .94rem; }
.preparing-panel-dark {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  box-shadow: none;
}
.preparing-panel-dark .preparing-mark { color: var(--navy); background: var(--yellow); }
.preparing-panel-dark .preparing-text { color: #c7d0dd; }
.audience-limited strong u {
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--pink-dark);
}


/* スマートフォン：タイムライン本文は画面幅内、写真だけ横スワイプ */
@media (max-width: 580px) {
  .timeline-item { grid-template-columns: 22px minmax(0, 1fr); }
  .timeline-card { min-width: 0; max-width: 100%; overflow: hidden; }
  .timeline-card > time,
  .timeline-card > h3,
  .timeline-card > p { max-width: 100%; overflow-wrap: anywhere; }
  .giant-art-gallery {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-bottom: 0;
  }
  .giant-art-gallery::before {
    content: "→";
    position: sticky;
    z-index: 4;
    top: 50%;
    left: calc(100% - 42px);
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-left: auto;
    margin-bottom: -34px;
    color: #fff;
    background: rgba(24, 33, 53, .76);
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(24, 33, 53, .22);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
  }
  .giant-art-gallery::after {
    content: "写真を横にスワイプしてご覧ください →";
    position: sticky;
    left: 0;
    z-index: 5;
    display: block;
    width: max-content;
    max-width: calc(100vw - 90px);
    margin-top: 4px;
    padding: 5px 10px;
    color: #475569;
    background: rgba(255, 255, 255, .94);
    border: 1px solid #dbe1e8;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(51, 65, 85, .08);
    font-size: .74rem;
    font-weight: 800;
    line-height: 1.5;
    white-space: nowrap;
    pointer-events: none;
  }
}

/* スマートフォン：先頭写真は固定表示、下の3枚だけ横スワイプ */
@media (max-width: 580px) {
  .giant-art-gallery {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    margin-right: 0;
    padding: 0;
  }

  .giant-art-gallery::before,
  .giant-art-gallery::after {
    content: none;
    display: none;
  }

  .giant-art-photo-wide {
    width: 100%;
    margin: 0;
  }

  .giant-art-photo-wide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .giant-art-photo-row {
    position: relative;
    display: grid;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-auto-flow: column;
    grid-auto-columns: minmax(78vw, 280px);
    grid-template-columns: none;
    gap: 13px;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 14px 0 0;
    padding: 2px 22px 14px 2px;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 2px;
    overscroll-behavior-inline: contain;
    scrollbar-color: rgba(100, 116, 139, .5) transparent;
    -webkit-overflow-scrolling: touch;
  }

  .giant-art-photo-row::before {
    content: "→";
    position: sticky;
    left: calc(100% - 40px);
    z-index: 4;
    align-self: center;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-left: -47px;
    color: #fff;
    background: rgba(24, 33, 53, .76);
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(24, 33, 53, .22);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
  }



  .giant-art-photo-row .giant-art-photo {
    width: 100%;
    min-width: 0;
    align-self: start;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

.giant-art-swipe-hint { display: none; }
@media (max-width: 580px) {
  .giant-art-swipe-hint {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 5px 0 0;
    padding: 5px 10px;
    color: #475569;
    background: #fff;
    border: 1px solid #dbe1e8;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(51, 65, 85, .08);
    font-size: .74rem;
    font-weight: 800;
    line-height: 1.5;
  }
}


/* 2026-08-31: 申込案内の色と記号 */
.no-reservation { color: var(--text); }
.no-reservation::before { content: "◉"; margin-right: 7px; }

/* 写真切り替え：PCでは3枚表示、スマートフォンではCSSのみのカルーセル */
.giant-art-slide-input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.giant-art-slide-nav { display: none; }

@media (max-width: 580px) {
  .giant-art-photo-row {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    margin: 14px 0 0;
    padding: 0;
  }

  .giant-art-photo-row::before,
  .giant-art-photo-row::after { content: none; display: none; }

  .giant-art-slide { display: none; width: 100%; }
  #giant-art-slide-1:checked ~ .giant-art-slide-1,
  #giant-art-slide-2:checked ~ .giant-art-slide-2,
  #giant-art-slide-3:checked ~ .giant-art-slide-3 { display: block; }

  .giant-art-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .giant-art-slide-nav {
    position: absolute;
    z-index: 6;
    top: 50%;
    right: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
  }
  .giant-art-slide-nav-next { justify-content: flex-end; }
  .giant-art-slide-nav-prev { justify-content: flex-start; }

  .giant-art-slide-button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #fff;
    background: rgba(24, 33, 53, .82);
    border: 2px solid rgba(255, 255, 255, .94);
    border-radius: 50%;
    box-shadow: 0 5px 16px rgba(24, 33, 53, .28);
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
  }
  .giant-art-slide-button:active { transform: scale(.94); }

  .giant-art-slide-input:focus-visible ~ .giant-art-slide .giant-art-slide-button {
    outline: 3px solid rgba(52,137,219,.55);
    outline-offset: 2px;
  }

  .giant-art-swipe-hint {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 8px 0 0;
    padding: 5px 10px;
    color: #475569;
    background: #fff;
    border: 1px solid #dbe1e8;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 800;
    line-height: 1.5;
  }
}
