/* ========================================
   根岸FARM - モバイルファースト
   ======================================== */

:root {
  --color-primary: #2d5a3d;
  --color-primary-light: #4a7c59;
  --color-accent: #3d6b8e;
  --color-blueberry: #4a5a8e;
  --color-bg: #f8f6f2;
  --color-bg-card: #fff;
  --color-text: #2c2c2c;
  --color-text-muted: #5a5a5a;
  --color-border: #e0ddd6;
  --font-heading: 'Shippori Mincho', 'Noto Sans JP', serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --shadow: 0 2px 12px rgba(45, 90, 61, 0.08);
  --radius: 12px;
  --header-height: 56px;
}

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

html {
  scroll-behavior: smooth;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ----- ヘッダー ----- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  min-height: var(--header-height);
}

.logo-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo {
  margin: 0;
  line-height: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-name {
  font-family: 'Klee One', var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

.tagline {
  display: block;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}

.nav-toggle:hover {
  background: var(--color-bg);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-bg-card);
  border-bottom: 1px solid var(--color-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.nav.is-open {
  max-height: 560px;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 12px 0;
}

.nav-list li {
  border-bottom: 1px solid var(--color-border);
}

.nav-list li:last-child {
  border-bottom: none;
}

.nav-list a {
  display: block;
  padding: 14px 20px;
  color: var(--color-text);
  font-weight: 500;
}

.nav-list a:hover {
  background: var(--color-bg);
  text-decoration: none;
}

/* ----- コンテナ ----- */
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ----- ヒーロー ----- */
.hero {
  min-height: 50vh;
  min-height: 50dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, rgba(232, 240, 232, 0.85) 0%, rgba(212, 228, 212, 0.9) 100%),
    url("image/negishi-billboard.jpg") center center / cover no-repeat;
  padding: 48px 20px;
  text-align: center;
}

.hero-title {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.4;
}

.hero-text {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.hero-sub {
  margin: 16px 0 0;
  max-width: 22em;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text);
  opacity: 0.92;
}

/* ----- セクション共通 ----- */
.section {
  padding: 48px 0;
}

.section-title {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--color-primary-light);
  border-radius: 2px;
}

.section-title--left {
  text-align: left;
}

.section-title--left::after {
  left: 0;
  transform: none;
}

/* ----- トップ動画（共通 .section を付けない。付けると 600px+ で padding が 64px になる） ----- */
.top-video {
  padding: 0 0 4px;
  background: #1a1f1c;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.top-video-heading {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #e8f0e8;
  text-align: center;
}

.top-video-wrap {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  background: #000;
}

.top-video__media {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
  min-height: 200px;
  max-height: min(70vh, 640px);
  object-fit: contain;
  background: #111;
}

.top-video-error {
  max-width: 720px;
  margin: 8px auto 0;
  padding: 14px 16px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #3d2a20;
  background: #fff3e0;
  border: 1px solid #e8c9a0;
  border-radius: var(--radius);
  text-align: left;
}

/* ----- 本日の開園状況 ----- */
.open-status {
  padding: 40px 0 48px;
  background: linear-gradient(180deg, #f0f6f0 0%, #fff 100%);
  scroll-margin-top: calc(var(--header-height) + 12px);
  border-bottom: 1px solid var(--color-border);
}

.open-status .section-title--left {
  margin-left: 0;
}

.open-status-lead {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text);
}

.open-status-clock {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.open-status-badge {
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 12px;
  line-height: 1.3;
  background: var(--color-border);
  color: var(--color-text);
}

.open-status-badge::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  background: currentColor;
  opacity: 0.6;
}

.open-status-badge.is-open {
  background: #1a7a3a;
  color: #fff;
}

.open-status-badge.is-open::before {
  background: #fff;
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.4);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

.open-status-badge.is-closed,
.open-status-badge.is-out {
  background: #c0392b;
  color: #fff;
}

.open-status-badge.is-closed::before,
.open-status-badge.is-out::before {
  background: #fff;
  opacity: 1;
}

.open-status-badge.is-pending {
  background: #e8a020;
  color: #fff;
}

.open-status-badge.is-pending::before {
  background: #fff;
  opacity: 1;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255,255,255,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(255,255,255,0.1); }
}

.open-status-detail {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text);
}

.open-status-hint {
  margin: 0 0 16px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.open-status-hint code {
  font-size: 0.9em;
}

@media (min-width: 600px) {
  .open-status-lead,
  .open-status-hint,
  .open-status-detail,
  .open-status .topic-text {
    max-width: 720px;
  }
}

/* ----- 入園料表・設備・園内MAP ----- */
.table-wrap {
  margin: 16px 0 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admission-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.5;
  background: var(--color-bg-card);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.admission-table th,
.admission-table td {
  border: 1px solid var(--color-border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.admission-table thead th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
}

.admission-table tbody th[scope="row"] {
  font-weight: 600;
  background: #f0f4f0;
  white-space: nowrap;
}

.admission-table td {
  color: var(--color-text);
}

.facilities-list {
  margin: 12px 0 0;
  padding-left: 1.2em;
  line-height: 1.8;
  font-size: 0.95rem;
  color: var(--color-text);
}

.facilities-list li {
  margin-bottom: 8px;
}

.site-map-figure {
  margin: 16px 0 0;
}

.variety-zoom-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.variety-zoom-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
}

.variety-zoom-wrap .site-map-image {
  transition: opacity 0.2s;
}

.variety-zoom-wrap .site-map-image:hover {
  opacity: 0.85;
}

.site-map-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}

.site-map-caption {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.safe-text--link {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.safe-text--link a {
  font-weight: 600;
}

.topic-subtitle {
  margin: 20px 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.45;
  padding-left: 12px;
  border-left: 3px solid var(--color-primary-light);
}

.topic-card .topic-subtitle:first-of-type {
  margin-top: 8px;
}

/* ブルーベリー狩り1枚カード内の下位ブロック（アンカー用） */
.picking-block {
  margin-top: 20px;
  padding-top: 4px;
  border-top: 1px solid var(--color-border);
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.picking-block:first-of-type {
  margin-top: 16px;
  padding-top: 0;
  border-top: none;
}

.picking-block--product {
  margin-top: 20px;
}

.topic-card--picking .topic-title {
  margin-bottom: 4px;
}

/* 買いたい枠内：ギフト・贈答（1枚に集約） */
.shop-gift-card {
  border-top: 2px solid var(--color-primary-light);
  background: linear-gradient(180deg, #f7f4ef 0%, var(--color-bg-card) 100%);
}

.shop-gift-card .topic-subtitle {
  margin-top: 0;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.gift-sub {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--color-border);
}

.gift-sub:first-of-type {
  margin-top: 20px;
}

.topic-list {
  margin: 0 0 12px;
  padding-left: 1.25em;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text);
}

.topic-list li {
  margin-bottom: 8px;
}

.topic-list li:last-child {
  margin-bottom: 0;
}


/* ----- 目的別セクション（来園・購入・贈答） ----- */
.audience-section {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.audience-visit {
  background: linear-gradient(180deg, #f5f9f5 0%, var(--color-bg) 100%);
}

.audience-shop {
  background: var(--color-bg);
}

.audience-gift {
  background: linear-gradient(180deg, #f7f4ef 0%, #faf8f4 100%);
}

.audience-lead {
  margin: -8px 0 20px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  text-align: center;
}

.audience-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
}

.audience-nav a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.audience-nav a:hover {
  background: #e8f0e8;
  border-color: var(--color-primary-light);
  text-decoration: none;
}

.topic-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.topic-card {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  padding: 22px 20px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.topic-title {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.4;
}

.topic-text {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text);
}

.topic-text:last-child {
  margin-bottom: 0;
}

.topic-note {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.topic-embed {
  margin-top: 16px;
}

.topic-card .calendar-note {
  margin-top: 12px;
}

.topic-card .topic-access-text {
  text-align: left;
}

.topic-card .map-wrap {
  margin-top: 12px;
}

.faq-list {
  margin: 0;
}

.faq-item {
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.faq-item dt {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
}

.faq-item dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.product-list--single {
  max-width: 360px;
  margin: 16px auto 0;
}

.product-list--inline {
  margin-top: 16px;
}

@media (min-width: 600px) {
  .audience-gate-heading {
    font-size: 1.75rem;
  }

  .audience-gate-btn {
    padding: 16px 52px;
    font-size: 1rem;
  }

  .topic-card {
    padding: 28px 28px 32px;
  }

  .topic-stack {
    gap: 24px;
  }
}

/* ----- お知らせ直下：商品カード3枚 ----- */
.product-spotlight {
  background: linear-gradient(180deg, #f0f4f0 0%, #faf9f5 100%);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.product-spotlight-lead {
  margin: -8px 0 20px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ----- 商品一覧 ----- */
.products {
  background: var(--color-bg);
}

.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.product-card {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid var(--color-primary);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}

.product-card:active {
  transform: translateY(-2px) scale(0.99);
}

.product-card-footer {
  margin-top: auto;
  padding: 0 16px 16px;
}

.product-detail-btn {
  display: block;
  width: 100%;
  padding: 10px 0;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  border-radius: 8px;
  letter-spacing: 0.03em;
  transition: background 0.2s;
}

.product-card:hover .product-detail-btn {
  background: var(--color-primary-dark, #3a7a2a);
}

.product-image {
  height: 140px;
  width: 100%;
  overflow: hidden;
}

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

.product-card h3 {
  margin: 0;
  padding: 16px 16px 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
}

.product-card-reserve-btn {
  display: block;
  width: calc(100% - 32px);
  margin: 0 16px 8px;
  padding: 8px 0;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}

.product-card-reserve-btn:hover {
  background: #2e5570;
}

.product-shipping {
  margin: 0;
  padding: 0 16px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

.product-card p {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.product-card p.product-shipping + p {
  padding-top: 0;
}

/* ----- お知らせ ----- */
.announcement {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 0;
}

.announcement .container {
  max-width: 720px;
}

.announcement-card {
  padding: 16px 20px;
  text-align: center;
}

.announcement-label {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.announcement-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (min-width: 600px) {
  .announcement-card {
    padding: 12px 24px;
  }

  .announcement-text {
    font-size: 0.95rem;
  }
}

/* ----- 安心・安全（自然農法） ----- */
.about-safe {
  background: linear-gradient(180deg, #e8f0e8 0%, #f5f9f5 100%);
}

.safe-card {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--color-primary);
}

.safe-title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
}

.safe-text {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text);
}

.safe-text:last-child {
  margin-bottom: 0;
}

/* ----- 連絡先 ----- */
.contact {
  background: linear-gradient(180deg, #fff 0%, #f5f3ef 100%);
}

.contact-card {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-list {
  margin: 0 0 16px;
  display: grid;
  gap: 12px;
}

.contact-list dt {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-list dd {
  margin: 0 0 8px;
  font-size: 1rem;
}

.contact-list dd:last-of-type {
  margin-bottom: 0;
}

.contact-name {
  font-weight: 600;
  color: var(--color-primary);
}

.contact-list a {
  color: var(--color-accent);
  word-break: break-all;
}

.contact-note,
.contact-list dd + dt {
  margin-top: 16px;
}

.contact-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.reserve-mail-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 20px 0 12px;
  padding: 14px 20px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.reserve-mail-btn:hover {
  background: var(--color-primary-dark, #3a7a2a);
  text-decoration: none;
}

.reserve-mail-btn:active {
  transform: scale(0.98);
}

.reserve-mail-btn:disabled {
  background: #a9a9a9;
  cursor: not-allowed;
  transform: none;
}

.reserve-mail-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ----- 予約フォーム ----- */
.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

.form-required {
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-accent);
  border-radius: 4px;
  vertical-align: middle;
}

.form-hint {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.form-hint a {
  color: var(--color-accent);
}

.form-field .form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
}

.form-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="date"],
.form-field input[type="number"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-sizing: border-box;
}

.form-field select:disabled {
  color: var(--color-text-muted);
  background: #f2f1ee;
}

.form-field textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form-row--counts {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.form-count label {
  font-size: 0.8rem;
}

.form-availability {
  margin: -8px 0 16px;
  padding: 10px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
  color: #fff;
}

.form-availability.is-open {
  background: #1a7a3a;
}

.form-availability.is-closed {
  background: #c0392b;
}

.form-message {
  margin: 0 0 12px;
  padding: 10px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
}

.form-message.is-success {
  color: #fff;
  background: #1a7a3a;
}

.form-message.is-error {
  color: #fff;
  background: #c0392b;
}

@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ----- アクセス ----- */
.access {
  background: var(--color-bg);
}

.access-text {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-align: center;
}

.map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  max-height: 320px;
}

.map-link {
  display: none;
}

.map-placeholder {
  display: none;
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ----- 新着情報（Twitter） ----- */
.news {
  background: linear-gradient(180deg, #f5f3ef 0%, #fff 100%);
}

.news-intro {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-align: center;
}

.instagram-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 3px 10px 3px 6px;
  border-radius: 20px;
  text-decoration: none;
  vertical-align: middle;
  transition: opacity 0.2s;
}
.instagram-badge:hover { opacity: 0.85; }

.instagram-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.twitter-wrap {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.twitter-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #c13584;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 20px;
  text-decoration: none !important;
  transition: opacity 0.2s;
}

.twitter-link:hover {
  opacity: 0.9;
  text-decoration: none !important;
}

.twitter-embed {
  min-height: 200px;
}

.twitter-placeholder,
.twitter-hint {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.twitter-hint {
  margin-top: 8px;
  font-size: 0.8rem;
}

/* ----- カレンダー ----- */
.calendar {
  background: var(--color-bg);
}

.calendar-intro {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-align: center;
}

.calendar-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--color-bg-card);
}

.calendar-iframe {
  display: block;
  min-height: 500px;
}

.calendar-note {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.calendar-note code {
  padding: 1px 4px;
  background: var(--color-border);
  border-radius: 4px;
  font-size: 0.85em;
}

.calendar-note a {
  color: var(--color-accent);
}

/* ----- ギャラリー ----- */
.gallery {
  background: var(--color-bg);
}

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

.gallery-item {
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.gallery-item:active {
  transform: scale(0.98);
}

.gallery-thumb {
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.gallery-item:hover .gallery-thumb img {
  transform: scale(1.04);
}

.gallery-caption {
  margin: 0;
  padding: 10px 12px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: var(--color-bg-card);
}

/* ----- ライトボックス ----- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

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

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-content {
  max-width: 100%;
  max-height: 90vh;
  text-align: center;
}

.lightbox-image {
  max-height: 70vh;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-bg);
}

.lightbox-image img {
  width: auto;
  max-height: 70vh;
  margin: 0 auto;
}

.lightbox-caption {
  margin: 12px 0 0;
  color: #fff;
  font-size: 0.95rem;
}

/* ----- 商品モーダル ----- */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

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

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.product-modal-inner {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
}

.product-modal-close:hover {
  background: #fff;
}

.product-modal-content {
  overflow-y: auto;
  padding: 24px 20px 28px;
  -webkit-overflow-scrolling: touch;
}

.product-modal-image {
  width: 100%;
  height: 200px;
  margin: 0 0 20px;
  overflow: hidden;
  background: var(--color-bg);
}

.product-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal-content h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
}

.product-modal-badge {
  margin: 0 0 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}

.product-modal-body {
  font-size: 0.95rem;
  line-height: 1.8;
}

.product-modal-body h4 {
  margin: 20px 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

.product-modal-body h4:first-child {
  margin-top: 0;
}

.product-modal-body ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
}

.product-modal-body p {
  margin: 0 0 12px;
}

.product-modal-body p:last-child {
  margin-bottom: 0;
}

.product-modal-body a {
  color: var(--color-accent);
}

/* ----- フッター ----- */
.footer {
  background: var(--color-primary);
  color: #fff;
  padding: 32px 0;
  text-align: center;
}

.footer a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-logo {
  margin: 0 0 12px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-address {
  margin: 0 0 16px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.8;
}

/* ========================================
   タブレット以上
   ======================================== */
@media (min-width: 600px) {
  .safe-card {
    padding: 32px 36px;
  }

  .safe-title {
    font-size: 1.35rem;
  }

  .tagline {
    display: block;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    max-height: none;
    border-bottom: none;
    background: transparent;
  }

  .nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 0;
  }

  .nav-list li {
    border: none;
  }

  .nav-list a {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-text {
    font-size: 1.35rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 32px;
  }

  .product-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .product-list--single,
  .product-list--inline {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .product-list--inline {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .product-list--spotlight {
    grid-template-columns: repeat(auto-fit, minmax(200px, 300px));
    justify-content: center;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
  }

  .product-image {
    height: 160px;
  }

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

  .map-wrap {
    max-height: 400px;
  }
}

@media (min-width: 960px) {
  .header-inner {
    padding: 16px 24px;
    max-width: 960px;
    margin: 0 auto;
  }

  .nav-list {
    justify-content: flex-end;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-text {
    font-size: 1.5rem;
  }

  .contact-list {
    grid-template-columns: auto 1fr;
    gap: 8px 24px;
  }

  .contact-list dt {
    grid-column: 1;
  }

  .contact-list dd {
    grid-column: 2;
    margin: 0;
  }

  .contact-list dd + dt {
    margin-top: 12px;
  }

  .map-wrap {
    max-height: 450px;
  }
}
