/* .pc_only {
  display: block;
}
.pc_only {
  display: none;
}
.pc_only {
  display: none;
}
.sp_only {
  display: block;
} */
h1.shinryou {
    position: absolute;
    top: 3%;
    left: 2%;
    color: #5b84b1;
    text-shadow: 0 0 black;
}
@media screen and (max-width: 768px) {
	h1.shinryou {
    top: 11%;
    font-size: 0.7rem;
}
}
bod
.shinryou_inner {
	max-width: 80%;
	margin: auto;
}

.center {
    text-align: center;
}
.patopbtm {
	padding: 50px 0;
}
h2.medical_h2 {
    font-size: 2.5rem;
}
/* 全体の背景・ベース */
.s-speed {
  padding: 80px 0;
  background: #f7f1e7; /* 恵比寿の「特徴」ブロックに近いベージュ */
}

.s-speed__inner {
  max-width: 95%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
@media screen and (max-width: 768px) {
  .s-speed__inner {
    padding: 0;
  }
	.shinryou_inner {
		max-width: 100%;
	}
}

/* -------------------------
   セクション見出し
   ------------------------- */

.s-speed__head {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}

.s-speed__head-text {
  text-align: center;
  padding: 0 32px;
}

.s-speed__head-sub {
  font-size: 1.5rem;
  color: #555;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}

.s-speed__head-title {
  font-weight: 500;
  font-size: 26px;
  color: #1f3655;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.s-speed__head-num {
  font-size: 3rem;
  font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.s-speed__head-main {
	font-size: 3rem;
}

/* 左右のライン */
.s-speed__head-line {
  flex: 1 1 0;
  height: 1px;
  background: #35557b;
}

.s-speed__head-line--left {
  margin-right: 12px;
}
.s-speed__head-line--right {
  margin-left: 12px;
}

/* -------------------------
   グリッド
   ------------------------- */

.s-speed__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 30px;
	max-width: 80%;
	margin: auto;
}

/* -------------------------
   各カード
   ------------------------- */

.s-speed-card {
  background: #ffffff;
  padding: 20px 22px 22px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden; /* 下辺の色帯を隠しやすくする */
}

/* カード下辺の色帯（恵比寿の三角＋帯のニュアンスを簡略化） */
.s-speed-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 6px;
  width: 100%;
  background: #d1e0f5; /* デフォルトはブルー系 */
}

/* カードごとの色変え */
.s-speed-card--pbm::after {
  background: #c9ddf7; /* 青 */
}

.s-speed-card--dm::after {
  background: #f6dba4; /* 黄みベージュ */
}

.s-speed-card--check::after {
  background: #cfe6c4; /* グリーン */
}

.s-speed-card--non-surgery::after {
  background: #f3c9c9; /* ピンク */
}

/* ヘッダー内：バッジ＋タイトル */
.s-speed-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

/* 丸バッジ */
.s-speed-card__badge {
  width: 70px;
  height: 70px;
  border: 1px solid #d2d2d2;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  color: #555;
  font-size: 15px;
}

.s-speed-card__badge-label {
  margin-bottom: 2px;
}

.s-speed-card__badge-num {
  font-size: 18px;
}

/* カードタイトル */
.s-speed-card__title {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.6;
}

/* 本文 */
.s-speed-card__body p {
  line-height: 2;
  margin-bottom: 1.4em;
}

.s-speed-card__body p:last-child {
  margin-bottom: 0;
}

/* リンク行 */
.s-speed-card__link {
  margin-top: 4px;
  font-size: 13px;
}

.s-speed-card__link a {
  color: #1e5ca8;
  text-decoration: underline;
}

/* -------------------------
   レスポンシブ
   ------------------------- */

@media screen and (max-width: 900px) {
  .s-speed__grid {
    grid-template-columns: 1fr;
  }

  .s-speed__head {
    flex-direction: column;
    gap: 12px;
  }

  .s-speed__head-line {
    width: 140px;
  }

  .s-speed__head-title {
    justify-content: center;
    flex-wrap: nowrap
  }
  .s-speed__head {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 600px) {
  .s-speed {
    padding: 60px 0;
  }

  .s-speed__head-title {
    font-size: 22px;
  }

  .s-speed__head-num {
    font-size: 34px;
  }

  .s-speed-card {
    padding: 18px 16px 20px;
  }

  .s-speed-card__head {
    align-items: flex-start;
  }

  .s-speed-card__title {
    font-size: 16px;
    flex: 5;
  }

  .s-speed-card__body p {
    font-size: 13px;
  }
  .s-speed__head-text {
    padding: 10px;
  }
  .s-speed__head-sub{
    font-size: 1.3rem;
  }
  .s-speed__head-main {
    font-size: 1.5rem;
  }
  .s-speed__head-num {
    font-size: 3rem;
  }
  .s-speed-card__badge {
    width: 70px;
    height: 55px;
    line-height: 1;
    flex: 1;
  }
  .s-speed-card__badge-label {
    margin: 0;
  }
.s-speed__grid {
	max-width: 100%;
	}
}
/* カード内の画像 */
.s-speed-card__img {
  margin-top: 14px;
  overflow: hidden;
}

.s-speed-card__img img {
  display: block;
  object-fit: cover;
}
@media screen and (max-width: 600px) {

}
/* ============================
   全体
============================ */
.s-reco {
  padding: 80px 0;
  background: #faf7f2;
}

.s-reco__inner {
  max-width: 95%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ============================
   見出し（左右ライン）
============================ */
.s-reco__head {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.s-reco__title {
  font-size: 2rem;
  font-weight: 600;
  color: #2f3b4a;
  padding: 0 20px;
  text-align: center;
}

.s-reco__line {
  flex: 1;
  height: 1px;
  background: #3c5777;
}

/* ============================
   ボックス
============================ */
.s-reco__box {
  display: flex;
  gap: 28px;
  background: #ffffff;
  padding: 40px 32px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  align-items: center;
	width:80%;
	margin:auto;
}

/* ============================
   画像
============================ */
.s-reco__img {
  flex: 2;
  overflow: hidden;
}

.s-reco__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================
   箇条書き（Grid 2カラム）
============================ */
.s-reco__list {
  flex: 3;
  list-style: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2カラム */
  row-gap: 12px;
  padding: 0 30px;
}

.s-reco__list li {
  position: relative;
  padding-left: 26px;
  line-height: 1.9;
  color: #444;
}

.s-reco__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 16px;
  color: #1e5ca8;
  font-weight: 600;
}

/* ----------------------------
   SP：1カラムに戻す
---------------------------- */
@media screen and (max-width: 768px) {
  .s-reco__list {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .s-reco__title {
    font-size: 1.3rem;
  }
  .s-reco__inner {
    padding: 10px;
  }
}

/* ----------------------------
   SPでは1カラムに戻す
---------------------------- */
@media screen and (max-width: 768px) {
  .s-reco__list {
    display: block;
	  padding:0;
  }

  .s-reco__list li {
    width: 100%;
    margin-bottom: 10px;
  }
}


/* ============================
   SP
============================ */
@media screen and (max-width: 768px) {
  .s-reco__box {
    flex-direction: column;
	  padding: 28px 20px;
	  width:100%;
  }
  .s-reco__img {
    width: 100%;
    height: 180px;
  }
}
/* セクション背景 */
.s-pbm {
  padding: 80px 0;
  background: #f5f8fc; /* うすいブルー */
}

.s-pbm__inner {
  max-width: 95%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.spd-def__ininner {
	max-width: 80%;
	margin: auto;
}

/* ====== h2のデザイン（他セクションと統一） ====== */
.s-pbm__head {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
}

.s-pbm__line {
  flex: 1;
  height: 1px;
  background: #35557b; /* 特長ブロックと同じ */
}

.s-pbm__title {
  font-size: 2rem;
  font-weight: 600;
  color: #2f3b4a;
  padding: 0 20px;
  text-align: center;
}

/* 本体2カラム */
.s-pbm__body {
	max-width: 80%;
	margin: auto;
}

/* 画像 */
.s-pbm__img {
  flex: 0 0 36%;
  margin: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

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

/* テキストブロック */
.s-pbm__text {
  flex: 1;
  background: #ffffff;
  padding: 26px 28px 24px;
  box-sizing: border-box;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border-top: 4px solid #c9ddf7; /* 上辺の淡いブルー帯でアクセント */
}

/* リード文章 */
.s-pbm__lead p {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin-bottom: 1.6em;
}

/* サブブロック（痛みが気になる方に安心） */
.s-pbm__sub {
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px dashed #d5dde8;
}

.s-pbm__h3 {
  font-size: 17px;
  font-weight: 600;
  color: #2f3b4a;
  margin: 0 0 10px;
  position: relative;
  padding-left: 14px;
}

.s-pbm__h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 2px;
  background: #3c76c0;
  transform: translateY(-50%);
}

.s-pbm__sub p {
  font-size: 14px;
  line-height: 2;
  color: #444;
  margin-bottom: 1.4em;
}

.s-pbm__sub p:last-child {
  margin-bottom: 0;
}

/* SP対応 */
@media screen and (max-width: 768px) {
  .s-pbm {
    padding: 60px 0;
  }

  .s-pbm__body {
	  max-width: 100%;
	  flex-direction: column;
  }

  .s-pbm__img {
    height: 220px;
  }

  .s-pbm__text {
    padding: 22px 18px 20px;
  }

  .s-pbm__title {
    font-size: 20px;
  }
  .s-pbm__inner {
    padding: 10px;
  }
	.spd-def__ininner {
		max-width: 100%;
		padding:10px;
	}
}
/* ===== セクション全体 ===== */
.s-compare {
  padding: 80px 0;
  background: #fafafa;
}

.s-compare__inner {
  max-width: 95%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.s-compare_inner2 {
	max-width: 80%;
	margin: auto;
}
/* ===== h2（他セクションと統一） ===== */
.s-compare__head {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
}

.s-compare__line {
  flex: 1;
  height: 1px;
  background: #35557b;
}

.s-compare__title {
  font-size: 2rem;
  font-weight: 600;
  color: #2f3b4a;
  padding: 0 20px;
  text-align: center;
}

/* ===== リード文 ===== */
.s-compare__lead p {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin-bottom: 1.6em;
}

/* ===== テーブル全体 ===== */
.s-compare__table-wrap {
  margin-top: 30px;
  overflow-x: auto;
}

.s-compare__table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

/* ===== 表ヘッダー ===== */
.s-compare__table thead th {
  background: #e8f0fa;
  color: #1f3655;
  font-weight: 600;
  padding: 14px 16px;
  font-size: 15px;
  border-bottom: 2px solid #c5d8ee;
  text-align: center;
}

/* スピード矯正側を強調 */
.s-compare__table thead .speed {
  background: #d5e4f7;
  color: #1c4b8f;
}

/* ===== 表本文 ===== */
.s-compare__table tbody th {
  width: 22%;
  background: #f7f9fb;
  padding: 16px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid #e4e4e4;
  color: #333;
  font-weight: 600;
}

.s-compare__table tbody td {
  padding: 16px;
  font-size: 14px;
  line-height: 1.8;
  border-bottom: 1px solid #e4e4e4;
  color: #444;
}

/* ===== スマホ ===== */
@media screen and (max-width: 768px) {
.s-compare_inner2 {
	max-width: 100%;
	}

  .s-compare {
    padding: 60px 0;
  }

  .s-compare__table th,
  .s-compare__table td {
    padding: 12px 10px;
  }

  .s-compare__title {
    font-size: 20px;
    padding: 0;
  }
}
/* =======================
   全体レイアウト
======================= */
.s-faq {
  padding: 80px 0;
  background: #f4f6f9; /* 上品な淡グレー */
}

.s-faq__inner {
  max-width: 95%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* =======================
   見出し（共通デザイン）
======================= */
.s-faq__head {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 46px;
}

.s-faq__line {
  flex: 1;
  height: 1px;
  background: #35557b;
}

.s-faq__title {
  font-size: 2rem;
  font-weight: 600;
  padding: 0 22px;
  color: #2f3b4a;
}

/* =======================
   FAQアイテム
======================= */
.s-faq__items {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* Qブロックの背景帯 */
.s-faq-item__qbox {
  display: flex;
  align-items: center;
  background: #e9eff6;
  padding: 14px 18px;
  border-left: 6px solid #8fb4e3;
}

/* Q番号の帯 */
.s-faq-item__q-label {
  font-family: "Yu Mincho", serif;
  font-size: 18px;
  color: #2f557f;
  font-weight: 600;
  margin-right: 12px;
}

/* Q本文 */
.s-faq-item__q-text {
  font-size: 17px;
  font-weight: 600;
  color: #2f3b4a;
  line-height: 1.6;
}

/* 回答ブロック */
.s-faq-item__abox {
  background: #ffffff;
  padding: 22px 22px 24px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  border-left: 3px solid #c9ddf7;
}

.s-faq-item__abox p {
  margin-bottom: 1.6em;
  font-size: 15px;
  color: #444;
  line-height: 2;
}

.s-faq-item__abox p:last-child {
  margin-bottom: 0;
}

/* =======================
   SP
======================= */
@media screen and (max-width: 768px) {
  .s-faq {
    padding: 60px 0;
  }
  .s-faq-item__q-text {
    font-size: 15px;
  }
  .s-faq-item__abox p {
    font-size: 14px;
  }
  .s-faq__title {
    font-size: 1.5rem;
  }
}
.spd-def {
  padding: 90px 0;
  background: #fcfcfc;
}

.spd-def__inner {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
@media screen and (max-width: 768px) {
  .spd-def__inner {
	  max-width: 100%;
	  padding: 0 10px;
}
}
/* -------------------------------------
   Section Title
------------------------------------- */
.spd-head {
  display: flex;
  align-items: center;
	margin: 70px 0 60px;
}

.spd-head__line {
    flex: 1;
    height: 1px;
    background: #3c5777;
}

.spd-head__title {
font-size: 2rem;
    font-weight: 600;
    color: #2f3b4a;
    padding: 0 20px;
    text-align: center;
}

/* -------------------------------------
   Intro Paragraph
------------------------------------- */
.spd-def__intro {
  margin-bottom: 60px;
  padding-left: 6px; /* 左だけ少しガイドラインを外す → 高級医院らしい */
}

.spd-def__intro p {
  font-size: 15px;
  line-height: 2.1;
  color: #4a4a4a;
  margin-bottom: 1.8em;
  letter-spacing: .02em;
  max-width: 800px;
}

/* -------------------------------------
   Content Blocks
------------------------------------- */
.spd-block {
  padding-bottom: 0;
  border-bottom: 1px solid #e6e6e6;
}

.spd-block__title {
  font-size: 20px;
  font-weight: 600;
  color: #2f3b4a;
  margin-bottom: 18px;
  position: relative;
  padding-left: 14px;
}

.spd-block__title::before {
  content: "";
  width: 6px;
  height: 100%;
  background: #b7c9e0; /* 医療系の清潔な青 */
  position: absolute;
  left: 0;
  top: 0;
}

.spd-block__body p {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin-bottom: 1.6em;
}

/* -------------------------------------
   Evidence List
------------------------------------- */
.spd-evidence ul,
.spd-ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6em 0;
}

.spd-evidence ul li,
.spd-ul li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 6px;
  font-size: 15px;
  color: #444;
}

.spd-evidence ul li::before,
.spd-ul li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 37%;
}
/* -------------------------------------
   spann
------------------------------------- */
span.speed01 {
    font-weight: 700;
    font-size: 1.5rem;
    color: #6e7987;
}
span.speed02 {
    font-weight: 700;
    font-size: 2rem;
    color: #5678b1;
}
span.speed03 {
  font-weight: 700;
    font-size: 1.5rem;
    color: #6e7987;
}
span.speed04 {
  font-weight: 700;
    font-size: 2rem;
    color: #5678b1;
}
@media screen and (max-width: 768px) {
	.spd-def__intro {
		margin-bottom:0;
	}
  span.speed01 {
    font-size: 1rem;
}
span.speed02 {
    font-size: 1.5rem;
}
span.speed03 {
    font-size: 1rem;
}
span.speed04 {
    font-size: 1.5rem;
}
.spd-head__title {
  font-size: 1.5rem;
}
}
/* -------------------------------------
   Notes & Source
------------------------------------- */
.spd-note {
  font-size: 13px;
  color: #777;
}

.spd-source {
  font-size: 13px;
  color: #777;
  line-height: 1.7;
}
/*---------------------------------------------------------------------

 インビザ 

 ---------------------------------------------------------------------*/
.invi .idx_gnr_01 {
  background-image: url(../images/invisalign/featurebg01.png);
  background-repeat: no-repeat;
}
.invi .idx_gnr_02 {
  background-image: url(../images/invisalign/featurebg02.png);
  background-repeat: no-repeat;
}
.invi .idx_gnr_03 {
  background-image: url(../images/invisalign/featurebg03.png);
  background-repeat: no-repeat;
}
.invi .idx_gnr_04 {
  background-image: url(../images/invisalign/featurebg04.png);
  background-repeat: no-repeat;
}
.invi .idx_gnr_05 {
	background-image: url(../images/invisalign/featurebg05.png);
	background-repeat: no-repeat;
}
.invi .idx_gnr_06 {
  background-image: url(../images/invisalign/featurebg06.png);
  background-repeat: no-repeat;
}
.invi .idx_gnr_07 {
  background-image: url(../images/kodomobg.png);
  background-repeat: no-repeat;
}
.inviinner .sedai_lead {
  width: 100%;
}
.invibox .sedai_fig {
  position: relative;
  width: 100%;
  bottom: auto;
  right: auto;
}

.idx_gnr_03.inviinner .sedai_fig img,
.idx_gnr_02.inviinner .sedai_fig img{
	aspect-ratio: auto;
	width: 100%;
}
.idx_gnr_04.inviinner .sedai_lead p {
  margin: 0;
}
.invibox .sedai_ttl span {
  font-size: 1.5rem;
}
/*==================================================================================================================================

  *患者様のお悩みにお応えします

==================================================================================================================================*/
.problem-heading-section {
  background-color: #dbe4ee;
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  text-align: center;
  color: #4b3621;
  position: relative;
  margin-bottom: 50px;
  /* 三角形の切り取りを下部に適用 */
  clip-path: polygon(0 0, 100% 0, 55% 98.5%, 50% 100%, 45% 98.5%, 0 0);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
  width: 100%;
}

.problem-heading-section h2 {
  font-family: "shippori-mincho", serif;
  font-size: 45px;
  color: #535353;
}

.problem-heading-inner p {
  color: #535353;
}

.highlight-word {
  background-image: linear-gradient(to right, #A2CFFE, #5B84B1);
  /* グラデーションの色 */
  -webkit-background-clip: text;
  /* 背景のグラデーションをテキストに適用 */
  color: transparent;
  /* 文字色を透明にして、グラデーションを見せる */
  font-size: 150%;
  font-weight: bold;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  margin: 0 10px;
}

/* カード配置 */
.problem-grid.invisa {
	width: 80%;
	margin: auto;
}

/* 各カード */
.problem-box {
  display: flex;
  flex-direction: column;
  width: 30%;
  /* モバイル版も含めて3列にするため、幅を30%に設定 */
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.problem-box:hover {
  transform: translateY(-5px);
}

.problem-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* コンテンツ全体 */
.problem-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 15px 15px;
  align-items: center;
  /* 中央揃え！ */
  text-align: center;
}

/* タイトル（高さを固定） */
.problem-content h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #3D587E;
  line-height: 1.5;
  min-height: 3.0em;
  /* 1行：1.5em → 2行分程度で固定 */
  font-family: "shippori-mincho", serif;
}

/* 本文 */
.problem-content p {
  font-size: 1rem;
  color: #444;
  flex-grow: 1;
  line-height: 1.6;
  margin: 20px;
  text-align: left;
}

.problemlight {
/*   background: linear-gradient(to bottom, transparent 50%, yellow 50%); */
	background: linear-gradient(transparent 70%, #edeb927d 70%);
	padding: 0 5px;
	border-radius: 3px;
/* 	display: inline-block; */
}

/* View More 部分 */
.problem-link {
  margin-top: auto;
  font-family: 'Noto Serif', serif;
}

.problem-link a {
  color: #A2CFFE;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  font-family: 'Noto Serif', serif;
}

.problem-link a:hover {
  text-decoration: underline;
}

/* =========================
   タブレット ～1024px
   ========================= */
@media screen and (max-width: 1024px) { 
    .problem-heading-section {
    width: auto;
  }

    .highlight-word {
    font-size: 105%;
  }

  .problem-heading-section h2 {
    font-size: 30px;
  }

  .problem-heading-inner p {
    text-align: left;
  }

  .small {
    font-size: 14px;
  }
 }

/* =========================
   モバイル ～768px
   ========================= */
@media screen and (max-width: 768px) {
  .problem-heading-section {
    width: auto;
  }

  .highlight-word {
    font-size: 105%;
  }

  .problem-heading-section h2 {
    font-size: 1.5rem;
  }
  .problem-content h3 {
    font-size: 1.2rem;
  }

  .problem-heading-inner p {
    text-align: left;
  }

  .problem-box {
    width: 100%;
    max-width: 90%;
  }

  .sp-only {
    display: inline;
  }

  .problem-box img {
    height: auto;
  }

  .small {
    font-size: 15px;
  }
}
:root {
  /* 既に他セクションで使っていれば省略OK */
  --inv-main: #4ba3c7;
  --inv-accent: #f3b26b;
  --inv-bg: #f7fbfd;
  --inv-text-main: #333333;
  --inv-text-sub: #666666;
}

/* セクション全体 */
.invisalign-flow {
  background-color: #ffffff;
  padding: 60px 20px 70px;
}

.invisalign-flow__head {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}

.invisalign-flow__label-en {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--inv-main);
  padding: 4px 10px;
  border-radius: 999px;
  background-color: rgba(75, 163, 199, 0.08);
  margin-bottom: 10px;
}

.invisalign-flow__title {
  font-size: 26px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--inv-text-main);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.invisalign-flow__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 80px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--inv-main), var(--inv-accent));
  transform: translateX(-50%);
}

.invisalign-flow__lead {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--inv-text-sub);
}

/* ====== フロー本体 ====== */

.invisalign-flow__list {
  max-width: 95%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* 3カラム（左：ステップ / 中央：テキスト / 右：画像） */
.invisalign-flow__row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 320px;
  align-items: stretch;
  gap: 20px;
  padding: 20px 22px;
  border-radius: 18px;
  background-color: #fdfefe;
  border: 1px solid rgba(221, 233, 238, 0.9);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

/* 行ごとにほんの少し背景ニュアンスを変える（AIっぽい均一感を避ける） */
.invisalign-flow__row:nth-child(odd) {
  background: linear-gradient(135deg, #fdfefe 0%, #f9fcff 100%);
}
.invisalign-flow__row:nth-child(even) {
  background: linear-gradient(135deg, #fdfefe 0%, #fff9f3 100%);
}

/* さりげないグラデのオーバーレイ */
.invisalign-flow__row::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(75, 163, 199, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(243, 178, 107, 0.14), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

/* ====== 左：ステップ＋縦ライン ====== */

.invisalign-flow__step {
  position: relative;
  padding-top: 4px;
}

/* 縦ライン（フロー感） */
.invisalign-flow__step::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  bottom: -26px; /* 行間まではみ出すことで連続感を出す */
  width: 2px;
  background: linear-gradient(to bottom,
    rgba(75, 163, 199, 0.3),
    rgba(243, 178, 107, 0.15));
  z-index: 0;
}

/* 最後の行は下にはみ出しすぎないように調整 */
.invisalign-flow__row:last-child .invisalign-flow__step::before {
  bottom: 0;
}

.invisalign-flow__step-circle {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--inv-main), #377a96);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(55, 122, 150, 0.45);
  margin-left: 0;
}

/* 白いリングを入れて少しだけ手の込んだ感じに */
.invisalign-flow__step-circle::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.invisalign-flow__step-num {
  position: relative;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  letter-spacing: 0.08em;
}


/* ====== 中央：テキストカード ====== */

.invisalign-flow__content {
  position: relative;
  padding: 10px 4px 10px 6px;
}

.invisalign-flow__row-title {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 700;
  color: var(--inv-text-main);
  margin-bottom: 6px;
}

.invisalign-flow__body {
  font-size: 13px;
  line-height: 1.9;
  color: var(--inv-text-sub);
}

/* 文面の読みやすさを調整（行間＋少しだけ余白） */
.invisalign-flow__body p + p {
  margin-top: 4px;
}

/* ====== 右：画像 ====== */

.invisalign-flow__media {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background-color: #e5f2f7;
}

/* 画像はほんの少し拡大しておいて、ホバーでふわっと動かす */
.invisalign-flow__media img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  transition: transform 0.45s ease;
}


/* 右上にごく控えめな装飾（半透明チップ） */
.invisalign-flow__media::after {
  content: "Invisalign";
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background-color: rgba(0, 0, 0, 0.45);
  color: #ffffff;
}

/* ====== レスポンシブ ====== */

@media (max-width: 1024px) {
  .invisalign-flow__row {
    grid-template-columns: 110px minmax(0, 1fr); /* 画像は下に回す */
    grid-template-rows: auto auto;
    grid-template-areas:
      "step content"
      ".    media";
  }

  .invisalign-flow__step     { grid-area: step; }
  .invisalign-flow__content  { grid-area: content; }
  .invisalign-flow__media    { grid-area: media; }

  .invisalign-flow__media {
    margin-top: 10px;
    height: 210px;
  }

  .invisalign-flow__media img {
    min-height: 0;
  }
}

@media (max-width: 768px) {
  .invisalign-flow {
    padding: 40px 16px 50px;
  }

  .invisalign-flow__title {
    font-size: 22px;
  }

  .invisalign-flow__row {
    grid-template-columns: 45px minmax(0, 1fr);
    padding: 16px 14px 18px;
    gap: 0;
  }

  .invisalign-flow__step-circle {
    width: 46px;
    height: 46px;
  }

  .invisalign-flow__step::before {
    left: 23px;
  }

  .invisalign-flow__row-title {
    font-size: 15px;
  }

  .invisalign-flow__body {
    font-size: 13px;
  }

  .invisalign-flow__media {
    height: 190px;
  }

  .invisalign-flow__media::after {
    right: 8px;
    bottom: 8px;
    font-size: 9px;
  }
}
/* =========================
  ボタン配置制御
========================= */
.c-btn-wrap {
  display: flex;
  width: 100%;
  margin-top: 24px;
}

.c-btn-wrap.is-left {
  justify-content: flex-start;
}

.c-btn-wrap.is-center {
  justify-content: center;
}

.c-btn-wrap.is-right {
  justify-content: flex-end;
}


/* =========================
  ボタン本体デザイン
========================= */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 14px 28px;
  background: linear-gradient(90deg, #6fa8dc, #4a78c2);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  transition: all 0.25s ease;
  position: relative;
}

/* 矢印を少し演出 */
.c-btn::after {
  content: "→";
  margin-left: 10px;
  transition: transform 0.25s ease;
}

/* hover演出 */
.c-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
  color: #fff;
}

.c-btn:hover::after {
  transform: translateX(6px);
}


/* =========================
  スマホ最適化
========================= */
@media (max-width: 768px) {
  .c-btn {
    min-width: 100%;
    font-size: 15px;
  }
}
/* =========================
 ワイヤー矯正 中間トーンUI
========================= */

.wire-mid {
  margin: 72px 0;
}

.wire-mid__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

.wire-mid__col {
  background: #fafafa;
  padding: 28px;
  border-radius: 14px;
}

/* 各項目 */
.wire-mid__item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #e0e0e0;
}

.wire-mid__item:last-child {
  border-bottom: none;
}

/* アイコン */
.wire-mid__icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.wire-mid__icon.is-merit {
  background: #e6f0ff;
  color: #2563eb;
}

.wire-mid__icon.is-demerit {
  background: #fdecec;
  color: #c0392b;
}

/* h4 */
.wire-mid__ttl {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #222;
}

/* 本文 */
.wire-mid__text {
  font-size: 14.5px;
  line-height: 1.8;
  color: #444;
}

/* 下部誘導 */
.wire-mid__note {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid #ddd;
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}

/* SP */
@media (max-width: 900px) {
  .wire-mid__wrap {
    grid-template-columns: 1fr;
  }
}
/* =========================
 ワイヤー矯正 症例ブロック
========================= */
/* =========================
 症例 画像ギャラリー（段構成）
========================= */

.wire-case-gallery {
  margin-top: 48px;
}

/* 横顔 Before After */
.case-face {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
  width: 70%;
  margin: auto;
}

.case-face__label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
  color: #333;
}

.case-face img {
  width: 80%;
}

/* 口腔内 段構成 */
.case-mouth-row {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
}

.case-mouth-row__label {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  color: #333;
  border-bottom: 1px solid #ddd;
  padding-bottom: 4px;
}

.case-mouth-row__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 80%;
  margin: auto;
}

.case-mouth-row__grid img {
  width: 100%;
  border-radius: 4px;
}
.case-mouth-row__block {
    width: 70%;
    margin: auto;
}
/* SP */
@media (max-width: 900px) {
  .case-face {
    width: 100%;
  }
  .case-mouth-row__block {
    width: 100%;
  }
  .case-mouth-row__grid {
    width: 100%;
  }
}


.wire-case {
  margin-top: 80px;
}

.wire-case__wrap {
	margin: 40px 0;
  background: #fafafa;
  border-radius: 18px;
  padding: 36px 40px;
}

/* サマリー */
.wire-case__summary {
  border-bottom: 1px solid #ddd;
  padding-bottom: 28px;
  margin-bottom: 28px;
}

.wire-case__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 12px 0;
}

.wire-case__label {
  font-weight: 700;
  font-size: 14px;
  color: #222;
}

.wire-case__value {
  font-size: 14.5px;
  line-height: 1.8;
  color: #444;
}

/* 治療概要 */
.wire-case__detail-ttl {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
  color: #222;
}

.wire-case__text {
  font-size: 14.5px;
  line-height: 1.85;
  color: #444;
  margin-top: 12px;
}

/* SP */
@media (max-width: 768px) {
  .wire-case__wrap {
    padding: 24px;
  }

  .wire-case__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
	p.wire-case__label {
		margin:0;
	}
}
/* =========================
 部分矯正 メリットブロック
========================= */

.part-merit {
  margin-top: 80px;
}

.part-merit__wrap {
  margin-top: 40px;
  background: #fafafa;
  border-radius: 18px;
  padding: 36px 40px;
}

/* 各メリット項目 */
.part-merit__item {
  padding: 28px 0;
  border-bottom: 1px solid #e0e0e0;
}

.part-merit__item:last-child {
  border-bottom: none;
}

/* h3 */
.part-merit__ttl {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
  letter-spacing: 0.04em;
  position: relative;
  padding-left: 18px;
}

.part-merit__ttl::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  color: #2563eb;
  font-size: 10px;
}

/* 本文 */
.part-merit__text {
  font-size: 14.5px;
  line-height: 1.9;
  color: #444;
  margin-top: 8px;
}

/* SP */
@media (max-width: 768px) {
  .part-merit__wrap {
    padding: 24px;
  }
}
/* =========================
 部分矯正ターゲット 確定デザイン
========================= */

.part-target-final {
	max-width: 95%;
	margin: 20px auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.part-target-final__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

/* カード */
.part-target-final__card {
  background: #ffffff;
  border-radius: 22px;
  padding: 40px 38px 42px;
  border: 1px solid #e3e3e3;
  box-shadow: 0 6px 20px rgba(0,0,0,.04);
}

/* タグ */
.part-target-final__tag {
  display: inline-block;
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  border-radius: 999px;
  margin-bottom: 20px;
  color: #bfa980;
  border: 1px solid #bfa980;
}

/* h3 */
.part-target-final__ttl {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #333;
}

/* 本文 */
.part-target-final__text {
  font-size: 14.8px;
  line-height: 1.95;
  color: #666;
  margin-top: 10px;
}

/* SP */
@media (max-width: 900px) {
  .part-target-final {
    padding: 70px 6%;
  }

  .part-target-final__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .part-target-final__card {
    padding: 30px 26px 32px;
  }
}
