/* かさね果樹園（デモ）全ページ共通 */
:root {
  --cream: #FBF6EE;
  --ink: #3A2E24;
  --ink-soft: #5E5045;
  --peach: #F2A7A0;
  --peach-on: #E8958D;
  --peach-pale: #FCEDEA;
  --leaf: #4F8A3C;
  --soil: #8A6A4A;
  --kraft: #E9DCC6;
  --hand: "Yusei Magic", "Zen Kaku Gothic New", sans-serif;
  --body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --wrap: 1120px;
  --now: 76.667%; /* 10月下旬（7月上旬〜11月下旬の15目のうち12目の中ほど） */
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(15px, 0.9rem + 0.25vw, 17px);
  line-height: 1.85;
  letter-spacing: .02em;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.45; font-feature-settings: "palt"; }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 760px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.num { font-weight: 700; font-feature-settings: "tnum"; }
.small { font-size: .86em; color: var(--ink-soft); }
.wb { word-break: auto-phrase; }

/* ---------- ロゴ ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__svg { height: 44px; width: auto; display: block; }
.lg-fruit { fill: none; stroke: var(--lg-fruit, var(--peach-on)); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lg-leaf { fill: var(--lg-leaf, var(--leaf)); stroke: var(--lg-gap, var(--cream)); stroke-width: 1.6; stroke-linejoin: round; }
.lg-vein { fill: none; stroke: var(--lg-gap, var(--cream)); stroke-width: 1.2; stroke-linecap: round; }
.lg-word { font-family: var(--hand); font-size: 25px; fill: currentColor; letter-spacing: .04em; }
.lg-sub { font-family: var(--body); font-weight: 500; font-size: 9.5px; fill: var(--soil); letter-spacing: .3em; }
.demo-tag { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--soil); border: 1px solid var(--soil); border-radius: 3px; padding: 0 5px; line-height: 16px; }

/* ---------- ヘッダー ---------- */
.head { background: var(--cream); position: relative; z-index: 20; }
.head__in { display: flex; align-items: center; gap: 22px; min-height: 78px; }
.head__brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.gnav { display: flex; gap: 22px; font-size: 15px; font-weight: 500; }
.gnav a { text-decoration: none; padding: 6px 0; position: relative; white-space: nowrap; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--leaf); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.gnav a:hover::after { transform: scaleX(.5); }
.gnav a[aria-current="page"]::after { transform: none; }
.head__tel { text-decoration: none; font-weight: 700; font-size: 17px; white-space: nowrap; }
.head__tel small { font-size: 10px; letter-spacing: .1em; margin-right: 4px; color: var(--soil); }
.head__menu { display: none; }

/* 収穫の時期の帯（細い形） */
.band-s { border-top: 1px solid rgba(138,106,74,.25); border-bottom: 1px solid rgba(138,106,74,.25); background: var(--cream); }
.band-s__in { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); height: 30px; align-items: center; font-size: 12px; font-weight: 700; color: var(--soil); letter-spacing: .1em; }
.band-s__in span { padding-left: 6px; border-left: 1px solid rgba(138,106,74,.3); line-height: 1; }
.band-s__in span:first-child { border-left: 0; padding-left: 0; }
.now { position: absolute; left: var(--now); top: 50%; transform: translate(-50%, -50%); background: var(--peach); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .08em; line-height: 1; padding: 5px 9px; border-radius: 999px; white-space: nowrap; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 10px 22px; border-radius: 6px; font: inherit; font-weight: 700; font-size: 15px; letter-spacing: .06em; text-decoration: none; cursor: pointer; border: 0; position: relative; isolation: isolate; color: var(--ink); background: transparent; }
.btn--peach::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--peach); z-index: -1; }
.btn--peach::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #B8736B; opacity: 0; z-index: -1; transition: opacity .2s; }
.btn--peach:hover::after, .btn--peach:active::after { opacity: .22; }
.btn--line { box-shadow: inset 0 0 0 1.5px var(--soil); }
.btn--line:hover { background: rgba(138,106,74,.08); }
.btn .arr { width: 16px; height: 10px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.head .btn { min-height: 44px; padding: 8px 16px; font-size: 14px; }

/* ---------- 見出し（マーカーの線） ---------- */
.h2 { font-family: var(--hand); font-size: clamp(24px, 1.2rem + 1.3vw, 34px); letter-spacing: .04em; display: flex; align-items: center; gap: .4em; flex-wrap: wrap; margin-bottom: 22px; }
.h1 { font-family: var(--hand); font-size: clamp(30px, 1.3rem + 2.6vw, 50px); letter-spacing: .04em; line-height: 1.5; margin-bottom: 20px; }
.mk { position: relative; display: inline-block; isolation: isolate; }
.mk::after { content: ""; position: absolute; left: -.14em; right: -.14em; bottom: .1em; height: .45em; background: var(--peach); opacity: .7; z-index: -1; clip-path: polygon(.3em 0, 100% 0, calc(100% - .3em) 100%, 0 100%); transform-origin: left center; }
.mk.mid::after { clip-path: polygon(0 0, 100% 0, calc(100% - .3em) 100%, 0 100%); left: 0; }
.h2 .mk + .mk::after, .h1 .mk + .mk::after { left: 0; }
.h-mark { width: 1em; height: 1em; flex: none; }
.h2 .h-txt { display: inline; }
.js .mk::after { transform: scaleX(0); transition: transform .5s cubic-bezier(.4,.1,.3,1); }
.js .mk + .mk::after { transition-delay: .35s; }
.js .is-in .mk::after, .js .mk.is-in::after { transform: none; }

/* ---------- 畝の線（区画の頭） ---------- */
.sec { padding: clamp(56px, 7vw, 96px) 0; }
.sec--tight { padding-top: clamp(40px, 5vw, 64px); }
.une { position: relative; height: 10px; margin-bottom: clamp(30px, 4vw, 44px); }
.une::before, .une::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: repeating-linear-gradient(90deg, var(--une, var(--soil)) 0 2px, transparent 2px 8px); }
.une::before { top: 0; }
.une::after { top: 5.5px; left: 4px; }

/* ---------- 表 ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: .95em; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid rgba(138,106,74,.35); }
.tbl th { font-weight: 700; white-space: nowrap; width: 1%; }
.tbl--kv th { color: var(--soil); }
.tbl--grid thead th { background: var(--soil); color: var(--cream); width: auto; border-bottom: 0; font-weight: 700; }
.tbl--grid tbody tr:nth-child(even) { background: var(--peach-pale); }
.tbl--grid tbody th { color: var(--ink); }
.tbl .tel-in { font-weight: 700; font-size: 1.15em; text-decoration: none; }
.tel-big { display: inline-flex; align-items: baseline; gap: 8px; font-weight: 700; font-size: clamp(22px, 1rem + 1.2vw, 28px); text-decoration: none; letter-spacing: .04em; }
.tel-big small { font-size: 12px; letter-spacing: .14em; color: var(--soil); }

/* ---------- トップ：最初の画面 ---------- */
.band-l { background: var(--cream); padding: 18px 0 16px; }
.band-l__in { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); }
.band-l__m { border-left: 1.5px solid var(--soil); padding: 0 0 2px 12px; line-height: 1.35; }
.band-l__m b { display: block; font-size: clamp(17px, .9rem + .6vw, 22px); font-weight: 700; }
.band-l__m span { font-size: 12.5px; color: var(--ink-soft); font-weight: 500; }
.band-l .now { top: 30%; font-size: 13px; padding: 7px 12px; }
.hero { position: relative; }
.hero__ph { height: clamp(380px, 70vh, 760px); overflow: hidden; background: #E5D6C2; }
.hero__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero__box { position: absolute; left: max(20px, calc((100% - var(--wrap)) / 2)); bottom: clamp(24px, 4vw, 48px); width: min(40%, 520px); min-width: 400px; background: var(--cream); padding: clamp(24px, 2.6vw, 36px) clamp(24px, 2.6vw, 38px) clamp(26px, 2.6vw, 34px); border-radius: 4px; }
.hero__pre { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--soil); margin-bottom: 8px; }
.hero__h { font-family: var(--hand); font-size: clamp(30px, 1.2rem + 1.9vw, 44px); line-height: 1.5; margin-bottom: 14px; letter-spacing: .03em; }
.hero__h .mk { white-space: nowrap; }
.hero__box .btns { margin-top: 18px; }
.js .hero__ph img { animation: fade .6s ease-out both; }
.js .band-l .now { animation: slide .4s ease-out .6s both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide { from { opacity: 0; transform: translate(calc(-50% - 16px), -50%); } to { opacity: 1; transform: translate(-50%, -50%); } }

/* 2段の組（写真と本文） */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--wide-ph { grid-template-columns: 1.2fr 1fr; }
.split--rev > .split__ph { order: 2; }
.split__ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.split__ph--tall img { aspect-ratio: 4 / 3; }
.mini { margin-top: 22px; }

/* 畑の写真（幅いっぱい・低め） */
.wide-ph { width: 100%; height: clamp(220px, 34vw, 440px); object-fit: cover; object-position: 50% 55%; }
.wide-ph--low { height: clamp(180px, 22vw, 300px); }
.farm-txt { margin-top: 40px; }

/* よくある質問への入口 */
.qlist { list-style: none; margin: 0 0 28px; padding: 0; }
.qlist li { border-bottom: 1.5px dotted var(--soil); }
.qlist a { display: flex; align-items: baseline; gap: 14px; padding: 16px 4px; text-decoration: none; font-weight: 500; font-size: 1.05em; }
.qlist a::before { content: "Q"; font-family: var(--hand); color: var(--leaf); font-size: 1.3em; line-height: 1; }
.qlist a::after { content: "→"; margin-left: auto; color: var(--soil); transition: transform .2s; }
.qlist a:hover::after { transform: translateX(4px); }

/* ---------- 下層ページの頭 ---------- */
.crumb { font-size: 12.5px; color: var(--ink-soft); padding: 14px 0 0; }
.crumb a { color: var(--soil); }
.crumb span { margin: 0 .5em; }
.phead { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); }
.phead__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.phead__grid--rev .phead__ph { order: -1; }
.phead__ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.phead--full .phead__ph img { aspect-ratio: auto; height: clamp(240px, 38vw, 500px); border-radius: 0; }
.phead--full .phead__txt { margin-top: 40px; }
.phead--sq .phead__ph { max-width: 380px; justify-self: end; }
.phead--sq .phead__ph img { aspect-ratio: 1 / 1; }

/* ---------- 品種の札 ---------- */
.fruit-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 28px; }
.fudas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 14px; }
.fudas--1 { grid-template-columns: minmax(0, 340px); }
.fuda { position: relative; padding: 34px 20px 22px 22px; isolation: isolate; }
.fuda::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 26px 22px, transparent 5px, var(--kraft) 5.6px); clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 18px); }
.fuda__himo { position: absolute; left: 4px; top: -12px; width: 2px; height: 36px; background: var(--soil); border-radius: 2px; transform: rotate(-38deg); transform-origin: bottom center; }
.fuda h3 { font-family: var(--body); font-weight: 700; font-size: 1.12em; line-height: 1.4; }
.fuda h3 small { display: block; font-weight: 500; font-size: .7em; color: var(--ink-soft); letter-spacing: .06em; }
.fuda__when { display: inline-block; margin: 8px 0 10px; font-weight: 700; font-size: .92em; color: var(--leaf); border-bottom: 2px solid var(--leaf); line-height: 1.5; }
.fuda p { font-size: .93em; line-height: 1.75; }
.fruit-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.tana { width: 100%; height: clamp(160px, 20vw, 260px); object-fit: cover; object-position: 50% 35%; margin-bottom: clamp(36px, 4vw, 52px); }

/* ---------- 図解の共通 ---------- */
.dg { margin: 0; }
.dg__title { font-family: var(--hand); font-size: 1.2em; margin-bottom: 14px; display: flex; align-items: center; gap: .4em; }
.dg__note { font-size: 13px; color: var(--ink-soft); margin-top: 12px; }
.ic { fill: none; stroke: var(--soil); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-fill-peach { fill: var(--peach); }

/* K-1 収穫カレンダー */
.cal { --nc: 10.5em; position: relative; }
.cal--short { --nc: 4.6em; }
.cal__head, .cal__row { display: grid; grid-template-columns: var(--nc) 1fr; align-items: center; }
.cal__months { display: grid; grid-template-columns: repeat(5, 1fr); font-weight: 700; font-size: 14px; }
.cal__months span { padding-left: 6px; border-left: 1.5px solid var(--soil); line-height: 1.2; }
.cal__months span i { display: block; font-style: normal; font-weight: 500; font-size: 10.5px; color: var(--ink-soft); letter-spacing: .4em; }
.cal__row { min-height: 46px; border-bottom: 1px solid rgba(138,106,74,.2); }
.cal__name { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; line-height: 1.3; padding-right: 8px; }
.cal__name svg { width: 22px; height: 22px; flex: none; }
.cal__name small { display: block; font-weight: 500; font-size: 11px; color: var(--soil); }
.cal__track { position: relative; height: 46px; background:
  repeating-linear-gradient(to bottom, transparent 0 2px, var(--cream) 2px 5px),
  linear-gradient(to right, rgba(138,106,74,.55) 1px, transparent 1px) 0 0 / calc(100% / 15) 100%; }
.cal__bar { position: absolute; top: 16px; height: 14px; border-radius: 7px; background: var(--leaf); left: calc(var(--s) / 15 * 100%); width: calc((var(--e) - var(--s) + 1) / 15 * 100%); transform-origin: left center; }
.cal__bar::before, .cal__bar::after { content: ""; position: absolute; top: 6px; width: 8px; height: 2px; background: repeating-linear-gradient(90deg, var(--leaf) 0 2px, transparent 2px 4px); }
.cal__bar::before { right: 100%; }
.cal__bar::after { left: 100%; }
.cal__only { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 11px; font-weight: 700; color: var(--soil); }
.cal__nowline { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--peach-on); left: calc(var(--nc) + (100% - var(--nc)) * .76667); transform: translateX(-1px); pointer-events: none; }
.cal__nowline .now { top: -6px; transform: translate(-50%, -100%); }
.cal__body { position: relative; margin-top: 36px; }
.cal__mini { display: none; }
.js .cal .cal__bar { transform: scaleX(0); transition: transform .4s cubic-bezier(.3,.2,.2,1); transition-delay: calc(var(--i) * .08s); }
.js .cal .cal__nowline { opacity: 0; transition: opacity .3s; transition-delay: calc(var(--n) * .08s + .3s); }
.js .cal.is-in .cal__bar { transform: none; }
.js .cal.is-in .cal__nowline { opacity: 1; }

/* K-2 贈答の箱 */
.boxes { display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(16px, 2.4vw, 34px); }
.box { margin: 0; text-align: left; }
.box svg { display: block; height: auto; }
.box figcaption { margin-top: 10px; line-height: 1.45; font-weight: 700; font-size: 14px; }
.box figcaption .num { display: block; font-size: 17px; }
.box figcaption .num small { font-size: 11px; font-weight: 500; color: var(--ink-soft); margin-left: 2px; }
.js .k2 .box { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; transition-delay: calc(var(--i) * .1s); }
.js .k2.is-in .box { opacity: 1; transform: none; }
.k2__tbl { margin-top: 30px; }
.cards { display: none; }

/* K-3 ご予約から届くまで */
.k3 svg { width: 100%; height: auto; display: block; }
.k3 text { font-family: var(--body); fill: var(--ink); }
.k3 .t-h { font-weight: 700; font-size: 19px; }
.k3 .t-s { font-size: 13.5px; }
.k3 .t-b { font-size: 14px; font-weight: 500; }
.k3 .bx { fill: var(--cream); stroke: var(--soil); stroke-width: 2; }
.k3 .bx-d { fill: var(--cream); stroke: var(--soil); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; }
.k3 .bx-p { fill: var(--peach); stroke: none; }
.k3 .ln { fill: none; stroke: var(--soil); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.k3 .ln-d { fill: none; stroke: var(--soil); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1 6; }
.k3 .ah { fill: var(--soil); }
.k3__sp { display: none; }
.js .k3 .k3-s { opacity: 0; transition: opacity .4s; transition-delay: calc(var(--i) * .1s); }
.js .k3.is-in .k3-s { opacity: 1; }

/* K-4 届いた桃の置き方 */
.k4 { display: flex; align-items: flex-start; gap: 8px; }
.k4__step { flex: 1; margin: 0; text-align: center; }
.k4__step svg { width: 150px; height: 110px; margin: 0 auto; display: block; }
.k4__step figcaption { margin-top: 8px; font-weight: 700; font-size: 14.5px; line-height: 1.55; }
.k4__step figcaption small { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink-soft); }
.k4__arr { width: 40px; height: 110px; flex: none; }
.js .k4 .k4__step { opacity: 0; transition: opacity .45s; transition-delay: calc(var(--i) * .15s); }
.js .k4.is-in .k4__step { opacity: 1; }
.k4wrap { margin-top: 34px; padding: 26px 22px 22px; border: 1.5px solid rgba(138,106,74,.45); border-radius: 6px; }

/* ---------- 直売所ページ ---------- */
.line-box { background: var(--peach-pale); border-radius: 6px; padding: clamp(26px, 4vw, 48px); }
.line-box .une { --une: var(--soil); }
.note-s { font-size: 13px; color: var(--ink-soft); margin-top: 14px; line-height: 1.75; }

/* ---------- 畑のことページ ---------- */
.year { display: grid; gap: clamp(32px, 4vw, 56px); }
.year__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.year__row:nth-child(even) .year__ph { order: 2; }
.year__ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.year__ph--hana img { object-position: 20% 50%; }
.year h3 { font-family: var(--body); font-weight: 700; font-size: 1.2em; margin-bottom: 10px; }
.year h3 .season { display: inline-block; font-family: var(--hand); font-weight: 400; color: var(--leaf); font-size: 1.15em; margin-right: .5em; }
.year h3 small { font-size: .7em; color: var(--soil); margin-right: .6em; font-weight: 500; }
.name-story { font-size: 1.06em; line-height: 2.1; }

/* ---------- 贈答の箱ページ ---------- */
.form { display: grid; gap: 20px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.form legend { font-weight: 700; padding: 0; margin-bottom: 8px; color: var(--soil); }
.fld { display: grid; gap: 6px; }
.fld label, .fld .lbl { font-weight: 700; font-size: 14.5px; }
.req { font-size: 11px; font-weight: 700; color: #8A3B34; margin-left: 6px; }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid rgba(138,106,74,.55); border-radius: 6px; padding: 10px 12px; width: 100%; }
.form textarea { min-height: 110px; resize: vertical; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .row3 { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.radios { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.radios label { font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.radios input { width: 18px; height: 18px; accent-color: var(--leaf); }
.form__purpose { font-size: 14px; line-height: 1.8; background: var(--peach-pale); padding: 16px 18px; border-radius: 6px; }
.form__purpose p { margin-bottom: .6em; }
.form-wrap { background: #fff; border: 1.5px solid rgba(138,106,74,.35); border-radius: 6px; padding: clamp(22px, 4vw, 44px); }
.legal th { white-space: normal; width: 13em; }

/* ---------- よくある質問 ---------- */
.faq { border-top: 1.5px dotted var(--soil); }
.faq details { border-bottom: 1.5px dotted var(--soil); }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: baseline; padding: 18px 40px 18px 4px; position: relative; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--hand); font-weight: 400; color: var(--leaf); font-size: 1.35em; line-height: 1; flex: none; }
.faq summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--soil); border-bottom: 2px solid var(--soil); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { display: flex; gap: 14px; padding: 0 8px 20px 4px; }
.faq .a::before { content: "A"; font-family: var(--hand); color: var(--peach-on); font-size: 1.35em; line-height: 1.2; flex: none; }
.faq .a p { margin: 0; }
.faq-sec + .faq-sec { padding-top: 0; }

/* ---------- ページの下 ---------- */
.pfoot { padding: 0 0 clamp(64px, 8vw, 110px); }
.pfoot .btns { justify-content: center; }
.pfoot .tel-big { display: flex; justify-content: center; }

/* ---------- フッター ---------- */
.foot { background: var(--soil); color: var(--cream); padding: 0 0 36px; --lg-fruit: var(--cream); --lg-leaf: transparent; --lg-gap: var(--cream); }
.foot .une { --une: var(--cream); margin-bottom: 40px; top: 18px; }
.foot__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 56px; padding-top: 14px; }
.foot .logo { color: var(--cream); }
.foot .lg-leaf { fill: none; stroke: var(--cream); stroke-width: 1.8; }
.foot .lg-vein { stroke: var(--cream); }
.foot .lg-sub { fill: var(--cream); }
.foot__info { font-size: 14px; line-height: 1.9; margin-top: 18px; }
.foot__info a { text-decoration: none; font-weight: 700; }
.foot__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; font-size: 14px; align-content: start; }
.foot__nav a { text-decoration: none; padding: 4px 0; }
.foot__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__copy { margin-top: 36px; font-size: 12px; opacity: .85; }

/* ---------- 出てくる動き ---------- */
.js .rv { opacity: 0; transition: opacity .5s ease-out; }
.js .rv.is-in { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .k2 .box, .js .k3 .k3-s, .js .k4 .k4__step, .js .cal .cal__nowline { opacity: 1 !important; transform: none !important; }
  .js .cal .cal__bar, .js .mk::after { transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 画面の幅ごと ---------- */
@media (max-width: 1080px) {
  .gnav { gap: 16px; font-size: 14px; }
  .head__tel { display: none; }
}
@media (max-width: 900px) {
  .head__in { min-height: 66px; gap: 12px; }
  .logo__svg { height: 38px; }
  .head__menu { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: 0; font: inherit; font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--ink); padding: 6px 4px; cursor: pointer; min-width: 44px; min-height: 44px; justify-content: center; }
  .head__menu i { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; box-shadow: 0 6px 0 var(--ink); margin-bottom: 6px; }
  .gnav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--cream); padding: 6px 20px 18px; border-bottom: 1.5px solid var(--soil); font-size: 16px; }
  .gnav a { padding: 14px 0; border-bottom: 1.5px dotted rgba(138,106,74,.6); }
  .gnav a::after { width: 3em; right: auto; bottom: 8px; }
  .gnav .gnav__tel { display: block; font-weight: 700; }
  .nav-open .gnav { display: flex; }
  .hero__box { position: relative; left: auto; bottom: auto; width: auto; min-width: 0; margin: -70px 20px 0; }
  .split, .split--wide-ph, .phead__grid { grid-template-columns: 1fr; }
  .split--rev > .split__ph { order: 0; }
  .phead__grid--rev .phead__ph { order: 0; }
  .phead--sq .phead__ph { justify-self: start; max-width: none; }
  .phead--sq .phead__ph img { aspect-ratio: 3 / 2; }
  .fruit-grid { grid-template-columns: 1fr; }
  .fudas { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .k3__pc { display: none; }
  .k3__sp { display: block; }
  .foot__grid { grid-template-columns: 1fr; }
}
@media (min-width: 901px) { .gnav__tel { display: none; } }
@media (max-width: 680px) {
  .head .btn--peach { padding: 8px 12px; font-size: 13px; }
  .logo__svg { height: 34px; }
  .demo-tag { font-size: 9px; padding: 0 4px; }
  .band-s__in { font-size: 11px; }
  .band-l__m { padding-left: 7px; }
  .band-l__m span { font-size: 10.5px; }
  .band-l .now { font-size: 11px; padding: 5px 8px; top: 25%; }
  .hero__ph { height: 56vh; min-height: 300px; }
  .hero__ph img { object-position: 45% 60%; }
  .hero__box { margin: -48px 12px 0; padding: 22px 20px 24px; }
  .hero__h { font-size: 28px; }
  .btns { flex-direction: column; align-items: stretch; }
  .fudas { grid-template-columns: 1fr; gap: 18px; }
  .year__row { grid-template-columns: 1fr; }
  .year__row:nth-child(even) .year__ph { order: 0; }
  .tbl th, .tbl td { padding: 10px 8px; }
  .tbl--kv th { white-space: normal; width: 6.2em; }
  .legal th { width: 7em; }
  .form .row2, .form .row3 { grid-template-columns: 1fr; }
  .cal--full .cal__head, .cal--full .cal__nowline, .cal--full .cal__track { display: none; }
  .cal--full .cal__row { grid-template-columns: 1fr; padding: 12px 0 10px; }
  .cal--full .cal__mini { display: block; position: relative; margin-top: 6px; }
  .cal--full .cal__body { margin-top: 0; }
  .cal--short { --nc: 3.6em; }
  .cal--short .cal__name { font-size: 13px; gap: 5px; }
  .cal--short .cal__name svg { width: 18px; height: 18px; }
  .cal__months { font-size: 12px; }
  .cal__months span { padding-left: 3px; }
  .cal__months span i { letter-spacing: 0; font-size: 9px; }
  .k2__tbl { display: none; }
  .cards { display: grid; gap: 14px; margin-top: 26px; }
  .cards .card { border: 1.5px solid rgba(138,106,74,.45); border-radius: 6px; overflow: hidden; }
  .cards .card h3 { background: var(--soil); color: var(--cream); font-family: var(--body); font-weight: 700; font-size: 15px; padding: 8px 14px; }
  .cards dl { margin: 0; display: grid; grid-template-columns: 7.2em 1fr; }
  .cards dt, .cards dd { margin: 0; padding: 8px 14px; border-top: 1px solid rgba(138,106,74,.25); font-size: 14px; }
  .cards dt { color: var(--soil); font-weight: 700; padding-right: 0; }
  .cards dd:nth-of-type(odd), .cards dt:nth-of-type(odd) { background: var(--peach-pale); }
  .boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; align-items: end; }
  .box svg { max-width: 100%; }
  .k4 { flex-direction: column; align-items: center; gap: 4px; }
  .k4__arr { transform: rotate(90deg); height: 40px; width: 40px; }
  .foot__nav { grid-template-columns: 1fr; }
}

/* 月ごとのミニ帯（スマホのK-1） */
.mini-cal { display: grid; grid-template-columns: repeat(var(--m), 1fr); max-width: calc(var(--m) * 96px); }
.mini-cal span { font-size: 11.5px; font-weight: 700; border-left: 1.5px solid var(--soil); padding-left: 4px; line-height: 1.2; }
.mini-cal__track { position: relative; grid-column: 1 / -1; height: 26px; background:
  repeating-linear-gradient(to bottom, transparent 0 2px, var(--cream) 2px 5px),
  linear-gradient(to right, rgba(138,106,74,.55) 1px, transparent 1px) 0 0 / calc(100% / var(--c)) 100%; }
.mini-cal .cal__bar { top: 7px; left: calc(var(--s) / var(--c) * 100%); width: calc((var(--e) - var(--s) + 1) / var(--c) * 100%); }
.mini-cal .now { left: calc((var(--s) + .5) / var(--c) * 100%); top: -2px; transform: translate(-50%, -100%); }
.mini-cal__wrap { position: relative; padding-top: 0; }
.mini-cal__wrap.has-now { padding-top: 22px; }

/* K-3 スマホの縦の流れ */
.k3m { border: 2px solid var(--soil); border-radius: 10px; padding: 12px 16px; background: var(--cream); }
.k3m b { display: block; font-size: 16px; }
.k3m span { font-size: 13.5px; color: var(--ink-soft); }
.k3m__arr { width: 2px; height: 26px; background: var(--soil); margin: 4px 0 4px 28px; position: relative; }
.k3m__arr::after { content: ""; position: absolute; left: -5px; bottom: -2px; border: 6px solid transparent; border-top: 8px solid var(--soil); border-bottom: 0; }
.k3m__branch { margin: 0 0 0 28px; padding: 14px 0 6px 22px; border-left: 2px dotted var(--soil); display: grid; gap: 14px; }
.k3m__b p { margin: 0 0 6px; font-size: 13.5px; line-height: 1.6; }
.k3m__if { font-weight: 700; border: 2px dotted var(--soil); border-radius: 8px; padding: 6px 10px; }
.k3m__pk { background: var(--peach); border-radius: 999px; padding: 6px 14px; font-weight: 700; }
.k3m__go { padding-left: 14px; position: relative; }
.k3m__go::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--soil); }
.tel-in small { font-size: 11px; color: var(--soil); letter-spacing: .1em; }

/* 直し（1回目） */
.nw { white-space: nowrap; }
.head .btn { white-space: nowrap; }
.band-s__in span { padding-left: 0; text-align: center; }
.band-s .now { left: 80%; }
@media (max-width: 680px) {
  .band-l .now { top: auto; bottom: -26px; transform: translate(-50%, 0); }
  .js .band-l .now { animation-name: slide-sp; }
  .tbl--kv tr { display: grid; }
  .tbl--kv th { width: auto; white-space: normal; padding: 12px 4px 0; border-bottom: 0; font-size: 13px; }
  .tbl--kv td { padding: 2px 4px 12px; }
  .legal th { width: auto; }
  .cal--short { --nc: 4.4em; }
}
@media (max-width: 400px) {
  .head__in { gap: 8px; }
  .head__brand { gap: 6px; }
  .logo__svg { height: 29px; }
  .head .btn--peach { padding: 6px 10px; font-size: 12px; min-height: 40px; }
}
@keyframes slide-sp { from { opacity: 0; transform: translate(calc(-50% - 16px), 0); } to { opacity: 1; transform: translate(-50%, 0); } }
.cal__name > span { white-space: nowrap; }
@media (max-width: 680px) {
  .band-l__in { padding-bottom: 30px; }
  .band-l .now { bottom: 0; }
  .band-s .now { font-size: 10px; padding: 4px 6px; }
  .cal--short { --nc: 5.2em; }
  .cal--full .cal__name > span { white-space: normal; }
}
@media (max-width: 680px) {
  .band-s .now { font-size: 9.5px; padding: 3px 5px; }
  .band-s__in span:last-child { text-align: right; padding-right: 6px; }
}
.tbl--grid tbody th { white-space: normal; min-width: 6em; }
@media (max-width: 680px) { .tbl--grid { font-size: 14px; } .tbl--grid th { white-space: normal; } }
.price-wrap { margin-top: 36px; max-width: 900px; }
.price td { white-space: nowrap; }
.price td[rowspan] { white-space: normal; vertical-align: middle; max-width: 18em; }
.phead__ph--low img { object-position: 50% 78%; }
@media (max-width: 680px) { .price td { white-space: normal; } }
@media (max-width: 900px) { .k3 svg.k3__pc { display: none; } }
.mini-cal__wrap.has-now { padding-top: 0; padding-bottom: 24px; }
.mini-cal .now { top: 100%; transform: translate(-50%, 4px); }
.foot__info a, .tel-in, .tel-big { white-space: nowrap; }
