/* ============================================================
   鶴居 TSURUI つるい
   12ヶ月カラーシステム + しっぽり明朝
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

/* ===== 12ヶ月カラー（CSS変数で切替） ===== */

/* デフォルト：フォールバック（7月相当） */
:root {
  --base:       #e0f4fa;
  --base-warm:  #e8f7fc;
  --base-deep:  #c4e8f4;
  --text:       #1a3848;
  --text-strong:#0a2838;
  --text-muted: #4a7080;
  --accent-1:   #90d8f0;
  --accent-2:   #b4e4f4;
  --gold:       #1888a8;
  --hairline:   rgba(10,40,56,0.13);
  --nav-bg:     rgba(255,255,255,0.65);
  --photo-bg:
    radial-gradient(circle at 30% 30%, rgba(180,230,248,0.6) 0%, transparent 50%),
    radial-gradient(circle at 70% 65%, rgba(150,210,240,0.5) 0%, transparent 45%),
    linear-gradient(135deg, #b0ddf0 0%, #68b8d8 50%, #1888a8 100%);
  --hero-overlay: linear-gradient(180deg, rgba(10,40,56,0.1) 0%, rgba(10,40,56,0.55) 100%);
}

/* 1月 睦月 — 雪の白 */
body.month-01 {
  --base:       #f8f8f9;
  --base-warm:  #fafafa;
  --base-deep:  #ededef;
  --text:       #303038;
  --text-strong:#1c1c24;
  --text-muted: #70707a;
  --accent-1:   #e4e4e8;
  --accent-2:   #d4d8e0;
  --gold:       #808090;
  --hairline:   rgba(28,28,36,0.12);
  --nav-bg:     rgba(255,255,255,0.65);
  --photo-bg:
    radial-gradient(circle at 30% 30%, rgba(200,215,230,0.5) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(170,185,200,0.4) 0%, transparent 45%),
    linear-gradient(135deg, #b8c8d8 0%, #8898a8 50%, #607080 100%);
  --hero-overlay: linear-gradient(180deg, rgba(28,28,36,0.1) 0%, rgba(28,28,36,0.55) 100%);
}

/* 2月 如月 — 灰色 */
body.month-02 {
  --base:       #e4e4e8;
  --base-warm:  #eaeaee;
  --base-deep:  #d4d4d8;
  --text:       #38383f;
  --text-strong:#242430;
  --text-muted: #68687a;
  --accent-1:   #c8c8d0;
  --accent-2:   #b8bcc8;
  --gold:       #687080;
  --hairline:   rgba(24,24,40,0.14);
  --nav-bg:     rgba(255,255,255,0.65);
  --photo-bg:
    radial-gradient(circle at 40% 30%, rgba(200,200,210,0.5) 0%, transparent 50%),
    radial-gradient(circle at 60% 70%, rgba(170,175,185,0.4) 0%, transparent 45%),
    linear-gradient(135deg, #a8a8b8 0%, #888898 50%, #606070 100%);
  --hero-overlay: linear-gradient(180deg, rgba(24,24,40,0.1) 0%, rgba(24,24,40,0.55) 100%);
}

/* 3月 弥生 — 梅 */
body.month-03 {
  --base:       #f5eef5;
  --base-warm:  #f8f2f8;
  --base-deep:  #e8d8ec;
  --text:       #503058;
  --text-strong:#401848;
  --text-muted: #8a6090;
  --accent-1:   #e0b8e0;
  --accent-2:   #d0c0e0;
  --gold:       #8a3a90;
  --hairline:   rgba(64,24,72,0.13);
  --nav-bg:     rgba(255,255,255,0.65);
  --photo-bg:
    radial-gradient(circle at 30% 40%, rgba(220,180,220,0.6) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(190,160,210,0.5) 0%, transparent 45%),
    linear-gradient(135deg, #e0b8e0 0%, #c090c0 50%, #8a5898 100%);
  --hero-overlay: linear-gradient(180deg, rgba(64,24,72,0.1) 0%, rgba(64,24,72,0.55) 100%);
}

/* 4月 卯月 — 桃 */
body.month-04 {
  --base:       #f5d8e0;
  --base-warm:  #f8e0e8;
  --base-deep:  #ecc8d4;
  --text:       #5a1830;
  --text-strong:#6a1038;
  --text-muted: #9a5870;
  --accent-1:   #f098b0;
  --accent-2:   #e8b0c4;
  --gold:       #c83060;
  --hairline:   rgba(106,16,56,0.14);
  --nav-bg:     rgba(255,255,255,0.65);
  --photo-bg:
    radial-gradient(circle at 30% 40%, rgba(240,180,200,0.6) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(220,150,170,0.5) 0%, transparent 45%),
    linear-gradient(135deg, #f0b8c8 0%, #d08090 50%, #a85870 100%);
  --hero-overlay: linear-gradient(180deg, rgba(106,16,56,0.1) 0%, rgba(106,16,56,0.55) 100%);
}

/* 5月 皐月 — 薄緑 */
body.month-05 {
  --base:       #f0f8ee;
  --base-warm:  #f5faf3;
  --base-deep:  #ddf0de;
  --text:       #2a4830;
  --text-strong:#1a3820;
  --text-muted: #607060;
  --accent-1:   #c0e8c8;
  --accent-2:   #d4f0d0;
  --gold:       #4a7850;
  --hairline:   rgba(26,56,32,0.11);
  --nav-bg:     rgba(255,255,255,0.65);
  --photo-bg:
    radial-gradient(circle at 30% 40%, rgba(160,220,170,0.6) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(180,230,180,0.5) 0%, transparent 45%),
    linear-gradient(135deg, #c0e8c8 0%, #88c890 50%, #4a7850 100%);
  --hero-overlay: linear-gradient(180deg, rgba(26,56,32,0.1) 0%, rgba(26,56,32,0.55) 100%);
}

/* 6月 水無月 — 緑 */
body.month-06 {
  --base:       #c4e8bc;
  --base-warm:  #d0edc8;
  --base-deep:  #a8d8a0;
  --text:       #1a3818;
  --text-strong:#0c2810;
  --text-muted: #406840;
  --accent-1:   #68b870;
  --accent-2:   #88cc88;
  --gold:       #206828;
  --hairline:   rgba(12,40,16,0.16);
  --nav-bg:     rgba(255,255,255,0.65);
  --photo-bg:
    radial-gradient(circle at 30% 40%, rgba(80,180,90,0.6) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(60,160,70,0.5) 0%, transparent 45%),
    linear-gradient(135deg, #88c880 0%, #4a9850 50%, #206828 100%);
  --hero-overlay: linear-gradient(180deg, rgba(12,40,16,0.1) 0%, rgba(12,40,16,0.55) 100%);
}

/* 7月 文月 — 水色 */
body.month-07 {
  --base:       #e0f4fa;
  --base-warm:  #e8f7fc;
  --base-deep:  #c4e8f4;
  --text:       #1a3848;
  --text-strong:#0a2838;
  --text-muted: #4a7080;
  --accent-1:   #90d8f0;
  --accent-2:   #b4e4f4;
  --gold:       #1888a8;
  --hairline:   rgba(10,40,56,0.13);
  --nav-bg:     rgba(255,255,255,0.65);
  --photo-bg:
    radial-gradient(circle at 30% 30%, rgba(180,230,248,0.6) 0%, transparent 50%),
    radial-gradient(circle at 70% 65%, rgba(150,210,240,0.5) 0%, transparent 45%),
    linear-gradient(135deg, #b0ddf0 0%, #68b8d8 50%, #1888a8 100%);
  --hero-overlay: linear-gradient(180deg, rgba(10,40,56,0.1) 0%, rgba(10,40,56,0.55) 100%);
}

/* 8月 葉月 — 青 */
body.month-08 {
  --base:       #bcd4f0;
  --base-warm:  #c8dcf4;
  --base-deep:  #a0c0e8;
  --text:       #142848;
  --text-strong:#081838;
  --text-muted: #3c5878;
  --accent-1:   #5898d8;
  --accent-2:   #7cb0e4;
  --gold:       #0848a0;
  --hairline:   rgba(8,24,56,0.16);
  --nav-bg:     rgba(255,255,255,0.65);
  --photo-bg:
    radial-gradient(circle at 30% 30%, rgba(100,170,230,0.5) 0%, transparent 50%),
    radial-gradient(circle at 70% 65%, rgba(80,150,220,0.5) 0%, transparent 45%),
    linear-gradient(135deg, #88c0e8 0%, #3878c8 50%, #0848a0 100%);
  --hero-overlay: linear-gradient(180deg, rgba(8,24,56,0.1) 0%, rgba(8,24,56,0.55) 100%);
}

/* 9月 長月 — 黄色 */
body.month-09 {
  --base:       #f8f6d8;
  --base-warm:  #fafae0;
  --base-deep:  #f0ecb8;
  --text:       #3c3400;
  --text-strong:#302800;
  --text-muted: #787030;
  --accent-1:   #f0d840;
  --accent-2:   #f4e880;
  --gold:       #807000;
  --hairline:   rgba(48,40,0,0.14);
  --nav-bg:     rgba(255,255,255,0.65);
  --photo-bg:
    radial-gradient(circle at 30% 30%, rgba(240,210,60,0.5) 0%, transparent 50%),
    radial-gradient(circle at 70% 65%, rgba(230,200,50,0.4) 0%, transparent 45%),
    linear-gradient(135deg, #f0e050 0%, #d0b808 50%, #808000 100%);
  --hero-overlay: linear-gradient(180deg, rgba(48,40,0,0.1) 0%, rgba(48,40,0,0.55) 100%);
}

/* 10月 神無月 — 紅葉 */
body.month-10 {
  --base:       #f5e0cc;
  --base-warm:  #f9e8d4;
  --base-deep:  #ecd0b4;
  --text:       #601000;
  --text-strong:#500800;
  --text-muted: #9a5030;
  --accent-1:   #e84820;
  --accent-2:   #f08040;
  --gold:       #c02800;
  --hairline:   rgba(80,8,0,0.13);
  --nav-bg:     rgba(255,255,255,0.65);
  --photo-bg:
    radial-gradient(circle at 25% 35%, rgba(232,72,32,0.5) 0%, transparent 40%),
    radial-gradient(circle at 70% 55%, rgba(240,128,64,0.5) 0%, transparent 45%),
    linear-gradient(135deg, #e89048 0%, #c83018 50%, #801008 100%);
  --hero-overlay: linear-gradient(180deg, rgba(80,8,0,0.1) 0%, rgba(80,8,0,0.55) 100%);
}

/* 11月 霜月 — 茶色 */
body.month-11 {
  --base:       #e8d4b8;
  --base-warm:  #eedcc0;
  --base-deep:  #d8c0a0;
  --text:       #4c2408;
  --text-strong:#3c1800;
  --text-muted: #806040;
  --accent-1:   #c08040;
  --accent-2:   #a87040;
  --gold:       #8a4810;
  --hairline:   rgba(60,24,0,0.14);
  --nav-bg:     rgba(255,255,255,0.65);
  --photo-bg:
    radial-gradient(circle at 30% 35%, rgba(180,120,50,0.5) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(160,100,40,0.4) 0%, transparent 45%),
    linear-gradient(135deg, #c09060 0%, #8a5820 50%, #5a3000 100%);
  --hero-overlay: linear-gradient(180deg, rgba(60,24,0,0.1) 0%, rgba(60,24,0,0.55) 100%);
}

/* 12月 師走 — 黒 */
body.month-12 {
  --base:       #1e1e22;
  --base-warm:  #262628;
  --base-deep:  #141416;
  --text:       #c4c4cc;
  --text-strong:#f0f0f4;
  --text-muted: #7a7a88;
  --accent-1:   #383840;
  --accent-2:   #2c2c38;
  --gold:       #9898a8;
  --hairline:   rgba(240,240,244,0.10);
  --nav-bg:     rgba(30,30,34,0.85);
  --photo-bg:
    radial-gradient(circle at 30% 30%, rgba(50,50,70,0.6) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(30,30,50,0.5) 0%, transparent 45%),
    linear-gradient(135deg, #383848 0%, #202030 50%, #0c0c18 100%);
  --hero-overlay: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.65) 100%);
}

/* ===== Base ===== */
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: var(--text);
  background: var(--base);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  transition: background 0.6s ease, color 0.6s ease;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 56px;
}
.nav-brand {
  font-family: "Shippori Mincho B1", serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-strong);
  text-decoration: none;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-family: "Shippori Mincho B1", serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text);
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.2s, color 0.2s;
  padding: 4px 0;
}
.nav-links a:hover { opacity: 1; color: var(--text-strong); }
.nav-links a.active {
  opacity: 1;
  color: var(--text-strong);
  border-bottom: 1px solid var(--gold);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  padding: 0 24px;
  background: var(--photo-bg);
  background-size: cover;
  background-position: center;
  transition: background 0.6s ease;
}
/* 写真本体：2層クロスフェード + Ken Burns 効果 */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2s ease;
  transform-origin: center;
  animation: heroKenBurns 22s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
.hero-bg.active { opacity: 1; }
.hero-bg[data-layer="b"] { animation-delay: -11s; } /* 半周ずらし */
@keyframes heroKenBurns {
  from { transform: scale(1.08) translate(0, 0); }
  to   { transform: scale(1.28) translate(-3.5%, 3.5%); }
}
/* 旧 single 用フォールバック（写真1枚しか無い時） */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-img, none);
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform-origin: center;
  animation: heroKenBurns 22s ease-in-out infinite alternate;
  will-change: transform;
}
/* JSが .hero-bg.active を1つでも作ったら ::before は隠す */
.hero.has-layers::before { display: none; }
/* 右側に薄いグラデ（縦書き文字の可読性確保） */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 30%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 640px;
}

/* ===== 縦書きヒーローテキスト（単一列・上から「鶴の里」→「鶴居」） ===== */
.hero-vtext {
  position: absolute;
  right: clamp(24px, 5.5vw, 72px);
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  z-index: 5;
  color: #fff;
  text-shadow: 0 2px 28px rgba(0,0,0,0.7), 0 1px 6px rgba(0,0,0,0.5);
  max-height: 82vh;
  pointer-events: none;
  white-space: nowrap;
  line-height: 1.05;
  text-align: center;
}
.v-tag {
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(18px, 1.9vw, 26px);
  font-weight: 400;
  letter-spacing: 0.4em;
  padding-inline-end: clamp(20px, 2.6vw, 40px);
}
/* 「鶴の里」は1文字ずつ順番にフェードイン */
.v-tag > span {
  display: inline-block;
  opacity: 0;
  animation: heroCharFade 0.6s ease forwards;
}
.v-tag > span:nth-child(1) { animation-delay: 0.3s; }
.v-tag > span:nth-child(2) { animation-delay: 0.8s; }
.v-tag > span:nth-child(3) { animation-delay: 1.3s; }
@keyframes heroCharFade {
  to { opacity: 1; }
}
/* 「鶴居」は鶴の里が出揃った後にさっと登場 */
.v-name {
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 600;
  letter-spacing: 0.25em;
  opacity: 0;
  animation: heroTextRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 2.9s forwards;
}
@keyframes heroTextRise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .hero-vtext {
    right: 20px;
  }
  .v-tag { font-size: 17px; letter-spacing: 0.3em; }
  .v-name { font-size: 36px; letter-spacing: 0.22em; }
}
/* モバイルでは Ken Burns を軽めに（GPU/バッテリー負荷軽減） */
@media (max-width: 640px) {
  @keyframes heroKenBurns {
    from { transform: scale(1.04); }
    to   { transform: scale(1.12); }
  }
  .hero-bg { will-change: opacity; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero-bg { animation: none; transform: scale(1.05); }
  .v-tag > span, .v-name { opacity: 1; animation: none; }
}
.hero h1 {
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  margin-bottom: 36px;
}
.hero .hairline {
  width: 56px;
  height: 1px;
  background: rgba(255,255,255,0.7);
  margin: 0 auto 36px;
  position: relative;
}
.hero .hairline::before,
.hero .hairline::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  transform: translateY(-50%);
}
.hero .hairline::before { left: -10px; }
.hero .hairline::after { right: -10px; }
.hero p {
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 400;
  line-height: 2.3;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 16px rgba(0,0,0,0.4);
}
/* ===== Section ===== */
.section {
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 24px;
}
.section-wide {
  max-width: 1024px;
  margin: 0 auto;
  padding: 96px 24px;
}
.section h2 {
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: var(--text-strong);
  margin-bottom: 40px;
}
.section h3 {
  font-family: "Shippori Mincho B1", serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--text-strong);
  margin: 48px 0 20px;
}
.section p {
  font-size: 17px;
  line-height: 2.1;
  color: var(--text);
  margin-bottom: 22px;
}
.section p.lead {
  font-size: 20px;
  line-height: 2.0;
  color: var(--text-strong);
  margin-bottom: 36px;
}

/* ===== 次へのリンク（静か） ===== */
.next-links {
  border-top: 1px solid var(--hairline);
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px;
}
.next-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: "Shippori Mincho B1", serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--text-strong);
  text-decoration: none;
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding 0.25s ease, color 0.25s;
  letter-spacing: 0.06em;
}
.next-links a:last-child { border-bottom: none; }
.next-links a:hover {
  padding-left: 12px;
  color: var(--green-deep);
}
.next-links a .arrow {
  color: var(--gold);
  font-size: 24px;
  font-family: "Cormorant Garamond", serif;
}

/* ===== 名所カード ===== */
.spot {
  margin-bottom: 96px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--hairline);
}
.spot:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.spot-photo {
  width: 100%;
  aspect-ratio: 16 / 8;
  background: var(--photo-bg);
  border-radius: 2px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.spot-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
}
@media (max-width: 720px) {
  .spot-grid { grid-template-columns: 1fr; gap: 16px; }
}
.spot-meta { padding-top: 8px; }
.spot .date {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.spot .map-link {
  display: inline-block;
  margin-top: 24px;
  font-family: "Shippori Mincho B1", serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.spot .map-link:hover {
  background: var(--gold);
  color: var(--base-warm);
}
.spot h3 {
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--text-strong);
  margin-bottom: 24px;
}
.spot p {
  font-size: 17px;
  line-height: 2.1;
  color: var(--text);
  margin-bottom: 18px;
}

/* ===== お店カード ===== */
.shop {
  margin-bottom: 72px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--hairline);
}
.shop:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.shop h3 {
  font-family: "Shippori Mincho B1", serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-strong);
  margin-bottom: 8px;
}
.shop .shop-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  letter-spacing: 0.06em;
}
.shop p {
  font-size: 17px;
  line-height: 2.1;
  color: var(--text);
  margin-bottom: 20px;
}
.shop .links {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.shop .links a {
  display: inline-block;
  font-family: "Shippori Mincho B1", serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  padding: 10px 22px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.shop .links a:hover {
  background: var(--gold);
  color: var(--base-warm);
}

/* ===== 思い出 タブ ===== */
.tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 48px;
}
.tabs button {
  background: none;
  border: none;
  font-family: "Shippori Mincho B1", serif;
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 16px 24px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.tabs button.active {
  color: var(--text-strong);
  border-bottom-color: var(--gold);
}

/* ===== 景色アーカイブ ===== */
.keshiki-year-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
}
.keshiki-year-nav .year-btn {
  font-family: "Shippori Mincho B1", serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  transition: all 0.2s;
  white-space: nowrap;
}
.keshiki-year-nav .year-btn:hover {
  color: var(--text-strong);
  border-color: var(--gold);
  background: var(--base-warm);
}
.keshiki-year-nav .year-btn.disabled {
  visibility: hidden;
}
.keshiki-year {
  font-family: "Shippori Mincho B1", serif;
  font-size: 22px;
  letter-spacing: 0.3em;
  color: var(--text-strong);
  min-width: 100px;
  text-align: center;
}
.keshiki-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
@media (max-width: 720px) {
  .keshiki-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 480px) {
  .keshiki-grid { grid-template-columns: 1fr; }
  .keshiki-year-nav { flex-wrap: wrap; gap: 12px; }
  .keshiki-year { order: -1; width: 100%; text-align: center; min-width: auto; }
  .keshiki-year-nav .year-btn { font-size: 12px; padding: 6px 10px; letter-spacing: 0.05em; }
}
.keshiki-item {
  display: block;
  text-decoration: none;
  color: inherit;
}
.keshiki-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--base-deep);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 2px;
  margin-bottom: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.15em;
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}
.keshiki-photo .placeholder {
  font-family: "Shippori Mincho B1", serif;
}
.keshiki-item:hover .keshiki-photo {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}
.keshiki-month {
  font-family: "Shippori Mincho B1", serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--text-strong);
  text-align: center;
}
.keshiki-month .small {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 8px;
  letter-spacing: 0.05em;
}

/* ===== 思い出（文箱）投稿フォーム ===== */
.omoide-form {
  background: var(--base-warm);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 28px 28px 24px;
  margin-bottom: 56px;
  position: relative;
}
.omoide-form-title {
  font-family: "Shippori Mincho B1", serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--text-strong);
  margin-bottom: 20px;
}
.omoide-form label {
  display: block;
  font-family: "Shippori Mincho B1", serif;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.08em;
}
.omoide-form input[type="text"],
.omoide-form textarea {
  width: 100%;
  font-family: "Shippori Mincho B1", serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  padding: 10px 14px;
  margin-bottom: 20px;
  box-sizing: border-box;
}
.omoide-form input[type="text"]:focus,
.omoide-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.omoide-form textarea {
  min-height: 80px;
  max-height: 240px;
  resize: vertical;
  font-family: "Shippori Mincho B1", serif;
}
.omoide-form .honeypot {
  position: absolute;
  width: 0;
  height: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.omoide-submit {
  font-family: "Shippori Mincho B1", serif;
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--base-warm);
  background: var(--gold);
  border: none;
  padding: 12px 32px;
  cursor: pointer;
  border-radius: 2px;
  transition: opacity 0.2s;
}
.omoide-submit:hover { opacity: 0.85; }
.omoide-submit:disabled { opacity: 0.4; cursor: not-allowed; }
.omoide-status {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  min-height: 18px;
  letter-spacing: 0.05em;
}

.omoide-photo-preview { margin-top: 4px; }
.omoide-photo-preview img { max-height: 120px; border-radius: 4px; display: block; }

/* ===== 思い出 投稿一覧 ===== */
.omoide-post-photo { margin-bottom: 0.75rem; }
.omoide-post-photo img { width: 100%; max-height: 400px; object-fit: cover; display: block; border-radius: 4px; }
.omoide-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.omoide-post {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 22px 26px;
  overflow: hidden;
}
.omoide-post-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  gap: 16px;
}
.omoide-post-nickname {
  font-family: "Shippori Mincho B1", serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-strong);
  letter-spacing: 0.08em;
}
.omoide-post-time {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.omoide-post-message {
  font-family: "Shippori Mincho B1", serif;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}
.omoide-post-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}
.like-btn {
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--text);
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: border-color 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}
.like-btn:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--text-strong);
}
.like-btn.liked {
  border-color: var(--gold);
  color: var(--gold);
  cursor: default;
}

.omoide-empty {
  text-align: center;
  padding: 56px 22px;
  color: var(--text-muted);
  font-size: 14px;
  background: var(--base-deep);
  border-radius: 4px;
  letter-spacing: 0.06em;
}

/* ===== 文箱アーカイブ ===== */
.fumibako-btn {
  display: block;
  width: 100%;
  margin-top: 32px;
  padding: 18px;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  font-family: "Shippori Mincho B1", serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.fumibako-btn:hover {
  border-color: var(--gold);
  color: var(--text-strong);
}
.omoide-archive {
  margin-top: 8px;
}
.archive-breadcrumb {
  margin-bottom: 20px;
}
.archive-back {
  background: none;
  border: none;
  font-family: "Shippori Mincho B1", serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
}
.archive-back:hover { color: var(--text-strong); }
.archive-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.archive-btn {
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  font-family: "Shippori Mincho B1", serif;
  font-size: 17px;
  letter-spacing: 0.1em;
  color: var(--text);
  padding: 18px 32px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.archive-btn:hover {
  border-color: var(--gold);
  color: var(--text-strong);
}

/* ===== ライトボックス（景色拡大表示） ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  animation: lightboxFadeIn 0.25s ease;
}
.lightbox.is-open {
  display: flex;
}
@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox-image {
  max-width: 92vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  border-radius: 2px;
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 32px;
  cursor: pointer;
  padding: 8px 16px;
  font-family: serif;
  line-height: 1;
  transition: color 0.2s;
}
.lightbox-close:hover {
  color: #fff;
}
.lightbox-caption {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-family: "Shippori Mincho B1", serif;
  font-size: 14px;
  letter-spacing: 0.25em;
  white-space: nowrap;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-size: 24px;
  font-family: serif;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  z-index: 2;
  user-select: none;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-nav.is-hidden { display: none; }
.lightbox-nav.is-disabled { opacity: 0.25; cursor: default; }
.lightbox-dots {
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 2;
}
.lightbox-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 0.2s, transform 0.2s;
}
.lightbox-dots .dot.active {
  background: rgba(255,255,255,0.95);
  transform: scale(1.2);
}
@media (max-width: 640px) {
  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
}

.keshiki-photo.has-photo {
  cursor: zoom-in;
}

/* ===== Footer ===== */
.footer {
  background: var(--base-deep);
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 2.0;
  margin-top: 0;
}
.footer .place {
  font-family: "Shippori Mincho B1", serif;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}
.footer .disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.7;
  margin-top: 16px;
  line-height: 1.7;
}

/* ===== 名所：続きを読む（スマホ） ===== */
.spot-more { display: none; }
@media (max-width: 640px) {
  .spot-more {
    display: block;
    width: 100%;
    margin-top: 20px;
    background: none;
    border: 1px solid var(--gold);
    border-radius: 2px;
    font-family: "Shippori Mincho B1", serif;
    font-size: 15px;
    letter-spacing: 0.15em;
    color: var(--gold);
    padding: 14px;
    cursor: pointer;
  }
  .spot { margin-bottom: 56px; padding-bottom: 48px; }
}

/* ===== モバイル ===== */
@media (max-width: 640px) {
  /* ナビ */
  .nav-inner { padding: 0 16px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 12px; letter-spacing: 0.06em; }

  /* ヒーロー：92vhから65vhに縮小してコンテンツを早く見せる */
  .hero { min-height: 65vh; }

  /* セクション余白縮小 */
  .section { padding: 48px 18px; }
  .section-wide { padding: 48px 18px; }
  .section h2 { font-size: 24px; margin-bottom: 28px; }
  .section p { font-size: 15px; line-height: 1.9; }
  .section p.lead { font-size: 16px; line-height: 1.9; margin-bottom: 24px; }

  /* お店・名所カード */
  .spot-photo { aspect-ratio: 4/3; }
  .next-links a { font-size: 20px; }

  /* 思い出フォーム */
  .omoide-form { padding: 24px 18px; }
  .tabs { gap: 4px; }
  .tabs button { font-size: 14px; padding: 14px 10px; letter-spacing: 0.06em; }

  /* 文箱アーカイブ：スマホは縦1列 */
  .archive-nav { flex-direction: column; gap: 8px; }
  .archive-btn { width: 100%; text-align: center; font-size: 17px; padding: 18px; }
}
