/* ========================================
   PLAN.CSS - モデルプランページ専用
   Flexbox構造 + デザイン画像完全一致
   ======================================== */

/* ========================================
   PLAN_01_INTRO
   ======================================== */

.plan-intro {
  padding: calc(var(--space-2xl) + 60px) 0 var(--space-xl);
  background: #f4c2c2;
}

.plan-intro-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.plan-intro-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #e5989b;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

.plan-intro-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1.6;
}

.plan-intro-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.plan-intro-bubble {
  position: relative;
  background: var(--clr-white);
  border: 3px solid #e5989b;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  max-width: 500px;
  box-shadow: 0 8px 24px rgba(84, 136, 211, 0.15);
}

.plan-intro-bubble::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid var(--clr-white);
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

.plan-intro-bubble::before {
  content: '';
  position: absolute;
  right: -26px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 23px solid #e5989b;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  z-index: -1;
}

.plan-intro-bubble p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--clr-text);
  font-weight: 700;
}

.plan-intro-illus {
  flex-shrink: 0;
}

.plan-intro-illus img {
  width: 100%;
  max-width: 250px;
  height: auto;
}

/* ========================================
   プランモデルセクション
   ======================================== */

.plan-model-section {
  width: 100%;
  padding: 80px 0;
}

.plan-model-section:nth-of-type(even) {
  background: #fef5f5;
}

.plan-model-section:nth-of-type(odd) {
  background: #ffffff;
}

.plan-model-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.bottom-padding01{
  padding-bottom: var(--space-2xl);
}

/* セクションメインタイトル「モデルプランの一例」 */
.plan-main-title {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #e5989b;
  text-align: center;
  margin: 0 0 48px 0;
}

/* ========================================
   プランカード
   ======================================== */

.plan-model-card {
  background: #ffffff;
  border: 3px solid #e5989b;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: 0 10px 40px rgba(229, 152, 155, 0.15);
}

/* カード内タイトルエリア */
.plan-card-header {
  padding: 32px 32px 20px;
}

.plan-card-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #e5989b;
  line-height: 1.4;
  margin: 0 0 8px 0;
}

.plan-card-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 700;
  color: #333333;
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   画像エリア
   ======================================== */

.plan-hero-image {
  width: 100%;
  position: relative;
  margin: 0;
}

.plan-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.plan-image-note {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #666666;
  font-size: 0.7rem;
  padding: 6px 14px;
  border-radius: 12px;
  font-weight: 400;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 0;
}

/* ========================================
   2カラムコンテンツ（Flexbox）
   ======================================== */

.plan-content-flex {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding: 32px;
}

.plan-schedule,
.plan-details {
  flex: 1;
}

/* ========================================
   左カラム：モデル行程
   ======================================== */

.plan-schedule {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.plan-sub-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #333333;
  margin: 0 0 4px 0;
}

/* ピンクの丸アイコン */
.title-dot {
  display: block;
  width: 14px;
  height: 14px;
  background: #e5989b;
  border-radius: 50%;
  flex-shrink: 0;
}

/* 行程ステップ */
.schedule-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ピンクバー */
.step-bar {
  background: #f5b7bb;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 6px;
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

/* 白い下向き矢印（▼） */
.step-arrow {
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 14px solid #ffffff;
  margin: 0 auto;
}

/* ========================================
   右カラム：特徴・価格
   ======================================== */

.plan-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 特徴タグ（縦並び） */
.plan-feature-tags {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-tag {
  background: #ffffff;
  color: #e5989b;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  border: 2px solid #e5989b;
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

/* 注意書き */
.plan-notes {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plan-notes p {
  font-size: 0.8rem;
  color: #333333;
  line-height: 1.6;
  font-weight: 700;
  margin: 0;
}

/* 価格ボックス */
.plan-price-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.price-label {
  font-size: 0.85rem;
  color: #333333;
  font-weight: 700;
  margin: 0;
}

.price-amount {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  font-weight: 800;
  color: #e5989b;
  line-height: 1;
  margin: 0;
}

.price-unit {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 700;
  margin-left: 4px;
}

/* キャンセルポリシーリンク */
.price-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #5488d3;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}

.price-link:hover {
  color: #3A6AAC;
}

.price-arrow {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 800;
  font-size: 1.1em;
  transition: transform 0.35s;
}

.price-link:hover .price-arrow {
  transform: translateX(4px);
}

/* ========================================
   CTAボタンエリア（カード外）
   ======================================== */

.plan-cta-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 0;
}

/* ========================================
   PLAN_06_FOOTER - CTAカード
   ======================================== */

.plan-footer-cta {
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, var(--clr-white) 0%, var(--clr-sky) 100%);
}

.footer-cta-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(84, 136, 211, 0.15);
  padding: var(--space-xl);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.footer-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--clr-primary-lt) 100%);
  z-index: 0;
}

.footer-cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-cta-title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  color: #e5989b;
  line-height: 1.4;
}

.footer-cta-text {
  font-size: 1.05rem;
  color: var(--clr-text);
  line-height: 1.9;
}

.footer-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-cta-image {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-cta-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
}

/* ========================================
   RESPONSIVE - タブレット
   ======================================== */

@media (max-width: 900px) {
  .plan-intro-content {
    flex-direction: column;
    text-align: center;
  }

  .plan-intro-bubble::after,
  .plan-intro-bubble::before {
    display: none;
  }

  .plan-content-flex {
    flex-direction: column;
    gap: 40px;
  }

  .plan-schedule,
  .plan-details {
    width: 100%;
  }

  .plan-cta-area {
    flex-direction: column;
    gap: 16px;
  }

  .plan-cta-area .btn {
    width: 100%;
    max-width: 400px;
  }

  .footer-cta-card {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-lg);
  }

  .footer-cta-card::before {
    width: 100%;
    height: 50%;
    top: auto;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, var(--clr-primary-lt) 100%);
  }

  .footer-cta-content {
    text-align: center;
  }

  .footer-cta-buttons {
    justify-content: center;
  }
}

/* ========================================
   RESPONSIVE - モバイル
   ======================================== */

@media (max-width: 600px) {
  .plan-intro {
    padding: calc(var(--space-xl) + 60px) 0 var(--space-lg);
  }

  .plan-intro-bubble {
    padding: var(--space-md);
  }

  .plan-intro-bubble p {
    font-size: 0.95rem;
  }

  .plan-intro-illus img {
    max-width: 200px;
  }

  .plan-model-section {
    padding: 48px 0;
  }

  .plan-main-title {
    margin-bottom: 32px;
  }

  .plan-model-card {
    margin-bottom: 32px;
  }

  .plan-card-header {
    padding: 24px 24px 16px;
  }

  .plan-card-title {
    font-size: 1.3rem;
  }

  .plan-card-subtitle {
    font-size: 0.9rem;
  }

  .plan-content-flex {
    padding: 24px;
    gap: 24px;
  }

  .step-bar {
    font-size: 0.85rem;
    padding: 12px 16px;
  }

  .feature-tag {
    font-size: 0.8rem;
    padding: 8px 16px;
  }

  .plan-notes p {
    font-size: 0.75rem;
  }

  .price-amount {
    font-size: 2rem;
  }

  .plan-cta-area {
    gap: 12px;
  }

  .footer-cta-card {
    padding: var(--space-md);
  }

  .footer-cta-title {
    font-size: 1.5rem;
  }

  .footer-cta-text {
    font-size: 0.95rem;
  }

  .footer-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .footer-cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}
