/* ==========================================================
   江戸革扇子 PRサイト
   テーマA（デフォルト）: 白×深紺ミニマル（岡崎酒造参照）
   テーマB: body.theme-momo でMOMOむすび配色に切替
   色・フォントは必ず変数経由で使う（直書きしない）
   ========================================================== */

:root {
  /* ---- テーマA: 白×深紺 ---- */
  --bg: #ffffff;
  --bg-soft: #f7f7f5;          /* ごく薄いグレー。セクションの区切りに */
  --bg-alt: #0f2350;           /* 深紺（商品色「濃藍」に寄せる） */
  --ink: #1a2238;              /* 本文の文字色 */
  --ink-on-dark: #f5f5f2;      /* 紺背景の上の文字色 */
  --accent: #0f2350;           /* ボタン・罫線 */
  --accent-ink: #ffffff;       /* ボタン文字 */
  --muted: #7d8290;            /* 補足文字 */
  --line: #d9dbe0;             /* 罫線 */
  --font-head: "Zen Old Mincho", "Yu Mincho", serif;
  --font-body: "Noto Sans JP", "Yu Gothic", sans-serif;
  --radius: 0;                 /* テーマAは角丸なし */

  /* ---- 商品4色（テーマ非依存の固有色。実物写真到着後に微調整） ---- */
  --c-chitose: #316745;        /* 千歳緑 */
  --c-karasuba: #180614;       /* 烏羽 */
  --c-akane: #b7282e;          /* 茜 */
  --c-koiai: #0f2350;          /* 濃藍 */
}

/* ---- テーマB: MOMOむすびトークン（比較レビュー用） ---- */
body.theme-momo {
  --bg: #faf4ea;
  --bg-soft: #fffdf8;
  --bg-alt: #2b2621;
  --ink: #2b2621;
  --ink-on-dark: #fffdf8;
  --accent: #c56a4a;
  --accent-ink: #fffdf8;
  --muted: #7a6f61;
  --line: #e5dccb;
  --radius: 14px;
}

/* ========================= 基礎 ========================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

section { padding: clamp(72px, 12vw, 140px) 24px; }

.inner { max-width: 960px; margin: 0 auto; }
.inner-narrow { max-width: 640px; margin: 0 auto; }

.sec-title {
  font-size: clamp(22px, 3.2vw, 30px);
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.sec-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 20px auto 0;
}

/* ============ 写真プレースホルダ（実写真到着まで） ============ */
/* 実装メモ: 実写真に差し替えるときは .ph を <img> に置き換える */
.ph {
  background: linear-gradient(135deg, #232f4e 0%, #0f2350 60%, #1b2a52 100%);
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-align: center;
  padding: 12px;
  min-height: 240px;
}

/* ========================= ヘッダー ========================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  color: #fff;
  mix-blend-mode: normal;
}
.site-header .brand {
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 0.22em;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.site-header nav a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-left: 22px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
@media (max-width: 640px) {
  .site-header nav { display: none; }  /* モバイルは三本線メニューに切り替える */
}

/* ---- モバイル用 三本線メニュー ---- */
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 35, 80, 0.55);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
}
@media (max-width: 640px) {
  .menu-btn { display: flex; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 35, 80, 0.97);
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.mobile-menu.open { display: flex; }
.mobile-menu nav a {
  display: block;
  color: #f5f5f2;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 20px;
  letter-spacing: 0.2em;
  padding: 16px 0;
}
.mobile-menu .close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 42px;
  height: 42px;
  border: none;
  background: none;
  color: #f5f5f2;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* ========================= 1. ヒーロー ========================= */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero .hero-media .ph,
.hero .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  /* 写真の上に薄い紺をかけて文字を立たせる（暗い集合写真に合わせて控えめに） */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 45, 0.18);
}
.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}
.hero-copy h1 {
  font-size: clamp(30px, 6vw, 56px);
  letter-spacing: 0.18em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.nowrap { white-space: nowrap; }
.hero-copy .sub {
  margin-top: 20px;
  font-size: clamp(13px, 1.8vw, 16px);
  letter-spacing: 0.3em;
  opacity: 0.9;
}
.hero-copy .sub-brand {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.3em;
  opacity: 0.7;
}
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
  opacity: 0.8;
}
.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: #fff;
  margin: 10px auto 0;
}

/* ========================= 2. メッセージ ========================= */
.message {
  text-align: center;
}
.message p {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.6vw, 24px);
  line-height: 2.4;
  letter-spacing: 0.14em;
}

/* ========================= 3. 物語 ========================= */
.story .chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-bottom: clamp(64px, 10vw, 120px);
}
.story .chapter:last-child { margin-bottom: 0; }
.story .chapter:nth-child(even) .chapter-media { order: 2; }
.story .chapter-media .ph,
.story .chapter-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.story .chapter-text .chapter-num {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-bottom: 14px;
}
.story .chapter-text h3 {
  font-size: clamp(20px, 2.6vw, 26px);
  margin-bottom: 18px;
}
.story .chapter-text p {
  font-size: 15px;
  color: var(--ink);
}
@media (max-width: 720px) {
  .story .chapter { grid-template-columns: 1fr; }
  .story .chapter:nth-child(even) .chapter-media { order: 0; }
}

.story .story-more {
  text-align: center;
  margin-top: clamp(48px, 7vw, 80px);
  font-size: 13px;
  letter-spacing: 0.1em;
}
.story .story-more a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: color 0.3s, border-color 0.3s;
}
.story .story-more a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ========================= 4. 動画 ========================= */
.movie {
  background: var(--bg-alt);
  color: var(--ink-on-dark);
}
.movie .sec-title { color: var(--ink-on-dark); }
.movie .sec-title::after { background: var(--ink-on-dark); }
.movie video {
  /* 素材は縦型動画（720x1280）。中央に置き、高さで制御する */
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
  background: #000;
}
.movie .note {
  text-align: center;
  font-size: 13px;
  color: var(--ink-on-dark);
  opacity: 0.7;
  margin-top: 18px;
  letter-spacing: 0.1em;
}

/* ========================= 5. 四つの色 ========================= */
.colors { background: var(--bg-soft); }
.color-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}
.color-card { text-align: center; }
.color-card .photo {
  /* 商品写真は白背景なので、白い枠ごと見せる */
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12%;
  margin-bottom: 16px;
}
.color-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.color-card h3 {
  font-size: 18px;
  letter-spacing: 0.2em;
}
.color-card .yomi {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--muted);
  margin: 4px 0 8px;
}
.color-card .phrase {
  font-size: 13px;
  color: var(--muted);
}
.color-card .uragara {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.06em;
}
.colors-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 40px;
  letter-spacing: 0.08em;
}
@media (max-width: 720px) {
  .color-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========================= 6. 職人 ========================= */
.craftsman .profile {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.craftsman .profile-media .ph,
.craftsman .profile-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.craftsman .profile-text h3 {
  font-size: 24px;
  margin-bottom: 6px;
}
.craftsman .profile-text .kobo {
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 24px;
}
.craftsman .honors {
  list-style: none;
  border-top: 1px solid var(--line);
}
.craftsman .honors li {
  border-bottom: 1px solid var(--line);
  padding: 14px 4px;
  font-size: 14px;
  display: flex;
  gap: 18px;
}
.craftsman .honors .year {
  color: var(--muted);
  flex-shrink: 0;
  font-size: 13px;
  letter-spacing: 0.1em;
  padding-top: 1px;
}
@media (max-width: 720px) {
  .craftsman .profile { grid-template-columns: 1fr; }
  .craftsman .profile-media { max-width: 320px; margin: 0 auto; }
}

/* ========================= 7. 価格 ========================= */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  max-width: 760px;
  margin: 0 auto;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0 clamp(28px, 4vw, 40px);
  text-align: center;
  background: var(--bg);
  overflow: hidden;
}
.price-card .price-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: clamp(20px, 3vw, 28px);
  border-bottom: 1px solid var(--line);
}
.price-card .price-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.price-card h3 { padding: 0 20px; }
.price-card h3 {
  font-size: 17px;
  margin-bottom: 18px;
}
.price-card .amount {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: 0.06em;
}
.price-card .amount small {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.price-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 28px;
  letter-spacing: 0.08em;
}
@media (max-width: 640px) {
  .price-grid { grid-template-columns: 1fr; }
}

/* ========================= 8. 2導線 ========================= */
.paths { padding: 0; }
.paths .path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.paths .path {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}
.paths .path .ph,
.paths .path img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.paths .path::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 45, 0.45);
  transition: background 0.4s;
}
.paths .path:hover::after { background: rgba(10, 20, 45, 0.6); }
.paths .path-copy {
  position: relative;
  z-index: 2;
}
.paths .path-copy h3 {
  font-size: clamp(24px, 3.4vw, 32px);
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}
.paths .path-copy p {
  font-size: 13px;
  letter-spacing: 0.12em;
  opacity: 0.9;
}
@media (max-width: 720px) {
  .paths .path-grid { grid-template-columns: 1fr; }
  .paths .path { min-height: 260px; }
}

/* ========================= 9. 問い合わせ ========================= */
.contact {
  background: var(--bg-alt);
  color: var(--ink-on-dark);
  text-align: center;
}
.contact .sec-title { color: var(--ink-on-dark); }
.contact .sec-title::after { background: var(--ink-on-dark); }
.contact .lead {
  font-size: 14px;
  margin-bottom: 40px;
  opacity: 0.85;
}
/* 購入ボタン（価格セクション → BASEショップ） */
.buy-wrap { text-align: center; margin-top: 40px; }
.buy-btn {
  display: inline-block;
  min-width: 280px;
  padding: 18px 40px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.16em;
  border-radius: var(--radius);
  transition: opacity 0.3s;
}
.buy-btn:hover { opacity: 0.85; }
.buy-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 12px; }

.contact .btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact .btn {
  display: inline-block;
  min-width: 240px;
  padding: 16px 32px;
  border: 1px solid var(--ink-on-dark);
  border-radius: var(--radius);
  color: var(--ink-on-dark);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.16em;
  transition: background 0.3s, color 0.3s;
}
.contact .btn:hover {
  background: var(--ink-on-dark);
  color: var(--bg-alt);
}
.contact .contact-note {
  margin-top: 32px;
  font-size: 12px;
  opacity: 0.65;
  letter-spacing: 0.08em;
}

/* ========================= 法人ギフトページ ========================= */
/* 法人ページは背景が明るいので、固定ヘッダーの文字を紺にする */
body.biz .site-header .brand,
body.biz .site-header nav a {
  color: var(--ink);
  text-shadow: none;
}

.biz-hero {
  min-height: 88svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(96px, 14vw, 140px) clamp(24px, 6vw, 80px) clamp(48px, 7vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
}
.biz-hero-text .biz-tag {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-bottom: 20px;
}
.biz-hero-text h1 {
  font-size: clamp(28px, 4.4vw, 44px);
  letter-spacing: 0.14em;
  margin-bottom: 28px;
}
.biz-hero-text .biz-lead {
  font-size: 14px;
  color: var(--ink);
  line-height: 2.2;
  letter-spacing: 0.08em;
}
.biz-hero-media img {
  width: 100%;
  max-height: 68svh;
  object-fit: contain;
}
@media (max-width: 720px) {
  .biz-hero { grid-template-columns: 1fr; min-height: 0; text-align: center; }
  .biz-hero-media { max-width: 320px; margin: 0 auto; }
}

/* 選ばれる理由 */
.biz-reasons { background: var(--bg-soft); }
.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.reason h3 {
  font-size: 17px;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.reason p {
  font-size: 13.5px;
  color: var(--ink);
}
@media (max-width: 900px) { .reason-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .reason-grid { grid-template-columns: 1fr; } }

/* できること */
.custom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 48px);
}
.custom-card .custom-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 18px;
}
.custom-card .custom-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.custom-card h3 {
  font-size: 19px;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}
.custom-card p {
  font-size: 14px;
  color: var(--ink);
}
@media (max-width: 720px) { .custom-grid { grid-template-columns: 1fr; } }

/* 活用シーン */
.biz-scenes {
  background: var(--bg-alt);
  color: var(--ink-on-dark);
}
.biz-scenes .sec-title { color: var(--ink-on-dark); }
.biz-scenes .sec-title::after { background: var(--ink-on-dark); }
.scene-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 56px);
}
.scene-list li {
  border: 1px solid rgba(245, 245, 242, 0.5);
  padding: 10px 22px;
  font-size: 14px;
  letter-spacing: 0.14em;
}
.scene-band img { width: 100%; }

/* ご相談の流れ */
.flow-steps {
  list-style: none;
  border-top: 1px solid var(--line);
}
.flow-steps li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 20px 6px;
  font-size: 15px;
  letter-spacing: 0.08em;
}
.flow-steps .num {
  font-family: var(--font-head);
  color: var(--accent);
  flex-shrink: 0;
}
.flow-steps .desc {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--muted);
  text-align: right;
}
.flow-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 32px;
  letter-spacing: 0.08em;
}
@media (max-width: 560px) {
  .flow-steps li { flex-wrap: wrap; }
  .flow-steps .desc { margin-left: 34px; text-align: left; width: 100%; }
}

.site-footer p a { color: var(--muted); }

/* ========================= 10. フッター ========================= */
.site-footer {
  background: var(--bg);
  text-align: center;
  padding: 48px 24px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.site-footer .brand {
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 0.24em;
  color: var(--ink);
  margin-bottom: 12px;
}
.site-footer a { color: var(--muted); }
