@charset "UTF-8";

/* =========================================================
   MIKAN農園 — 夜明けのみかん
   外部ライブラリ・Webフォントなし。素のCSSのみ。
   ========================================================= */

:root {
  --orange: #f08a1d;
  --green: #3e5c1e;
  --cream: #f6efe3;
  --night: #0a0e20;

  --ink: #232a15;
  --ink-soft: #5d6a4a;
  --line: rgba(62, 92, 30, .28);
  --paper: #efe7d8;

  --serif: "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", sans-serif;

  /* ビューポート高さ（dvh対応ならdvh） */
  --vh: 100vh;
  /* sticky区間の総高さ */
  --stage-h: 700vh;
  /* みかん（canvas）の中心位置 */
  --stage-x: 50%;
  --stage-y: 40%;
  /* 章テキスト切替用の目印の高さ */
  --cue-h: 40vh;
}

/* dvhでなくsvh（安定値）: iOS Safariのツールバー開閉でstickyが上下に揺れないように。
   ツールバー収納時の下すき間は fixed の .sky が埋める */
@supports (height: 100svh) {
  :root { --vh: 100svh; }
}

/* ---------- 土台 ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  font-feature-settings: "palt";
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 2;
  line-break: strict;
  overflow-wrap: break-word;
  overflow-x: clip;
}

/* 文節の途中で改行させたくない塊。狭い画面ではこの境目でだけ折れるので、
   「みかんの皮がむけま／す。」のように1文字だけ次の行に落ちない。
   日本語の折返しはブラウザ任せだと語の途中で切れるため、切ってよい場所を
   こちらから教える（word-break: auto-phrase 未対応の端末でも確実に効く） */
.phrase { display: inline-block; }

h1, h2, .copy {
  word-break: auto-phrase;
  text-wrap: balance;
}

img, svg { max-width: 100%; }
img { height: auto; border: 0; }

::selection { background: rgba(240, 138, 29, .3); }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* クリーム地の上では橙リングのコントラストが足りないため深緑にする */
.section :focus-visible,
.footer :focus-visible {
  outline-color: var(--green);
}

/* ---------- 読み込みプログレス ---------- */

.loader {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 3px;
  background: rgba(246, 239, 227, .10);
  transition: opacity .7s ease .25s, visibility 0s linear 1.2s;
}

.loader__bar {
  height: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .3s ease-out;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;   /* フェード後はアクセシビリティツリーからも消す */
  pointer-events: none;
}

/* 第1段のプリロードが済むまでスクロールを止める */
html.is-loading,
html.is-loading body {
  overflow: hidden;
  overscroll-behavior: none;
}

/* ---------- 空（夜 → 夜明け → 朝） ---------- */

.sky {
  --p: 0;
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--night);
}

.sky__layer {
  position: absolute;
  inset: 0;
}

.sky__dawn {
  background: linear-gradient(180deg,
      #0d1330 0%, #241640 26%, #5b2547 52%, #a94a2c 78%, #dd8438 100%);
  opacity: clamp(0, calc((var(--p) - .16) / .32), 1);
}

.sky__morning {
  background: linear-gradient(180deg,
      #ffd7a2 0%, #f8e9d2 38%, #f6efe3 70%, #f6efe3 100%);
  opacity: clamp(0, calc((var(--p) - .60) / .30), 1);
}

/* ---------- sticky区間 ---------- */

.scroll-stage {
  position: relative;
  height: var(--stage-h);
}

.stage-sticky {
  --p: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  height: var(--vh);
  overflow: hidden;
}

/* canvas背後の橙の後光 */
.halo {
  position: absolute;
  left: var(--stage-x);
  top: var(--stage-y);
  width: min(150vmin, 1240px);
  height: min(150vmin, 1240px);
  background: radial-gradient(circle closest-side,
      rgba(240, 138, 29, .55) 0%,
      rgba(240, 138, 29, .20) 46%,
      rgba(240, 138, 29, 0) 72%);
  transform: translate(-50%, -50%) scale(calc(.7 + var(--p) * .5));
  opacity: clamp(.10, calc(.10 + var(--p) * 1.15), 1);
  will-change: transform, opacity;
  pointer-events: none;
}

.canvas-wrap {
  position: absolute;
  left: var(--stage-x);
  top: var(--stage-y);
  width: min(84vw, 460px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* JSが動く環境では静止画は出さない */
.hero-still { display: none; }

/* ---------- 章テキスト ---------- */

.stage-copy {
  position: absolute;
  inset: 0;
  padding: 0 7vw;
  pointer-events: none;
}

/* 下からのスクリム（モバイルで文字を読ませる） */
.stage-copy::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 62%;
  background: linear-gradient(180deg, rgba(6, 9, 22, 0), rgba(6, 9, 22, .62));
  opacity: clamp(0, calc((.82 - var(--p)) / .1), 1);
}

.stage-copy > * {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 7vw 14vh;
  margin: 0;
  text-shadow: 0 1px 34px rgba(4, 6, 18, .55);
}

.hero {
  opacity: clamp(0, calc((.155 - var(--p)) / .055), 1);
  transform: translateY(calc(var(--p) * -70px));
}

.hero__logo {
  margin: 0 0 clamp(1.4rem, 4vh, 2.4rem);
  font-family: var(--serif);
  font-size: clamp(1rem, 3.4vw, 1.45rem);
  font-weight: 400;
  letter-spacing: .3em;
}

.logo-en {
  font-family: var(--serif);
  letter-spacing: .42em;
  font-size: 1.08em;
}

.hero__copy {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 7.6vw, 3.5rem);
  letter-spacing: .14em;
  line-height: 1.85;
}

.hero__sub {
  margin: clamp(1.4rem, 4vh, 2.2rem) 0 0;
  font-size: clamp(.82rem, 2.6vw, 1rem);
  letter-spacing: .16em;
  line-height: 2.3;
  color: rgba(246, 239, 227, .78);
}

.chapter-text {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity .95s ease, transform .95s ease;
}

.chapter-text.visible {
  opacity: 1;
  transform: none;
}

.chapter-lead {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 5.4vw, 2.4rem);
  letter-spacing: .18em;
  line-height: 2.1;
}

.chapter-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 5vw, 2.1rem);
  letter-spacing: .16em;
  line-height: 2;
}

.chapter-body {
  margin: clamp(1.4rem, 3.4vh, 2.2rem) 0 0;
  max-width: 30em;
  font-size: clamp(.84rem, 2.5vw, 1rem);
  letter-spacing: .08em;
  line-height: 2.35;
  color: rgba(246, 239, 227, .82);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(2.2rem, 6vh, 3.4rem);
  width: min(90vw, 32em);
  transform: translateX(-50%);
  margin: 0;
  font-size: clamp(.82rem, 2.4vw, .95rem);
  letter-spacing: .2em;
  line-height: 2;
  text-align: center;
  color: rgba(246, 239, 227, .96);
  text-shadow: 0 2px 20px rgba(4, 6, 18, .8);
  /* 物語が始まるまでは、ゆっくり明滅して気づいてもらう */
  opacity: clamp(0, calc((.115 - var(--p)) / .045), 1);
  animation: cue-breathe 3.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cue-breathe {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.35); }
}

.scroll-cue__arrow {
  display: block;
  width: 12px;
  height: 12px;
  margin: 1.2em auto 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  animation: cue-fall 2.6s ease-in-out infinite;
}

@keyframes cue-fall {
  0%   { transform: translateY(-5px) rotate(45deg); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(9px) rotate(45deg); opacity: 0; }
}

/* 章テキストの表示切替に使う目印（見えない） */
.cue {
  position: absolute;
  left: 0;
  width: 1px;
  height: var(--cue-h);
  top: calc(var(--at) * (100% - var(--vh)) + (var(--vh) - var(--cue-h)) / 2);
  opacity: 0;
  pointer-events: none;
}

/* ---------- 通常フローのセクション ---------- */

.section {
  position: relative;
  background: var(--cream);
  color: var(--ink);
  padding: clamp(5.5rem, 16vh, 11rem) 0;
}

.section + .section { padding-top: 0; }

.wrap {
  width: min(1080px, 86vw);
  margin: 0 auto;
}

.wrap--narrow { width: min(680px, 86vw); }

.section__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.45rem, 5vw, 2.4rem);
  letter-spacing: .16em;
  line-height: 2;
}

.section__body {
  margin: clamp(2rem, 5vh, 3rem) 0 0;
  max-width: 34em;
  font-size: clamp(.9rem, 2.4vw, 1rem);
  letter-spacing: .07em;
  line-height: 2.4;
}

.signature {
  margin: clamp(1.6rem, 4vh, 2.4rem) 0 0;
  max-width: 34em;
  text-align: right;
  font-family: var(--serif);
  font-size: .84em;
  letter-spacing: .22em;
  line-height: 2;
  color: var(--ink-soft);
}

.figure {
  margin: clamp(3rem, 8vh, 5rem) 0 0;
}

/* 画像が無いときはこの枠のグラデーションがそのままプレースホルダになる */
.figure__frame {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(180deg, #2a1c42 0%, #a9573a 46%, #e3a866 72%, #5b7434 100%);
}

.figure__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: var(--cream);
  font-size: .8rem;
  letter-spacing: .1em;
}

.figure__toggle {
  margin: 1.1em 0 0;
  font: inherit;
  font-size: .74rem;
  letter-spacing: .16em;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .5em 1.7em;
  cursor: pointer;
  transition: border-color .3s ease, color .3s ease;
}

.figure__toggle:hover {
  border-color: var(--green);
  color: var(--ink);
}

.figure__caption {
  margin: 1.5em 0 0;
  font-size: .76rem;
  letter-spacing: .2em;
  line-height: 2;
  color: var(--ink-soft);
}

/* ---------- アクセス ---------- */

.address {
  margin: clamp(2rem, 5vh, 3rem) 0 0;
  font-family: var(--serif);
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  letter-spacing: .14em;
  line-height: 2.2;
}

/* 地図アプリのスクリーンショット風。地図本体はSVG、カードとズームはHTMLで重ねる */

.map {
  position: relative;
  margin: clamp(2.4rem, 6vh, 3.6rem) 0 0;
}

.map__svg {
  display: block;
  width: 100%;
  height: auto;
  font-family: var(--sans);
  border-radius: 6px;
  background: #edeae3;
}

.map__ground { fill: #edeae3; }
.map__greens ellipse { fill: #dce5cc; }
.map__blocks rect { fill: #e1dcd2; }

.map__river {
  fill: none;
  stroke: #a8cbc7;
  stroke-width: 13;
  stroke-linecap: round;
}

/* 幹線は薄橙のフチ＋白。細道は白のみ */
.map__trunk-casing {
  fill: none;
  stroke: #f3d8b0;
  stroke-width: 17;
  stroke-linecap: round;
}
.map__trunk {
  fill: none;
  stroke: #fff;
  stroke-width: 11;
  stroke-linecap: round;
}
.map__lane {
  fill: none;
  stroke: #fff;
  stroke-width: 6;
  stroke-linecap: round;
}
.map__lane--to-farm { stroke-width: 7.5; }

.map__area,
.map__road-name,
.map__pin-label {
  paint-order: stroke;
  stroke-linejoin: round;
}

.map__area {
  fill: #8d8779;
  font-size: 17px;
  letter-spacing: .18em;
  stroke: #edeae3;
  stroke-width: 4;
}

.map__road-name {
  fill: #8a8578;
  font-size: 11px;
  letter-spacing: .08em;
  stroke: #fff;
  stroke-width: 3;
}

.map__road-name--river { fill: #6f9c97; stroke: #edeae3; }

.map__pin-shadow { fill: rgba(35, 42, 21, .2); }
.map__pin-body { fill: var(--orange); }
.map__pin-core { fill: #fff; }

.map__pin-label {
  fill: #3b3a30;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  stroke: #fff;
  stroke-width: 4;
}

/* 浮きカード（狭い画面では地図の上に通常フローで置く） */

.map__panel { margin: 1rem 0 0; }

.map__card {
  background: #fff;
  border-radius: 8px;
  padding: 1.1em 1.3em;
  box-shadow: 0 2px 10px rgba(35, 42, 21, .16);
}

.map__card-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.02rem;
  letter-spacing: .14em;
  line-height: 1.8;
  color: var(--ink);
}

.map__card-address {
  margin: .7em 0 0;
  font-size: .76rem;
  letter-spacing: .06em;
  line-height: 1.95;
  color: var(--ink-soft);
}

.map__card-actions { margin: 1.1em 0 0; }

.map__card-button {
  display: inline-block;
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--ink);
  background: var(--orange);
  border-radius: 999px;
  padding: .62em 1.5em;
  text-decoration: none;
  transition: background-color .3s ease;
}

.map__card-button:hover { background: #ffa03a; }

.map__disclaimer {
  margin: .9em 0 0;
  font-size: .66rem;
  letter-spacing: .08em;
  line-height: 1.9;
  color: var(--ink-soft);
}

/* ズーム（JSが動くときだけ出す） */

.map__zoom {
  position: absolute;
  right: .9rem;
  bottom: .9rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.map__zoom[hidden] { display: none; }

.map__zoom-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 1px 5px rgba(35, 42, 21, .24);
  cursor: pointer;
  transition: background-color .3s ease;
}

.map__zoom-button:hover { background: #f4f2ec; }
.map__zoom-button:disabled { color: #bdb8ab; cursor: default; }

@media (min-width: 769px) {
  .map__panel {
    position: absolute;
    top: 1.1rem;
    left: 1.1rem;
    width: min(19rem, 44%);
    margin: 0;
  }
}

/* ---------- フォーム ---------- */

.form { margin: clamp(2.4rem, 6vh, 3.6rem) 0 0; }

.field { margin: 0 0 clamp(1.8rem, 4.5vh, 2.6rem); }

.field__label {
  display: block;
  margin-bottom: .8em;
  font-size: .78rem;
  letter-spacing: .2em;
  color: var(--ink-soft);
}

.field__input {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: .6em .2em;
  transition: border-color .3s ease;
}

.field__input--area { resize: vertical; }

/* select は下線様式に揃え、右端に自前の三角を置く（画像もフォントも足さない） */
.field__input--select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 1.8em;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: right 0.75em top 1.15em, right 0.44em top 1.15em;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field__input:focus { border-bottom-color: var(--orange); }

.form__actions {
  margin: clamp(2.4rem, 6vh, 3.4rem) 0 0;
  text-align: center;
}

.button {
  font: inherit;
  font-size: .92rem;
  letter-spacing: .24em;
  color: var(--cream);
  background: var(--green);
  border: 0;
  border-radius: 999px;
  padding: 1.15em 3.2em 1.15em 3.44em;
  cursor: pointer;
  transition: background-color .3s ease;
}

.button:hover { background: #4c7126; }

.form__note {
  margin: 1.8em 0 0;
  text-align: center;
  font-size: .82rem;
  letter-spacing: .08em;
  color: var(--ink-soft);
}

.form__note.is-hidden { visibility: hidden; }

/* ---------- フッター ---------- */

.footer {
  background: var(--paper);
  color: var(--ink-soft);
  padding: clamp(3.5rem, 9vh, 6rem) 7vw clamp(3rem, 8vh, 5rem);
  text-align: center;
  border-top: 1px solid rgba(62, 92, 30, .14);
}

.footer__mark {
  margin: 0;
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: .26em;
  color: var(--ink);
}

.footer__note {
  margin: 1.6em 0 0;
  font-size: .72rem;
  letter-spacing: .1em;
  line-height: 2;
}

/* ---------- タブレット以上 ---------- */

@media (min-width: 769px) {
  :root {
    --stage-y: 50%;
  }

  .canvas-wrap { width: min(70vmin, 680px); }

  /* 朝の空が明るくなる第3章以降、テキストカラムの背面だけ暗い帯を立ち上げて
     クリーム地×クリーム文字のコントラスト崩れを防ぐ */
  .stage-copy::before {
    inset: 0 auto 0 0;
    width: min(46vw, 560px);
    height: 100%;
    background: linear-gradient(90deg, rgba(6, 9, 22, .55), rgba(6, 9, 22, 0));
    opacity: clamp(0, calc((var(--p) - .55) / .18), 1);
  }

  .stage-copy {
    inset: 0 auto 0 0;
    width: min(38ch, 42vw);
    padding: 0;
  }

  .stage-copy > * {
    justify-content: center;
    padding: 0 0 0 8vw;
  }

  /* PCでも画面中央下に置く（右隅だと最初の一手として気づかれない） */
  .scroll-cue {
    left: 50%;
    right: auto;
    bottom: 6vh;
    width: auto;
    max-width: 40vw;
    transform: translateX(-50%);
    text-align: center;
  }
}

/* ---------- デスクトップ（みかんをやや右へ） ---------- */

@media (min-width: 1100px) {
  :root { --stage-x: 62%; }

  .canvas-wrap { width: min(74vmin, 760px); }
}

/* ---------- モバイル（縦を短く） ---------- */

@media (max-width: 768px) {
  :root { --stage-h: 500vh; }
}

/* =========================================================
   静止画フォールバック
   (a) JS無効 = html に .js が付かない
   (b) prefers-reduced-motion: reduce / ?reduced=1
   ========================================================= */

:is(html:not(.js), html.is-reduced) .loader { display: none; }
:is(html:not(.js), html.is-reduced) .canvas-wrap { display: none; }
:is(html:not(.js), html.is-reduced) .cue { display: none; }
:is(html:not(.js), html.is-reduced) .scroll-cue { display: none; }
:is(html:not(.js), html.is-reduced) .halo { display: none; }

:is(html:not(.js), html.is-reduced) .sky { --p: .42; }

:is(html:not(.js), html.is-reduced) .scroll-stage { height: auto; }

:is(html:not(.js), html.is-reduced) .stage-sticky {
  position: static;
  height: auto;
  overflow: visible;
  padding: clamp(4rem, 12vh, 8rem) 7vw clamp(5rem, 14vh, 9rem);
}

:is(html:not(.js), html.is-reduced) .hero-still {
  display: block;
  width: min(72vmin, 520px);
  margin: 0 auto clamp(3rem, 9vh, 6rem);
}

:is(html:not(.js), html.is-reduced) .stage-copy {
  position: static;
  inset: auto;
  width: min(38em, 100%);
  margin: 0 auto;
  padding: 0;
  /* 重ね置きをやめて普通の文章に戻るので、選択もリンクも効くようにする
     （演出中は canvas の邪魔をしないよう none のまま） */
  pointer-events: auto;
}

:is(html:not(.js), html.is-reduced) .stage-copy::before { display: none; }

:is(html:not(.js), html.is-reduced) .stage-copy > * {
  position: static;
  display: block;
  padding: 0;
  margin: 0 0 clamp(4rem, 12vh, 8rem);
  opacity: 1;
  transform: none;
}

:is(html:not(.js), html.is-reduced) .stage-copy > *:last-child { margin-bottom: 0; }

/* ---------- 「動きを減らす」設定の人が、自分で演出を開ける導線 ----------
   静止画レイアウトのときだけ出す。押すと is-reduced が外れるので、
   表示を保つために .is-on を別に持たせて、隅の小さなボタンへ逃がす。
   main.js が生成するので、JS無効の人に押せないボタンは残らない。 */

/* ボタンが入るときは、みかんとの距離を詰める。
   離れていると「この絵の話をしている」ことが読み取れない。
   この静止画は下に約24%の透明な余白を持っているので、その分を引き戻して
   実のすぐ下にボタンが来るようにする（幅と高さは同じ = min(72vmin, 520px)） */
:is(html:not(.js), html.is-reduced) .stage-sticky.has-optin .hero-still {
  margin-bottom: calc(clamp(1rem, 3vh, 1.8rem) - min(72vmin, 520px) * .2);
}

.motion-optin-wrap {
  display: none;
  margin: 0 0 clamp(2.5rem, 7vh, 4rem);
  text-align: center;
}

:is(html:not(.js), html.is-reduced) .motion-optin-wrap,
.motion-optin-wrap.is-on { display: block; }

/* 演出中は本体が fixed で抜けるので、場所を取らせない */
.motion-optin-wrap.is-on { margin: 0; }

.motion-optin__note {
  display: block;
  margin: 0 auto 1em;
  max-width: 26em;
  font-size: .78rem;
  letter-spacing: .08em;
  line-height: 2;
  color: rgba(246, 239, 227, .72);
}

/* 句の切れ目は共通の .phrase に任せる（main.js が「。」区切りで作る） */

.motion-optin-wrap.is-on .motion-optin__note { display: none; }

.motion-optin {
  font: inherit;
  font-size: .78rem;
  letter-spacing: .16em;
  line-height: 1;
  color: var(--cream);
  background: rgba(10, 14, 32, .55);
  border: 1px solid rgba(246, 239, 227, .38);
  border-radius: 999px;
  padding: 1em 2.1em;
  cursor: pointer;
  transition: background-color .3s ease, border-color .3s ease;
}

.motion-optin:hover {
  background: rgba(10, 14, 32, .82);
  border-color: rgba(246, 239, 227, .7);
}

/* 演出中は物語の邪魔をしない隅へ。右下の「物語をとばす」と左右で対になる */
.motion-optin.is-on {
  position: fixed;
  left: clamp(1rem, 4vw, 2.2rem);
  bottom: clamp(1rem, 4vh, 2.2rem);
  z-index: 41;
  font-size: .72rem;
  padding: .75em 1.4em;
}

/* JSが動かない環境では送信ボタンを出さず、注記を常時表示する
   （actionの無いformはGET送信になり、入力内容がURLに載ってしまうため） */
html:not(.js) .button { display: none; }
html:not(.js) .form__note { visibility: visible; }

/* ---------- 動きを減らす設定 ---------- */

@media (prefers-reduced-motion: reduce) {
  .scroll-cue { animation: none; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   多ページ化で足したもの
   （共通ヘッダー・下層ページ・カード・輪切りカレンダー・
     スタットカード・スキップUX）
   ここから下は追記。上の既存ルールは触っていない。
   ========================================================= */

:root {
  --header-h: 3.2rem;
}

@media (min-width: 769px) {
  :root { --header-h: 4rem; }
}

/* ---------- 共通ヘッダー ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  background: var(--cream);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: background-color .5s ease, color .5s ease, border-color .5s ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  width: min(1080px, 92vw);
  height: var(--header-h);
  margin: 0 auto;
}

.site-header__logo {
  font-family: var(--serif);
  font-size: clamp(.84rem, 3vw, 1rem);
  letter-spacing: .24em;
  line-height: 1;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

/* モバイルでも3つ横並び（ハンバーガーにしない） */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(.85em, 3.2vw, 2.4em);
}

.site-nav__link {
  font-size: clamp(.63rem, 2.5vw, .78rem);
  letter-spacing: .1em;
  line-height: 1;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  opacity: .78;
  /* 下線の有無で高さが変わらないよう、全リンクに同じ余白と透明な線を敷く */
  padding-bottom: .35em;
  border-bottom: 1px solid transparent;
  transition: opacity .3s ease;
}

.site-nav__link:hover { opacity: 1; }

.site-nav__link[aria-current="page"] {
  opacity: 1;
  border-bottom-color: currentColor;
}

/* 320px級でも3リンクを1行に収める（ハンバーガーにしない方針のため、
   ロゴの字送りと文字サイズを詰めて場所をつくる） */
@media (max-width: 400px) {
  .site-header__inner { width: 94vw; }

  .site-header__logo { font-size: .74rem; letter-spacing: .1em; }
  .site-header__logo .logo-en { letter-spacing: .16em; }

  .site-nav { gap: .9em; }
  .site-nav__link { font-size: .62rem; letter-spacing: .03em; }
}

/* トップの暗いヒーロー上だけ透明。空が朝に変わったら不透明へ切り替える */
.site-header--overlay {
  background: transparent;
  color: var(--cream);
  border-bottom-color: transparent;
}

.site-header--overlay:not(.scrolled) {
  text-shadow: 0 1px 22px rgba(4, 6, 18, .55);
}

.site-header--overlay.scrolled {
  background: var(--cream);
  color: var(--ink);
  border-bottom-color: var(--line);
}

/* クリーム地の上では橙リングのコントラストが足りないため深緑にする */
.site-header:not(.site-header--overlay) :focus-visible,
.site-header--overlay.scrolled :focus-visible {
  outline-color: var(--green);
}

/* ---------- 下層ページの土台（朝の世界） ---------- */

.page {
  min-height: 100vh;
  padding-top: var(--header-h);
  background: var(--cream);
  color: var(--ink);
}

.page-head {
  padding: clamp(3.5rem, 12vh, 7rem) 0 clamp(2.5rem, 8vh, 5rem);
  background: var(--cream);
  color: var(--ink);
}

.page-head + .section { padding-top: 0; }

.page-head__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 6.4vw, 3rem);
  letter-spacing: .16em;
  line-height: 1.95;
}

.page-head__lead {
  margin: clamp(2rem, 5vh, 3rem) 0 0;
  max-width: 34em;
  font-size: clamp(.9rem, 2.4vw, 1rem);
  letter-spacing: .07em;
  line-height: 2.4;
}

/* ---------- トップ: 生産者ポップ ---------- */

.producer {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.6rem);
  max-width: 34em;
  margin: clamp(2rem, 5vh, 3rem) 0 0;
}

.producer__portrait {
  flex: none;
  display: block;
  width: clamp(3.6rem, 12vw, 5rem);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: var(--paper);
}

.producer__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.producer__name {
  flex: 1 1 auto;
  margin: 0;
  text-align: left;
}


/* 1画面ぶんスクロールしたら通過する目印（見えない） */
.skip-anchor {
  position: absolute;
  left: 0;
  top: var(--vh);
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.skip-story {
  position: fixed;
  right: clamp(1rem, 4vw, 2.2rem);
  bottom: clamp(1rem, 4vh, 2.2rem);
  z-index: 41;
  display: flex;
  align-items: center;
  gap: .6em;
  padding: .75em 1.4em;
  font-size: .72rem;
  letter-spacing: .16em;
  line-height: 1;
  color: var(--cream);
  text-decoration: none;
  background: rgba(10, 14, 32, .58);
  border: 1px solid rgba(246, 239, 227, .32);
  border-radius: 999px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility 0s linear .45s, background-color .3s ease;
}

.skip-story[hidden] { display: none; }

.skip-story.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity .45s ease, background-color .3s ease;
}

.skip-story:hover { background: rgba(10, 14, 32, .8); }





/* ヒーローが透明になったあと、見えないリンクを押せてしまわないように */
.stage-sticky.is-past-hero .hero { visibility: hidden; }

/* ---------- 白フチのスナップ様式 ---------- */

/* 結び（トップ）に1枚だけ大きく。回転は付けずまっすぐ置く */
.snapshot {
  margin: clamp(2.5rem, 7vh, 4rem) 0 0;
}

.snapshot__frame {
  display: block;
  padding: clamp(.7rem, 2vw, 1.1rem);
  background: #fff;
  box-shadow: 0 2px 14px rgba(35, 42, 21, .14);
}

.snapshot__frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.snapshot__caption {
  margin: 1.4em 0 0;
  font-size: .76rem;
  letter-spacing: .2em;
  line-height: 2;
  color: var(--ink-soft);
}

/* ---------- about: スナップ写真帯 ---------- */

.snaps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(.8rem, 2.4vw, 1.4rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 769px) {
  .snaps { grid-template-columns: repeat(4, 1fr); }
}

.snap__figure { margin: 0; }

.snap__frame {
  display: block;
  padding: clamp(.35rem, 1.2vw, .6rem);
  background: #fff;
  box-shadow: 0 2px 10px rgba(35, 42, 21, .12);
}

.snap__frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.snap__caption {
  margin: 1em 0 0;
  font-size: .7rem;
  letter-spacing: .16em;
  line-height: 1.9;
  color: var(--ink-soft);
}

/* ---------- about: 人のはなし ---------- */

.person + .person { margin-top: clamp(3rem, 8vh, 5rem); }

.person__name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.1rem, 3.8vw, 1.45rem);
  letter-spacing: .18em;
  line-height: 2;
  color: var(--green);
}

.person__body {
  margin: 1.4em 0 0;
  max-width: 34em;
  padding-left: clamp(1rem, 3vw, 1.7rem);
  border-left: 2px solid var(--line);
  font-size: clamp(.9rem, 2.4vw, 1rem);
  letter-spacing: .07em;
  line-height: 2.5;
}

/* ---------- about: スタットカード ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: clamp(2.5rem, 7vh, 4rem) 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (min-width: 769px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
}

.stat {
  background: var(--cream);
  padding: clamp(1.6rem, 4.5vh, 2.6rem) .8rem;
  text-align: center;
}

.stat__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 7vw, 2.9rem);
  letter-spacing: .04em;
  line-height: 1.4;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.stat__unit {
  margin-left: .3em;
  font-size: .42em;
  letter-spacing: .12em;
}

.stat__label {
  display: block;
  margin-top: .9em;
  font-size: .7rem;
  letter-spacing: .16em;
  line-height: 1.9;
  color: var(--ink-soft);
}

/* ---------- mikan: 輪切りカレンダー ---------- */

.wheel {
  margin: clamp(2.5rem, 7vh, 4rem) 0 0;
  text-align: center;
}

/* Blenderレンダの切替式。正方形の面に、透明なホットスポットを重ねる */
.cal3d {
  position: relative;
  width: min(84vw, 460px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.cal3d__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 位置と大きさは main.js が % で指定する（面が正方形なので縦横で同じ値になる） */
.cal3d__hotspot {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  padding: 0;
  font: inherit;
  font-size: clamp(.62rem, 2.2vw, .76rem);
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 6px rgba(255, 255, 255, .75);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: border-color .3s ease;
}

/* 縁は hover / focus のときだけ薄く出す */
.cal3d__hotspot:hover,
.cal3d__hotspot:focus-visible { border-color: rgba(240, 138, 29, .8); }

.cal3d__hotspot:focus-visible { outline-offset: 0; }

.wheel__caption {
  width: min(30em, 100%);
  margin: clamp(1.8rem, 5vh, 2.6rem) auto 0;
  padding: 1.2em 1.4em;
  border: 1px solid var(--line);
  text-align: center;
}

.wheel__caption-month {
  display: block;
  font-family: var(--serif);
  font-size: 1.12rem;
  letter-spacing: .2em;
  line-height: 1.8;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.wheel__caption-task {
  display: block;
  margin-top: .6em;
  font-size: .92rem;
  letter-spacing: .08em;
  line-height: 2;
}

.wheel__hint {
  margin: 1.2em 0 0;
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--ink-soft);
}

/* JSが動かない環境では房を押せないので、案内も出さない */
html:not(.js) .wheel__hint { display: none; }

/* 12ヶ月の全文。JS無効でも全情報が読める */
.wheel-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .35em 1.4em;
  width: min(34em, 100%);
  margin: clamp(2.5rem, 7vh, 4rem) auto 0;
  text-align: left;
  font-size: .86rem;
}

.wheel-list dt {
  font-family: var(--serif);
  letter-spacing: .14em;
  line-height: 2;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.wheel-list dd {
  margin: 0;
  letter-spacing: .06em;
  line-height: 2;
}

/* ---------- mikan: 工程 ---------- */

.steps {
  margin: clamp(2.5rem, 7vh, 4rem) 0 0;
  padding: 0;
  list-style: none;
}

.step {
  padding-top: clamp(3rem, 9vh, 5.5rem);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.step:first-child { padding-top: 0; }

.step__num {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 5.4vw, 2.2rem);
  letter-spacing: .1em;
  line-height: 1;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.step__title {
  margin: .9em 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 4.2vw, 1.6rem);
  letter-spacing: .14em;
  line-height: 2;
}

.step__dash {
  margin: 0 .5em;
  color: var(--ink-soft);
}

.step__body {
  margin: 1.6em 0 0;
  max-width: 34em;
  font-size: clamp(.9rem, 2.4vw, 1rem);
  letter-spacing: .07em;
  line-height: 2.45;
}

.step .figure { margin: clamp(2rem, 5vh, 3rem) 0 0; }

/* ---------- 追加した本文の折返し ---------- */

/* 文節単位で折り返して、1文字だけ次の行に落ちるのを防ぐ。
   （対応していないブラウザは無視するだけで、崩れない） */
.page-head__lead,
.person__body,
.step__body,
.wheel__caption-task,
.snap__caption,
.map__card-address,
.price__note {
  word-break: auto-phrase;
  text-wrap: pretty;
}

/* ---------- フッターのページリンク ---------- */

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.2em, 5vw, 2.6em);
  margin: 0 0 clamp(2.2rem, 6vh, 3.2rem);
}

.footer__link {
  font-size: .76rem;
  letter-spacing: .16em;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: .25em;
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}

.footer__link:hover { border-bottom-color: var(--line); }


/* ---------- レビュー対応の追補 ---------- */

/* no-JS: トップの透明ヘッダーはクリーム地の上で読めなくなるため常時不透明にする */
html:not(.js) .site-header--overlay {
  background: var(--cream);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  text-shadow: none;
}

html:not(.js) .site-header--overlay .site-nav__link,
html:not(.js) .site-header--overlay .site-header__logo {
  color: var(--ink);
  text-shadow: none;
}

/* 地図: ズームボタンの基準をSVG側に限定（住所カードに重ならない） */
.map__stage { position: relative; }


/* =========================================================
   トップ: H2×5 のマーケティング区間
   （ブロックエディタ風の帯・オーバーライン・玉マーカー・
     バッジ・価格カード・CTA）
   ========================================================= */

/* 帯を交互に敷くので、隣り合っても上の余白を残す
   （.section + .section の padding-top: 0 をここで打ち消す） */
.section--band + .section--band {
  padding-top: clamp(5.5rem, 16vh, 11rem);
}

.section--paper { background: var(--paper); }

/* ---------- 2カラム（デスクトップのみ。段ごとに左右を入れ替える） ---------- */

.block {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.4rem, 6vw, 3.6rem);
  align-items: center;
}

@media (min-width: 769px) {
  .block { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

  /* 文字の側を先に置いて、絵を右へ回す段 */
  .block--flip .block__media { order: 2; }
}

/* カラムの中では図の上余白を消す（見出しと肩を揃える） */
.block__media .figure { margin: 0; }

/* ---------- H2（橙の短いオーバーライン） ---------- */

.block__head::before {
  content: "";
  display: block;
  width: 2.6rem;
  height: 3px;
  margin-bottom: clamp(1.4rem, 3.5vh, 2rem);
  background: var(--orange);
}

.block__head--center {
  text-align: center;
}

.block__head--center::before { margin-inline: auto; }

.block__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.45rem, 5vw, 2.4rem);
  letter-spacing: .16em;
  line-height: 2;
}

/* ---------- 季節バッジ（角丸ピル・橙枠） ---------- */

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6em;
  margin: clamp(1.2rem, 3vh, 1.7rem) 0 0;
}

.block__head--center .badges { justify-content: center; }

.badge {
  display: inline-block;
  padding: .45em 1.3em;
  font-size: .72rem;
  letter-spacing: .14em;
  line-height: 1.9;
  color: #96500b;   /* クリーム地でAAを満たす、橙を落とした色 */
  border: 1px solid var(--orange);
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- H3（みかん玉マーカー付きカード） ---------- */

.beads {
  margin: clamp(2rem, 5vh, 2.8rem) 0 0;
  padding: 0;
  list-style: none;
}

.beads--row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 1.6rem);
  margin-top: clamp(2.5rem, 7vh, 4rem);
}

@media (min-width: 769px) {
  .beads--row { grid-template-columns: repeat(3, 1fr); }
}

.bead {
  position: relative;
  padding: clamp(1.3rem, 3.4vw, 1.8rem) clamp(1.2rem, 3vw, 1.7rem);
  background: rgba(255, 255, 255, .5);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.beads > .bead + .bead { margin-top: clamp(1rem, 2.6vh, 1.4rem); }
.beads--row > .bead + .bead { margin-top: 0; }

.bead__title {
  position: relative;
  margin: 0;
  padding-left: 1.5em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1rem, 3.4vw, 1.16rem);
  letter-spacing: .12em;
  line-height: 1.95;
}

/* みかん玉のマーカー */
.bead__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .78em;
  height: .78em;
  border-radius: 50%;
  background: var(--orange);
}

.bead__body {
  margin: 1em 0 0;
  font-size: clamp(.86rem, 2.4vw, .95rem);
  letter-spacing: .06em;
  line-height: 2.3;
  word-break: auto-phrase;
  text-wrap: pretty;
}

/* ---------- 価格カード（2枚並び・数字は明朝） ---------- */

.prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.8rem, 2.4vw, 1.2rem);
  margin: clamp(2rem, 5vh, 2.8rem) 0 0;
  padding: 0;
  list-style: none;
}

.price {
  padding: clamp(1.2rem, 3.4vw, 1.7rem) .8rem;
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--orange);
  border-radius: 4px;
}

.section--paper .price { background: #fbf6ec; }

.price__name {
  display: block;
  font-size: .72rem;
  letter-spacing: .14em;
  line-height: 1.9;
  color: var(--ink-soft);
}

.price__num {
  display: block;
  margin-top: .5em;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 6vw, 2.1rem);
  letter-spacing: .04em;
  line-height: 1.4;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.price__unit {
  margin-left: .2em;
  font-size: .46em;
  letter-spacing: .12em;
}

.price__note {
  margin: 1.2em 0 0;
  font-size: .7rem;
  letter-spacing: .08em;
  line-height: 1.95;
  color: var(--ink-soft);
}

/* ---------- CTA（1セクション1個まで） ---------- */

.cta {
  margin: clamp(2rem, 5vh, 2.8rem) 0 0;
}

.cta__button {
  display: inline-block;
  padding: 1.1em 2.8em;
  font-size: .95rem;
  letter-spacing: .2em;
  line-height: 1;
  color: #2a1a05;   /* 橙の上でAAを満たす濃い茶 */
  text-decoration: none;
  background: var(--orange);
  border-radius: 999px;
  transition: background-color .3s ease;
}

.cta__button:hover { background: #ffa03a; }


/* =========================================================
   contact: 直売所のご案内カード と FAQ
   ========================================================= */

.stand-card {
  margin: clamp(2rem, 5vh, 3rem) 0 0;
  padding: clamp(1.4rem, 4vw, 2rem) clamp(1.3rem, 3.6vw, 1.9rem);
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.stand-card__item {
  position: relative;
  padding-left: 1.4em;
  font-size: clamp(.86rem, 2.4vw, .95rem);
  letter-spacing: .06em;
  line-height: 2.2;
  word-break: auto-phrase;
  text-wrap: pretty;
}

.stand-card__item + .stand-card__item { margin-top: .5em; }

.stand-card__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: .95em;
  width: .55em;
  height: .55em;
  border-radius: 50%;
  background: var(--orange);
}

/* ---------- FAQ（details/summary の開閉） ---------- */

.faq { margin: clamp(2rem, 5vh, 3rem) 0 0; }

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item:first-child { border-top: 1px solid var(--line); }

.faq__q {
  display: flex;
  gap: .2em;
  padding: 1.3em 2em 1.3em 0;
  font-family: var(--serif);
  font-size: clamp(.94rem, 2.6vw, 1.05rem);
  letter-spacing: .1em;
  line-height: 1.95;
  cursor: pointer;
  list-style: none;   /* 既定の三角を消して自前の＋に置き換える */
  position: relative;
  word-break: auto-phrase;
  text-wrap: pretty;
}

.faq__q::-webkit-details-marker { display: none; }

/* 開閉の目印（縦棒が消えて横棒だけになる＝＋から−へ） */
.faq__q::after {
  content: "";
  position: absolute;
  right: .3em;
  top: 2em;
  width: .7em;
  height: 1px;
  background: var(--green);
  box-shadow: 0 0 0 0 transparent;
}

.faq__q::before {
  content: "";
  position: absolute;
  right: .3em;
  top: 2em;
  width: .7em;
  height: 1px;
  background: var(--green);
  transform: rotate(90deg);
  transition: transform .3s ease, opacity .3s ease;
}

.faq__item[open] .faq__q::before { transform: none; opacity: 0; }

.faq__a {
  margin: 0;
  display: flex;
  gap: .2em;
  padding: 0 2em 1.6em 0;
  font-size: clamp(.86rem, 2.4vw, .95rem);
  letter-spacing: .06em;
  line-height: 2.3;
  color: var(--ink-soft);
  word-break: auto-phrase;
  text-wrap: pretty;
}

.faq__mark {
  flex: none;
  width: 1.6em;
  font-family: var(--serif);
  color: var(--orange);
  letter-spacing: 0;
}

.faq__mark--a { color: var(--green); }

/* 生産者ポップの一言（スーパーの生産者掲示のオマージュ） */
.producer__lead {
  display: inline-block;
  margin-bottom: .4em;
  font-size: .9em;
  letter-spacing: .18em;
  color: #8f4c0a;   /* 紙地でもAAを満たす暗橙 */
}


/* ---------- 本物のGoogleマップ（お問い合わせ） ---------- */

.gmap {
  position: relative;
  margin: clamp(2.4rem, 6vh, 3.6rem) 0 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(62, 92, 30, .14);
}

.gmap__frame {
  display: block;
  width: 100%;
  height: clamp(300px, 52vw, 430px);
  border: 0;
  /* クリーム基調の紙面に馴染むよう、彩度を少しだけ落とす */
  filter: saturate(.82) sepia(.08);
}

.gmap__card {
  position: absolute;
  top: clamp(.8rem, 2.5vw, 1.4rem);
  left: clamp(.8rem, 2.5vw, 1.4rem);
  max-width: min(62vw, 240px);
  padding: .9em 1.1em;
  background: rgba(255, 255, 255, .95);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
  line-height: 1.7;
}

.gmap__name {
  margin: 0;
  font-family: var(--serif);
  font-size: .95rem;
  letter-spacing: .2em;
  color: var(--ink);
}

.gmap__addr {
  margin: .5em 0 .8em;
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--ink-soft);
}

.gmap__link {
  display: inline-block;
  font-size: .74rem;
  letter-spacing: .14em;
  color: #8f4c0a;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
}

.gmap__link:hover { color: var(--green); }

/* Artifact版でフォールバック地図を出すときは hidden が外れる */
.map--fallback[hidden] { display: none; }


/* ---------- スクロール誘導のPC/スマホ出し分け ---------- */

/* 既定（PC・マウス環境）: 「下へスクロール」＋下向き矢印 */
.scroll-cue__label--sp { display: none; }
.scroll-cue__swipe { display: none; }

/* タッチ端末: 「上へスワイプ」＋指の動きを模したインジケーター */
@media (hover: none) and (pointer: coarse) {
  .scroll-cue__label--pc { display: none; }
  .scroll-cue__label--sp { display: inline; }
  .scroll-cue__arrow { display: none; }

  /* 指のインジケーターがある分、誘導ブロックはPCの矢印より背が高い（約80px）。
     そのままだとヒーローの「京都・宇治田原…」に重なるので、
     誘導は下へ寄せ、ヒーローの足元は広げて、両側から場所をつくる */
  .scroll-cue { bottom: clamp(1.4rem, 3.5vh, 2.4rem); }
  .hero { padding-bottom: 17vh; }

  .scroll-cue__swipe {
    display: block;
    width: 24px;
    height: 40px;
    margin: .7em auto 0;
    border: 1.5px solid rgba(246, 239, 227, .6);
    border-radius: 13px;
    position: relative;
  }

  .scroll-cue__dot {
    position: absolute;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    border-radius: 50%;
    background: currentColor;
    animation: swipe-up 2.2s ease-in-out infinite;
  }
}

/* 背の低い端末（iPhone SE級）では、みかん・ヒーロー文・誘導を縦に並べる
   予算がそもそも足りない。指のインジケーターは省いて文言だけ残し、
   そのぶんヒーローの足元は広げずに済ませる（文言だけで用は足りる） */
@media (hover: none) and (pointer: coarse) and (max-height: 700px) {
  .scroll-cue__swipe { display: none; }
  .scroll-cue { bottom: 1rem; }
  .hero { padding-bottom: 14vh; }
  /* ヒーローの中を詰める。flex-end なので下端は動かず、みかん側の余裕だけ増える */
  .hero__sub { margin-top: 1rem; }
}

@keyframes swipe-up {
  0%   { top: 26px; opacity: 0; }
  20%  { opacity: 1; }
  55%  { top: 7px;  opacity: 1; }
  80%  { top: 7px;  opacity: 0; }
  100% { top: 26px; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue__dot { animation: none; top: 12px; }
}
