/* ふくら通り商店街（デモ）
   地 クリーム／文字と線 紺／差し色 赤。業種の色は 赤・紺・青緑・山吹（印の形でも分ける）
   見出し Darumadrop One・本文 BIZ UDPGothic。グラデーションと影は付けない */
:root {
  --cream: #FBF3E4;
  --cream2: #FFF9EF;
  --ground: #F2E4C9;
  --navy: #1D3557;
  --red: #E63946;
  --teal: #2A9D8F;
  --yama: #E9A03B;
  --gray: #8A8F99;
  --line10: color-mix(in srgb, var(--navy) 10%, transparent);
  --line25: color-mix(in srgb, var(--navy) 25%, transparent);
  --hd: 72px;
  --wrap: 1180px;
  --pad: clamp(16px, 4vw, 40px);
  --f-head: "Darumadrop One", "BIZ UDPGothic", "Hiragino Maru Gothic ProN", system-ui, sans-serif;
  --f-body: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
}
@media (max-width: 1099px) { :root { --hd: 62px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--f-body);
  font-size: clamp(15px, 0.9rem + 0.2vw, 17px);
  line-height: 1.75;
  letter-spacing: 0.02em;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 0.9em; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.35; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(100% - var(--pad) * 2, var(--wrap)); margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.small { font-size: 0.86em; line-height: 1.7; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 48px; padding: 0.55em 1.4em;
  background: var(--red); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1.06em; letter-spacing: .04em;
  border-radius: 8px; border: 2px solid var(--navy);
  transition: transform .12s ease-out;
}
.btn:hover { transform: translateY(1px); }
.btn:active { transform: translateY(2px); }
.tlink {
  color: var(--navy); font-weight: 700; text-decoration: underline;
  text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.tlink:hover { text-decoration-thickness: 3px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 22px; }
.more { margin-top: 18px; }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 2px solid var(--navy); }
.hd__in { height: var(--hd); display: flex; align-items: center; gap: 14px; padding-inline: clamp(12px, 2.4vw, 32px); }
.brand { display: block; color: var(--navy); flex: none; }
.logo { height: 46px; width: auto; overflow: visible; }
.logo__name { font-family: var(--f-head); font-size: 31px; fill: currentColor; }
.logo__sub { font-family: var(--f-body); font-weight: 700; font-size: 12px; fill: currentColor; }
.logo--hd { height: 46px; }
.demo {
  flex: none; font-size: 10px; letter-spacing: .12em; line-height: 1; padding: 3px 5px 2px;
  border: 1px solid var(--line25); border-radius: 3px; color: color-mix(in srgb, var(--navy) 70%, transparent);
  align-self: center; margin-left: -4px;
}
.gnav { margin-left: auto; }
.gnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(10px, 1.4vw, 24px); }
.gnav a { display: block; padding: 10px 2px 7px; text-decoration: none; font-weight: 700; font-size: .95rem; border-bottom: 3px solid transparent; white-space: nowrap; }
.gnav a:hover { border-bottom-color: var(--line25); }
.gnav a[aria-current="page"] { border-bottom-color: var(--red); }
.btn--next { flex: none; min-height: 42px; padding: .35em 1em; font-size: .92rem; }
.btn--next b { font-family: var(--f-head); font-weight: 400; font-size: 1.12em; letter-spacing: .02em; }
.menu { display: none; }

@media (max-width: 1099px) {
  .hd__in { gap: 10px; }
  .logo--hd { height: 38px; }
  .btn--next { margin-left: auto; flex-direction: column; gap: 0; line-height: 1.15; padding: .3em .8em; min-height: 44px; font-size: .78rem; }
  .menu {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
    width: 52px; height: 52px; flex: none; padding: 0; background: none; border: 2px solid var(--navy); border-radius: 8px;
    color: var(--navy); cursor: pointer; font: inherit;
  }
  .menu__lamp { width: 14px; height: 28px; color: var(--navy); }
  .menu__t { font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: 0; }
  .menu[aria-expanded="true"] { background: var(--navy); color: var(--cream); }
  .menu[aria-expanded="true"] .menu__lamp { color: var(--cream); }
  .js .gnav {
    position: fixed; inset: var(--hd) 0 auto 0; margin: 0; background: var(--cream);
    border-bottom: 2px solid var(--navy); padding: 8px var(--pad) 20px; display: none;
  }
  .js body.is-menu .gnav { display: block; }
  .js .gnav ul { flex-direction: column; gap: 0; }
  .js .gnav a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line10); }
  .js .gnav a[aria-current="page"] { border-bottom: 3px solid var(--red); }
  /* JS が無いときは、ナビをヘッダーの下に並べる */
  html:not(.js) .hd__in { flex-wrap: wrap; height: auto; padding-block: 8px; }
  html:not(.js) .gnav { order: 9; width: 100%; margin: 0; }
  html:not(.js) .gnav ul { flex-wrap: wrap; gap: 4px 16px; }
  html:not(.js) .menu { display: none; }
}
@media (max-width: 420px) {
  .logo--hd { height: 32px; }
  .hd__in { gap: 8px; }
  .demo { font-size: 9px; padding: 2px 3px; }
}

/* パンくず */
.crumb { font-size: .82rem; padding-block: 10px; }
.crumb .wrap { display: flex; gap: .6em; align-items: center; }
.crumb a { color: inherit; }

/* ---------- 最初の画面 ---------- */
.hero-run { position: relative; }
.hero { position: relative; }
.street { position: relative; overflow: hidden; background: var(--cream); }
.street__mv, .street__in { height: 100%; }
.street__in { position: relative; aspect-ratio: 2380 / 320; width: auto; }
.street__svg { width: 100%; height: 100%; max-width: none; }
.street__board {
  position: absolute; top: 24.2%; transform: translate(-50%, -50%); white-space: nowrap;
  font-family: var(--f-head); font-size: 8.6cqh; line-height: 1; color: var(--navy); letter-spacing: .04em;
  pointer-events: none;
}
.street { container-type: size; }
.snap { position: absolute; top: 0; width: 1px; height: 1px; scroll-snap-align: start; }
.tag__n { font: 700 13px var(--f-body); fill: var(--red); text-anchor: middle; }
.tag__t { font: 700 13px var(--f-body); fill: var(--navy); }

.hero__body { background: var(--cream); }
.hero__grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px 48px; }
.hero__h {
  font-family: var(--f-head); font-size: clamp(2.1rem, 1.1rem + 3.4vw, 4rem);
  line-height: 1.22; letter-spacing: .02em; font-feature-settings: "palt";
}
.hero__p { margin: 14px 0 0; max-width: 34em; font-size: 1.05em; }

@media (min-width: 768px) {
  .hero { height: calc(100svh - var(--hd)); min-height: 560px; display: grid; grid-template-rows: 55fr 45fr; }
  .street { height: auto; min-height: 0; }
  .street__mv { will-change: transform; }
  .hero__body { display: flex; align-items: center; min-height: 0; }
  .hero__grid { padding-block: 10px; }
  /* 歩く分だけ縦に長くして、最初の画面を止めておく */
  .mo .hero-run { height: calc(100svh - var(--hd) + 90vh); }
  .mo .hero { position: sticky; top: var(--hd); }
}
@media (max-width: 767px) {
  .street { height: 42svh; min-height: 230px; max-height: 360px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .street__mv, .street__in { height: 100%; }
  .hero__grid { grid-template-columns: 1fr; padding-block: 22px 34px; }
}

/* 日付の札 */
.fuda {
  position: relative; display: inline-flex; flex-direction: column; gap: 2px;
  background: var(--red); color: #fff; text-decoration: none;
  border-radius: 12px; border: 2px solid var(--navy);
  padding: 20px 22px 14px; margin-top: 26px; line-height: 1.3;
}
.fuda::before { /* 穴 */
  content: ""; position: absolute; top: 7px; left: 50%; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: var(--cream); border: 2px solid var(--navy);
}
.fuda::after { /* ひも */
  content: ""; position: absolute; bottom: calc(100% - 8px); left: 50%; width: 2px; height: 28px; margin-left: -1px; background: var(--navy);
}
.fuda__h { font-weight: 700; font-size: .85rem; letter-spacing: .08em; }
.fuda__d, .prize td { word-break: auto-phrase; }
.fuda__d { font-family: var(--f-head); font-weight: 400; font-size: 1.6rem; letter-spacing: .02em; font-feature-settings: "palt"; }
.fuda__s { font-weight: 700; font-size: .92rem; }
a.fuda { transition: transform .12s ease-out; }
a.fuda:hover { transform: translateY(2px); }
.fuda--hero { min-width: 240px; padding: 22px 28px 18px; }
.fuda--hero .fuda__d { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.3rem); }
.fuda--big .fuda__d { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); }
.fuda--sm { padding: 16px 16px 10px; border-radius: 10px; }
.fuda--sm .fuda__d { font-size: 1.25rem; }

/* ---------- 区画 ---------- */
.sec { padding-block: clamp(48px, 6.5vw, 88px); position: relative; }
.sec--light { background: var(--cream2); border-block: 2px solid var(--navy); }
.sh { display: flex; align-items: flex-end; gap: 12px; font-family: var(--f-head); font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.2; margin-bottom: 22px; font-feature-settings: "palt"; }
.sh__lamp { width: 20px; height: 40px; flex: none; color: var(--navy); }
.sub { font-family: var(--f-head); font-size: 1.35rem; margin: 30px 0 12px; }
.lead { max-width: 46em; }
.ev__h { font-family: var(--f-head); font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); margin: 14px 0 18px; line-height: 1.2; }
h3.ev__h { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); }

/* お知らせ */
.news { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.news li { display: grid; grid-template-columns: 8.5em 1fr; gap: 6px 20px; padding: 16px 4px; border-bottom: 1px solid var(--line10); }
.news time { color: var(--red); font-weight: 700; font-variant-numeric: tabular-nums; }
.news p { margin: 0; }
.news a { text-decoration-color: var(--red); text-underline-offset: 4px; }
@media (max-width: 600px) { .news li { grid-template-columns: 1fr; gap: 2px; } }

/* イベントの区画（日付の札＋絵） */
.ev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(28px, 5vw, 72px); align-items: center; }
.ev__txt { max-width: 36em; }
.ev__art .ill { width: 100%; height: auto; }
.ev--fuku .ev__art { max-width: 440px; justify-self: center; width: 100%; }
@media (max-width: 860px) { .ev { grid-template-columns: 1fr; } .ev__art { max-width: 520px; } }

/* 地図 */
.mapbox { margin: 18px 0 0; background: var(--cream2); border: 2px solid var(--navy); border-radius: 14px; padding: clamp(10px, 2vw, 22px); position: relative; }
.z1 { width: 100%; height: auto; }
.z1--v, .z4--v { display: none; }
@media (max-width: 767px) {
  .z1--h, .z4--h { display: none; }
  .z1--v, .z4--v { display: block; max-width: 420px; margin-inline: auto; }
}
.z1__lb { font: 700 15px var(--f-body); fill: var(--navy); }
.z1__lb--b { font-size: 17px; }
.z1__sc { font: 700 15px var(--f-body); fill: var(--navy); }
.z1__nm { font: 700 15px var(--f-body); fill: var(--navy); }
.z1--big .z1__nm { font-size: 15px; }
.z1--big.z1--h .z1__lb { font-size: 16px; }
.mk__n { font-family: var(--f-body); font-weight: 700; }
.z1--h:not(.z1--big) .z1__lb, .z1--h:not(.z1--big) .z1__sc { font-size: 20px; }
.z1--h:not(.z1--big) .z1__lb--b { font-size: 22px; }
.rt { font: 700 18px var(--f-body); fill: var(--navy); }
.rt--b { font-size: 19px; }
.ill--route-big .rt { font-size: 13px; } .ill--route-big .rt--b { font-size: 15px; } .routebox { max-width: 980px; }

.legend { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; font-weight: 700; }
.legend li { display: flex; align-items: center; gap: 6px; }
.mki { width: 24px; height: 24px; flex: none; }
@media (max-width: 767px) { .legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; font-size: .8rem; } .legend li { gap: 4px; align-items: flex-start; } .legend .mki { width: 18px; height: 18px; margin-top: 1px; } .legend li:last-child { grid-column: 1 / -1; } }
.catbtns { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.catbtn {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 14px;
  background: #fff; color: var(--navy); text-decoration: none; font-weight: 700;
  border: 2px solid var(--navy); border-radius: 8px; transition: transform .12s ease-out;
}
.catbtn:hover { transform: translateY(2px); }
@media (max-width: 860px) { .catbtns { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .catbtns { gap: 8px; } .catbtn { gap: 6px; padding: 8px 10px; font-size: .9rem; } .catbtn .mki { width: 20px; height: 20px; } }

/* 1年のイベント（Z-2） */
.yr { display: grid; grid-template-columns: repeat(72, minmax(0, 1fr)); grid-template-rows: 58px auto auto 1fr; margin-top: 18px; border: 2px solid var(--navy); border-radius: 14px; overflow: hidden; background: var(--cream2); }
.yr__m { grid-column: var(--dc); grid-row: 1 / -1; border-left: 1px solid var(--line10); position: relative; min-height: 210px; }
.yr__m:first-child { border-left: 0; }
.yr__m--alt { background: color-mix(in srgb, var(--ground) 55%, var(--cream2)); }
.yr__m--y { border-left: 2px solid var(--navy); }
.yr__mn { display: block; text-align: center; font-family: var(--f-head); font-size: 1.2rem; padding: 12px 0 8px; }
.yr__y { position: absolute; top: 2px; left: 6px; font-style: normal; font-size: .72rem; font-weight: 700; }
.yr__m--y .yr__mn { padding-top: 18px; }
.yr__t {
  grid-column: var(--dc); grid-row: var(--lane); z-index: 1; margin: 6px 4px; padding: 8px 8px 9px;
  background: var(--red); color: #fff; text-decoration: none; border-radius: 8px; border: 2px solid var(--navy);
  display: flex; flex-direction: column; gap: 2px; line-height: 1.3; align-self: start;
  transition: transform .12s ease-out;
}
.yr__t:hover { transform: translateY(2px); }
.yr__t b, .yr__t span { word-break: auto-phrase; }
.yr__t b { font-family: var(--f-head); font-weight: 400; font-size: .86rem; letter-spacing: 0; }
.yr__t span { font-family: var(--f-head); font-size: 1rem; }
.yr__t--stamp { background: #fff; color: var(--navy); border: 3px solid var(--teal); }
.yr__t--yomise { position: relative; margin-top: 40px; }
.yr__lan { position: absolute; width: 64px; height: 36px; top: -36px; left: 50%; margin-left: -32px; overflow: visible; }
.yr--small .yr__m { min-height: 160px; }
.yr--small .yr__t--yomise { margin-top: 6px; }
.yr__note { font-size: .88rem; margin-top: 10px; }
@media (min-width: 960px) {
  .yr__m:first-child .yr__mn { padding-top: 18px; }
}
@media (max-width: 959px) {
  .yr { grid-template-columns: 4.6em minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; grid-auto-rows: minmax(52px, auto); }
  .yr__m { grid-column: 1 / -1; grid-row: var(--mr); border-left: 0; border-top: 1px solid var(--line10); min-height: 52px; }
  .yr--small .yr__m { min-height: 52px; }
  .yr__m:first-child { border-top: 0; }
  .yr__m--y { border-top: 2px solid var(--navy); border-left: 0; }
  .yr__mn { width: 4.6em; padding: 14px 0; }
  .yr__y { top: -1px; left: 4.4em; transform: translateY(-50%); background: var(--cream2); padding: 0 6px; }
  .yr__m--y .yr__mn { padding-top: 14px; }
  .yr__t { grid-column: var(--mc); grid-row: var(--mr); margin: 6px 8px 6px 0; align-self: center; flex-direction: row; flex-wrap: wrap; gap: 0 .6em; align-items: baseline; }
  .yr__t--stamp { align-self: stretch; flex-direction: column; justify-content: center; margin-left: 6px; }
  .yr__t--yomise { margin-top: 6px; }
  .yr__lan { display: none; }
}

/* 福引きの景品の表 */
.prize { width: 100%; border-collapse: collapse; margin: 6px 0 10px; background: #fff; border: 2px solid var(--navy); font-size: .96em; }
.prize th, .prize td { padding: 10px 12px; border-bottom: 1px solid var(--line25); text-align: left; vertical-align: middle; }
.prize thead th { background: var(--navy); color: var(--cream); font-size: .85em; font-weight: 700; }
.prize tbody th { font-weight: 700; white-space: nowrap; }
@media (min-width: 600px) { .prize td:nth-child(2) { white-space: nowrap; } }
.prize td:last-child { min-width: 6em; }
.prize td.num { font-weight: 700; white-space: nowrap; text-align: right; }
.ball { display: inline-block; width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--navy); margin-right: 6px; vertical-align: -1px; }
.ball--r { background: var(--red); } .ball--n { background: var(--navy); } .ball--t { background: var(--teal); } .ball--w { background: #fff; }

/* 来るとき */
.come { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px clamp(24px, 4vw, 56px); align-items: center; }
.come__map { background: var(--cream2); border: 2px solid var(--navy); border-radius: 14px; padding: 10px; }
.ways { margin: 0; }
.ways div { display: grid; grid-template-columns: 5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line10); }
.ways div:first-child { border-top: 2px solid var(--navy); }
.ways dt { font-weight: 700; }
.ways dd { margin: 0; }
@media (max-width: 860px) { .come { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .come__map { overflow-x: auto; } .come__map .ill { min-width: 560px; } .prize th, .prize td { padding: 9px 8px; } .ev--fuku .ev__art { max-width: 300px; } }

/* 商店街について */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px clamp(24px, 5vw, 64px); align-items: center; }
.about__art .ill { width: 100%; height: auto; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__art { order: 2; } }

/* ---------- 下層ページの頭（通りの線） ---------- */
.ph { position: relative; padding-top: 12px; }
.ph__strip { position: relative; display: flex; align-items: flex-end; height: clamp(130px, 16vw, 210px); }
.ph__strip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18.75%; background: var(--ground); border-top: 2px solid var(--navy); z-index: -1; }
.ph__art { height: 100%; width: auto; max-width: none; }
.ph__art--top { width: 100%; height: 100%; }
.ph__strip--top::after { display: none; }
.ph__body { padding-block: 26px 10px; }
.ph__h { font-family: var(--f-head); font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.6rem); line-height: 1.2; font-feature-settings: "palt"; margin-bottom: 14px; }
.ph__lead { max-width: 44em; }
.jump { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.jump a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; background: #fff; border: 2px solid var(--navy); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .92rem; }
.jump a:hover { background: var(--cream2); }
.jump .mki { width: 18px; height: 18px; }

/* ---------- フッター ---------- */
.ft { margin-top: 40px; color: var(--cream); }
.roofline { width: 100%; height: 64px; display: block; }
.ft__body { background: var(--navy); padding: 40px 0 22px; margin-top: -1px; }
.ft__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px 48px; }
.ft__logo { display: inline-block; color: #fff; }
.logo--ft { height: 48px; }
.ft__org { font-weight: 700; margin: 16px 0 6px; }
.ft__addr, .ft__hours { font-size: .9rem; margin: 0 0 6px; }
.ft__nav { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; align-content: start; }
.ft__nav a { display: inline-block; padding: 7px 0; text-decoration: none; font-size: .92rem; }
.ft__nav a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.ft a { color: inherit; }
.ft__copy { text-align: center; margin: 28px 0 0; font-size: .8rem; opacity: .85; }
@media (max-width: 760px) { .ft__in { grid-template-columns: 1fr; } }

/* ---------- 動き（transform と opacity だけ。.mo は reduced-motion でないときだけ付く） ---------- */
.mo .street__in { animation: slide-in .8s cubic-bezier(.2, .7, .2, 1) both; }
.mo .awn { transform-box: fill-box; transform-origin: 50% 0; animation: awn-down .15s ease-out both; animation-delay: calc(.8s + var(--i) * .05s); }
.mo .hero__txt, .mo .fuda--hero { animation: fade-in .4s ease-out both; }
@keyframes slide-in { from { transform: translateX(40px); } to { transform: none; } }
@keyframes awn-down { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.mo .fade { opacity: 0; transform: translateY(12px); transition: opacity .4s ease-out, transform .4s ease-out; }
.mo .fade.is-in { opacity: 1; transform: none; }
.mo .dg .dg-i { opacity: 0; transform: translateY(6px); transition: opacity .25s ease-out, transform .25s ease-out; transition-delay: calc(var(--i, 0) * .04s); }
.mo .dg.is-in .dg-i { opacity: 1; transform: none; }
.mo .lanterns .lan { opacity: .3; transition: opacity .3s ease-out; transition-delay: calc(var(--i, 0) * .1s); }
.mo .lanterns.is-in .lan { opacity: 1; }
.mo .lanterns.is-in .lan__b { transform-box: view-box; animation: sway 3s ease-in-out 1 both; animation-delay: calc(.4s + var(--i, 0) * .1s); }
@keyframes sway { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(2deg); } 75% { transform: rotate(-2deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- お店をさがす ---------- */
[hidden] { display: none !important; }
.sec--tight { padding-block: clamp(36px, 5vw, 64px); }
.sec--end { padding-block: 40px 20px; }
.cta--end { margin-top: 0; }
.sh2 { font-family: var(--f-head); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); line-height: 1.25; margin-bottom: 16px; }
.maphead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; }
.maphead .legend { margin: 0 0 16px; justify-content: flex-end; }
.note { margin-top: 12px; }
.mk { cursor: pointer; }
.mk .lot { transition: fill .15s; }
.mk:hover .lot, .mk.is-on .lot { stroke-width: 3.5; }
.mk.is-on .lot { fill: #fff; }
.mk:focus-visible { outline: none; }
.mk:focus-visible .lot { stroke: var(--red); stroke-width: 4; }
.mk.is-dim { opacity: .25; }
.mcard {
  position: absolute; z-index: 5; background: #fff; border: 2px solid var(--navy); border-radius: 10px;
  padding: 14px 40px 12px 16px; line-height: 1.55;
}
.mcard p { margin: 0 0 4px; }
.mcard__nm { font-family: var(--f-head); font-size: 1.15rem; }
.mcard__hr { font-size: .88rem; font-variant-numeric: tabular-nums; }
.mcard__x { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; border: 0; background: none; color: var(--navy); font-size: 1.4rem; cursor: pointer; border-radius: 6px; }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.filter button { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 6px 14px; font: 700 .92rem var(--f-body); color: var(--navy); background: #fff; border: 2px solid var(--navy); border-radius: 999px; cursor: pointer; }
.filter button .mki { width: 18px; height: 18px; }
.filter button[aria-pressed="true"] { background: var(--navy); color: var(--cream); }
.cat { margin-top: 34px; }
.cat:first-of-type { margin-top: 0; }
.cat__h { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-size: 1.5rem; margin-bottom: 8px; }
.mki--l { width: 32px; height: 32px; }
.shops { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.shop { display: grid; grid-template-columns: 44px minmax(13em, 1.1fr) minmax(0, 1.6fr) minmax(12em, .9fr); gap: 4px 18px; align-items: center; padding: 14px 6px; border-bottom: 1px solid var(--line25); scroll-margin-top: calc(var(--hd) + 20px); }
.shop:target { background: #fff; }
.shop__no { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .92rem; border: 2px solid var(--navy); background: #fff; font-variant-numeric: tabular-nums; }
.shop__no[data-cat="kau"] { background: var(--red); color: #fff; }
.shop__no[data-cat="taberu"] { background: var(--navy); color: #fff; }
.shop__no[data-cat="kurashi"] { background: var(--teal); color: #fff; }
.shop__no[data-cat="naoshi"] { background: var(--yama); }
.shop__no[data-cat="office"] { background: var(--gray); color: #fff; }
.shop__head { display: flex; flex-direction: column; }
.shop__nm { font-family: var(--f-head); font-size: 1.18rem; line-height: 1.35; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--red) 70%, transparent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.shop__tel { font-size: .78rem; text-decoration: none; margin-top: 2px; }
.shop__ln, .shop__meta { margin: 0; }
.shop__meta { display: flex; flex-direction: column; font-size: .92rem; line-height: 1.5; }
.shop__off::before { content: "休み "; font-weight: 700; }
.shop--office { background: color-mix(in srgb, var(--gray) 12%, var(--cream2)); grid-template-columns: 44px minmax(13em, 1.1fr) minmax(0, 1.6fr) minmax(12em, .9fr); }
.shop--office .shop__off::before { content: none; }
.shop__more { grid-column: 2 / -1; margin: 6px 0 0; }
.cat--office { margin-top: 40px; }
.aboutlist { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line25); max-width: 52em; }
@media (max-width: 900px) {
  .shop, .shop--office { grid-template-columns: 40px minmax(0, 1fr); gap: 2px 12px; align-items: start; }
  .shop__no { grid-row: 1 / span 3; }
  .shop__head { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 12px; }
  .shop__meta { flex-direction: row; flex-wrap: wrap; gap: 0 14px; font-size: .88rem; }
  .shop__more { grid-column: 2; }
  .maphead .legend { justify-content: flex-start; }
}
.z1--v.z1--big .z1__nm { font-size: 14px; }

/* ---------- イベント ---------- */
.evrow { display: grid; grid-template-columns: minmax(250px, 340px) minmax(0, 1fr); gap: 10px clamp(28px, 5vw, 72px); align-items: start; }
.evrow__date .fuda { margin-top: 30px; }
.evrow__body { max-width: 44em; }
.evrow__body .ev__h { margin-top: 18px; }
.evs--line { padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line25); }
@media (max-width: 760px) { .evrow { grid-template-columns: 1fr; } .evrow__body .ev__h { margin-top: 6px; } }
.tbl { width: 100%; border-collapse: collapse; background: #fff; border: 2px solid var(--navy); margin: 4px 0 10px; font-size: .96em; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line25); vertical-align: middle; }
.tbl thead th { background: var(--navy); color: var(--cream); font-size: .85em; }
.tbl td:first-child { width: 48%; }
.tbl a { text-decoration-color: var(--red); text-underline-offset: 4px; font-weight: 700; }
.tno { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 50%; border: 2px solid var(--navy); font-size: .8rem; font-variant-numeric: tabular-nums; vertical-align: 1px; background: var(--cream2); color: var(--navy); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--navy); }

.sec--night { background: var(--navy); color: var(--cream); padding-top: 0; }
.sec--night .lanterns { overflow: hidden; margin-bottom: 10px; }
.ill--garland { width: 100%; height: auto; min-height: 60px; }
.sec--night .fuda::before { background: var(--navy); border-color: var(--cream); }
.sec--night .fuda::after { background: var(--cream); }
.sec--night .fuda { border-color: var(--cream); }
.sec--night .tbl { color: var(--navy); }
.sec--night a:not(.btn) { color: var(--cream); }
.sec--night .tbl a { color: var(--navy); }
.z4box { margin: 36px 0 0; border: 2px solid var(--cream); border-radius: 14px; padding: clamp(12px, 2vw, 24px); }
.z4box__h { font-family: var(--f-head); font-size: 1.5rem; margin-bottom: 12px; }
.z4 { width: 100%; height: auto; margin-top: 14px; }
.z4__lb { font: 700 16px var(--f-body); fill: var(--cream); }
.z4__nm { font: 700 14px var(--f-body); fill: var(--cream); }
.z4__nm--h { font-size: 16px; }
.z4__no { font: 700 14px var(--f-body); fill: var(--cream); }
.z4__dim { font: 700 14px var(--f-body); fill: var(--cream); opacity: .6; }
.z4box__note { margin: 12px 0 0; font-size: .92rem; }
.z4t { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: none; }
.z4t li { position: relative; display: flex; flex-direction: column; padding: 8px 14px 8px 0; border-top: 3px solid var(--cream); }
.z4t li::before { content: ""; position: absolute; top: -9px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--red); border: 2px solid var(--cream); }
.z4t li:first-child::before, .z4t li:last-child::before { background: var(--cream); }
.z4t b { font-family: var(--f-head); font-weight: 400; font-size: 1.5rem; line-height: 1.3; padding-top: 6px; font-variant-numeric: tabular-nums; }
@media (max-width: 767px) {
  .z4t { grid-template-columns: 1fr; padding-left: 10px; }
  .z4t li { border-top: 0; border-left: 3px solid var(--cream); padding: 4px 0 10px 18px; flex-direction: row; align-items: baseline; gap: 12px; }
  .z4t li::before { top: 10px; left: -9px; }
  .z4t b { padding-top: 0; font-size: 1.3rem; }
}
.yomise-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 56px); margin-top: 36px; }
@media (max-width: 860px) { .yomise-info { grid-template-columns: 1fr; } }
.sq { list-style: none; padding: 0; margin: 0 0 18px; }
.sq li { position: relative; padding-left: 20px; margin-bottom: 10px; }
.sq li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; background: currentColor; }
.sec--night .sq li::before { background: var(--cream); }
.yomise-dl { margin: 0; }
.yomise-dl div { padding: 12px 0; border-top: 1px solid color-mix(in srgb, var(--cream) 35%, transparent); }
.yomise-dl dt { font-weight: 700; }
.yomise-dl dd { margin: 0; }
.ill--board, .ill--tally, .ill--stamp, .ill--room, .ill--matsuba { width: 100%; height: auto; }
.sec--lineinfo .about__art { max-width: 380px; }
.tbl td { word-break: auto-phrase; }

/* ---------- 福引きとスタンプラリー ---------- */
.fk-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px clamp(28px, 5vw, 64px); align-items: end; }
.fk-get { background: var(--cream2); border: 2px solid var(--navy); border-radius: 14px; padding: 6px 24px 14px; }
.sub--z { margin-top: 56px; }
.fk-turn { max-width: 46em; margin-top: 22px; }
.fk-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(28px, 5vw, 64px); margin-top: 40px; padding-top: 10px; border-top: 1px solid var(--line25); }
.fk-tally { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: start; }
.fk-tally__art { padding-top: 34px; }
@media (max-width: 860px) { .fk-top, .fk-cols { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .fk-tally { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; } }

.z3 { position: relative; margin-top: 8px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 1fr); gap: 16px 28px; align-items: start; }
.z3__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.z3__st { position: relative; text-align: center; }
.z3__st svg { width: 100%; height: auto; background: var(--cream2); border: 2px solid var(--navy); border-radius: 12px; }
.z3__st p { margin: 10px 0 0; font-family: var(--f-head); font-size: 1.05rem; line-height: 1.45; }
.z3__st .num { font-family: var(--f-body); font-weight: 700; font-size: .85rem; }
.z3__st:not(:last-child)::after { content: "→"; position: absolute; top: 28%; right: -26px; font-weight: 700; font-size: 1.4rem; color: var(--navy); }
.z3__balls { list-style: none; padding: 0; margin: 10px 0 0; text-align: left; display: inline-block; font-weight: 700; font-size: .9rem; }
.z3__balls li { display: flex; align-items: center; }
.z3__cp { text-align: center; border-left: 2px dashed var(--line25); padding-left: 24px; }
.z3__cp svg { width: 100%; height: auto; }
.z3__cp p { margin: 8px 0 0; font-family: var(--f-head); font-size: .98rem; line-height: 1.45; }
.z3__note { grid-column: 1 / -1; margin: 6px 0 0; font-size: .88rem; }
@media (max-width: 959px) {
  .z3 { grid-template-columns: 1fr; }
  .z3__steps { grid-template-columns: 1fr; gap: 34px; max-width: 360px; margin-inline: auto; width: 100%; }
  .z3__st:not(:last-child)::after { content: "↓"; top: auto; bottom: -32px; right: 50%; margin-right: -.4em; }
  .z3__cp { border-left: 0; border-top: 2px dashed var(--line25); padding: 18px 0 0; max-width: 360px; margin-inline: auto; width: 100%; }
}
.evrow--stamp { grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); }
.stamp-art { margin-top: 26px; max-width: 340px; }
.stamps { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.stamps a { display: flex; align-items: center; min-height: 44px; padding: 6px 10px; background: #fff; border: 2px solid var(--navy); border-radius: 8px; text-decoration: none; font-weight: 700; }
@media (max-width: 760px) { .evrow--stamp { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .stamps { grid-template-columns: 1fr; } }
.nw { white-space: nowrap; }

/* ---------- アクセス・商店街について ---------- */
.routebox .ill--route { width: 100%; height: auto; }
@media (max-width: 767px) { .routebox .ill--route { display: none; } }
.ways--big { margin-top: 26px; max-width: 52em; }
.ways--big dd p { margin: 0 0 .5em; }
.ways--big dd p:last-child { margin: 0; }
.about--room { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; }
.about--room .about__art { padding-top: 20px; }
.info { width: 100%; border-collapse: collapse; background: #fff; border: 2px solid var(--navy); margin-top: 10px; font-size: .95em; }
.info th, .info td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line25); }
.info th { width: 9.5em; background: color-mix(in srgb, var(--ground) 60%, #fff); font-weight: 700; }
@media (max-width: 520px) { .info th, .info td { display: block; width: auto; } .info th { border-bottom: 0; padding-bottom: 2px; } }
.narrow > * { max-width: 820px; }
.sec--rule { border-top: 1px solid var(--line25); }
.greet { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px clamp(28px, 5vw, 64px); align-items: center; max-width: 980px; }
.greet__art { max-width: 220px; }
.greet__sign { margin-top: 18px; font-weight: 700; text-align: right; }
@media (max-width: 640px) { .greet { grid-template-columns: 1fr; } .greet__art { max-width: 160px; } .greet__sign { text-align: left; } }
.slash { list-style: none; margin: 0; padding: 0; }
.slash li { padding: 2px 0 2px 14px; position: relative; }
.slash li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; background: var(--navy); }
.tel { font-weight: 700; }
.form { margin-top: 20px; display: grid; gap: 18px; max-width: 640px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.req { display: inline-block; margin-left: 6px; padding: 1px 6px; font-size: .75rem; color: #fff; background: var(--red); border-radius: 4px; vertical-align: 2px; }
.hint { margin: -2px 0 6px; font-size: .85rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--navy); background: #fff; border: 2px solid var(--navy); border-radius: 8px; padding: 10px 12px; }
.form.is-checked :invalid { border-color: var(--red); background: color-mix(in srgb, var(--red) 6%, #fff); }
.purpose { margin: 0; font-size: .9rem; }
.form .btn { justify-self: start; min-width: 9em; cursor: pointer; font-family: inherit; }
.done { margin-top: 18px; padding: 18px 20px; background: #fff; border: 2px solid var(--navy); border-radius: 12px; font-weight: 700; }
.done p { margin: 0; }
.kojin { margin: 0; }
.kojin div { display: grid; grid-template-columns: 13em minmax(0, 1fr); gap: 4px 18px; padding: 10px 0; border-bottom: 1px solid var(--line25); }
.kojin dt { font-weight: 700; }
.kojin dd { margin: 0; }
@media (max-width: 600px) { .kojin div { grid-template-columns: 1fr; } }
