:root {
  --cream: #FCF5E6;
  --blue: #5187C1;
  --navy: #3C5A86;
  --orange: #E3A52F;
  --sky: #CDE5F4;
  --sky-pale: #EAF4FB;
  --green: #C2E8B5;
  --green-pale: #DCF1D4;
  --ink: #3A4350;
  --ink-soft: #6B7480;
  --line-green: #06C755;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 4px 16px rgba(60, 90, 134, .10);
  --header-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  font-weight: 500;
  overflow-x: hidden;
  word-break: auto-phrase;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, summary, .coupon__title, .coupons__title, .section-lead, .campaign p { text-wrap: balance; }
.store__desc, .store__meta, .sd__desc, .notes { word-break: normal; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 820px; }
.section { padding: 64px 0; }
.section--sky { background: var(--sky); }
.section--cream { background: var(--cream); }
.section--green { background: var(--green-pale); }
.section--white { background: var(--white); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 48px; padding: 10px 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.3; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--sm { min-height: 38px; padding: 6px 16px; font-size: .875rem; }
.btn--line { background: var(--line-green); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 245, 230, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(60, 90, 134, .08);
}
.site-header__inner { max-width: 1120px; margin: 0 auto; height: var(--header-h); padding: 0 16px; display: flex; align-items: center; gap: 16px; }
.site-header__logo img { height: 42px; width: auto; }
.site-nav { display: none; margin-left: auto; gap: 24px; }
.site-nav a { color: var(--navy); text-decoration: none; font-weight: 700; }
.site-nav a:hover { color: var(--blue); }
.site-header .btn--line { margin-left: auto; }
@media (min-width: 820px) {
  .site-nav { display: flex; }
  .site-header .btn--line { margin-left: 0; }
}

/* ---------- hero ---------- */
.hero { background: var(--cream); padding: 32px 0 24px; overflow: hidden; }
.hero__inner { max-width: 1120px; margin: 0 auto; padding: 0 16px; display: grid; gap: 16px; align-items: center; }
.hero__text { text-align: center; }
.hero__logo img { width: min(420px, 86%); margin: 0 auto; }
.ribbon {
  position: relative; display: inline-block; margin: 20px auto 0; padding: 10px 28px;
  background: #E3E8F2; color: var(--navy); font-weight: 700; font-size: clamp(.875rem, 3.6vw, 1.05rem); line-height: 1.6;
  clip-path: polygon(0 0, 100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.hero__art img { width: min(560px, 100%); margin: 0 auto; }
@media (min-width: 900px) {
  .hero { padding: 56px 0 32px; }
  .hero__inner { grid-template-columns: 1fr 1fr; }
}

/* ---------- LINE cloud ---------- */
.cloud {
  position: relative; max-width: 760px; margin: 0 auto; padding: 36px 20px 28px;
  background: #F5F9FC; border-radius: 120px 140px 110px 130px / 90px 100px 90px 100px;
  display: flex; align-items: flex-end; justify-content: center; gap: 8px;
}
.cloud__body { text-align: center; }
.cloud__title { color: var(--navy); font-size: clamp(1.25rem, 5vw, 1.75rem); line-height: 1.45; }
.cloud__title strong { font-size: 1.2em; }
.cloud__action { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 18px; }
.cloud__qr { display: none; width: 120px; border-radius: 10px; border: 2px solid #ddd; }
.cloud__lead { font-weight: 700; margin-bottom: 8px; }
.cloud__person { width: 64px; flex: none; }
.cloud__person--r { width: 80px; }
@media (max-width: 560px) { .cloud__person { display: none; } }
@media (min-width: 820px) {
  .cloud__qr { display: block; }
  .cloud__person { width: 90px; }
  .cloud__person--r { width: 110px; }
}

/* ---------- coupons ---------- */
.coupons {
  max-width: 760px; margin: 40px auto 0; padding: 36px 16px 24px;
  background: var(--sky-pale); border: 3px solid #A8CCE8; border-radius: 28px; position: relative;
}
.coupons__badge {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: linear-gradient(transparent 50%, #F3E7A6 50%); color: var(--navy); font-weight: 700; padding: 0 6px;
}
.coupons__title { text-align: center; color: var(--navy); font-size: clamp(1rem, 4.2vw, 1.25rem); }
.coupons__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 16px; }
.coupon { display: flex; align-items: center; gap: 12px; }
.coupon--rev { flex-direction: row-reverse; }
.coupon__avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.coupon__bubble { position: relative; flex: 1; background: #fff; border-radius: 16px; padding: 12px 18px; box-shadow: var(--shadow); }
.coupon__bubble::before {
  content: ""; position: absolute; top: 50%; left: -8px; width: 16px; height: 16px; background: #fff; transform: translateY(-50%) rotate(45deg);
}
.coupon--rev .coupon__bubble::before { left: auto; right: -8px; }
.coupon__genre { font-size: .8rem; color: var(--ink-soft); }
.coupon__title { font-weight: 700; font-size: clamp(.95rem, 3.8vw, 1.15rem); color: var(--ink); }
.coupon__note { font-size: .8rem; color: var(--orange); }
.coupon__until { margin-top: 4px; font-size: .75rem; color: var(--ink-soft); }
.coupons__empty { margin-top: 20px; text-align: center; font-weight: 700; color: var(--navy); }
.coupons__note { margin-top: 16px; font-size: .8rem; color: var(--ink-soft); text-align: center; }

/* ---------- section title ---------- */
.section-title { text-align: center; color: var(--blue); font-size: clamp(1.6rem, 6vw, 2.25rem); letter-spacing: .06em; }
.section-title span { color: var(--navy); }
.section-lead { text-align: center; margin-top: 8px; color: var(--ink-soft); }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 24px 0 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 4px 14px;
  border-radius: 999px; border: 2px solid var(--c); background: #fff; font-weight: 700; font-size: .875rem; cursor: pointer;
}
@media (max-width: 640px) {
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}
.chip__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip[aria-pressed="true"] .chip__dot { box-shadow: 0 0 0 2px #fff; }

/* ---------- map ---------- */
.map { background: #fff; border-radius: var(--radius); padding: 8px; box-shadow: var(--shadow); }
.map__scroller { overflow-x: auto; border-radius: 12px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.map__canvas { position: relative; min-width: 960px; }
.map__canvas > img { width: 100%; }
.map__pins { position: absolute; inset: 0; }
.pin {
  position: absolute; width: 2.3%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; border: 0; padding: 0; background: transparent; cursor: pointer;
  transition: background .2s, box-shadow .2s;
}
.pin:hover, .pin:focus-visible { box-shadow: 0 0 0 3px var(--navy); outline: none; }
.pin.is-active { box-shadow: 0 0 0 3px var(--navy), 0 0 0 7px rgba(255, 255, 255, .9); z-index: 2; }
.pin.is-dim { background: rgba(252, 245, 230, .82); }
.pin.is-ping::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid var(--orange);
  animation: ping 1.2s ease-out 3;
}
@keyframes ping { from { transform: scale(.8); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
/* 印刷用QRコード部分を覆う案内パネル */
.map__gmap {
  position: absolute; left: 0; bottom: 0; width: 32%; height: 31%;
  background: var(--cream); border-top-right-radius: 28px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 12px; text-align: center;
  font-size: .875rem; font-weight: 700; color: var(--navy);
}
.map__hint { display: none; text-align: center; font-size: .8rem; color: var(--ink-soft); padding-top: 6px; }
@media (max-width: 1119px) { .map__hint { display: block; } }
@media (min-width: 1120px) { .map__canvas { min-width: 0; } }
.small-note { margin-top: 12px; font-size: .8rem; color: var(--ink-soft); }

/* ---------- store list ---------- */
.store-tools { max-width: 520px; margin: 24px auto 0; }
.search input {
  width: 100%; min-height: 48px; padding: 10px 18px; border-radius: 999px; border: 2px solid #A8CCE8;
  font: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.search input:focus { outline: none; border-color: var(--navy); }
.store-count { text-align: center; font-size: .875rem; color: var(--ink-soft); margin-bottom: 12px; }
.store-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.store { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px 12px; display: flex; flex-direction: column; }
.store__open {
  all: unset; cursor: pointer; display: grid; grid-template-columns: 76px 1fr; grid-template-areas: "no head" "photo desc"; gap: 8px 12px; align-items: start;
}
.store__open:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; border-radius: 8px; }
.store__no {
  grid-area: no; justify-self: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1rem; flex: none;
}
.store__head { grid-area: head; display: flex; flex-direction: column; line-height: 1.4; }
.store__name { font-weight: 700; font-size: 1.05rem; }
.store__genre { font-size: .8rem; color: var(--ink-soft); }
.store__photo { grid-area: photo; width: 76px; height: 76px; object-fit: cover; border-radius: 10px; }
.store__photo--empty, .sd__photo--empty { background: var(--green-pale); color: #7c9a73; display: grid; place-items: center; font-size: .65rem; letter-spacing: .1em; }
.store__desc { grid-area: desc; font-size: .9rem; line-height: 1.65; }
.store__open:hover .store__name { color: var(--blue); }
.store__meta { margin-top: 10px; padding-top: 10px; border-top: 1px solid #E4E8EE; font-size: .8rem; color: var(--ink-soft); line-height: 1.6; }

/* ---------- dialog ---------- */
.store-dialog {
  width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25); color: var(--ink);
}
.store-dialog::backdrop { background: rgba(35, 50, 75, .45); }
.store-dialog__close {
  position: absolute; top: 10px; right: 10px; z-index: 1; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .92); font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow);
}
.sd__top { background: var(--tint); padding: 28px 20px 0; display: flex; justify-content: center; border-radius: 22px 22px 0 0; }
.sd__photo { width: 150px; height: 150px; object-fit: cover; border-radius: 16px; border: 4px solid #fff; box-shadow: var(--shadow); margin-bottom: -40px; background: #fff; }
.sd__head { display: flex; gap: 12px; align-items: center; padding: 56px 20px 0; }
.sd__genre { font-size: .8rem; color: var(--ink-soft); }
.sd__name { font-size: 1.25rem; line-height: 1.4; }
.sd__desc { padding: 12px 20px 0; }
.sd__info { margin: 14px 20px 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .9rem; }
.sd__info dt { color: var(--ink-soft); }
.sd__info dd { margin: 0; }
.sd__actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 20px 22px; }
.sd__actions .btn { flex: 1 1 180px; }

/* ---------- tuktuk ---------- */
.tuk { max-width: 860px; margin: 0 auto; background: #fff; border-radius: 28px; padding: 0 16px 28px; box-shadow: var(--shadow); overflow: hidden; }
.tuk__banner {
  margin: 0 -16px; padding: 18px 16px; background: var(--navy); color: #fff; text-align: center;
  font-weight: 700; font-size: clamp(1.1rem, 4.8vw, 1.5rem); line-height: 1.5;
}
.tuk__title { margin-top: 24px; text-align: center; color: var(--navy); font-size: clamp(1.3rem, 5.4vw, 1.9rem); }
.tuk__title::after {
  content: ""; display: block; height: 8px; margin: 8px auto 0; width: min(360px, 80%);
  background: radial-gradient(circle at 4px 4px, var(--green) 3px, transparent 3.5px) 0 0 / 12px 8px repeat-x;
}
.tuk__body { display: grid; gap: 16px; align-items: center; margin-top: 16px; }
.tuk__img { width: min(360px, 90%); margin: 0 auto; }
.tuk__text { font-size: .95rem; text-wrap: pretty; }
@media (min-width: 560px) and (max-width: 759px) { .tuk__text { text-align: center; } }
@media (min-width: 760px) { .tuk__body { grid-template-columns: 1fr 1fr; } .tuk__text { text-align: left; } .tuk { padding: 0 32px 36px; } .tuk__banner { margin: 0 -32px; } }

.campaign {
  margin: 28px auto 0; max-width: 560px; padding: 22px 18px; text-align: center; background: var(--sky-pale);
  border-radius: 60px 70px 60px 70px / 40px 50px 40px 50px;
}
.campaign__kicker { font-size: .8rem; color: var(--ink-soft); }
.campaign__title { color: var(--navy); font-size: 1.3rem; margin-bottom: 8px; }
.campaign__tag { color: #3E9B4F; font-size: 1.1em; }
.campaign__prize { margin-top: 8px; font-size: .9rem; }
.campaign__prize strong { color: #E07A2E; font-size: 1.15em; }

.faq { margin-top: 28px; display: grid; gap: 10px; }
.faq__item { background: var(--green-pale); border-radius: 14px; padding: 0 18px; }
.faq__item summary { cursor: pointer; list-style: none; padding: 14px 28px 14px 0; font-weight: 700; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--navy); }
.faq__item[open] summary::after { content: "−"; }
.faq__q { color: var(--navy); font-size: 1.15em; margin-right: 8px; }
.faq__item p { padding-bottom: 12px; font-size: .95rem; }
.faq__item .btn { margin-bottom: 16px; }

/* ---------- notes & footer ---------- */
.notes__title { font-size: 1.1rem; color: var(--navy); }
.notes { margin: 12px 0 0; padding-left: 1.4em; font-size: .85rem; color: var(--ink-soft); display: grid; gap: 6px; }
.site-footer { background: var(--navy); color: #fff; text-align: center; padding: 36px 16px 110px; font-size: .9rem; }
.site-footer a { color: #fff; }
.site-footer__org { font-size: 1.2rem; font-weight: 700; letter-spacing: .15em; margin-bottom: 6px; }
.site-footer__links { margin-top: 12px; display: flex; gap: 20px; justify-content: center; font-size: .85rem; }
.site-footer__copy { margin-top: 16px; font-size: .75rem; opacity: .7; }

/* ---------- floating LINE button (mobile) ---------- */
.float-line {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; display: flex; justify-content: center; align-items: center;
  min-height: 52px; border-radius: 999px; background: var(--line-green); color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 24px rgba(6, 199, 85, .35);
}
@media (min-width: 820px) { .float-line { display: none; } .site-footer { padding-bottom: 36px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .pin { transition: none; }
  .pin.is-ping::after { animation: none; }
}

/* ---------- 規約などの文書ページ ---------- */
.site-header__back { margin-left: auto; }
.page-doc .site-footer { padding-bottom: 36px; }
.doc h1 { color: var(--navy); font-size: clamp(1.5rem, 5vw, 2rem); margin-bottom: 24px; }
.doc h2 { color: var(--navy); font-size: 1.1rem; margin: 32px 0 8px; padding-left: 12px; border-left: 4px solid var(--blue); }
.doc p, .doc li { font-size: .95rem; }
.doc ul { margin: 8px 0 0; padding-left: 1.4em; }
.doc__box { margin-top: 12px; padding: 16px 20px; background: var(--sky-pale); border-radius: 12px; }
.doc__date { margin-top: 40px; color: var(--ink-soft); font-size: .85rem; text-align: right; }
