/* ==========================================================================
   キミと...いちごFARM 全ページ共通スタイル
   PC: 1440px 基準 / ブレークポイント: 767px / スマホ左右余白: 20px
   配色トークンは css/theme.css（DESIGN_SPEC.md 3章の確定カラー）で定義する。
   ========================================================================== */

:root {
  --font-heading: "M PLUS Rounded 1c", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;

  --section-pad: clamp(72px, 7vw, 96px);
  --container-w: 1200px;
  --side-pad-pc: 40px;
  --side-pad-sp: 20px;

  --radius-lg: 16px;
  --radius-md: 12px;
  --btn-height: 56px;

  /* 本文の薄字（補足テキスト）は確定カラー --color-text から派生させ、独自の色を増やさない */
  --color-text-sub: color-mix(in srgb, var(--color-text) 68%, transparent);
  /* 写真フレーム背面にのぞかせる色面（淡いピンク／淡いグリーン） */
  --frame-accent-1: var(--color-pink);
  --frame-accent-2: var(--color-green-soft);
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  font-size: 16px;
  line-height: 1.8;
  word-break: normal;
  overflow-wrap: break-word;
  overflow-x: hidden;
}
/* ページ遷移フェード：表示時はCSSのみでフェードイン（JS無効でも最終的に必ず表示される）。
   離脱時は main.js が html に .is-leaving を付けてフェードアウト。下地は body と同色にして白い点滅を防ぐ */
html { background: var(--color-white); }
body { animation: page-fade-in .3s ease-out backwards; }
html.is-leaving body { opacity: 0; transition: opacity .2s ease; }
@keyframes page-fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { animation: none; }
  html.is-leaving body { opacity: 1; transition: none; }
  * , *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
h1, h2, h3, p, dl { margin: 0; }
h1, h2, h3 { font-family: var(--font-heading); }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding-left: var(--side-pad-pc);
  padding-right: var(--side-pad-pc);
}

.pc-only { display: inline; }
.sp-only { display: none; }

/* スクリーンリーダー専用テキスト（★評価の読み上げ等） */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 未確定・仮情報バッジ（TBD表示用の共通コンポーネント） */
.tbd {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--color-red);
  background: color-mix(in srgb, var(--color-red) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-red) 35%, transparent);
  border-radius: 999px;
  padding: 2px 10px;
  vertical-align: middle;
  white-space: nowrap;
}
.tbd-note {
  font-size: 13px;
  color: var(--color-text-sub);
  background: var(--color-ivory);
  border: 1px dashed color-mix(in srgb, var(--color-text) 30%, transparent);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  line-height: 1.8;
}

/* -------------------------------------------------- buttons -------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-height);
  padding: 0 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  border: none;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s ease, background-color .2s ease, opacity .2s ease;
  white-space: normal;
  text-align: center;
}
.btn--primary {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 10px 24px -6px color-mix(in srgb, var(--color-red) 65%, transparent);
}
.btn--primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 32px -8px color-mix(in srgb, var(--color-red) 70%, transparent);
}
.btn--outline { background: transparent; color: var(--color-red); border: 2px solid var(--color-red); }
.btn--outline:hover { background: var(--color-red); color: var(--color-white); transform: translateY(-3px) scale(1.03); }
.btn--white {
  background: var(--color-white);
  color: var(--color-red);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .18);
}
.btn--white:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 32px -8px rgba(0, 0, 0, .22); }
.btn--lg { padding: 0 44px; font-size: 17px; }
.btn--nav { padding: 0 24px; min-height: 48px; font-size: 14px; }
.btn--nav:hover { transform: translateY(-2px) scale(1.02); }

/* 丸型アウトラインボタン（サブCTA用） */
.btn-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -8px rgba(43, 33, 25, .25);
  transition: background-color .25s ease, color .25s ease, transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s ease;
}
.btn-circle:hover {
  background: var(--color-white);
  color: var(--color-red);
  transform: scale(1.06);
}

/* -------------------------------------------------- section heads -------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  margin-bottom: 14px;
}
.eyebrow__line { display: inline-block; width: 28px; height: 1px; background: currentColor; flex-shrink: 0; }
.section-head--center .eyebrow { justify-content: center; }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--color-text);
}
.section-head--center { text-align: center; margin-bottom: 56px; position: relative; }
.section-cta { text-align: center; margin-top: 48px; }

/* 写真フレーム：柔らかいドロップシャドウ＋背面に少しだけ色面をのぞかせる奥行き演出。
   .frame（外枠・色面・全体の角丸を担当）> .frame__media（クリップ＋ズーム用の内側ラッパー）> img */
.frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
}
.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(10px, 10px);
  border-radius: inherit;
  background: var(--frame-accent-2);
  opacity: .9;
  z-index: -1;
}
.frame--accent-primary::before { background: var(--frame-accent-1); }
.frame--accent-secondary::before { background: var(--frame-accent-2); }
.frame__media {
  display: block;
  overflow: hidden;
  border-radius: inherit;
  box-shadow: 0 24px 48px -16px rgba(43, 33, 25, .28);
}
.frame__media img {
  position: relative;
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.25, .8, .25, 1);
}
.frame:hover .frame__media img { transform: scale(1.07); }

/* 品種紹介・Instagramのサムネイル共通：ホバーでゆっくりズーム */
.thumb {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px -8px rgba(43, 33, 25, .18);
}
.thumb img {
  width: 100%;
  display: block;
  transition: transform .5s cubic-bezier(.25, .8, .25, 1);
}
.thumb:hover img { transform: scale(1.08); }

/* 吹き出し風キャプション */
.bubble {
  display: inline-block;
  background: var(--color-white);
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  box-shadow: 0 10px 24px rgba(43, 33, 25, .1);
}

/* ==========================================================================
   HEADER（全ページ共通）
   TOP：ファーストビューでは独立した白いヘッダーを作らず、写真上にロゴ＋ナビを重ねる。
   下層ページ：常時フロート状態と同じ見た目（白帯半透明＋小ロゴ）で固定表示する。
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: box-shadow .3s ease;
}
/* 白帯とすりガラスは疑似要素に持たせる
   （ヘッダー本体に backdrop-filter を付けると、固定配置のSPメニューがヘッダーの高さに縮むため） */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  transition: background-color .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled,
body[data-page="sub"] .site-header {
  box-shadow: 0 4px 16px rgba(43, 33, 25, .1);
}
.site-header.is-scrolled::before,
body[data-page="sub"] .site-header::before {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.site-header.is-scrolled .site-logo,
body[data-page="sub"] .site-logo {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.site-logo img { width: 40px; height: 40px; transition: transform .3s ease; }
.site-logo:hover img { transform: scale(1.05); }

/* 下層ページヘッダー／TOPスクロール後のフローティングヘッダーのみロゴを拡大（PC/タブレット限定）。
   TOPファーストビューの初期ヘッダー、およびスマートフォン版（767px以下、別途36pxで定義）は対象外。
   ヘッダー高さが最大96pxに収まるよう、この2状態に限りpaddingも調整する。 */
@media (min-width: 768px) {
  body[data-page="sub"] .site-header__inner,
  .site-header.is-scrolled .site-header__inner {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  body[data-page="sub"] .site-logo img,
  .site-header.is-scrolled .site-logo img {
    width: auto;
    height: 72px;
    max-height: 76px;
    object-fit: contain;
    flex-shrink: 0;
  }
}

.gnav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: flex-end; }
.gnav__list { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 600; }
body:not([data-page="sub"]) .gnav__list a {
  color: var(--color-white);
}
body:not([data-page="sub"]) .hamburger span {
  background: var(--color-white);
}
body:not([data-page="sub"]) .site-header.is-scrolled .gnav__list a {
  color: var(--color-text);
}
body:not([data-page="sub"]) .site-header.is-scrolled .hamburger span {
  background: var(--color-text);
}
body[data-page="sub"] .hamburger span {
  background: var(--color-text);
}
.gnav__list a { position: relative; padding: 8px 2px; white-space: nowrap; transition: color .2s ease; }
.gnav__list a[aria-current="page"] { color: var(--color-red); }
.gnav__list a::after {
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: 2px;
  height: 2px;
  background: var(--color-red);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.gnav__list a:hover { color: var(--color-red); }
.gnav__list a:hover::after,
.gnav__list a[aria-current="page"]::after { transform: scaleX(1); }
.hamburger { display: none; }

@media (min-width: 768px) and (max-width: 1100px) {
  .site-header .container { padding-left: 24px; padding-right: 24px; }
  .gnav { gap: 14px; }
  .gnav__list { gap: 12px; font-size: 13px; }
  .btn--nav { padding: 0 16px; font-size: 13px; min-height: 44px; white-space: nowrap; }
}
/* 768〜900px：ヘッダー右端の「ご予約はこちら」が切れないよう、間隔とメニュー文字のみ詰める */
@media (min-width: 768px) and (max-width: 900px) {
  .site-header__inner { gap: 16px; }
  .gnav { gap: 8px; }
  .gnav__list { gap: 6px; font-size: 12px; }
  .btn--nav { padding: 0 12px; }
}

/* ==========================================================================
   HERO（TOPページのみ）
   参考：写真上へロゴ＋ナビを重ねるフルブリード構成。左上に大ロゴを重ね、
   スクロール後はヘッダー側の小ロゴに切り替わる。
   ========================================================================== */
.hero {
  position: relative;
  overflow: visible;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(30, 20, 14, .62) 0%, rgba(30, 20, 14, .36) 42%, rgba(30, 20, 14, 0) 72%);
}
.hero__visual { position: absolute; inset: 0; z-index: 0; }
.hero__visual.frame { position: absolute; inset: 0; border-radius: 0; }
.hero__visual.frame::before { display: none; }
.hero__visual .frame__media { height: 100%; border-radius: 0; box-shadow: none; }
.hero__visual .frame__media img { height: 100%; object-fit: cover; }

.hero__logo-layer { position: absolute; top: 0; left: 0; right: 0; z-index: 150; pointer-events: none; }
.hero__logo {
  position: relative;
  top: 12px;
  width: 220px;
  height: 220px;
  pointer-events: auto;
  filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0, 0, 0, .3));
}

/* PC版ファーストビュー：左上ロゴの位置のみ調整（画面端基準）。スマートフォン版（767px以下）は対象外。
   .hero__logo-layer は .container の max-width/padding により広いPC幅では中央寄りに
   見えてしまうため、この要素に限り無効化し、ロゴを画面端からの実寸で配置する。
   logo_white.svg は viewBox 1200のうち実際の絵柄が x=228 から始まる（左に約19%の
   透明余白）ため、220px表示時は見た目の左端がCSSのleftよりも約42px内側に入る。
   目標（見た目の左端を画面端から約50〜70pxに合わせる）に合わせ、vw比例ではなく
   固定値 24px を採用（vw比例だと広いPC幅で右へ寄りすぎるため）。
   サイズ・上位置・ナビゲーション位置・その他セクションは変更しない。 */
@media (min-width: 768px) {
  .hero__logo-layer {
    max-width: none;
    margin: 0;
    padding: 0;
  }
  .hero__logo {
    position: absolute;
    top: 28px;
    left: 24px;
  }
}

.hero__grid {
  position: relative;
  z-index: 2;
  max-width: none;
  padding: 40px var(--side-pad-pc) 120px;
}
.hero__content { position: relative; z-index: 2; max-width: 560px; padding-top: 210px; min-width: 0; }
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .02em;
  color: var(--color-white);
  margin-bottom: 26px;
}
.hero__lead { font-size: 16px; line-height: 1.95; margin-bottom: 36px; max-width: 480px; color: rgba(255, 255, 255, .9); }
.hero__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero__caption { margin-top: 16px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .82); }

.hero__infocard {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: 0 14px 30px rgba(43, 33, 25, .18);
  font-size: 14px;
  font-weight: 700;
}
.hero__infocard li { display: flex; align-items: center; gap: 10px; padding: 6px 0; white-space: nowrap; }
.hero__infocard-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.hero__infocard-dot--red { background: var(--color-red); }
.hero__infocard-dot--green { background: var(--color-green); }

.hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: 110px;
  z-index: 1;
  fill: var(--color-white);
}

/* ==========================================================================
   TODAY'S INFO — 本日の農園情報（DESIGN_SPEC 5.2）
   ========================================================================== */
.today-info { background: var(--color-white); }
.today-info__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.today-info__date {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 600;
  color: var(--color-green);
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.today-info__text { font-size: 15px; line-height: 1.9; color: var(--color-text-sub); margin-bottom: 28px; }
.today-info__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.today-info__card {
  background: var(--color-ivory);
  border-left: 3px solid var(--color-red);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  min-width: 0;
}
.today-info__card-label { font-size: 13px; font-weight: 700; color: var(--color-text-sub); margin-bottom: 10px; }
.today-info__card-main { font-size: 16px; font-weight: 700; color: var(--color-text); margin-bottom: 4px; word-break: keep-all; overflow-wrap: anywhere; }
.today-info__card-sub { font-size: 13px; color: var(--color-text-sub); }
.today-info__card-sub a { color: var(--color-red); font-weight: 600; text-decoration: underline; }

/* ==========================================================================
   共通 2カラム（画像＋文章）ヘルパー
   ========================================================================== */
section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
section[id] { scroll-margin-top: 100px; }

/* ---- ABOUT / INTRO 要約（TOP） ---- */
.intro { background: var(--color-ivory); overflow-x: hidden; }
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intro__media { position: relative; min-width: 0; }
.intro__media-inset {
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: 46%;
  aspect-ratio: 500 / 380;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 6px solid var(--color-white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
  z-index: 2;
}
.intro__body { min-width: 0; }
.intro__text { font-size: 16px; margin: 24px 0 32px; color: var(--color-text-sub); }

/* ---- FEATURES 要約（TOP）／詳細（/about/） ---- */
.features { background: var(--color-white); }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 72px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }
.feature-row__media { min-width: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: 0 20px 40px -16px rgba(43, 33, 25, .22); }
.feature-row__media img { width: 100%; display: block; transition: transform .6s cubic-bezier(.25, .8, .25, 1); }
.feature-row__media:hover img { transform: scale(1.07); }
.feature-row__body { min-width: 0; }
.feature-row__num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(52px, 5.6vw, 80px);
  font-weight: 800;
  color: color-mix(in srgb, var(--color-text) 10%, transparent);
  line-height: 1;
  margin-bottom: -4px;
}
.feature-row__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--color-green);
  margin-bottom: 10px;
}
.feature-row__title {
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.6;
  padding-bottom: 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent);
  position: relative;
}
.feature-row__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 36px; height: 2px;
  background: var(--color-red);
}
.feature-row__text { font-size: 15px; color: var(--color-text-sub); line-height: 1.9; }

/* ---- PICKING 要約（TOP）／詳細（/picking/） ---- */
.picking { background: var(--color-white); }
.picking__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.picking__media { min-width: 0; }
.picking__media img { border-radius: var(--radius-lg); width: 100%; }
.picking__body { min-width: 0; }
.picking__table { margin: 24px 0 32px; font-size: 15px; }
.picking__table th, .picking__table td { text-align: left; padding: 12px 0; border-bottom: 1px solid #eee; }
.picking__table th { width: 30%; color: var(--color-text-sub); font-weight: 600; }
.picking__table-sub { display: block; font-size: 13px; color: var(--color-text-sub); }

/* 摘み取り料金：区分ごとに改行して表示 */
.price-list { display: grid; gap: 4px; max-width: 340px; }
.price-list li { display: flex; justify-content: space-between; gap: 16px; }
.price-list__value { font-weight: 700; white-space: nowrap; }

/* ---- SHOP 要約（TOP）／詳細（/shop/） ---- */
.shop-summary { background: var(--color-ivory); }
.shop-summary__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.shop-summary__media { min-width: 0; }
.shop-summary__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shop-summary__body { min-width: 0; }
.shop-summary__text { font-size: 15px; color: var(--color-text-sub); margin: 20px 0 32px; }

/* ---- VARIETY 一覧（TOP要約／/varieties/共通） ---- */
.variety { background: var(--color-white); position: relative; overflow: hidden; }
.variety .container { position: relative; z-index: 1; }
/* 7品種：PCは4列＋3列（2段目中央寄せ）、SPは2列×3段＋中央1列 */
.variety__list { --variety-cols: 4; --variety-gap: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 32px var(--variety-gap); }
.variety__list li { text-align: center; position: relative; width: calc((100% - (var(--variety-cols) - 1) * var(--variety-gap)) / var(--variety-cols)); min-width: 0; }
.variety__list .thumb { margin-bottom: 12px; position: relative; }
.variety__list .thumb img { aspect-ratio: 1 / 1; object-fit: cover; }
.variety__list span { font-size: 14px; font-weight: 700; }
.variety__list .tbd { display: block; margin: 6px auto 0; width: fit-content; }
.variety__list .taste { margin: 10px auto 0; width: fit-content; }

/* 甘味・酸味の★評価（TOP／/varieties/共通） */
.taste { display: grid; gap: 2px; font-size: 13px; line-height: 1.6; }
.taste > div { display: flex; align-items: center; gap: 8px; }
.taste dt { color: var(--color-text-sub); font-weight: 600; }
.taste dd { margin: 0; letter-spacing: .08em; }
.variety__list .taste span { font-size: inherit; font-weight: inherit; }
.taste__on { color: var(--color-red); }
.taste__off { color: color-mix(in srgb, var(--color-text) 20%, transparent); }

/* /varieties/ の品種詳細カード */
.variety-detail { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin-top: 32px; }
.variety-detail__card { background: var(--color-ivory); border-radius: var(--radius-lg); padding: 28px; min-width: 0; width: calc((100% - 28px) / 2); }
.variety-detail__card .taste { margin: 12px 0; }
.legal .variety-detail__use { padding-left: 0; margin: 0 0 4px; }
.variety-detail__use { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.variety-detail__use li { font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: 999px; background: var(--color-green-soft); color: var(--color-green); }
.variety-detail__use li.is-shop { background: var(--color-pink); color: var(--color-red); }
/* 「摘み取り」「直売」の用途注記 */
.variety-use-note { margin-top: 32px; padding: 16px 20px; border-radius: var(--radius-md); background: var(--color-green-soft); color: var(--color-green); font-size: 14px; line-height: 1.85; }
.variety-detail__card .thumb { margin-bottom: 16px; }
.variety-detail__card .thumb img { aspect-ratio: 1 / 1; object-fit: cover; }
.variety-detail__card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.variety-detail__card p { font-size: 14px; color: var(--color-text-sub); line-height: 1.9; }

/* ---- NOTICE — ご来園前のご案内（DESIGN_SPEC 5.8） ---- */
.notice { background: var(--color-pink); }
.notice__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.notice__card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  min-width: 0;
  text-align: center;
  box-shadow: 0 4px 16px rgba(43, 33, 25, .06);
  transition: transform .3s cubic-bezier(.25, .8, .25, 1), box-shadow .3s ease;
}
.notice__card:hover { transform: translateY(-6px); box-shadow: 0 18px 32px -12px rgba(43, 33, 25, .18); }
.notice__card img { width: 44px; height: 44px; margin: 0 auto 16px; }
.notice__card h3 { font-size: 15px; font-weight: 700; line-height: 1.6; }
/* 日本語の末尾1〜2文字だけが次行に残る改行を避ける */
.notice__card h3, .check-list li, .variety-detail__card p, .faq-item__body { text-wrap: pretty; }
/* 「靴でお越しください」を分割させず、「服装・」の後で改行させる（該当見出しのみ） */
.notice__nobr { white-space: nowrap; }
.notice__card-sub { font-size: 13px; color: var(--color-text-sub); line-height: 1.6; margin-top: 6px; }

/* ---- MAP / ACCESS（DESIGN_SPEC 5.9） ---- */
.map-section {
  background-color: var(--color-white);
  background-image: linear-gradient(color-mix(in srgb, var(--color-grid-green) 38%, transparent) 1.2px, transparent 1.2px),
    linear-gradient(90deg, color-mix(in srgb, var(--color-grid-green) 38%, transparent) 1.2px, transparent 1.2px);
  background-size: 90px 90px;
}
.map-section__grid { display: grid; grid-template-columns: 58% 1fr; gap: 48px; align-items: center; }
.map-section__map { min-width: 0; }
.map-section__map img { border-radius: var(--radius-lg); width: 100%; }
/* Googleマップiframe埋め込み：画像と同じ縦横比を保ち、枠内いっぱいに表示（角丸は.frame__mediaのoverflow:hiddenで維持） */
.map-section__map .frame__media { aspect-ratio: 700 / 520; }
.map-section__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-section__body { min-width: 0; }
/* PC：TOPの直売・アクセス見出しを単語途中や「への」単独行で折り返さない（文言は変更しない） */
@media (min-width: 1101px) {
  .shop-summary__body .section-title,
  .map-section__body .section-title { word-break: keep-all; overflow-wrap: anywhere; }
  .shop-summary__body .section-title { font-size: clamp(28px, 2.9vw, 38px); }
  .map-section__body .section-title { font-size: clamp(28px, 2.5vw, 34px); }
}
.map-section__list { margin: 24px 0 32px; font-size: 15px; }
.map-section__list > div { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(43, 33, 25, .08); }
.map-section__list dt { width: 88px; flex-shrink: 0; color: var(--color-text-sub); font-weight: 600; }
/* 住所：地名・番地の途中で改行させない（「岐阜県各務原市」「那加山下町」「2丁目69番1」の区切りでのみ改行） */
.map-section__addr-part { display: inline-block; }
.map-section__list dd { margin: 0; }
.map-section__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- INSTAGRAM（DESIGN_SPEC 5.10） ---- */
.instagram-feed { background: var(--color-pink); text-align: center; }
.instagram-feed__account { font-size: 14px; font-weight: 700; color: var(--color-green); margin: -32px 0 32px; }
.instagram-feed__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.instagram-feed__grid img { aspect-ratio: 1/1; object-fit: cover; }

/* ---- CTA BANNER（DESIGN_SPEC 5.11） ---- */
.cta-banner { position: relative; overflow: hidden; background: var(--color-red); color: var(--color-white); text-align: center; }
.cta-banner__circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28);
  z-index: 0;
}
.cta-banner__circle--a { width: 320px; height: 320px; left: -80px; top: -100px; }
.cta-banner__circle--b { width: 220px; height: 220px; right: -60px; bottom: -80px; }
.cta-banner__inner { position: relative; z-index: 1; }
.cta-banner__eyebrow { justify-content: center; color: rgba(255, 255, 255, .85); }
.cta-banner__title { font-family: var(--font-heading); font-size: clamp(26px, 3vw, 34px); font-weight: 600; line-height: 1.6; margin-bottom: 20px; }
.cta-banner__text { font-size: 15px; margin-bottom: 36px; opacity: .92; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner__link { display: block; width: fit-content; margin: 20px auto 0; font-size: 14px; font-weight: 700; color: var(--color-white); text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   FOOTER（DESIGN_SPEC 13章）
   ========================================================================== */
.site-footer { background: var(--color-green-soft); color: var(--color-green); padding: 64px 0 32px; }
.site-footer__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 64px; }
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; flex-shrink: 0; }
.site-footer__brand img { width: 160px; max-width: 170px; height: auto; object-fit: contain; }
.site-footer__nav { flex: 1 1 320px; min-width: 0; }
.site-footer__menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 32px;
  width: 100%;
  font-size: 14px;
}
.site-footer__menu li { text-align: center; }
.site-footer__menu a:hover { text-decoration: underline; }
.site-footer__divider { width: 100%; height: 1px; background: var(--color-footer-divider); margin: 40px 0 24px; border: none; }
.site-footer__copyright { width: 100%; text-align: center; font-size: 12px; color: var(--color-footer-copyright); }

/* タブレット（768〜1100px）：見出しを単語途中で折り返さない／フッターメニューを1行で表示（文言は変更しない） */
@media (min-width: 768px) and (max-width: 1100px) {
  .section-title, .feature-row__title, .notice__card h3 { word-break: keep-all; overflow-wrap: anywhere; }
  .intro__body .section-title br.sp-only, .shop-summary__body .section-title br.sp-only { display: inline; }
  .shop-summary__body .section-title { font-size: clamp(23px, 2.9vw, 32px); }
  /* 料金表：品種名を「・」の位置で改行（補足文は従来どおり） */
  .picking__table td { word-break: keep-all; overflow-wrap: anywhere; }
  .picking__table-sub { word-break: normal; }

  .site-footer__inner { gap: 40px; }
  .site-footer__menu { grid-template-columns: repeat(4, auto); justify-content: space-between; column-gap: 24px; }
  .site-footer__menu a { white-space: nowrap; }
}
/* 768〜900px：2カラム内の見出しと注意事項カード（3列のまま）が単語途中で改行しないよう調整 */
@media (min-width: 768px) and (max-width: 900px) {
  .feature-row__title { font-size: 21px; }
  .notice__card { padding-left: 12px; padding-right: 12px; }
  .notice__card h3 { font-size: 14px; }
}

/* ==========================================================================
   SUBPAGE 共通（農園について／摘み取り／直売／品種紹介／FAQ／アクセス／プライバシー）
   ========================================================================== */
.subpage-head { padding-top: calc(var(--section-pad) + 56px); padding-bottom: 24px; background: var(--color-ivory); }
.subpage-head .section-title { margin-top: 12px; margin-bottom: 16px; }
.subpage-head__lead { font-size: 15px; line-height: 1.95; color: var(--color-text-sub); max-width: 640px; }

.page-photo { padding: 0; }
.page-photo img { width: 100%; max-height: 420px; object-fit: cover; display: block; }

/* 長文の規約ページ共通 */
.legal h2 { font-size: 18px; font-weight: 700; color: var(--color-text); margin: 40px 0 16px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 15px; line-height: 1.95; color: var(--color-text); }
.legal ul, .legal ol { padding-left: 1.4em; margin: 0 0 16px; }
.legal li { margin-bottom: 6px; }
.legal ul:not([class]) { list-style: disc; }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 32px; font-size: 14px; }
.legal table th, .legal table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid #eee; vertical-align: top; }
.legal table th { width: 220px; color: var(--color-text-sub); font-weight: 600; }

/* ご予約ページ／各ページの予約CTA：Airリザーブ埋め込みエリア（契約前のプレースホルダー） */
.reserve-embed {
  border: 1px dashed color-mix(in srgb, var(--color-text-sub) 60%, transparent);
  border-radius: var(--radius-lg);
  background: var(--color-ivory);
}
.reserve-embed__placeholder { padding: 56px 24px; text-align: center; }
.reserve-embed__placeholder img { margin-bottom: 16px; }
.reserve-embed__placeholder-title { font-weight: 700; margin-bottom: 8px; }
.reserve-embed__placeholder-text { font-size: 14px; color: var(--color-text-sub); margin-bottom: 24px; }

/* いちご摘み取り／直売ページ：利用方法・注意事項の番号付きリスト */
.step-list { counter-reset: step; margin-top: 24px; display: grid; gap: 16px; }
.step-list li {
  counter-increment: step;
  position: relative;
  padding: 20px 24px 20px 64px;
  background: var(--color-ivory);
  border-radius: var(--radius-md);
  font-size: 15px;
  line-height: 1.85;
}
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 20px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* いちご摘み取りページ：予約の前に（来園前にお読みください） */
.before-reserve__lead { font-size: 15px; margin-bottom: 28px; }
.before-reserve__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.before-reserve__group { background: var(--color-ivory); border-radius: var(--radius-md); padding: 24px 28px; min-width: 0; }
.before-reserve__group:last-child:nth-child(odd) { grid-column: 1 / -1; }
.before-reserve__group h3 { font-size: 16px; font-weight: 700; color: var(--color-green); margin-bottom: 10px; }
.legal .check-list { padding-left: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.2em; margin-bottom: 6px; }
.check-list li:last-child { margin-bottom: 0; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--color-red); }

/* FAQページ：アコーディオン（<details>ベースでJS無効時も内容にアクセス可能） */
.faq-category { margin-bottom: 48px; }
.faq-category:last-child { margin-bottom: 0; }
.faq-category__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-green);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-green-soft);
}
.faq-item {
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  font-size: 15px;
  font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 400;
  color: var(--color-red);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 4px 20px; font-size: 14px; line-height: 1.9; color: var(--color-text-sub); }

/* 写真ギャラリー（/about/） */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery img { border-radius: var(--radius-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ==========================================================================
   RESPONSIVE — breakpoint 767px
   ========================================================================== */
@media (max-width: 767px) {
  :root { --side-pad-pc: var(--side-pad-sp); }

  .pc-only { display: none; }
  .sp-only { display: inline; }

  .container { padding-left: var(--side-pad-sp); padding-right: var(--side-pad-sp); }

  section { padding-top: 56px; padding-bottom: 56px; }

  /* header */
  .site-header__inner { padding-top: 14px; padding-bottom: 14px; }
  .site-logo img { width: 36px; height: 36px; }

  .gnav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--color-white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 96px 20px 32px;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .gnav.is-open { transform: translateX(0); }
  .gnav__list { flex-direction: column; align-items: stretch; gap: 4px; font-size: 16px; }
  .gnav__list a { display: block; padding: 16px 4px; border-bottom: 1px solid #eee; color: var(--color-text) !important; }
  .gnav__list a::after { display: none; }
  .gnav .btn--nav { margin-top: 24px; width: 100%; min-height: var(--btn-height); font-size: 16px; }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px; height: 44px;
    border: none;
    background: transparent;
    flex-shrink: 0;
    position: relative;
    z-index: 200;
  }
  .gnav.is-open ~ .hamburger span,
  .hamburger[aria-expanded="true"] span { background: var(--color-text) !important; }
  .hamburger span { width: 24px; height: 2px; transition: transform .25s ease, opacity .25s ease; }
  .hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* hero — スマホは高さ780〜820px目安、画像→文章の順は写真背景1枚構成のため対象外 */
  .hero { min-height: 800px; }
  /* 横長画像を単純縮小せず、縦長の表示枠内でcover。親子が見えるよう68%基準に調整（PC側のcenter centerは変更しない） */
  .hero__visual .frame__media img { object-position: 68% center; }
  .hero__grid { max-width: none; padding: 24px var(--side-pad-sp) 100px; }
  .hero__logo { width: 140px; height: 140px; top: 8px; }
  .hero__content { padding-top: 150px; }
  .hero__title { font-size: 30px; margin-bottom: 20px; }
  .hero__lead { font-size: 15px; max-width: none; margin-bottom: 28px; }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero__actions .btn { width: 100%; }
  .hero__infocard { right: 12px; bottom: 16px; padding: 14px 16px; font-size: 12px; }
  .hero__infocard li { padding: 4px 0; }
  .hero__wave { height: 56px; }

  .frame::before { transform: translate(8px, 8px); }

  /* today's info */
  .today-info__grid { grid-template-columns: 1fr; gap: 32px; }
  .today-info__cards { gap: 12px; }

  /* generic 2col -> 1col（画像 → 文章の順） */
  .intro__grid,
  .feature-row,
  .picking__grid,
  .shop-summary__inner,
  .map-section__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feature-row { margin-bottom: 48px; }
  .feature-row--reverse { direction: ltr; }

  .intro__media-inset { width: 52%; right: -4%; bottom: -8%; border-width: 4px; }

  .legal table th, .legal table td { display: block; width: 100%; padding: 4px 0; border-bottom: none; }
  .legal table tr { display: block; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #eee; }

  .section-title { font-size: 24px; }
  .section-head--center { margin-bottom: 36px; }

  .variety__list { --variety-cols: 2; --variety-gap: 14px; row-gap: 24px; }
  .variety__list span { font-size: 13px; }
  .variety-detail { gap: 20px; }
  .variety-detail__card { width: 100%; padding: 22px; }

  .before-reserve__groups { grid-template-columns: 1fr; gap: 14px; }
  .before-reserve__group { padding: 20px; }

  .notice__list { grid-template-columns: 1fr; gap: 14px; }
  .notice__card { display: flex; align-items: center; gap: 16px; text-align: left; padding: 18px 20px; }
  .notice__card img { margin: 0; flex-shrink: 0; }
  .notice__card-sub { margin-top: 2px; }

  .instagram-feed__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .instagram-feed__account { margin-top: -24px; }

  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .btn { width: 100%; }
  .section-cta .btn, .shop-summary__body .btn, .picking__body .btn, .map-section__body .btn { width: 100%; }
  .cta-banner__inner .btn { width: 100%; }
  .map-section__actions { flex-direction: column; }
  .map-section__actions .btn { width: 100%; }

  .subpage-head { padding-top: 96px; }
  .page-photo img { max-height: 220px; }

  .site-footer__inner { flex-direction: column; gap: 40px; }
  .site-footer__brand { align-items: center; }
  .site-footer__nav { width: 100%; flex: none; }
  .site-footer__menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 20px;
  }
  .site-footer__menu li { text-align: left; }
}
