/* ─── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --white:    #FFFFFF;
  --cream:    #F8F4EF;
  --marble:   #F2EDE8;
  --gold:     #C9A96E;
  --gold-lt:  #E2C98A;
  --gold-dk:  #9E7B45;
  --charcoal: #2C2A28;
  --gray:     #7A7670;
  --gray-lt:  #B8B4AF;
  --vein1:    #E4DDD5;
  --vein2:    #D8CFC4;
  --shadow:   rgba(44,42,40,0.08);
  --shadow-md:rgba(44,42,40,0.15);
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}
body {
  font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
  width: 100%;
}
::selection { background: var(--gold); color: var(--white); }

/* ─── Marble Texture (pure CSS) ──────────────────── */
.marble-bg {
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse 120% 60% at 20% 30%, rgba(255,255,255,0.9) 0%, transparent 70%),
    radial-gradient(ellipse 80% 40% at 80% 70%, rgba(232,220,208,0.6) 0%, transparent 60%),
    linear-gradient(135deg, rgba(216,207,196,0.3) 0%, transparent 40%),
    linear-gradient(45deg, rgba(228,221,213,0.4) 0%, transparent 50%),
    repeating-linear-gradient(
      -30deg,
      transparent,
      transparent 80px,
      rgba(212,203,192,0.08) 80px,
      rgba(212,203,192,0.08) 82px
    ),
    repeating-linear-gradient(
      60deg,
      transparent,
      transparent 120px,
      rgba(200,191,180,0.06) 120px,
      rgba(200,191,180,0.06) 122px
    );
}
.marble-dark {
  background-color: #1E1C1A;
  background-image:
    radial-gradient(ellipse 100% 50% at 30% 40%, rgba(60,55,50,0.8) 0%, transparent 60%),
    radial-gradient(ellipse 60% 30% at 70% 60%, rgba(80,70,60,0.4) 0%, transparent 50%),
    repeating-linear-gradient(
      -25deg,
      transparent, transparent 60px,
      rgba(201,169,110,0.04) 60px, rgba(201,169,110,0.04) 62px
    ),
    repeating-linear-gradient(
      65deg,
      transparent, transparent 90px,
      rgba(201,169,110,0.03) 90px, rgba(201,169,110,0.03) 92px
    );
}

/* ─── Navigation ──────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 0 5vw;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
}
#nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--vein1), 0 4px 24px var(--shadow);
  height: 60px;
}
.nav-logo {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  transition: color 0.4s;
}
#nav.scrolled .nav-logo { color: var(--charcoal); }
.nav-logo-mark {
  width: 32px; height: 32px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  opacity: 0.9;
}
.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: filter 0.4s, opacity 0.3s;
}
/* ヒーロー上（暗背景）では白く表示 */
#nav:not(.scrolled) .nav-logo-img {
  filter: brightness(0) invert(1);
}
/* スクロール後（白ナビ）では元の色 */
#nav.scrolled .nav-logo-img {
  filter: none;
}
@media (max-width: 600px) {
  .nav-logo-img { height: 36px; }
}
.nav-links {
  display: flex; gap: 2.4rem; list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--gold-lt); }
.nav-links a:hover::after { width: 100%; }
#nav.scrolled .nav-links a { color: var(--gray); }
#nav.scrolled .nav-links a:hover { color: var(--gold-dk); }
.nav-cta {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--white) !important;
  background: var(--gold);
  padding: 10px 22px;
  border-radius: 2px;
  transition: background 0.3s, transform 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-dk) !important; transform: translateY(-1px); }
#nav.scrolled .nav-cta { color: var(--white) !important; }

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 26px; height: 1px; background: var(--white); transition: all 0.3s; }
#nav.scrolled .hamburger span { background: var(--charcoal); }

/* ─── Hero ────────────────────────────────────────── */
#hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-color: #1A1814;
  background-image:
    radial-gradient(ellipse 140% 70% at 50% 40%, rgba(42,38,32,0.9) 0%, rgba(18,16,14,1) 100%),
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(90,75,55,0.3) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(70,60,45,0.2) 0%, transparent 60%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(-20deg, transparent, transparent 100px,
      rgba(201,169,110,0.06) 100px, rgba(201,169,110,0.06) 101px),
    repeating-linear-gradient(70deg, transparent, transparent 150px,
      rgba(201,169,110,0.04) 150px, rgba(201,169,110,0.04) 151px);
  animation: veinShift 20s ease-in-out infinite alternate;
}
@keyframes veinShift {
  0%   { transform: scale(1) translate(0,0); opacity: 1; }
  100% { transform: scale(1.05) translate(8px,-5px); opacity: 0.7; }
}
.hero-particles {
  position: absolute; inset: 0; pointer-events: none;
}
.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--gold-lt);
  border-radius: 50%;
  animation: twinkle var(--dur, 4s) ease-in-out infinite var(--delay, 0s);
  opacity: 0;
}
@keyframes twinkle {
  0%,100% { opacity: 0; transform: scale(1); }
  50%      { opacity: var(--op, 0.6); transform: scale(1.5); }
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 5vw;
  display: flex; flex-direction: column; align-items: center;
}
.hero-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  letter-spacing: 0.45em;
  color: var(--gold);
  margin-bottom: 1.6rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s cubic-bezier(0.4,0,0.2,1) 0.3s forwards;
}
.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 0.6rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.1s cubic-bezier(0.4,0,0.2,1) 0.6s forwards;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold-lt) 0%, var(--gold) 50%, var(--gold-dk) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 3rem;
  line-height: 2;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s cubic-bezier(0.4,0,0.2,1) 1s forwards;
}
.hero-divider {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 2.6rem;
  opacity: 0;
  animation: fadeIn 1s ease 1.3s forwards;
}
.hero-cta-group {
  display: flex; gap: 1.4rem; flex-wrap: wrap; justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s cubic-bezier(0.4,0,0.2,1) 1.4s forwards;
}
.btn-primary {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--charcoal);
  background: linear-gradient(135deg, var(--gold-lt) 0%, var(--gold) 100%);
  padding: 16px 40px;
  border: none; border-radius: 2px; cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(201,169,110,0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201,169,110,0.45);
}
.btn-outline {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.8);
  background: transparent;
  padding: 15px 40px;
  border: 1px solid rgba(255,255,255,0.3); border-radius: 2px; cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s;
}
.btn-outline:hover {
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
  cursor: pointer;
}
.hero-scroll span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.4);
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(180deg, rgba(201,169,110,0.6) 0%, transparent 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1.2); transform-origin: top; }
}

/* ─── Section Commons ────────────────────────────── */
section { padding: 100px 5vw; overflow-x: clip; }
.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  letter-spacing: 0.5em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--charcoal);
  margin-bottom: 1.4rem;
}
.section-title em {
  font-style: normal;
  color: var(--gold-dk);
}
.section-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 2.2;
  color: var(--gray);
  max-width: 520px;
}
.gold-line {
  width: 48px; height: 1px;
  background: var(--gold);
  margin-bottom: 1.6rem;
}

/* ─── Concept ─────────────────────────────────────── */
#concept {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px; margin: 0 auto;
  padding: 120px 5vw;
}
.concept-visual { position: relative; overflow: hidden; }
.concept-frame {
  width: 100%; aspect-ratio: 3/4;
  background-color: #2A2520;
  background-image:
    radial-gradient(ellipse 80% 60% at 40% 30%, rgba(60,50,40,0.9) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 70% 70%, rgba(80,65,50,0.5) 0%, transparent 50%),
    repeating-linear-gradient(-35deg, transparent, transparent 60px,
      rgba(201,169,110,0.07) 60px, rgba(201,169,110,0.07) 61px);
  border-radius: 4px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.concept-inner-icon { text-align: center; }
.concept-moon {
  font-size: 5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 20px rgba(201,169,110,0.5));
  animation: moonGlow 4s ease-in-out infinite;
}
@keyframes moonGlow {
  0%,100% { filter: drop-shadow(0 0 20px rgba(201,169,110,0.4)); }
  50%      { filter: drop-shadow(0 0 40px rgba(201,169,110,0.8)); }
}
.concept-frame-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  color: rgba(201,169,110,0.7);
}
.concept-accent {
  position: absolute;
  top: -24px; right: -24px;
  width: 120px; height: 120px;
  border: 1px solid var(--vein1);
  border-radius: 2px;
}
.concept-accent2 {
  position: absolute;
  bottom: -24px; left: -24px;
  width: 80px; height: 80px;
  background: var(--gold);
  opacity: 0.1;
  border-radius: 50%;
}
.concept-number {
  position: absolute; bottom: 20px; right: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 300;
  color: rgba(201,169,110,0.12);
  line-height: 1;
}

/* ─── Stats ──────────────────────────────────────── */
#stats {
  padding: 60px 5vw;
  background: var(--charcoal);
}
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2px;
}
.stat-item {
  padding: 48px 32px;
  background: rgba(255,255,255,0.03);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.stat-item::before {
  content: '';
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.4s;
}
.stat-item:hover { background: rgba(201,169,110,0.06); }
.stat-item:hover::before { width: 60%; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-num span {
  font-size: 1.4rem;
  color: var(--gold);
}
.stat-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45);
}

/* ─── Services ──────────────────────────────────── */
#services {
  max-width: 1200px; margin: 0 auto;
  padding: 120px 5vw;
}
.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 64px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(201,169,110,0.06) 100%);
  opacity: 0; transition: opacity 0.4s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px var(--shadow-md); }
.service-card:hover::before { opacity: 1; }
.service-thumb {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-thumb-icon {
  font-size: 3.2rem;
  transition: transform 0.4s;
  filter: drop-shadow(0 4px 12px rgba(44,42,40,0.2));
}
.service-card:hover .service-thumb-icon { transform: scale(1.1); }
.thumb-bg-1 { background: url('../images/service-thumb-1.png') center/cover no-repeat; }
.thumb-bg-2 { background: url('../images/service-thumb-2.png') center/cover no-repeat; }
.thumb-bg-3 { background: url('../images/service-thumb-3.png') center/cover no-repeat; }
.thumb-bg-4 { background: url('../images/service-thumb-4.png') center/cover no-repeat; }
.thumb-bg-5 { background: url('../images/service-thumb-5.png') center/cover no-repeat; }
.thumb-bg-6 { background: url('../images/service-thumb-6.png') center/cover no-repeat; }
.service-body { padding: 28px 28px 32px; }
.service-tag {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.service-name {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  margin-bottom: 0.8rem;
}
.service-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  line-height: 2;
  color: var(--gray);
  margin-bottom: 1.2rem;
}
.service-link {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold-dk);
  text-decoration: none;
  display: flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.service-link:hover { gap: 12px; }

/* ─── Night Feature ─────────────────────────────── */
#night { padding: 120px 5vw; }
.night-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.night-visual { position: relative; }
.night-clock {
  width: 100%;
  aspect-ratio: 1;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.clock-ring {
  position: absolute;
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 50%;
}
.clock-ring:nth-child(1) { inset: 0; }
.clock-ring:nth-child(2) { inset: 12%; }
.clock-ring:nth-child(3) { inset: 24%; }
.clock-face {
  width: 52%; aspect-ratio: 1;
  background: radial-gradient(circle, #2A2520 0%, #1A1714 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 60px rgba(201,169,110,0.15), inset 0 0 30px rgba(0,0,0,0.5);
  position: relative; z-index: 2;
}
.clock-emoji { font-size: 2.8rem; animation: moonGlow 3s ease-in-out infinite; }
.clock-tick {
  position: absolute;
  width: 2px; height: 8px;
  background: rgba(201,169,110,0.3);
  border-radius: 1px;
  transform-origin: center 200px;
}
.clock-hours {
  display: flex; align-items: center; gap: 1.2rem;
  flex-wrap: wrap;
  margin: 1.4rem 0;
}
.hour-badge {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  color: var(--gold);
  background: rgba(201,169,110,0.1);
  padding: 4px 12px;
  border-radius: 2px;
  border: 1px solid rgba(201,169,110,0.2);
  animation: pulse 3s ease-in-out infinite;
}
.hour-badge:nth-child(2) { animation-delay: 0.5s; }
.hour-badge:nth-child(3) { animation-delay: 1s; }
.hour-badge:nth-child(4) { animation-delay: 1.5s; }
@keyframes pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.6; }
}
.night-features-list { list-style: none; margin-top: 2rem; }
.night-feature-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--vein1);
}
.night-feature-item:last-child { border-bottom: none; }
.nf-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--charcoal) 0%, #3a3632 100%);
  border: 1px solid rgba(201,169,110,0.35);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  box-shadow: 0 4px 16px rgba(0,0,0,0.18), inset 0 1px 0 rgba(201,169,110,0.12);
  transition: transform 0.3s, box-shadow 0.3s;
}
.night-feature-item:hover .nf-icon {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.22), 0 0 0 1px rgba(201,169,110,0.4), inset 0 1px 0 rgba(201,169,110,0.2);
}
.nf-icon svg {
  filter: drop-shadow(0 1px 3px rgba(201,169,110,0.3));
}
.nf-text h4 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.nf-text p {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--gray);
}

/* ─── Process ───────────────────────────────────── */
#process {
  padding: 120px 5vw;
  max-width: 1200px; margin: 0 auto;
}
.process-header { text-align: center; margin-bottom: 80px; }
.process-header .section-desc { margin: 0 auto; text-align: center; }
.process-steps {
  display: grid; grid-template-columns: repeat(4,1fr);
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 12%;
  width: 76%; height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--vein1) 50%, var(--gold));
}
.process-step { text-align: center; padding: 0 20px; }
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gold);
  margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
  transition: all 0.3s;
}
.step-num span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--gold);
}
.process-step:hover .step-num {
  background: var(--gold);
  box-shadow: 0 0 24px rgba(201,169,110,0.35);
}
.process-step:hover .step-num span { color: var(--white); }
.step-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}
.step-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  line-height: 2;
  color: var(--gray);
}

/* ─── Pricing ──────────────────────────────────── */
#pricing { padding: 120px 5vw; }
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.pricing-header { text-align: center; margin-bottom: 64px; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.pricing-card {
  border: 1px solid var(--vein1);
  border-radius: 4px;
  padding: 44px 36px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  background: var(--white);
}
.pricing-card.featured {
  background: var(--charcoal);
  border-color: var(--charcoal);
  transform: scale(1.04);
}
.pricing-card:hover:not(.featured) {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px var(--shadow);
  border-color: var(--gold-lt);
}
.plan-badge {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  color: var(--charcoal);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  padding: 4px 16px;
  border-radius: 2px;
  white-space: nowrap;
}
.plan-name {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.plan-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.pricing-card.featured .plan-price { color: var(--white); }
.plan-price sup { font-size: 1rem; vertical-align: super; }
.plan-period {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  color: var(--gray-lt);
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
}
.plan-divider {
  width: 100%; height: 1px;
  background: var(--vein1);
  margin-bottom: 1.6rem;
}
.pricing-card.featured .plan-divider { background: rgba(255,255,255,0.1); }
.plan-features { list-style: none; margin-bottom: 2.4rem; }
.plan-features li {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--gray);
  padding: 6px 0;
}
.pricing-card.featured .plan-features li { color: rgba(255,255,255,0.6); }
.plan-features li::before {
  content: '';
  width: 14px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.btn-plan {
  width: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  padding: 14px;
  border-radius: 2px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-dk);
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  text-decoration: none;
  display: block;
}
.btn-plan:hover { background: var(--gold); color: var(--white); }
.btn-plan.featured-btn {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  border-color: var(--gold);
  color: var(--charcoal);
}
.btn-plan.featured-btn:hover { background: var(--gold-dk); color: var(--white); }

/* ─── Testimonials ─────────────────────────────── */
#testimonials {
  padding: 120px 5vw;
  max-width: 1200px; margin: 0 auto;
}
.testimonials-header { text-align: center; margin-bottom: 64px; }
.testimonials-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.testimonials-track {
  display: flex; gap: 24px;
  animation: slide 30s linear infinite;
  width: max-content;
}
.testimonials-track:hover { animation-play-state: paused; }
@keyframes slide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.review-card {
  width: 340px; flex-shrink: 0;
  background: var(--cream);
  border-radius: 4px;
  padding: 36px;
  border: 1px solid transparent;
  transition: border-color 0.3s;
}
.review-card:hover { border-color: var(--gold-lt); }
.review-stars { display: flex; gap: 3px; margin-bottom: 1.2rem; }
.star { color: var(--gold); font-size: 0.8rem; }
.review-text {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 0.88rem;
  line-height: 2;
  color: var(--charcoal);
  margin-bottom: 1.6rem;
}
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--white);
}
.reviewer-info h5 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--charcoal);
  margin-bottom: 2px;
}
.reviewer-info span {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  color: var(--gray-lt);
  letter-spacing: 0.08em;
}

/* ─── CTA ──────────────────────────────────────── */
#cta {
  padding: 140px 5vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner {
  position: relative; z-index: 2;
  max-width: 720px; margin: 0 auto;
}
.cta-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.08em;
  line-height: 1.7;
  color: var(--white);
  margin-bottom: 1.4rem;
}
.cta-desc {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: 0.92rem;
  line-height: 2.2;
  color: rgba(255,255,255,0.5);
  margin-bottom: 3rem;
}
.cta-cta-group { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }

/* ─── Contact ────────────────────────────────────── */
#contact {
  padding: 120px 5vw;
  max-width: 900px; margin: 0 auto;
}
.contact-header { text-align: center; margin-bottom: 60px; }
.contact-form {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1/-1; }
.form-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--gray);
}
.form-input, .form-select, .form-textarea {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  color: var(--charcoal);
  background: var(--cream);
  border: 1px solid var(--vein1);
  border-radius: 2px;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.1);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit {
  grid-column: 1/-1;
  text-align: center;
  margin-top: 12px;
}

/* ─── Footer ─────────────────────────────────────── */
footer {
  background: var(--charcoal);
  padding: 80px 5vw 40px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 60px;
}
.footer-brand h2 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-brand p {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  line-height: 2;
  color: rgba(255,255,255,0.35);
}
.footer-col h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.8rem; }
.footer-col a {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold-lt); }
.footer-divider { height: 1px; background: rgba(255,255,255,0.07); margin-bottom: 32px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
}
.footer-socials { display: flex; gap: 1rem; }
.social-link {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }

/* ─── Animations ────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1),
              transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1),
              transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1),
              transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1),
              transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.15s; }
.stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.25s; }
.stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.35s; }
.stagger.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.45s; }
.stagger.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.55s; }
.count { display: inline-block; }

/* ─── Back to Top ─────────────────────────────────── */
#back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 44px; height: 44px;
  background: var(--gold);
  border: none; border-radius: 2px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, bottom 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 4px 16px rgba(201,169,110,0.35);
}
#back-to-top.show { opacity: 1; pointer-events: auto; }
#back-to-top:hover { transform: translateY(-3px); }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  #concept { grid-template-columns: 1fr; gap: 48px; }
  .concept-frame { aspect-ratio: 16/7; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .night-inner { grid-template-columns: 1fr; gap: 48px; }
  .process-steps { grid-template-columns: repeat(2,1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-form { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  /* ── モバイル：縦タイムライン型 ── */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .process-steps::before { display: none; }
  .process-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0 20px;
    text-align: left;
    padding: 0;
    position: relative;
  }
  /* ステップ間の縦線 */
  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 27px;
    top: 56px;
    bottom: -24px;
    width: 1px;
    background: linear-gradient(180deg, var(--gold), var(--vein1));
  }
  .process-step .step-num {
    margin: 0;
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    flex-shrink: 0;
  }
  .process-step .step-title {
    grid-column: 2;
    grid-row: 1;
    padding-top: 14px;
    margin-bottom: 6px;
    font-size: 0.95rem;
  }
  .process-step .step-text {
    grid-column: 2;
    grid-row: 2;
    padding-bottom: 36px;
    line-height: 1.8;
  }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  section { padding: 80px 5vw; }
}

/* ─── Mobile Menu ─────────────────────────────────── */
#mobile-menu {
  position: fixed; inset: 0;
  /* nav(1000)より高くしてボタンが必ず前面に来るように */
  z-index: 1100;
  background: rgba(44,42,40,0.97);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  /* スクロール貫通防止 */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#mobile-menu.open { transform: translateX(0); }
#mobile-menu a {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s;
  /* タップ領域を広く */
  padding: 8px 20px;
}
#mobile-menu a:hover { color: var(--gold); }
.menu-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  /* タップ領域を44px確保 */
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 10;
}
.menu-close:hover,
.menu-close:active {
  background: rgba(255,255,255,0.18);
  color: var(--white);
}
/* メニュー開放中はbody固定でスクロール貫通防止 */
body.menu-open { overflow: hidden; }
/* メニュー開放中はback-to-topを非表示 */
body.menu-open #back-to-top { opacity: 0 !important; pointer-events: none !important; }

/* ─── #night layout (CSS grid, no inline) ────────── */
#night { padding: 120px 5vw; }
.night-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

/* ─── LINE Contact Section ────────────────────────── */
#contact {
  padding: 100px 5vw 120px;
  background: var(--cream);
}
.line-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.line-section-inner > .section-label { margin-bottom: 0.6rem; }

.line-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(44,42,40,0.12);
  margin-top: 0;
}

/* ── Chat bubbles side ── */
.line-bubbles {
  background: #E9E3DC;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.line-bubbles::before {
  content: 'Chat';
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gray-lt);
  background: rgba(255,255,255,0.6);
  padding: 3px 12px;
  border-radius: 20px;
}
.bubble {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  animation: bubblePop 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}
.bubble:nth-child(1) { animation-delay: 0.2s; }
.bubble:nth-child(2) { animation-delay: 0.5s; }
.bubble:nth-child(3) { animation-delay: 0.8s; }
.bubble:nth-child(4) { animation-delay: 1.1s; }
@keyframes bubblePop {
  from { opacity: 0; transform: scale(0.8) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.bubble-avatar {
  width: 32px; height: 32px;
  background: var(--charcoal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.bubble-body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  line-height: 1.7;
  padding: 10px 14px;
  border-radius: 16px;
  max-width: 220px;
  text-align: left;
}
.bubble-them .bubble-body {
  background: var(--white);
  color: var(--charcoal);
  border-bottom-left-radius: 4px;
}
.bubble-us {
  flex-direction: row-reverse;
  align-self: flex-end;
}
.bubble-us .bubble-body {
  background: #06C755;
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.bubble-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: var(--white);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  width: fit-content;
  animation: bubblePop 0.4s ease 1.5s both;
}
.bubble-typing span {
  width: 6px; height: 6px;
  background: var(--gray-lt);
  border-radius: 50%;
  animation: typingDot 1.2s ease-in-out infinite;
}
.bubble-typing span:nth-child(2) { animation-delay: 0.2s; }
.bubble-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%,60%,100% { transform: translateY(0); opacity: 0.4; }
  30%          { transform: translateY(-4px); opacity: 1; }
}

/* ── LINE CTA side ── */
.line-cta {
  background: var(--white);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}
.line-logo-wrap {
  margin-bottom: 1.4rem;
}
.line-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(6,199,85,0.3);
}
.line-cta-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.line-cta-title em {
  font-style: normal;
  color: #06C755;
}
.line-cta-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  line-height: 2;
  color: var(--gray);
  margin-bottom: 1.4rem;
}
.line-merits {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
  width: 100%;
  max-width: 280px;
}
.line-merits li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--gray);
  padding: 5px 0;
}
.merit-dot {
  width: 6px; height: 6px;
  background: #06C755;
  border-radius: 50%;
  flex-shrink: 0;
}
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #06C755;
  color: var(--white);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 24px rgba(6,199,85,0.35);
  white-space: nowrap;
}
.btn-line:hover {
  background: #05a848;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(6,199,85,0.45);
}
.btn-line-lg {
  font-size: 0.95rem;
  padding: 18px 44px;
}
.line-note {
  margin-top: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  color: var(--gray-lt);
  letter-spacing: 0.08em;
}

/* ─── Fixed Footer CTA ─────────────────────────────── */
#fixed-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  transform: translateY(110%);
  transition: transform 0.55s cubic-bezier(0.34,1.2,0.64,1);
}
#fixed-cta.show { transform: translateY(0); }

.fixed-cta-inner {
  background: rgba(20,18,16,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(201,169,110,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 16px 5vw;
  position: relative;
  overflow: hidden;
}
/* gold shimmer sweep */
.fixed-cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(201,169,110,0.06) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  animation: ctaSweep 3.5s ease-in-out infinite;
}
@keyframes ctaSweep {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Text block ── */
.fixed-cta-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fixed-cta-lead {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
}
.fixed-cta-emoji {
  display: inline-block;
  animation: moonSway 3s ease-in-out infinite;
}
@keyframes moonSway {
  0%,100% { transform: rotate(-8deg) scale(1); }
  50%      { transform: rotate(8deg) scale(1.15); }
}
.fixed-cta-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.fixed-cta-badge {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 2px 8px;
  border-radius: 20px;
}
.fixed-cta-badge--green {
  color: #4de87a;
  border-color: rgba(6,199,85,0.4);
}

/* ── Button ── */
.fixed-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #06C755;
  color: var(--white);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(6,199,85,0.45);
  white-space: nowrap;
  overflow: hidden;
  animation: btnPulse 2.8s ease-in-out infinite;
}
/* ripple highlight sweep */
.fixed-cta-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  animation: btnShine 2.8s ease-in-out infinite;
}
@keyframes btnPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(6,199,85,0.45); }
  50%      { box-shadow: 0 6px 32px rgba(6,199,85,0.7); }
}
@keyframes btnShine {
  0%   { left: -75%; }
  60%,100% { left: 125%; }
}
.fixed-cta-btn:hover {
  background: #05b84c;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 36px rgba(6,199,85,0.6);
  animation: none;
}
.fixed-cta-btn:hover::after { animation: none; }

.fixed-cta-arrow {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s;
  display: inline-block;
}
.fixed-cta-btn:hover .fixed-cta-arrow { transform: translateX(4px); }

/* ── Close ── */
.fixed-cta-close {
  position: absolute;
  top: 8px; right: 12px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.25);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
}
.fixed-cta-close:hover {
  color: rgba(255,255,255,0.6);
  transform: rotate(90deg);
}

/* body padding for fixed footer */
body.fixed-cta-visible { padding-bottom: 72px; }

/* back-to-top: JS が --fixed-cta-h を設定したらそれを使う */
body.fixed-cta-visible #back-to-top {
  bottom: calc(var(--fixed-cta-h, 72px) + 1.2rem);
}

/* ─── Responsive additions ──────────────────────────── */
@media (max-width: 900px) {
  #night { padding: 80px 5vw; }
  .night-inner { grid-template-columns: 1fr; gap: 48px; }
  .line-card { grid-template-columns: 1fr; }
  .line-bubbles { padding: 40px 28px 28px; }
  .line-cta { padding: 36px 28px; }
  .fixed-cta-inner { gap: 16px; }
  .fixed-cta-lead { font-size: 0.82rem; }
  .fixed-cta-badge { display: none; }
  .fixed-cta-badge--green { display: inline-block; }
}
@media (max-width: 600px) {
  #night { padding: 60px 5vw; }
  .line-card { border-radius: 12px; }
  .line-cta { padding: 28px 20px; }
  .line-cta-title { font-size: 1.3rem; }
  .btn-line { padding: 14px 28px; font-size: 0.82rem; }

  /* ── 固定フッター：縦並び・中央揃え ── */
  .fixed-cta-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 5vw 16px;
  }
  .fixed-cta-text {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    text-align: center;
  }
  .fixed-cta-lead {
    font-size: 0.78rem;
    justify-content: center;
  }
  .fixed-cta-btn {
    width: calc(100% - 2rem);
    max-width: 320px;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.82rem;
  }
  .fixed-cta-close { top: 8px; right: 10px; }

  /* モバイル: 固定フッター全体を周期的にポップ */
  #fixed-cta.show {
    animation: fixedCtaPop 4s ease-in-out infinite;
  }
  @keyframes fixedCtaPop {
    0%,79%  { transform: translateY(0); }
    84%     { transform: translateY(-7px); }
    89%     { transform: translateY(-2px); }
    93%     { transform: translateY(-5px); }
    97%     { transform: translateY(-1px); }
    100%    { transform: translateY(0); }
  }

  /* モバイル: ボタンのパルス強調 */
  .fixed-cta-btn {
    animation: btnPulse 2s ease-in-out infinite,
               btnBounce 4s ease-in-out infinite;
  }
  @keyframes btnBounce {
    0%,79%  { transform: scale(1); }
    84%     { transform: scale(1.06); }
    89%     { transform: scale(1.02); }
    93%     { transform: scale(1.05); }
    97%     { transform: scale(1.01); }
    100%    { transform: scale(1); }
  }
}
