/* よりみちボトル — 若草色×白、散歩道の地図の点線、丸いボトル型の写真枠 */
:root {
  --leaf: #8cc63f;
  --leaf-d: #5e9a1e;
  --leaf-dd: #3f6d14;
  --leaf-l: #eef7e1;
  --leaf-ll: #f7fbf0;
  --ink: #2f3a2a;
  --mute: #6f7d66;
  --line: #d9e8c6;
  --sun: #f4c542;
  --white: #ffffff;
  --round: 'Kiwi Maru', 'Zen Maru Gothic', serif;
  --body: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.85; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* header */
.yh { background: var(--white); border-bottom: 2px dashed var(--line); position: sticky; top: 0; z-index: 30; }
.yh-in { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-svg { width: 34px; height: 34px; flex: none; }
.logo-svg rect, .logo-svg path { fill: var(--leaf); }
.logo-svg .w { fill: none; stroke: #fff; stroke-width: 2.5; stroke-dasharray: 2 3; }
.logo b { display: block; font-family: var(--round); font-weight: 500; font-size: 20px; color: var(--leaf-dd); line-height: 1.2; }
.logo small { display: block; font-size: 11px; color: var(--mute); line-height: 1.3; }
.ynav { margin-left: auto; display: flex; gap: 20px; font-size: 14px; font-weight: 500; }
.ynav a { text-decoration: none; color: var(--mute); }
.ynav a:hover { color: var(--leaf-d); }
.ml-link { display: flex; align-items: center; gap: 6px; text-decoration: none; background: var(--leaf-l); color: var(--leaf-dd); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; }
.ml-ic { color: var(--leaf-d); }
.ml-n { background: #fff; color: var(--leaf-dd); border-radius: 999px; min-width: 22px; height: 22px; line-height: 22px; text-align: center; font-size: 12px; }
.ml-n.has { background: var(--leaf-d); color: #fff; }
.ynote { background: var(--leaf-ll); color: var(--leaf-dd); text-align: center; font-size: 12px; padding: 6px 16px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--leaf-d); color: #fff; border: 0; border-radius: 999px; padding: 13px 30px; font-weight: 700; text-decoration: none; box-shadow: 0 4px 0 var(--leaf-dd); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--leaf-dd); }
.btn-ln { display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--leaf-dd); border: 2px solid var(--line); border-radius: 999px; padding: 11px 24px; font-weight: 700; text-decoration: none; margin-top: 12px; }
.block { display: flex; width: 100%; }

/* hero：地図の点線の散歩道とボトル型の写真 */
.hero { background: radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 1.5px) 0 0 / 22px 22px, var(--leaf-ll); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding-top: 60px; padding-bottom: 60px; }
.hero-kick { font-size: 12px; letter-spacing: .3em; color: var(--leaf-d); font-weight: 700; }
.hero h1 { font-family: var(--round); font-weight: 500; font-size: clamp(30px, 4.6vw, 46px); line-height: 1.45; color: var(--leaf-dd); margin: 12px 0 18px; }
.hero-lead { color: var(--mute); margin-bottom: 28px; }
.hero-map { position: relative; height: 380px; }
.map-path { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-path path { fill: none; stroke: var(--leaf); stroke-width: 4; stroke-dasharray: 2 12; stroke-linecap: round; }
.hb { position: absolute; width: 30%; aspect-ratio: 3 / 5; border-radius: 999px 999px 40px 40px; overflow: hidden; border: 5px solid #fff; box-shadow: 0 8px 24px rgba(63, 109, 20, .18); background: #fff; }
.hb img { width: 100%; height: 100%; object-fit: cover; }
.hb::before { content: ''; position: absolute; left: 50%; top: -2px; transform: translateX(-50%); width: 34%; height: 10px; background: #fff; border-radius: 0 0 8px 8px; z-index: 1; }
.hb1 { left: 0; bottom: 0; }
.hb2 { left: 35%; top: 30px; }
.hb3 { right: 0; top: 0; width: 27%; }

/* section head */
.sec { padding: 70px 0; }
.sec-h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-h h2 { font-family: var(--round); font-weight: 500; font-size: clamp(22px, 3vw, 28px); color: var(--leaf-dd); }
.sec-h p { color: var(--mute); font-size: 13px; }
.pin { width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--sun); box-shadow: inset 0 0 0 5px var(--sun), inset 0 0 0 9px #fff; flex: none; }

/* route：点線でつながった寄り道ポイント */
.route { display: flex; justify-content: space-between; gap: 6px; position: relative; margin: 0 0 34px; padding: 0 4px; }
.route::before { content: ''; position: absolute; left: 30px; right: 30px; top: 22px; border-top: 3px dashed var(--leaf); z-index: 0; }
.route button { position: relative; z-index: 1; background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; flex: 1; }
.stop-dot { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 3px solid var(--leaf); display: flex; align-items: center; justify-content: center; font-family: var(--round); font-size: 18px; color: var(--leaf-d); transition: background .2s, transform .2s; }
.stop-t { font-weight: 700; font-size: 14px; color: var(--ink); text-align: center; line-height: 1.35; }
.stop-n { font-size: 11px; color: var(--mute); }
.route button.on .stop-dot { background: var(--leaf-d); border-color: var(--leaf-d); color: #fff; transform: scale(1.08); }
.route button.on .stop-t { color: var(--leaf-dd); }
.route button:hover .stop-dot { background: var(--leaf-l); }
.route button.on:hover .stop-dot { background: var(--leaf-d); }

/* grid & card：丸いボトル型の写真枠 */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.card-w { display: flex; flex-direction: column; }
.card { display: flex; flex-direction: column; flex: 1; text-decoration: none; }
.card-ph { position: relative; border-radius: 999px 999px 32px 32px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--leaf-l); border: 4px solid var(--leaf-l); transition: border-color .2s, transform .2s; }
.card-ph img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card-ph { border-color: var(--leaf); transform: translateY(-3px); }
.card-b { padding: 12px 4px 0; text-align: center; display: flex; flex-direction: column; align-items: center; flex: 1; }
.card-size { display: inline-block; font-size: 11px; color: var(--leaf-dd); background: var(--leaf-l); border-radius: 999px; padding: 0 10px; margin-bottom: 4px; }
.card-nm { font-weight: 500; font-size: 14px; line-height: 1.55; flex: 1; }
.card-pr { font-family: var(--round); font-size: 19px; color: var(--leaf-dd); margin-top: 6px; }
.card-pr small { font-family: var(--body); font-size: 11px; color: var(--mute); margin-left: 4px; }

/* promise */
.promise { background: var(--leaf-ll); border-top: 2px dashed var(--line); }
.prom { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prom li { background: #fff; border-radius: 28px; padding: 26px 24px; position: relative; }
.prom-n { width: 38px; height: 38px; border-radius: 50%; background: var(--leaf); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--round); font-size: 18px; }
.prom h3 { font-family: var(--round); font-weight: 500; color: var(--leaf-dd); font-size: 17px; margin: 12px 0 6px; }
.prom p { font-size: 14px; color: var(--mute); }

/* footer */
.yf { background: var(--leaf-dd); color: #e9f3dc; padding: 0 0 22px; }
.yf-path { height: 18px; background: repeating-linear-gradient(90deg, var(--leaf) 0 6px, transparent 6px 16px) center / 100% 3px no-repeat, var(--leaf-ll); }
.yf-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-top: 40px; }
.yf .logo b { color: #fff; }
.yf .logo small { color: #cfe3b6; }
.yf .logo-svg rect, .yf .logo-svg path { fill: var(--leaf); }
.yf-co { font-size: 12px; margin-top: 16px; color: #cfe3b6; }
.yf-links { list-style: none; display: grid; grid-template-columns: repeat(2, auto); gap: 6px 28px; font-size: 13px; }
.yf-links a { text-decoration: none; }
.yf-links a:hover { text-decoration: underline; }
.yf-c { text-align: center; font-size: 11px; color: #b6cf98; margin-top: 30px; }

/* toast */
.toast { visibility: hidden; position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--leaf-dd); color: #fff; border-radius: 999px; padding: 12px 26px; font-weight: 700; transition: transform .3s; z-index: 60; max-width: calc(100% - 32px); }
.toast.show { visibility: visible; transform: translate(-50%, 0); }

/* page title */
.ptitle { background: var(--leaf-ll); padding: 36px 0 28px; border-bottom: 2px dashed var(--line); }
.ptitle h1 { font-family: var(--round); font-weight: 500; font-size: clamp(22px, 3.4vw, 30px); color: var(--leaf-dd); }
.ptitle p { color: var(--mute); font-size: 13px; }

/* product */
.pd-main { padding-top: 22px; padding-bottom: 60px; }
.crumb { font-size: 12px; color: var(--mute); margin-bottom: 20px; overflow-wrap: anywhere; }
.crumb a { text-decoration: none; color: var(--leaf-d); }
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.pd-frame { border-radius: 999px 999px 40px 40px; overflow: hidden; border: 6px solid var(--leaf-l); aspect-ratio: 4 / 5; background: #fff; max-width: 480px; margin: 0 auto; }
.pd-frame img { width: 100%; height: 100%; object-fit: cover; }
.pd-frame.sub { border-radius: 32px; aspect-ratio: 1; }
.pd-frame.sub img { object-fit: contain; }
.pd-cap { font-size: 12px; color: var(--mute); margin-top: 10px; text-align: center; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 8px; margin-top: 14px; }
.thumbs button { border: 2px solid var(--line); background: #fff; padding: 0; border-radius: 14px; overflow: hidden; }
.thumbs button.on { border-color: var(--leaf-d); }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pd-cat { display: inline-block; font-size: 12px; background: var(--leaf-l); color: var(--leaf-dd); border-radius: 999px; padding: 2px 12px; }
.pd-info h1 { font-family: var(--round); font-weight: 500; font-size: clamp(21px, 2.8vw, 26px); line-height: 1.5; margin: 12px 0 8px; }
.pd-price { font-family: var(--round); font-size: 32px; color: var(--leaf-dd); margin: 8px 0 16px; }
.pd-price small { font-family: var(--body); font-size: 13px; color: var(--mute); margin-left: 8px; }
.pd-desc { white-space: pre-line; margin-bottom: 20px; }
.opt { margin-bottom: 16px; }
.opt-t { font-size: 13px; color: var(--mute); margin-bottom: 6px; }
.opt-t span { color: var(--ink); font-weight: 700; }
.vals { display: flex; flex-wrap: wrap; gap: 8px; }
.vals button { background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; }
.vals button.on { border-color: var(--leaf-d); background: var(--leaf-l); color: var(--leaf-dd); font-weight: 700; }
.pd-note { font-size: 12px; background: #fff8df; border-radius: 14px; padding: 10px 14px; margin: 6px 0 16px; }
.buy { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.buy .btn { flex: 1; min-width: 190px; }
.qty { display: flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 38px; height: 42px; background: none; border: 0; font-size: 18px; color: var(--leaf-dd); }
.qty input { width: 40px; text-align: center; border: 0; font: inherit; font-weight: 700; background: none; color: var(--ink); }
.msg { color: #c0392b; font-size: 13px; min-height: 1.6em; margin-top: 6px; }
.pd-ship { list-style: none; font-size: 13px; color: var(--mute); background: var(--leaf-ll); border-radius: 20px; padding: 14px 18px; margin: 8px 0 26px; }
.pd-ship li { padding-left: 18px; position: relative; }
.pd-ship li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.spec h2 { font-family: var(--round); font-weight: 500; color: var(--leaf-dd); font-size: 19px; border-bottom: 2px dashed var(--line); padding-bottom: 6px; }
.spec dl div { display: grid; grid-template-columns: 34% 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px dotted var(--line); font-size: 13px; }
.spec dt { color: var(--leaf-dd); font-weight: 700; }
.spec-n { font-size: 12px; color: var(--mute); margin-top: 10px; }
.related, .pd-rv { margin-top: 64px; }
.empty { text-align: center; padding: 80px 0; }
.empty p { margin-bottom: 20px; color: var(--mute); }

/* cart */
#main:not(.pd-main) { padding-top: 30px; padding-bottom: 70px; }
.cart { display: grid; grid-template-columns: 1fr 330px; gap: 32px; align-items: start; }
.cart-rows { list-style: none; }
.crow { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 2px dashed var(--line); }
.crow img { width: 84px; height: 104px; object-fit: cover; border-radius: 999px 999px 16px 16px; }
.crow-nm { font-weight: 700; text-decoration: none; line-height: 1.5; display: block; }
.crow-op { font-size: 12px; color: var(--mute); }
.crow-ctl { display: flex; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.crow-ctl .qty button { width: 32px; height: 34px; }
.crow-ctl .qty input { width: 32px; }
.rm { background: none; border: 0; color: var(--mute); font-size: 12px; text-decoration: underline; }
.crow-sub { font-family: var(--round); font-size: 18px; color: var(--leaf-dd); }
.sum { background: var(--leaf-ll); border-radius: 28px; padding: 24px; position: sticky; top: 90px; }
.sum dl { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 14px; }
.sum dd { text-align: right; }
.sum .total { border-top: 2px dashed var(--line); padding-top: 10px; font-weight: 700; }
.sum dd.total { font-family: var(--round); font-size: 24px; color: var(--leaf-dd); font-weight: 500; }
.sum-n { font-size: 12px; color: var(--mute); margin: 14px 0; }
.modal { position: fixed; inset: 0; background: rgba(47, 58, 42, .5); display: none; align-items: center; justify-content: center; padding: 16px; z-index: 70; }
.modal.show { display: flex; }
.modal-box { background: #fff; border-radius: 28px; max-width: 440px; width: 100%; padding: 28px 24px; }
.modal-box h3 { font-family: var(--round); font-weight: 500; color: var(--leaf-dd); font-size: 19px; margin-bottom: 10px; }
.modal-box p { font-size: 14px; color: var(--mute); margin-bottom: 18px; }

/* legal */
.legal { padding-top: 30px; padding-bottom: 70px; max-width: 860px; }
.lg-g { background: var(--leaf-ll); border-radius: 24px; padding: 20px 24px; margin-bottom: 18px; }
.lg-g h2 { font-family: var(--round); font-weight: 500; color: var(--leaf-dd); font-size: 18px; margin-bottom: 6px; }
.lg-g dl div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dotted var(--line); font-size: 14px; }
.lg-g dl div:last-child { border-bottom: 0; }
.lg-g dt { font-weight: 700; color: var(--leaf-dd); }
.prose h2 { font-family: var(--round); font-weight: 500; color: var(--leaf-dd); font-size: 17px; margin: 26px 0 6px; }
.prose p, .prose li { font-size: 14px; }
.prose ul { padding-left: 20px; }
.prose .date { margin-top: 28px; color: var(--mute); }

/* reviews（購入者の口コミ。0件のときは出さない） */
.rv-summary { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.stars { color: #d6dccf; letter-spacing: 1px; }
.stars .on { color: var(--sun); }
.rv-avg { font-family: var(--round); font-size: 24px; color: var(--leaf-dd); }
.rv-count { color: var(--mute); font-size: 13px; }
.rv-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rv { background: var(--leaf-ll); border-radius: 24px; padding: 18px 20px; }
.rv-head { display: flex; align-items: center; gap: 10px; }
.rv-badge { font-size: 11px; background: #fff; color: var(--leaf-dd); border-radius: 999px; padding: 1px 10px; }
.rv h4 { margin: 8px 0 4px; font-size: 15px; }
.rv p { font-size: 14px; white-space: pre-line; }
.rv-item { font-size: 12px; color: var(--mute); }
.rv-item a { color: var(--leaf-d); }
.rv-meta { font-size: 11px; color: var(--mute); margin-top: 8px; }
.rv-more { margin-top: 14px; }
.card-rv { display: flex; align-items: center; justify-content: center; gap: 6px; background: none; border: 0; padding: 6px 0 0; font-size: 12px; }
.card-rv u { color: var(--mute); }
.pd-rating { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.pd-rating a { color: var(--leaf-d); }
.rv-sheet { position: fixed; inset: 0; background: rgba(47, 58, 42, .5); z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.rv-sheet[hidden] { display: none; }
.rv-sheet-box { background: #fff; width: 100%; max-width: 640px; max-height: 85vh; overflow: auto; padding: 22px; border-radius: 28px 28px 0 0; }
.rv-sheet-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.rv-sheet-head h3 { font-size: 16px; }
.rv-sheet-x { background: none; border: 0; font-size: 24px; line-height: 1; }
.rv-sheet .rv-list { grid-template-columns: 1fr; }
.rv-sheet-go { margin-top: 14px; }
.btn.line { background: #fff; color: var(--leaf-dd); border: 2px solid var(--line); box-shadow: none; }

/* responsive */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero-in { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-map { height: 320px; max-width: 460px; width: 100%; margin: 0 auto; }
  .pd { grid-template-columns: 1fr; gap: 28px; }
  .cart { grid-template-columns: 1fr; }
  .sum { position: static; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .ynav { display: none; }
  .ml-link { margin-left: auto; padding: 7px 12px; }
  .ml-t { font-size: 13px; }
  .logo b { font-size: 17px; }
  .logo small { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .hero-map { height: 260px; }
  .route { gap: 2px; padding: 0; }
  .route::before { left: 22px; right: 22px; top: 18px; }
  .stop-dot { width: 38px; height: 38px; font-size: 15px; }
  .stop-t { font-size: 11px; }
  .prom { grid-template-columns: 1fr; }
  .rv-list { grid-template-columns: 1fr; }
  .card-nm { font-size: 13px; }
  .lg-g { padding: 16px; }
  .lg-g dl div, .spec dl div { grid-template-columns: 1fr; gap: 2px; }
  .crow { grid-template-columns: 70px 1fr; }
  .crow img { width: 70px; height: 88px; }
  .crow-sub { grid-column: 2; }
  .sec { padding: 52px 0; }
}
