/* 086 喫茶 メロンの木 ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #fbf5e4;
  --c-melon: #4cc27a;
  --c-pale: #dff3e4;
  --c-deep: #1c6b3e;
  --c-ink: #16301f;
  --c-cherry: #e0303a;
  --c-cherry-text: #c0262f;
  --c-accent-text: #1c7a43;
  --c-text: #374151;
  --c-sub: #4b5563;
  --font: "Zen Kaku Gothic New", sans-serif;
  --font-head: "Zen Antique Soft", serif;
  --font-en: "Shrikhand", cursive;
  --line: 3px solid var(--c-ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.9; color: var(--c-text); background: var(--c-bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.maru { font-family: var(--font); font-size: max(15px, .82em); letter-spacing: 0; }

/* 区切りの色（G04 の幕も、この色を読む） */
.sec-cream { background: var(--c-bg); }
.sec-melon { background: var(--c-melon); }
.sec-pale { background: var(--c-pale); }
.sec-deep { background: var(--c-deep); color: #fbf5e4; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.en { font-family: var(--font-en); font-size: 22px; color: var(--c-ink); margin-bottom: 4px; transform: rotate(-4deg); display: inline-block; }
.en--cherry { color: var(--c-cherry-text); }
.en--light { color: #fbf5e4; }
.h2 { font-family: var(--font-head); font-size: clamp(30px, 4.8vw, 56px); line-height: 1.35; color: var(--c-ink); margin-bottom: 32px; }
.h2--light { color: #fbf5e4; }
.note { margin-top: 20px; font-size: 15px; color: var(--c-sub); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border: var(--line); border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; flex: none; box-shadow: 4px 4px 0 var(--c-ink); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--c-ink); }
.btn--deep { background: var(--c-deep); color: #fff; }
.btn--melon { background: var(--c-melon); color: var(--c-ink); }
.btn--big { min-height: 62px; padding: 0 40px; font-size: 18px; }

/* ===== ヘッダー（LP：ロゴと予約ボタンだけ） ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--c-bg); border-bottom: var(--line); }
.header__inner { display: flex; align-items: center; gap: 8px; height: 64px; padding: 0 8px 0 16px; max-width: 1440px; margin: 0 auto; }
.logo { display: flex; flex-direction: column; justify-content: center; min-height: 48px; text-decoration: none; color: var(--c-ink); white-space: nowrap; flex: none; line-height: 1.05; }
.logo__en { font-family: var(--font-en); font-size: 22px; color: var(--c-deep); }
.logo__ja { font-family: var(--font-head); font-size: 15px; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 18px; box-shadow: 3px 3px 0 var(--c-ink); }
@media (min-width: 1080px) { .header__inner { height: 76px; padding: 0 40px; } .spmenu { display: none; } .header__btn { padding: 0 32px; } }
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-melon); border: var(--line); color: var(--c-ink); }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 18px; height: 3px; border-radius: 2px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -6px; } .spmenu__bar::after { top: 6px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 12px; right: 12px; top: calc(100% + 10px); background: var(--c-bg); border: var(--line); border-radius: 24px; box-shadow: 4px 4px 0 var(--c-ink); padding: 10px 22px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; font-family: var(--font-head); font-size: 20px; color: var(--c-ink); text-decoration: none; border-bottom: 2px dotted rgba(22, 48, 31, .35); }
.spmenu__nav a:last-child { border-bottom: 0; }

/* ===== G04：色の幕 ===== */
.curtain { position: fixed; inset: 0; z-index: 60; pointer-events: none; display: none; align-items: center; justify-content: center; background: var(--c-melon); }
.curtain__logo { font-family: var(--font-en); font-size: clamp(40px, 8vw, 96px); color: var(--c-ink); }
.is-motion .curtain { display: flex; transform: scaleY(0); transform-origin: 50% 100%; }

/* ===== メインビジュアル：A08 ===== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 88px 0 40px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hero::before { content: ""; position: absolute; left: 50%; top: 52%; width: min(120vw, 1100px); aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle, #f3e9c8 0 18px, var(--c-bg) 18px 36px); transform: translate(-50%, -50%); opacity: .7; }
.hero__since { position: relative; z-index: 3; align-self: center; background: var(--c-bg); padding: 0 12px; border-radius: 999px; text-align: center; font-family: var(--font-head); font-size: 16px; color: var(--c-ink); }
.hero__title { position: relative; z-index: 2; pointer-events: none; display: flex; flex-direction: column; align-items: center; font-family: var(--font-head); line-height: .98; margin: 8px 0 0; }
.hero__line { display: block; font-size: clamp(76px, 20vw, 250px); white-space: nowrap; letter-spacing: -.02em; }
.hero__line--1 { color: var(--c-deep); -webkit-text-stroke: 8px var(--c-bg); paint-order: stroke fill; }
.hero__line--2 { color: #279150; -webkit-text-stroke: 3px var(--c-ink); paint-order: stroke fill; text-shadow: 6px 6px 0 var(--c-ink); }
.hero__soda { position: absolute; z-index: 1; left: 50%; top: 48%; width: clamp(150px, 22vw, 320px); transform: translate(-50%, -46%); }
.hero__soda img { width: 100%; filter: drop-shadow(10px 14px 0 rgba(22, 48, 31, .18)); }
.bub { position: absolute; border-radius: 50%; border: 3px solid var(--c-ink); background: var(--c-pale); }
.bub--1 { width: 34px; height: 34px; left: -30%; top: 12%; }
.bub--2 { width: 20px; height: 20px; left: -12%; top: 2%; background: #fff; }
.bub--3 { width: 46px; height: 46px; right: -36%; top: 26%; background: var(--c-melon); }
.bub--4 { width: 22px; height: 22px; right: -18%; top: 8%; background: #fff; }
.hero__sticker { position: absolute; right: -22%; bottom: 52%; width: 78px; height: 78px; border-radius: 50%; background: var(--c-cherry); border: var(--line); color: #fff; font-family: var(--font-head); font-size: 22px; display: flex; align-items: center; justify-content: center; transform: rotate(12deg); }
.hero__foot { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 26px; text-align: center; }
.hero__lead { font-family: var(--font-head); font-size: clamp(19px, 2.2vw, 26px); line-height: 1.6; color: var(--c-ink); background: var(--c-bg); padding: 4px 14px; border-radius: 14px; }
.hero__lead em { font-style: normal; color: var(--c-accent-text); }
@media (min-width: 1080px) { .hero { padding-top: 96px; } }
@media (max-width: 767px) { .hero__soda { top: 46%; } .hero__sticker, .bub--3, .bub--1 { display: none; } }

/* ===== 悩み ===== */
.worry { padding: 100px 0; }
.worry__list { display: grid; gap: 22px; }
.bubble { position: relative; background: var(--c-bg); border: var(--line); border-radius: 24px; padding: 20px 22px; color: var(--c-ink); font-weight: 700; box-shadow: 4px 4px 0 var(--c-ink); }
.bubble::after { content: ""; position: absolute; left: 30px; bottom: -11px; width: 18px; height: 18px; background: var(--c-bg); border-right: var(--line); border-bottom: var(--line); transform: rotate(45deg); }
@media (min-width: 900px) { .worry__list { grid-template-columns: repeat(3, 1fr); gap: 30px; } }

/* ===== 解決 ===== */
.solve { padding: 100px 0; }
.solve__inner { display: grid; gap: 36px; align-items: center; }
.solve__photo { justify-self: center; width: min(76vw, 360px); border: var(--line); border-radius: 200px 200px 24px 24px; overflow: hidden; box-shadow: 8px 8px 0 var(--c-melon); background: var(--c-pale); }
.solve__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (min-width: 900px) { .solve__inner { grid-template-columns: 1.2fr 1fr; gap: 64px; } }

/* ===== 名物：B02 ===== */
.menu { position: relative; background: var(--c-bg); }
.menu__count { display: none; }
.menu__head { display: table; margin: 0 auto; padding: 72px 0 0; color: var(--c-cherry-text); }
.dish { display: grid; gap: 20px; padding: 56px 20px 72px; border-top: var(--line); align-items: center; justify-items: center; }
.dish--soda { background: var(--c-melon); }
.dish--pudding { background: #ffe8a8; }
.dish--napo { background: #ffd6c7; }
.dish--coffee { background: var(--c-deep); color: #fbf5e4; }
.dish--toast { background: #f1e1bf; }
.dish__img { width: min(64vw, 380px); }
.dish__img--cut img { width: 100%; max-height: 46vh; object-fit: contain; filter: drop-shadow(8px 10px 0 rgba(22, 48, 31, .2)); }
.dish__img--round { border-radius: 50%; overflow: hidden; border: var(--line); aspect-ratio: 1; background: #fff; }
.dish__img--round img { width: 100%; height: 100%; object-fit: cover; }
.dish__text { max-width: 30em; color: var(--c-ink); }
.dish--coffee .dish__text { color: #fbf5e4; }
.dish__no { font-family: var(--font-en); font-size: 22px; }
.dish__name { font-family: var(--font-head); font-size: clamp(34px, 4.3vw, 62px); line-height: 1.12; margin: 4px 0 8px; }
.dish__price { display: inline-block; font-weight: 700; font-size: 18px; background: var(--c-bg); color: var(--c-ink); border: var(--line); border-radius: 999px; padding: 0 16px; margin-bottom: 10px; }
@media (min-width: 900px) { .dish { grid-template-columns: 1fr 1fr; gap: 56px; padding: 80px 6vw; } .dish__img { width: min(36vw, 460px); } }
/* 動く版：区画を止めて、1品ずつ切り替える */
.is-motion .menu__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.is-motion .menu__head { position: absolute; z-index: 3; left: 20px; top: 76px; padding: 0; }
.is-motion .menu__count { display: block; position: absolute; z-index: 3; right: 20px; top: 76px; font-family: var(--font-en); font-size: 26px; color: var(--c-ink); background: var(--c-bg); border: var(--line); border-radius: 999px; padding: 0 16px; }
.is-motion .menu__list { position: absolute; inset: 0; }
.is-motion .dish { position: absolute; inset: 0; padding-top: 120px; padding-bottom: 32px; border-top: 0; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; align-content: center; }
.is-motion .dish.is-on { opacity: 1; visibility: visible; }
.is-motion .dish.is-on .dish__img { animation: pop .6s cubic-bezier(.34, 1.56, .64, 1); }
.is-motion .dish__img--cut img { max-height: 38vh; }
@media (max-width: 899px) { .is-motion .dish { gap: 10px; } .is-motion .dish__img { width: min(56vw, 300px); } .is-motion .dish__img--round { width: min(48vw, 240px); } .is-motion .dish__name { font-size: 34px; } }
@media (min-width: 1080px) { .is-motion .menu__head { left: 6vw; top: 104px; } .is-motion .menu__count { right: 6vw; top: 100px; } .is-motion .dish__img--cut img { max-height: 64vh; } }
@keyframes pop { from { transform: scale(.7) rotate(-6deg); } to { transform: scale(1) rotate(0); } }

/* ===== お店の中：scroll-snap ===== */
.inside { padding: 100px 0; }
.inside__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.inside__arrows { display: flex; gap: 10px; margin-bottom: 32px; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: 3px solid #fbf5e4; background: transparent; color: #fbf5e4; display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.arrow:hover { background: var(--c-melon); color: var(--c-ink); border-color: var(--c-ink); }
.arrow svg { width: 22px; height: 22px; }
.snap { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 20px; scroll-padding: 0 20px; scrollbar-color: var(--c-melon) transparent; }
.snap:focus-visible { outline: 3px solid var(--c-melon); outline-offset: 4px; }
.snap__item { flex: 0 0 80%; scroll-snap-align: start; background: var(--c-bg); border: var(--line); border-radius: 26px; overflow: hidden; min-width: 0; }
.snap__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: var(--line); background: var(--c-pale); }
.snap__cap { padding: 16px 20px 20px; color: var(--c-text); }
.snap__cap b { display: block; font-family: var(--font-head); font-weight: 400; font-size: 20px; color: var(--c-ink); }
.inside__hint { margin-top: 10px; font-size: 15px; color: #e7efe2; text-align: center; }
@media (min-width: 768px) { .snap__item { flex-basis: 44%; } }
@media (min-width: 1080px) { .snap { padding: 4px max(40px, calc((100vw - 1080px) / 2)) 20px; scroll-padding: 0 max(40px, calc((100vw - 1080px) / 2)); } .snap__item { flex-basis: 30%; } }

/* ===== 声 ===== */
.voice { padding: 100px 0; }
.voice__list { display: grid; gap: 24px; }
.vcard { background: #fff; border: var(--line); border-radius: 24px; padding: 24px; box-shadow: 4px 4px 0 var(--c-melon); color: var(--c-ink); }
.vcard--tilt { transform: rotate(-1.5deg); background: var(--c-pale); }
.vcard__who { margin-top: 10px; font-size: 15px; color: var(--c-sub); }
@media (min-width: 900px) { .voice__list { grid-template-columns: repeat(3, 1fr); gap: 30px; } }

/* ===== お品書き ===== */
.price { padding: 100px 0; }
.price__cols { display: grid; gap: 28px; }
.mlist { background: var(--c-bg); border: var(--line); border-radius: 24px; padding: 24px 24px 12px; }
.mlist__head { font-family: var(--font-head); font-size: 24px; color: var(--c-deep); margin-bottom: 8px; }
.mlist dl { margin: 0; }
.mlist dl div { display: flex; align-items: baseline; gap: 8px; padding: 10px 0; }
.mlist dt { color: var(--c-ink); font-weight: 700; }
.mlist dd { margin: 0 0 0 auto; color: var(--c-cherry-text); font-weight: 700; white-space: nowrap; }
.mlist dl div::after { content: none; }
.mlist dt::after { content: ""; }
.mlist dl div dt { flex: none; }
.mlist dl div { background: radial-gradient(circle, rgba(22, 48, 31, .45) 1.2px, transparent 1.6px) 0 70% / 8px 8px repeat-x; }
.mlist dt, .mlist dd { background: var(--c-bg); padding: 0 6px; }
.price__cta { text-align: center; margin-top: 40px; }
@media (min-width: 900px) { .price__cols { grid-template-columns: 1fr 1fr; gap: 36px; } }

/* ===== よくある質問 ===== */
.faq { padding: 100px 0; }
.faq__list { display: grid; gap: 14px; max-width: 820px; }
.faq details { background: #fff; border: var(--line); border-radius: 20px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; padding: 10px 20px; font-weight: 700; color: var(--c-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--font-en); color: var(--c-cherry-text); font-size: 22px; flex: none; }
.faq summary::after { content: "+"; margin-left: auto; font-weight: 700; font-size: 24px; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; }

/* ===== 予約 ===== */
.reserve { padding: 100px 20px 112px; text-align: center; }
.reserve__title { font-family: var(--font-head); font-size: clamp(30px, 5vw, 60px); line-height: 1.35; color: #fbf5e4; margin-bottom: 14px; }
.reserve .btn { margin-top: 28px; }
.reserve__info { margin: 36px auto 0; max-width: 520px; text-align: left; border-top: 2px dotted rgba(251, 245, 228, .5); }
.reserve__info div { display: grid; grid-template-columns: 4em 1fr; gap: 12px; padding: 10px 0; border-bottom: 2px dotted rgba(251, 245, 228, .5); }
.reserve__info dt { font-weight: 700; }
.reserve__info dd { margin: 0; }
.reserve__info a { display: inline-flex; align-items: center; min-height: 44px; color: #fbf5e4; }

/* ===== スマホの下に固定する予約ボタン ===== */
.fixcta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: flex; align-items: center; justify-content: center; min-height: 58px; border: var(--line); border-radius: 999px; background: var(--c-melon); color: var(--c-ink); font-weight: 700; font-size: 17px; text-decoration: none; box-shadow: 4px 4px 0 var(--c-ink); }
@media (min-width: 1080px) { .fixcta { display: none; } }

/* ===== フッター ===== */
.footer { background: var(--c-ink); color: #f0eadb; padding: 52px 20px 110px; text-align: center; font-size: 15px; }
.footer__logo { font-family: var(--font-en); font-size: 40px; color: var(--c-melon); }
.footer__fiction { margin-top: 18px; }
@media (min-width: 1080px) { .footer { padding-bottom: 40px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
/* 名物の見出しは、どの色の品の上でも読めるよう板に乗せる */
.is-motion .menu__head { background: var(--c-bg); border: var(--line); border-radius: 999px; padding: 0 16px; }
.spmenu:not([open]) .spmenu__nav { display: none; }
