/* =====================================================
   花井養鶏場／愛知・大府市 専用スタイル
   Egg Yolk Amber & Warm Brown / White Base
   ===================================================== */

:root {
  --eg-brown: #4a3323;
  --eg-brown-2: #5c4530;
  --eg-brown-soft: #7a5f45;
  --eg-amber: #d97b29;
  --eg-amber-deep: #b35f1b;
  --eg-amber-light: #f6dfba;
  --eg-ivory: #fdf9f2;
  --eg-ivory-2: #f6efe2;
  --eg-ink: #332821;
  --eg-muted: #6e6053;
  --eg-line: #e8ddc9;
  --eg-red: #c0392b;
  --eg-red-deep: #9c2d21;
}

.serif { font-family: 'Shippori Mincho', serif; }
.text-gold { color: var(--eg-amber-deep) !important; }
.bg-gold {
  background-color: var(--eg-amber) !important;
  background-image: linear-gradient(135deg, #e5934a 0%, #b35f1b 100%) !important;
}
.border-gold { border-color: var(--eg-amber) !important; }

body { color: var(--eg-ink); background: #fff; }

/* Header */
header { border-bottom: 1px solid #e5e7eb; box-shadow: 0 4px 18px rgba(74,51,35,.07) !important; }
header > .bg-gray-100 { background: #f3f4f6 !important; color: #4b5563 !important; border-color: #e5e7eb !important; }
header > .bg-gray-100 a { color: #4b5563 !important; }
header > .bg-gray-100 a:hover { color: var(--eg-amber-deep) !important; }
header > .bg-gray-100 .text-gray-300 { color: #d1d5db !important; }
header > .bg-gray-100 .text-gray-700 { color: #374151 !important; }
header .container > a .text-gray-800 { color: var(--eg-brown) !important; }
header .container > a .text-gray-500 { color: #7a6a58 !important; }
header nav { color: #5c4d3f !important; }
header nav a:hover { color: var(--eg-amber-deep) !important; }
header nav a.text-gold { color: var(--eg-brown) !important; border-color: var(--eg-amber) !important; font-weight: 700; }
#mobile-menu { border-top-color: var(--eg-line) !important; box-shadow: 0 14px 28px rgba(74,51,35,.12) !important; }
#mobile-menu a:hover { background: var(--eg-ivory) !important; color: var(--eg-brown) !important; }
#mobile-menu-button { color: var(--eg-brown) !important; }

/* Hero */
.hero-gradient {
  position: relative;
  min-height: 520px;
  background-color: var(--eg-brown);
  background-image: url('img/n_top1.jpg');
  background-size: cover;
  background-position: center 30%;
  box-shadow: inset 0 -1px 0 rgba(246,223,186,.28);
}
.hero-gradient::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(43,30,19,.82) 0%, rgba(58,41,27,.55) 52%, rgba(43,30,19,.30) 100%);
}
.hero-copy { position: relative; z-index: 2; text-align: left; }
.hero-kicker { margin-bottom: .9rem; font-size: .78rem; font-weight: 700; letter-spacing: .22em; color: var(--eg-amber-light); }
.hero-title { margin: 0; color: #fff; font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1.28; font-weight: 600; letter-spacing: .02em; text-shadow: 0 3px 24px rgba(0,0,0,.3); }
.hero-brand { margin-top: 1rem; padding-left: .9rem; border-left: 2px solid rgba(246,223,186,.72); color: #fff; font-family: 'Shippori Mincho', serif; font-size: clamp(1.15rem, 2.2vw, 1.55rem); letter-spacing: .08em; }
.hero-lead { max-width: 40rem; margin-top: 1.4rem; color: rgba(255,255,255,.9); font-size: 1.05rem; line-height: 1.95; }
.hero-gradient .bg-gold { color: #fff !important; box-shadow: 0 8px 26px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.18); font-weight: 700; }
.hero-gradient .bg-gold:hover { filter: brightness(1.06); transform: translateY(-1px); }
.animate-fade-in-up { animation: fadeInUp 1s ease-out forwards; }
@keyframes fadeInUp { from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:translateY(0);} }

/* Typography */
h1.text-gray-800, h2.text-gray-800, h3.text-gray-800,
.serif.text-gray-800, .font-bold.text-gray-800 { color: var(--eg-brown) !important; }
.bg-gray-50 { background-color: var(--eg-ivory) !important; }
.bg-gray-100 { background-color: var(--eg-ivory-2) !important; }
.border-gray-100, .border-gray-200, .border-gray-300 { border-color: var(--eg-line) !important; }

/* Breadcrumb */
body > header + .bg-white { border-bottom: 1px solid var(--eg-line); background: #fff !important; }
body > header + .bg-white a { color: var(--eg-amber-deep); }
body > header + .bg-white .text-gray-800 { color: var(--eg-brown) !important; }

.section-kicker { display: block; margin-bottom: .7rem; color: var(--eg-amber-deep); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.section-title { margin-bottom: 1.5rem; color: var(--eg-brown); font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.5; font-weight: 600; }
.story-text { margin-bottom: 1.1rem; color: #5a4d3f; font-size: 1.05rem; line-height: 1.95; }

/* Farm story photos */
.farm-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.farm-photo-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: .7rem; box-shadow: 0 12px 28px rgba(74,51,35,.12); }
@media (max-width: 767px) { .farm-photo-grid { grid-template-columns: 1fr; } .farm-photo-grid img { height: 200px; } }

.commitment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.commitment-card {
  background: var(--eg-ivory); border: 1px solid var(--eg-line); border-radius: .8rem; padding: 1.4rem 1.5rem;
}
.commitment-card h3 { color: var(--eg-brown); font-weight: 700; font-size: 1rem; margin-bottom: .7rem; }
.commitment-card ul { list-style: none; margin: 0; padding: 0; }
.commitment-card li { position: relative; padding-left: 1.1rem; margin-bottom: .4rem; color: var(--eg-muted); font-size: .88rem; line-height: 1.7; }
.commitment-card li::before { content: "・"; position: absolute; left: 0; color: var(--eg-amber-deep); }
.commitment-card p { color: var(--eg-muted); font-size: .88rem; line-height: 1.75; margin: 0; }
@media (max-width: 767px) { .commitment-grid { grid-template-columns: 1fr; } }

/* Sticky product nav */
.egg-sticky-nav {
  position: sticky; top: var(--hanai-header-height, 96px); z-index: 45;
  border-top: 1px solid rgba(232,221,201,.8); border-bottom: 1px solid var(--eg-line);
  background: rgba(255,255,255,.97); box-shadow: 0 7px 18px rgba(74,51,35,.06);
}
.egg-sticky-nav-inner {
  display: flex; align-items: center; gap: .85rem; max-width: 1280px; margin: 0 auto; padding: .5rem 1.25rem .56rem;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.egg-nav-label { flex: 0 0 auto; color: var(--eg-brown); font-family: 'Shippori Mincho', serif; font-size: .82rem; font-weight: 600; letter-spacing: .06em; white-space: nowrap; }
.egg-nav-item {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  padding: .48rem .9rem; border: 1px solid rgba(74,51,35,.16); border-radius: 999px; background: #fff;
  color: #4d4032; font-size: .8rem; font-weight: 600; white-space: nowrap;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.egg-nav-item:hover, .egg-nav-item.is-current {
  border-color: rgba(217,123,41,.5); background: #fff8ef; color: var(--eg-amber-deep);
}
@media (max-width: 767px) { .egg-nav-label { display: none; } }

/* Product intro grid */
.product-intro-grid {
  display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: 0; align-items: center;
  margin: 1.1rem 0 1.8rem; overflow: hidden; border: 1px solid var(--eg-line); border-radius: .85rem; background: #fff;
  box-shadow: 0 12px 30px rgba(74,51,35,.07);
}
.product-intro-visual { align-self: stretch; display: flex; align-items: center; justify-content: center; padding: 1.15rem; background: #fff; }
.product-intro-image { display: block; width: 100%; height: auto; max-height: 400px; object-fit: contain; border-radius: .6rem; box-shadow: 0 10px 24px rgba(74,51,35,.09); }
.product-intro-copy {
  position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(1.5rem,3.2vw,2.5rem); border-left: 1px solid rgba(232,221,201,.9);
  background: linear-gradient(135deg, #fdf9f2 0%, #fff 100%);
}
.product-intro-copy::before { content: ""; position: absolute; left: -1px; top: 2rem; width: 3px; height: 3.5rem; background: var(--eg-amber); border-radius: 999px; }
.product-intro-copy p { margin: 0 0 .9rem; color: #514537; font-size: 1.02rem; line-height: 1.9; }
.product-intro-copy p:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  .product-intro-grid { grid-template-columns: 1fr; }
  .product-intro-visual { padding: .85rem .85rem 0; }
  .product-intro-image { max-height: none; }
  .product-intro-copy { padding: 1.3rem 1.15rem 1.5rem; border-left: 0; border-top: 1px solid rgba(232,221,201,.9); }
  .product-intro-copy::before { left: 1.15rem; top: -1px; width: 3.5rem; height: 3px; }
}

.taste-note {
  background: var(--eg-ivory); border-left: 3px solid var(--eg-amber); border-radius: .4rem;
  padding: .9rem 1.1rem; margin-top: .8rem; font-size: .87rem; color: var(--eg-muted); line-height: 1.75;
}
.taste-note strong { color: var(--eg-brown); }

.egg-image-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin: 0 0 1.8rem; }
.egg-image-strip img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: .7rem; border: 1px solid var(--eg-line); box-shadow: 0 8px 20px rgba(74,51,35,.07); }
@media (max-width: 767px) { .egg-image-strip { grid-template-columns: 1fr; gap: .8rem; } }

/* Product summary panel */
.product-summary-panel {
  background: var(--eg-ivory); border: 1px solid var(--eg-line); border-left: 3px solid var(--eg-amber);
  border-radius: .4rem; padding: 1.1rem 1.3rem; margin-bottom: 1.5rem;
}
.product-summary-title { font-weight: 700; color: var(--eg-brown); font-size: .92rem; margin-bottom: .5rem; }
.product-summary-list { margin: 0; padding: 0; list-style: none; }
.product-summary-list li { position: relative; padding-left: 1.1rem; margin-bottom: .35rem; color: var(--eg-muted); font-size: .87rem; line-height: 1.6; }
.product-summary-list li::before { content: "・"; position: absolute; left: 0; color: var(--eg-amber-deep); }
.product-summary-common { font-size: .82rem; color: var(--eg-muted); margin-top: .6rem; }

/* Product detail page (shohin.html) — アニバーサリー形式 */
.product-hero-photo {
  width: 100%; max-height: 520px; object-fit: cover; border-radius: .9rem;
  box-shadow: 0 18px 40px rgba(74,51,35,.14); margin-bottom: 1rem;
}
.product-detail-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1.6rem; }
.product-detail-photos img { width: 100%; height: 260px; object-fit: cover; border-radius: .75rem; box-shadow: 0 10px 24px rgba(74,51,35,.10); }
@media (max-width: 640px) { .product-detail-photos { grid-template-columns: 1fr; } .product-detail-photos img { height: 220px; } }

.product-badge {
  display: inline-block; padding: .3rem .9rem; border-radius: 999px; background: var(--eg-amber-deep);
  color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; margin-bottom: .9rem;
}
.product-code { color: var(--eg-muted); font-size: .78rem; letter-spacing: .04em; margin-bottom: .3rem; }
.product-detail-title { color: var(--eg-brown); font-size: clamp(1.55rem, 3vw, 2.1rem); font-weight: 700; margin-bottom: .6rem; }
.product-detail-lead { color: #514537; font-size: 1.02rem; line-height: 1.95; margin-bottom: 1.6rem; max-width: 46rem; }
.product-detail-lead p { margin-bottom: 1rem; }
.product-detail-lead p:last-child { margin-bottom: 0; }

.price-note {
  background: var(--eg-ivory); border: 1px solid var(--eg-line); border-radius: .6rem;
  padding: .9rem 1.15rem; margin: 1.4rem 0 1.6rem; color: var(--eg-muted); font-size: .82rem; line-height: 1.8;
}
.price-note strong { color: var(--eg-brown); }
.size-select-title { color: var(--eg-brown); font-weight: 700; font-size: 1.05rem; margin: 0 0 1rem; padding-top: .3rem; border-top: 1px solid var(--eg-line); padding-top: 1.3rem; }

/* Purchase cards */
.cart-system-container {
  background: #fff !important; border: 1px solid var(--eg-line) !important;
  border-top: 3px solid var(--eg-amber-light) !important; box-shadow: 0 7px 20px rgba(74,51,35,.055) !important;
}
.cart-system-container:hover { border-top-color: var(--eg-amber) !important; box-shadow: 0 14px 30px rgba(74,51,35,.10) !important; }
.cart-system-container .text-gold { color: var(--eg-amber-deep) !important; }

.cart-system-container input[type="submit"],
.cart-system-container input[type="button"],
.cart-system-container button {
  background-color: var(--eg-amber) !important;
  background-image: linear-gradient(135deg, #e5934a 0%, #b35f1b 100%) !important;
  color: #fff !important; font-family: 'Noto Sans JP', sans-serif !important; font-weight: 700 !important;
  font-size: .92rem !important; letter-spacing: .03em; padding: .62rem 1.15rem !important;
  min-width: 118px !important; border-radius: .25rem !important; border: 1px solid rgba(140,79,20,.4) !important;
  cursor: pointer !important; transition: transform .18s ease, filter .18s ease, box-shadow .18s ease !important;
  display: inline-block !important; appearance: none; -webkit-appearance: none;
  box-shadow: 0 4px 12px rgba(74,51,35,.14) !important;
}
.cart-system-container input[type="submit"]:hover,
.cart-system-container input[type="button"]:hover,
.cart-system-container button:hover {
  filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 7px 17px rgba(74,51,35,.2) !important;
}
.cart-system-container select,
.cart-system-container input[type="text"] {
  font-size: .92rem !important; padding: .45rem !important; min-height: 40px;
  border: 1px solid #ddceb0 !important; border-radius: .25rem !important; background: #fff !important;
  color: var(--eg-brown) !important; max-width: 100% !important; box-sizing: border-box !important;
}
.cart-system-container select:focus,
.cart-system-container input[type="text"]:focus { outline: 2px solid rgba(217,123,41,.22) !important; border-color: var(--eg-amber) !important; }

/* e-shops price decoration：金額は赤系・一回り大きく */
.live-price-label { margin: 0 0 .35rem; color: #8a6a4a; font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.eshop-live-price {
  color: var(--eg-red) !important;
  font-weight: 800 !important;
  font-size: 1.34em !important;
  letter-spacing: .01em;
  white-space: nowrap;
}
.eshop-live-price-suffix { font-size: .8rem; color: #8a6a4a; margin-left: .35rem; font-weight: 600; }
.cart-system-container select.eshop-live-price-select {
  color: var(--eg-red-deep) !important; font-weight: 700 !important;
  border-color: rgba(192,57,43,.4) !important; background-color: #fef7f6 !important;
}
.cart-system-container select.eshop-live-price-select option { color: var(--eg-ink); font-weight: 500; }

/* 数量とカゴボタンを2段（てらミート方式） */
.cart-system-container .eshop-controls-stack {
  display: grid !important; grid-template-columns: auto auto !important; gap: .5rem !important;
  align-items: center !important; width: 100% !important; margin-top: .5rem !important; justify-content: start !important;
}
.cart-system-container .eshop-qty-label { font-size: .8rem; color: var(--eg-muted); font-weight: 600; white-space: nowrap; }
.cart-system-container .eshop-controls-stack input[type="submit"],
.cart-system-container .eshop-controls-stack input[type="button"],
.cart-system-container .eshop-controls-stack button { grid-column: 1 / -1 !important; justify-self: start !important; margin-top: .25rem !important; }

footer {
  background-color: var(--eg-brown) !important;
  background-image: linear-gradient(145deg, #241a11 0%, #4a3323 100%) !important;
  border-top: 3px solid var(--eg-amber) !important;
}
footer .text-gray-300 { color: rgba(255,255,255,.78) !important; }
footer .text-gray-400 { color: rgba(255,255,255,.62) !important; }
footer .text-gray-500 { color: rgba(255,255,255,.40) !important; }
footer .border-gray-700 { border-color: rgba(246,223,186,.16) !important; }
footer .text-gold { color: var(--eg-amber-light) !important; }
footer h3 { color: #fff; }

img.rounded-lg, img.rounded, img.rounded-sm { outline: 1px solid rgba(74,51,35,.035); }
::selection { background: var(--eg-amber-light); color: var(--eg-brown); }

/* =====================================================
   2026-09-30 fine tuning — まっちゃん農園の余白・写真比率を参考
   ===================================================== */

/* 全体：少し静かに、広く見せる */
body { letter-spacing: .005em; }
section { scroll-margin-top: 104px; }
.section-kicker { margin-bottom: .8rem; }
.section-title { margin-bottom: 1.7rem; letter-spacing: .015em; }
.story-text { max-width: 42rem; line-height: 2.02; }

/* Hero：暗くしすぎず、写真を残す */
.hero-gradient { min-height: 560px; background-position: center 28%; }
.hero-gradient::after {
  background: linear-gradient(92deg, rgba(43,30,19,.72) 0%, rgba(58,41,27,.46) 48%, rgba(43,30,19,.17) 100%);
}
.hero-copy { max-width: 44rem; }
.hero-title { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.3; }
.hero-lead { max-width: 38rem; color: rgba(255,255,255,.88); }

/* TOP 農園写真：写真1枚を文章とバランスよく見せる */
.farm-intro-layout { align-items: center; }
.farm-photo-grid {
  display: block;
  padding: .75rem;
  border: 1px solid var(--eg-line);
  border-radius: .95rem;
  background: #fff;
  box-shadow: 0 16px 38px rgba(74,51,35,.09);
}
.farm-photo-grid img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  object-position: center;
  border-radius: .65rem;
  box-shadow: none;
}

/* TOP 4つのこだわり：説明カードではなく1枚のビジュアルで見せる */
.commitment-visual {
  max-width: 1120px;
  margin: 0 auto 1rem;
  padding: .7rem;
  border: 1px solid var(--eg-line);
  border-radius: .95rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(74,51,35,.07);
}
.commitment-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .65rem;
}

/* こだわりカード：箱感を弱める */
.commitment-grid { gap: 1rem 1.2rem; }
.commitment-card {
  padding: 1.35rem 1.45rem;
  border-radius: .55rem;
  background: #fffdf9;
  box-shadow: 0 5px 16px rgba(74,51,35,.035);
}
.commitment-card h3 { padding-bottom: .55rem; border-bottom: 1px solid rgba(232,221,201,.75); }

/* TOP 商品カード：まっちゃん農園程度の控えめな影と余白 */
#products .bg-white.rounded-lg {
  border: 1px solid var(--eg-line);
  box-shadow: 0 7px 22px rgba(74,51,35,.05) !important;
  border-radius: .8rem !important;
}
#products .bg-white.rounded-lg:hover { box-shadow: 0 15px 34px rgba(74,51,35,.09) !important; }
#products .bg-white.rounded-lg img { transform: none !important; }
#products .bg-white.rounded-lg .p-6 { padding: 1.55rem 1.65rem 1.65rem; }

/* 販売ページ：商品紹介を左写真／右文章に統合 */
#products + .egg-sticky-nav + section > .container { max-width: 1080px !important; }
.product-detail-intro-grid {
  display: grid;
  grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr);
  gap: 0;
  margin: 0 0 1.9rem;
  overflow: hidden;
  border: 1px solid var(--eg-line);
  border-radius: .9rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(74,51,35,.075);
}
.product-detail-intro-visual {
  padding: 1rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-detail-intro-copy {
  position: relative;
  padding: clamp(1.7rem,3.2vw,2.75rem);
  border-left: 1px solid rgba(232,221,201,.9);
  background: linear-gradient(135deg, #fdf9f2 0%, #fff 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-detail-intro-copy::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 2.1rem;
  width: 3px;
  height: 3.8rem;
  border-radius: 999px;
  background: var(--eg-amber);
}
.product-detail-intro-copy .product-badge { align-self: flex-start; }
.product-detail-intro-copy .product-detail-lead { margin-bottom: 0; max-width: none; }
.product-detail-intro-copy .taste-note { margin-top: 1rem; }
.product-detail-intro-visual .product-hero-photo {
  max-height: 390px;
  margin: 0;
  border-radius: .65rem;
  box-shadow: 0 10px 26px rgba(74,51,35,.09);
}
.product-detail-intro-visual .product-detail-photos {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .75rem;
  margin: .8rem 0 0;
}
.product-detail-intro-visual .product-detail-photos:has(img:only-child) { grid-template-columns: 1fr; }
.product-detail-intro-visual .product-detail-photos img {
  height: 150px;
  border-radius: .55rem;
  box-shadow: none;
  border: 1px solid rgba(232,221,201,.75);
}

/* 商品間の区切りを線より余白で見せる */
#genkikun, #nagomi, #kochin, #tabekurabe {
  padding-top: 3.6rem !important;
  margin-bottom: 2.5rem !important;
  border-top-color: rgba(232,221,201,.75) !important;
}
#genkikun { border-top: 0 !important; padding-top: 1.3rem !important; }

/* 購入部分は説明と分け、落ち着いた密度に */
.price-note { margin: 1.15rem 0 1.35rem; border-radius: .45rem; background: #fbf8f2; }
.size-select-title { margin-bottom: 1.15rem; }
.cart-system-container {
  padding: 1.35rem !important;
  border-radius: .6rem !important;
  border-top-width: 2px !important;
}
.cart-system-container .font-bold.text-gray-800 { line-height: 1.65 !important; }
.live-price-label { margin-top: .05rem; }
.eshop-live-price { font-size: 1.46em !important; }

@media (max-width: 767px) {
  .hero-gradient { min-height: 500px; background-position: 58% 28%; }
  .hero-gradient::after { background: linear-gradient(90deg, rgba(43,30,19,.76) 0%, rgba(43,30,19,.48) 68%, rgba(43,30,19,.28) 100%); }
  .farm-photo-grid { padding: .55rem; }
  .farm-photo-grid img { max-height: none; }
  .commitment-visual { padding: .45rem; margin-bottom: .5rem; }
  .product-detail-intro-grid { grid-template-columns: 1fr; }
  .product-detail-intro-visual { padding: .8rem .8rem 0; }
  .product-detail-intro-copy { padding: 1.45rem 1.2rem 1.6rem; border-left: 0; border-top: 1px solid rgba(232,221,201,.9); }
  .product-detail-intro-copy::before { left: 1.2rem; top: -1px; width: 3.5rem; height: 3px; }
  .product-detail-intro-visual .product-hero-photo { max-height: none; }
  .product-detail-intro-visual .product-detail-photos img { height: 125px; }
  #genkikun, #nagomi, #kochin, #tabekurabe { padding-top: 2.6rem !important; margin-bottom: 1.8rem !important; }
  #genkikun { padding-top: .8rem !important; }
  .cart-system-container { padding: 1.15rem !important; }
}


/* 2026-09-30 販売ページ調整：左ギャラリー／右説明＋購入 */
.product-detail-intro-grid {
  align-items: start;
  overflow: visible;
}
.product-detail-intro-visual {
  position: sticky;
  top: 7.2rem;
  align-self: start;
  justify-content: flex-start;
}
.product-detail-intro-visual .product-hero-photo {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
.product-thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .78rem;
  margin-top: .85rem;
}
.product-thumb-frame {
  position: relative;
  overflow: visible;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(232,221,201,.9);
  border-radius: .55rem;
  background: #fff;
  box-shadow: 0 5px 16px rgba(74,51,35,.05);
  z-index: 1;
}
.product-thumb-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: .55rem;
  transition: transform .25s ease, filter .25s ease, box-shadow .25s ease;
  transform-origin: center center;
  cursor: zoom-in;
  position: relative;
  z-index: 1;
}
.product-thumb-frame:hover {
  z-index: 50;
}
.product-thumb-frame:hover img {
  transform: scale(1.72);
  filter: saturate(1.03) contrast(1.02);
  box-shadow: 0 18px 46px rgba(33,24,17,.30);
  z-index: 60;
}
.product-detail-intro-copy {
  justify-content: flex-start;
}
.product-purchase-stack {
  margin-top: 1.55rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(232,221,201,.9);
}
.product-purchase-stack .size-select-title {
  margin: 0 0 .9rem;
}
.product-purchase-stack .cart-system-container {
  width: 100%;
  margin: 0 0 .85rem !important;
}
.product-purchase-stack .cart-system-container:last-child {
  margin-bottom: 0 !important;
}
.price-note { display: none !important; }

@media (max-width: 767px) {
  .product-detail-intro-visual {
    position: static;
    top: auto;
  }
  .product-thumb-grid { gap: .6rem; margin-top: .65rem; }
  .product-thumb-frame { border-radius: .45rem; }
  .product-detail-intro-copy { padding-top: 1.55rem; }
  .product-purchase-stack { margin-top: 1.25rem; padding-top: 1.15rem; }
}

@media (max-width: 767px) {
  .product-thumb-frame { overflow: hidden; }
  .product-thumb-frame img { cursor: default; }
  .product-thumb-frame:hover img {
    transform: none;
    box-shadow: none;
    filter: none;
  }
}

/* Keep the product index visible directly below the sticky site header. */
html { scroll-padding-top: calc(var(--hanai-header-height, 96px) + 58px); }
@media (max-width: 767px) {
  .egg-sticky-nav { top: var(--hanai-header-height, 104px); }
}


/* 2026-09-30 商品説明の可読性調整：味の特徴を写真側へ移動 */
.product-detail-intro-copy .product-detail-lead > p {
  margin: 0 0 1.35rem;
  color: #4f4336;
  font-size: 1.08rem;
  line-height: 2.12;
  letter-spacing: .018em;
  font-weight: 400;
}
.product-detail-intro-copy .product-detail-lead > p:last-child {
  margin-bottom: 0;
}
.product-detail-intro-copy .product-detail-lead > p:first-child {
  font-size: 1.11rem;
  line-height: 2.08;
}
.product-detail-intro-visual > .taste-note {
  margin: 1rem 0 .15rem;
  padding: 1.05rem 1.15rem 1.08rem;
  background: #fdf9f2;
  border-left: 3px solid var(--eg-amber);
  border-radius: .45rem;
  color: #625344;
  font-size: .94rem;
  line-height: 1.95;
  letter-spacing: .012em;
}
.product-detail-intro-visual > .taste-note strong {
  display: inline-block;
  margin-bottom: .22rem;
  color: var(--eg-brown);
  font-size: 1rem;
  letter-spacing: .04em;
}
.product-detail-intro-visual > .taste-note + .product-thumb-grid {
  margin-top: .85rem;
}

@media (max-width: 767px) {
  .product-detail-intro-copy .product-detail-lead > p,
  .product-detail-intro-copy .product-detail-lead > p:first-child {
    font-size: 1.02rem;
    line-height: 2.02;
    margin-bottom: 1.15rem;
  }
  .product-detail-intro-visual > .taste-note {
    margin-top: .85rem;
    padding: .95rem 1rem;
    font-size: .9rem;
    line-height: 1.9;
  }
}


/* 2026-09-30 TOP：写真1枚化＋こだわり画像統合 */
#about { padding-bottom: 4.5rem; }
#about .farm-intro-layout { margin-bottom: 2.75rem !important; }
@media (max-width: 767px) {
  #about { padding-bottom: 3.5rem; }
  #about .farm-intro-layout { margin-bottom: 2rem !important; }
}
