/* ===== リセット・共通設定 ===== */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #333;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: inherit;
}
h2{
  margin: 0;
}
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 20px;
  box-sizing: border-box;
}
.support-wrapper{
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 20px;
  box-sizing: border-box;
}
.sp-br{
  display: none;
}

/* デフォルトはPC画像を表示、SP画像を非表示 */
.pc-img {
  display: block;
}
.tb-img {
  display: none;
}
.sp-img {
  display: none;
}
/* 768px以下はSP画像を表示し、PC画像を隠す */
@media screen and (max-width: 768px) {
  .pc-img {
    display: none;
  }
  .tb-img {
    display: block;
  }
  .sp-img {
    display: none;
  }
}
/* 768px以下はSP画像を表示し、PC画像を隠す */
@media screen and (max-width: 485px) {
  .pc-img {
    display: none;
  }
  .tb-img {
    display: none;
  }
  .sp-img {
    display: block;
  }
}
/* ===== ヘッダー固定 & ハンバーガーメニュー ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  box-sizing: border-box;
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
}

.nav {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  margin-left: auto;
  background-color: rgba(255, 255, 255, 0.9); /* 白に少し透け感を追加 */
  backdrop-filter: blur(5px); /* 背景ぼかし（オプション） */
  /* 他のプロパティはそのまま維持 */
  z-index: 1001; /* .nav-overlay より上に */
}

.nav-links li a {
  padding: 8px 12px;
  transition: background 0.3s;
}

.nav-links li a:hover {
  background-color: #f2f2f2;
  border-radius: 4px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

/* ===== オーバーレイ背景（SP用） ===== */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  /* background-color: rgba(255, 182, 193, 0.6);  */
  z-index: 1000; /* nav-links より下にする場合は999でもOK */
  display: none;
  margin: 0;
  padding: 0;
}
.nav-overlay.active {
  display: block;
}


/* ===== Hero セクション ===== */

.hero {
  background-image: url("../images/hero-bg.jpg"); /* 画像パスに注意！ */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}


.hero-title {
  font-size: 2.5rem;
  line-height: 1.4;
  font-family: 'Sawarabi Mincho', serif;
  position: relative;
  top:180px;
  color: #e52a94;
  text-shadow:
  0 0 5px rgba(255, 255, 255, 1),
  0 0 10px rgba(255, 255, 255, 0.9),
  0 0 20px rgba(255, 255, 255, 0.7);
}

.hero-image {
  max-width: 100%;
  width: 300px; /* 必要に応じて調整 */
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.hero-cta-button {
  display: inline-block;
  margin-top: 200px;
  padding: 14px 32px;
  background-color: #38c172;
  color: #fff;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.hero-cta-button:hover {
  background-color: #2fa66b;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 24px;
}

.features {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.features span {
  background: #fff;
  border: 1px solid #ddd;
  padding: 8px 12px;
  border-radius: 8px;
}

.cta-button {
  display: inline-block;
  background-color: #38c172;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #2fa66b;
}

/* ===== Message セクション ===== */
.message-img img {
  max-width: 1000px; /* 画像の最大幅を1000pxに制限 */
  width: 100%;  /* 親要素に合わせて自動調整 */
  height: auto; /* 縦横比を保ったまま調整 */
  border-radius: 8px; /* 角を丸くする場合 */
}

/* ===== Recommended セクション ===== */

.recommend-section {
  background: linear-gradient(to bottom, #fff7c2, #ffe07a);
  background-image: url("images/bg-pattern.png"); /* 仮背景画像のパス */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background: linear-gradient(to bottom, #fff7c2, #ffe07a);
  padding: 30px 20px;
  text-align: center;
}

.recommend-image img {

  margin: 0 auto;
  max-width: 100%;
  width: 800px;     /* 推奨サイズ：任意に調整可 */
  height: auto;
}



/* ===== Points セクション ===== */
.points {
  padding: 60px 0;
  background: #fff;
}

.section-title {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
}

.section-subtitle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 500;
  color: #333;
  margin: 24px 0;
}

/* 左右の横線 */
.section-subtitle::before,
.section-subtitle::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ccc;
  margin: 0 16px; /* 文字との余白 */
}

.point-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

.point-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 50px;
  flex-wrap: wrap;
  border-bottom: #999999 1px solid;
}

.point-item.reverse {
  flex-direction: row-reverse;
}

.point-image img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.point-content {
  flex: 1;
  position: relative;
  padding-top: 40px;
  min-width: 280px;
}

.point-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem;
  color: #f5f1f1;
  font-weight: 700;
  position: absolute;
  top: -40px;
  left: 40px; /* ← ここで位置調整 */
  z-index: 0;
}



.point-heading {
  position: relative;
  z-index: 1;
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 12px;
}

.point-text {
  font-size: 1rem;
  text-align: left;
  color: #444;
  margin: 0 0 100px;
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

/* ===== レスポンシブ ===== */
@media (max-width: 845px) {
  .sp-br{
    display: block;
  }
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    flex-direction: column;
    gap: 16px;
    padding: 80px 16px 16px;
    /* box-shadow: 2px 0 6px rgba(0,0,0,0.1); */
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .message-block,
  .message-block.reverse,
  .point-item,
  .point-item.reverse,
  .recommend-box {
    flex-direction: column;
    text-align: center;
  }

  .recommend-text,
  .point-text {
    text-align: left;
    padding: 0 50px;
  }

  .features {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 2rem;
    top: 160px;
  }

  .section-title {
    font-size: 2.5rem;
  }
  .logo {
    font-size: 1rem;
  }
}


/* ===== Support セクション ===== */
.support-section {
  background-image: url("../images/bg-pattern.jpg"); /* パターン画像のパス */
  background-repeat: repeat; /* パターンなので繰り返し */
  background-size: auto; /* 必要に応じて contain や cover に */
  background-position: top left; /* 必要なら center center など */
  padding: 60px 0; /* セクションの上下余白を確保 */
}
/* .support-section {
  background: #fff8dc;
  padding: 80px 20px;
  text-align: center;
} */

.support-image {
  width: 100%; /* 画像が画面幅いっぱいに広がる */
  height: 300px; /* 高さ300pxに固定 */
  object-fit: cover; /* 画像が縦横比を保ちながらフィット */
  display: block;
}


.support-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  margin-bottom: 12px;
  color: #444;
}
.support-subtitle{
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin-top: 40px;
  margin-bottom: 40px;
}

.support-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 60px;
}

.support-card {
  background: #fff;
  border: 1px solid #ccc;
  padding: 24px;
  flex: 1 1 calc(33.333% - 20px);
  box-sizing: border-box;
  text-align: left;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  border-radius: 6px;
  min-width: 260px;
}

.support-card h3 {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 12px;
  background:linear-gradient(transparent 60%, #ff6 60%);
}


/* === Support Section サポーター紹介 横並び4つ === */
.support-members {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  max-width: 1000px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.member-card {
  flex: 1 1 calc(25% - 24px);
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  text-align: left;
  box-sizing: border-box;
}


.member-card h4 {
  font-size: 0.7rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.member-card h4 span {
  display: block;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 4px;
}

.member-card p {
  font-size: 0.9rem;
  color: #555;
}



@media (max-width: 768px) {
  .member-card {
    flex: 1 1 100%;
  }
}



/* .support-members {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  justify-content: center;
}

.member-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  text-align: left;
  font-size: 0.9rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border-radius: 6px;
  gap: 20px;
}

.member-card h4 {
  font-size: 1rem;
  margin: 0 0 6px;
  line-height: 1.4;
  flex: 0 0 200px;
}

.member-card span {
  font-weight: normal;
  display: block;
  font-size: 0.9rem;
  color: #444;
  margin-top: 4px;
} */

@media (max-width: 768px) {
  .support-members {
    grid-template-columns: 1fr;
  }
  .support-cards,
  .support-members {
    flex-direction: column;
    align-items: center;
  }

  .support-card,
  .member-card {
    width: 90%;
  }

  .support-title {
    font-size: 2.2rem;
  }
  .support-section {
    padding: 0 0 20px;

  }
  .support-wrapper{
    max-width: 100%;
    padding: 0px;
  }
}




/* ===== Curriculum セクション ===== */
.curriculum-section {
  background: #fff;
  padding: 80px 20px;
}
.curriculum-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 40px;
}
.curriculum-details {
  display: flex;
  flex-direction: column; /* 縦に並べる */
  gap: 20px; /* アイテム間の隙間を設定 */
}

.curriculum-item {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 50px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.curriculum-image {
  width: 220px;  /* 画像の横幅を120pxに変更 */
  height: 220px; /* 画像の高さを120pxに変更 */
  border-radius: 50%; /* 円形にする */
  overflow: hidden;
}

.curriculum-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像が枠にフィット */
}
.curriculum-content {
  flex: 1;
  text-align: left; /* テキストを左寄せに */
}

.curriculum-content h4 {
  font-size: 2rem;
  font-weight: bold;
}

.curriculum-content .curriculum-subtitle {
  font-size: 1.2rem;
  font-weight: normal;
  color: #777;
}

.curriculum-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}
.title-wrapper {
  position: relative; /* 親要素を相対位置に設定 */
}

.title-icon {
  position: absolute;
  width: 200px;
  height: 70px;
  top: -35px; /* タイトルから上に少し移動 */
  right: -40px; /* タイトルから左に少し移動 */
  object-fit: contain; /* アスペクト比を保ちながら収める */
  transform: rotate(15deg); /* アイコンを30度傾ける */
}

/* ===== レスポンシブ対応 ===== */
@media (max-width: 768px) {
  .curriculum-item {
    flex-direction: column; /* スマホ画面では縦に並べる */
    align-items: center; /* 画像とテキストを中央揃え */
  }

  .curriculum-image {
    width: 150px;  /* 画像の横幅を小さく調整 */
    height: 150px; /* 画像の高さを小さく調整 */
  }

  .curriculum-content .curriculum-subtitle {
    font-size: 0.9rem; /* サブタイトルフォントサイズ調整 */
  }
  .title-icon {
    top: -70px; 
    right: -40px; 
    transform: rotate(8deg);
  }
  .recommend-text,
  .point-text {
    text-align: left;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .container{
    margin: 0;
  }
  .curriculum-item {
    padding: 30px;  /* さらに余白を小さく調整 */
  }

  .curriculum-image {
    width: 120px;  /* 画像の横幅を小さく調整 */
    height: 120px; /* 画像の高さを小さく調整 */
  }

  .curriculum-content .curriculum-subtitle {
    font-size: 0.85rem; /* サブタイトルフォントサイズ調整 */
  }

  .curriculum-content p {
    font-size: 1rem; /* 本文フォントサイズ調整 */
  }
  .title-icon {
    top: -60px; 
    right: -40px; 
    transform: rotate(8deg);
  }
  .recommend-text,
  .point-text {
    text-align: left;
    padding: 0;
  }
  .point-item {
    padding: 50px 0px;
  }
  .point-number {
    top: -40px;
    left: 80px; /* ← ここで位置調整 */
  }
  .container {
    padding: 20px 10px;

  }
}

/* ===== Curriculum セクション ===== */
/* .curriculum-section {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.curriculum-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  margin-bottom: 12px;
  color: #444;
}

.curriculum-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 40px;
}

.curriculum-image img {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  box-shadow: none;
}


.curriculum-subheading {
  font-size: 1.4rem;
  color: #d63384;
  margin-bottom: 40px;
}

.curriculum-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.curriculum-box {
  background: #fff;
  border: 1px solid #ddd;
  padding: 24px;
  width: calc(50% - 20px);
  max-width: 480px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 6px;
  text-align: left;
  box-sizing: border-box;
}

/* .curriculum-box h4 {
  font-size: 1rem;
  color: #333;
  margin-bottom: 12px;
} */

.curriculum-box p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.curriculum-box h4 {
  font-size: 1.5rem;
  font-weight: bold;
} */

.curriculum-subtitle {
  font-size: 1.3rem; /* 文字サイズを少し大きめに */
  font-weight: normal;
  color: #888; /* グレー色に変更 */
  margin-bottom: 8px;
}


@media (max-width: 768px) {
  .curriculum-box {
    width: 90%;
  }
  .curriculum-details {
    grid-template-columns: 1fr;
  }
  .curriculum-details {
    flex-direction: column;
    align-items: center;
  }

  .curriculum-box {
    width: 90%;
  }

  .curriculum-title {
    font-size: 2.2rem;
  }
}


/* ===== Voice セクション ===== */


.voice-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.voice-profile {
  display: flex;
  align-items: center;
  gap: 20px;
}

.voice-profile img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}

.voice-meta {
  font-size: 0.95rem;
  color: #555;
}

.voice-comment p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

/* .voice-section {
  background-image: url("../images/bg-pattern2.jpg");
  background-color: rgba(0, 0, 0, 0.1);
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-size: auto;
  background-position: center;
  position: relative;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
} */
.voice-section {
  background: #f0f0f0;
  position: relative;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

.voice-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  margin-bottom: 12px;
  color: #444;
}

.voice-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 60px;
}

.voice-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: nowrap;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.voice-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 24px;
  width: 100%;
  max-width: 300px;
  text-align: left;
  color: #333;
  box-sizing: border-box;
}

.voice-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.voice-name {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 12px;
}

.voice-name span {
  display: block;
  font-weight: normal;
  font-size: 0.9rem;
  color: #555;
}

.voice-item p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.flower {
  position: absolute;
  z-index: 0;
  opacity: 0.5;
  width: 200px;
  transition: all 0.3s ease-in-out; /* スムーズに動くように */
}

.flower-left {
  top: 40px;
  left: 10%; /* 左側の花を画面幅の10%に配置 */
  transform: none;
  bottom: auto;
}

.flower-right {
  bottom: 0px;
  left: calc(100% - 120px); /* 右側の花を画面幅の右端に配置 */
  transform: translateX(-50%); /* 花が中央に表示されるように調整 */
}

@media (max-width: 1200px) {
.flower-right {
  position: absolute;
  bottom: -50px;
}
.voice-list {
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.voice-item {
  max-width: 100%;
  width: 90%;
}
}

@media (max-width: 768px) {

  .voice-item {
    width: 90%;
  }
  .flower {
    width: 150px; /* 花を少し小さくする */
  }

  .flower-left {
    left: 5%; /* 左側の花の位置を調整 */
  }

  .flower-right {
    bottom: 0px;
    left: calc(100% - 80px); /* 右側の花を画面幅の右端に配置 */
    transform: translateX(-50%); /* 右側の花を中央寄せ */
  }
}

@media (max-width: 480px) {
  .flower-left {
    left: 5%; /* スマホサイズで左の花をさらに左に配置 */
  }

  .flower-right {
    left: calc(100% - 80px); /* 右側の花をスマホサイズで右端に配置 */
    transform: translateX(-50%); /* 右側の花を中央寄せ */
  }
  .voice-section {
    padding: 80px 0px;
  }
  
}

/* ===== Program Costs セクション ===== */
.cost-section h4 {
  text-align: center;
}
.cost-section {
  background: #fff;
  padding: 80px 20px;
  text-align: left;
}

.cost-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  margin-bottom: 8px;
  color: #444;
}

.cost-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 60px;
}

.cost-boxes {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cost-boxes {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cost-box {
  flex: 1 1 300px;
  max-width:320px;
  padding-right: 60px;
  border-right: 1px solid #ccc;
}

.cost-box:last-child {
  border-right: none;
  padding-right: 0;
}


.cost-box h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #444;
}

.cost-main-wrapper {
  border-radius: 8px;
  padding: 24px;
  max-width:320px;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}
.cost-main {
  font-size: 2.5rem;
  font-weight: bold;
  color: #222;
  margin: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}


.cost-plus {
  border: 1px solid #ddd;
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 40px 20px 20px;
  border-radius: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 250px; /* 同じ高さに設定 */
}

.cost-plus-icon {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #00b050;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #00b050;
  font-weight: bold;
  z-index: 2;
}



.cost-sub {
  font-size: 0.95rem;
  color: #555;
}

.cost-note {
  font-size: 0.85rem;
  color: #999;
  margin-top: 12px;
}

.cost-plus {
  border: 1px solid #ddd;
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 40px 20px 20px;
  border-radius: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.cost-plus-icon {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #00b050;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #00b050;
  font-weight: bold;
  z-index: 2;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
 .cost-boxes {
    flex-direction: column;
    gap: 20px;
  }
  .cost-box {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    height: auto; /* 自動に戻してOK */
    padding: 0px;
    box-sizing: border-box;
    width: 100%;
    max-width:100%;
  }
  .cost-box2 {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    height: auto; /* 自動に戻してOK */
    padding: 0px;
    box-sizing: border-box;
    width: 100%;
    max-width:100%;
  }
  .cost-plus {
    flex-direction: column;
  }


  .cost-main-wrapper {

    max-width: 100%; /* 親幅を超えないよう保険 */
    margin: 0 auto; /* 中央寄せ */
  }

  .cost-main-wrapper h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
  }

  .cost-main {
    font-size: 2.2rem;
    font-weight: bold;
    margin: 16px 0;
  }

  .cost-box p {
    margin-top: 12px;
  }



  .cost-plus {
    height: auto;
    padding-top: 60px; /* 上部にプラスマーク分の余白 */
    padding-bottom: 20px;
  }

  .cost-sub {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .cost-note {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.6;
  }
}


@media (max-width: 480px) {
  .cost-box {
    text-align: center; /* スマホサイズでテキストを中央揃え */
  }

  .cost-main {
    font-size: 3.3rem;  /* スマホ用のフォントサイズ調整 */
  }

  .cost-boxes {
    flex-direction: column; /* スマホサイズで縦並び */
  }

  .cost-plus {
    flex-direction: column;
  }

}



/* ===== FAQ セクション ===== */
.faq-section {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
  background-color: #f8f8f8;
}

.faq-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  margin-bottom: 8px;
  color: #444;
}

.faq-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 40px;
}

.faq-items {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: left;
}

.faq-item {
  border: 1px solid #ccc;
  border-left: 4px solid #2e7dff;
  margin-bottom: 16px;
  border-radius: 4px;
  overflow: hidden;
}

.faq-question {
  background: #f9f9f9;
  padding: 16px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  content: '-';
}

.faq-answer {
  padding: 0 16px 16px;
  display: none;
  font-size: 0.95rem;
  color: #444;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ===== CTAボタン ===== */
.cta-button {
  display: inline-block;
  background-color: #38c172;
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  transition: background 0.3s;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #2fa66b;
}
.faq-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #f9a8d4, #f472b6);
  border-radius: 2px;
  margin: 0 auto 20px;
}

@media (max-width: 768px) {
  .faq-title {
    font-size: 2.2rem;
  }

  .cta-button {
    width: 90%;
  }
  .cta-button {
    display: inline-block;
    background-color: #38c172;
    color: #fff;
    padding: 14px 14px;
  }
}

.site-footer {
  background-color: #333;
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #fff;
}

.site-footer .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 上に戻る */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: #38c172;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
  text-align: center;
  line-height: 48px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: background 0.3s, transform 0.3s;
  z-index: 999;
}

.back-to-top:hover {
  background-color: #2fa66b;
  transform: scale(1.1);
}
