/* ================================================
   りすたっち
   ================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

/* ── iPhone セーフエリア色（上：ステータスバー背面をクリームで塗り） ── */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0; right: 0;
  height: var(--safe-top);
  background: #FAF7F2;
  z-index: 9999;
  pointer-events: none;
}

:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --bg:       #FAF7F2;
  --bg2:      #F3EDE3;
  --bg3:      #EDE4D8;
  --brown:    #7A6050;
  --caramel:  #C4956A;
  --caramel2: #DDB48A;
  --text:     #3A2A20;
  --text-mid: #6B4E3D;
  --text-lt:  #9A7A6E;
  --white:    #FFFFFF;
  --header-bg: rgba(250,247,242,0.90);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: #4A3828;
}
body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
h1, h2, h3 { font-family: 'Zen Maru Gothic', sans-serif; font-weight: 400; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Keyframes ── */

@keyframes floatThumb {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
@keyframes floatGentleMobile {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-7px); }
}
@keyframes floatHero {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
@keyframes charIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatA {
  0%,100% { transform: translateY(0px) rotate(0deg); }
  50%     { transform: translateY(-16px) rotate(2deg); }
}
@keyframes floatB {
  0%,100% { transform: translateY(0px) rotate(-2deg); }
  50%     { transform: translateY(-22px) rotate(3deg); }
}
@keyframes drawLine {
  from { stroke-dashoffset: 1200; }
  to   { stroke-dashoffset: 0; }
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}
@keyframes scrollBreath {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── スクロールアニメーション ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1),
              transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }

/* ── 共通セクション ── */
.container { max-width: 1000px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--caramel);
  text-transform: uppercase;
  margin-bottom: 0;
}
.section-title {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  margin-bottom: 28px;
  color: var(--text);
  letter-spacing: 0.04em;
}
.section-lead {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 2.1;
  margin-bottom: 40px;
}

/* ── ヘッダー ── */
header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: calc(100% - 80px);
  max-width: 1100px;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 4px 32px rgba(122,96,80,0.12), 0 0 0 1px rgba(122,96,80,0.07);
  padding: 0 32px;
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: box-shadow 0.4s;
}
header.scrolled {
  box-shadow: 0 8px 40px rgba(122,96,80,0.18), 0 0 0 1px rgba(122,96,80,0.1);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  color: var(--brown);
  text-decoration: none;
}
.logo-img {
  width: 40px; height: 40px;
  object-fit: contain;
}
nav { display: flex; align-items: center; gap: 4px; }
nav a {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  padding: 6px 12px;
  border-radius: 20px;
  transition: all 0.2s;
}
nav a:hover { color: var(--caramel); }
.nav-ig {
  display: inline-flex !important;
  align-items: center;
  padding: 6px 8px !important;
}
.nav-ig svg {
  width: 20px;
  height: 20px;
  display: block;
}
.mnav-ig-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mnav-ig-inner svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.nav-cta {
  background: var(--caramel) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  margin-left: 4px;
}
.nav-cta:hover { background: var(--brown) !important; }

/* ── 横スクロール画像ストリップ ── */
.hero-strip {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}
.hero-strip-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: stripScroll 28s linear infinite;
}
.hero-strip-track:hover { animation-play-state: paused; }
.hero-strip-img {
  flex-shrink: 0;
  width: 100vh;
  height: 100vh;
  border-radius: 0;
  object-fit: cover;
  display: block;
}
@keyframes stripScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 860px) {
  .hero-strip-img { width: 100vw; height: 100vw; }
  .hero-strip-track { animation-duration: 20s; }
}

/* ── ヒーロー内ロゴ（モバイル用） ── */
.hero-logo { display: none; }
.hero-logo-img {
  width: 40px; height: 40px;
  object-fit: contain;
}

/* ── ハンバーガー ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  box-shadow: none;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.hamburger:hover { opacity: 0.65; }
.hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(58,42,32,0.25);
  backdrop-filter: blur(4px);
  z-index: 150;
}
.mobile-overlay.open { display: block; }

.mobile-nav {
  display: flex;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 160;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
}
.mobile-nav.open { opacity: 1; visibility: visible; pointer-events: auto; }

.mnav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--brown);
  padding: 8px 4px 16px;
}
.mnav-logo-img {
  width: 38px; height: 38px;
  object-fit: contain;
}

.mnav-item {
  width: 100%;
  max-width: 320px;
  background: var(--white);
  border-radius: 16px;
  padding: 18px 24px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1rem;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s, color 0.2s;
}
.mnav-item::after {
  content: '→';
  color: var(--caramel);
  font-size: 0.9rem;
}
.mnav-item:hover { background: var(--bg2); color: var(--caramel); }

.mobile-cta {
  background: var(--caramel) !important;
  color: var(--white) !important;
  text-align: center;
  margin-top: 8px;
  border-radius: 8px !important;
}

/* ── ボタン ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
.btn-primary {
  background: var(--caramel);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(196,149,106,0.35);
}
.btn-primary:hover { background: var(--brown); }
.btn-outline {
  background: transparent;
  color: var(--brown);
  border: 1.5px solid rgba(122,96,80,0.32);
}
.btn-outline:hover { background: var(--bg2); border-color: var(--brown); }

/* ════════════════════════════════════════════════
   1. TOP
   ════════════════════════════════════════════════ */
#top {
  position: relative;
  min-height: max(100vh, 700px);
  overflow: hidden;
}

/* ── ヒーロー背景スライド ── */
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease;
  will-change: transform, opacity;
}
/* PC: Ken Burns */
@keyframes hbZoomIn  { from { transform: scale(1);    } to { transform: scale(1.08); } }
@keyframes hbZoomOut { from { transform: scale(1.08); } to { transform: scale(1);    } }
@keyframes hbPanL    { from { transform: scale(1.05) translateX(1.5%); } to { transform: scale(1.05) translateX(-1.5%); } }
/* スマホ: 横パン（background-positionで全体を見渡す） */
@keyframes hbMobileLR { from { background-position: 30% center; } to { background-position: 70% center; } }
@keyframes hbMobileRL { from { background-position: 70% center; } to { background-position: 30% center; } }
@media (prefers-reduced-motion: reduce) {
  .hero-bg-layer { animation: none !important; }
}

/* ── ヒーロー縦書きフレーズ ── */
.hp-item {
  position: absolute;
  top: 50%;
  z-index: 2;
  pointer-events: none;
  writing-mode: vertical-rl;
}
.hp-item--right {
  right: max(60px, calc(50% - 360px));
  transform: translateY(-50%);
}
.hp-item--left {
  left: max(60px, calc(50% - 360px));
  transform: translateY(-50%);
}
.hp-col {
  display: block;
  position: relative;
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 2.15;
  color: rgba(58, 42, 32, 0.58);
  letter-spacing: 0.42em;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hp-col::before {
  content: '';
  position: absolute;
  inset: -10px -14px;
  background: rgba(255, 255, 255, 0.3);
  filter: blur(16px);
  z-index: -1;
}
.hp-col.is-in {
  opacity: 1;
}
.hp-col + .hp-col {
  margin-right: 20px;
  margin-top: 24px;
}

.hero-content { display: none; }
.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  color: var(--caramel);
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.3s ease both;
}


.scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 48px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeUp 1.2s 4s ease both, scrollBreath 2.8s 5.2s ease-in-out infinite;
}
.scroll-indicator span {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--text-mid);
  writing-mode: vertical-rl;
  text-shadow: 0 1px 6px rgba(255,255,255,0.6);
}
.scroll-line {
  width: 1px; height: 56px;
  background: var(--caramel2);
  position: relative; overflow: hidden;
}
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%; height: 80px;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}
.hero-wave svg { width: 200%; height: 100%; display: block; animation: waveFlow 12s linear infinite; }

/* ── シャボン玉バブル ── */
.bubble-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}
.hero-bubble {
  display: none;
  position: absolute;
  border-radius: 50%;
  overflow: visible;
  pointer-events: none;
  user-select: none;
  transform-origin: center center;
}
.hero-bubble img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  clip-path: circle(48% at 50% 50%);
  transition: opacity 0.12s ease;
}
.hero-bubble::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,0.45) 0%, transparent 28%),
    radial-gradient(circle at 70% 76%, rgba(255,255,255,0.12) 0%, transparent 20%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.12s ease;
}
.bubble-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2.5px solid rgba(120, 88, 52, 0.52);
  pointer-events: none;
  z-index: 3;
  filter: url(#hand-rough);
  transition: opacity 0.12s ease;
}
.bubble-burst {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0) 44%, rgba(255,255,255,0.78) 47%, rgba(255,255,255,0) 54%),
    radial-gradient(circle at 18% 22%, rgba(255,255,255,0.9) 0 3px, transparent 4px),
    radial-gradient(circle at 80% 18%, rgba(255,255,255,0.85) 0 2px, transparent 3px),
    radial-gradient(circle at 16% 78%, rgba(255,255,255,0.8) 0 2px, transparent 3px),
    radial-gradient(circle at 84% 74%, rgba(255,255,255,0.84) 0 3px, transparent 4px),
    radial-gradient(circle at 48% 8%, rgba(255,255,255,0.75) 0 2px, transparent 3px),
    radial-gradient(circle at 52% 92%, rgba(255,255,255,0.78) 0 2px, transparent 3px);
  transform: scale(0.6);
}
.hero-bubble.is-hidden img,
.hero-bubble.is-hidden .bubble-ring,
.hero-bubble.is-hidden::after {
  opacity: 0;
}
.hero-bubble.is-bursting .bubble-burst {
  animation: bubbleBurst 0.34s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
/* ケンバーンズ：4方向パン */
@keyframes pan-lt { from { transform: scale(1.10) translate( 2%,  1.5%); } to { transform: scale(1.04) translate(-2%, -1.5%); } }
@keyframes pan-rt { from { transform: scale(1.10) translate(-2%,  1.5%); } to { transform: scale(1.04) translate( 2%, -1.5%); } }
@keyframes pan-lb { from { transform: scale(1.10) translate( 2%, -1.5%); } to { transform: scale(1.04) translate(-2%,  1.5%); } }
@keyframes pan-rb { from { transform: scale(1.10) translate(-2%, -1.5%); } to { transform: scale(1.04) translate( 2%,  1.5%); } }

/* ── ヒーロー中央ラッパー（PC/モバイル共通） ── */
.hero-center {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  z-index: 25;
}

.featured-bubble-popup {
  position: relative;
  width:  clamp(300px, min(78vw, 56vh), 420px);
  aspect-ratio: 1;
  height: auto;
  border-radius: 12%;
  background: var(--bg);
  box-shadow: 0 0 0 8px var(--bg), 0 18px 42px rgba(58,42,32,0.24);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.94);
  pointer-events: auto;
  transition:
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.42s;
}
.featured-bubble-popup::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 12%;
  border: 2.5px solid rgba(120, 88, 52, 0.52);
  pointer-events: none;
  filter: url(#hand-rough);
}
/* 画像クリップ用ラッパー（overflow:hidden をここだけに限定） */
.featured-bubble-img-wrap {
  width: 100%;
  height: 100%;
  border-radius: 12%;
  overflow: hidden;
}
.featured-bubble-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-bubble-img-wrap img.pan-lt { animation: pan-lt 6s ease-in-out forwards; }
.featured-bubble-img-wrap img.pan-rt { animation: pan-rt 6s ease-in-out forwards; }
.featured-bubble-img-wrap img.pan-lb { animation: pan-lb 6s ease-in-out forwards; }
.featured-bubble-img-wrap img.pan-rb { animation: pan-rb 6s ease-in-out forwards; }
/* タップ可能な画像 */
.featured-bubble-img-wrap.has-link {
  cursor: pointer;
}
.featured-bubble-popup.is-visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition-delay: 0s;
}
.featured-bubble-thumbs {
  position: absolute;
  left: 50%;
  bottom: 14px;
  top: auto;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
  max-width: min(92vw, 560px);
}
.featured-bubble-thumb {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0.6;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    width 0.25s ease,
    height 0.25s ease;
  box-shadow:
    0 0 0 2.5px var(--white),
    0 2px 8px rgba(58,42,32,0.18);
}
.featured-bubble-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.featured-bubble-thumb.is-active {
  opacity: 1;
  width: 52px;
  height: 52px;
  transform: translateY(-3px) scale(1);
  box-shadow:
    0 0 0 3px var(--white),
    0 0 0 5px rgba(120, 88, 52, 0.5),
    0 6px 16px rgba(58,42,32,0.22);
}

@keyframes bubbleBurst {
  0% {
    opacity: 0.92;
    transform: scale(0.72);
    filter: blur(0);
  }
  65% {
    opacity: 0.5;
    transform: scale(1.18);
    filter: blur(0.6px);
  }
  100% {
    opacity: 0;
    transform: scale(1.42);
    filter: blur(1.2px);
  }
}

/* 3列の中央整列レイアウト */
.hb1 { width:108px; height:108px; left:calc(50% - 210px); top:20%; opacity:0.74; }
.hb2 { width:108px; height:108px; left:calc(50% - 54px);  top:20%; opacity:0.70; }
.hb3 { width:108px; height:108px; left:calc(50% + 102px); top:20%; opacity:0.68; }
.hb4 { width:108px; height:108px; left:calc(50% - 210px); top:35%; opacity:0.72; }
.hb5 { width:108px; height:108px; left:calc(50% - 54px);  top:35%; opacity:0.64; }
.hb6 { width:108px; height:108px; left:calc(50% + 102px); top:35%; opacity:0.78; }
.hb7 { width:108px; height:108px; left:calc(50% - 54px);  top:50%; opacity:0.66; }

/* landscape（スマホ横向き・PC）: 横長に */
@media (min-width: 861px) {
  .featured-bubble-popup {
    width:  clamp(240px, min(55vw, 55vh), 520px);
    aspect-ratio: 1;
  }
}

/* モバイル：サイズを縮小 */
@media (max-width: 860px) {
  .hero-center { top: 38%; }
  .hero-chara-wrap { top: calc(100% + 40px); }
  .hero-chara { width: clamp(140px, 38vw, 165px); }
  .hero-balloon { width: clamp(210px, 56vw, 250px); font-size: 0.92rem; }
  .featured-bubble-thumbs {
    bottom: 10px;
    top: auto;
    gap: 8px;
    max-width: min(92vw, 340px);
  }
  .featured-bubble-thumb {
    width: 28px;
    height: 28px;
  }
  .featured-bubble-thumb.is-active {
    width: 40px;
    height: 40px;
  }
  .featured-bubble-popup::after {
    inset: -6px;
  }
  .hb1 { width:68px; height:68px; left:calc(50% - 120px); top:18%; }
  .hb2 { width:68px; height:68px; left:calc(50% - 34px);  top:18%; }
  .hb3 { width:68px; height:68px; left:calc(50% + 52px);  top:18%; }
  .hb4 { width:68px; height:68px; left:calc(50% - 120px); top:30%; }
  .hb5 { width:68px; height:68px; left:calc(50% - 34px);  top:30%; }
  .hb6 { width:68px; height:68px; left:calc(50% + 52px);  top:30%; }
  .hb7 { width:68px; height:68px; left:calc(50% - 34px);  top:42%; }
}

/* ── ヒーロー前景（草・花・画像は非表示、雲・キャラのみ表示） ── */
.hs-hero-img-wrap, .hs-kusa1, .hs-hana1, .hs-hana2, .hs-hana3, .hs-hana4 { display: none !important; }

/* ── ヒーローシーン素材 ── */
#hero-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hs { position: absolute; width: auto; display: block; }


/* 中央メイン画像（正方形）*/
.hs-hero-img-wrap {
  width: 36%;
  aspect-ratio: 1;
  left: 23%; bottom: 15%;
  top: auto; transform: none;
  z-index: 4;
  overflow: hidden;
  border-radius: 36px;
  box-shadow:
    0 0 0 6px var(--bg),
    0 0 0 10px rgba(122,96,80,0.18),
    0 12px 40px rgba(58,42,32,0.18);
}
.hs-hero-img {
  position: static;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(18%) saturate(85%) brightness(103%);
}


/* 地面前景 - キャラより上に配置（z:5）*/
@keyframes kiSway {
  0%, 100% { transform: translateY(-50%) rotate(-1deg); }
  50%       { transform: translateY(-50%) rotate(1deg); }
}
.hs-ki {
  width: 180px;
  top: 50%;
  z-index: 6;
  transform-origin: bottom center;
}
.hs-ki-l {
  left: calc(50% - clamp(270px, 56vw, 660px) / 2 - 200px);
  animation: kiSway 6s ease-in-out infinite;
  animation-delay: -1.5s;
}
.hs-kusa1 { display: none; }
.hs-hana1 { display: none; }
.hs-hana2 { display: none; }
.hs-hana3 { height: 56px; left: calc(61% + 196px); bottom: 15%; z-index: 5; transform-origin: bottom center; animation: hs-sway-fast 3.9s ease-in-out infinite; animation-delay: -0.7s; }
.hs-hana4 { display: none; }


/* アニメーション */
@keyframes hs-drift        { 0%,100%{transform:translateX(0)}       50%{transform:translateX(40px)} }
@keyframes hs-sway-slow    { 0%,100%{transform:rotate(-1.5deg)}     50%{transform:rotate(1.5deg)} }
@keyframes hs-sway-mid     { 0%,100%{transform:rotate(-2.5deg)}     50%{transform:rotate(2.5deg)} }
@keyframes hs-sway-fast    { 0%,100%{transform:rotate(-4deg)}       50%{transform:rotate(4deg)} }
@keyframes sectionDecoSway {
  0%, 100% { transform: translateY(0) rotate(var(--deco-rotate-from, 0deg)); }
  50% { transform: translateY(-4px) rotate(var(--deco-rotate-to, 4deg)); }
}
@keyframes hs-float        { 0%,100%{transform:translateY(0)}        50%{transform:translateY(-6px)} }
@keyframes hs-bob          { 0%,100%{transform:translateY(0) rotate(-6deg)} 50%{transform:translateY(-14px) rotate(5deg)} }
@keyframes hs-wander       { 0%{transform:translate(0,0) rotate(0deg)} 20%{transform:translate(18px,-10px) rotate(25deg)} 40%{transform:translate(35px,4px) rotate(-15deg)} 60%{transform:translate(18px,14px) rotate(20deg)} 80%{transform:translate(-4px,6px) rotate(-25deg)} 100%{transform:translate(0,0) rotate(0deg)} }
@keyframes hs-fly-land {
  0%            { transform: translate(0, 0)         rotate(0deg);   }
  12%           { transform: translate(-18px, -30px) rotate(-40deg); }
  25%           { transform: translate(10px, -50px)  rotate(30deg);  }
  38%           { transform: translate(30px, -22px)  rotate(15deg);  }
  48%, 72%      { transform: translate(4px, 2px)     rotate(0deg);   }
  82%           { transform: translate(-12px, -28px) rotate(-30deg); }
  92%           { transform: translate(16px, -42px)  rotate(25deg);  }
  100%          { transform: translate(0, 0)         rotate(0deg);   }
}

/* ── ヒーローカルーセル ── */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 620px;
  z-index: 2;
}
.hero-ci {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 520px;
  height: 520px;
  margin-left: -260px;
  margin-top: -260px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(58,42,32,0.28);
}
.hero-ci img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── サムネイル（PC・モバイル共通） ── */
.hero-thumbs {
  position: absolute;
  top: 418px;
  transform: translateY(-50%);
  left: calc(50% - 260px - 24px - 62px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 4;
}
.hero-thumb {
  width: 62px; height: 62px;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.4;
  transition: opacity 0.3s;
  flex-shrink: 0;
}
.hero-thumb.active {
  opacity: 1;
  outline: 2px solid var(--caramel);
  outline-offset: 2px;
}
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── キャラクター＋吹き出し（.hero-center 基準で右下に重ねる） ── */
.hero-chara-wrap {
  position: absolute;
  top: calc(100% + 30px);
  right: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  z-index: 5;
  pointer-events: none;
}
@keyframes charaFloat {
  0%   { transform: translateY(0)    rotate(0deg); }
  40%  { transform: translateY(-6px) rotate(0.8deg); }
  100% { transform: translateY(0)    rotate(0deg); }
}
.hero-chara {
  width: clamp(120px, 22vmin, 165px);
  filter: drop-shadow(0 8px 16px rgba(58,42,32,0.15));
  flex-shrink: 0;
  animation: charaFloat 3.2s ease-in-out infinite;
  transform-origin: bottom center;
}
@keyframes balloonPop {
  0%   { opacity: 0; transform: translateY(5px) scale(0.96); }
  60%  { opacity: 1; transform: translateY(-1px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-balloon.balloon-pop {
  animation: balloonPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards, charaFloat 3.2s ease-in-out infinite;
}
.hero-balloon {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: clamp(0.78rem, 2vmin, 0.95rem);
  color: var(--text-mid);
  white-space: normal;
  width: clamp(165px, 42vmin, 230px);
  min-height: 0;
  line-height: 1.6;
  text-align: center;
  box-shadow: 0 4px 16px rgba(58,42,32,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 0.8s 2s ease both, charaFloat 3.2s ease-in-out infinite;
  pointer-events: auto;
  cursor: default;
}
.hero-balloon.is-refreshing {
  animation: balloonRefresh 0.48s cubic-bezier(0.22, 1, 0.36, 1), charaFloat 3.2s ease-in-out infinite;
}
.hero-balloon-content {
  display: block;
  animation: balloonTextRefresh 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hero-balloon.is-link {
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(58,42,32,0.16);
}
.hero-balloon.is-link::before {
  content: '↗';
  position: absolute;
  top: 10px;
  right: 12px;
  color: var(--caramel);
  font-size: 0.9rem;
  line-height: 1;
  font-weight: 700;
}
.hero-balloon::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: var(--white);
  border-right: none;
}
.hero-balloon a {
  color: var(--caramel);
  text-decoration: underline;
  text-underline-offset: 2px;
  pointer-events: auto;
}

@keyframes balloonRefresh {
  0% {
    opacity: 0.5;
    transform: translateY(8px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes balloonTextRefresh {
  0%   { opacity: 0; transform: scale(0.7) translateY(4px); }
  65%  { opacity: 1; transform: scale(1.06) translateY(-1px); }
  100% { opacity: 1; transform: scale(1)   translateY(0); }
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 12px;
  background: var(--caramel);
  animation: scrollDot 1.8s ease-in-out infinite;
}

/* ════════════════════════════════════════════════
   セクション重なりシステム
   ════════════════════════════════════════════════ */
#shops, #about, #contact, #contact-section {
  position: relative;
  margin-top: -80px;
  overflow: hidden;
}
#shops           { z-index: 2; }
#about           { z-index: 3; }
#contact         { z-index: 4; }
#contact-section { z-index: 5; }
footer           { position: relative; z-index: 6; margin-top: -80px; overflow: hidden; }

.section-deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: 1;
  z-index: 0;
  transform-origin: bottom center;
  animation: sectionDecoSway 5.8s ease-in-out infinite;
}
.deco-shops-flower {
  width: 44px;
  top: 154px;
  right: max(40px, calc(50% - 470px));
  --deco-rotate-from: 6deg;
  --deco-rotate-to: 12deg;
}
.deco-about-flower-2 {
  width: 44px;
  top: 154px;
  right: max(40px, calc(50% - 470px));
  --deco-rotate-from: 5deg;
  --deco-rotate-to: 11deg;
  animation-delay: -2.2s;
}
.deco-contact-flower {
  width: 44px;
  top: 154px;
  right: max(40px, calc(50% - 470px));
  --deco-rotate-from: -9deg;
  --deco-rotate-to: -3deg;
  animation-delay: -0.8s;
}
.deco-contact2-flower {
  width: 44px;
  top: 152px;
  right: max(40px, calc(50% - 470px));
  --deco-rotate-from: 7deg;
  --deco-rotate-to: 13deg;
  animation-delay: -2.8s;
}
.wave-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  overflow: hidden;
  pointer-events: none;
}
.wave-top svg { width: 200%; height: calc(100% + 3px); display: block; animation: waveFlow 10s linear infinite; }

@keyframes waveFlow {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-wave svg, .wave-top svg { animation: none; }
}

/* ════════════════════════════════════════════════
   2. 販売店
   ════════════════════════════════════════════════ */
#shops {
  background: linear-gradient(to bottom, transparent 80px, var(--bg3) 80px);
  padding: 160px max(40px, calc(50% - 480px)) 140px;
}

.shops-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* 2列固定高：画像60% | 情報40% */
.shop-card {
  display: grid;
  grid-template-columns: 3fr 2fr;
  height: 320px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  background: var(--white);
  border-radius: 48px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(122,96,80,0.1);
}

/* 写真エリア：クロスフェード */
.shop-card-photos {
  position: relative;
  overflow: hidden;
  height: 100%;
}
.shop-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2.8s ease;
}
.shop-slide.active {
  opacity: 1;
}

/* ドットインジケーター */
.shop-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 5;
}
.shop-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}
.shop-dot.active {
  background: rgba(255,255,255,0.95);
}

/* 基本情報エリア（説明も含む） */
.shop-card-basic {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--bg3);
  overflow: hidden;
}
.shop-card-name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.shop-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  background: var(--white);
  flex-shrink: 0;
}
.shop-card-basic h3 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1rem;
  color: var(--text);
}
.shop-hours {
  font-size: 0.78rem;
  color: var(--caramel);
  margin-bottom: 4px;
}
.shop-area {
  font-size: 0.78rem;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.shop-closed {
  font-size: 0.72rem;
  color: var(--text-lt);
  margin-bottom: 10px;
}
.shop-desc {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-top: 10px;
}
.shop-links { display: flex; align-items: center; gap: 10px; }
.shop-ig {
  color: var(--text-lt);
  transition: color 0.2s;
  align-self: flex-start;
  display: inline-flex;
}
.shop-ig svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.shop-ig:hover { color: var(--caramel); }

/* ════════════════════════════════════════════════
   3. 商品について
   ════════════════════════════════════════════════ */
#about {
  background: linear-gradient(to bottom, transparent 80px, var(--bg) 80px);
  padding: 160px max(40px, calc(50% - 480px)) 140px;
}

.about-products {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.about-products-lead {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 2.1;
  margin-bottom: 32px;
}
.about-products-ig-link {
  color: var(--caramel);
  text-decoration: none;
  transition: opacity 0.2s;
}
.about-products-ig-link:hover { opacity: 0.7; }

/* ── サブ見出し（作り手経歴・受賞歴など） ── */
.section-divider {
  border: none;
  border-top: 1px solid var(--bg3);
  margin: 48px 0;
}
.sub-heading {
  font-size: 1.3rem;
  font-weight: 500;
  font-family: 'Zen Maru Gothic', sans-serif;
  letter-spacing: 0.08em;
  color: var(--brown);
  margin-top: 56px;
  text-align: center;
}
.sub-heading::after,
.award-photo-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--caramel);
  margin: 10px auto 0;
  border-radius: 2px;
}


/* 作り手プロフィール */
.maker-profile {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 48px;
  margin-bottom: 48px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px 48px;
  background: var(--bg2);
  border-radius: 20px;
  max-width: 75%;
}
.maker-message {
  flex: 1;
}
.maker-role {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1rem;
  color: var(--caramel);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.maker-quote {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1.55rem;
  line-height: 2.2;
  color: var(--text);
  position: relative;
  margin-bottom: 24px;
  text-shadow: 0 1px 0 rgba(58,42,32,0.08);
}

.maker-name {
  font-size: 0.85rem;
  color: var(--text-mid);
  letter-spacing: 0.12em;
  text-align: center;
  margin-top: 10px;
}
.maker-photo {
  flex-shrink: 0;
  width: 150px;
}
.maker-photo img {
  width: 100%;
  border-radius: 16px;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

/* タイムライン経歴 ラッパー */
.career-wrap {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 32px;
  margin-bottom: 48px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.career-images {
  flex-shrink: 0;
  width: 180px;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
}

/* タイムライン経歴 */
.career-timeline {
  position: relative;
  padding-left: 36px;
  width: 380px;
}
.career-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--bg3);
}
.timeline-item {
  position: relative;
  margin-bottom: 36px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -36px;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--caramel);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--caramel2);
}
.timeline-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--brown);
  font-family: 'Zen Maru Gothic', sans-serif;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.timeline-desc {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.85;
  padding-left: 4px;
  white-space: normal;
}

/* 受賞セクション */
.about-award-section {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 48px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.award-photo {
  flex-shrink: 0;
  width: 180px;
}
.award-photo-label {
  margin-top: 0;
  margin-bottom: 20px;
}
.award-photo img {
  width: 100%;
  border-radius: 10px;
  display: block;
}
.about-award-label {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-mid);
  letter-spacing: 0.05em;
}
.about-award-label strong {
  color: var(--caramel);
  font-size: 1.1rem;
}

/* ── 商品カルーセル ── */
.product-scroll-hint { display: none; }
.carousel-outer {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 56px;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 20px;
}
.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(74,56,40,0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.2s ease;
}
.carousel-dot.is-active {
  background: var(--brown, #4A3828);
  transform: scale(1.35);
}
.carousel-dot:hover:not(.is-active) {
  background: rgba(74,56,40,0.45);
}
.product-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 24px;
  margin-top: 0;
  scrollbar-width: none;
  cursor: grab;
  width: 100%;
  padding-left: calc(50vw - 190px);
  padding-right: calc(50vw - 190px);
}
.product-grid::-webkit-scrollbar { display: none; }
.product-grid.is-dragging { cursor: grabbing; }
.product-card {
  flex: 0 0 380px;
  scroll-snap-align: center;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(58,42,32,0.07);
  transition: box-shadow 0.3s ease, opacity 0.35s ease;
  user-select: none;
  flex-shrink: 0;
  opacity: 0.18;
}
.product-card:hover {
  box-shadow: 0 8px 24px rgba(58,42,32,0.14);
}
.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}
.product-seasonal-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--caramel);
  color: var(--white);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 4px 11px;
  border-radius: 20px;
  font-family: 'Zen Maru Gothic', sans-serif;
}
.product-info {
  padding: 16px 18px 20px;
}
.product-name {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 7px;
  letter-spacing: 0.05em;
  font-family: 'Zen Maru Gothic', sans-serif;
}
.product-desc {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ── Instagram誘導 ── */
.about-ig {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}
.about-ig-text {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.about-ig-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--caramel);
  text-decoration: none;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.about-ig-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.about-ig-link:hover {
  opacity: 0.7;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}
.faq-item {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  padding: 22px 28px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--caramel);
  flex-shrink: 0;
  transition: transform 0.35s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s ease;
}
.faq-content p {
  padding: 0 28px 22px;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.9;
}
.faq-shelf {
  margin: 0;
  padding: 4px 28px 14px;
}
.faq-shelf > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(74,56,40,0.07);
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.faq-shelf > div:last-child { border-bottom: none; }
.faq-shelf dt { flex: 1; }
.faq-shelf dd {
  margin: 0;
  font-weight: 500;
  color: var(--brown, #4A3828);
  white-space: nowrap;
}
.faq-content a {
  color: var(--caramel);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-content a[target="_blank"]::after {
  content: '\a0↗';
  font-size: 0.8em;
  vertical-align: 0.1em;
}

/* ════════════════════════════════════════════════
   4. よくある質問
   ════════════════════════════════════════════════ */
#contact {
  background: linear-gradient(to bottom, rgba(250,247,242,0) 78px, var(--bg3) 80px);
  padding: 160px max(40px, calc(50% - 480px)) 140px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* ════════════════════════════════════════════════
   5. お問い合わせ
   ════════════════════════════════════════════════ */
#contact-section {
  background: linear-gradient(to bottom, rgba(237,228,216,0) 78px, var(--bg) 80px);
  padding: 160px max(40px, calc(50% - 480px)) 140px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.contact-intro { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.contact-lead { color: var(--text-mid); font-size: 1rem; line-height: 2; }
.contact-sub  { color: var(--text-mid); font-size: 0.9rem; line-height: 1.8; text-align: center; padding-bottom: 60px; }

/* ── SNS リンク ── */
.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}
.contact-kirikabu {
  width: 80px;
  margin-top: 8px;
  opacity: 0.85;
}
.contact-sns-row {
  display: flex;
  gap: 80px;
}
.contact-sns-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  transition: color 0.2s, transform 0.2s;
}
.contact-sns-card:hover {
  color: var(--caramel);
  transform: translateY(-3px);
}
.sns-icon-lg {
  width: 52px;
  height: 52px;
  fill: currentColor;
}
.sns-label {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}
.contact-mail {
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--text-lt);
}
.contact-mail a {
  color: var(--text-lt);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-note {
  font-size: 0.75rem;
  color: var(--text-lt);
  line-height: 1.8;
}
.form-error {
  font-size: 0.75rem;
  color: #c0392b;
  margin-top: 4px;
  margin-bottom: 0;
}
.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #c0392b;
  outline-color: #c0392b;
}
.form-thanks {
  background: var(--bg2);
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 2;
  text-align: center;
}

@media (max-width: 860px) {
  .form-row { grid-template-columns: 1fr; }
}
.contact-sub {
  margin-top: 48px;
}
.contact-sub-lead {
  font-size: 0.82rem;
  color: var(--text-lt);
  margin-bottom: 14px;
}
.contact-sub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.contact-sub-links a {
  font-size: 0.82rem;
  color: var(--text-lt);
  transition: color 0.2s;
}
.contact-sub-links a:hover { color: var(--caramel); }
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 12px;
  background: var(--white);
  font-size: 0.88rem;
  transition: all 0.3s;
  box-shadow: 0 2px 16px rgba(122,96,80,0.1);
  border: 1px solid transparent;
}
.contact-link:hover {
  box-shadow: 0 12px 32px rgba(122,96,80,0.16);
  border-color: rgba(196,149,106,0.25);
}
.contact-link .icon { font-size: 1.3rem; }

/* ── お知らせバブル ── */
.notice-bubble {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 400;
  background: var(--white);
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(122,96,80,0.2), 0 0 0 1.5px var(--caramel2);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.notice-bubble.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.notice-bubble-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px 12px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}
.notice-bubble-link:hover { opacity: 0.75; }
.notice-bubble-text {
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}
.notice-bubble-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--caramel);
}
@media (max-width: 860px) {
  .notice-bubble {
    bottom: 16px;
    right: 16px;
  }
  .notice-bubble-link {
    padding: 10px 14px 10px 16px;
    gap: 5px;
  }
  .notice-bubble-text {
    font-size: 0.8rem;
  }
  .notice-bubble-icon {
    width: 14px;
    height: 14px;
  }
}

/* ── お知らせモーダル ── */
.notice-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.notice-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.notice-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(58, 42, 32, 0.45);
}
.notice-modal-card {
  position: relative;
  background: var(--cream, #fdf6ee);
  border-radius: 20px;
  padding: 44px 36px 36px;
  max-width: 480px;
  width: calc(100% - 48px);
  max-height: 82vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(58, 42, 32, 0.22);
  transform: translateY(12px);
  transition: transform 0.3s ease;
}
.notice-modal.is-open .notice-modal-card {
  transform: translateY(0);
}
.notice-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-light, #999);
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}
.notice-modal-close:hover { color: var(--brown, #6b4c38); }
.notice-modal-photos {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}
.notice-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2.8s ease;
}
.notice-slide.active { opacity: 1; }
.notice-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 5;
}
.notice-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}
.notice-dot.active { background: rgba(255,255,255,0.95); }
.notice-modal-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brown, #6b4c38);
  margin-bottom: 14px;
  line-height: 1.5;
}
.notice-modal-body {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--text, #4a3728);
  white-space: pre-line;
  margin-bottom: 24px;
}
.notice-modal-link {
  display: inline-block;
  background: var(--caramel, #c08b5c);
  color: #fff;
  text-decoration: none;
  padding: 10px 28px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}
.notice-modal-link:hover { background: var(--brown, #6b4c38); }
@media (max-width: 860px) {
  .notice-modal-card {
    padding: 40px 24px 28px;
    border-radius: 16px;
  }
}

/* ── Footer ── */
footer {
  background: linear-gradient(to bottom, rgba(74,56,40,0) 78px, #4A3828 80px);
  background-color: #4A3828;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  line-height: 1.8;
  padding-top: 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 80px max(40px, calc(50% - 480px)) calc(56px + var(--safe-bottom));
  gap: 40px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}
.footer-nav a {
  color: #ffffff;
  font-size: 0.82rem;
  transition: opacity 0.2s;
  text-align: left;
}
.footer-nav a:hover { opacity: 0.85; }
.footer-sns {
  display: flex;
  gap: 10px;
}
.footer-sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  transition: background 0.2s;
}
.footer-sns-link:hover { background: rgba(255,255,255,0.22); }
.footer-sns-link svg {
  width: 15px; height: 15px;
  display: block;
}
.footer-address {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-align: right;
}

.footer-copy {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
}

@media (max-width: 860px) {
  footer { font-size: 0.74rem; }
  .footer-inner {
    padding: 100px max(30px, calc(50% - 300px)) calc(48px + var(--safe-bottom));
    gap: 20px;
    align-items: flex-start;
  }
  .footer-nav a { font-size: 0.74rem; }
  .footer-address { font-size: 0.7rem; }
  .footer-copy { font-size: 0.64rem; }
}

/* ════════════════════════════════════════════════
   モバイル
   ════════════════════════════════════════════════ */
@media (max-width: 860px) {
  header {
    width: 100%; left: 0; right: 0; transform: none;
    top: 0;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    border-radius: 0;
    box-shadow: 0 2px 16px rgba(122,96,80,0.1);
    padding: var(--safe-top) 16px 0;
    height: calc(56px + var(--safe-top));
  }
  header.scrolled { box-shadow: 0 4px 20px rgba(122,96,80,0.15); }
  nav { display: none; }
  .logo { display: flex; font-size: 0.78rem; }
  .logo-img { width: 28px; height: 28px; }
  .hamburger { display: flex; }
  .hero-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Noto Serif JP', serif;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    color: var(--brown);
    position: absolute;
    top: 20px; left: 20px;
    transform: none;
    white-space: nowrap;
    z-index: 3;
  }

  .scroll-indicator { left: 24px; transform: none; bottom: 80px; }
  #top { padding-top: calc(56px + var(--safe-top)); }

  .hp-item--right {
    right: 20%;
    left: auto;
    top: 42%;
    transform: translateY(-50%);
  }
  .hp-item--left {
    left: 20%;
    right: auto;
    top: 42%;
    transform: translateY(-50%);
  }
  .hp-col {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    line-height: 2.1;
  }
  .hp-col + .hp-col {
    margin-right: 16px;
    margin-top: 28px;
  }
  .hero-carousel { height: 360px; }
  .hero-ci { left: 50%; width: 355px; height: 355px; margin-left: -177px; margin-top: -177px; }
  .hero-thumbs { top: calc(80px + 360px + 16px); left: 0; right: 0; transform: none; flex-direction: row; justify-content: center; }
  .hero-balloon.is-link::before {
    top: 8px;
    right: 10px;
    font-size: 0.8rem;
  }

  .hs-hero-img-wrap { width: min(78%, 48vh); left: 50%; bottom: auto; top: 44%; transform: translateX(-50%) translateY(-50%); }

  /* モバイル：草・花をキャラ対称の左側に配置 */
  .hs-hana2, .hs-hana3, .hs-hana4 { display: none; }
  .hs-kusa1 { display: block; height: 38px; left: 18%; bottom: 55px; }
  .hs-hana1 { display: block; height: 38px; left: 36%; bottom: 55px; }

  #shops, #products, #about, #faq, #contact, #contact-section { padding: 64px max(30px, calc(50% - 300px)) 80px; }

  .wave-top { height: 30px; }
  .hero-wave { height: 30px; }
  .wave-top svg { animation-duration: 20s; }
  .hero-wave svg { animation-duration: 20s; }
  #shops, #about, #contact, #contact-section { margin-top: -30px; }
  footer { margin-top: -30px; }
  #shops    { background: linear-gradient(to bottom, transparent 30px, var(--bg3) 30px); }
  #about    { background: linear-gradient(to bottom, transparent 30px, var(--bg) 30px); }
  #contact  { background: linear-gradient(to bottom, rgba(250,247,242,0) 30px, var(--bg3) 30px); }
  #contact-section { background: linear-gradient(to bottom, rgba(237,228,216,0) 30px, var(--bg) 30px); }
  footer    { background: linear-gradient(to bottom, rgba(74,56,40,0) 30px, #4A3828 30px); }

  .section-deco { opacity: 1; }
  .deco-shops-flower,
  .deco-contact-flower,
  .deco-contact2-flower,
  .deco-about-flower-2 {
    width: 36px;
    top: 112px;
    right: 24px;
  }

  .shop-card { grid-template-columns: 1fr; height: auto; width: 100%; border-radius: 32px; }
  .shop-card-photos { min-height: 200px; height: 200px; }
  .shop-card-basic { border-left: none; border-top: 1px solid var(--bg3); }

  .story-slide { flex-direction: column; gap: 24px; }
  .story-slide-img { width: 100%; }
  .story-slide-img img { height: 220px; }
  .about-award-section { flex-direction: column; text-align: center; }
  .maker-profile { flex-direction: column; gap: 8px; padding: 16px 14px; max-width: 100%; margin-top: 20px; margin-bottom: 20px; }
  .career-wrap { flex-direction: column-reverse; width: 100%; max-width: 480px; margin-left: auto; margin-right: auto; gap: 40px; }
  .career-timeline { width: 100%; }
  .career-images { width: 150px; height: 180px; }
  .maker-photo { width: 90px; }
  .maker-name { text-align: center; margin-top: 2px; }
  .maker-quote { font-size: 1.1rem; margin-bottom: 6px; line-height: 1.9; }

  .carousel-outer {
    margin-top: 32px;
  }
  .product-grid {
    gap: 12px;
    margin-top: 0;
    cursor: default;
    padding-left: 14vw;
    padding-right: 14vw;
  }
  .product-card {
    flex: 0 0 min(72vw, 360px);
    scroll-snap-align: center;
    opacity: 1;
  }
  .product-card:hover .product-img-wrap img { transform: none; }

  .contact-sns-row { gap: 48px; }
  .faq-list { width: 100%; margin-left: 0; margin-right: 0; }

}

