/* ==============================================
   舌小帯切除術セクション (Complete Version)
   ============================================== */

/* --- 全体レイアウト --- */
.sec-frenectomy.pop-style {
  width: 100%;
  padding: 80px 20px;
  background-color: #fff;
  color: #5d4037; /* こげ茶 */
/*   font-family: "M PLUS Rounded 1c", sans-serif; */
  box-sizing: border-box;
}

.sec-frenectomy .inner-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* --- タイトル装飾 --- */
.sec-title-h3 {
  text-align: center;
  margin: 0 0 40px 0;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 0.05em;
  color: #5d4037;
}

/* タイトルの下にマーカー線を引くあしらい */
.sec-title-h3 .title-text {
  background: linear-gradient(transparent 70%, #fff3b8 70%); /* 黄色のマーカー */
  padding: 0 10px;
  display: inline-block;
}

/* --- テキスト --- */
.text-lead {
  margin-bottom: 50px;
/*   line-height: 1.9;
font-size: 16px; */
}



/* --- Before/After 画像エリア --- */
.case-photos-wrapper {
  display: flex;
  justify-content: center;
  align-items: center; /* 垂直中央揃え */
  gap: 20px;
  margin-bottom: 60px;
  position: relative;
}

.case-item {
  width: 42%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ラベル (カプセル型) */
.case-label {
  display: inline-block;
  padding: 6px 24px;
  border-radius: 50px;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  margin-bottom: -15px; /* 画像に少し乗っかる */
  z-index: 2;
  position: relative;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.label-before { background-color: #ffaa00; } /* オレンジ */
.label-after  { background-color: #5bbce0; } /* 水色 */

/* 画像フレーム */
.img-frame {
  width: 100%;
  background: #fff;
  padding: 5px; /* 白フチ */
  border: 2px solid #eee;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  box-sizing: border-box;
}

.img-frame img {
  width: 100%;
  height: 200px; /* 高さを揃える */
  object-fit: cover;
  border-radius: 15px;
  display: block;
}

/* 真ん中の矢印装飾 */
.case-arrow {
  width: 40px;
  height: 40px;
  background-color: #fff3b8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffa500;
  font-weight: bold;
  flex-shrink: 0;
}
.case-arrow::after {
  content: "▶";
  font-size: 14px;
  margin-left: 2px;
}


/* --- 目的・効果カードエリア --- */
.info-cards-area {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* カード共通スタイル */
.pop-card {
  border-radius: 30px;
  padding: 35px 40px;
  position: relative;
  border-width: 3px;
  border-style: dashed; /* ステッチ風 */
}

/* 1. 目的カード（黄色テーマ） */
.card-purpose {
  background-color: #fffef0;
  border-color: #ffe082;
}
.card-purpose .sub-title-h4 { color: #ff9900; }

/* 2. 効果カード（水色テーマ） */
.card-effect {
  background-color: #f0f8ff;
  border-color: #87ceeb;
}
.card-effect .sub-title-h4 { color: #0099cc; }


/* 見出し共通スタイル */
.sub-title-h4 {
font-size: 20px;
  margin: 0 0 15px 0;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}
/* .sub-title-h4::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
 */
/* .text-body {
  line-height: 1.8;
  font-size: 15px;
} */


/* ==============================================
   レスポンシブ (Breakpoints)
   ============================================== */

/* Tablet (1024px以下) */
@media screen and (max-width: 1024px) {
  .sec-frenectomy {
    padding: 60px 20px;
  }
  .case-photos-wrapper {
    gap: 10px;
  }
  .img-frame img {
    height: 160px;
  }
}

/* SP (599px以下) */
@media screen and (max-width: 599px) {
  .sec-frenectomy {
    padding: 50px 15px;
  }

  .sec-title-h3 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  /* 画像周り */
  .case-photos-wrapper {
    margin-bottom: 40px;
  }
  .case-item {
    max-width: none;
    width: 45%;
  }
  .img-frame {
    border-radius: 12px;
    padding: 3px;
  }
  .img-frame img {
    height: 120px;
    border-radius: 10px;
  }
  .case-label {
    font-size: 12px;
    padding: 4px 12px;
    margin-bottom: -10px;
  }
  
  /* 矢印 */
  .case-arrow {
    width: 24px;
    height: 24px;
  }
  .case-arrow::after {
    font-size: 10px;
  }

  /* カード部分 */
  .pop-card {
    padding: 25px 20px;
    border-radius: 20px;
    border-width: 2px;
  }
  .sub-title-h4 {
  font-size: 18px;
}
.text-lead, .text-body {
/*   font-size: 14px;
 */} 
}
