@charset "UTF-8";
/* =========================================================
   えびす講 2026 — suzaka-nishinomiya.org/ebisukou/
   デザイン幅 1800px（本文セクションは 1/2 スケール換算）
   ========================================================= */

:root {
  --c-red: #cd3030;
  --c-yellow: #f8b62d;
  --c-hero: #fff100;
  --c-yellow-band: #ffc44c;
  --c-cream: #ffe9a3;
  --c-blue: #0089ce;
  --c-gold: #e2ba67;
  --c-teal: #00a29a;
  --c-text: #000;
  --c-line: #d9d9d9;

  --ff-mincho: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --ff-gothic: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  /* p：16px（375px幅）〜 20px（1800px幅） */
  --fs-p: clamp(16px, calc(14.95px + 0.2807vw), 20px);
  /* セクション見出し：26px 〜 36px */
  --fs-title: clamp(26px, calc(23.37px + 0.7018vw), 36px);

  --container: min(1200px, calc(100% - 32px));
  --radius-card: clamp(24px, 4vw, 50px);
  --shadow-card: 0 0 10px 10px rgba(0, 0, 0, .04);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-gothic);
  font-size: 18px;
  line-height: 1.7;
  color: var(--c-text);
  background: #fff;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; }
p { font-size: var(--fs-p); }

.section-title {
  font-family: var(--ff-mincho);
  font-weight: 700;
  font-size: var(--fs-title);
  line-height: 1.4;
  color: var(--c-red);
  text-align: center;
  letter-spacing: .08em;
}

/* =========================================================
   ヘッダー（デザイン 1200×105 を等倍、狭い画面では縮小）
   ========================================================= */
.site-header {
  --u: 1px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  overflow: hidden;
  transform: translateY(-110%);
  visibility: hidden;
  transition: transform .4s ease, visibility 0s linear .4s;
}
.site-header.is-visible {
  transform: translateY(0);
  visibility: visible;
  transition: transform .4s ease, visibility 0s;
}
.site-header__inner {
  position: relative;
  max-width: 1200px;
  height: calc(105 * var(--u));
  margin: 0 auto;
}
.site-header__title {
  position: absolute;
  z-index: 1;
  top: 0;
  left: calc(13 * var(--u));
  width: calc(535 * var(--u));
  height: 100%;
  font-family: var(--ff-mincho);
  font-weight: 400;
  line-height: 1;
}
.site-header__title > * { position: absolute; }
.site-header__year {
  left: 0;
  top: calc(44 * var(--u));
  font-size: calc(24 * var(--u));
  white-space: nowrap;
}
.site-header__logo {
  left: calc(111 * var(--u));
  top: calc(18 * var(--u));
  width: calc(240 * var(--u));
  height: auto;
}
.site-header__date { left: calc(369 * var(--u)); top: 0; width: calc(170 * var(--u)); height: 100%; }
.site-header__day {
  position: absolute;
  left: 0;
  top: calc(20 * var(--u));
  font-size: calc(48 * var(--u));
  white-space: nowrap;
}
.site-header__week {
  position: absolute;
  left: calc(122 * var(--u));
  top: calc(12 * var(--u));
  display: grid;
  place-items: center;
  width: calc(40 * var(--u));
  height: calc(40 * var(--u));
  border-radius: 50%;
  background: var(--c-red);
  color: #fff;
  font-size: calc(24 * var(--u));
}
.site-header__place {
  position: absolute;
  left: calc(-3 * var(--u));
  top: calc(76 * var(--u));
  font-size: calc(16 * var(--u));
  white-space: nowrap;
}
.site-header__ebisu {
  position: absolute;
  z-index: 0;
  left: calc(443 * var(--u));
  top: calc(-95 * var(--u));
  width: calc(390 * var(--u));
  max-width: none;
  pointer-events: none;
}

@media (max-width: 620px) {
  .site-header { --u: calc((100vw - 24px) / 548); }
  .site-header__title { left: 12px; }
  .site-header__ebisu { left: calc(12px + 430 * var(--u)); }
}

/* =========================================================
   ヒーロー（デザイン上のヒーロー枠 290×240 を --u 倍で表示）
   ========================================================= */
.hero {
  --u: min(calc(100vw / 541), 2.8px);
  background: var(--c-hero);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  width: calc(290 * var(--u));
  height: calc(240 * var(--u));
  margin: 0 auto;
}
.hero__inner > * { position: absolute; margin: 0; }
.hero__title {
  inset: 0;
  font-weight: 700;
}
.hero__title > * { position: absolute; }
.hero__logo {
  left: calc(5 * var(--u));
  top: calc(12 * var(--u));
  width: auto;
  height: calc(212 * var(--u));
  max-width: none;
}
.hero__suzaka {
  left: calc(66 * var(--u));
  top: calc(14 * var(--u));
  display: flex;
  flex-direction: column;
  gap: .3em;
  font-family: var(--ff-mincho);
  font-size: calc(28 * var(--u));
  line-height: 1;
}
.hero__date {
  left: calc(66 * var(--u));
  top: calc(134 * var(--u));
  font-family: var(--ff-mincho);
  line-height: 1;
}
.hero__date > * { display: block; }
.hero__year { font-size: calc(13 * var(--u)); }
.hero__day {
  position: relative;
  margin-top: calc(2 * var(--u));
  font-size: calc(30 * var(--u));
  white-space: nowrap;
}
.hero__week {
  position: absolute;
  left: calc(36 * var(--u));
  top: calc(29 * var(--u));
  display: grid;
  place-items: center;
  width: calc(24 * var(--u));
  height: calc(24 * var(--u));
  border-radius: 50%;
  background: var(--c-red);
  color: #fff;
  font-size: calc(15 * var(--u));
}
.hero__place {
  margin-top: calc(34 * var(--u));
  font-size: max(10px, calc(6.5 * var(--u)));
  white-space: nowrap;
}
.hero__ebisu {
  left: calc(146 * var(--u));
  top: calc(12 * var(--u));
  width: auto;
  height: calc(214 * var(--u));
  max-width: none;
  pointer-events: none;
  transform-origin: 50% 92%;
  animation: ebisu-sway 6s ease-in-out infinite;
}
@keyframes ebisu-sway {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

/* =========================================================
   リード
   ========================================================= */
.intro {
  background: #fffc7e;
  padding: clamp(28px, 4vw, 64px) 16px clamp(32px, 4.5vw, 72px);
  text-align: center;
  font-family: var(--ff-mincho);
  font-weight: 700;
}
.intro__title {
  font-size: clamp(28px, 7.4vw, 96px);
  line-height: 1.3;
  letter-spacing: .06em;
}
.intro__text {
  margin-top: clamp(12px, 1.6vw, 24px);
  word-break: auto-phrase;
  line-height: 1.8;
}

/* =========================================================
   イベントの大バナー（カルーセル）
   ========================================================= */
.stage { background: #fff; }
.stage__viewport {
  overflow: hidden;
  touch-action: pan-y;
}
.stage__track {
  display: flex;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.stage__track.is-jump { transition: none; }
.slide {
  flex: 0 0 100%;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 40%;
  column-gap: 4%;
  aspect-ratio: 1800 / 620;
  padding-left: 5%;
  overflow: hidden;
  background: #fff;
  color: var(--c-text);
}
.slide__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  font-family: var(--ff-mincho);
  font-weight: 700;
}
.slide__tag {
  padding: .08em .45em;
  background: var(--c-red);
  color: #fff;
  font-size: min(2.8vw, 50px);
  line-height: 1.3;
}
.slide__title {
  margin-top: .12em;
  font-size: min(5.2vw, 94px);
  line-height: 1.2;
  letter-spacing: .06em;
  white-space: nowrap;
}
.slide__title + .slide__tag { margin-top: .9em; }
.slide__text {
  margin-top: min(1.6vw, 28px);
  font-size: clamp(16px, 1.55vw, 28px);
  line-height: 1.6;
  max-width: 30em;
}
.slide__photo { position: relative; }
.slide__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* サムネイル：コンテンツ幅に横一列（モバイルは2×2）。画像は文字入りの完成画像 */
.stage__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 2.2vw, 28px);
  width: min(1000px, calc(100% - 32px));
  margin: clamp(16px, 2.4vw, 36px) auto 0;
}
.thumb {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: center;
  cursor: pointer;
  opacity: .6;
  transition: opacity .3s, transform .3s;
}
.thumb:hover, .thumb:focus-visible, .thumb.is-active { opacity: 1; }
.thumb:hover { transform: translateY(-3px); }
.thumb:focus-visible { outline: 3px solid var(--c-red); outline-offset: 3px; }
.thumb.is-active { box-shadow: 0 0 0 3px var(--c-red); }
.thumb img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================================
   おいしいもの情報
   ========================================================= */
.food {
  position: relative;
  margin-top: clamp(24px, 3vw, 55px);
  padding: clamp(48px, 6vw, 110px) 0 clamp(56px, 7vw, 120px);
  background: var(--c-cream);
  overflow: hidden;
}
.food__ebisu {
  position: absolute;
  z-index: 0;
  left: 54.7%;
  top: clamp(24px, 4.7vw, 85px);
  width: 69.4%;
  max-width: none;
  pointer-events: none;
}
.food__inner {
  position: relative;
  z-index: 1;
  width: min(1000px, calc(100% - 32px));
  margin: 0 auto;
}
.food__lead {
  margin-top: clamp(20px, 2.2vw, 36px);
  line-height: 1.8;
}
.shop-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.6vw, 28px) clamp(8px, .7vw, 12px);
  margin-top: clamp(28px, 3vw, 56px);
}
.shop__img {
  aspect-ratio: 291 / 201;
  background: #d9d9d9;
  overflow: hidden;
}
.shop__img img { width: 100%; height: 100%; object-fit: cover; }
.shop__soon {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: var(--fs-p);
  color: #777;
  letter-spacing: .1em;
}
.shop__name { margin-top: .3em; line-height: 1.5; }
.shop__links {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}
.shop__links a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--c-text);
  transition: color .2s, background-color .2s;
}
.shop__links a:hover,
.shop__links a:focus-visible { color: var(--c-red); background: rgba(255, 255, 255, .6); }
.shop__links a:focus-visible { outline: 2px solid var(--c-red); outline-offset: 0; }
.shop__links svg { width: 25px; height: 25px; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* =========================================================
   写真帯（おいしいもの情報とイベント概要の境目）
   ========================================================= */
.food-gallery {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.food-gallery__item { aspect-ratio: 1 / 1; overflow: hidden; }
.food-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   Googleマップ
   ========================================================= */
.map {
  padding-top: clamp(40px, 5vw, 64px);
  background: var(--c-cream);
}
.map__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35em;
  margin-bottom: clamp(20px, 2.5vw, 36px);
}
.map__icon {
  width: 2em;
  height: auto;
}
.map iframe {
  display: block;
  width: 100%;
  height: clamp(300px, 34.4vw, 620px);
  border: 0;
}

/* =========================================================
   アクセス / 開催概要（カード）
   ========================================================= */
.info {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
  padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 5vw, 88px);
  background: var(--c-cream);
}
.card {
  width: var(--container);
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.card__title {
  padding: clamp(18px, 2.2vw, 30px) 16px;
  background: var(--c-yellow-band);
  font-family: var(--ff-mincho);
  font-weight: 700;
  font-size: var(--fs-title);
  line-height: 1.4;
  color: var(--c-red);
  text-align: center;
  letter-spacing: .08em;
}
.card__body { padding: clamp(28px, 3.5vw, 48px) clamp(20px, 5.5vw, 76px) clamp(36px, 4.5vw, 56px); }

.access {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 6%;
}
.access__item {
  display: grid;
  grid-template-columns: clamp(56px, 6vw, 84px) 1fr;
  column-gap: clamp(14px, 1.6vw, 24px);
  align-content: start;
}
.access__item > :not(.access__icon) { grid-column: 2; }
.access__icon {
  grid-row: 1 / span 3;
  width: 100%;
  height: auto;
}
.access__head {
  font-size: var(--fs-p);
  font-weight: 700;
  line-height: 1.5;
}
.access__item p { line-height: 1.5; }
.access__note {
  margin-top: 1.5em;
  font-size: clamp(14px, calc(13.2px + .2246vw), 16px) !important;
  line-height: 1.6 !important;
}

.outline__row {
  display: grid;
  grid-template-columns: 21.5% 1fr;
  gap: 16px;
  padding: .45em 0;
  border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-p);
  line-height: 1.6;
}
.outline dd { margin: 0; }

/* =========================================================
   Instagram
   ========================================================= */
.insta {
  padding: clamp(40px, 5vw, 60px) 0 clamp(48px, 5vw, 80px);
  background: var(--c-yellow);
}
.insta__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  width: min(1520px, calc(100% - 32px));
  margin: 0 auto;
  padding-left: clamp(0px, 3vw, 64px);
}
.insta__lead {
  font-weight: 700;
  line-height: 1.5;
}
.insta__id { font-size: 1.2em; }
.insta__btn {
  display: inline-block;
  margin-top: 14px;
  padding: .45em 2.4em;
  border: 1px solid #000;
  border-radius: 999px;
  font-size: var(--fs-p);
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  transition: background-color .3s, color .3s;
}
.insta__btn:hover, .insta__btn:focus-visible { background: #000; color: var(--c-yellow); }
.insta__qr {
  flex: 0 0 auto;
  width: clamp(96px, 11.3vw, 110px);
  border-radius: 8px;
}

/* =========================================================
   フッター
   ========================================================= */
.site-footer {
  padding: 14px 16px;
  background: var(--c-red);
  color: #fff;
  text-align: center;
}
.site-footer p { font-weight: 700; line-height: 1.6; }
.site-footer small { font-size: clamp(13px, calc(11.9px + .28vw), 18px); }

/* =========================================================
   タブレット以下
   ========================================================= */
@media (max-width: 767px) {
  .hero { --u: calc((100vw - 32px) / 290); }

  /* スライド：写真を上、テキストを下に */
  .slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    aspect-ratio: auto;
    padding: 0;
  }
  /* 写真の左右は小バナーと同じ色で塗る */
  .slide__photo {
    order: -1;
    padding: 16px 0;
    background: var(--slide-color, #d9d9d9);
  }
  .slide__photo img {
    position: static;
    display: block;
    width: min(72%, 360px);
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
  }
  .slide--colts { --slide-color: #3f88c8; }
  .slide--beer { --slide-color: #dbbb73; }
  .slide--stage { --slide-color: #edb84c; }
  .slide--suzakaiser { --slide-color: #4c9f99; }
  .slide__body {
    justify-content: flex-start;
    padding: 18px 20px 24px;
  }
  .slide__tag { font-size: 18px; }
  .slide__title { font-size: clamp(26px, 8vw, 40px); white-space: normal; }
  .slide__text { margin-top: 10px; font-size: var(--fs-p); }

  /* サムネイルは1段に収め、カルーセルが画面内に見えるようにする */
  .stage__thumbs { grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
  .thumb.is-active { box-shadow: 0 0 0 2px var(--c-red); }
  .thumb:hover { transform: none; }

  .food__ebisu { left: 38%; width: 110%; }
  .shop-list { grid-template-columns: repeat(2, 1fr); }

  /* 写真帯：4列×2段。屋台の写真だけ横2マス */
  .food-gallery { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }
  .food-gallery__item--wide { grid-column: span 2; aspect-ratio: 2 / 1; }

  .access { grid-template-columns: 1fr; }
  .access__note br { display: none; }
  .outline__row { grid-template-columns: 5.5em 1fr; gap: 8px; }

  .insta__inner { padding-left: 0; }
}

@media (max-width: 480px) {
  .insta__inner { flex-direction: column; align-items: flex-start; }
  .insta__inner { align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .stage__track, .thumb, .insta__btn, .site-header, .site-header.is-visible { transition: none; }
  .hero__ebisu { animation: none; }
}
