/* ============================================
   とちおとめ農園便り — 通販サイト共通スタイル
   ============================================ */

:root {
  --red: #c8394a;
  --red-deep: #9c2635;
  --red-bright: #e2495a;
  --pink-soft: #fbdde1;
  --pink-pale: #fff1ef;
  --cream: #fffaf4;
  --cream-2: #fef3e6;
  --green: #4c7d44;
  --green-soft: #dcead2;
  --gold: #d9a24b;
  --ink: #3a2a24;
  --ink-soft: #6b5850;
  --line: rgba(58, 42, 36, 0.12);

  --font-display: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "游明朝", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "游ゴシック", sans-serif;

  --shadow-soft: 0 12px 30px rgba(156, 38, 53, 0.12);
  --shadow-card: 0 6px 18px rgba(58, 42, 36, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--red-deep);
  letter-spacing: 0.02em;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- 背景の質感 ---------- */
.grain-bg {
  position: relative;
}
.grain-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  background-image: radial-gradient(rgba(156, 38, 53, 0.05) 1px, transparent 1px);
  background-size: 3px 3px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 244, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--red-deep);
  font-weight: 700;
}

.brand .mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand .sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transition: right 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  right: 0;
}

.main-nav a.active {
  color: var(--red-deep);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  align-items: center;
  justify-content: center;
  color: var(--red-deep);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--red-deep);
  transition: transform 0.2s ease, background 0.2s ease;
}

.cart-link:hover {
  transform: translateY(-2px);
  background: var(--red);
  color: #fff;
}

.cart-link svg {
  width: 20px;
  height: 20px;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cream);
}

.cart-badge[hidden],
.cart-badge.is-empty {
  display: none;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--red-deep);
  border: 1.5px solid var(--red);
}

.btn-outline:hover {
  background: var(--pink-pale);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.82rem;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--green);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--green);
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  padding: 70px 0 40px;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1.35;
  margin: 18px 0 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
  position: relative;
}

.hero-lead {
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero-stats div {
  border-left: 2px solid var(--pink-soft);
  padding-left: 14px;
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--red-deep);
}

.hero-stats span {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.hero-visual {
  position: relative;
  height: 440px;
}

.berry-stage {
  position: absolute;
  inset: 0;
}

.berry-blob {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffe3d9, var(--pink-soft) 55%, transparent 75%);
  width: 380px;
  height: 380px;
  top: 20px;
  left: 50%;
  transform: translateX(-52%);
  filter: blur(1px);
}

.floating-berry {
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.floating-berry.b1 { width: 190px; top: 40px; left: 46px; animation-delay: 0s; }
.floating-berry.b2 { width: 130px; top: 210px; right: 24px; animation-delay: 1.1s; }
.floating-berry.b3 { width: 92px; bottom: 30px; left: 90px; animation-delay: 2.2s; }
.floating-berry.leaf1 { width: 70px; top: 4px; right: 90px; animation-delay: 0.6s; }
.floating-berry.leaf2 { width: 54px; bottom: 90px; right: 6px; animation-delay: 1.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-18px) rotate(var(--rot, 0deg)); }
}

/* ---------- セクション共通 ---------- */
section {
  padding: 96px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 14px 0 16px;
}

.section-head p {
  color: var(--ink-soft);
}

.diagonal-top {
  clip-path: polygon(0 3.5%, 100% 0, 100% 100%, 0 100%);
}

/* ---------- 特徴 3カード ---------- */
.features {
  background: var(--cream-2);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  background: #fff;
  border-radius: 22px;
  padding: 34px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(156, 38, 53, 0.14);
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--red);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---------- 商品カード（共通） ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.product-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 34px rgba(156, 38, 53, 0.16);
}

.product-visual {
  position: relative;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--pink-pale), var(--pink-soft));
  overflow: hidden;
}

.product-visual svg {
  width: 92px;
  height: 92px;
  filter: drop-shadow(0 10px 14px rgba(156, 38, 53, 0.2));
  transition: transform 0.35s ease;
}

.product-card:hover .product-visual svg {
  transform: scale(1.08) rotate(-4deg);
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red-deep);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
}

.product-visual.visual-jam {
  background: linear-gradient(160deg, #fbe4d3, var(--cream-2));
}
.product-visual.visual-jam::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 30px;
  background: var(--gold);
  top: 34px;
  border-radius: 6px 6px 0 0;
  opacity: 0.35;
}

.product-visual.visual-seedling {
  background: linear-gradient(160deg, var(--green-soft), #eef6e6);
}

.product-visual.visual-gift::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 220%;
  background: var(--gold);
  opacity: 0.7;
}

.product-visual.visual-wake svg {
  transform: rotate(8deg);
}

.product-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-body h3 {
  font-size: 1.05rem;
  line-height: 1.5;
}

.product-body .desc {
  font-size: 0.84rem;
  color: var(--ink-soft);
  flex: 1;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--red-deep);
  font-weight: 700;
}

.product-price small {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--ink-soft);
  font-weight: 500;
  margin-left: 4px;
}

.product-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.product-actions .btn {
  flex: 1;
  padding: 12px 16px;
  font-size: 0.82rem;
}

/* ---------- 商品一覧ページ ---------- */
.page-head {
  padding: 62px 0 20px;
  text-align: center;
}

.page-head .eyebrow {
  justify-content: center;
}

.page-head h1 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin: 16px 0 12px;
}

.page-head p {
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0 auto;
}

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 30px 0 10px;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--red);
  color: var(--red-deep);
}

.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.product-list-section {
  padding-top: 30px;
}

/* ---------- 商品詳細ページ ---------- */
.detail-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
  padding: 50px 0 30px;
}

.detail-gallery {
  position: sticky;
  top: 100px;
}

.gallery-main {
  height: 420px;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--pink-pale), var(--pink-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.gallery-main svg {
  width: 180px;
  height: 180px;
  filter: drop-shadow(0 16px 20px rgba(156, 38, 53, 0.22));
  animation: float 7s ease-in-out infinite;
}

.gallery-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.gallery-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink-soft);
}

.gallery-dots span.active {
  background: var(--red);
}

.detail-info .eyebrow {
  margin-bottom: 14px;
}

.detail-info h1 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 14px;
}

.detail-price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--red-deep);
  margin: 10px 0 18px;
}

.detail-price small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-left: 6px;
}

.detail-desc {
  color: var(--ink-soft);
  margin-bottom: 26px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 26px;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.qty-stepper button {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--pink-pale);
  color: var(--red-deep);
  font-size: 1.1rem;
  cursor: pointer;
}

.qty-stepper span {
  width: 44px;
  text-align: center;
  font-weight: 700;
}

.detail-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 30px;
}

.detail-actions .btn {
  flex: 1;
}

.detail-meta {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: grid;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.detail-meta div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.detail-meta strong {
  color: var(--ink);
  font-weight: 600;
}

.tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin: 60px 0 30px;
}

.tab-btn {
  padding: 14px 24px;
  background: none;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  position: relative;
}

.tab-btn.active {
  color: var(--red-deep);
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
}

.tab-panel {
  display: none;
  color: var(--ink-soft);
  max-width: 70ch;
  line-height: 2;
}

.tab-panel.active {
  display: block;
}

.related-heading {
  margin: 80px 0 30px;
  text-align: center;
}

/* ---------- カートページ ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 44px;
  align-items: flex-start;
  padding: 50px 0 100px;
}

.cart-table {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-row {
  display: grid;
  grid-template-columns: 84px 1fr auto auto;
  gap: 18px;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.cart-row .thumb {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--pink-pale), var(--pink-soft));
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-row .thumb svg {
  width: 42px;
  height: 42px;
}

.cart-row h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.cart-row .unit {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.cart-row .remove {
  background: none;
  border: none;
  color: var(--ink-soft);
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 6px;
}

.cart-row .price-col {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.cart-row .line-total {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--red-deep);
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}

.cart-empty svg {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: var(--pink-soft);
}

.cart-summary {
  position: sticky;
  top: 100px;
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.cart-summary h2 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.summary-row.total {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 6px;
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 700;
}

.summary-row.total span:last-child {
  color: var(--red-deep);
  font-family: var(--font-display);
}

.summary-note {
  font-size: 0.76rem;
  color: var(--ink-soft);
  margin-top: 16px;
  line-height: 1.7;
}

/* ---------- おすすめの声 / 生産者ストーリー ---------- */
.story {
  background: var(--red-deep);
  color: #fff;
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}

.story .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.story h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 20px;
}

.story p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 16px;
}

.story-quote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.9;
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  color: #fff;
}

.story-figure {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-figure .ring {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
  animation: spin 40s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.story-figure svg {
  width: 150px;
  height: 150px;
}

/* ---------- お客様の声 ---------- */
.voices {
  background: var(--cream);
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.voice-card {
  background: #fff;
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.voice-card .stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.voice-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.voice-card .who {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- CTAバナー ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--pink-soft), var(--cream-2));
  border-radius: 32px;
  margin: 0 28px;
  padding: 56px 40px;
  text-align: center;
  max-width: 1084px;
  margin-inline: auto;
}

.cta-banner h2 {
  margin-bottom: 14px;
}

.cta-banner p {
  color: var(--ink-soft);
  margin-bottom: 26px;
}

/* ---------- フッター ---------- */
.site-footer {
  background: #2c1e1a;
  color: rgba(255, 255, 255, 0.72);
  padding: 70px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand p {
  font-size: 0.85rem;
  margin-top: 14px;
  max-width: 32ch;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col li {
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.76rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- トースト通知 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 200;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6cc26a;
}

/* ---------- スクロール演出 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    height: 320px;
    order: -1;
  }
  .feature-grid,
  .voice-grid {
    grid-template-columns: 1fr;
  }
  .detail-wrap {
    grid-template-columns: 1fr;
  }
  .detail-gallery {
    position: static;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-summary {
    position: static;
  }
  .story .wrap {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background: var(--cream);
    padding: 10px 28px 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .main-nav a {
    padding: 10px 0;
    width: 100%;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .cart-row {
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto;
  }
  .cart-row .price-col {
    grid-column: 2 / 3;
    align-items: flex-start;
    text-align: left;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
