/* ============================================================
   ROOT VARIABLES & RESET
   ============================================================ */
:root {
  --bg:          #faf8f4;   /* 温かみのあるクリーム */
  --bg-card:     #ffffff;
  --bg-card-alt: #f4f0e8;

  --text:        #3a2e26;   /* 温かみのあるダークブラウン */
  --text-muted:  #8a7060;
  --text-faint:  #c8b4a0;

  --accent:      #5a8a6e;   /* セージグリーン — ハーブ・自然の色 */
  --accent-rust: #e07b47;   /* テラコッタ — サブアクセント */
  --accent-blue: #7aaa96;   /* ライトセージ */
  --accent-night:#9b8fb8;   /* ラベンダー */

  --border:        rgba(42, 31, 24, 0.09);
  --border-accent: rgba(90, 138, 110, 0.30);

  --radius:    10px;
  --radius-lg: 22px;

  --header-h: 68px;

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);

  /* Time-reactive accent color — JSで上書きされます */
  --time-accent:    #5a8a6e;
  --time-accent-10: rgba(90, 138, 110, 0.12);
  --time-accent-04: rgba(90, 138, 110, 0.06);
}

/* 時間帯ムード — 料理の色彩をインスパイア */
body[data-mood="morning"]   { --time-accent: #e8976a; --time-accent-10: rgba(232,151,106,0.12); --time-accent-04: rgba(232,151,106,0.06); } /* 朝焼け・バター */
body[data-mood="afternoon"] { --time-accent: #5a8a6e; --time-accent-10: rgba( 90,138,110,0.12); --time-accent-04: rgba( 90,138,110,0.06); } /* 新鮮なハーブ */
body[data-mood="evening"]   { --time-accent: #c9834a; --time-accent-10: rgba(201,131, 74,0.12); --time-accent-04: rgba(201,131, 74,0.06); } /* 夕暮れ・はちみつ */
body[data-mood="night"]     { --time-accent: #9b8fb8; --time-accent-10: rgba(155,143,184,0.12); --time-accent-04: rgba(155,143,184,0.06); } /* 深夜のラベンダー */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
  cursor: none;
  transition: background-color 2s ease;
}

/* タッチデバイスではカーソルを通常表示 */
@media (hover: none) {
  body { cursor: auto; }
}

a            { color: inherit; text-decoration: none; cursor: none; }
@media (hover: none) { a { cursor: pointer; } }
img          { display: block; max-width: 100%; }
button       { cursor: none; border: none; background: none; font-family: inherit; }
@media (hover: none) { button { cursor: pointer; } }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
}


/* ============================================================
   PAGE LOADER
   ============================================================ */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s var(--ease-out);
}

#page-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  opacity: 0;
  transform: translateY(20px);
  animation: loaderIn 0.7s var(--ease-out) 0.2s forwards;
}

.loader-bar {
  width: 120px;
  height: 3px;
  background: var(--border);
  margin: 24px auto 0;
  overflow: hidden;
  border-radius: 999px;
}

.loader-bar-fill {
  height: 100%;
  width: 0;
  background: var(--time-accent);
  animation: loaderFill 1.4s var(--ease-in-out) 0.5s forwards;
  border-radius: 999px;
}

@keyframes loaderIn   { to { opacity: 1; transform: translateY(0); } }
@keyframes loaderFill { to { width: 100%; } }


/* ============================================================
   PAPER TEXTURE OVERLAY（控えめなナチュラル感）
   ============================================================ */
.grain-overlay {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.016;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  animation: grain 0.45s steps(1) infinite;
}

@keyframes grain {
  0%  { transform: translate(0,    0);    }
  10% { transform: translate(-2%,  -3%);  }
  20% { transform: translate(3%,   1%);   }
  30% { transform: translate(-1%,  4%);   }
  40% { transform: translate(4%,   -2%);  }
  50% { transform: translate(-3%,  2%);   }
  60% { transform: translate(2%,   3%);   }
  70% { transform: translate(-4%,  -1%);  }
  80% { transform: translate(1%,   -4%);  }
  90% { transform: translate(-2%,  3%);   }
  100%{ transform: translate(3%,   -3%);  }
}


/* ============================================================
   CUSTOM CURSOR — Herb Leaf
   ============================================================ */
#cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}

.cursor-leaf {
  position: absolute;
  width: 18px;
  height: 26px;
  overflow: visible;
  will-change: transform;
  filter: drop-shadow(0 1px 4px rgba(90, 138, 110, 0.30));
  /* scale は JS 側で transform に含めて管理 — CSS scale は使わない */
  transition: filter 0.25s;
}

.cursor-leaf path {
  fill: var(--accent);
  fill-opacity: 0.82;
}

.cursor-leaf line {
  stroke: #ffffff;
  stroke-width: 0.9;
  stroke-opacity: 0.55;
}

/* ホバー時: フィルターのみ CSS で変化、スケールは JS が担当 */
body.cursor-hover .cursor-leaf {
  filter: drop-shadow(0 2px 8px rgba(90, 138, 110, 0.45));
}


/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: background 0.5s, backdrop-filter 0.5s, border-color 0.5s, box-shadow 0.5s;
}

#header.is-scrolled {
  background: rgba(250, 248, 244, 0.90);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(58, 46, 38, 0.07);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}

.logo-main {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: color 0.3s;
}

.logo:hover .logo-main { color: var(--time-accent); }

.logo-sub {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

/* Social Nav */
.social-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--text-muted);
  transition: color 0.25s, background 0.25s;
}

.social-link:hover {
  color: var(--time-accent);
  background: var(--time-accent-10);
}

.social-link svg { width: 18px; height: 18px; }

/* Live Indicator */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(224, 68, 68, 0.08);
  border: 1px solid rgba(224, 68, 68, 0.25);
  color: #c94040;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.live-indicator.is-active {
  opacity: 1;
  pointer-events: all;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c94040;
  animation: livePulse 1.4s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1);   }
  50%       { opacity: 0.4; transform: scale(0.6); }
}


/* ============================================================
   SECTION SHARED STYLES
   ============================================================ */
section { padding: 110px 0; }

.section-header { margin-bottom: 52px; }

.section-num {
  display: block;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--time-accent);
  margin-bottom: 10px;
  transition: color 1.5s ease;
}

.section-title {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--text);
}

.section-subtitle {
  margin-top: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.section-footer {
  margin-top: 52px;
  display: flex;
  justify-content: center;
}

/* スクロール表示アニメーション */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }

/* 共有ボタン */
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 1.5px solid var(--border-accent);
  border-radius: 999px;
  color: var(--time-accent);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: background 0.3s, color 0.3s, border-color 0.3s, gap 0.3s, box-shadow 0.3s;
}

.btn-more:hover {
  background: var(--time-accent);
  color: #fff;
  border-color: var(--time-accent);
  gap: 16px;
  box-shadow: 0 6px 22px rgba(90, 138, 110, 0.28);
}


/* ============================================================
   HERO / RECOMMENDATION
   ============================================================ */
#hero_recommendation {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 72px);
  padding-bottom: 80px;
  background: var(--time-accent-04);
  transition: background 2s ease;
}

/* 背景動画 */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 動画の上に半透明オーバーレイ（コンテンツの可読性確保） */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(250, 248, 244, 0.78) 0%,
    rgba(250, 248, 244, 0.55) 50%,
    rgba(250, 248, 244, 0.40) 100%
  );
}

/* 動画の上にコンテンツを重ねる */
#hero_recommendation > *:not(.hero-video-bg) {
  position: relative;
  z-index: 1;
}

/* 動画なし・読み込み前はbg-colorで自然にフォールバック */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* ── 最新動画フローティングバナー ── */
.hero-video-banner {
  position: absolute;
  bottom: 56px;
  right: 5%;
  z-index: 10;
  width: 300px;
  background: rgba(250, 248, 244, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(90, 138, 110, 0.22);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(42, 30, 20, 0.14);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out),
              box-shadow 0.3s;
}

.hero-video-banner.is-ready {
  opacity: 1;
  transform: translateY(0);
}

.hero-video-banner:hover {
  box-shadow: 0 14px 44px rgba(42, 30, 20, 0.2);
}

.hvb-link {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: inherit;
}

.hvb-thumb {
  position: relative;
  flex: 0 0 96px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hvb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.hero-video-banner:hover .hvb-thumb img {
  transform: scale(1.06);
}

.hvb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(90, 138, 110, 0.55);
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s;
}

.hero-video-banner:hover .hvb-play {
  opacity: 1;
}

.hvb-info {
  flex: 1;
  padding: 10px 14px;
  min-width: 0;
}

.hvb-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 5px;
}

.hvb-title {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero-video-banner {
    width: 260px;
    bottom: 40px;
  }
}

@media (max-width: 600px) {
  .hero-video-banner {
    display: none;
  }
}

/* やわらかいブロブ背景 */
#hero_recommendation::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--time-accent-10) 0%, transparent 65%);
  top: -160px;
  right: -140px;
  pointer-events: none;
  transition: background 2s ease;
}

#hero_recommendation::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 125, 94, 0.06) 0%, transparent 70%);
  bottom: -80px;
  left: 5%;
  pointer-events: none;
}

/* 装飾用大きなテキスト */
.hero-bg-text {
  position: absolute;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(9rem, 22vw, 20rem);
  letter-spacing: -0.02em;
  color: rgba(58, 46, 38, 0.030);
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* 縦のアクセントライン */
.hero-accent-line {
  position: absolute;
  left: calc(5% + 60px);
  top: calc(var(--header-h) + 40px);
  bottom: 80px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--time-accent), transparent);
  opacity: 0.20;
  transition: background 1.5s ease;
}

.hero-inner {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  gap: 64px;
  width: 100%;
}

/* 縦書きメタ */
.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.time-greeting {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  writing-mode: vertical-rl;
  color: var(--time-accent);
  line-height: 1;
  letter-spacing: 0.1em;
  transition: color 1.5s ease;
}

.time-label {
  font-size: 0.6rem;
  color: var(--text-faint);
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

/* おすすめカード */
.hero-card {
  position: relative;
  max-width: 560px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transform: rotate(-0.6deg);
  transition: transform 0.5s var(--ease-bounce), box-shadow 0.5s, border-color 0.3s;
  box-shadow:
    0 4px 24px rgba(58, 46, 38, 0.08),
    0 16px 56px rgba(58, 46, 38, 0.06);
  overflow: visible;
}

.hero-card:hover {
  transform: rotate(0deg) translateY(-5px);
  border-color: var(--border-accent);
  box-shadow:
    0 8px 32px rgba(58, 46, 38, 0.10),
    0 24px 72px rgba(58, 46, 38, 0.08),
    0 0 0 1px var(--border-accent);
}

/* マスキングテープ風デコレーション */
.hero-card::before,
.hero-card::after {
  content: '';
  position: absolute;
  width: 44px;
  height: 14px;
  background: rgba(90, 138, 110, 0.22);
  border-radius: 3px;
  z-index: 1;
  backdrop-filter: blur(2px);
}

.hero-card::before { top:    -7px; left:  28px; transform: rotate(-1.5deg); }
.hero-card::after  { bottom: -7px; right: 28px; transform: rotate(1.5deg);  }

/* サムネイル */
.hero-thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.hero-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}

.hero-card:hover .hero-thumbnail img { transform: scale(1.04); }

/* 再生ボタン */
.hero-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.90);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  border: 1px solid rgba(58, 46, 38, 0.10);
  backdrop-filter: blur(8px);
  transition: transform 0.35s var(--ease-bounce), background 0.3s, color 0.3s;
  box-shadow: 0 4px 18px rgba(58, 46, 38, 0.16);
}

.hero-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--time-accent);
  color: #fff;
}

.hero-play-btn svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

/* おすすめバッジ */
.hero-now-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 13px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(58, 46, 38, 0.10);
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  backdrop-filter: blur(8px);
}

/* カード情報エリア */
.hero-info {
  padding: 24px 28px 30px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.hero-mood-label {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--time-accent);
  margin-bottom: 10px;
  transition: color 1.5s ease;
}

.hero-title {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 10px;
  color: var(--text);
}

.hero-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.85;
}

/* スクロールヒント */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-faint);
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--time-accent), transparent);
  opacity: 0.35;
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.5); opacity: 0.25; }
  50%       { transform: scaleY(1);   opacity: 0.55; }
}


/* ============================================================
   VIDEO GRID
   ============================================================ */
#video_grid {
  background: var(--bg);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

/* カードに少し傾きをつけてナチュラル感を演出 */
.video-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.45s var(--ease-bounce), border-color 0.3s, box-shadow 0.45s;
  box-shadow: 0 2px 14px rgba(58, 46, 38, 0.07);
}

.video-card:nth-child(3n+2) { transform: rotate( 0.3deg); }
.video-card:nth-child(3n+3) { transform: rotate(-0.2deg); }

.video-card:hover {
  transform: rotate(0deg) translateY(-8px) !important;
  border-color: var(--border-accent);
  box-shadow: 0 16px 48px rgba(58, 46, 38, 0.12);
}

.video-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}

.video-card:hover .video-thumb-wrap img { transform: scale(1.06); }

/* 再生オーバーレイ */
.video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(250, 248, 244, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.video-card:hover .video-play-overlay { opacity: 1; }

.video-play-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transform: scale(0.75);
  transition: transform 0.35s var(--ease-bounce);
  box-shadow: 0 4px 18px rgba(58, 46, 38, 0.18);
}

.video-card:hover .video-play-icon { transform: scale(1); }

.video-play-icon svg { width: 18px; height: 18px; margin-left: 3px; }

/* カードテキスト */
.video-info {
  padding: 18px 20px 22px;
}

.video-title {
  font-size: 0.90rem;
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text);
}

.video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.video-views::before { content: "▶  "; font-size: 0.6em; }


/* ============================================================
   JOURNAL / NOTE
   ============================================================ */
#journal_section {
  background: var(--bg-card-alt);
  position: relative;
  overflow: hidden;
}

/* 装飾用大きな文字 */
.journal-bg-text {
  position: absolute;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(7rem, 18vw, 16rem);
  color: rgba(58, 46, 38, 0.025);
  top: -0.1em;
  left: -1%;
  letter-spacing: -0.03em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}

/* ジャーナルカード */
.journal-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-bounce), border-color 0.3s, box-shadow 0.4s;
  box-shadow: 0 2px 14px rgba(58, 46, 38, 0.06);
}

/* 上部アクセントライン */
.journal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--time-accent) 0%, transparent 65%);
  border-radius: 3px 3px 0 0;
  transition: background 1.5s ease;
}

.journal-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: 0 14px 42px rgba(58, 46, 38, 0.10);
}

.journal-date {
  font-size: 0.70rem;
  letter-spacing: 0.10em;
  color: var(--time-accent);
  margin-bottom: 12px;
  transition: color 1.5s ease;
}

.journal-title {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 12px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-excerpt {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--time-accent);
  letter-spacing: 0.06em;
  transition: gap 0.3s;
}

.journal-read-more:hover { gap: 12px; }

.journal-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 2;
}

.journal-placeholder a {
  color: var(--time-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ============================================================
   SHOP CATALOG
   ============================================================ */
#shop_catalog {
  background: var(--bg);
}

/* 3カラムグリッド */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* フィーチャーカード: 1枚目は2カラム横長 */
.shop-item:nth-child(1) {
  grid-column: span 2;
}
.shop-item:nth-child(1) .shop-image-wrap {
  aspect-ratio: 16 / 9;
}

.shop-item {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}

.shop-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 48px rgba(58, 46, 38, 0.11);
}

.shop-item-link {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* フィーチャー1枚目だけ横並び */
.shop-item:nth-child(1) .shop-item-link {
  flex-direction: row;
}
.shop-item:nth-child(1) .shop-image-wrap {
  flex: 0 0 56%;
}
.shop-item:nth-child(1) .shop-info {
  flex: 1;
  justify-content: center;
  padding: 32px 28px;
}
.shop-item:nth-child(1) .shop-name {
  font-size: 1.1rem;
}

.shop-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  flex-shrink: 0;
}

.shop-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.shop-item:hover .shop-image-wrap img {
  transform: scale(1.05);
}

/* タグバッジ */
.shop-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 13px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  transform: rotate(-1deg);
  box-shadow: 0 2px 8px rgba(40, 28, 20, 0.18);
}

/* テキストエリア */
.shop-info {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.shop-name {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}

.shop-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.shop-price {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.shop-price::before { content: "¥"; font-size: 0.7em; margin-right: 1px; }

.shop-link-hint {
  font-size: 0.75rem;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s, gap 0.2s;
}

.shop-item:hover .shop-link-hint {
  color: var(--accent);
  gap: 7px;
}


/* ============================================================
   ABOUT / PROFILE
   ============================================================ */
#about_section {
  background: var(--bg-card-alt);
  position: relative;
  overflow: hidden;
}

#about_section::before {
  content: 'About';
  position: absolute;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(8rem, 18vw, 16rem);
  color: rgba(58, 46, 38, 0.035);
  top: 50%;
  left: -2%;
  transform: translateY(-50%);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.about-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 72px;
  align-items: start;
}

/* ── 写真カラム ── */
.about-photo-col {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.about-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 20px 56px rgba(42, 30, 20, 0.16);
}

.about-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 装飾フレーム */
.about-photo-deco {
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(90, 138, 110, 0.28);
  border-radius: calc(var(--radius-lg) + 8px);
  pointer-events: none;
  z-index: -1;
}

.about-quote {
  margin-top: 24px;
  padding: 18px 20px;
  background: #fff;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ── テキストカラム ── */
.about-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.about-name {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 4px;
}

.about-name-en {
  font-size: 0.85rem;
  color: var(--text-faint);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.about-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.about-bio {
  margin-bottom: 32px;
}

.about-bio p {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text);
  margin-bottom: 1.2em;
}

.about-bio p:last-child { margin-bottom: 0; }

/* ── ファクトリスト ── */
.about-facts {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 10px 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}

.about-facts dt {
  font-size: 0.75rem;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  padding-top: 1px;
}

.about-facts dd {
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
}

/* ── SNSボタン ── */
.about-sns-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.about-sns-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1.5px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s;
}

.about-sns-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 30, 20, 0.12);
}

.about-sns-yt   { background: #ff4444; color: #fff; }
.about-sns-ig   { background: var(--text); color: #fff; }
.about-sns-note { background: #fff; color: var(--text); border-color: var(--border); }

/* ── レスポンシブ ── */
@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-photo-col {
    position: static;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    align-items: start;
  }
  .about-photo-wrap { aspect-ratio: 1 / 1; }
}

@media (max-width: 600px) {
  .about-photo-col {
    grid-template-columns: 1fr;
  }
  .about-photo-wrap { max-width: 240px; }
}


/* ============================================================
   YOUTUBE CTA BAND
   ============================================================ */
.yt-cta-band {
  background: linear-gradient(
    135deg,
    #1e1008 0%,
    #2d1a0e 50%,
    #1e1008 100%
  );
  padding: 44px 0;
  position: relative;
  overflow: hidden;
}

/* 背景装飾ライン */
.yt-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.015) 40px,
    rgba(255,255,255,0.015) 41px
  );
  pointer-events: none;
}

.yt-cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.yt-cta-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.yt-cta-icon {
  flex-shrink: 0;
  color: #ff4444;
  display: flex;
  filter: drop-shadow(0 0 12px rgba(255, 68, 68, 0.4));
}

.yt-cta-text {
  min-width: 0;
}

.yt-cta-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 4px;
}

.yt-cta-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.yt-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: #ff4444;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(255, 68, 68, 0.35);
}

.yt-cta-btn:hover {
  background: #e03333;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 68, 68, 0.45);
}

@media (max-width: 700px) {
  .yt-cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .yt-cta-left {
    flex-direction: column;
    gap: 12px;
  }
  .yt-cta-btn {
    width: 100%;
    justify-content: center;
  }
}


/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--bg-card-alt);
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
  position: relative;
}

/* 上部グローライン */
.footer-glow-line {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--time-accent) 40%, transparent 100%);
  opacity: 0.30;
  transition: background 1.5s ease;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 60px;
  align-items: start;
  margin-bottom: 52px;
}

/* プロフィールブロック */
.footer-bio {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.footer-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-accent);
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(201, 125, 94, 0.18);
}

.footer-name {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  color: var(--text);
}

.footer-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 300px;
}

/* SNSリンク */
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-social a {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color 0.25s, padding-left 0.25s;
}

.footer-social a:hover {
  color: var(--time-accent);
  padding-left: 4px;
}

/* イースターエッグ */
.easter-egg-area {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
}

.easter-egg-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(201, 125, 94, 0.08);
  border: 1.5px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--text-muted);
  transition: transform 0.35s var(--ease-bounce), background 0.3s, color 0.3s;
}

.easter-egg-btn:hover {
  transform: rotate(22deg) scale(1.12);
  background: rgba(201, 125, 94, 0.16);
  color: var(--time-accent);
}

.easter-egg-sticker {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(0);
  transform-origin: bottom center;
  font-size: 3rem;
  pointer-events: none;
  transition: transform 0.5s var(--ease-bounce);
  filter: drop-shadow(0 6px 14px rgba(58, 46, 38, 0.20));
}

.easter-egg-sticker.is-visible {
  transform: translateX(-50%) scale(1);
}

.sticker-inner {
  animation: stickerWiggle 1.1s ease-in-out infinite;
}

@keyframes stickerWiggle {
  0%, 100% { transform: rotate(-6deg); }
  50%       { transform: rotate( 6deg); }
}

/* ボトムバー */
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright,
.footer-made {
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
}


/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 900px) {

  section { padding: 80px 0; }

  .hero-inner {
    grid-template-columns: 48px 1fr;
    gap: 36px;
  }

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

  .shop-item:nth-child(1) { grid-column: span 2; }
  .shop-item:nth-child(1) .shop-item-link { flex-direction: column; }
  .shop-item:nth-child(1) .shop-image-wrap { flex: none; aspect-ratio: 16 / 9; }
  .shop-item:nth-child(1) .shop-info { padding: 18px 20px 20px; justify-content: flex-start; }

  .footer-inner {
    grid-template-columns: 1fr auto;
    gap: 32px;
  }

  .easter-egg-area {
    grid-column: 2;
    grid-row: 1;
  }
}


/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 600px) {

  section { padding: 64px 0; }
  .section-header { margin-bottom: 36px; }

  /* ヒーロー */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-meta {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .time-greeting {
    writing-mode: horizontal-tb;
    font-size: 1.5rem;
  }

  .time-label {
    writing-mode: horizontal-tb;
    font-size: 0.6rem;
  }

  .hero-accent-line { display: none; }

  /* グリッド */
  .video-grid,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  /* ショップ */
  .shop-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .shop-item:nth-child(1) { grid-column: span 2; }
  .shop-item:nth-child(1) .shop-item-link { flex-direction: column; }
  .shop-item:nth-child(1) .shop-image-wrap { flex: none; aspect-ratio: 4 / 3; }
  .shop-item:nth-child(1) .shop-info { padding: 16px 18px 18px; justify-content: flex-start; }

  /* フッター */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bio {
    flex-direction: column;
    gap: 16px;
  }

  .footer-social {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* モバイルではカーソルを非表示 */
  #cursor { display: none; }
  body     { cursor: auto; }
  button   { cursor: pointer; }
  .cursor-leaf { display: none; }

  /* 小画面では3つ以降のSNSリンクを非表示 */
  .social-nav .social-link:nth-child(n+4) { display: none; }
}
