/* ------------------------------
   First View：空のキャンバス
------------------------------ */
.fv {
  position: relative;
  width: 100%;
  height: 1100px;                  /* ← 高さは指定どおり900px */
  background: #d4e6ef;            /* ← あなたの淡いブルー背景 */
  overflow: hidden;               /* ← 写真がはみ出さないように */
}

.fv-inner {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 430px;               /* ← スマホ幅 */
  margin: 0 auto;                 /* ← 左右中央 */
}

/* ------------------------------
   ファーストビューのタイトル画像
------------------------------ */
.fv-title {
  position: absolute;
  top: 330px;                /* ← 写真追加後に微調整しましょう */
  left: 50%;
  transform: translateX(-50%);
  width: 80%;                /* ← 画像の最適化。横幅に合わせて縮小 */
  max-width: 420px;          /* ← スマホ幅で収まりよく */
  
  opacity: 0;                /* アニメーションの初期状態 */
  transform-origin: center;
  
  animation: fvFadeUp 1s ease-out 0.4s forwards;
}

/* ------------------------------
   ファーストビュー：下段タイトル画像
------------------------------ */
.fv-bottom {
  position: absolute;
  top: 460px;                /* ← 上段の高さに合わせて微調整する */
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 420px;

  opacity: 0;
  transform-origin: center;

  animation: fvFadeUp 1s ease-out 0.8s forwards; /* 上段より遅れて登場 */
}


/* フェードアップアニメーション */
@keyframes fvFadeUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0px);
  }
}

/* ------------------------------
   ファーストビュー・写真共通
------------------------------ */
.fv-title,
.fv-bottom {
  z-index: 10; /* ← タイトルを最前面に */
}
.fv-photo {
  z-index: 1;  /* ← 写真を背面に */
}
.fv-photo {
  position: absolute;
  width: 48%;          /* スマホ幅にぴったりのサイズ感 */
  opacity: 0;
  animation: fvFadeUp 1s ease-out forwards;
}

/* ピアノ（左上） */
.fv-piano {
  width: 35%;
  top: 30px;        /* タイトル画像とバランスを見て調整 */
  left: 100px;
  animation-delay: 0.3s;
  z-index: 5;
}

/* ヨガ（右上） */
.fv-yoga {
  width: 70%;
  top: 150px;
  left: 250px;
  animation-delay: 0.4s;
}

/* バレエ（右下） */
.fv-ballet {
  top: 530px;
  left: 280px;
  animation-delay: 0.5s;
  z-index: 5;
}

/* フラワー（左下） */
.fv-flower {
  width: 70%;
  top: 700px;
  left: 150px;
  animation-delay: 0.6s;
}

.fv-copy-1 {
    width: 40%;
    top: 50px;
    left: 280px;
}

.fv-copy-2 {
    width: 40%;
    top: 570px;
    left: 90px;
}

/*-----section02-----------------------------------------------*/

.section-balloon {
  text-align: center;
  padding: 60px 20px 200px;
}

/* 吹き出し画像 */
.balloon-img {
  width: 100%;
  max-width: 540px; /* スマホ～タブレット最適 */
  display: block;
  margin: 40px auto 80px;
}

/* CTAボタン全体 */
.cta-button {
  display: flex;
  flex-direction: column;       /* 2行を縦積みに */
  justify-content: center;
  align-items: center;
  text-decoration: none;

  background-color: #374A4D;    /* ←ボタンの色。あなたの画像から抽出 */
  color: #fff;

  width: 80%;
  max-width: 700px;             /* PCでも綺麗な幅 */
  padding: 15px 15px;

  border-radius: 9999px;        /* 超丸（画像と同じ） */
  margin: 0 auto;

  box-sizing: border-box;
}

/* 上の小さい行 */
.cta-small {
  font-size: 15px;              /* 小さめ */
  font-weight: 400;             /* 細め */
  margin-bottom: 4px;
  opacity: 0.9;
}

/* 下の大きい行 */
.cta-large {
  font-size: 20px;              /* 大きめ */
  font-weight: 700;             /* 太字 */
  line-height: 1.2;
}


/* 下の説明文 */
.balloon-note {
  margin: 20px auto 50px;
  width: 80%;
  font-size: 14px;
  text-align: left;
  color: #555;
  line-height: 1.8;
}

/*----section03---------------------------------*/

/* =========================================================
   ▼ 困っていませんか？セクション（Worries Section）
   ---------------------------------------------------------
   - 画像の吹き出し4つを左右からスライドイン
   - IntersectionObserver と連動して発火
   - 全体のレイアウト安定化
========================================================= */

/* セクション全体 */
.worries {
  padding: 60px 20px 120px;
  background: #ddeff7;
  text-align: center;
  position: relative;
}

/* タイトル */
.worries-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 50px;
  color: #333;
}

/* 吹き出し共通レイアウト */
.balloon {
  width: 85%;
  max-width: 360px;
  margin: 40px auto;
  opacity: 0;          /* 初期状態：透明 */
  transform: translateX(0);
}

/* 左側の吹き出し配置 */
.balloon-left {
  margin-left: 0;          /* 左寄せ */
}

/* 右側の吹き出し配置 */
.balloon-right {
  margin-right: 0;         /* 右寄せ */
  margin-left: auto;
}

/* 吹き出し画像 */
.balloon img {
  width: 100%;
  display: block;
}

/* =========================================
   ▼ アニメーション（Observerで .start が付与される）
========================================= */

/* 左から右へ */
.fade-left.start {
  animation: fadeSlideLeft 0.9s ease-out forwards;
}

/* 右から左へ */
.fade-right.start {
  animation: fadeSlideRight 0.9s ease-out forwards;
}

/* ▼ 吹き出しの遅延 */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.5s; }
.delay-4 { animation-delay: 0.7s; }

/* ▼ 左スライドイン */
@keyframes fadeSlideLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ▼ 右スライドイン */
@keyframes fadeSlideRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =========================================
   ▼ レスポンシブ（PC時のレイアウト最適化）
========================================= */
@media (min-width: 768px) {
  .worries {
    padding: 80px 20px 140px;
  }

  .worries-title {
    font-size: 24px;
    margin-bottom: 60px;
  }

  .balloon {
    max-width: 420px;
  }
}

/*-----------------------section04----------*/

.check-section {
  background-color: #36494C; /* 濃いグリーン系 */
  height: 150px;
  text-align: center;
  color: #fff;
}

.check-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* check! 画像 */
.check-badge {
  width: 70%;  /* 好みで調整してOK */
  position: absolute;
  top: 33px;
  left: 55px;
}

/* 上の細い文字 */
.check-text-small {
  padding: 50px 0 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* 下の太い文字 */
.check-text-large {
  font-size: 25px;
  font-weight: 700;
  margin: 5px 0 0px;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

/* セクション背景 --------------------------- */
.points-check {
  width: 100%;
  background: #e5f1f8 url("img/bg_dots.png") repeat;
  padding: 80px 20px;
  text-align: center;
}

.check_section5_bg{
    width: 90%;
}
.check_section5_bg img{
    width: 100%;

}

/* タイトル --------------------------- */
.points-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 50px;
}

/* 上段・下段の横並びレイアウト --------------------------- */
.points-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;            /* 画像間の余白 */

}

/* 画像サイズ --------------------------- */
.point-img {
  width: 23%;           /* 3つ並べる想定の幅 */
  min-width: 120px;     /* 小さすぎないように */
}

/* 中段の矢印 --------------------------- */
.point-arrow {
  width: 80px;
  margin: 20px auto 60px auto;
}

/* スマホでも3つ横並びのまま --------------------------- */
@media (max-width: 600px) {
  .point-img {
    width: 30%;
  }
}

/* アニメーション --------------------------- */
.fadein-up {
  opacity: 0;
  transform: translateY(20px);
  transition: 1s ease;
}

.fadein-up.active {
  opacity: 1;
  transform: translateY(0);
}


/*-----------------------section06----------*/

.answer-section {
  background-color: #b7e5ea; /* 濃いグリーン系 */
  height: 150px;
  text-align: center;
  color: #fff;
}

.answer-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* check! 画像 */
.yoyaku-badge {
  width: 60%;  /* 好みで調整してOK */
  position: absolute;
  top: 33px;
  left: 90px;
}

.ba-section {
  position: relative;
  width: 100%;
  padding: 60px 0;
  overflow: hidden;
}

/* ぼんやりアメーバ背景 */
.ba-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at 30% 30%, #ffeaf3 0%, #fff 60%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0.8;
}

/* スライダー本体 */
.ba-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 2;

  display: flex;
  justify-content: center;
}

.ba-track {
  display: flex;
  width: 200%;
  transition: transform 0.4s ease;
}

.ba-item {
  width: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.ba-item img {
  width: 90%;
  max-width: 380px;
  display: block;
  margin: 0 auto;
}

/* スワイプ案内 */
.swipe-hint {
  text-align: center;
  margin-top: 16px;
  color: #888;
  font-size: 14px;
  z-index: 3;
  position: relative;
}

.swipe-hint .arrow {
  display: inline-block;
  animation: swipe 1.5s infinite ease;
  font-size: 22px;
}

@keyframes swipe {
  0% { transform: translateX(0); opacity: 1; }
  60% { transform: translateX(12px); opacity: 0.5; }
  100% { transform: translateX(0); opacity: 1; }
}

.result-note {
  width: 100%;
  text-align: center;
  padding: 32px 20px;
}

.result-note p {
  font-size: 16px;
  line-height: 1.8;
  color: #324044; /* おしゃれなグレイッシュカラー */
  letter-spacing: 0.03em;
}

.support-section {
  width: 100%;
  background: #dceef3; /* スクショに合わせた淡いブルー */
  text-align: center;
  padding: 60px 20px 80px;
}

.support-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #324044;
  letter-spacing: 0.03em;
  margin-bottom: 60px;
}

.support-image-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.support-image {
  width: 80%;
  max-width: 320px;
  height: auto;
  display: block;
}

.monthly-service-section {
  background: #bfe3e8; /* スクショの淡いブルー */
  padding: 80px 20px;
  text-align: center;
}

/* 見出し */
.section09-top{
    width: 90%;
}

.section09-top-des{
    margin-top: 30px;
    width: 90%;
}

/* 説明文 */
.service-description {
  margin-bottom: 80px;
}

.desc-line {
  font-size: 16px;
  line-height: 2;
  color: #324044;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
  position: relative;
}

/* 「私たちがお手伝いできること」 */
.help-title {
  font-size: 18px;
  color: #324044;
  margin-bottom: 50px;
  letter-spacing: 0.05em;
}

/* 項目（左に画像・右にテキスト） */
.help-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 50px;
}

/* 左の画像（英語ロゴ） */
.help-icon {
  width: 120px;
  height: auto;
  object-fit: contain;
}

/* 右の説明文 */
.help-text {
  font-size: 16px;
  color: #324044;
  text-align: left;
  line-height: 1.8;
}

.price-section {
  width: 100%;
  padding: 80px 20px;
  text-align: center;
}

/* 吹き出し画像 */
.price-bubble-wrap {
  margin-bottom: 60px;
}

.price-bubble {
  width: 85%;
  max-width: 360px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* 下の価格テキスト画像 */
.price-text-wrap {
  margin-top: 40px;
}

.price-text {
  width: 85%;
  max-width: 360px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.dm-plan-entry {
  font-family: sans-serif;
  font-weight: 400;
  font-style: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 4em auto;
  padding: 0 1em;
  max-width: 480px;
}

.dm-plan-entry__bubble {
  border: 2px dotted #000;
  padding: 1.8em 2em;
  text-align: center;
  margin-bottom: -1.2em;
  background: #fff;
  position: relative;
  z-index: 2;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.dm-plan-entry__bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(315deg); /* ← ここを変更！ */
  width: 16px;
  height: 16px;
  background: #fff;
  border-left: 2px dotted #000;  /* 左辺 */
  border-bottom: 2px dotted #000; /* 下辺 */
}


.dm-plan-entry__box {
  padding: 3em 2em;
  background: #ddeff4;
  width: 100%;
  box-sizing: border-box;
}

.dm-plan-entry__title {
  font-family: ab-megadot9, sans-serif;
  text-align: center;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: 1.2em;
}

.dm-plan-entry__price {
  text-align: center;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  margin-bottom: 1.2em;
}

.dm-plan-entry__yen strong {
  font-size: 1.6em;
}

.dm-plan-entry__tax {
  font-size: 0.9em;
  color: #333;
}

.dm-plan-entry__pages {
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: bold;
  margin-bottom: 0.5em;
}

.dm-plan-entry__page-num {
  font-size: 1.4em;
}

.dm-plan-entry__structure {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 2em;
}

.dm-plan-entry__divider {
  border: none;
  border-top: 1px dashed #000;
  margin: 2em 0;
}

.dm-plan-entry__features {
  font-size: 0.95rem;
  line-height: 2;
  padding-left: 1em;
  text-align: left;
}

.dm-plan-pro {
  font-family: sans-serif;
  font-weight: 400;
  font-style: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 4em auto;
  padding: 0 1em;
  max-width: 480px;
}

.dm-plan-pro__bubble {
  border: 2px dotted #000;
  padding: 1.8em 2em;
  text-align: center;
  margin-bottom: -1.2em;
  background: #fff;
  position: relative;
  z-index: 2;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.dm-plan-pro__bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(315deg); /* ← 修正済み：下向きドット吹き出し */
  width: 16px;
  height: 16px;
  background: #fff;
  border-left: 2px dotted #000;
  border-bottom: 2px dotted #000;
}

.dm-plan-pro__box {
  padding: 3em 2em;
  background: #ddeff4;
  width: 100%;
  box-sizing: border-box;
}

.dm-plan-pro__title {
  font-family: ab-megadot9, sans-serif;
  text-align: center;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: 1.2em;
}

.dm-plan-pro__price {
  text-align: center;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  margin-bottom: 1.2em;
}

.dm-plan-pro__yen strong {
  font-size: 1.6em;
}

.dm-plan-pro__tax {
  font-size: 0.9em;
  color: #333;
}

.dm-plan-pro__pages {
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: bold;
  margin-bottom: 0.5em;
}

.dm-plan-pro__page-num {
  font-size: 1.4em;
}

.dm-plan-pro__structure {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 2em;
}

.dm-plan-pro__divider {
  border: none;
  border-top: 1px dotted #000;
  margin: 2em 0;
}

.dm-plan-pro__features {
  font-size: 0.95rem;
  line-height: 2;
  padding-left: 1em;
  text-align: left;
}

.dm-plan-premium {
  font-family: sans-serif;
  font-weight: 400;
  font-style: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 4em auto;
  padding: 0 1em;
  max-width: 480px;
}

.dm-plan-premium__bubble {
  border: 2px dotted #000;
  padding: 1.8em 2em;
  text-align: center;
  margin-bottom: -1.2em;
  background: #fff;
  position: relative;
  z-index: 2;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.dm-plan-premium__bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(315deg); /* ← 下向きのドット矢印 */
  width: 16px;
  height: 16px;
  background: #fff;
  border-left: 2px dotted #000;
  border-bottom: 2px dotted #000;
}

.dm-plan-premium__box {
  padding: 3em 2em;
  background: #ddeff4;
  width: 100%;
  box-sizing: border-box;
}

.dm-plan-premium__title {
  font-family: ab-megadot9, sans-serif;
  text-align: center;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: 1.2em;
}

.dm-plan-premium__price {
  text-align: center;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  margin-bottom: 1.2em;
}

.dm-plan-premium__yen strong {
  font-size: 1.6em;
}

.dm-plan-premium__tax {
  font-size: 0.9em;
  color: #333;
}

.dm-plan-premium__pages {
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: bold;
  margin-bottom: 0.5em;
}

.dm-plan-premium__page-num {
  font-size: 1.4em;
}

.dm-plan-premium__structure {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 2em;
}

.dm-plan-premium__divider {
  border: none;
  border-top: 1px dotted #000;
  margin: 2em 0;
}

.dm-plan-premium__features {
  font-size: 0.95rem;
  line-height: 2;
  padding-left: 1em;
  text-align: left;
}

.price-compare-section {
  width: 100%;
  padding: 60px 20px;
  background: #f5f0ed; /* 元スクショの優しいベージュ */
}

.pcs-block {
  margin-bottom: 60px;
  text-align: center;
}

.pcs-block img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.cta-section {
  width: 100%;
  padding: 60px 20px 80px;
  text-align: center;
}

/* テキスト */
.cta-text {
  font-size: 16px;
  color: #324044;
  line-height: 1.8;
  margin-top: 70px;
  margin-bottom: 30px;
}

/* 共通ボタン */
.cta-btn {
  display: inline-block;
  width: 85%;
  max-width: 320px;
  padding: 18px 0;
  border-radius: 50px;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 60px;
}

.btn-small {
  font-size: 12px;
  opacity: 0.9;
}

/* 濃いグリーン */
.dark-btn {
  background: #2f4345;
}

/* LINEボタン（ライトグリーン） */
.line-btn {
  background: #4cd964;
}

/* TOPへ戻る */
.cta-top {
  display: block;
  margin: 40px 0 30px;
  color: #324044;
  text-decoration: none;
  font-size: 16px;
}

/* 運営元 */
.cta-credit {
  font-size: 14px;
  color: #324044;
  margin-bottom: 20px;
}

/* ロゴ */
.cta-logo {
  width: 140px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.before-after-section {
  width: 100%;
  min-height: 100vh; /* 画面いっぱい */
  background-image: url("/assets/img/section05_back.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 60px 20px 80px;
  text-align: center;
  color: #000;
}

/* テキスト全体の配置 */
.ba-text-wrap {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding-top: 120px; /* 上部のBefore部分に合わせ調整 */
}

/* Before の黒文字 */
.ba-text {
  font-size: 16px;
  font-weight: 700;
  line-height: 2.5;
  margin-bottom: 120px; /* Before → Afterの間隔 */
}

/* After の黒文字 */
.ba-text.after {
  margin-top: 320px; /* Afterの丸位置に合わせる */
  margin-bottom: 85px;
}

/* 結果部分（予約率UP） */
.ba-result {
  font-size: 18px;
  line-height: 1.8;
  margin-top: 40px;
}

.ba-result span {
  font-size: 22px;
  font-weight: 700;
}

/* PC のときだけ中央スマホ表示 */
.lp-wrap {
  max-width: 430px; /* スマホ幅 */
  margin: 0 auto;
  background: #fff; /* スマホ版の背景として */
}

.pc-ameba-bg {
  min-height: 100vh;
  background: #f4f7f7;
  position: relative;
  overflow-x: hidden;
}

.pc-ameba-bg::before {
  content: "";
  position: fixed;
  top: -10%;
  left: -20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(
    circle at 30% 30%,
    #cfeaed 0%,
    #cfeaed 45%,
    transparent 65%
  );
  border-radius: 58% 42% 65% 35% / 55% 38% 62% 45%;
  opacity: 0.9;
  z-index: 1;
}

.pc-ameba-bg::after {
  content: "";
  position: fixed;
  bottom: -15%;
  right: -25%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(
    circle at 70% 70%,
    #b7dfe5 0%,
    #b7dfe5 45%,
    transparent 65%
  );
  border-radius: 63% 37% 45% 55% / 42% 60% 40% 58%;
  opacity: 0.85;
  z-index: 1;
}



/* PCのみ適用 */
@media (min-width: 768px) {
  body {
    background-color: #f0f0f0; /* 補助背景でもOK */
  }
}

@media (max-width: 767px) {
  .pc-ameba-bg::before,
  .pc-ameba-bg::after {
    display: none;
  }
}