/* ==========================================
   基本設定（色・余白などの共通値）
   ========================================== */
:root {
  --color-primary: #c8102e;      /* 朱色（鳥居・まぐろのイメージ） */
  --color-primary-dark: #9e0c24;
  --color-ink: #1f1f1f;          /* 墨色 */
  --color-text: #333;
  --color-muted: #666;
  --color-bg: #fffaf3;           /* シャリ色 */
  --color-bg-alt: #f3ede2;
  --color-nori: #23352b;         /* 海苔色 */
  --color-white: #fff;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --header-height: 64px;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-wrap: break-word;
}

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

a {
  color: var(--color-primary);
}

h1,
h2,
h3 {
  color: var(--color-ink);
  line-height: 1.3;
  margin: 0 0 0.5em;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

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

/* ==========================================
   ボタン
   ========================================== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-block {
  display: block;
  width: 100%;
}

/* ==========================================
   ヘッダー・ナビゲーション
   ========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 243, 0.95);
  border-bottom: 1px solid var(--color-bg-alt);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-ink);
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
}

.logo-mark {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

/* ハンバーガーボタン（スマホのみ表示） */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.global-nav {
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-bg);
  box-shadow: var(--shadow);
  display: none;
}

.global-nav.is-open {
  display: block;
}

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

.nav-list a {
  display: block;
  padding: 12px 4px;
  color: var(--color-ink);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--color-bg-alt);
}

.nav-list .nav-cta {
  margin-top: 12px;
  border: none;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
}

/* ==========================================
   メインビジュアル
   ========================================== */
.hero {
  position: relative;
  padding: 72px 0 80px;
  color: var(--color-white);
  background: var(--color-nori);
  overflow: hidden;
}

/* 背景のスライドショー */
.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 文字が読めるよう、写真の上に暗いグラデーションを重ねる */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 30, 24, 0.88) 0%, rgba(20, 30, 24, 0.6) 55%, rgba(20, 30, 24, 0.3) 100%);
}

/* AI生成画像であることの表示 */
.hero-slide-note {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  padding: 2px 10px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

/* 切り替え用のドット（押しやすいよう44pxの領域を確保） */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 2;
  display: flex;
  transform: translateX(-50%);
}

.hero-dot {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.hero-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border: 2px solid var(--color-white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero-dot.is-active::before {
  background: var(--color-white);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd7a8;
}

.hero-title {
  color: var(--color-white);
  font-size: 32px;
  margin-bottom: 16px;
}

.hero-lead {
  max-width: 560px;
  margin: 0 0 20px;
  font-size: 17px;
}

/* メリットを強調する一文 */
.hero-benefit {
  max-width: 560px;
  margin: 0 0 28px;
  padding: 12px 16px;
  border-left: 4px solid #ffd7a8;
  border-radius: 0 8px 8px 0;
  background: rgba(255, 215, 168, 0.16);
  color: #ffe9cf;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-badges li {
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 16px;
}

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

.section-alt {
  background: var(--color-bg-alt);
}

.section-title {
  font-size: 26px;
  text-align: center;
}

/* 見出し下の朱色ライン */
.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 2px;
  background: var(--color-primary);
}

.section-lead {
  margin: 0 auto 36px;
  max-width: 600px;
  text-align: center;
  color: var(--color-muted);
}

/* ==========================================
   体験の特徴
   ========================================== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  padding: 28px 24px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 8px;
}

.feature-card h3 {
  font-size: 20px;
}

.feature-card p {
  margin: 0;
}

/* ==========================================
   参加特典（濃い背景で目立たせる）
   ========================================== */
.section-bonus {
  background: var(--color-nori);
  color: var(--color-white);
  /* 同じ色のフッターと区別するための区切り線 */
  border-bottom: 1px solid rgba(255, 215, 168, 0.3);
}

.section-bonus .section-title {
  color: var(--color-white);
}

.section-bonus .section-lead {
  color: #ffe9cf;
}

.bonus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.bonus-card {
  padding: 28px 24px;
  border: 1px solid rgba(255, 215, 168, 0.45);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
}

.bonus-icon {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 12px;
}

.bonus-label {
  margin: 0 0 4px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd7a8;
}

.bonus-card h3 {
  font-size: 20px;
  color: var(--color-white);
}

.bonus-card p:last-child {
  margin: 0;
}

/* ==========================================
   作るメニュー
   ========================================== */
.menu-list {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  overflow: hidden;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.menu-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.menu-body {
  padding: 20px;
}

.menu-item h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.menu-item p {
  margin: 0;
}

/* ==========================================
   完成した寿司のギャラリー
   ========================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-item-wide img {
  aspect-ratio: 2 / 1;
}

/* 参加者の様子（縦長の写真） */
.guests-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.gallery-item-portrait img {
  aspect-ratio: 4 / 5;
}

/* 3枚のギャラリー：卵焼きの全体が入るよう正方形でそろえる */
.gallery-grid-3 .gallery-item img {
  aspect-ratio: 1 / 1;
}

.gallery-item figcaption {
  padding: 12px 16px;
  font-weight: 700;
  color: var(--color-ink);
}

/* ==========================================
   インストラクター紹介
   ========================================== */
.instructor {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.instructor-photo {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.instructor-body {
  padding: 0 20px 28px;
}

.instructor-role {
  margin: 0 0 4px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.instructor-name {
  font-size: 24px;
}

.instructor-points {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.instructor-points li {
  position: relative;
  padding: 6px 0 6px 28px;
}

.instructor-points li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: var(--color-primary);
  font-weight: 800;
}

/* ==========================================
   当日の流れ
   ========================================== */
.flow-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
}

.flow-step {
  position: relative;
  padding: 0 0 28px 72px;
}

/* 縦のタイムライン線 */
.flow-step::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: var(--color-bg-alt);
}

.flow-step:last-child::before {
  display: none;
}

.flow-time {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  padding: 2px 0;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.flow-step h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.flow-step p {
  margin: 0;
  color: var(--color-muted);
}

/* ==========================================
   料金プラン
   ========================================== */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid transparent;
}

.plan-card-featured {
  border-color: var(--color-primary);
}

.plan-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 2px 16px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.plan-name {
  font-size: 22px;
  text-align: center;
}

.plan-price {
  margin: 0 0 20px;
  text-align: center;
  color: var(--color-muted);
}

.plan-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-ink);
}

.plan-features {
  flex-grow: 1;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.plan-features li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px dashed var(--color-bg-alt);
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: var(--color-primary);
  font-weight: 800;
}

/* ==========================================
   よくある質問
   ========================================== */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.faq-item summary {
  position: relative;
  padding: 18px 48px 18px 20px;
  font-weight: 700;
  color: var(--color-ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* 開閉マーク（＋／−） */
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--color-primary);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
}

/* ベジタリアン向け寿司の一覧 */
.faq-sushi-list {
  margin: -8px 0 0;
  padding: 0 20px 20px 44px;
}

.faq-sushi-list li {
  padding: 2px 0;
}

/* ==========================================
   アクセス
   ========================================== */
.access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.access-info {
  margin: 0;
  padding: 24px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.access-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-bg-alt);
}

.access-row:last-child {
  border-bottom: none;
}

.access-row dt {
  font-weight: 700;
  color: var(--color-ink);
}

.access-row dd {
  margin: 0;
}

.access-map {
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--color-bg-alt);
}

/* Googleマップの埋め込み */
.access-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

/* ==========================================
   予約フォーム
   ========================================== */
/* フォーム上の「特典あり」のお知らせ */
.bonus-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  padding: 14px 18px;
  border: 2px dashed var(--color-primary);
  border-radius: var(--radius);
  background: #fff5f6;
  color: var(--color-ink);
  text-decoration: none;
}

.bonus-notice:hover {
  background: #ffecef;
}

.bonus-notice-icon {
  flex-shrink: 0;
  font-size: 28px;
  line-height: 1;
}

.bonus-notice strong {
  color: var(--color-primary);
}

.bonus-notice-link {
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

.booking-form {
  padding: 28px 20px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--color-ink);
}

.required {
  color: var(--color-primary);
}

/* iPhoneで入力時に拡大されないよう16px以上にする */
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid #ccc;
  border-radius: 8px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid rgba(200, 16, 46, 0.25);
  border-color: var(--color-primary);
}

.form-field.has-error input,
.form-field.has-error select {
  border-color: var(--color-primary);
  background: #fff5f6;
}

.form-hint {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-muted);
}

.form-error {
  margin: 4px 0 0;
  font-size: 16px;
  color: var(--color-primary);
}

.form-error:empty {
  display: none;
}

.form-total {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--color-bg-alt);
  text-align: right;
}

.form-total strong {
  font-size: 20px;
  color: var(--color-ink);
}

.form-success,
.form-failure {
  margin: 16px 0 0;
  padding: 16px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
}

.form-success {
  background: #eaf6ec;
  color: #1e5b2a;
}

/* 送信に失敗したときのメッセージ */
.form-failure {
  background: #fff5f6;
  color: var(--color-primary-dark);
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

/* ==========================================
   フッター
   ========================================== */
.site-footer {
  padding: 32px 0;
  background: var(--color-nori);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

.footer-logo {
  margin: 0 0 4px;
  font-weight: 800;
  font-size: 18px;
  color: var(--color-white);
}

.footer-copy {
  margin: 0;
  font-size: 16px;
}

/* ==========================================
   スクロール時のふわっと表示
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* JSが動かない環境では最初から表示する */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-slide {
    transition: none;
  }
}

/* ==========================================
   タブレット以上（600px〜）
   ========================================== */
@media (min-width: 600px) {
  .hero-title {
    font-size: 42px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item-wide {
    grid-column: 1 / -1;
  }

  .guests-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bonus-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  /* 写真を左、紹介文を右に並べる */
  .instructor {
    grid-template-columns: 2fr 3fr;
    align-items: center;
  }

  .instructor-body {
    padding: 32px 32px 32px 8px;
  }

  .booking-form {
    padding: 40px;
  }
}

/* ==========================================
   PC（900px〜）
   ========================================== */
@media (min-width: 900px) {
  .hero {
    padding: 120px 0 128px;
  }

  .hero-title {
    font-size: 52px;
  }

  .section {
    padding: 96px 0;
  }

  .section-title {
    font-size: 34px;
  }

  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .menu-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .menu-item {
    text-align: center;
  }

  .guests-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .plan-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .access-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================
   PCナビ（1024px〜）：項目が多いため広い画面で切り替える
   ========================================== */
@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .global-nav {
    position: static;
    display: block;
    background: none;
    box-shadow: none;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
  }

  .nav-list a {
    padding: 8px 12px;
    border-bottom: none;
  }

  .nav-list a:hover {
    color: var(--color-primary);
  }

  .nav-list .nav-cta {
    margin: 0 0 0 8px;
    padding: 8px 20px;
  }

  .nav-list .nav-cta:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
  }
}
