:root {
  --primary: #d4467a;
  --primary-light: #f8e4ec;
  --primary-dark: #b73862;
  --accent: #f4a4c0;
  --text-dark: #3a2028;
  --text-light: #7a6069;
  --bg-cream: #fef8f5;
  --bg-white: #ffffff;
  --border-light: #f5e8e0;
  --gold: #d4a574;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.8;
  overflow-x: hidden;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-cream) 50%, #fff 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  opacity: 0.4;
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(180deg); }
}

.hero-content {
  max-width: 900px;
  padding: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 600;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 30px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s ease-out;
}

.hero-description {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.4s ease-out;
}

.btn {
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  box-shadow: 0 10px 30px rgba(212, 70, 122, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(212, 70, 122, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* Section Styles */
.section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 50px;
  font-size: 16px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid var(--border-light);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(212, 70, 122, 0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.feature-title {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--text-dark);
  font-weight: 600;
}

.feature-description {
  color: var(--text-light);
  line-height: 1.6;
}

/* Process Timeline */
.process-timeline {
  position: relative;
  padding: 40px 0;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 50px;
  position: relative;
}

.timeline-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 5px 20px rgba(212, 70, 122, 0.3);
}

.timeline-content {
  margin-left: 30px;
  flex: 1;
}

.timeline-title {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--text-dark);
  font-weight: 600;
}

.timeline-description {
  color: var(--text-light);
  line-height: 1.6;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: 15px;
  overflow: hidden;
  background: white;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 30px rgba(212, 70, 122, 0.1);
}

.faq-question {
  padding: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 25px 25px;
  max-height: 300px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-light), var(--bg-cream));
  padding: 80px 20px;
  text-align: center;
  border-radius: 30px;
  margin: 80px 20px;
}

.cta-title {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 20px;
  color: var(--text-dark);
}

.cta-description {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: white;
  padding: 60px 20px 30px;
  text-align: center;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copyright {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

/* --- 3プラン対応 料金プランセクション --- */
.m-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch; /* 高さを揃える */
  margin-top: 60px;
}

.m-plan-item {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column; /* 子要素を縦に並べる */
  position: relative;
}

.m-plan-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(212, 70, 122, 0.15);
}

.m-plan-item.recommended {
  border: 3px solid var(--primary);
  transform: scale(1.05);
}

.m-plan-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.m-plan-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
}

.m-plan-header p {
  color: var(--text-light);
  font-size: 14px;
  margin-top: 5px;
  min-height: 40px; /* 説明文の高さを確保 */
}

.m-plan-price {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  margin: 20px 0;
}

.m-unit {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 400;
}

.m-plan-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  flex-grow: 1; /* この要素が余白を埋める */
}

.m-plan-features li {
  margin-bottom: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  font-size: 15px;
}

.m-plan-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
  margin-right: 10px;
  font-size: 16px;
}

.m-plan-features li strong {
  color: var(--text-dark);
  font-weight: 600;
  margin-right: 10px;
}

/* Responsive */
@media (max-width: 992px) {
  .m-plan-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
    gap: 40px;
  }
  .m-plan-item.recommended {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 20px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .btn-group {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* --- パンくずリスト --- */
.breadcrumb-container {
  padding: 15px 20px;
  background-color: var(--bg-cream);
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb ol {
  display: flex; /* リストを横並びにする */
  flex-wrap: wrap; /* 画面幅が狭い時に折り返す */
  list-style: none;
  padding: 0;
  margin: 0;
  max-w
  idth: 1100px;
  margin: 0 auto;
}

.breadcrumb li {
  /* display: inline-block; はflexboxを使うため不要 */
}

/* 最後の項目以外のli要素の後に区切り文字「>」を追加 */
.breadcrumb li:not(:last-child)::after {
  content: '>';
  margin: 0 10px; /* 区切り文字の左右に余白 */
  color: var(--text-light);
}

.breadcrumb li a {
  color: var(--primary); /* リンクの色をプライマリーカラーに */
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb li a:hover {
  text-decoration: underline; /* ホバー時に下線を表示 */
}

/* 現在のページ（active）のスタイル */
.breadcrumb li.active {
  color: var(--text-light);
  font-weight: 600;
}

/* === Hero 背景画像追加 === */
/*
  SEO/パフォーマンスに関する注記:
  背景画像はページの読み込み速度に大きく影響します。
  'after.jpg' ファイルが以下のようになっていることを確認してください:
  1. 圧縮されていること (例: TinyPNG/Squoosh を使用)。
  2. 可能であればWebPのような次世代フォーマットで配信されていること。
  3. 表示領域に対して適切なサイズであること。
*/
.hero {
  background:
    linear-gradient(to bottom, rgba(255,255,255,.60), rgba(255,255,255,.60)),
    url('after.jpg') center/cover no-repeat,
    linear-gradient(135deg, var(--primary-light) 0%, var(--bg-cream) 50%, #fff 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* トップへ戻るボタン */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top:hover {
  background: var(--accent);
  transform: scale(1.1);
}

/* 表示時のアニメーション（ふわっと拡大） */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* ヒーロー：上端の白っぽさを軽減＆余白ゼロを強制 */
html, body { margin: 0; padding: 0; }    /* 念のためのリセット */

.hero{
  margin-top: 0;                          /* 万が一の外側余白を抑止 */
  padding-top: 0;
  min-height: 100svh;                     /* モバイルのvhズレ対策 */

  /* 上=薄い / 下=やや濃い の白オーバーレイに変更 */
  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,.10) 0%,           /* ← 上端はほぼ透明に */
      rgba(255,255,255,.30) 35%,
      rgba(255,255,255,.60) 100%
    ),
    url('after.jpg') center/cover no-repeat,
    linear-gradient(135deg, var(--primary-light) 0%, var(--bg-cream) 50%, #fff 100%);
}

/* スマホはもう少しだけ濃く（文字の可読性確保） */
@media (max-width: 768px){
    .hero{
    background:
        linear-gradient(
          to bottom,
          rgba(255, 255, 255, 0.7), /* 変更: Overlayを濃くして可読性を向上 */
          rgba(255, 255, 255, 0.9)  /* 変更: 下部も同様に調整 */
        ),
        url('after.jpg') center/cover no-repeat;
    }
}