/* Base */
:root {
  --bg: #fefefe;
  --text: #1a1a1a;
  --muted: #64748b;
  --primary: #3b82f6;
  --accent: #06d6a0;
  --ghost: #374151;
  --card: #ffffff;
  --border: #e2e8f0;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-accent: linear-gradient(135deg, #06d6a0 0%, #0891b2 100%);
  --gradient-hero: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', system-ui, -apple-system, Segoe UI, Roboto, 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}
img { 
  max-width: 100%; 
  display: block; 
  height: auto;
}

/* Image Loading States */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}
img[loading="lazy"].loaded {
  opacity: 1;
}

/* プレースホルダー表示: 画像が未設定/壊れている場合のみ適用（alt="" や src欠落を対象） */
img[src*="placeholder"],
img[alt=""],
img:not([src]),
img[src=""] {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px dashed var(--border);
  display: inline-block;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  min-height: 120px;
}
.container { width: min(1100px, 92%); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand { 
  font-weight: 700; 
  letter-spacing: .2px; 
  font-size: 18px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.header-cta { display: flex; gap: 12px; }

/* Buttons（統一スタイル） */
.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px; 
  text-decoration: none; 
  padding: 14px 24px; 
  border-radius: 12px; 
  font-weight: 600; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}
.btn.xl { 
  padding: 18px 32px; 
  font-size: 17px; 
  border-radius: 14px; 
  font-weight: 700;
}
.btn.sm { 
  padding: 10px 18px; 
  font-size: 14px; 
}
.btn.w-100 { width: 100%; }
.btn.primary { 
  background: var(--gradient-primary); 
  color: #fff; 
  box-shadow: var(--shadow-md);
  border-color: rgba(102, 126, 234, 0.3);
}
.btn.primary:hover { 
  transform: translateY(-3px); 
  box-shadow: var(--shadow-xl);
  border-color: rgba(102, 126, 234, 0.5);
}
.btn.accent { 
  background: var(--gradient-accent); 
  color: #fff; 
  box-shadow: var(--shadow-md);
  border-color: rgba(6, 214, 160, 0.3);
}
.btn.accent:hover { 
  transform: translateY(-3px); 
  box-shadow: var(--shadow-xl);
  border-color: rgba(6, 214, 160, 0.5);
}
.btn.ghost { 
  background: #fff; 
  color: var(--ghost); 
  border-color: var(--border); 
}
.btn.ghost:hover { 
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); 
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(102, 126, 234, 0.3);
}

/* Hero */
.hero { 
  padding: 80px 0 60px; 
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
  pointer-events: none;
}
.hero-inner { 
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative; 
  z-index: 1; 
}
.hero-content {
  text-align: left;
}
.hero h1 { 
  font-size: clamp(28px, 4vw, 48px); 
  line-height: 1.2; 
  margin: 0 0 20px; 
  font-weight: 700;
  background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subtitle { 
  color: var(--muted); 
  margin: 0 0 24px; 
  font-size: 18px;
  font-weight: 500;
}
.badges { 
  display: flex; 
  gap: 12px; 
  flex-wrap: wrap; 
  justify-content: flex-start; 
  margin: 32px 0; 
}
.badge { 
  background: rgba(255, 255, 255, 0.95); 
  border: 2px solid rgba(102, 126, 234, 0.2); 
  border-radius: 999px; 
  padding: 12px 20px; 
  font-size: 14px; 
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.badge:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(102, 126, 234, 0.4);
  transform: scale(1.05);
}
.cta-row { 
  display: flex; 
  gap: 16px; 
  justify-content: flex-start; 
  flex-wrap: wrap; 
  margin: 40px 0 24px; 
}
.cta-row.center { 
  /* 体験フロー末尾のCTAを中央寄せにするための修飾クラス */
  justify-content: center; 
}
.note { 
  color: var(--muted); 
  font-size: 14px; 
  background: rgba(255, 255, 255, 0.9);
  padding: 14px 24px;
  border-radius: 12px;
  display: inline-block;
  backdrop-filter: blur(12px);
  border: 2px solid rgba(102, 126, 234, 0.15);
  box-shadow: var(--shadow-sm);
  line-height: 1.6;
}
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  object-fit: cover;
}
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    text-align: center;
  }
  .badges {
    justify-content: center;
  }
  .cta-row {
    justify-content: center;
  }
}

/* Sections */
.section { 
  padding: 80px 0; 
  position: relative;
}
/* セクション背景の交互パターンで視覚的リズムを作る */
.section:nth-child(even) {
  background: linear-gradient(135deg, #fafbfc 0%, #f8fafc 100%);
}
.section h2 { 
  font-size: clamp(28px, 5vw, 36px); 
  margin: 0 0 48px; 
  text-align: center;
  font-weight: 700;
  background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding-bottom: 16px;
}
/* 見出し下の装飾ライン */
.section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
}
.caption { 
  font-size: 15px; 
  color: var(--muted); 
  text-align: center;
  margin: 24px 0 32px;
  line-height: 1.6;
}

/* Before/After Image */
.before-after {
  display: flex;
  justify-content: center;
  margin: 32px 0;
}
.before-after img {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

/* Features */
.feature-list { 
  display: grid; 
  grid-template-columns: repeat(2, minmax(0,1fr)); 
  gap: 24px; 
  padding: 0; 
  list-style: none; 
}
.feature-list li { 
  background: var(--card); 
  border: 2px solid var(--border); 
  border-radius: 20px; 
  padding: 28px; 
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.feature-list li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-accent);
}
.feature-list li:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(6, 214, 160, 0.3);
}
.feature-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.feature-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  pointer-events: none;
}
.feature-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  position: relative;
  z-index: 1;
}
.feature-content {
  flex: 1;
}
.feature-content strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.feature-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 720px) { 
  .feature-list { 
    grid-template-columns: 1fr; 
  }
  .feature-list li {
    flex-direction: column;
    text-align: center;
  }
  .feature-icon {
    align-self: center;
  }
}

/* Pricing */
.pricing-headline {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-radius: 20px;
  padding: 32px 24px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.pricing-headline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}
.pricing-headline .label {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 8px;
  font-size: 16px;
  text-transform: uppercase;
}
.pricing-headline .value {
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(32px, 6vw, 64px);
  letter-spacing: -0.02em;
}
.pricing-headline .count { 
  margin-right: 12px; 
  font-size: clamp(24px, 4vw, 40px);
}
.pricing-headline .amount { 
  font-variant-numeric: tabular-nums; 
}

/* カード型（統一スタイル） */
.cards { 
  display: grid; 
  grid-template-columns: repeat(3, minmax(0,1fr)); 
  gap: 24px; 
}
.card { 
  background: var(--card); 
  border: 2px solid var(--border); 
  border-radius: 20px; 
  padding: 32px; 
  display: flex; 
  flex-direction: column; 
  gap: 16px; 
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(102, 126, 234, 0.3);
}
.card h3 { 
  margin: 0 0 12px; 
  font-size: 22px; 
  font-weight: 700;
  color: var(--text);
  text-align: center;
  background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price { 
  font-size: 22px; 
  font-weight: 700; 
  display: flex; 
  align-items: baseline; 
  gap: 8px; 
  margin: 12px 0;
  justify-content: center;
}
.price del { 
  color: var(--muted); 
  font-weight: 400; 
  font-size: 18px;
}
.price .now { 
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.price .unit {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}
.price .tax { 
  color: var(--muted); 
  font-size: 13px; 
  font-weight: 500;
}
.desc { 
  color: var(--muted); 
  font-size: 15px; 
  line-height: 1.6;
  flex-grow: 1;
  text-align: center;
  padding: 12px 0;
}
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* Steps */
.step-list { 
  counter-reset: step; 
  list-style: none; 
  padding: 0; 
  display: grid; 
  grid-template-columns: repeat(4, minmax(0,1fr)); 
  gap: 24px; 
}
.step-list li { 
  background: var(--card); 
  border: 2px solid var(--border); 
  border-radius: 20px; 
  padding: 24px; 
  position: relative;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-list li:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(102, 126, 234, 0.3);
}
.step-list li::before { 
  counter-increment: step; 
  content: counter(step); 
  position: absolute; 
  top: 16px; 
  right: 16px; 
  width: 36px; 
  height: 36px; 
  border-radius: 999px; 
  background: var(--gradient-primary); 
  color: #fff; 
  font-weight: 800; 
  display: grid; 
  place-items: center; 
  font-size: 16px;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.step-image {
  width: 100%;
  aspect-ratio: 4 / 3; /* 画像が潰れないよう比率固定（必要に応じて変更） */
  border-radius: 12px;
  overflow: hidden;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.step-content h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.step-content p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 900px) { .step-list { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .step-list { grid-template-columns: 1fr; } }

/* Store */
.store-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.store-info { 
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.store-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
}
.store-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.store-info li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.6;
}
.store-info li:last-child {
  border-bottom: none;
}
.store-images {
  display: grid;
  gap: 20px;
}
.store-exterior,
.store-interior {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.store-exterior::before,
.store-interior::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}
.store-exterior:hover,
.store-interior:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(6, 214, 160, 0.3);
}
.store-exterior img,
.store-interior img {
  width: 100%;
  height: auto; /* 元画像比率を保持 */
  aspect-ratio: 4 / 3; /* レイアウトの安定化。必要に応じて変更 */
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  display: block;
}
.image-caption {
  margin: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
@media (max-width: 768px) { 
  .store-layout { 
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .store-images {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .store-images {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer { 
  border-top: 2px solid var(--border); 
  padding: 40px 0; 
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); 
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: var(--gradient-primary);
}
.footer-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 16px; 
}
.copy { 
  color: var(--muted); 
  font-size: 14px; 
}

/* Sticky CTA */
.sticky-cta { 
  position: sticky; 
  bottom: 0; 
  z-index: 40; 
  background: rgba(255,255,255,0.97); 
  backdrop-filter: blur(16px); 
  border-top: 2px solid var(--border); 
  padding: 16px 0; 
  box-shadow: var(--shadow-xl);
}
.sticky-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
}
.sticky-inner { 
  display: flex; 
  gap: 12px; 
  justify-content: center; 
}
@media (min-width: 920px) { .sticky-cta { display: none; } }
