:root{
  --red:#ed1c24;
  --yellow:#fbb900; 
  --green:#0f8a4b;
  --lime:#c8e31e;
  --sun:#ffc533;
  --sun-l:#fff2c4;
  --sky:#258cd8;
  --sky-l:#d9f0fc;
  --purple:#662d91; 
  --orange:#f15a22; 
  --blue:#2e3192;
  --black:#231f20; 
  --gray:#6b6768; 
  --line:#231f20; 
  --soft:#f4f3ee; 
  --bg:#fffaf1;
  --font:"Inter","Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  --mincho: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "MS PMincho", serif;
  --serif:"Noto Serif JP","Shippori Mincho","Hiragino Mincho ProN","Yu Mincho",serif;
  --w:1080px;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:72px;

}
body {
  margin:0;
  font-family:var(--font);
  color:var(--black);
  background:var(--bg);
  line-height:1.8;
  font-size:16px;
  -webkit-text-size-adjust:100%;

}
img {
  max-width:100%;
  height:auto;
  display:block;
}
a {
  color:inherit;
  text-decoration:none;
}
a:hover {
  text-decoration:underline;
}
h1,h2,h3,p,ul,dl,dd,figure {
  margin:0;
}
ul {
  padding:0;
  list-style:none;
}
.wrap {
  max-width:var(--w);
  margin:0 auto;
  padding:0 20px;
}
.sr {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
}
.skip {
  position:absolute;
  left:8px;
  top:-60px;
  background:var(--black);
  color:#fff;
  padding:8px 14px;
  z-index:100;
}
.skip:focus {
  top:8px;
}
:focus-visible {
  outline:3px solid var(--sky);
  outline-offset:2px;
}

/* ---------- header ---------- */
.site-header {
  position:sticky;
  top:0;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 20px;
  background:var(--bg);
  border-bottom:1px solid var(--line);
}
.navi {
  width: var(--w);
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0;
  height:40px;
}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  font-weight:800;
}
.brand-text {
  font-size: 21px;
  font-weight:700;
  margin-left:6px;
  color:var(--black);
}
.gnav {
  display:flex;
  gap:2px;
  flex-wrap:wrap;
}
.gnav a {
  text-decoration:none;
  font-size:16px;
  font-weight:700;
  padding:8px 10px;
  border-bottom:3px solid transparent;
}
.gnav a:hover {
  border-bottom-color:var(--red);
}
.menu-btn {
  display:none;
}
.js .menu-btn {
  display:none;
  width:44px;
  height:44px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  padding:0;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
}
.menu-btn span {
  display:block;
  width:22px;
  height:2px;
  background:var(--black);
}

/* ---------- hero ---------- */
.hero {
  position:relative;
  padding:0;
  background:
  radial-gradient(circle at 12% 18%,var(--sun-l) 0 18%,transparent 19%),
  radial-gradient(circle at 92% 8%,var(--sky-l) 0 16%,transparent 17%),
  linear-gradient(180deg,#fff6e0,var(--bg));
  overflow:hidden;
}
.cap {
  width:var(--w);
  margin:0 auto;
  padding-left:20px;
  font:300 15px/1.4 var(--font);
  letter-spacing:.04em;
  margin-bottom:-60px;
}
.cap b {
  font-weight:800;
}
.hero-inner {
  max-width:var(--w);
  margin:0 auto;
  padding:0 20px 36px;
  display:flex;
  flex-direction:column;
  gap:28px;
}
/* スマホ：題字（右側）を先に */
.hero-art {
  order:-1;
  width:50%;
  margin:0 auto;
}

.catch {
  font-family: var(--mincho);
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.lead {
  font:600 14px/2 var(--serif);
  color:var(--black);
}
.hero-date {
  margin-top:36px;
  font:800 clamp(24px,3.2vw,38px)/1.35 var(--font);
  letter-spacing:.02em;
  white-space:nowrap;
}
.hero-date span {
  display:block;
}
.hero-place {
  margin-top:18px;
  font:800 clamp(20px,2.8vw,30px)/1.4 var(--font);
}
.hero-time {
  margin-top:18px;
  font:700 18px/1.6 var(--font);
}
.free-box {
  display:inline-block;
  margin-top:16px;
  padding:0 10px;
  border:1px solid var(--red);
  color:var(--red);
  font:800 14px/1.7 var(--font);
  letter-spacing:.2em;
}
.hero-mosaic {
  display:grid;
  grid-template-columns:repeat(10,1fr);
  margin:0 auto 40px;
}
.hero-mosaic img {
  width:100%;
  aspect-ratio:1;
}
@media (min-width:821px){
  .hero-inner {
    flex-direction:row;
    align-items:flex-start;
    justify-content:space-between;
    gap:40px;
    padding-top:0;
    padding-bottom:48px;
  }
  .hero-copy {
    flex:1;
    padding-top:40px;
    order:0;
  }
  .hero-art {
    width:50%;
    order:1;
    margin:0;
    }
}

/* ---------- section ---------- */
section {
 padding:40px 0;
}
.sec-title {
  display:flex;
  align-items:center;
  gap:16px;
  margin:0 0 20px -20px;
  background:var(--yellow);
  border-radius:0 999px 999px 0;
  padding:8px 28px 8px 20px;
  width:max-content;
  max-width:calc(100% + 20px);
  font-size:clamp(20px,3.4vw,28px);
  font-weight:900;
  line-height:1.4;
}
.sec-title small {
  font:500 12px/1 var(--font);
  letter-spacing:.14em;
}
.sec-lead {
  max-width:var(--w);
  margin-bottom:28px;
  color:#333;
}
.fine {
  font-size:13px;
  color:var(--gray);
  margin-top:20px;
}

/* ---------- about ---------- */
.about {
  background:var(--sky-l);
  background:linear-gradient(180deg,#eaf7fe,#f4fbff);
}


/* ---------- corner ---------- */
.booths {
  /* background:var(--sky-l);
  background:linear-gradient(180deg,#eaf7fe,#f4fbff); */
}
.booth-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
  gap:30px;
}
.booth {
  background:#fff;
  display:flex;
  flex-direction:column;
  /* border-radius: 99px 99px 0 0; */
  overflow:hidden;
}
.tile {
  position:relative;
  background:var(--c);
}
.tile img {
  width:100%;
  aspect-ratio:1;
  object-fit:cover;
}
.meta {
  padding:14px 16px 18px;
}
.short {
  font-size:16px;
  margin-top:4px;
  color:#333;
  line-height:1.5;
}

/* ---------- events ---------- */
.events {
  --plum:#baaaf7;
  --coral:#ffb0a7;
  --sun:#ffd56b;
  --sky:#79cef8;
  --mint:#61e2b5;
  background:var(--sky-l);
  background:linear-gradient(180deg,#eaf7fe,#f4fbff);
}
.cal {
  display:grid;
  grid-template-columns:repeat(8,1fr);
  gap:6px;
  margin-bottom:22px;
}
.cal:empty {
  display:none;
}
.day {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:1px;
  padding:8px 2px 6px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  font-family:var(--font);
  color:var(--black);
  cursor:pointer;
}
.day .w {
  font-size:11px;
  font-weight:700;
}
.day .d {
  font-size:20px;
  font-weight:800;
  line-height:1.1;
}
.day.sat .w,.day.sat .d {
  color:var(--sky);
}
.day.sun .w,.day.sun .d {
  color:var(--red);
}
.day .dot {
  display:flex;
  gap:3px;
  min-height:8px;
}
.day .dot i {
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--red);
}
.day.none .dot i {
  display:none;
}
.day.closed {
  background:var(--soft);
  color:var(--gray);
  border-style:dashed;
  cursor:default;
}
.day.closed .w,.day.closed .d {
  color:var(--gray);
}
.day:not(:disabled):hover {
  background:var(--yellow);
}
.day.today {
  box-shadow:inset 0 -4px 0 var(--black);
}
.day[aria-selected="true"] {
  background:var(--red);
  color:#fff;
}
.day[aria-selected="true"] .w,.day[aria-selected="true"] .d {
  color:#fff;
}
.day[aria-selected="true"] .dot i {
  background:var(--yellow);
}

.event-list {
  display:grid;
  gap:10px;
}
.js .event-list .ev {
  display:none;
}
.js .event-list .ev.on {
  display:grid;
}
.ev {
  display:grid;
  grid-template-columns:96px 1fr;
  border:1px solid var(--line);
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 6px 0 var(--ink);
  animation:pop .4s both;
}
.when {
  background:var(--c);
  color:var(--on,var(--black));
  padding:14px 8px;
  text-align:center;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
}
.when b {
  font:800 24px/1.1 var(--font);
}
.when span {
  font-size:12px;
  line-height:1.5;
}
.ev .body {
  padding:14px 18px;
}
.ev h3 {
  font-size:18px;
  font-weight:900;
  line-height:1.5;
}
.ev .body>p {
  font-size:14px;
  margin-top:4px;
}
.badges {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:10px;
}
.badges span {
  border:1px solid var(--line);
  padding:1px 10px;
  font-size:12px;
  font-weight:700;
}
.badges .free {
  background:var(--lime);
}
.badges .need {
  background:var(--red);
  color:#fff;
  border-color:var(--red);
}
.apply {
  font-size:13px;
  margin-top:8px;
  color:#333;
}
.empty {
  padding:22px;
  text-align:center;
  border:1px dashed var(--line);
  border-radius:10px;
  background:#fff;
  font-weight:700;
}
.sub-title {
  margin:40px 0 0;
  font-size:18px;
  font-weight:900;
  padding-bottom:6px;
  border-bottom:3px solid var(--black);
}
.ev-table-wrap {
  overflow-x:auto;
}
.ev-table {
  width:100%;
  border-collapse:collapse;
  font-size:14px;
  min-width:560px;
  background:#fff;
}
.ev-table caption {
  text-align:left;
  font-size:12px;
  color:var(--gray);
  padding-bottom:6px;
}
.ev-table th {
  text-align:left;
  font-size:12px;
  font-weight:700;
  padding:8px 10px;
  border-bottom:2px solid var(--black);
  white-space:nowrap;
}
.ev-table td {
  padding:10px;
  border-bottom:1px solid var(--line);
  vertical-align:top;
  line-height:1.5;
}
.c-date {
  font-weight:800;
  white-space:nowrap;
}
.c-time {
  font-weight:300;
  white-space:nowrap;
}
.c-name .nm {
  font-weight:700;
}
.pill {
  display:inline-block;
  padding:0 10px;
  border:1px solid var(--line);
  border-radius:99px;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}
.pill.need {
  background:var(--red);
  border-color:var(--red);
  color:#fff;
}
.ev-table tr.is-today td {
  background:#fff6cc;
}
.ev-table tr.is-past td {
  color:var(--gray);
}
.now {
  display:inline-block;
  margin-left:8px;
  padding:0 8px;
  background:var(--red);
  color:#fff;
  font-size:11px;
  font-weight:800;
  border-radius:99px;
}

/* ---------- facility ---------- */
.facilities {
  background:var(--sky-l);
  background:linear-gradient(180deg,#eaf7fe,#f4fbff);
}
.facility {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:14px;
}
.facility li {
  background:#fff;
  border:1px solid var(--line);
  border-top:6px solid var(--red);
  padding:14px 16px 16px;
}
.facility li:nth-child(4n+2) {
  border-top-color:var(--yellow);
}
.facility li:nth-child(4n+3) {
  border-top-color:var(--sky);
}
.facility li:nth-child(4n) {
  border-top-color:var(--green);
}
.facility h4 {
  margin:0 0 4px;
  font-size:16px;
  font-weight:900;
}
.facility p {
  font-size:14px;
  line-height:1.8;
}
.facility a {
  font-weight:700;
}

/* ---------- access ---------- */
.access {
  /* background:var(--sky-l);
  background:linear-gradient(180deg,#eaf7fe,#f4fbff); */
}
.info-grid {
  display:grid;
  gap:42px;
}
.info {
  background:#fff;
  border-top:3px solid var(--black);
}
.info>div {
  display:grid;
  grid-template-columns:7.5em 1fr;
  gap:10px;
  padding:12px 14px;
  border-bottom:1px solid var(--line);
}
.info dt {
  font-weight:800;
  font-size:14px;
}
.info dd {
  font-size:15px;
}
.free-big {
  display:inline-block;
  border:2px solid var(--green);
  color:var(--green);
  padding:0 14px;
  font-size:18px;
  font-weight:900;
  letter-spacing:.1em;
  line-height:1.4;
  margin: -5px 0;
}
.info a {
  font-weight:700;
}
.route {
  margin-top: -75px;
}
details {
  background:#fff;
  border:1px solid var(--line);
  margin-bottom:8px;
}
summary {
  cursor:pointer;
  padding:12px 14px;
  font-weight:800;
}
details[open] summary {
  border-bottom:1px solid var(--line);
  background:var(--yellow);
}
details ul {
  padding:12px 14px 12px 32px;
  list-style:disc;
  font-size:14px;
}
details li+li {
  margin-top:6px;
}

/* ---------- footer ---------- */
.site-footer {
  background:#fff6e0;
  color:var(--line);
  padding:30px 0 20px;
  text-align:center;
  position:relative;
}
.f-title {
  font-weight:900;
  font-size:20px;
  margin-bottom:10px;
  line-height:1.5;
}
.copy {
  font-size:12px;
  color:var(--line);
  margin-top:8px;
}
.to-top {
  position:fixed;
  right:16px;
  bottom:16px;
  width:48px;
  height:48px;
  opacity:0;
  pointer-events:none;
  transition:.25s;
  z-index:40;
}

.to-top.show,html:not(.js) .to-top {
  opacity:1;
  pointer-events:auto;
}

/* JSなしでも、トップへ戻るボタンは常に表示 */
html:not(.js) .to-top {
  display:grid;
}

/* ---------- JSなしのとき ---------- */
html:not(.js) .site-header {
  position:static;
  flex-wrap:wrap;
}
html:not(.js) .event-list .ev {
  display:grid;
}

/* ---------- 画面が広いとき ---------- */
@media (min-width:851px) {
  .hero-inner {
    padding-top:56px;
    padding-bottom:48px;
  }
  .hero-art {
    display:block;
  }
  .about-grid {
    grid-template-columns:1.2fr 1fr;
    align-items:start;
  }
  .info-grid {
    grid-template-columns:1.2fr 1fr;
    align-items:start;
  }
}


/* ---------- スマホ ---------- */
@media (max-width:850px) {
  .js .menu-btn {
    display:flex;
  }
  .js .gnav {
    display:none;
    position:absolute;
    left:0;right:0;
    top:100%;
    flex-direction:column;
    background:#fff;
    border-bottom:1px solid var(--line);
    padding:6px 20px 14px;
    gap:0;
  }
  .js .gnav.open {
    display:flex;
  }
  .js .gnav a {
    padding:12px 0;
    border-bottom:1px solid #ddd;
  }
  .gnav {
    width:100%;
  }
  .site-header {
    flex-wrap:wrap;
  }
  .cap {
    margin-bottom:30px;
  }
  .hero-art {
    width:100%;
    margin:0 auto;
  }
  .catch {
    font-size: 1.5rem;
  }
  .route {
    margin-top: 0;
  }

}
@media (max-width:520px) {

  section {
    padding:48px 0;
  }
  .cal {
    grid-template-columns:repeat(4,1fr);
  }
  .ev {
    grid-template-columns:1fr;
  }
  .when {
    flex-direction:row;
    justify-content:flex-start;
    gap:12px;
    align-items:baseline;
    padding:10px 14px;
    text-align:left;
  }
  .when span br {
    display:none;
  }
  .info>div {
    grid-template-columns:1fr;
    gap:2px;
  }
  .hero-date .md {
    font-size:32px;
  }
}
