/* =========================================================
   いちご屋 優美園 — トップページ デザイン案（仮）
   色：夜の藍 × 生成り × 金。紅は「旬」の印にだけ使う
   書体：見出し＝しっぽり明朝B1／本文＝Zen角ゴシックNew／
         英字＝Cormorant Garamond／つくり手の言葉＝Klee One（手書き）
   ========================================================= */

:root {
  --ai-night: #0d1624;
  --ai-deep: #152238;
  --kinari: #f2ede3;
  --paper: #e9e1d3;
  --letter: #fbf8f1;
  --kin: #b8975a;
  --kin-light: #d6bd8a;
  --kin-deep: #86693a;
  --beni: #c22a33;
  --sumi: #25262b;
  --sumi-soft: #57575d;

  --f-display: "Shippori Mincho B1", "Yu Mincho", "YuMincho", serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  /* 英字の書体に無い日本語（©の行の「いちご屋 優美園」など）は、しっぽり明朝で出す */
  --f-roman: "Cormorant Garamond", "Shippori Mincho B1", "Times New Roman", serif;
  --f-hand: "Klee One", "Yu Mincho", serif;

  --gutter: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(0.45, 0, 0.25, 1);
  /* 浮かび上がり・ホバー用。すっと出て、やわらかく止まる */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--kinari);
  color: var(--sumi);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.06em;
  /* 小さい「ッ」「ェ」や句読点が行頭に来ないよう、禁則を厳しめに */
  line-break: strict;
}

body.is-menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--kin-light);
  outline-offset: 4px;
}

/* 生成り・紙の地の上では薄い金だと見えないので、濃い金の輪にする */
.section--kinari :focus-visible,
.section--paper :focus-visible { outline-color: var(--kin-deep); }

/* スマホでタップしたときの灰色の四角を出さない（押した感触は :active で出す） */
a,
button { -webkit-tap-highlight-color: transparent; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 共通パーツ ---------- */

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--f-roman);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--kin-light);
}

.heading {
  margin: 0 0 32px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  line-height: 1.6;
  letter-spacing: 0.18em;
}

.body-text {
  margin: 0 0 36px;
  line-height: 2.2;
  letter-spacing: 0.08em;
}

.arrow {
  display: inline-block;
  position: relative;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}

.arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 7px;
  height: 1px;
  background: currentColor;
  transform: rotate(35deg);
  transform-origin: right center;
}

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 16px 32px;
  border: 1px solid rgba(214, 189, 138, 0.7);
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--kinari);
  text-decoration: none;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

/* 下線は金のヘアライン。マウスを乗せると、文字の色の線が左から満ちる */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 0;
  background:
    linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat,
    linear-gradient(rgba(134, 105, 58, 0.55), rgba(134, 105, 58, 0.55)) 0 100% / 100% 1px no-repeat;
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition: background-size 0.5s var(--ease-out);
}

.section--ai .text-link {
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(rgba(214, 189, 138, 0.6), rgba(214, 189, 138, 0.6));
}

/* ホバーはマウスのときだけ（スマホでタップ後に色が残らないように） */
@media (hover: hover) {
  /* 金箔のような、ゆるい艶のある金（色は金の3色だけで作る） */
  .btn-line:hover {
    background: linear-gradient(100deg, var(--kin) 0%, var(--kin-light) 45%, var(--kin-light) 55%, var(--kin) 100%);
    color: var(--ai-night);
  }

  .btn-line:hover .arrow,
  .text-link:hover .arrow { transform: translateX(5px); }

  .text-link:hover { background-size: 100% 1px, 100% 1px; }
}

/* 押したときの手ごたえ（スマホ） */
.btn-line:active { background: rgba(214, 189, 138, 0.16); }
.text-link:active .arrow { transform: translateX(5px); }

.pc { display: inline; }

/* 見出しは言葉の途中で改行せず、句読点のところで折り返す */
.hero__title,
.hero__lead,
.heading,
.variety-card__name,
.way__title {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* 文節で折り返す（Chrome・Edge。ほかのブラウザは上の keep-all のまま）。
   見出しの「。」の約束は keep-all と幅820pxで守っているので、.hero__title には付けない */
.heading,
.variety-card__name,
.way__title { word-break: auto-phrase; }

.heading { text-wrap: balance; }

/* 最後の行に1〜2文字だけ残らないように */
.body-text,
.way__text,
.variety-card__text,
.season__note,
.hero__lead { text-wrap: pretty; }

.news-items span {
  word-break: auto-phrase;
  text-wrap: pretty;
}

/* 「行っており｜ません。」と切れないように（本文の段落は文節で切ると「ひと｜粒」と割れるので付けない） */
.season__note { word-break: auto-phrase; }

/* 字間をあけて中央にそろえた文字は、最後の字のあとにも字間が付いて左に寄って見えるので、その分を左に足す */
.section-head .heading { padding-left: 0.18em; }
.section-head .eyebrow { padding-left: 0.3em; }

/* ---------- 額縁：漆のような黒い縁に金のヘアライン、四隅に金具 ---------- */
/* 写真やカードの中に <i class="frame"> を置くだけで付く（親は position: relative） */

.frame {
  --frame-w: 6px;
  --frame-k: 34px;
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border: var(--frame-w) solid #11151d;
  /* 漆のうっすらした艶（角は四角のまま）。影は、接地の影＋ふんわりした影の2段 */
  border-image: linear-gradient(135deg, #262d3b 0%, #0e1118 34%, #1a202b 58%, #0a0c11 100%) 1;
  box-shadow:
    inset 0 0 0 1px rgba(214, 189, 138, 0.8),
    0 0 0 1px rgba(214, 189, 138, 0.4),
    0 2px 3px rgba(13, 22, 36, 0.22),
    0 22px 38px -24px rgba(13, 22, 36, 0.65);
}

/* 金具は縁の上に載せる（背景画像だと縁の下に隠れるので、子要素に描く） */
.frame::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--frame-w));
  background-repeat: no-repeat;
  background-size: var(--frame-k) var(--frame-k);
  background-position: left top, right top, right bottom, left bottom;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23f3e2b3'/%3E%3Cstop offset='.55' stop-color='%23c9ab6a'/%3E%3Cstop offset='1' stop-color='%238a6d3b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='rotate(0 16 16)'%3E%3Cpath d='M0 0H27L21 6H6V21L0 27Z' fill='url(%23g)'/%3E%3Cpath d='M1 1H24M1 1V24' stroke='%23fff' stroke-opacity='.45' stroke-width='.8'/%3E%3Ccircle cx='4' cy='4' r='1.1' fill='%235b4523'/%3E%3Ccircle cx='14' cy='3' r='.9' fill='%235b4523'/%3E%3Ccircle cx='3' cy='14' r='.9' fill='%235b4523'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23f3e2b3'/%3E%3Cstop offset='.55' stop-color='%23c9ab6a'/%3E%3Cstop offset='1' stop-color='%238a6d3b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='rotate(90 16 16)'%3E%3Cpath d='M0 0H27L21 6H6V21L0 27Z' fill='url(%23g)'/%3E%3Cpath d='M1 1H24M1 1V24' stroke='%23fff' stroke-opacity='.45' stroke-width='.8'/%3E%3Ccircle cx='4' cy='4' r='1.1' fill='%235b4523'/%3E%3Ccircle cx='14' cy='3' r='.9' fill='%235b4523'/%3E%3Ccircle cx='3' cy='14' r='.9' fill='%235b4523'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23f3e2b3'/%3E%3Cstop offset='.55' stop-color='%23c9ab6a'/%3E%3Cstop offset='1' stop-color='%238a6d3b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='rotate(180 16 16)'%3E%3Cpath d='M0 0H27L21 6H6V21L0 27Z' fill='url(%23g)'/%3E%3Cpath d='M1 1H24M1 1V24' stroke='%23fff' stroke-opacity='.45' stroke-width='.8'/%3E%3Ccircle cx='4' cy='4' r='1.1' fill='%235b4523'/%3E%3Ccircle cx='14' cy='3' r='.9' fill='%235b4523'/%3E%3Ccircle cx='3' cy='14' r='.9' fill='%235b4523'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23f3e2b3'/%3E%3Cstop offset='.55' stop-color='%23c9ab6a'/%3E%3Cstop offset='1' stop-color='%238a6d3b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='rotate(270 16 16)'%3E%3Cpath d='M0 0H27L21 6H6V21L0 27Z' fill='url(%23g)'/%3E%3Cpath d='M1 1H24M1 1V24' stroke='%23fff' stroke-opacity='.45' stroke-width='.8'/%3E%3Ccircle cx='4' cy='4' r='1.1' fill='%235b4523'/%3E%3Ccircle cx='14' cy='3' r='.9' fill='%235b4523'/%3E%3Ccircle cx='3' cy='14' r='.9' fill='%235b4523'/%3E%3C/g%3E%3C/svg%3E");
}

/* セクションの地色 */
.section { position: relative; padding-block: clamp(84px, 11vw, 150px); }

/* 継ぎ目を持つ区画は、下の余白を少し足して弧に文字が重ならないようにする */
.section.has-seam { padding-bottom: calc(clamp(84px, 11vw, 150px) + 7vw); }

/* ---------- 区画の継ぎ目：次の色がゆるやかな弧で立ち上がり、紋で留める ---------- */

.seam {
  --seam-h: 6.95vw; /* 1440px で 100px。絵柄がゆがまないよう幅に比例させる */
  --mark: 46px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 6;
  height: var(--seam-h);
  pointer-events: none;
  color: var(--kinari);
}

.seam--ai { color: var(--ai-deep); }
.seam--paper { color: var(--paper); }
.seam--night { color: var(--ai-night); }

/* 蔓の線の色（試し）：白っぽい地の上に来る部分だけ紺にする。紺の地の上は金のまま
   --vine-in = 弧の内側（次の区画の色の上）／--vine-out = 弧の外側（前の区画の色の上） */
.seam--kinari,
.seam--paper { --vine-in: var(--ai-deep); }

.seam--ai,
.seam--night { --vine-out: var(--ai-deep); }

.seam svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.seam .seam__sp { display: none; }

/* 弧のいちばん高いところ（右寄り）に、紋の小さなメダル。ボタンの金の輪と同じ作り */
.seam__mark {
  position: absolute;
  left: 75%;
  top: calc(var(--seam-h) * 12 / 100);
  display: grid;
  place-items: center;
  width: var(--mark);
  height: var(--mark);
  border-radius: 50%;
  background: currentColor;
  box-shadow:
    0 0 0 1px var(--kin-light),
    0 0 0 4px currentColor,
    0 0 0 5px rgba(184, 151, 90, 0.6),
    0 12px 22px -10px rgba(13, 22, 36, 0.7);
  transform: translate(-50%, -50%);
}

.seam__mark img {
  width: 64%;
  height: 64%;
  object-fit: contain;
}


.section--kinari { background: var(--kinari); }
.section--kinari .eyebrow { color: var(--kin-deep); }
.section--kinari .body-text { color: var(--sumi-soft); }

.section--paper { background: var(--paper); }
.section--paper .eyebrow { color: var(--kin-deep); }

.section--ai { background: var(--ai-deep); color: var(--kinari); }
.section--ai .body-text { color: rgba(242, 237, 227, 0.82); }

/* ---------- ヘッダー ---------- */

/* 正式ロゴ（横型）。写真の上でも沈まないよう、うっすら影を落とす */
.brand__img {
  display: block;
  width: auto;
  height: 66px;
  filter: drop-shadow(0 2px 6px rgba(13, 22, 36, 0.55));
  transition: height 0.4s var(--ease);
}

.site-header.is-scrolled .brand__img {
  height: 52px;
  filter: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  /* 左右の余白はトップの文字（.hero__inner）と同じ。ロゴと見出しの左端がそろう */
  padding: 22px clamp(20px, 7vw, 120px);
  color: var(--kinari);
  transition: background-color 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

/* スクロール後の帯：継ぎ目の蔓が透けないよう、不透明に（0.97でもまだ蔓がうっすら見えた）。
   下に金のヘアラインと薄い影 */
.site-header.is-scrolled {
  padding-block: 12px;
  background: var(--ai-night);
  box-shadow: 0 1px 0 rgba(214, 189, 138, 0.22), 0 12px 24px -20px rgba(6, 10, 18, 0.9);
}

/* 写真の上（スクロール前）でも読めるよう、文字とアイコンの下に紺のにじみ。写真は暗くしない */
.site-header:not(.is-scrolled) .icon-link svg { filter: drop-shadow(0 1px 4px rgba(13, 22, 36, 0.8)); }
.site-header:not(.is-scrolled) .menu-toggle__bar { box-shadow: 0 1px 3px rgba(13, 22, 36, 0.7); }

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--kinari);
  text-decoration: none;
}

.gnav__list {
  display: flex;
  gap: clamp(18px, 2.2vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.gnav__list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.4;
  text-decoration: none;
}

.gnav__ja {
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  transition: color 0.3s var(--ease);
}

.gnav__en {
  margin-top: 3px;
  font-family: var(--f-roman);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kin-light);
}

@media (hover: hover) {
  .gnav__list a:hover .gnav__ja { color: var(--kin-light); }
}

@media (min-width: 1081px) {
  .site-header:not(.is-scrolled) .gnav__en { color: rgba(242, 237, 227, 0.78); }
  .site-header:not(.is-scrolled) .gnav__list a { text-shadow: 0 1px 2px rgba(13, 22, 36, 0.9), 0 0 12px rgba(13, 22, 36, 0.75); }
}

.gnav__insta { display: none; }

/* 1360px以上：メニューをページの中心線に（お届けの見出し・フッターのロゴと同じ軸）。
   1200〜1359px で中央に置くと、ロゴとのあいだが26〜80px、アイコンとのあいだが135〜190pxと片寄って見えたので、
   そこは今までどおり（ロゴとアイコンのあいだに均等） */
@media (min-width: 1360px) {
  .gnav {
    position: absolute;
    left: 50%;
    top: 50%;
    width: max-content; /* left:50% だと幅が半分に縮んでメニューが折り返すので */
    transform: translate(-50%, -50%);
  }
}

.site-header__tools {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
}

.icon-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--kinari);
  stroke-width: 1.4;
}

.icon-link svg .fill { fill: var(--kinari); stroke: none; }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle__bar {
  position: absolute;
  left: 9px;
  width: 26px;
  height: 1px;
  background: var(--kinari);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.menu-toggle__bar:nth-child(1) { top: 17px; }
.menu-toggle__bar:nth-child(2) { top: 26px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { top: 22px; transform: rotate(30deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { top: 22px; transform: rotate(-30deg); }

/* ---------- ① ファーストビュー ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ai-night);
  color: var(--kinari);
}

/* スポットライトの半径と、光の縁のぼかし幅（なめらかに広げるために型を登録） */
@property --spot {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@property --feather {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

.hero__visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  container-type: size;
}

/* 写真とミツバチの道は、同じ4:3の枠に重ねて座標をそろえる。
   枠を大きめにして下端をそろえ、写真上部の収穫かごを画面の外へ逃がす */
.hero__frame {
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
  width: max(70cqw, 150cqh);
  aspect-ratio: 4 / 3;
}

/* 流れ：一粒だけ灯る → ミツバチが飛んできて止まる（2.4秒）→ 光が広がり、かご一面が現れる（5秒）→ 光の筋が流れる */
.hero__frame--photo {
  --spot: 80vmax;
  --feather: 22vmax;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(circle at 58% 45%, #000 0, #000 var(--spot), transparent calc(var(--spot) + var(--feather)));
  mask-image: radial-gradient(circle at 58% 45%, #000 0, #000 var(--spot), transparent calc(var(--spot) + var(--feather)));
  animation: photo-in 1s ease both, spot-open 2.8s var(--ease) 2.2s both;
}

.hero__frame--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 58% 45%;
  filter: saturate(1.15) contrast(1.06) brightness(1.02);
  animation: settle 14s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}

/* 宝石のように、光の筋が一度だけ表面を流れる */
.hero__frame--photo::after {
  content: "";
  position: absolute;
  inset: -20% -60%;
  background: linear-gradient(105deg, rgba(255, 236, 210, 0) 42%, rgba(255, 236, 210, 0.34) 50%, rgba(255, 236, 210, 0) 58%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: glint 2.2s var(--ease) 4.8s both;
}

@keyframes photo-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes spot-open {
  from { --spot: 3vmax; --feather: 5vmax; }
  to { --spot: 80vmax; --feather: 22vmax; }
}
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes glint { from { transform: translateX(-60%); } to { transform: translateX(60%); } }

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ai-night) 0%, var(--ai-night) 22%, rgba(13, 22, 36, 0.78) 38%, rgba(13, 22, 36, 0.06) 62%, rgba(13, 22, 36, 0.14) 100%),
    linear-gradient(180deg, rgba(13, 22, 36, 0.6) 0%, rgba(13, 22, 36, 0) 20%),
    linear-gradient(0deg, rgba(13, 22, 36, 0.75) 0%, rgba(13, 22, 36, 0) 30%);
}

/* 右上から差し込む金色の光。演出のあとに現れて、ゆっくり呼吸する */
.hero__light {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 52% 44% at 80% 8%, rgba(255, 216, 156, 0.5), rgba(255, 216, 156, 0) 70%),
    radial-gradient(ellipse 36% 30% at 60% 46%, rgba(214, 189, 138, 0.2), rgba(214, 189, 138, 0) 70%);
  mix-blend-mode: screen;
  opacity: 0;
  transform-origin: 80% 8%;
  animation: light-in 2.4s ease 3.2s forwards, breathe 9s ease-in-out 5.6s infinite;
}

@keyframes light-in { to { opacity: 1; } }
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

/* きらめき：写真と同じ枠の座標で置き、いちごの上で瞬く */
.hero__sparkles {
  z-index: 2;
  overflow: visible;
  pointer-events: none;
}

.hero__sparkles .sparkle {
  fill: #fff6e4;
  opacity: 0;
  transform-origin: 0 0;
  animation: twinkle var(--t, 4s) ease-in-out var(--d, 0s) infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
  50% { opacity: 0.95; transform: scale(1) rotate(45deg); }
}

/* フィルムのような粒子。LINE圧縮のガサつきもなじませる */
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* シグネチャー：ミツバチの飛んだ道 */
.hero__flight {
  z-index: 2;
  overflow: visible;
  pointer-events: none;
}

.flight-path {
  fill: none;
  stroke: var(--kin-light);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 0.1 12;
}

.flight-reveal {
  fill: none;
  stroke: #fff;
  stroke-width: 18;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: flight-draw 2s var(--ease) 0.4s forwards;
}

.flight-bee {
  color: var(--kin-light);
  opacity: 0;
  /* 金色の光をまとわせて、写真の上でも埋もれないようにする */
  filter: drop-shadow(0 0 5px rgba(214, 189, 138, 0.9)) drop-shadow(0 6px 10px rgba(6, 10, 18, 0.6));
  animation: fade-in 0.5s ease 0.4s forwards;
}

@keyframes flight-draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }

.hero__inner {
  position: relative;
  z-index: 3;
  /* 760px だと広い画面で見出しの「。」だけが次の行に落ちた（80px・字間0.14em の6文字が入りきらない） */
  max-width: 820px;
  padding: 120px clamp(24px, 7vw, 120px) 80px;
}

.hero__inner > * {
  opacity: 0;
  animation: rise 1.2s var(--ease) forwards;
}

.hero__inner > :nth-child(1) { animation-delay: 0.2s; }
.hero__inner > :nth-child(2) { animation-delay: 0.4s; }
.hero__inner > :nth-child(3) { animation-delay: 0.7s; }
.hero__inner > :nth-child(4) { animation-delay: 0.9s; }
.hero__inner > :nth-child(5) { animation-delay: 1.1s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero__eyebrow {
  margin: 0 0 26px;
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--kin-light);
}

.hero__title {
  margin: 0 0 32px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.45;
  letter-spacing: 0.14em;
  text-shadow: 0 0 48px rgba(214, 189, 138, 0.28);
}

.hero__lead {
  margin: 0;
  font-family: var(--f-display);
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.12em;
  color: rgba(242, 237, 227, 0.88);
}

.hero__en {
  position: relative;
  margin: 36px 0 44px;
  padding-top: 22px;
  font-family: var(--f-roman);
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--kin-light);
}

.hero__en::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: var(--kin-light);
}

/* 手書き文字＝ご夫婦の言葉（ページ全体でこのルール） */
/* 短冊のように、半透明の紺の帯に金のヘアラインを付けて、写真の上でも読めるようにする */
.hero__vertical {
  position: absolute;
  top: 124px;
  right: clamp(24px, 4vw, 64px);
  z-index: 3;
  margin: 0;
  padding: 26px 12px 30px;
  writing-mode: vertical-rl;
  font-family: var(--f-hand);
  font-weight: 600;
  font-size: 20px;
  line-height: 2.2;
  letter-spacing: 0.32em;
  color: var(--kinari);
  /* 透ける赤の彩度を落として、ワイン色ではなく紺の帯に見せる */
  background: rgba(13, 22, 36, 0.66);
  box-shadow: inset 0 0 0 1px rgba(214, 189, 138, 0.55), 0 0 0 4px rgba(13, 22, 36, 0.35), 0 16px 30px -16px rgba(6, 10, 18, 0.7);
  backdrop-filter: blur(8px) saturate(0.35);
  -webkit-backdrop-filter: blur(8px) saturate(0.35);
  opacity: 0;
  animation: fade-in 1.4s ease 2.6s forwards;
}

/* ---------- ② 優美園のいちご ---------- */

.strawberry {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.strawberry__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.variety-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ai-night);
  color: var(--kinari);
}

.variety-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* いちごの赤を立てる（「暗い」と言われた経緯があるので、写真そのものは暗くしない） */
  filter: saturate(1.06) contrast(1.05);
  transition: transform 1s var(--ease-out);
}

/* 下は文字のための紺、四隅はうっすら暗く（いちごに目が行く）、上は額縁の下に薄い影。写真は拡大しない */
.variety-card::after {
  content: "";
  position: absolute;
  inset: 0;
  /* 下：文字を読ませるグラデーション。まわり：プチプチを少しだけ沈める薄い周辺減光（上の帯は付けない） */
  background:
    linear-gradient(0deg, rgba(13, 22, 36, 0.92) 0%, rgba(13, 22, 36, 0.4) 40%, rgba(13, 22, 36, 0) 66%),
    radial-gradient(ellipse 80% 62% at 52% 50%, rgba(13, 22, 36, 0) 52%, rgba(13, 22, 36, 0.3) 100%);
}

@media (hover: hover) {
  .variety-card:hover img { transform: scale(1.035); }
}

.variety-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 28px;
}

.variety-card__name {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

.variety-card__roman {
  margin: 4px 0 12px;
  font-family: var(--f-roman);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--kin-light);
}

.variety-card__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
}

/* 出荷のめやす：紅い帯が旬の月 */
.season {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 48px;
  align-items: center;
  margin-top: clamp(24px, 4vw, 48px);
  padding-top: 40px;
  border-top: 1px solid rgba(134, 105, 58, 0.3);
}

.season__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.16em;
}

.season__months {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 数字は英字の書体（Cormorant）、「月」はしっぽり明朝。表のように読めるように */
.season__months li {
  position: relative;
  flex: 1;
  padding-top: 14px;
  font-family: var(--f-roman);
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: lining-nums;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.04em;
  color: var(--sumi-soft);
}

/* 旬でない月（11月・6月）は一歩下げる */
.season__months li:not(.is-on) { color: rgba(87, 87, 93, 0.55); }

.season__months li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1px;
  right: 1px;
  height: 4px;
  background: rgba(37, 38, 43, 0.1);
}

.season__months li.is-on { color: var(--sumi); }
.season__months li.is-on::before { background: var(--beni); }

.season__note {
  grid-column: 2;
  margin: 0;
  font-size: 12px;
  color: var(--sumi-soft);
}

/* パソコン幅：カードと表のあいだが空きすぎていたので詰める（120px → 72px） */
@media (min-width: 1081px) {
  .season { margin-top: 0; }
}

/* ---------- ③ 栽培へのこだわり ---------- */

.section.commitment {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding-block: 0 calc(7vw + 30px); /* 下は継ぎ目の弧の分 */
  overflow: hidden;
}

/* 継ぎ目の蔓は、弧が低い左側で区画の下端より20〜25pxほど下まで垂れる。
   トップとこだわりの区画は overflow: hidden で、そこが切れていた（2026-09-25 あなたの指摘「ツタが切れてる」）。
   縦ははみ出しを許し、横だけ切る。overflow: clip が使えない古いブラウザは今までどおり */
@supports (overflow: clip) {
  .hero,
  .section.commitment { overflow: visible; overflow-x: clip; }
}

/* 広い画面では枠が横長になって縦長の写真が切れるので、幅に応じて高くする */
.commitment__photo {
  position: relative;
  min-height: max(640px, 46vw);
}

/* 写真を少し内側に収め、紺の上に額縁入りの写真が置かれた形にする */
.commitment__photo-inner {
  position: absolute;
  inset: clamp(24px, 4vw, 56px);
  overflow: hidden;
}

/* 写真はいちごが真ん中に来るように切り抜いたもの（kodawari-02）を使う */
.commitment__photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.commitment__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.commitment__body {
  align-self: center;
  max-width: 620px;
  padding: clamp(64px, 8vw, 120px) clamp(24px, 6vw, 96px);
}

.commitment__vertical {
  position: absolute;
  top: 64px;
  right: 40px;
  margin: 0;
  writing-mode: vertical-rl;
  font-family: var(--f-display);
  font-size: 16px;
  letter-spacing: 0.42em;
  font-feature-settings: "vpal";
  color: var(--kin-light);
}

@media (min-width: 768px) {
  /* 上の継ぎ目の金の葉が額縁の角金具に触れないよう、上に少し余白。
     広い画面では左右を1600pxまでにとどめて、写真だけが大きくなりすぎないように（紺の地は画面いっぱいのまま） */
  .section.commitment {
    padding-top: clamp(32px, 4vw, 64px);
    padding-inline: max(0px, calc((100vw - 1600px) / 2));
  }

  .commitment__photo { min-height: max(640px, min(46vw, 800px)); }

  /* 右の段の文字は、ほかの区画と同じく「中央＋48px」から始める */
  .commitment__body { padding-left: 48px; }

  .commitment__vertical { right: max(40px, calc((100vw - 1600px) / 2 + 40px)); }
}

/* ---------- ④ つくり手のこと ---------- */

.growers {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.growers__photo {
  position: relative;
  margin: 0;
}

.growers__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 便箋に書いたような、ご夫婦からのごあいさつ */
.letter {
  position: relative;
  margin: 0 0 36px;
  /* 便箋の罫線は額縁の内側いっぱいまで引く（上の余白は罫線の間隔に合わせて34px） */
  padding: 34px clamp(30px, 3vw, 46px);
  /* 峯さんの文章の行末：便箋が広い（パソコンで496px）と「この／道に」「」と／して」で折れたので、文字の幅は384pxまで（罫線は額縁の内側いっぱいのまま） */
  padding-inline: max(clamp(30px, 3vw, 46px), calc((100% - 384px) / 2));
  background-color: var(--letter);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 33px, rgba(134, 105, 58, 0.2) 33px, rgba(134, 105, 58, 0.2) 34px);
  background-origin: padding-box;
  background-clip: padding-box;
  /* 罫線を5px上げて、文字が罫線の上に「のる」ように */
  background-position: 0 -5px;
  font-family: var(--f-hand);
  font-size: 16px;
  line-height: 34px;
  letter-spacing: 0.06em;
  color: var(--sumi);
  line-break: strict;
  box-shadow: 0 2px 3px rgba(13, 22, 36, 0.12), 0 22px 40px -28px rgba(13, 22, 36, 0.4);
}

/* 峯さんの文章（2026-09-24）：文節で折り返す（Chrome・Edge）。本番と同じく全幅で。
   360px 以下でも「せん。」「ます。」だけの行が出ないように */
.letter p {
  margin: 0 0 34px;
  text-wrap: pretty;
  word-break: auto-phrase;
}

/* 名前や数量を途中で折り返さない */
.nobr { white-space: nowrap; }

.letter .letter__sign {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

/* ---------- つくり手：パソコンはひと画面に収める（本番と同じ。2026-09-24、メモ32章） ----------
   見出しを写真の列へ移し、写真は便箋と同じ高さまで縦に伸ばす。便箋は広く、字と罫線の間隔を少し詰める */
@media (min-width: 1081px) {
  .growers {
    grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
    column-gap: 56px;
    align-items: stretch;
  }

  .growers__side { display: flex; flex-direction: column; }

  .growers__head .heading { margin-bottom: 36px; }

  .growers__photo { flex: 1 1 auto; min-height: 260px; }

  /* 写真は列の残りの高さいっぱいに（縦長に切り抜き、いちごが実っている右寄りを見せる） */
  .growers__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-position: 62% 50%;
  }

  /* 峯さんの1行が便箋でも1行に収まる幅。罫線は29px間隔（字は15px）。文字は罫線の上に「のる」位置（-4px） */
  .letter {
    margin: 0;
    padding: 29px 40px 12px;
    background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 28px, rgba(134, 105, 58, 0.2) 28px, rgba(134, 105, 58, 0.2) 29px);
    background-position: 0 -4px;
    font-size: 15px;
    line-height: 29px;
    letter-spacing: 0.02em;
  }

  .letter p { margin: 0 0 29px; }
}

/* タブレット（768〜1080px）：写真が左、見出しと便箋が右（今までと同じ並び）。
   便箋の列を広く、すき間を狭く。写真は便箋の上端にそろえて、読んでいるあいだ横に付いてくる（便箋の下端で止まる） */
@media (min-width: 768px) and (max-width: 1080px) {
  .growers {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-areas: ". head" "photo body";
    column-gap: clamp(40px, 5vw, 96px);
    row-gap: 0;
    align-items: start;
  }

  .growers__side { display: contents; }

  .growers__head { grid-area: head; }

  .growers__body { grid-area: body; }

  .growers__photo {
    grid-area: photo;
    position: sticky;
    top: 124px;
  }

  .growers .letter { margin-bottom: 0; }
}

/* ---------- ⑤ お届けの方法 ---------- */

.section-head {
  margin-bottom: clamp(48px, 6vw, 72px);
  text-align: center;
}

/* 法人・オンラインショップの2枚。広げすぎると写真が大きくなりすぎるので幅を絞って中央に */
.ways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

/* パソコン幅：写真が上、文章が下のカード */
.way {
  position: relative;
  display: grid;
  align-content: start;
  gap: 28px;
}

/* カード全体を押せるように（リンクの当たり判定をカードいっぱいに広げる。額縁は pointer-events: none） */
.way .text-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
}

.way__media,
.way__icon {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
}

.way__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* オンラインショップの紺の箱：カートの後ろにほのかな金の光、内側に細い金の線 */
.way__icon {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(214, 189, 138, 0.16), rgba(214, 189, 138, 0) 62%),
    var(--ai-deep);
}

.way__icon::before {
  content: "";
  position: absolute;
  inset: clamp(10px, 5%, 22px);
  border: 1px solid rgba(214, 189, 138, 0.25);
  pointer-events: none;
}

.way__icon svg,
.float-shop svg {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* カートの印は箱の3割ほどの大きさに（小さい箱でも44pxは確保） */
.way__icon svg {
  position: relative;
  width: clamp(44px, 32%, 120px);
  height: auto;
  stroke: var(--kin-light);
  stroke-width: 1.3;
  transform-origin: 50% 80%;
  transition: transform 0.45s var(--ease-out);
}

.way__title {
  margin: 0 0 10px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.14em;
}

.way__text {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 2;
  color: var(--sumi-soft);
}

.way .text-link { font-size: 13px; }

/* パソコン幅：ページでいちばん小さかった13pxを14pxに */
@media (min-width: 1081px) {
  .way__text,
  .way .text-link { font-size: 14px; }
}

@media (hover: hover) {
  /* カードに乗せると、額縁の影が少し深くなり、光の筋が一度だけ額の中を流れる */
  .way:hover .frame {
    box-shadow:
      inset 0 0 0 1px rgba(214, 189, 138, 0.8),
      0 0 0 1px rgba(214, 189, 138, 0.4),
      0 2px 3px rgba(13, 22, 36, 0.22),
      0 24px 40px -22px rgba(13, 22, 36, 0.75);
    transition: box-shadow 0.45s var(--ease-out);
  }

  .way .frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    background: linear-gradient(105deg, rgba(255, 236, 210, 0) 40%, rgba(255, 236, 210, 0.28) 50%, rgba(255, 236, 210, 0) 60%) no-repeat;
    background-size: 300% 100%;
    background-position: 100% 0;
  }

  .way:hover .frame::after { animation: frame-sweep 1.1s var(--ease) both; }

  /* ショップのカードでは、カートが少し傾いて前へ（最後にいちごが入る場所の予告） */
  .way--shop:hover .way__icon svg { transform: rotate(-4deg) translateX(3px); }
}

@keyframes frame-sweep {
  from { background-position: 100% 0; }
  to { background-position: 0% 0; }
}

/* ---------- ⑥ お知らせ・Instagram ---------- */

.news {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(56px, 7vw, 120px);
}

.news-items {
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(214, 189, 138, 0.2);
}

/* 日付と題名は同じベースラインに。区切り線は金のヘアライン */
.news-items a {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: baseline;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(214, 189, 138, 0.2);
  text-decoration: none;
  transition: background-color 0.3s var(--ease);
}

/* 数字は高さのそろった等幅の字形で */
.news-items time {
  font-family: var(--f-roman);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--kin-light);
}

.news-items span {
  font-size: 14px;
  line-height: 1.8;
  transition: color 0.3s var(--ease);
}

@media (hover: hover) {
  .news-items a:hover { background: rgba(214, 189, 138, 0.05); }
  .news-items a:hover span { color: var(--kin-light); }
}

.insta__account {
  display: inline-block;
  margin: 0 0 24px;
  font-family: var(--f-roman);
  font-size: 24px;
  letter-spacing: 0.08em;
  font-variant-numeric: lining-nums;
  text-decoration: none;
}

@media (min-width: 768px) {
  /* 右の段を「中央＋48px」に。アカウント名の行を見出しと同じ高さにして、お知らせの一覧と写真の上端をそろえる */
  .news { gap: 96px; }

  .insta__account {
    line-height: calc(clamp(1.55rem, 2.8vw, 2.2rem) * 1.6);
    margin-bottom: 32px;
  }
}

.insta__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.insta__grid li {
  aspect-ratio: 1;
  overflow: hidden;
}

.insta__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.insta__post {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: var(--kinari);
  text-decoration: none;
}

/* 投稿の日付とキャプションの冒頭。マウスを乗せたときだけ下から浮かぶ（スマホでは出さない） */
.insta__meta {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 14px 14px 12px;
  background: linear-gradient(to top, rgba(13, 22, 36, 0.9), rgba(13, 22, 36, 0.35) 60%, rgba(13, 22, 36, 0));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.insta__date {
  font-family: var(--f-roman);
  font-size: 13px;
  letter-spacing: 0.1em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--kin-light);
}

.insta__text {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

@media (hover: hover) {
  .insta__post:hover img,
  .insta__post:focus-visible img { transform: scale(1.035); }

  .insta__post:hover .insta__meta,
  .insta__post:focus-visible .insta__meta { opacity: 1; }
}

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

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 12vw, 160px) var(--gutter) 48px;
  background: var(--ai-night);
  color: var(--kinari);
  text-align: center;
}

.site-footer__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 灰色ににごらないよう、白黒の写真をうすく重ねて、下の紺で藍色に染める */
  filter: grayscale(1) contrast(1.1);
  opacity: 0.2;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  height: clamp(120px, 18vw, 220px);
  background: linear-gradient(180deg, var(--ai-night) 0%, rgba(13, 22, 36, 0) 100%);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 22, 36, 0.35) 0%, rgba(13, 22, 36, 0.75) 55%, var(--ai-night) 100%);
}

/* 上のフチから垂れ下がる苗 */
.vines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.vine {
  position: absolute;
  top: -6px;
  left: var(--x, 0);
  width: 200px;
  height: 340px;
  transform: translateY(-104%);
}

.vine svg {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 50% 0;
  filter: saturate(0.8) drop-shadow(0 14px 16px rgba(6, 10, 18, 0.55));
}

/* フッターが画面に入ったら、飛び出して少し弾み、そのあと揺れ続ける */
.site-footer.is-in .vine {
  animation: vine-drop 1.5s cubic-bezier(0.3, 1.5, 0.5, 1) var(--d, 0s) forwards;
}

.site-footer.is-in .vine svg {
  animation: vine-sway var(--sway, 6s) ease-in-out calc(var(--d, 0s) + 1.2s) infinite;
}

@keyframes vine-drop {
  from { transform: translateY(-104%); }
  to { transform: translateY(0); }
}

@keyframes vine-sway {
  0%, 100% { transform: rotate(-2.2deg); }
  50% { transform: rotate(2.2deg); }
}

.site-footer__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-inline: auto;
}

/* 正式ロゴ（縦型） */
.site-footer__logo {
  display: block;
  width: min(280px, 64vw);
  height: auto;
  margin: 0 auto;
}

.site-footer__copy {
  margin: 28px 0 56px;
  font-family: var(--f-hand);
  font-size: 17px;
  letter-spacing: 0.2em;
}

.site-footer__info {
  display: grid;
  gap: 12px;
  margin: 0 auto 32px;
  max-width: 560px;
  font-size: 13px;
  text-align: left;
}

.site-footer__info div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(214, 189, 138, 0.18);
}

.site-footer__info dt {
  font-family: var(--f-display);
  letter-spacing: 0.12em;
  color: var(--kin-light);
}

.site-footer__info dd { margin: 0; }

.site-footer__info a { text-underline-offset: 4px; }

/* 地図（額縁入り）。額縁の金具が外にはみ出すので、外側の箱では切らない */
.site-footer__map {
  position: relative;
  max-width: 560px;
  margin: 8px auto 28px;
  aspect-ratio: 16 / 10;
}

.site-footer__map-inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ai-deep);
}

.site-footer__map-inner iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer__map-btn { margin-bottom: 48px; }

.site-footer__note {
  display: inline-block;
  margin: 8px 0 48px;
  padding: 10px 24px;
  border: 1px solid rgba(214, 189, 138, 0.45);
  font-size: 13px;
  color: var(--kin-light);
}

.site-footer__copyright {
  margin: 0;
  font-family: var(--f-roman);
  letter-spacing: 0.2em;
  font-variant-numeric: lining-nums;
  opacity: 0.7;
}

/* 字間の分だけ左に足して、見た目の中央にそろえる */
.site-footer__copy,
.site-footer__copyright { padding-left: 0.2em; }

/* パソコン幅：所在地と地図を左右に並べて、フッターを短く。苗は左右で鏡写しの位置に */
@media (min-width: 1081px) {
  /* 地図の列を少し広く（Googleの住所の札が切れず、道案内のアイコンも出る幅：1440pxで約565px） */
  .site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: 64px;
    max-width: 1100px;
  }

  .site-footer__logo,
  .site-footer__copy,
  .site-footer__copyright { grid-column: 1 / -1; }

  .site-footer__info {
    grid-column: 1;
    grid-row: 3;
    align-self: center;
    margin: 0;
    max-width: none;
  }

  .site-footer__map {
    grid-column: 2;
    grid-row: 3;
    margin: 0;
    max-width: none;
    width: 100%;
  }

  .site-footer__map-btn {
    grid-column: 2;
    grid-row: 4;
    justify-self: center;
    margin: 28px 0 64px;
  }

  .vine:nth-child(4) { left: auto; right: 24%; }
  .vine:nth-child(5) { left: auto; right: 13%; }
  .vine:nth-child(6) { left: auto; right: 3%; }
}

/* ---------- 一粒の旅 v2「重力のいちご」（スクロールで、いちごがページを旅する） ---------- */
/* ページ全体の透明な層（JSが高さを付ける）。はみ出しは切る＝横スクロールを出さない。
   右下の金のボタン（40）とヘッダー（50）より下 */
.berry-layer {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 39;
  width: 100%;
  height: 0;
  overflow: hidden;
  overflow: clip;
  pointer-events: none;
}

/* 外側は平行移動だけ（影はいつも真下へ落ちる）。回転は中の SVG の属性で、つぶれ・伸びは .berry__body で */
.berry {
  position: absolute;
  left: 0;
  top: 0;
  width: 72px;
  height: 81px;
  opacity: 0;
  pointer-events: none;
  transform-origin: 0 0;
  will-change: transform, opacity;
  filter: drop-shadow(0 3px 4px rgba(13, 22, 36, 0.28));
}

/* トップ写真の上では、ミツバチと同じ金の光をまとう */
.berry.is-glow { filter: drop-shadow(0 0 5px rgba(214, 189, 138, 0.9)) drop-shadow(0 6px 10px rgba(6, 10, 18, 0.6)); }

.berry__body {
  width: 100%;
  height: 100%;
  will-change: transform;
}

.berry svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* 着地したとき、ヘタがぷるんと揺れる（<g> を動かす。<use> には付けない） */
.berry__calyx.is-wobble {
  transform-box: view-box;
  transform-origin: 32px 14px;
  animation: calyx 0.7s cubic-bezier(0.3, 0.7, 0.4, 1);
}

@keyframes calyx {
  0% { transform: none; }
  18% { transform: rotate(-12deg); }
  40% { transform: rotate(8deg); }
  62% { transform: rotate(-4deg); }
  82% { transform: rotate(2deg); }
  100% { transform: none; }
}

.berry.is-off,
.berry-layer.is-off { display: none; }

/* 接地の影：面からの高さで、薄く・大きく */
.berry-shadow {
  position: absolute;
  left: 0;
  top: 0;
  width: 62px;
  height: 12px;
  margin: -6px 0 0 -31px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--sh, rgba(13, 22, 36, 0.55)), rgba(13, 22, 36, 0));
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.berry-shadow.is-dark { --sh: rgba(0, 0, 0, 0.5); }

/* 通り道の金の点線（パソコンだけ）。薄い線がこれから通る道、濃い線が通った道、光がいちごのすぐ後ろ */
.berry-trail {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
}

.trail-dots {
  fill: none;
  stroke: var(--kin);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 0.1 12;
}

.trail-dots--faint {
  opacity: 0.18;
  transition: opacity 0.6s var(--ease);
}

/* トップで止まっているあいだは、決めた通りの見た目のまま（先の道は見せない） */
.berry-layer:not(.is-journey) .trail-dots--faint { opacity: 0; }

.trail-reveal {
  fill: none;
  stroke: #fff;
  stroke-width: 24;
  stroke-dasharray: 0 99999;
}

.trail-glint {
  fill: none;
  stroke-linecap: butt;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.trail-glint--halo { stroke: rgba(214, 189, 138, 0.22); stroke-width: 7; }
.trail-glint--core { stroke: #fff6e4; stroke-width: 1.3; }
.berry-trail.is-moving .trail-glint { opacity: 1; transition-duration: 0.15s; }

/* きらめき（トップの星と同じ形）と着地の輪。金と生成りだけ（紅は使わない） */
.berry-fx {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.berry-fx svg {
  position: absolute;
  left: -40px;
  top: -40px;
  width: 80px;
  height: 80px;
  overflow: visible;
}

.berry-fx .fx-star,
.berry-fx .fx-ring {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.berry-fx .fx-star { fill: #fff6e4; }
.berry-fx .fx-ring { fill: none; stroke: var(--kin-light); stroke-width: 1; }
.berry-fx.is-burst .fx-star { animation: fx-star 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s) both; }
.berry-fx.is-ripple .fx-ring { animation: fx-ring 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

@keyframes fx-star {
  0% { opacity: 0; transform: translate(0, 0) scale(0.1) rotate(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(var(--s, 0.6)) rotate(45deg); }
}

@keyframes fx-ring {
  0% { opacity: 0.8; transform: scale(0.6); }
  100% { opacity: 0; transform: scale(4); }
}

/* 着地の反応。translate / rotate を単独で使うので、浮かび上がり（.reveal の transform）とぶつからない。
   文字をつぶさないよう、拡大縮小はしない */
.is-hit {
  transform-origin: var(--hit-x, 50%) 100%;
  animation: hit 0.56s cubic-bezier(0.3, 0.7, 0.4, 1);
}

@keyframes hit {
  0% { translate: 0 0; rotate: 0deg; }
  16% { translate: 0 var(--hit, 4px); rotate: var(--hit-r, 0deg); }
  42% { translate: 0 calc(var(--hit, 4px) * -0.3); rotate: 0deg; }
  68% { translate: 0 calc(var(--hit, 4px) * 0.1); }
  100% { translate: 0 0; rotate: 0deg; }
}

/* 出荷の月：いちごが通ると、ぴょんと跳ねて、帯が一瞬明るくなる（紅は増やさない） */
.season__months li.is-hop { animation: hop 0.5s cubic-bezier(0.3, 0.7, 0.4, 1); }

@keyframes hop {
  0% { translate: 0 0; }
  22% { translate: 0 2px; }
  52% { translate: 0 -7px; }
  78% { translate: 0 1px; }
  100% { translate: 0 0; }
}

.season__months li.is-hop::before { animation: bar-glint 0.45s ease-out; }

@keyframes bar-glint { 30% { filter: brightness(1.35); } }

/* 紋のメダル：当たると金の輪が広がり、少しだけ沈む（紋は回さない。メダル自身の transform も触らない） */
.seam__mark::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--kin-light);
  opacity: 0;
  pointer-events: none;
}

.seam__mark.is-ring::after { animation: mark-ring 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.seam__mark.is-ring img { animation: mark-press 0.9s ease; }

@keyframes mark-ring {
  0% { opacity: 0.95; transform: scale(0.92); }
  100% { opacity: 0; transform: scale(2.2); }
}

@keyframes mark-press {
  0% { scale: 1; filter: none; }
  9% { scale: 0.94; filter: brightness(1.3); }
  40% { scale: 1; }
  100% { filter: none; }
}

/* カートが受け止めて揺れる（回転の中心はカートの下寄り：.way__icon svg の transform-origin） */
.way__icon svg.is-catch { animation: catch 0.42s cubic-bezier(0.3, 0.7, 0.4, 1); }

@keyframes catch {
  30% { transform: rotate(-6deg) translateY(2px); }
  65% { transform: rotate(2deg); }
  100% { transform: none; }
}

/* 最後に右下の金のボタンが弾み、金の輪がひとつ広がる */
.float-shop.is-pop { animation: pop 0.8s cubic-bezier(0.3, 0.7, 0.4, 1); }

@keyframes pop {
  0% { transform: scale(1); }
  22% { transform: scale(1.14); }
  45% { transform: scale(0.96); }
  70% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.float-shop::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.float-shop.is-pop::after { animation: shop-ring 0.8s var(--ease-out); }

@media (hover: hover) {
  .float-shop:hover::after { animation: shop-ring 0.8s var(--ease-out); }
}

@keyframes shop-ring {
  from { box-shadow: 0 0 0 0 rgba(214, 189, 138, 0.55); }
  to { box-shadow: 0 0 0 16px rgba(214, 189, 138, 0); }
}

/* スマホ（と、便箋が画面幅の7割より広いとき）：いちごは小さく、点線は描かない */
@media (max-width: 767px) {
  .berry { width: 48px; height: 54px; }
  .berry-shadow { width: 42px; height: 9px; margin: -4.5px 0 0 -21px; }
  .berry-fx svg { transform: scale(0.72); }
  .berry-trail { display: none; }
}

.berry-layer.is-narrow .berry { width: 48px; height: 54px; }
.berry-layer.is-narrow .berry-shadow { width: 42px; height: 9px; margin: -4.5px 0 0 -21px; }
.berry-layer.is-narrow .berry-fx svg { transform: scale(0.72); }
.berry-layer.is-narrow .berry-trail { display: none; }

/* ---------- 右下の金の丸ボタン ---------- */

.float-shop {
  position: fixed;
  right: clamp(16px, 3vw, 36px);
  bottom: clamp(16px, 3vw, 36px);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  /* 金の印章：左上から光が当たった金の面に、濃い金の縁 */
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 244, 214, 0.55) 0, rgba(255, 244, 214, 0) 48%),
    linear-gradient(150deg, var(--kin-light) 0%, var(--kin) 46%, var(--kin-deep) 100%);
  box-shadow:
    0 0 0 1px rgba(134, 105, 58, 0.9),
    inset 0 1px 0 rgba(255, 250, 235, 0.55),
    inset 0 -2px 6px rgba(80, 58, 24, 0.28),
    0 2px 4px rgba(13, 22, 36, 0.18),
    0 16px 32px -16px rgba(13, 22, 36, 0.6);
  color: var(--ai-night);
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

/* 内側の細い輪 */
.float-shop::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px solid rgba(255, 246, 222, 0.6);
  pointer-events: none;
}

@media (hover: hover) {
  .float-shop:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow:
      0 0 0 1px rgba(134, 105, 58, 0.9),
      inset 0 1px 0 rgba(255, 250, 235, 0.55),
      inset 0 -2px 6px rgba(80, 58, 24, 0.28),
      0 2px 4px rgba(13, 22, 36, 0.18),
      0 22px 36px -16px rgba(13, 22, 36, 0.65);
  }
}

/* キーボードで選んだとき：紺の輪＋金の光輪（生成りの地でも紺の地でも見える） */
.float-shop:focus-visible {
  outline: 2px solid var(--ai-night);
  outline-offset: 2px;
  box-shadow:
    0 0 0 1px rgba(134, 105, 58, 0.9),
    0 16px 32px -16px rgba(13, 22, 36, 0.6),
    0 0 0 6px var(--kin-light);
}

/* 押したとき（scale は単独の指定なので、弾む演出の transform とぶつからない） */
.float-shop:active { scale: 0.96; }

.float-shop__label {
  font-family: var(--f-display);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-align: center;
}

.float-shop svg {
  width: 22px;
  height: 22px;
  stroke: var(--ai-night);
}

/* ---------- スクロールで浮かび上がる ---------- */

/* すっと出て、やわらかく止まる。額縁入りのものは動く距離を短く。並んだ2つ目は少し遅れて */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out) var(--rd, 0s), transform 1.1s var(--ease-out) var(--rd, 0s);
}

.js .variety-card.reveal,
.js .growers__photo.reveal,
.js .way.reveal { transform: translateY(12px); }

.strawberry__cards > .reveal:nth-child(2),
.ways > .reveal:nth-child(2),
.news > .insta.reveal { --rd: 0.12s; }

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .hero__inner > *,
  .hero__vertical,
  .flight-bee {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .flight-reveal {
    animation: none;
    stroke-dashoffset: 0;
  }

  .hero__frame--photo,
  .hero__frame--photo img,
  .hero__frame--photo::after {
    animation: none;
  }

  .hero__light { animation: none; opacity: 1; }

  .vine { transform: none; }
  .site-footer.is-in .vine,
  .site-footer.is-in .vine svg { animation: none; }

  .hero__sparkles .sparkle { animation: none; opacity: 0.6; transform: scale(0.8) rotate(45deg); }

  /* ホバーの動きも止める（写真の拡大・額の光の筋・カートの傾き） */
  .variety-card img,
  .insta__grid img,
  .way__icon svg,
  .way:hover .frame,
  .way:hover .frame::after,
  .text-link {
    transition: none;
    animation: none;
  }

  /* 一粒の旅：出さない（JSも層を作らない）。反応のアニメーションも止める */
  .berry-layer,
  .berry-shadow,
  .berry-fx,
  .berry-trail { display: none; }

  .is-hit,
  .season__months li.is-hop,
  .season__months li.is-hop::before,
  .seam__mark.is-ring::after,
  .seam__mark.is-ring img,
  .way__icon svg.is-catch,
  .float-shop.is-pop,
  .float-shop.is-pop::after,
  .float-shop:hover::after,
  .berry__calyx.is-wobble { animation: none; }
}

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

@media (max-width: 1080px) {
  .menu-toggle { display: block; }

  .gnav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: var(--ai-night);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }

  .gnav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .gnav__list {
    flex-direction: column;
    gap: 26px;
  }

  .gnav__ja { font-size: 17px; }

  /* 中央ぞろえのメニューを、字間の分だけ右へ（見た目の中央に） */
  .gnav__ja { padding-left: 0.12em; }
  .gnav__en { padding-left: 0.16em; }

  .gnav__insta {
    display: block;
    font-family: var(--f-roman);
    font-size: 16px;
    letter-spacing: 0.2em;
    color: var(--kin-light);
  }

  .strawberry { grid-template-columns: minmax(0, 1fr); }

  .ways {
    grid-template-columns: minmax(0, 1fr);
    max-width: 620px;
    margin-inline: auto;
  }

  /* タブレット・スマホ幅：写真が左、文章が右の横並び */
  .way {
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 24px;
  }

  .way__media,
  .way__icon {
    width: 128px;
    height: 128px;
    aspect-ratio: auto;
  }
}

/* ---------- スマホ ---------- */

@media (max-width: 767px) {
  body { font-size: 14px; }

  .pc { display: none; }

  .brand__img { height: 50px; }

  .site-header { padding-inline: var(--gutter); }

  /* 押しやすい大きさ（44px以上）。見た目の間隔は変えない */
  .icon-link { width: 44px; height: 44px; }
  .site-header__tools { gap: 6px; }
  .text-link { padding: 12px 0; }

  .seam { --seam-h: 20.5vw; --mark: 36px; } /* 390px で 80px */
  .seam .seam__pc { display: none; }
  .seam .seam__sp { display: block; }
  .seam__mark { top: calc(var(--seam-h) * 12 / 80); }
  .section.has-seam { padding-bottom: calc(clamp(84px, 11vw, 150px) + 12vw); }
  .section.commitment { padding-bottom: calc(20vw + 20px); }
  .site-header.is-scrolled .brand__img { height: 44px; }

  .hero { align-items: flex-end; }

  /* スマホ：枠を中央に置き、上端を少し画面外に出してかごを隠す */
  /* 枠を26px左・28px上へ：ミツバチと短冊がぶつからず、かごも画面の外のまま（写真・きらめき・ミツバチの道は一緒に動く） */
  .hero__frame {
    right: auto;
    bottom: auto;
    left: calc(50% - 26px);
    top: calc(max(100cqw, 120cqh) * -0.0975 - 28px);
    width: max(100cqw, 120cqh);
    transform: translateX(-50%);
  }

  /* スマホは写真が文字の真後ろに来るので、文字のあたりのかぶせを濃くして読みやすくする
     （パソコンは左側が紺なのでそのまま）。
     1枚目：写真の下端でちょうど紺になるグラデーション（低い画面で写真の横の切れ目が見えないように）
     2枚目：採用したBのかぶせ（そのまま） */
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(13, 22, 36, 0) calc(max(100cqw, 120cqh) * 0.6525 - 148px), var(--ai-night) calc(max(100cqw, 120cqh) * 0.6525 - 30px)),
      linear-gradient(180deg, rgba(13, 22, 36, 0.62) 0%, rgba(13, 22, 36, 0.12) 15%, rgba(13, 22, 36, 0.5) 44%, rgba(13, 22, 36, 0.84) 72%, var(--ai-night) 92%);
  }

  /* あわせて、文字の下に紺のにじみを敷く */
  .hero__eyebrow,
  .hero__lead,
  .hero__en {
    text-shadow: 0 1px 2px rgba(13, 22, 36, 0.95), 0 2px 12px rgba(13, 22, 36, 0.85), 0 0 26px rgba(13, 22, 36, 0.7);
  }

  .hero__title {
    text-shadow: 0 2px 14px rgba(13, 22, 36, 0.8), 0 0 48px rgba(214, 189, 138, 0.28);
  }

  .hero__light {
    background:
      radial-gradient(ellipse 70% 36% at 70% 6%, rgba(255, 216, 156, 0.5), rgba(255, 216, 156, 0) 70%),
      radial-gradient(ellipse 50% 26% at 60% 30%, rgba(214, 189, 138, 0.2), rgba(214, 189, 138, 0) 70%);
    transform-origin: 70% 6%;
  }

  /* 左右は20px（--gutter）。下は継ぎ目の葉にかからない分をあける */
  .hero__inner { padding: 140px 20px 92px; }

  .hero__lead { font-size: 14px; }

  /* 幅320px前後の小さいスマホでも「。」が次の行に落ちないよう、字間だけ詰める */
  @media (max-width: 359px) {
    .hero__title { letter-spacing: 0.06em; }
  }

  /* 360px前後で2行目が「を、」から始まらないよう、字間を少し詰める */
  @media (max-width: 389px) {
    .hero__lead { letter-spacing: 0.06em; }
  }

  /* 幅340px未満では「を、」だけの行ができるので、1px小さくして2行に収める */
  @media (max-width: 339px) {
    .hero__lead { font-size: 13px; }
  }

  .hero__title { margin-bottom: 24px; }

  .hero__en { margin: 28px 0 36px; }

  /* 赤い写真の上で金の小見出しが読めないので、文字は生成りに。金は頭の短い線で残す */
  .hero__eyebrow { color: var(--kinari); }

  .hero__eyebrow::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 1px;
    margin-right: 10px;
    vertical-align: middle;
    background: var(--kin-light);
  }

  /* 短冊の文字は16pxのまま（依頼主の希望で大きくしたもの） */
  .hero__vertical {
    top: 92px;
    right: 14px;
    padding: 20px 9px 22px;
    font-size: 16px;
  }

  .strawberry__cards { grid-template-columns: minmax(0, 1fr); }

  .variety-card { aspect-ratio: 4 / 5; }

  .season { grid-template-columns: minmax(0, 1fr); }

  .season__note { grid-column: 1; }

  .season__months li { font-size: 13px; letter-spacing: 0; }

  .section.commitment { grid-template-columns: minmax(0, 1fr); }

  /* 縦長の写真なので、スマホでは正方形に近い枠にして、手のひらのいちごが切れないようにする */
  .commitment__photo { min-height: 0; aspect-ratio: 1 / 1; }


  .commitment__vertical { display: none; }

  .growers,
  .news { grid-template-columns: minmax(0, 1fr); }

  /* つくり手：今までと同じ並び（写真→見出し→便箋）。見出しは写真の列の中にあるので、列の箱をなくして並べ直す */
  .growers { row-gap: 0; }

  .growers__side { display: contents; }

  .growers__photo { order: -1; margin-bottom: 40px; }

  /* お届けのカード：写真の右に題名と説明、リンクはカードの下に横いっぱいの押しやすい行として置く */
  .way {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas: "media title" "media text" "link link";
    column-gap: 18px;
    row-gap: 0;
    align-items: start;
  }

  .way__body { display: contents; }

  .way__media,
  .way__icon {
    grid-area: media;
    width: 96px;
    height: 96px;
  }

  .way__title {
    grid-area: title;
    margin: 2px 0 6px;
  }

  .way__text {
    grid-area: text;
    margin: 0;
    word-break: keep-all;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  /* 幅339px以下では文の途中で「す。」「。」だけの行ができたので、文節で折り返す（Chrome・Edge） */
  @media (max-width: 339px) {
    .way__text { word-break: auto-phrase; }
  }

  .way .text-link {
    grid-area: link;
    margin-top: 18px;
    min-height: 48px;
    padding: 12px 2px;
    justify-content: space-between;
    white-space: nowrap;
    border-top: 1px solid rgba(134, 105, 58, 0.28);
  }

  /* 小さい枠では、縁と金具を細く */
  .frame { --frame-w: 4px; --frame-k: 24px; }

  /* 96pxの小さい写真では金具をさらに小さく、影も軽く */
  .way__media .frame,
  .way__icon .frame {
    --frame-k: 18px;
    box-shadow:
      inset 0 0 0 1px rgba(214, 189, 138, 0.8),
      0 0 0 1px rgba(214, 189, 138, 0.45),
      0 10px 18px -14px rgba(13, 22, 36, 0.55);
  }

  .commitment__photo-inner { inset: 20px; }

  .news-items a { grid-template-columns: minmax(0, 1fr); gap: 2px; }

  .site-footer__info { text-align: center; }

  /* 電話番号は大きく押しやすく。ほかのリンクも指で押せる高さに */
  .site-footer__info a[href^="tel"] {
    display: inline-block;
    padding: 8px 6px;
    font-family: var(--f-roman);
    font-size: 20px;
    letter-spacing: 0.08em;
    font-variant-numeric: lining-nums;
  }

  .site-footer__info dd a:not([href^="tel"]) {
    display: inline-block;
    padding-block: 10px;
    margin-block: -10px;
  }

  .site-footer__map { aspect-ratio: 4 / 3; }

  /* 「内）」だけが次の行に落ちないように */
  .site-footer__map-btn {
    white-space: nowrap;
    padding-inline: 22px;
  }

  /* 幅359px以下では1行に収まらず右端が切れたので、左右の余白と字間を詰める（320pxで右端 ≤ 300px） */
  @media (max-width: 359px) {
    .site-footer__map-btn { padding-inline: 14px; gap: 12px; letter-spacing: 0.1em; }
  }

  /* ©の行が右下の金のボタン（84px）に隠れないように */
  .site-footer { padding-bottom: 112px; }

  /* スマホでは、中央のロゴに被らないよう左右の端の2本だけにする。
     %で置くと360pxで左の苗の実がロゴの輪の下に入ったので、画面の端からの距離で置く */
  .vine { display: none; width: 120px; height: 204px; }

  .vine:first-child { display: block; left: -30px; }

  /* 右の苗は -30px だと実が1つしか見えず左右で不ぞろいだったので、12px内へ（ロゴの輪まで揺れても30px以上あく） */
  .vine:last-child { display: block; left: auto; right: -18px; }

  /* 幅339px以下では、揺れで左の苗の実がロゴの輪に6pxまで近づいたので、苗を少し小さく */
  @media (max-width: 339px) {
    .vine { width: 104px; height: 177px; }
  }

  .site-footer__info div { grid-template-columns: minmax(0, 1fr); gap: 2px; }


  .float-shop { width: 84px; height: 84px; }

  .float-shop::before { inset: 4px; }

  .float-shop__label {
    font-size: 11px;
    letter-spacing: 0.08em;
    line-height: 1.5;
  }

  .float-shop svg { width: 18px; height: 18px; }
}

/* ---------- スマホの低い画面（iPhoneのツールバー表示中・Androidなど） ---------- */
/* 写真の枠をさらに上げ、文字の間を少し詰めて、ミツバチ・短冊・小見出しがぶつからないようにする */

/* 枠は -56px：390x664・375x667 でミツバチが小見出しの文字から15px以上離れるように（-48px では 7〜9px） */
@media (max-width: 767px) and (max-height: 760px) {
  .hero__frame { top: calc(max(100cqw, 120cqh) * -0.0975 - 56px); }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(13, 22, 36, 0) calc(max(100cqw, 120cqh) * 0.6525 - 176px), var(--ai-night) calc(max(100cqw, 120cqh) * 0.6525 - 58px)),
      linear-gradient(180deg, rgba(13, 22, 36, 0.62) 0%, rgba(13, 22, 36, 0.12) 15%, rgba(13, 22, 36, 0.5) 44%, rgba(13, 22, 36, 0.84) 72%, var(--ai-night) 92%);
  }

  .hero__inner { padding-top: 120px; padding-bottom: 84px; }

  .hero__title { font-size: 2.35rem; margin-bottom: 20px; }

  .hero__lead { line-height: 2; }

  .hero__en { margin: 22px 0 28px; padding-top: 16px; }

  .hero__vertical { top: 84px; }
}

/* さらに低い画面（iPhone SE でツールバー表示中など）と、幅359px以下の小さいスマホ：
   ミツバチが小見出しや短冊に重ならないよう、写真の枠をもう少し左上へ（1枚目のかぶせも枠の下端に合わせる） */
@media (max-width: 359px) and (max-height: 760px), (max-width: 767px) and (max-height: 660px) {
  .hero__frame {
    left: calc(50% - 44px);
    top: calc(max(100cqw, 120cqh) * -0.0975 - 84px);
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(13, 22, 36, 0) calc(max(100cqw, 120cqh) * 0.6525 - 204px), var(--ai-night) calc(max(100cqw, 120cqh) * 0.6525 - 86px)),
      linear-gradient(180deg, rgba(13, 22, 36, 0.62) 0%, rgba(13, 22, 36, 0.12) 15%, rgba(13, 22, 36, 0.5) 44%, rgba(13, 22, 36, 0.84) 72%, var(--ai-night) 92%);
  }
}

/* 幅339px以下で高さ760px以下（320x568・320x640 など）：見出しの「。」と小見出しの「農園」が短冊に隠れず、
   「優美園について」のボタンが右下の金のボタンに重ならないように。見出しを少し小さく、小見出しの頭の線を外し、
   短冊を少し右へ、ボタンの左右の余白を詰める（文言・短冊の文字の大きさは変えない） */
@media (max-width: 339px) and (max-height: 760px) {
  .hero__title { font-size: 2.05rem; }
  .hero__eyebrow::before { display: none; }
  .hero__vertical { right: 6px; }
  .hero__inner .btn-line { padding-inline: 18px; gap: 14px; }
}
