@charset "UTF-8";

/* ==========================================================================
   RESET & BASE STYLES (共通設定)
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-purple: #612563;
  --color-darkpurple: #572440;
  --color-lightgreen: #fbfff6;
  --color-green: #aebb22;
  --color-darkgreen: #587c34;
  --color-dark: #4d1f1a;
  --color-brown: #7d5330;
  --color-beige: #bfad79;
  --color-gray: #666;
  --color-light: #fdf7ee;
}

body {
  font-family: 'Noto Serif JP', serif;
  color: #333;
  line-height: 1.6;
  background-color: #fff;
  overflow-x: hidden;
}



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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}


.about-schools,
.parent {
  background-color: var(--color-lightgreen);
}

.flex {
  display: flex;
}



/* 共通見出し装飾（左右のライン） */
.section-title-serif {
  font-size: 30px;
  color: var(--color-purple);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  text-align: left;
  width: 100%;
  font-weight: bold;
  z-index: 2;
}


.section-title {
  font-size: 30px;
  color: var(--color-purple);
  margin-bottom: 20px;
  position: relative;
  align-items: center;
  gap: 25px;
  display: inline-flex;
  justify-content: center;
  width: 100%;
  font-weight: bold;
  letter-spacing: 2.5px;
}

.section-title-icon {
  font-size: 30px;
  color: var(--color-purple);
  margin-bottom: 20px;
  position: relative;
  align-items: center;
  gap: 25px;
  display: inline-flex;
  justify-content: space-between;
  width: 100%;
  font-weight: bold;
  letter-spacing: 2.5px;
  text-align: center;
  line-height: 1.2;
}



.title-icon {
  height: 80px;
}

.title-icon-sp {
  display: none;
}


.side-icon {
  height: 40px;
  display: inline-block;
  margin-right: 5px;
  vertical-align: -6px;
}

.section-title-serif span {
  background: #fff;
  /* ★ここの色をページの背景色（白やクリーム色など）に合わせてください */
  padding-right: 15px;
  /* 文字の右側に少し余白を作って線と離す */
  position: relative;
  z-index: 3;
  /* 線（z-index: 1）よりも上に配置 */
  align-items: center;
  /* 垂直方向の中央揃え */
}

.about-schools .section-title-serif span,
.parent .section-title-serif span {
  background: var(--color-lightgreen);
}

.section-title-serif::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100%;
  height: 1px;
  background: var(--color-purple);
  z-index: 1;
}

.section-title-serif::before {
  left: 0;
}

.section-title-serif::after {
  right: 0;
}

/* ==========================================================================
   HEADER (ヘッダー)
   ========================================================================== */
.header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  opacity: 0.9;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 20px;
}

.logo img {
  height: 60px;
  padding: 5px 0;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav ul li a {
  text-decoration: none;
  color: #4a3b32;
  font-weight: bold;
  font-size: 14px;
}

.btn-cta-header {
  background-color: var(--color-darkgreen);
  color: #fff;
  padding: 10px 22px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: sans-serif;
  transition: all 0.3s ease;
}

.btn-cta-header:hover {
  background-color: var(--color-green);
}

/* ==========================================================================
    HERO SECTION (メインビジュアル)
   ========================================================================== */

/* --- ヒーロー全体の設定 --- */
.hero-container {
  align-items: center;
  max-width: 1400px;
  margin: 0 auto 20px;
  padding: 70px 40px;
  position: relative;
  min-height: 550px;
  display: flex;
  /* 追加：縦中央にコンテンツを配置しやすくするため */
  overflow: hidden;
}

/* --- 左側のテキストエリア --- */
.hero-content {
  z-index: 10;
  position: relative;
  max-width: 620px;
  /* 重要：文字が右の画像エリアに重なりすぎないよう横幅を制限 */
  width: 100%;
}

/* --- 斜線付きサブテキスト --- */
.hero-subtext {
  font-family: sans-serif;
  font-size: 24px;
  letter-spacing: 0.1em;
  font-weight: bold;
  color: var(--color-beige);
  display: inline-flex;
  /* flex から inline-flex に変更して文字幅に合わせる */
  align-items: left;

  gap: 15px;
  margin-bottom: 10px;
}


/* --- タイトル・リード・デスク --- */
.hero-title {
  font-size: 50px;
  color: var(--color-purple);
  letter-spacing: 0.5rem;
  line-height: 1.3;
  font-weight: normal;
  margin: 10px 0 30px;
}

.hero-title span {
  color: var(--color-beige);
}

.hero-lead {
  font-size: 24px;
  color: var(--color-darkgreen);
  margin: 10px 0 15px;
  letter-spacing: 0.2rem;
  font-weight: bold;
}

.hero-desc {
  font-size: 16px;
  margin-bottom: 40px;
  line-height: 1.8;
}

/* --- バッジ --- */
.hero-badges {
  width: fit-content;
  display: block;
  margin-bottom: 20px;
}

.badge {
  border: 1px solid var(--color-beige);
  border-radius: 8px;
  padding: 10px 20px;
  background: #fff;
  display: flex;
  gap: 15px;
  align-items: center;
}

.badge-title {
  display: block;
  font-size: 12px;
  color: var(--color-brown);
  text-align: left;
}

.badge-desc {
  display: block;
  font-size: 16px;
  letter-spacing: 1.5px;
  font-weight: bold;
}

.badge img {
  width: 40px;
}

/* --- メイン画像エリア（グラデーションなし版） --- */
.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  /* 画像のグラデーションの消え入り方（フェード幅）に合わせて調整してください。
    画像を広めに見せたい場合は 60% 〜 70% に広げてもOKです。
  */
  width: 100%;
  height: 100%;
  z-index: 0;
  /* テキストより下に配置 */
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0 0 0 100px;
  /* 左下の角丸あしらい */
}

/* ==========================================================================
    INTRO SECTION (説明会・体験レッスン案内)
   ========================================================================== */

.section-subtitle {
  font-size: 17px;
  margin-bottom: 40px;
  text-align: center;
}

.intro-cards {
  display: flex;
  gap: 30px;
  text-align: left;
}

.intro-card {
  flex: 1;
  border-radius: 12px;
  padding: 30px 25px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.card-green {
  border: 1.5px solid var(--color-darkgreen);
  background-color: #fafdf7;
}

.card-purple {
  border: 1.5px solid var(--color-darkpurple);
  background-color: #fdfbfe;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.card-header img {
  width: 40px;
}

.card-header h3 {
  font-size: 26px;
  color: var(--color-purple);
}

.intro-card:first-of-type h3 {
  color: var(--color-darkgreen);
}

.card-desc {
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 2;
  min-height: 8em;
}

.card-list {
  list-style: none;
  margin-bottom: 20px;
  flex: 3;
  font-weight: bold;
}

.card-img {
  flex: 2;

}

.card-list li {
  font-size: 14px;
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #587c34;
  font-weight: bold;
}

.card-purple .card-list li::before {
  color: #724272;
}

.card-img img {
  border-radius: 8px;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-flex {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* この体験の目的 */
.purpose-box {
  background-color: #fdf7ee;
  border-radius: 8px;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
}

.purpose-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  color: var(--color-brown);
  white-space: nowrap;
}

.purpose-title img {
  width: 30px;
}

.purpose-text {
  font-size: 14px;
}

/* ==========================================================================
 ABOUT & SCHOOLS SECTION (AWISとは・校舎紹介)
   ========================================================================== */

.school-list {
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  flex-direction: column;
}


.about-header {
  flex: 2;
}

.about-header p {
  font-size: 16px;
  margin: 20px 0;
  position: relative;
}

.btn-more {
  display: inline-block;
  border: 1px solid #8d744a;
  color: #8d744a;
  padding: 8px 24px;
  text-decoration: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s;
}

.btn-more:hover {
  background: #8d744a;
  color: #fff;
}

.school-flex {
  display: flex;
  gap: 20px;
}

.school-cards {
  display: flex;
  gap: 10px;
  flex: 4;
}

.school-card {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
}

.school-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.school-card h4 {
  margin-top: 10px;
  font-weight: bold;
  font-size: 16px;
  color: var(--color-darkpurple);
  text-align: center;
}

.school-card h4 span {
  font-size: 12px;
}


.intro-text {
  position: relative;
  padding-bottom: 20px;
}

.ib-icon {
  position: absolute;
  /* 絶対配置に変更 */
  right: 0;
  /* 右端にぴったり */
  bottom: 0;
  /* 下端にぴったり */

  max-width: 280px;
  /* 画像の横幅（見栄えに合わせて調整してください） */
  height: auto;
}


/* ==========================================================================
 AWIS FEATURES SECTION (特徴4選)
   ========================================================================== */
.features {
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.feature-grid-2 {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  margin: 20px 0 20px;
}

.feature-item {
  border: 1px solid #ebdcb9;
  border-radius: 12px;
  padding: 10px;
  background: #fff;

  /* 内部をグリッド構造にする */
  display: grid;
  /* 1行目(画像): 自動、2行目(タイトル): 自動、3行目(本文): 残りすべて */
  grid-template-rows: auto auto 1fr;
  /* 各パーツの間の縦の隙間 */
  row-gap: 15px;

  /* 中身を中央揃えにする */
  text-align: center;
  justify-items: center;
}

.feature-item-2 {
  border: 1px solid #ebdcb9;
  border-radius: 12px;
  padding: 20px;
  background: #fff;

  /* 内部をグリッド構造にする */
  display: grid;
  /* 1行目(画像): 自動、2行目(タイトル): 自動、3行目(本文): 残りすべて */
  grid-template-rows: auto auto 1fr;
  /* 各パーツの間の縦の隙間 */
  row-gap: 25px;

  /* 中身を中央揃えにする */
  text-align: left;
  justify-items: center;
}


.feature-mushouka {
  border: 1px solid #ebdcb9;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
}

.feature-item img,
.feature-item-2 img {
  max-width: 100%;
  height: auto;
  display: block;
  width: 120px;
}

.feature-item h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  color: #4a3b32;
  align-self: center;
  height: 2em;
  display: flex;
  flex-direction: column;
  /* 縦並びにする（2行になったときに崩れないようにするため） */
  justify-content: center;
}

.feature-item-2 h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  color: #4a3b32;
  align-self: center;
  height: 2em;
  display: flex;
  flex-direction: column;
  /* 縦並びにする（2行になったときに崩れないようにするため） */
  justify-content: center;
}


.feature-item p,
.feature-item-2 p {
  font-size: 14px;
  color: #666;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.features-bottom-img {
  width: 100%;
  margin: 0 auto;
  /* FlexboxからGridレイアウトに変更し、PC版では横に4等分並べる */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  /* 画像と画像の間隔（デザインに合わせて調整してください） */
}

.features-bottom-img img {
  width: 100%;
  /* 親要素のグリッド幅いっぱいに広げる */
  height: 250px;
  /* 高さを250pxに固定 */
  object-fit: cover;
  /* 画像の比率を保ったままトリミングする */
  object-position: top;
  /* 上部を基準にトリミング */
  border-radius: 12px;
}

.features img {
  width: 60px;
  margin: 0 auto;
}

.ib-logo {
  height: 90px !important;
  width: auto !important;
}


/* ==========================================================================
 APPLICATION FORM SECTION (お申し込みフォーム)
   ========================================================================== */

.form-left {
  flex: 4;
}

.application {
  background-color: #fff;
  padding: 20px 0;
}

.application-container {
  max-width: 800px;
}

.app-info {
  flex: 1;
}

.formtxt {
  margin-bottom: 20px;
}

.form-title-serif {
  font-size: 32px;
  color: #553855;
  margin-bottom: 25px;
  line-height: 1.3;
  text-align: center;
}

.form-sub-title {
  font-size: 18px;
  color: #4a3b32;
  margin-bottom: 20px;
  text-align: center;
}

.hope-dates {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.date-input-dummy label {
  font-size: 13px;
  font-weight: bold;
  color: #666;
  display: block;
  margin-bottom: 4px;
}

.dummy-box {
  background: #f8f9fa;
  border: 1px solid #e2e8f0;
  padding: 12px;
  border-radius: 6px;
  color: #a0aec0;
  font-size: 14px;
}

.after-join {
  margin: 40px auto;
}

.after-join h4 {
  font-size: 18px;
  color: #4a3b32;
  margin-bottom: 15px;
}

.after-join ul {
  list-style: none;
  margin-bottom: 20px;
  text-align: ul;
}

.after-join ul li {
  font-size: 14px;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.after-join ul li::before {
  content: "✓";
  color: #587c34;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.after-join img {
  border-radius: 8px;
  width: 200px;
}

/* フォーム入力欄エリア */
.app-form-wrapper {
  flex: 2;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  max-width: 800px;
  margin: 40px auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 8px;
  color: #333;
}

.required {
  background: #e53e3e;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.optional {
  background: #718096;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.tg-form input[type="text"],
.tg-form input[type="tel"],
.tg-form input[type="email"],
.tg-form select,
.tg-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  font-size: 14px;
  background-color: #fafafa;
}

.flex-inputs {
  display: flex;
  gap: 15px;
  align-items: center;
}

.w-short {
  width: 140px !important;
}

.date-selects input {
  width: 60px;
  padding: 8px;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  text-align: center;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 5px;
}

.radio-group label {
  font-weight: normal;
}

.tg-form textarea {
  height: 100px;
  resize: vertical;
}

.btn-submit {
  margin: 0 auto;
  background-color: #553855;
  color: #fff;
  border: none;
  padding: 15px 50px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: #3d263d;
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: #666;
  margin-top: 15px;
}


/* ==========================================================================
   7.5. INSTAGRAM SECTION
   ========================================================================== */
.instagram-section {
  background-color: var(--color-darkgreen);
  text-align: center;
}

.insta-container {
  display: block;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px;
  position: relative;
}

.kids-icon {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  /* 💡 これを追加：クリックなどのマウスイベントを無視（透過）させる */
}

.kids-icon img {
  width: 150px;
  height: auto;
}


.insta-title {
  color: #fff;
  font-size: 25px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.insta-txt img {
  height: 40px;
  /* ★重要：隣のテキストブロックの高さ（100%）に合わせます */
  width: auto;
  /* ★重要：高さに合わせて、画像の縦横比（アスペクト比）が崩れないように自動計算させます */
  /* もし画像が大きくなりすぎるのを防ぎたい場合は、以下を足すと綺麗に収まります */
  object-fit: contain;
  /* 枠（テキストの高さ）の中に綺麗に画像を収める設定 */
  display: inline-block;
}

.insta-subtitle {
  font-size: 15px;
  color: #fff;

}



/* フォローボタンのスタイリング */
.insta-btn-wrapper {
  display: block;
  justify-content: center;
  margin-top: 10px;
}


.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  /* インスタ風グラデーション */
  color: #fff;
  padding: 12px 35px;
  border-radius: 15px;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-instagram img {
  width: 20px;
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.3);
}

.insta-photo {
  width: 80%;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}


.insta-photo-item {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  /* 正方形に揃える */
}

.insta-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.insta-photo-item:hover img {
  transform: scale(1.08);
  /* カーソルを合わせたときに少しズーム */
}


/* ==========================================================================
   8. TESTIMONIALS SECTION (保護者の声)
   ========================================================================== */
.testimonials {
  padding: 80px 0;
  background-color: #fdfaf6;
  text-align: center;
}

.testimonial-flex {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.testimonial-cards-wrapper {
  flex: 1;
  /* 左側のカードエリアを可能な限り広く確保 */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 横に2列並べる（等幅） */
  gap: 20px;
  /* カード同士の縦横の隙間 */
}

.testimonial-card {
  background: #fffdfd;
  border-radius: 8px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.1);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card .quote {
  font-size: 15px;
  color: #333;
  margin-bottom: 10px;
  line-height: 2;
}

.quote {
  display: flex;
}



.quote img {
  width: 30px;
  height: 30px;
}

.author {
  display: flex;
  justify-content: end;
  align-items: end;
  gap: 20px;
}

.author img {
  width: 60px;
}

.testimonial-card .author {
  font-size: 12px;
  color: var(--color-gray);
}

.testimonial-side-img {
  border-radius: 12px;
}



/* ==========================================================================
   9. FOOTER & RESPONSIVE (フッター・レスポンシブ)
   ========================================================================== */
.footer {
  background: var(--color-darkpurple);
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
}


/* モバイル対応レイアウト変換 */
@media (max-width: 768px) {

  .header-container,
  .hero-container,
  .intro-cards,
  .application-container,
  .purpose-box,
  .school-cards,
  .testimonial-flex {
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    display: none;
  }

  .hero-title {
    font-size: 38px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



/* ==================================================
   【スマホ用】画面幅が767px以下になった時の切り替え
   ================================================== */
@media (max-width: 767px) {

  .feature-grid,
  .feature-grid-2 {
    grid-template-columns: 1fr;
  }

  .flex-inputs {
    flex-direction: column;
    align-items: flex-start;
  }


  /* ヘッダーのロゴ中央寄せ */
  .header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
  }

  /* ヘッダーの中にある元々のボタンは非表示 */
  .header .btn-cta-header {
    display: none !important;
  }

  /* 1. ボタンエリア全体の背景を「少し透ける白」にして浮かせる */
  .sp-fixed-footer-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 9999;

    /* 下のコンテンツがほんのり透けるすりガラス風 */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    /* 背景をぼかす（対応ブラウザのみ） */

    /* 上側にだけ薄い境界線を入れて上品に */
    border-top: 1px solid rgba(0, 0, 0, 0.05);

    /* ボタンのまわりに程よい余白を作る */
    padding: 12px 15px calc(12px + env(safe-area-inset-bottom));
    /* iPhoneの画面下のバーも考慮 */
    box-sizing: border-box;
    gap: 10px;
    /* ボタンとボタンの間のすき間 */
    justify-content: space-evenly;
  }

  /* 2. ボタンの共通設定（丸みと立体感を追加） */
  .sp-fixed-footer-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    padding: 14px 10px;
    box-sizing: border-box;

    /* 角を丸くして「ボタン感」を出す */

    /* ボタン単体に軽いシャドウ（影）をつけて立体的に */
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.2);
    margin: 0;
    transition: transform 0.1s, opacity 0.2s;
  }

  /* タップした時に少し沈むエフェクト */
  .sp-fixed-footer-menu a:active {
    transform: scale(0.97);
    opacity: 0.9;
  }

  /* 3. インスタボタン（35%の幅） */
  .btn-insta-fixed {
    width: 35%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff !important;
  }

  .btn-insta-fixed .insta-icon {
    width: 18px;
    height: 18px;
    margin-right: 4px;
    object-fit: contain;
  }

  /* 4. お申し込みボタン（65%の幅） */
  .sp-fixed-footer-menu .btn-cta-header {
    display: flex !important;
    width: 65%;
    /* ※もしPC版でお申し込みボタンの背景色（オレンジやピンクなど）が
       ついていれば自動で適用されます。文字色は白（#fff）に上書きしておきます */
    color: #fff !important;
  }

  /* 5. 最下部の余白確保（ボタンエリアが広くなった分、少し多めに） */
  body {
    padding-bottom: 70px;
  }

  .logo img {
    height: 60px;
    padding: 0;
  }



  /* ========================================================
   ★ heroレスポンシブ設定 (画面幅767px以下)
   ======================================================== */

  /* 1. 全体の並び順を縦並び（Flexboxの縦積み）に変更 */
  .hero-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px 20px;
    min-height: auto;
  }

  /* 2. テキストエリアの横幅を100%に広げる */
  .hero-content {
    max-width: 100%;
    width: 100%;
    margin-bottom: 25px;
    /* 下に配置する画像との間隔を空ける */
  }

  /* 3. 各種テキストのサイズ調整 */
  .hero-subtext {
    font-size: 18px;
    /* スマホ用に少し小さく */
    gap: 10px;
    margin-bottom: 5px;
  }

  .hero-title {
    font-size: 32px;
    /* 2〜3行で綺麗に収まるサイズに調整 */
    letter-spacing: 0.2rem;
    line-height: 1.4;
    margin: 5px 0 20px;
  }

  .hero-lead {
    font-size: 20px;
    letter-spacing: 0.1rem;
    margin-bottom: 10px;
  }

  .hero-desc {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    /* 次が画像なので一旦リセット */
  }

  /* 4. ★ここがポイント：背面固定を解除して、通常の画像として縦に並べる */
  .hero-image {
    position: static;
    /* absolute（背面固定）を解除して縦に並べる */
    width: 100vw;
    /* 画面の横幅いっぱいに広げる */
    margin-left: -20px;
    /* コンテナの左右パディング（20px）を打ち消して画面端まで広げる */
    margin-right: -20px;
    height: 240px;
    /* スマホで綺麗に見える画像の高さ（お好みで200px〜300pxに調整） */
    margin-bottom: 25px;
    /* 下のバッジとの間隔 */
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 縦横比を保ったままエリアを埋める */
    border-radius: 0;
    /* スマホ版は画面いっぱいにスッキリ見せるため角丸をリセット */
  }

  /* 5. バッジエリアを画像の階下に綺麗に配置 */
  .hero-badges {
    width: 100%;
    display: block;
    margin-bottom: 20px;
  }

  .badge {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 40px;
    box-sizing: border-box;
  }


  /* スマホの時は、文章下の余白を通常に戻す */
  .intro-text {
    padding-bottom: 0;
  }

  /* スマホの時は、絶対配置を解除して通常の中央揃えにする */
  .ib-icon {
    position: static;
    /* 配置を元に戻す */
    display: block;
    margin: 32px auto 0;
    /* 左右中央揃え、上に少しスペースを空ける */
    max-width: 80%;
    /* スマホ画面の幅に収める */
  }

  .features-bottom-img {
    /* スマホの時は「同じ幅(1fr)を横に2列並べる」という指定に切り替える */
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    /* スマホ用に隙間を少し狭く調整（お好みで） */
  }

  /* もしスマホで画像が高すぎる（縦長すぎる）と感じる場合は、ここで高さを縮められます */
  .features-bottom-img img {
    height: 180px;
    /* 例：スマホの時は高さを180pxにしてコンパクトにする場合 */
  }


  /* ========================================================
   ★ フォームレスポンシブ設定 (画面幅767px以下)
   ======================================================== */


  .section-title-icon {
    font-size: 25px;
    margin-bottom: 20px;
    position: relative;
    align-items: center;
    gap: 25px;
    display: block;
    width: 100%;
    font-weight: bold;
    letter-spacing: 2.5px;
    text-align: center;
    line-height: 1.4;
  }

  .section-title-serif {
    font-size: 25px;
    color: var(--color-purple);
    margin-bottom: 40px;
    position: relative;
    align-items: center;
    gap: 25px;
    display: block;
    width: 100%;
    font-weight: bold;
    letter-spacing: 2.5px;
    text-align: center;
    line-height: 1.4;
  }

  .section-title-serif::after {
    content: "";
    position: absolute;
    right: 10%;
    bottom: -10px;
    width: 80%;
    height: 1px;
    background: var(--color-purple);
    z-index: 1;
    top: auto;
  }


  .section-subtitle {
    text-align: left;
    font-size: 18px;
  }

  .title-icon-sp {
    display: inline-block;
    width: 80%;
    margin-top: 5px;
  }


  .title-icon {
    display: none;
  }

  .card-flex {
    flex-direction: column;
  }


  .testimonial-cards-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }

  .card-header h3 {
    font-size: 22px;
  }

  .card-desc {
    line-height: 1.5;
  }

  .btn-submit {
    font-size: 16px;
  }

  .feature-item img {
    width: 80px;
  }

  .insta-title {
    font-size: 20px;
    gap: 10px;
  }

  .insta-txt img {
    height: 30px;
  }

  .kids-icon img {
    width: 100px;
  }

  .side-icon {
    height: 40px;
    margin: 0px auto 10px;
    display: block;
  }

  .app-form-wrapper {
    padding: 30px;

  }

  .btn-cta-header {
    padding: 10px 20px;
    font-size: 14px;
  }

  .card-img img {
    height: auto;
  }

  .insta-photo {
    gap: 8px;
  }


}



@media (min-width: 768px) {
  .sp-fixed-footer-menu {
    display: none;
  }
}


/* PCでは改行を無効化 */
.sp-only {
  display: none;
}

/* 画面幅が768px以下のときだけ改行を有効化 */
@media screen and (max-width: 767px) {
  .sp-only {
    display: inline;
  }
}