:root {
  --cream: #ece5da;
  --cream-light: #f6f1e7;
  --navy: #22375a;
  --terracotta: #c85a2e;
  --mustard: #dfa032;
  --olive: #5c7a45;
  --sky: #7fa6c9;
  --white: #fffdf6;
  --f-en: 'Unbounded', sans-serif;
  --f-maru: 'Zen Maru Gothic', sans-serif;
  --f-body: 'Noto Sans JP', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--navy);
  font-family: var(--f-body);
  line-height: 1.9;
  overflow-x: hidden;
  position: relative;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.5 0 0 0 0 0.45 0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
}

.logo-pill {
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 14px;
  padding: 8px 18px;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--f-maru);
  font-weight: 900;
  font-size: 20px;
  display: flex;
  align-items: baseline;
  gap: 2px;
  box-shadow: 0 3px 0 rgba(34,55,90,0.25);
}

.back-pill {
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 14px;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--f-maru);
  font-weight: 900;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 3px 0 rgba(34,55,90,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.back-pill:hover { transform: translateY(-2px); box-shadow: 0 5px 0 rgba(34,55,90,0.25); }

.logo-inu { color: var(--terracotta); }
.logo-soto { font-family: var(--f-en); font-weight: 900; font-size: 16px; letter-spacing: 0.02em; }
.logo-year { color: var(--terracotta); font-family: var(--f-en); font-size: 12px; font-weight: 700; margin-left: 2px; }

.nav-pill {
  margin-left: auto;
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 999px;
  padding: 10px 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 3px 0 rgba(34,55,90,0.25);
}

.nav-pill a {
  color: var(--navy);
  text-decoration: none;
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.nav-pill a:hover { color: var(--terracotta); }
.nav-dot { color: var(--terracotta); font-size: 10px; }

.header-cta {
  background: var(--terracotta);
  border: 3px solid var(--navy);
  border-radius: 14px;
  color: var(--white);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  padding: 6px 16px;
  text-align: center;
  box-shadow: 0 3px 0 rgba(34,55,90,0.25);
}

.header-cta strong { display: block; font-size: 12px; }
.header-cta:hover { transform: translateY(1px); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 70px;
}

.deco { position: absolute; }
.sun { width: 100px; top: 12%; right: 10%; animation: bob 6s ease-in-out infinite; }
.cloud-a { width: 130px; top: 18%; left: 6%; animation: drift 9s ease-in-out infinite alternate; }
.cloud-b { width: 80px; top: 8%; left: 38%; animation: drift 12s ease-in-out infinite alternate-reverse; }
.leaf-a { width: 64px; top: 26%; left: 20%; transform: rotate(-15deg); animation: bob 5s ease-in-out infinite; }
.garland-l { width: 300px; top: 2%; left: -3%; transform: rotate(-6deg); z-index: 1; }
.garland-r { width: 300px; top: 2%; right: -3%; transform: scaleX(-1) rotate(-6deg); z-index: 1; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(30px); } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-title-wrap {
  position: relative;
  width: min(680px, 92vw);
  z-index: 5;
  margin-bottom: 12vh;
}

/* 雲は背面で文字の高さに追従して伸びる（文字が縁からはみ出さない） */
.title-cloud {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 6px 0 rgba(34,55,90,0.15));
}

.title-text {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
  padding: 8% 12% 9%;
}

.title-start {
  font-family: var(--f-maru);
  font-weight: 900;
  font-size: clamp(15px, 2.6vw, 21px);
  color: var(--navy);
  letter-spacing: 0.15em;
  border-bottom: 3px solid var(--navy);
  padding-bottom: 2px;
  margin-bottom: 6px;
  transform: rotate(-3deg);
}

.title-inu {
  position: relative;
  font-family: var(--f-maru);
  font-weight: 900;
  font-size: clamp(46px, 9vw, 78px);
  color: var(--mustard);
  letter-spacing: 0.12em;
  line-height: 1;
  margin: 8px 0 -2px;
  -webkit-text-stroke: 3px var(--navy);
  paint-order: stroke fill;
  text-shadow: 0 5px 0 rgba(34,55,90,0.22);
  animation: inu-wiggle 3.2s ease-in-out infinite;
}

.title-inu .inu-paw {
  width: 0.5em;
  height: auto;
  vertical-align: 0.1em;
  margin-left: 0.12em;
  -webkit-text-stroke: 0;
}

@keyframes inu-wiggle {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

.title-soto { display: flex; align-items: baseline; margin-top: 2px; }

.title-soto i {
  font-style: normal;
  font-family: var(--f-en);
  font-weight: 900;
  font-size: clamp(34px, 7.6vw, 68px);
  line-height: 1.05;
  display: inline-block;
}

.title-soto i:nth-child(odd) { transform: rotate(-4deg) translateY(2px); }
.title-soto i:nth-child(even) { transform: rotate(3deg) translateY(-3px); }
.c1 { color: var(--terracotta); }
.c2 { color: var(--sky); }
.c3 { color: var(--mustard); }
.c4 { color: var(--olive); }

.title-date {
  margin-top: 12px;
  font-family: var(--f-en);
  font-weight: 700;
  font-size: clamp(14px, 2.4vw, 20px);
  color: var(--navy);
}

.title-date small { font-size: 0.6em; color: var(--terracotta); }

.title-time {
  font-family: var(--f-maru);
  font-weight: 700;
  font-size: clamp(11px, 1.8vw, 14px);
  color: var(--terracotta);
  letter-spacing: 0.06em;
}

.title-venue {
  font-family: var(--f-maru);
  font-weight: 700;
  font-size: clamp(12px, 2vw, 16px);
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
  padding: 2px 18px;
  margin-top: 6px;
}

.hero-hills { position: absolute; left: 0; right: 0; bottom: 0; height: 42vh; min-height: 260px; }
.hill { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; }
.hill-back { height: 100%; }
.hill-mid { height: 78%; }
.hill-front { height: 52%; }

.actor { position: absolute; z-index: 4; }
.tent { width: 150px; bottom: 34%; left: 8%; }
.tree-a { width: 96px; bottom: 42%; right: 12%; }
.tree-b { width: 92px; bottom: 55%; left: 24%; }
.dog-a { width: 140px; bottom: 6%; left: 14%; animation: bob 3.5s ease-in-out infinite; }
.dog-b { width: 118px; bottom: 8%; right: 20%; animation: bob 4.2s ease-in-out infinite reverse; }
.dog-c { width: 100px; bottom: 5%; right: 6%; }
.dog-d { width: 118px; bottom: 28%; left: 28%; animation: bob 4.8s ease-in-out infinite; }
.dog-e { width: 128px; bottom: 20%; right: 34%; animation: bob 4s ease-in-out infinite; }
.camp { width: 160px; bottom: 32%; right: 44%; }
.paw { width: 110px; bottom: 16%; left: 42%; opacity: 0.8; transform: rotate(-10deg); }

/* ---------- ticker ---------- */

.ticker {
  background: var(--navy);
  overflow: hidden;
  padding: 12px 0;
  border-top: 3px solid var(--navy);
}

.ticker-track { display: flex; white-space: nowrap; animation: ticker 28s linear infinite; }

.ticker-track span {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--cream);
}

@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections common ---------- */

section { padding: 100px 24px; position: relative; }

.sec-label {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--terracotta);
  text-align: center;
  margin-bottom: 10px;
}

.sec-label.light { color: var(--mustard); }

.sec-title {
  font-family: var(--f-maru);
  font-weight: 900;
  font-size: clamp(26px, 4.6vw, 40px);
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.5;
}

.sec-title.light { color: var(--white); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-in { opacity: 1; transform: none; }

.sp { display: none; }

/* ---------- message ---------- */

.message { text-align: center; max-width: 760px; margin: 0 auto; }

.message-catch {
  font-family: var(--f-maru);
  font-weight: 900;
  font-size: clamp(30px, 5.4vw, 48px);
  line-height: 1.6;
  margin-bottom: 40px;
}

.message-body p { margin-bottom: 26px; font-size: 15.5px; font-weight: 500; }

.message-dog { width: min(420px, 78vw); margin-top: 18px; }

/* ---------- about ---------- */

.about { background: var(--cream-light); border-radius: 60px 60px 0 0; }

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto 32px;
}

.about-card {
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 26px;
  padding: 30px 22px;
  text-align: center;
  box-shadow: 0 5px 0 rgba(34,55,90,0.18);
}

.about-en {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.about-main { font-family: var(--f-maru); font-weight: 900; font-size: 22px; line-height: 1.5; }
.about-main small { font-size: 0.65em; }
.about-sub { font-size: 12.5px; margin-top: 10px; color: #5a6478; }
.about-org { text-align: center; font-size: 13.5px; font-weight: 700; }

/* ---------- gallery ---------- */

.gallery { background: var(--cream-light); text-align: center; padding-top: 40px; }

.gallery-lead { font-weight: 500; margin-bottom: 44px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 28px;
  max-width: 980px;
  margin: 0 auto;
}

.polaroid {
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 6px;
  padding: 10px 10px 26px;
  box-shadow: 0 6px 0 rgba(34,55,90,0.15);
  position: relative;
  transition: transform 0.2s ease;
}

.polaroid:nth-child(odd) { transform: rotate(-1.6deg); }
.polaroid:nth-child(even) { transform: rotate(1.4deg); }
.polaroid:hover { transform: rotate(0) scale(1.03); z-index: 2; }

.polaroid::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 74px;
  height: 22px;
  background: rgba(223,160,50,0.75);
  border-radius: 2px;
}

.polaroid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}

/* ---------- contents ---------- */

.contents { background: var(--olive); }

.contents::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--cream-light);
  clip-path: ellipse(60% 100% at 50% 0%);
}

.case-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.case-card {
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 28px;
  padding: 34px 30px 30px;
  position: relative;
  box-shadow: 0 6px 0 rgba(34,55,90,0.3);
}

.case-card img { width: 72px; max-height: 84px; object-fit: contain; margin-bottom: 14px; }

.case-no {
  position: absolute;
  top: -16px;
  left: 24px;
  background: var(--mustard);
  border: 3px solid var(--navy);
  border-radius: 999px;
  font-family: var(--f-en);
  font-weight: 900;
  font-size: 11px;
  padding: 3px 14px;
  color: var(--navy);
}

.case-no span { font-size: 15px; margin-left: 6px; color: var(--terracotta); }

.case-card h3 {
  font-family: var(--f-maru);
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.case-card p { font-size: 14px; }

.chip {
  display: inline-block;
  background: var(--cream);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--terracotta);
  padding: 1px 12px;
  margin-left: 6px;
  white-space: nowrap;
}

/* ---------- timetable ---------- */

.timetable { background: var(--cream-light); text-align: center; }

.timetable::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--olive);
  clip-path: ellipse(60% 100% at 50% 0%);
}

.tt-lead { font-weight: 500; margin-bottom: 40px; }

.tt-coming {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 3px dashed var(--navy);
  border-radius: 28px;
  padding: 48px 30px;
  box-shadow: 0 6px 0 rgba(34,55,90,0.12);
}

.tt-coming img { width: 200px; margin-bottom: 12px; }

.tt-coming-en {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  margin-bottom: 8px;
}

.tt-coming-ja { font-size: 14px; font-weight: 500; color: #5a6478; }

.tt-days {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}

.tt-day {
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 28px;
  padding: 28px 30px 24px;
  box-shadow: 0 6px 0 rgba(34,55,90,0.18);
}

.tt-day-head {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.tt-day-head small { font-size: 0.5em; color: var(--terracotta); }

.tt-day-en {
  background: var(--terracotta);
  color: var(--white);
  border: 2px solid var(--navy);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
}

.tt-list { list-style: none; }

.tt-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 2px dashed rgba(34,55,90,0.2);
}

.tt-list li:last-child { border-bottom: none; }

.tt-time {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 14px;
  color: var(--terracotta);
  min-width: 58px;
}

.tt-item { font-family: var(--f-maru); font-weight: 700; font-size: 15px; }
.tt-item .chip { margin-left: 8px; }

/* ---------- shop ---------- */

.shop { text-align: center; }

.shop-filters { max-width: 900px; margin: 0 auto 30px; display: flex; flex-direction: column; gap: 10px; }

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.filter-btn {
  font-family: var(--f-maru);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 999px;
  padding: 6px 18px;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(34,55,90,0.15);
  transition: transform 0.12s ease;
}

.filter-btn:hover { transform: translateY(1px); }

.filter-btn.is-active {
  background: var(--navy);
  color: var(--cream-light);
}

.shop-lead { font-weight: 500; margin-bottom: 40px; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 860px;
  margin: 0 auto;
}

.shop-card {
  background: var(--white);
  border: 3px dashed var(--navy);
  border-radius: 24px;
  padding: 30px 10px;
  opacity: 0.85;
}

.shop-card img { width: 84px; max-height: 84px; object-fit: contain; opacity: 0.55; filter: grayscale(0.35); }

.shop-card p {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #8a94a8;
  margin-top: 10px;
  line-height: 1.5;
}

.shop-note { margin-top: 26px; font-size: 13.5px; font-weight: 500; color: #5a6478; }

.shop-more-wrap { text-align: center; margin-top: 30px; }

.shop-more {
  font-family: var(--f-maru);
  font-weight: 900;
  font-size: 15px;
  color: var(--navy);
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 999px;
  padding: 12px 40px;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(34,55,90,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.shop-more:hover { transform: translateY(2px); box-shadow: 0 2px 0 rgba(34,55,90,0.25); }

/* ---------- おでかけ（平塚に来たら）── spot CPT ---------- */
.odekake { padding: 90px 20px; text-align: center; }
.odekake-lead { max-width: 620px; margin: 0 auto 40px; font-size: 15px; font-weight: 500; line-height: 2; }
.spot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 900px; margin: 0 auto; }
.spot-card {
  background: var(--white); border: 3px solid var(--navy); border-radius: 24px; overflow: hidden;
  box-shadow: 0 4px 0 rgba(34,55,90,0.18); text-align: left;
}
.spot-card.spot-placeholder {
  border-style: dashed; opacity: 0.85; box-shadow: none; text-align: center; padding: 30px 10px;
}
.spot-placeholder img { width: 84px; max-height: 84px; object-fit: contain; opacity: 0.55; filter: grayscale(0.35); }
.spot-placeholder p { font-family: var(--f-en); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; color: #8a94a8; margin-top: 10px; line-height: 1.5; }
.spot-thumb { aspect-ratio: 4 / 3; background: var(--cream-light); border-bottom: 3px solid var(--navy); }
.spot-thumb img { width: 100%; height: 100%; object-fit: cover; }
.spot-thumb--empty { display: grid; place-items: center; }
.spot-thumb--empty img { width: 64px; height: auto; opacity: 0.4; }
.spot-body { padding: 16px 18px 20px; }
.spot-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.spot-chip { font-family: var(--f-maru); font-size: 11px; font-weight: 700; color: var(--white); background: var(--terracotta); padding: 2px 10px; border-radius: 999px; }
.spot-name { font-family: var(--f-maru); font-weight: 900; font-size: 17px; line-height: 1.4; }
.spot-ex { font-size: 13px; color: #5a6478; margin-top: 8px; line-height: 1.7; }
.spot-date { font-family: var(--f-en); font-size: 11px; color: #8a94a8; margin-top: 10px; }
.spot-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.spot-links a { font-family: var(--f-en); font-weight: 700; font-size: 12px; color: var(--terracotta); text-decoration: none; }

/* 出店者カード（WP exhibitor CPT から描画） */
.shop-grid.exhibitor-loaded { grid-template-columns: repeat(3, 1fr); max-width: 900px; }

.ex-card {
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: var(--navy);
  box-shadow: 0 5px 0 rgba(34,55,90,0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.ex-card:hover { transform: translateY(2px); box-shadow: 0 3px 0 rgba(34,55,90,0.18); }

.ex-thumb {
  aspect-ratio: 4 / 3;
  background: #f5f2ea;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 3px solid var(--navy);
}

.ex-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.ex-thumb--empty img { width: 64px; height: auto; opacity: 0.4; padding: 0; }

.ex-body { padding: 16px 18px 20px; }

.ex-genre {
  display: inline-block;
  background: var(--mustard);
  color: var(--navy);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 12px;
  margin-bottom: 8px;
}

.ex-name { font-family: var(--f-maru); font-weight: 900; font-size: 17px; line-height: 1.4; }
.ex-tagline { font-size: 12.5px; margin-top: 6px; color: #5a6478; }

.ex-day {
  display: inline-block;
  background: var(--cream);
  color: var(--navy);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 12px;
  margin: 0 0 8px 6px;
}

/* ---------- exhibitor modal ---------- */

.ex-modal { position: fixed; inset: 0; z-index: 200; }

.ex-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(34,55,90,0.55);
}

.ex-modal-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(620px, 92vw);
  max-height: 86svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 26px;
  box-shadow: 0 8px 0 rgba(34,55,90,0.3);
}

.ex-modal-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 30px 30px 34px;
}

.ex-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  border: 3px solid var(--navy);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 3px 0 rgba(34,55,90,0.3);
}

.ex-modal-close:hover { transform: translateY(1px); }

.exm-thumb {
  background: #f5f2ea;
  border: 2px solid var(--navy);
  border-radius: 18px;
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
}

.exm-thumb img { width: auto; max-width: 100%; max-height: 240px; height: auto; object-fit: contain; padding: 14px; }

.exm-head { margin-bottom: 6px; }

.exm-name {
  font-family: var(--f-maru);
  font-weight: 900;
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.exm-tagline { font-weight: 700; color: var(--terracotta); font-size: 14.5px; margin-bottom: 14px; }

.exm-desc { font-size: 14.5px; margin-bottom: 16px; white-space: pre-line; }

.exm-block {
  background: var(--cream-light);
  border-radius: 14px;
  padding: 12px 18px;
  margin-bottom: 16px;
  font-size: 14px;
}

.exm-label {
  font-family: var(--f-maru);
  font-weight: 900;
  font-size: 12.5px;
  color: var(--olive);
  margin-bottom: 2px;
}

/* 商品写真ギャラリー（縦横バラバラの画像を切り抜かず本来の比率で並べる） */
.exm-gallery {
  columns: 2;
  column-gap: 10px;
  margin-bottom: 16px;
}

.exm-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid var(--navy);
  margin-bottom: 10px;
  break-inside: avoid;
}

/* 画像が1枚だけのときは1カラムで大きく */
.exm-gallery:has(img:only-child) { columns: 1; }

.exm-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.btn-bubble.exm-btn { font-size: 13.5px; padding: 8px 22px; }
.btn-bubble.exm-btn--sub { background: var(--sky); }

/* ---------- sponsor modal（協賛記事をモーダルでフル表示） ---------- */

.spm-logo {
  background: #f5f2ea;
  border: 2px solid var(--navy);
  border-radius: 18px;
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}

.spm-logo img { max-height: 200px; width: auto; max-width: 100%; height: auto; object-fit: contain; padding: 18px; }

.spm-badge {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--terracotta);
  margin-bottom: 2px;
}

/* 記事本文（WPのcontent.rendered）を読みやすく・画像は縦伸びさせない */
.spm-article { font-size: 14.5px; line-height: 1.9; margin-top: 12px; }
.spm-article > *:first-child { margin-top: 0; }
.spm-article h2 { font-family: var(--f-maru); font-weight: 900; font-size: 19px; margin: 22px 0 8px; }
.spm-article h3 { font-family: var(--f-maru); font-weight: 900; font-size: 16px; color: var(--olive); margin: 20px 0 6px; }
.spm-article p { margin: 0 0 12px; }
.spm-article ul { margin: 0 0 12px; padding-left: 1.2em; }
.spm-article li { margin-bottom: 4px; }
.spm-article a { color: var(--terracotta); font-weight: 700; }
.spm-article em { color: #8a94a8; font-style: normal; font-size: 12.5px; }

.spm-article img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid var(--navy);
  margin: 10px 0;
}

.spm-article figure { margin: 0 0 12px; }

.spm-article blockquote {
  margin: 0 0 14px;
  padding: 14px 18px;
  background: var(--cream-light);
  border-left: 4px solid var(--mustard);
  border-radius: 0 12px 12px 0;
}

.spm-article blockquote p { margin-bottom: 6px; }
.spm-article blockquote cite { font-size: 12.5px; color: #5a6478; font-style: normal; }

@media (max-width: 860px) {
  .ex-modal-dialog { width: 94vw; max-height: 88svh; }
  .ex-modal-body { padding: 20px 18px 26px; }
  .exm-name { font-size: 20px; }
}

/* ---------- sponsor ---------- */

.sponsor { background: var(--cream-light); text-align: center; border-radius: 60px 60px 0 0; }

.sponsor-lead { font-weight: 500; margin-bottom: 40px; }

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 760px;
  margin: 0 auto;
}

.sponsor-card {
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 24px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-decoration: none;
  box-shadow: 0 5px 0 rgba(34,55,90,0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.sponsor-card:hover { transform: translateY(2px); box-shadow: 0 3px 0 rgba(34,55,90,0.18); }

.sponsor-card img { max-height: 80px; width: auto; max-width: 100%; object-fit: contain; }

.sponsor-name { font-family: var(--f-maru); font-weight: 900; font-size: 17px; color: var(--navy); }

.sponsor-placeholder { border-style: dashed; opacity: 0.85; }

.sponsor-placeholder p {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #8a94a8;
  line-height: 1.5;
}

.sponsor-note { margin-top: 26px; font-size: 13.5px; font-weight: 500; color: #5a6478; }

/* ---------- access ---------- */

.access { background: var(--sky); }

.access .sec-label { color: var(--cream-light); }

.access::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--cream);
  clip-path: ellipse(60% 100% at 50% 0%);
}

.access-inner {
  display: flex;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
}

.access-card {
  flex: 1;
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 28px;
  padding: 38px 36px;
  box-shadow: 0 6px 0 rgba(34,55,90,0.3);
}

.access-card h3 { font-family: var(--f-maru); font-weight: 900; font-size: 24px; margin-bottom: 6px; }
.access-add { font-size: 14px; margin-bottom: 16px; }
.access-card ul { list-style: none; margin-bottom: 24px; }
.access-card li { font-size: 14px; padding-left: 1.2em; text-indent: -1.2em; margin-bottom: 6px; }
.access-card li::before { content: '● '; color: var(--terracotta); font-size: 0.7em; }

.access-illust { position: relative; width: 240px; height: 240px; flex-shrink: 0; }
.a-tree { width: 130px; position: absolute; top: 0; left: 50px; }
.a-dog { width: 96px; position: absolute; bottom: 16px; left: 0; animation: bob 4s ease-in-out infinite; }
.a-paw { width: 110px; position: absolute; bottom: 0; right: 0; transform: rotate(15deg); opacity: 0.9; }

.btn-bubble {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--terracotta);
  color: var(--white);
  border: 3px solid var(--navy);
  border-radius: 999px;
  font-family: var(--f-maru);
  font-weight: 900;
  font-size: 15px;
  text-decoration: none;
  padding: 10px 26px;
  box-shadow: 0 4px 0 rgba(34,55,90,0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-bubble:hover { transform: translateY(2px); box-shadow: 0 2px 0 rgba(34,55,90,0.3); }
.arrow { font-family: var(--f-en); }

/* ---------- faq ---------- */

.faq { max-width: 760px; margin: 0 auto; }

.faq-list details {
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 20px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 4px 0 rgba(34,55,90,0.15);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--f-maru);
  font-weight: 700;
  font-size: 15.5px;
  padding: 18px 52px 18px 56px;
  position: relative;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::before {
  content: 'Q';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-en);
  font-weight: 900;
  color: var(--terracotta);
  font-size: 18px;
}

.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-en);
  font-weight: 700;
  color: var(--navy);
  font-size: 20px;
}

.faq-list details[open] summary::after { content: '–'; }

.faq-list details p {
  padding: 0 24px 20px 56px;
  font-size: 14px;
  position: relative;
}

.faq-list details p::before {
  content: 'A';
  position: absolute;
  left: 20px;
  font-family: var(--f-en);
  font-weight: 900;
  color: var(--sky);
  font-size: 18px;
}

/* ---------- follow ---------- */

.follow { text-align: center; padding-bottom: 140px; }

.follow-cloud {
  display: inline-block;
  background: var(--white);
  border: 4px solid var(--navy);
  border-radius: 50% 46% 52% 48% / 55% 48% 52% 45%;
  padding: 60px 80px;
  box-shadow: 0 8px 0 rgba(34,55,90,0.15);
}

.follow-en {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: 24px;
  color: var(--terracotta);
  margin-bottom: 8px;
}

.follow-cloud p { font-weight: 700; font-size: 15px; margin-bottom: 20px; }

/* ---------- footer ---------- */

.site-footer { position: relative; }
.footer-hills svg { display: block; width: 100%; height: 90px; }

.footer-body {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 20px 24px 46px;
}

.footer-logo {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: 26px;
  margin-bottom: 10px;
}

.footer-logo span { font-family: var(--f-maru); color: var(--mustard); }
.footer-logo .y { font-family: var(--f-en); color: var(--terracotta); font-size: 16px; }

.footer-info { font-size: 13.5px; font-weight: 700; margin-bottom: 26px; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream);
  margin-bottom: 22px;
  transition: opacity 0.15s ease;
}

.footer-brand:hover { opacity: 0.8; }
.footer-brand img { width: 46px; height: auto; }

.footer-brand span {
  font-family: var(--f-maru);
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.4;
  text-align: left;
}

.footer-copy { font-size: 11px; opacity: 0.7; }

/* ---------- floating CTA ---------- */

.float-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 128px;
  height: 128px;
  background: var(--terracotta);
  border: 3px solid var(--navy);
  border-radius: 50% 48% 52% 50% / 52% 50% 48% 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px;
  text-decoration: none;
  color: var(--white);
  text-align: center;
  box-shadow: 0 5px 0 rgba(34,55,90,0.4);
  animation: bob 4s ease-in-out infinite;
}

.float-en { font-family: var(--f-en); font-weight: 900; font-size: 14px; letter-spacing: 0.02em; }
.float-ja { font-size: 10px; font-weight: 700; line-height: 1.35; }
.float-cta .arrow { font-family: var(--f-en); font-weight: 900; font-size: 13px; }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .sp { display: inline; }
  .site-header { flex-wrap: wrap; gap: 8px; padding: 0 12px; }
  .logo-pill { font-size: 16px; padding: 5px 12px; }
  .back-pill { font-size: 11px; padding: 5px 10px; }
  .logo-soto { font-size: 13px; }
  .nav-pill { order: 3; margin: 0 auto; padding: 6px 12px; gap: 5px; flex-wrap: wrap; justify-content: center; row-gap: 2px; max-width: 94vw; }
  .nav-pill a { font-size: 11px; }
  .nav-dot { font-size: 9px; }
  .header-cta { display: none; }
  .hero { min-height: 88svh; padding-top: 116px; }
  .hero-title-wrap { width: 90vw; margin-bottom: 5vh; }
  .title-text { padding: 14% 11% 15%; gap: 0; }
  .title-start { font-size: 12px; margin-bottom: 10px; }
  .title-inu { font-size: 40px; letter-spacing: 0.1em; -webkit-text-stroke-width: 2.5px; margin: 4px 0 0; }
  .title-soto i { font-size: 32px; }
  .title-date { font-size: 14px; margin-top: 8px; white-space: nowrap; }
  .title-time { font-size: 11px; }
  .garland-l { width: 150px; top: 0; left: -8%; }
  .garland-r { width: 150px; top: 0; right: -8%; }
  .tent { width: 96px; left: 2%; }
  .tree-b { width: 72px; left: 16%; }
  .tree-a { width: 76px; right: 6%; }
  .camp { display: none; }
  .dog-a { width: 104px; left: 4%; bottom: 5%; }
  .dog-b { width: 92px; right: 6%; bottom: 5%; }
  .dog-c { display: none; }
  .dog-d { display: none; }
  .dog-e { width: 96px; right: 34%; bottom: 22%; }
  .paw { width: 78px; left: 40%; bottom: 8%; }
  .about-cards { grid-template-columns: 1fr; max-width: 420px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; max-width: 480px; }
  .polaroid { padding: 7px 7px 18px; }
  .case-list { grid-template-columns: 1fr; max-width: 480px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); max-width: 440px; }
  .shop-grid.exhibitor-loaded { grid-template-columns: repeat(2, 1fr); max-width: 440px; }
  .spot-grid { grid-template-columns: 1fr; max-width: 400px; }
  .ex-name { font-size: 15px; }
  .tt-days { grid-template-columns: 1fr; max-width: 480px; }
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); max-width: 440px; }
  .filter-btn { font-size: 12px; padding: 5px 14px; }
  .access-inner { flex-direction: column; }
  .access-illust { width: 180px; height: 160px; }
  .follow-cloud { padding: 44px 36px; }
  .float-cta { width: 96px; height: 96px; right: 12px; bottom: 76px; gap: 2px; padding: 8px; }
  .float-en { font-size: 12px; }
  .float-ja { font-size: 8.5px; line-height: 1.25; }
  .float-cta .arrow { font-size: 11px; }
  section { padding: 70px 20px; }
}

/* ---------- countdown ---------- */

.cd-band {
  background: var(--cream);
  padding: 34px 20px 10px;
  position: relative;
  z-index: 5;
}

.countdown {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.cd-badge {
  font-family: var(--f-maru);
  font-weight: 700;
  font-size: clamp(13px, 2.6vw, 17px);
  color: var(--white);
  background: var(--terracotta);
  border: 3px solid var(--navy);
  border-radius: 999px;
  padding: 5px 22px;
  box-shadow: 0 4px 0 rgba(34, 55, 90, 0.2);
  letter-spacing: 0.04em;
}

.cd-tiles {
  display: flex;
  gap: clamp(8px, 2.6vw, 18px);
  justify-content: center;
}

.cd-tile {
  width: clamp(66px, 18vw, 98px);
  border: 3px solid var(--navy);
  border-radius: 16px;
  padding: 12px 4px 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 6px 0 rgba(34, 55, 90, 0.18);
  transition: transform 0.2s ease;
}
.cd-tile:nth-child(odd)  { transform: rotate(-2.5deg); }
.cd-tile:nth-child(even) { transform: rotate(2.5deg); }
.cd-tile:hover { transform: rotate(0) translateY(-2px); }

.t-mustard { background: var(--mustard); }
.t-terra   { background: var(--terracotta); }
.t-olive   { background: var(--olive); }
.t-sky     { background: var(--sky); }

.cd-num {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: clamp(28px, 7.4vw, 48px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cd-unit {
  font-family: var(--f-maru);
  font-weight: 700;
  font-size: clamp(11px, 2.4vw, 13px);
  margin-top: 5px;
}

/* 明るいタイル=紺文字、濃いタイル=白文字 */
.t-mustard .cd-num, .t-mustard .cd-unit,
.t-sky .cd-num,     .t-sky .cd-unit     { color: var(--navy); }
.t-terra .cd-num,  .t-terra .cd-unit,
.t-olive .cd-num,  .t-olive .cd-unit    { color: var(--white); }

.cd-num.tick { animation: cd-pop 0.4s ease; }
@keyframes cd-pop {
  0%   { transform: translateY(-4px) scale(1.14); }
  60%  { transform: translateY(0) scale(1); }
  100% { transform: none; }
}

.cd-msg {
  font-family: var(--f-maru);
  font-weight: 700;
  font-size: clamp(17px, 3.6vw, 24px);
  color: var(--terracotta);
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 999px;
  padding: 8px 26px;
  box-shadow: 0 5px 0 rgba(34, 55, 90, 0.18);
}
.countdown.is-live .cd-msg { color: var(--olive); }

@media (max-width: 480px) {
  .cd-band { padding-top: 26px; }
  .cd-tiles { gap: 8px; }
  .cd-tile { box-shadow: 0 4px 0 rgba(34, 55, 90, 0.18); }
}
