/* ===========================
   リセット・ベース
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: #3a3a3a;
  background: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ===========================
   共通レイアウト
=========================== */
.section__inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 64px 24px;
}

.section__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.65;
  color: #2d2d2d;
  text-align: center;
  margin-bottom: 32px;
}

/* ===========================
   ボタン
=========================== */
.btn {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 18px 24px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease;
  border: none;
}

.btn:active {
  transform: scale(0.97);
  opacity: 0.85;
}

.btn--primary {
  background: linear-gradient(135deg, #7ec8a4 0%, #4dac85 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(77, 172, 133, 0.35);
}

.btn--primary:hover {
  opacity: 0.9;
}

.btn--large {
  padding: 20px 24px;
  font-size: 1.05rem;
}

/* ===========================
   安心文
=========================== */
.safe-text {
  margin-top: 12px;
  font-size: 0.78rem;
  color: #888;
  text-align: center;
  line-height: 1.7;
}

/* ===========================
   1. ファーストビュー
=========================== */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e8f4ee;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center top;
  opacity: 0.45;
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(240,250,245,0.55) 0%, rgba(253,248,243,0.6) 60%, rgba(255,255,255,0.65) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 56px 24px 64px;
  text-align: center;
  /* z-index は上の .hero__inner で定義済み */
}

.hero__label {
  display: inline-block;
  background: #e8f7ef;
  color: #4dac85;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.75;
  color: #2d2d2d;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.hero__sub {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.9;
  margin-bottom: 28px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.badge {
  background: #fff;
  border: 1px solid #c5e8d8;
  color: #4dac85;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 50px;
}

.hero__safe {
  margin-top: 12px;
  font-size: 0.76rem;
  color: #aaa;
}

/* ===========================
   2. 悩み訴求
=========================== */
.worries {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.worries::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/section-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  z-index: 0;
  pointer-events: none;
}

.worries .section__inner {
  position: relative;
  z-index: 1;
}

.worry-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.worry-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f9f9f9;
  border-left: 3px solid #c5e8d8;
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  font-size: 0.93rem;
  line-height: 1.65;
  color: #444;
}

.worry-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.worries__note {
  background: #f0faf5;
  border-radius: 12px;
  padding: 20px 22px;
  font-size: 0.9rem;
  line-height: 1.85;
  color: #555;
  text-align: center;
}

.worries__note strong {
  color: #4dac85;
  font-weight: 700;
}

/* ===========================
   3. ベネフィット
=========================== */
.benefit {
  position: relative;
  overflow: hidden;
  background: #fdf8f3;
}

.benefit::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/section-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

.benefit .section__inner {
  position: relative;
  z-index: 1;
}

.benefit__body {
  font-size: 0.93rem;
  line-height: 1.95;
  color: #555;
  text-align: center;
  margin-bottom: 36px;
}

.benefit__cards {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.benefit__card {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  padding: 20px 12px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #e8f4ee;
}

.benefit__card-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.benefit__card-text {
  font-size: 0.8rem;
  line-height: 1.65;
  color: #444;
  font-weight: 500;
}

/* ===========================
   4. 4日間の内容
=========================== */
.program {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.program::before {
  content: '';
  position: absolute;
  top: 0; right: -60px;
  width: 260px; height: 260px;
  background-image: url('../images/section-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.program::after {
  content: '';
  position: absolute;
  bottom: 0; left: -60px;
  width: 220px; height: 220px;
  background-image: url('../images/section-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.program .section__inner {
  position: relative;
  z-index: 1;
}

.program__lead {
  font-size: 0.9rem;
  color: #888;
  text-align: center;
  line-height: 1.9;
  margin-bottom: 36px;
}

.day-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.day-card {
  border: 1px solid #e4f0ea;
  border-radius: 14px;
  padding: 22px 20px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.day-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #7ec8a4, #4dac85);
  border-radius: 4px 0 0 4px;
}

.day-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.day-label {
  display: inline-block;
  background: linear-gradient(135deg, #7ec8a4, #4dac85);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 50px;
  flex-shrink: 0;
}

.day-title {
  font-size: 0.97rem;
  font-weight: 700;
  color: #2d2d2d;
  line-height: 1.5;
}

.day-body {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.85;
  padding-left: 4px;
}

/* ===========================
   5. 中間CTA
=========================== */
.cta-section {
  text-align: center;
}

.cta-section--mid {
  background: linear-gradient(160deg, #f0faf5 0%, #fdf8f3 100%);
  border-top: 1px solid #e8f4ee;
  border-bottom: 1px solid #e8f4ee;
}

.cta-section__lead {
  font-size: 0.93rem;
  line-height: 1.95;
  color: #555;
  margin-bottom: 28px;
}

/* ===========================
   6. プロフィール
=========================== */
.profile {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.profile::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px;
  width: 240px; height: 240px;
  background-image: url('../images/section-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.profile::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 200px; height: 200px;
  background-image: url('../images/section-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.profile .section__inner {
  position: relative;
  z-index: 1;
}

.profile__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.profile__avatar {
  flex-shrink: 0;
}

.profile__avatar-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #c5e8d8;
  box-shadow: 0 4px 20px rgba(77,172,133,0.22);
}

.profile__avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.9rem;
  line-height: 1.9;
  color: #555;
}

.profile__text strong {
  color: #4dac85;
  font-weight: 700;
}

/* ===========================
   stand.fm アイコンリンク
=========================== */
.standfm-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 14px 16px;
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 14px;
}

.standfm-row__text {
  flex: 1;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #666;
}

.standfm-icon-link {
  flex-shrink: 0;
  display: block;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px;
  max-width: 56px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.standfm-icon-link img {
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  object-fit: cover;
  display: block;
}

.standfm-icon-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.standfm-icon-link:active {
  transform: scale(0.95);
}

/* ===========================
   7. FAQ
=========================== */
.faq {
  position: relative;
  overflow: hidden;
  background: #f9f9f9;
}

.faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/section-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}

.faq .section__inner {
  position: relative;
  z-index: 1;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2d2d2d;
  cursor: pointer;
  list-style: none;
  transition: background 0.15s ease;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::before {
  content: 'Q.';
  color: #4dac85;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.88rem;
}

.faq-q::after {
  content: '+';
  margin-left: auto;
  color: #4dac85;
  font-size: 1.2rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

details[open] .faq-q::after {
  transform: rotate(45deg);
}

.faq-item:hover .faq-q {
  background: #f9f9f9;
}

.faq-a {
  padding: 0 18px 16px 18px;
  font-size: 0.87rem;
  line-height: 1.85;
  color: #666;
  border-top: 1px solid #f0f0f0;
  padding-top: 14px;
}

/* ===========================
   8. ラストCTA
=========================== */
.cta-section--last {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #2d6a4f 0%, #40916c 50%, #52b788 100%);
}

.cta-section--last::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/section-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  mix-blend-mode: luminosity;
  z-index: 0;
  pointer-events: none;
}

.cta-section--last .section__inner {
  position: relative;
  z-index: 1;
}

.cta-section__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.7;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
}

.cta-section__body {
  font-size: 0.93rem;
  line-height: 1.95;
  color: rgba(255,255,255,0.88);
  text-align: center;
  margin-bottom: 32px;
}

.cta-section--last .btn--primary {
  background: #fff;
  color: #2d6a4f;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.line-msg {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.9);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.cta-section--last .btn--primary:hover {
  opacity: 0.92;
}

.safe-box {
  margin-top: 24px;
  background: rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.safe-box__item {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.5;
  text-align: center;
}

/* ===========================
   9. 追伸
=========================== */
.ps {
  background: #fdf8f3;
  border-top: 1px solid #f0e8dc;
}

.ps .section__inner {
  padding: 48px 24px 56px;
  text-align: center;
}

.ps__text {
  font-size: 0.8rem;
  color: #bbb;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.ps__body {
  font-size: 0.93rem;
  line-height: 2.1;
  color: #666;
}

.ps__body strong {
  color: #4dac85;
  font-weight: 700;
}

/* ===========================
   フッター
=========================== */
.footer {
  background: #2d2d2d;
  padding: 28px 24px;
}

.footer__inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__copy {
  font-size: 0.78rem;
  color: #888;
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer__nav a {
  font-size: 0.75rem;
  color: #888;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__nav a:hover {
  color: #bbb;
}

/* ===========================
   レスポンシブ（PC補正）
=========================== */
@media (min-width: 640px) {
  .section__inner {
    padding: 80px 32px;
  }

  .hero__inner {
    padding: 72px 32px 80px;
  }

  .hero__title {
    font-size: 1.7rem;
  }

  .section__title {
    font-size: 1.6rem;
  }

  .benefit__cards {
    gap: 16px;
  }

  .benefit__card {
    padding: 24px 16px;
  }

  .benefit__card-text {
    font-size: 0.85rem;
  }

  .safe-box {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 24px;
  }
}

/* ===========================
   フェードインアニメーション
=========================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   浮かぶCTAバー（スマホ固定）
=========================== */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 20px 20px; /* 下は safari の safe area 考慮 */
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid #e8f4ee;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-cta.is-show {
  transform: translateY(0);
}

.floating-cta.is-hidden {
  transform: translateY(100%);
}

.floating-cta__btn {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 16px 24px;
  border-radius: 50px;
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  background: linear-gradient(135deg, #7ec8a4 0%, #4dac85 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(77, 172, 133, 0.4);
  transition: opacity 0.2s ease;
}

.floating-cta__btn:active {
  opacity: 0.85;
}

.floating-cta__note {
  text-align: center;
  font-size: 0.7rem;
  color: #aaa;
  margin-top: 6px;
}

/* 浮かぶCTAがある分、ページ下部に余白を追加 */
body.has-floating-cta {
  padding-bottom: 80px;
}

/* ===========================
   セクション間の区切り装飾
=========================== */
.section-divider {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #7ec8a4, #4dac85);
  border-radius: 2px;
  margin: 0 auto 32px;
}

/* ===========================
   アクセシビリティ
=========================== */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .floating-cta {
    transition: none;
  }
}

:focus-visible {
  outline: 3px solid #4dac85;
  outline-offset: 3px;
}
