/* ==========================================================
   いちご園 ほのつみファーム（制作サンプル）
   ========================================================== */

/* ---------- 0. Tokens ---------- */
:root {
  --cream: #FFF9F2;
  --red: #D7263D;
  --peach: #FFE3E0;
  --leaf: #3F7D4E;
  --ink: #3B2A2A;
  --white: #FFFFFF;
  --ink-soft: rgba(59, 42, 42, .72);
  --line: rgba(59, 42, 42, .22);
  --scallop: 16px;
  --sec-pad: clamp(96px, 12vw, 168px);
  --gutter: clamp(16px, 4vw, 40px);
  --head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --num: "Fredoka", "Zen Maru Gothic", sans-serif;
  --body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

/* ---------- 1. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 2;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.35; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.nb { display: inline-block; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--white); color: var(--ink); padding: 8px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(1240px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 1; }

/* ---------- 2. Sections & scallop edges ---------- */
.sec { position: relative; padding-block: var(--sec-pad); background: var(--bg); }
.sec-cream { --bg: var(--cream); }
.sec-white { --bg: var(--white); }
.sec-peach { --bg: var(--peach); }
.sec::after {           /* 半円の連なり：自分の地色を次の節へ垂らす */
  content: "";
  position: absolute; left: 0; right: 0; bottom: calc(var(--scallop) * -1);
  height: var(--scallop);
  background: radial-gradient(circle at 50% 0, var(--bg) 15px, transparent 16px) 0 0 / 32px var(--scallop) repeat-x;
  z-index: 2; pointer-events: none;
}
.access::after { display: none; }

.bleed { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; display: block; border-radius: 50%; background: var(--peach); width: clamp(360px, 46vw, 760px); aspect-ratio: 1; }
.blob-tl { left: -14%; top: -12%; }
.blob-br { right: -14%; bottom: -22%; }

/* ---------- 3. Section heads (dot rule + leaves) ---------- */
.sec-head { margin-bottom: clamp(48px, 6vw, 88px); }
.dot-rule { display: flex; align-items: center; gap: 8px; width: 190px; color: var(--leaf); margin-bottom: 18px; }
.dot-rule svg { width: 40px; height: 24px; flex: none; }
.dot-rule .flip { transform: scaleX(-1); }
.dot-rule i { flex: 1; border-top: 3px dotted var(--red); opacity: .8; }
.eyebrow { font-family: var(--num); font-weight: 600; font-size: 13px; letter-spacing: .16em; color: var(--red); line-height: 1.6; margin-bottom: 6px; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 56px); }
.sec-lead { margin-top: 20px; max-width: 36em; color: var(--ink-soft); }
.note { margin-top: 32px; font-size: 13px; color: var(--ink-soft); line-height: 1.9; }

/* ---------- 4. Buttons ---------- */
.btn { display: inline-block; padding: 15px 32px; border-radius: 22px; font-family: var(--head); font-weight: 700; font-size: 16px; line-height: 1.5; text-decoration: none; border: 2.5px solid var(--red); transition: background-color .2s, color .2s, transform .2s; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: #b81c31; border-color: #b81c31; transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--red); }
.btn-line:hover { background: var(--red); color: var(--white); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- 5. Header / nav (round tags) ---------- */
.site-header { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; padding-inline: 16px; }
.header-in { position: relative; max-width: 1280px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 10px 8px 20px; border-radius: 999px; background: transparent; transition: background-color .3s, box-shadow .3s; }
.site-header.is-scrolled .header-in { background: rgba(255, 255, 255, .96); box-shadow: 0 6px 24px rgba(59, 42, 42, .12); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--red); }
.logo-mark { color: var(--red); flex: none; }
.logo-text { font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--ink); display: flex; flex-direction: column; }
.logo-text small { font-size: 11px; font-weight: 500; letter-spacing: .12em; color: var(--red); }
.gnav ul { display: flex; align-items: center; gap: 8px; }
.tag { display: inline-block; padding: 7px 18px; border-radius: 999px; background: var(--peach); color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 14.5px; line-height: 1.6; text-decoration: none; transition: background-color .2s, color .2s; }
.tag:hover { background: var(--red); color: var(--white); }
.tag-cta { background: var(--red); color: var(--white); margin-left: 6px; padding-inline: 22px; }
.tag-cta:hover { background: var(--ink); }
.menu-btn { display: none; align-items: center; gap: 10px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--peach); color: var(--ink); font: 700 14px/1.6 var(--head); cursor: pointer; }
.menu-bars { position: relative; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

.bottom-bar { display: none; }

/* ---------- 6. Hero ---------- */
.hero { --bg: var(--cream); --d: min(80svh, 58vw); min-height: min(100svh, 960px); display: flex; align-items: center; padding-block: 120px 96px; }
.hero-art {
  position: absolute; inset: 0; overflow: hidden; z-index: 0;
  background:
    radial-gradient(circle at 6% 16%, rgba(215, 38, 61, .38) 0 5px, transparent 6px),
    radial-gradient(circle at 14% 82%, rgba(215, 38, 61, .26) 0 9px, transparent 10px),
    radial-gradient(circle at 31% 9%, rgba(215, 38, 61, .26) 0 4px, transparent 5px),
    radial-gradient(circle at 44% 90%, rgba(215, 38, 61, .4) 0 5px, transparent 6px),
    radial-gradient(circle at 52% 24%, rgba(215, 38, 61, .2) 0 11px, transparent 12px),
    radial-gradient(circle at 58% 74%, rgba(215, 38, 61, .3) 0 4px, transparent 5px),
    radial-gradient(circle at 3% 52%, rgba(215, 38, 61, .22) 0 6px, transparent 7px),
    radial-gradient(circle at 24% 62%, rgba(215, 38, 61, .3) 0 4px, transparent 5px),
    radial-gradient(circle at 38% 40%, rgba(215, 38, 61, .18) 0 3px, transparent 4px),
    radial-gradient(circle at 70% 6%, rgba(215, 38, 61, .3) 0 6px, transparent 7px),
    radial-gradient(circle at 94% 94%, rgba(215, 38, 61, .32) 0 5px, transparent 6px),
    radial-gradient(circle at 97% 8%, rgba(215, 38, 61, .26) 0 8px, transparent 9px);
}
.hero-circle { position: absolute; width: var(--d); height: var(--d); right: calc(var(--d) * -0.12); top: 50%; transform: translateY(-46%); }
.hero-circle > img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 12px var(--white), 0 0 0 14px var(--peach); }
.badge { position: absolute; left: -6%; top: 4%; width: 30%; min-width: 120px; transform: rotate(-12deg); filter: drop-shadow(0 6px 10px rgba(215, 38, 61, .25)); }
.hero-copy { width: 100%; }
.hero-copy > * { max-width: 620px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 104px); color: var(--red); line-height: 1.22; letter-spacing: .01em; margin-bottom: 28px; }
.hero h1 span { display: inline-block; }
.lead { max-width: 30em; color: var(--ink-soft); font-size: 16px; }

/* ---------- 7. 3つのよいところ ---------- */
.good-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 5vw, 72px); }
.good:nth-child(2) { margin-top: 72px; }
.round-photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.round-photo img { width: 100%; height: 100%; object-fit: cover; }
.good .round-photo { width: 100%; max-width: 340px; outline: 3px dotted rgba(215, 38, 61, .5); outline-offset: 10px; margin-bottom: 32px; }
.good .num { font-family: var(--num); font-weight: 600; font-size: 30px; line-height: 1.2; color: var(--red); }
.good h3 { font-size: 24px; margin: 6px 0 12px; }
.good p:last-child { max-width: 22em; color: var(--ink-soft); }

/* ---------- 8. 品種 ---------- */
.var-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; padding-top: 72px; }
.var-card { background: var(--white); border-radius: 36px; padding: 0 clamp(22px, 2.6vw, 36px) 36px; text-align: left; }
.var-card:nth-child(2) { margin-top: 88px; }
.var-card:nth-child(3) { margin-top: 32px; }
.var-card .round-photo { width: 82%; margin: -72px auto 24px; box-shadow: 0 0 0 8px var(--white); }
.var-card h3 { font-size: 30px; color: var(--red); }
.var-kana { font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 12px; }
.var-text { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 20px; }
.rates { border-top: 2px dotted var(--line); padding-top: 14px; }
.rates > div { display: flex; align-items: center; gap: 16px; padding: 3px 0; }
.rates dt { width: 3em; font-family: var(--head); font-weight: 700; font-size: 14px; }
.dots { display: flex; gap: 7px; }
.dots i { width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--red); }
.dots i.on { background: var(--red); }

/* ---------- 9. いちご狩り ---------- */
.pick-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.pick-photo img { width: 100%; border-radius: 52% 48% 46% 54% / 50% 54% 46% 50%; }
.pick-body .sec-head { margin-bottom: 32px; }
.price-list { margin-bottom: 28px; }
.price-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--peach); border-radius: 999px; padding: 12px 14px 12px 32px; margin-bottom: 10px; }
.p-name { font-family: var(--head); font-weight: 700; font-size: 19px; }
.p-name small { margin-left: 10px; font-family: var(--body); font-weight: 400; font-size: 12px; color: var(--ink-soft); }
.p-yen { font-size: 12px; color: var(--ink-soft); }
.p-yen b { font-family: var(--num); font-weight: 600; font-size: 28px; color: var(--red); margin-right: 8px; letter-spacing: .02em; }
.info-list { margin-bottom: 32px; }
.info-list > div { display: grid; grid-template-columns: 5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 2px dotted var(--line); }
.info-list dt { font-family: var(--head); font-weight: 700; color: var(--red); }
.info-list dd { font-size: 14.5px; }
.info-list a { font-family: var(--num); font-weight: 600; font-size: 20px; text-decoration: none; }

/* ---------- 10. 予約の流れ・カレンダー ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 56px; }
.flow li { display: flex; gap: 18px; align-items: flex-start; padding-top: 24px; border-top: 3px dotted rgba(215, 38, 61, .5); }
.flow-n { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; font-family: var(--num); font-weight: 600; font-size: 24px; line-height: 1; }
.flow h3 { font-size: 19px; }
.flow p { font-size: 14px; color: var(--ink-soft); line-height: 1.85; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 28px; font-size: 14px; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend .cal-d { width: 18px; }
.cal-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(236px, 1fr)); gap: 20px; }
.cal-month { background: var(--cream); border-radius: 30px; padding: 22px 18px 20px; }
.cal-month:nth-child(even) { margin-top: 24px; }
.cal-top { display: flex; align-items: baseline; gap: 4px; line-height: 1.2; }
.cal-num { font-family: var(--num); font-weight: 600; font-size: 48px; color: var(--red); }
.cal-unit { font-family: var(--head); font-weight: 700; font-size: 18px; }
.cal-sub { font-size: 12px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 12px; min-height: 2.6em; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-w { text-align: center; font-size: 10.5px; font-weight: 700; line-height: 1.8; color: var(--ink-soft); }
.cal-d { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; font-family: var(--num); font-weight: 500; font-size: 11px; line-height: 1; }
i.cal-d { font-size: 0; }
.cal-d.is-a { background: var(--leaf); color: var(--white); }
.cal-d.is-m { background: var(--peach); color: var(--red); box-shadow: inset 0 0 0 2px var(--red); }
.cal-d.is-f { background: var(--red); color: var(--white); }
.cal-d.is-c { background: rgba(59, 42, 42, .1); color: rgba(59, 42, 42, .55); }

/* ---------- 11. ギフト ---------- */
.gift-item { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-bottom: clamp(64px, 8vw, 112px); }
.gift-rev { grid-template-columns: 1fr 1.25fr; }
.gift-rev .gift-photo { order: 2; }
.gift-photo img { width: 100%; border-radius: 200px 44px 200px 44px; }
.gift-rev .gift-photo img { border-radius: 44px 200px 44px 200px; }
.gift-count { font-family: var(--head); font-weight: 700; color: var(--red); line-height: 1.2; }
.gift-count b { font-family: var(--num); font-weight: 600; font-size: clamp(64px, 8vw, 104px); margin-right: 6px; }
.gift-body h3 { font-size: 28px; margin: 6px 0 12px; }
.gift-body > p:not(.gift-count):not(.gift-price) { color: var(--ink-soft); max-width: 26em; }
.gift-price { font-family: var(--num); font-weight: 600; font-size: 44px; line-height: 1.3; color: var(--red); margin: 18px 0 22px; }
.gift-price small { margin-left: 10px; font-family: var(--body); font-weight: 400; font-size: 13px; color: var(--ink-soft); }
.gift-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gift-notes li { background: var(--white); border-radius: 26px; padding: 22px 26px; font-size: 14px; line-height: 1.9; }
.gift-notes b { display: block; font-family: var(--head); font-size: 16px; color: var(--red); }

/* ---------- 12. お客様の声 ---------- */
.voice-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; align-items: start; }
.voice:nth-child(2) { margin-top: 64px; }
.voice:nth-child(3) { margin-top: 24px; }
.voice blockquote { position: relative; background: var(--white); border-radius: 30px; padding: 30px 30px 32px; }
.voice blockquote::after { content: ""; position: absolute; left: 44px; bottom: -13px; width: 28px; height: 28px; background: var(--white); border-radius: 0 0 8px 0; transform: rotate(45deg); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.voice blockquote p { font-size: 15px; }
.voice-by { display: flex; align-items: center; gap: 12px; margin: 28px 0 0 20px; font-size: 13px; color: var(--ink-soft); }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--peach); color: var(--red); display: grid; place-items: center; font-family: var(--num); font-weight: 600; font-size: 16px; line-height: 1; }

/* ---------- 13. 農園の一日 ---------- */
.day .sec-head { margin-bottom: 40px; }
.day-band { overflow-x: auto; padding: 0 var(--gutter) 24px; scroll-snap-type: x proximity; }
.day-track { position: relative; display: flex; gap: clamp(24px, 3vw, 48px); width: max-content; margin-inline: auto; }
.day-track::before { content: ""; position: absolute; left: 0; right: 0; top: 36px; border-top: 3px dotted rgba(215, 38, 61, .55); }
.day-item { position: relative; width: min(78vw, 520px); scroll-snap-align: center; }
.day-time { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--red); color: var(--white); font-family: var(--head); font-weight: 700; font-size: 12px; line-height: 1.2; margin-bottom: 24px; }
.day-time b { font-family: var(--num); font-weight: 600; font-size: 19px; }
.day-item figure img { width: 100%; border-radius: 120px 36px 120px 36px; }
.day-item:nth-child(2) figure { margin-top: 36px; }
.day-item:nth-child(3) figure { margin-top: 72px; }
.day-item p { margin: 16px 0 0 8px; font-size: 14.5px; color: var(--ink-soft); max-width: 24em; }

/* ---------- 14. アクセス ---------- */
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.acc-photo { order: 2; }
.acc-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 12px var(--white); }
.acc-body .sec-head { margin-bottom: 28px; }
.acc-body .info-list { margin-bottom: 0; }

/* ---------- 15. Footer ---------- */
.site-footer { position: relative; background: var(--red); color: var(--white); margin-top: var(--scallop); padding: 88px 0 140px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--scallop); background: radial-gradient(circle at 50% 100%, var(--red) 15px, transparent 16px) 0 0 / 32px var(--scallop) repeat-x; }
.foot-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px 64px; }
.foot-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.foot-brand .logo-mark { color: var(--white); }
.foot-name { font-family: var(--head); font-weight: 700; font-size: 26px; line-height: 1.2; display: flex; flex-direction: column; }
.foot-name small { font-size: 12px; font-weight: 500; letter-spacing: .12em; }
.foot-tag { width: 100%; font-family: var(--head); font-weight: 500; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; justify-content: flex-end; }
.foot-nav a { display: inline-block; padding: 6px 18px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .7); font-family: var(--head); font-weight: 700; font-size: 14px; text-decoration: none; transition: background-color .2s, color .2s; }
.foot-nav a:hover { background: var(--white); color: var(--red); }
.foot-sample { grid-column: 1 / -1; border-top: 2px dotted rgba(255, 255, 255, .55); padding-top: 24px; font-size: 13px; line-height: 1.9; }
.foot-sample a { color: var(--white); font-weight: 500; }
.foot-note { margin-bottom: 4px; }

/* ---------- 16. Reveal (JS が動いたときだけ隠す) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 17. Tablet / mobile ---------- */
@media (max-width: 1100px) {
  .cal-month:nth-child(even) { margin-top: 0; }
  .gift-notes { grid-template-columns: 1fr; }
}

@media (max-width: 879px) {
  body { padding-bottom: 88px; }
  html { scroll-padding-top: 80px; }

  /* nav: 開閉式 + 下固定の丸いボタン */
  .menu-btn { display: inline-flex; }
  .gnav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: var(--white); border-radius: 30px; padding: 20px; box-shadow: 0 10px 30px rgba(59, 42, 42, .16); }
  .gnav.is-open { display: block; }
  .gnav ul { flex-wrap: wrap; gap: 10px; }
  .tag-cta { margin-left: 0; }
  .site-header.menu-open .header-in { background: var(--white); }
  .bottom-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; display: flex; gap: 10px; }
  .bb { flex: 1; text-align: center; padding: 13px 8px; border-radius: 999px; background: var(--white); color: var(--red); border: 2.5px solid var(--red); font-family: var(--head); font-weight: 700; font-size: 15px; line-height: 1.4; text-decoration: none; box-shadow: 0 6px 18px rgba(59, 42, 42, .16); }
  .bb-red { background: var(--red); color: var(--white); }

  /* hero: 文章の下に円写真 */
  .hero { flex-direction: column; align-items: stretch; justify-content: flex-start; padding-block: 112px 0; min-height: 0; }
  .hero-copy { order: 1; }
  .hero-art { order: 2; position: relative; inset: auto; height: calc(min(80vw, 640px) + 56px); margin-top: 28px; }
  .hero-circle { --d: min(80vw, 640px); right: -6vw; top: 44px; transform: none; }
  .badge { width: 34%; left: -8%; top: -6%; }

  .good-list { grid-template-columns: 1fr; gap: 56px; }
  .good, .good:nth-child(2) { margin-top: 0; display: grid; grid-template-columns: minmax(120px, 36%) 1fr; column-gap: 28px; align-items: start; }
  .good .round-photo { grid-row: 1 / span 3; margin-bottom: 0; outline-offset: 6px; }
  .good h3 { margin-top: 0; }

  .var-list { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 96px; padding-top: 80px; }
  .var-card:nth-child(2), .var-card:nth-child(3) { margin-top: 0; }

  .pick-grid, .acc-grid, .gift-item, .gift-rev { grid-template-columns: 1fr; }
  .gift-rev .gift-photo, .acc-photo { order: 0; }
  .acc-photo { max-width: 460px; }
  .flow { grid-template-columns: 1fr; gap: 24px; }
  .voice-list { grid-template-columns: 1fr; gap: 44px; }
  .voice:nth-child(2), .voice:nth-child(3) { margin-top: 0; }
  .voice:nth-child(2) { margin-left: 8%; }
  .voice:nth-child(3) { margin-right: 8%; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-nav { justify-content: flex-start; }
  .site-footer { padding-bottom: 120px; }
}

@media (max-width: 520px) {
  body { font-size: 15px; }
  .logo-text { font-size: 17px; }
  .good, .good:nth-child(2) { grid-template-columns: 1fr; }
  .good .round-photo { grid-row: auto; max-width: 260px; margin-bottom: 28px; }
  .price-list li { padding-left: 22px; }
  .p-name small { display: block; margin-left: 0; }
  .info-list > div { grid-template-columns: 1fr; gap: 0; }
  .gift-price { font-size: 38px; }
  .voice:nth-child(2) { margin-left: 0; }
  .voice:nth-child(3) { margin-right: 0; }
}

/* ---------- 18. Large screens ---------- */
@media (min-width: 1180px) {
  .cal-list { grid-template-columns: repeat(5, 1fr); gap: 16px; }
}

@media (min-width: 1700px) {
  body { font-size: 16px; }
  .hero { --d: min(80svh, 52vw); }
}

/* ---------- 19. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
