:root {
  --base-blue: #A2CFFE;   /* 基準カラー */
  --accent-blue: #72B4FD; /* 補色として少し濃いめのブルー */
  --navy-blue: #1E40AF;   /* 深みのあるネイビーブルー */
  --light-blue: #E6F2FF;  /* 下地に使える淡いブルー */
  --text-dark: #1B1B1B;   /* メインテキスト用 */
  --text-light: #FFFFFF;  /* 反転テキスト用 */
  --shadow-blue: rgba(162, 207, 254, 0.45); /* ベースブルー由来の影色 */
  --primary: #4a90e2; 
}


/* ---------------------------------------共通--------------------------------------- */

.w95 {
    width: 90%;
    padding: 0 3%;
    margin: 0 auto;
    text-align: left;
}
.firstlead {
    padding-top: 50px;
    padding-bottom: 50px;
}
.wh {
    width: 98%;
    margin: 0 auto;
    text-align: left;
}
.padtopbottom {
	padding: 75px 0;
}
.txt_center {
  text-align: center;
}
.under_underline {
  padding-bottom: 2px;
  border-bottom: 1.5px solid #3a8dde;
}
.leadttl {
	text-align: center;
}

.flex_box {
	display:flex;
}
.flex_box .img_box,
.flex_box .txt_box{
	padding:20px;
}
.flex_box .img_box {
	flex:2;
}
.flex_box .txt_box {
	flex:3;
}
/* h2 */
.medical-h2 {
	background: linear-gradient(135deg, #6d8bbd, #4a90e2, #a2cffe);
	text-align: center;
	color: #fff;
	text-shadow: 1px 1px 2px #4a90e2;
	font-size: 230%;
	font-weight: normal;
	letter-spacing: .05em;
	line-height: 1.6em;
	padding: .5em 3%;
	margin-bottom: 40px;
}
.medical-h2 + .leadttl {
    margin: 30px auto 50px;
    line-height: 2;
}

/* h3 */
.medical-h3 {
	color: var(--primary);
	border-bottom: 1px solid var(--primary);
	padding-bottom: 15px;
	margin: 20px 0;
	font-size: 1.5rem;
}

/* h4 */
.medical-h4 {
  font-size: 20px;
  line-height: 1.3;
  /* font-weight: bold; */
  margin-bottom: 10px;
  padding-left: 15px;
  border-left: #3396e2 solid 5px;
}
/* h5 */
.h5 {
  font-size: 18px;
  font-weight: 700;
  color: #3396e2;
}
/* カード型リスト */
ul.cardlist {
    display: flex;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 40px;
    justify-content: center;
}
.cardlist li {
    background: #f5f8fc;
    border-radius: 12px;
    padding: 20px 24px;
    font-weight: 600;
    line-height: 1.8;
}

/* リスク・注意点リスト */
.risk-list {
	list-style: none;
	margin: 20px 0;
	padding: 20px 25px;
	background: var(--light-blue);
	border-left: 4px solid var(--accent-blue);
}

.risk-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.6;
  color: #333;
}

.risk-list li:last-child {
  margin-bottom: 0;
}

/* 擬似要素でアイコンを作成 */
.risk-list li::before {
  content: "⚠"; /* 注意アイコン */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 16px;
  color: #4a90e2;
  line-height: 1.6;
}

/* リスト */
.aftercare-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.aftercare-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.6;
}

/* チェック風アイコン */
.aftercare-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #4a90e2; /* 明るい青で安心感 */
  font-weight: bold;
  font-size: 16px;
  line-height: 1.6;
}

.aftercare-list li:last-child {
  margin-bottom: 0;
}

/* simpleリスト */
.bgli {
  background: #f1f8ff;
	padding: 10px;
}
.simple-feature-list {
  list-style: none;
  padding: 20px;
  line-height: 1.8;
  margin: 10px 0;
}

.simple-feature-list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 12px;
}

.simple-feature-list li::before {
	content: "■";
	position: absolute;
	left: 5px;
	top: 0.1em;
	color: var(--accent-blue);
	font-size: 0.8em;
}
/*--------------------------------------------------------------------
 *  モバイル版 
 * --------------------------------------------------------------------*/
@media (max-width: 768px) {
	.w95 {
		padding:0;
	}
	.wh {
    width: 100%;
    padding: 0;
}
	.leadttl {
		text-align:left;
	}
	.medical-h2,.medical-h3 {
		font-size:130%;
		margin-bottom: 20px;
	}
	.medical-h3 {
		font-size:130%;
	}
	.flex_box {
		flex-direction: column;
	}
	.flex_box .img_box,
	.flex_box .txt_box{
		padding:10px;
	}
}

/* ---------------------------------------button--------------------------------------- */
.link-row {
	margin: 20px 0;
}
/* ボタンの中央寄せ用ラッパ */
.btn-center {
  text-align: center; /* インライン要素を中央揃え */
  margin: 30px 0;    /* 上下に余白 */
}

/* 丸みボタン */
.btn-blue {
  display: inline-block;
  padding: 12px 28px;
  background: #4a90e2;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  border-radius: 50px;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(74,144,226,0.3);
}

/* ホバー時の動き */
.btn-blue:hover {
  background: #6bb6ff;
  box-shadow: 0 6px 16px rgba(74,144,226,0.45);
  transform: translateY(-2px);
  color: #fff;
}
/* ---------------------------------------button2--------------------------------------- */
.cta-buttons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  background-color: #6091c9;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background-color: #6091c9;
  color: #fff;
}

.btn.light {
  background-color: #fff;
  color: #6091c9;
  border: 2px solid #6091c9;
}

.btn.light:hover {
  background-color: #e9f0f8;
}

/*------------------------------------- 下層ヘッダー --------------------------------------*/

.under_head {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 50vw;
  max-height: 480px;
  background-image: url(../images/underhead.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.under_head::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0) 20%,
    rgba(0, 0, 0, 1) 80%
  );
  opacity: 0.05;
}

/* ここから配置用 */

.under_head-inner {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 20px;
  color: #fff;
}

/* ロゴ */
.under_logo img {
  display: block;
  max-width: 280px;
  height: auto;
  margin: 0;
  filter: brightness(0) invert(1);
}

/* H1 */
.under_h1 {
  margin-top: 16px;
  font-size: 0.8rem;
  letter-spacing: .1em;
  line-height: 1.3;
  padding-left: 5px;
}

.under_ttl {
  margin-top: 200px;
  padding-bottom: 10px;
  border-bottom: 1px solid #fff;
  width: 100%;
  position: static;
  padding-left: 20px;
}

.under_ttlp {
  color: #fff;
  font-size: 300%;
  letter-spacing: .1em;
  line-height: 1.2em;
}
@media screen and (max-width: 768px) {

  .under_head {
    height: 60vw;
    max-height: none;
  }

  .under_head-inner {
    left: 10px;
    top: 10px;
  }

  .under_logo img {
    max-width: 150px;
  }

  .under_h1 {
    margin-top: 10px;
    font-size: 0.6rem;
    letter-spacing: .08em;
	padding-right: 150px;
  }

  .under_ttl {
    margin-top: 60px;
    padding-bottom: 5px;
    border-bottom: 1px solid #fff;
	padding-left: 5px;
  }

  .under_ttlp {
    font-size: 100%;
    letter-spacing: .08em;
    line-height: 1.3em;
  }

  .under_head::before {
    background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0) 10%,
      rgba(0, 0, 0, 0.85) 90%
    );
    opacity: 0.35;
  }
}

/*------------------------------------- 下層リード文 --------------------------------------*/

.under_flex_box {
  display: flex;
}
.txt_box {
  flex:3;
  padding: 15px;
  margin: auto;
}
.img_box {
  flex: 2;
  padding: 15px;
  margin: auto;
}

@media (max-width: 768px) {
  .under_flex_box {
    flex-direction: column;
}
.txt_box {
  order: 3;
  padding: 0;
}
.img_box {
  order: 2;
  padding: 0;
}

}

/*------------------------------------- 背景ありのflex --------------------------------------*/
.flowbg .under_flex_box {
  background: #e2e8f36e;
  margin: 10px 0;
}
/*------------------------------------- 治療の流れ --------------------------------------*/

.flow_box {
  margin: 20px 0 50px;
}

.flow_box {
  background: #f0f6fc;
  padding: 50px 20px;
}

.flow_box h3 {
  color: #9a845c;
  border-bottom: 1px solid #d2c3a1;
  font-size: 1.7rem;
  margin-bottom: 20px;
  padding: 10px 0;
}
ul.medical-flow.com_btm_100 {
    padding-bottom: 60px;
}
.medical-flow > li {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	padding-left: 100px;
	padding-bottom: 60px;
}
.medical-flow li:last-of-type {
	padding-bottom: 0;
}
.medical-flow > li::before,
.medical-flow > li::after {
	content: "";
	position: absolute;
	top: 0;
	font-family: quiche-stencil, sans-serif;
	font-weight: 100;
	font-style: normal;
	text-align: center;
	color: #956f38;
	font-size: 220%;
	line-height: 1.0em;
}
.medical-flow > li::before {
	z-index: 1;
	content: "1";
	width: 1.5em;
	line-height: 1.5em;
	background: #fff;
	border: 1px solid #956f38;
	border-radius: 50%;
	left: 0;
}
.medical-flow > li:nth-child(2)::before { content: "2"; }
.medical-flow > li:nth-child(3)::before { content: "3"; }
.medical-flow > li:nth-child(4)::before { content: "4"; }
.medical-flow > li:nth-child(5)::before { content: "5"; }
.medical-flow > li:nth-child(6)::before { content: "6"; }
.medical-flow > li:nth-child(7)::before { content: "7"; }
.medical-flow > li:nth-child(8)::before { content: "8"; }
.medical-flow > li::after {
	z-index: 0;
	width: 1px;
	height: 100%;
  left: 0.75em;
	background-color: #c6c2bf;
}
.medical-flow li:last-of-type::after {
	display: none;
}
.medical-flow .img_r {
	width: 35.5%;
	max-width: 394px;
}

.medical-flow .implant_style1 > dt {
  font-size: 1.5rem;
	padding-top: 0.6em;
	color: #956f38;
}
.medical-flowinner.clearfix {
  display: flex;
  /* flex-direction: row-reverse;  */
  align-items: flex-start;
  gap: 20px; 
}
.medical-flowinner.clearfix.cari {
	display: block;
  /* flex-direction: row-reverse;  */
  align-items: flex-start;
  gap: 20px; 
}

.medical-flow .img_r {
  width: 35.5%;
  max-width: 394px;
}

.medical-flow .txt_l {
  padding: 0 15px;
  flex: 3;
}

.flow_box .grid_box1{
  flex-direction: row-reverse; 
  box-shadow:none;
  background: none;
}
.medical-flow {
  flex: 3;
}
.grid_img_box {
    width: 40%;
}
/*------------------------------------- 表 --------------------------------------*/
/* 表全体の余白とレスポンシブ用ラッパー */
.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
}

/* 治療費用テーブル */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 600px; /* スマホで横スクロール */
}

/* ヘッダー */
.cost-table thead th {
  background: #4a90e2; /* 青系ヘッダー */
  color: #fff;
  text-align: center;
  padding: 12px;
  font-weight: bold;
  border: 1px solid #ddd;
}
.cost-table.invi thead th {
  width: 50%;
}

/* ボディ */
.cost-table tbody td {
  border: 1px solid #ddd;
  padding: 12px;
  line-height: 1.6;
}

/* 偶数行の背景色を淡くする */
.cost-table tbody tr:nth-child(even) td {
  background: #f5f9ff; /* 淡い青 */
}

/* 注意書き */
.note {
  font-size: 12px;
  color: #666;
  margin-top: 10px;
}

/* スマホ時は文字サイズ少し小さめに */
@media (max-width: 768px) {
  .cost-table {
    font-size: 13px;
  }
  .cost-table thead th,
  .cost-table tbody td {
    padding: 10px;
  }
}
/*------------------------------------- 表2 --------------------------------------*/
.whitening-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
}

.whitening-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

/* ヘッダー */
.whitening-table thead th {
  background: #4a90e2;
  color: #fff;
  text-align: center;
  padding: 10px;
  border: 1px solid #ddd;
  font-weight: bold;
}

/* セル */
.whitening-table tbody td {
  border: 1px solid #ddd;
  padding: 10px;
  line-height: 1.6;
  vertical-align: top;
}

/* 偶数行 */
.whitening-table tbody tr:nth-child(even) td {
  background: #f5f9ff;
}

/*------------------------------------- チェックリスト --------------------------------------*/
.check_list{
	list-style:none; margin:16px 0 0; padding:0;
	display:grid; gap:12px;
	grid-template-columns:repeat(2,minmax(0,1fr));
}

.check_list li{
	position:relative;
	padding:14px 16px 14px 48px;
	background:#fff;
	border:1px solid var(--line);
	border-radius:14px;
	line-height:1.8; color:var(--ink);
	box-shadow:0 6px 18px rgba(2,6,23,.04);
	transition:transform .15s ease, box-shadow .15s ease;
}

/* チェックアイコン（CSSだけで描画） */
.check_list li::before{
	content:"";
	position:absolute; left:14px; top:50%; transform:translateY(-50%);
	width:22px; height:22px; border-radius:8px;
	background:linear-gradient(135deg, #6d8bbd, #a2cffe);
		mask:
		radial-gradient(circle 10px at 50% 50%, #000 98%, transparent) content-box,
		linear-gradient(#000 0 0) padding-box;
	-webkit-mask:
		radial-gradient(circle 10px at 50% 50%, #000 98%, transparent) content-box,
		linear-gradient(#000 0 0) padding-box;
	padding:3px;
}
.check_list li::after{
	content:"";
	position:absolute; left:22px; top:50%; transform:translateY(-45%) rotate(45deg);
	width:6px; height:12px; border-right:2px solid #fff; border-bottom:2px solid #fff;
}

/* SP：1カラム */
@media (max-width: 960px){
  .check_list{ grid-template-columns:1fr; }
}

/*------------------------------------- よくある質問 --------------------------------------*/
.qawrap {
  margin: 0 auto;
}
.qa-7 {
  /* max-width: 1000px; */
  margin-bottom: 10px;
  border: none;
  box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
  background-color: #ededed;
}

.qa-7 summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 2em 1em 3em;
  color: #666666;
  font-weight: 600;
  cursor: pointer;
}

.qa-7 summary::before,
.qa-7 p::before {
  font-family: 'Noto Sans JP', sans-serif;
  position: absolute;
  left: 1em;
  font-weight: 600;
  font-size: 1.3em;
}

.qa-7 summary::before {
  color: #6d8bbd;
  content: "Q";
}

.qa-7 summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-bottom: 3px solid #666666b3;
  border-right: 3px solid #666666b3;
  content: '';
  transition: transform .5s;
}

.qa-7[open] summary::after {
  transform: rotate(225deg);
}

.qa-7 .awrap {
  position: relative;
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: .3em 3em 1.5em;
  color: #333;
  transition: transform .5s, opacity .5s;
}

.qa-7[open] .awrap {
  transform: none;
  opacity: 1;
}

.awrap > p:first-of-type::before {
  color: #d4d4d4;
  line-height: 1.2;
  content: "A";
}

/* ボタンのデザイン */
.qa-7 .button-container {
  display: flex;
  justify-content: center;
  margin-top: 1em;
}

.qa-7 button {
  display: inline-block;
  padding: 0.5em 1.5em;
  font-size: 1em;
  font-weight: 300;
  font-family: 'Noto Sans JP', sans-serif;
  color: #fff;
  background-color: #6daf50;
  border: none;
  cursor: pointer;
  transition: background-color .3s;
  margin-bottom: 1em;
}

.qa-7 button:hover {
  background-color: #d4d4d4;
}

/* ボタンのリンクスタイル */
.qa-7 a {
  text-decoration: none;
  display: flex;
  justify-content: center;
  width: 100%;
}
/*------------------------------------- 歯は臓器 --------------------------------------*/
#hazou-about section {
	padding:20px 0;
}
.zyuzi strong {
	background: linear-gradient(transparent 60%, #fdec7454 60%);
	padding: 0 2px;
}
ul.cardlist + .leadttl {
    margin: 30px auto 50px;
}
/* YouTubeをレスポンシブに */
.youtube-area {
  width: 100%;
  max-width: 100%;
}

/* 画面幅に合わせて広がる＆16:9をキープ */
.youtube-area iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9; /* Safari含めモダンブラウザOK */
}
.cardlist li p {
	text-align:center;
	margin: 10px 0;
}

@media (max-width: 768px){
	ul.cardlist {
		gap: 10px;
	}
	.cardlist li {
		padding: 10px 10px;
	}
	.cardlist li p {
		font-size:0.8rem;
		margin:0;
	}
	
}

/*------------------------------------- 料金表 --------------------------------------*/
#price {
	padding-right: 0;
	padding-left: 0;
	padding-bottom:75px;
}
/*------------------- 料金表 -------------------*/

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 8px;
  font-size: 1rem;
}
.price-table th,
.price-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e6eef9;
  vertical-align: middle;
}
.price-table th {
  text-align: left;
}
.price-table td.price {
  text-align: right;
  font-weight: 700;
  color: #333;
}
.banner {
	width: 80%;
}
@media (max-width: 768px){
	.banner {
		width: 100%;
	}
}

/*------------------- 2カラム費用比較 -------------------*/
  :root{
    --base:#A2CFFE;
    --ink:#1B1B1B;
    --muted:#6b7280;
    --bg:#ffffff;
    --line:#e5e7eb;
    --accent:#b91c1c; 
  }

  .pay-sim{background:var(--bg);padding:32px 0;margin:40px auto;}
  .pay-sim__ttl{font-size:1.8rem;text-align:center;margin:0 0 35px;color:#111827;letter-spacing:.08em}
  .pay-sim__inner{display:grid;grid-template-columns:1fr 1fr;gap:18px}
  .pay-card{background:#ffffffde;padding:16px}
  .pay-card__headline{font-size:1.15rem;font-weight:600;color:#3f3f46;background:linear-gradient(#f7f7f7,#f0f0f0);padding:10px 12px;border-radius:8px}
  .pay-card__inner{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:center;margin-top:14px}
  .pay-card__img img{width:80%;height:auto;border-radius:10px;display:block}
  .pay-card__lead{color:#555;margin:0 0 6px}
  .pay-card__lead .tax{font-size:.9em;color:var(--muted)}
  .pay-card__monthly{font-size:2.4rem;line-height:1.1;color:var(--accent);font-weight:700;letter-spacing:.04em}
  .pay-card__monthly span{font-size:1.2rem;color:#3f3f46;font-weight:500;letter-spacing:.05em;margin:0 .1em}
  .pay-card__rule{border:none;border-top:2px solid #d6d3d1;margin:14px 0}
  .pay-card__sum{display:flex;justify-content:space-between;align-items:center;color:#3f3f46}
  .pay-card__sum b{font-size:1.1rem}
  .pay-card__note{margin:10px 0 0;color:var(--muted);font-size:.92rem}
  .pay-sim__cta{text-align:center;margin-top:18px}
  .pay-sim__btn{display:inline-block;background:var(--base);color:#fff;text-decoration:none;padding:12px 18px;border-radius:12px;box-shadow:0 6px 16px rgba(162,207,254,.35)}
  .pay-sim__btn:hover{filter:brightness(1.05);color:#fff;}

  @media (max-width: 900px){
	  .pay-sim__cards{grid-template-columns:1fr}
	  .pay-card__inner{grid-template-columns:1fr}
	  .pay-card__monthly{font-size:2rem}
  }
	:root{
		--diag-a: #E6F2FF; /* 淡ブルー */
		--diag-b: #FFFFFF; /* 白 */
		--diag-angle: 116deg; /* 角度はお好みで (例: 120deg/150deg) */
		--diag-split: 51%;   /* 境界の位置（%） */
}

.pay-sim__cards{
  background: linear-gradient(var(--diag-angle),
              var(--diag-a) 0 var(--diag-split),
              var(--diag-b) var(--diag-split) 100%);
	padding: 73px 15px;
}

/* 見出し両端の装飾 */
.pay-sim__ttl::before,
.pay-sim__ttl::after{
  font-weight:700;
  color: var(--base-blue, #A2CFFE);
  position: relative;
  top: .06em;
}
.pay-sim__ttl::before{
  content: "＼";
  margin-right:.5em;
}
.pay-sim__ttl::after{
  content: "／";
  margin-left:.5em;
}
@media (max-width: 768px){
	.pay-sim__inner.w95 {width:100%;}
	.pay-sim__inner {gap:5px;}
	.pay-card__headline {font-size:100%;}
	.pay-card__lead {font-size:70%;}
	.pay-card__monthly span {font-size:1rem;}
	.pay-card__sum {flex-direction: column;}
	p.pay-card__note {font-size:70%}
}
/*------------------- 支払方法ブロック -------------------*/
:root{
    --base-blue:#A2CFFE;
    --line:#e5e7eb; --ink:#111827; --muted:#475569;
  }
  .pay-plain{margin:10px 0 24px}
  .pay-plain__list{list-style:none; padding:0; margin:0; border-top:1px solid var(--line)}
  .pay-plain__row{
    display:grid; grid-template-columns:220px 1fr; gap:16px;
    padding:14px 0; border-bottom:1px solid var(--line);
  }
  .pay-plain__label{font-weight:700; color:var(--ink); align-self:center}
  .pay-plain__body p{margin:0 0 8px; color:var(--muted); line-height:1.7}
  .pay-plain__brands{display:block; height:auto;margin:0;}
  .pay-plain__link{
    color:#0f172a; text-decoration:underline; text-underline-offset:2px;
    border-bottom:2px solid transparent; transition:border-color .2s;
  }
  .pay-plain__link:hover{border-color:var(--base-blue)}
  .pay-plain__notes{margin:10px 0 0; color:#64748b; font-size:.92rem; line-height:1.7}
  .pay-plain__notes li{margin-left:1em; list-style:disc}

  @media (max-width: 768px){
	  .pay-sim__cards {
		  padding:73px 0;
	  }
    .pay-plain__row{grid-template-columns:1fr}
    .pay-plain__label{margin-bottom:4px}
  }

/* デンタルローンシミュレーション表 */
:root{
    --base-blue:#A2CFFE; --line:#e5e7eb; --ink:#111827; --muted:#475569;
    --thead:#f3f7ff;
  }
  .loan-example__lead{margin:8px 0 18px; color:var(--muted); line-height:1.8}
  .loan-example__title{
    font-size:1.2rem; margin:18px 0 8px; color:#0f172a;
    padding-left:10px; border-left:4px solid var(--base-blue);
  }
  .loan-table__wrap{overflow:auto; -webkit-overflow-scrolling:touch}
  .loan-table{
    width:100%; border-collapse:collapse; border:1px solid var(--line);
    overflow:hidden; background:#fff;
    box-shadow:0 8px 20px rgba(162,207,254,.18);
  }
  .loan-table thead th{
    background:var(--thead); color:#0f172a; text-align:center;
    padding:10px 12px; font-weight:700; white-space:nowrap;
  }
  .loan-table td{padding:10px 12px; border-top:1px solid var(--line)}
  .loan-table td:nth-child(1){white-space:nowrap}
  .loan-table td:nth-child(2),
  .loan-table td:nth-child(3),
  .loan-table td:nth-child(4){text-align:center; white-space:nowrap}

  .loan-example__notes{margin:12px 0 4px; color:#64748b; font-size:.92rem; line-height:1.7}
  .loan-example__cta{text-align:center; margin:10px 0 0}
  .loan-example__link{
    display:inline-block; background:var(--base-blue); color:#fff; text-decoration:none;
    padding:10px 16px; border-radius:10px; box-shadow:0 6px 16px rgba(162,207,254,.35);
  }
  .loan-example__link:hover{filter:brightness(1.05)}

  @media (max-width: 720px){
    .loan-table thead th, .loan-table td{padding:9px 10px}
  }
/* ▼ モバイル時：テーブルを縦カード化（HTML変更不要） */
@media (max-width: 720px){

  /* テーブル要素をブロック化 */
  .loan-table,
  .loan-table thead,
  .loan-table tbody,
  .loan-table th,
  .loan-table td,
  .loan-table tr{
    display: block;
    width: 100%;
  }

  /* 見出し行は画面外へ（アクセシビリティ配慮で display:none は使わない） */
  .loan-table thead{
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 0;
    overflow: hidden;
  }

  /* 1レコードを“カード”っぽく */
  .loan-table tr{
    border: 1px solid var(--line);
    background: #fff;
    margin: 0 0 12px;
    padding: 8px 10px;
    box-shadow: 0 4px 12px rgba(162,207,254,.12);
  }

  /* 各セルはラベル＋値の2段構成に */
  .loan-table td{
    position: relative;
    padding: 10px 10px 10px 9.5em;   /* ← 左にラベル分の余白を確保 */
    border: none;
    border-bottom: 1px solid var(--line);
    text-align: left !important;     /* PC時のcenter指定を上書き */
    white-space: normal;             /* 改行OK */
  }
  .loan-table td:last-child{ border-bottom: none; }

  /* ラベル（theadの見出しを疑似要素で再掲） */
  .loan-table td::before{
    content: "";
    position: absolute;
    left: 10px;
    top: 10px;
    width: 8.8em;                    /* ラベル枠の幅（調整可） */
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
  }
  .loan-table td:nth-child(1)::before{ content: "支払い回数"; }
  .loan-table td:nth-child(2)::before{ content: "初回支払額"; }
  .loan-table td:nth-child(3)::before{ content: "2回目以降"; }
  .loan-table td:nth-child(4)::before{ content: "お支払い額総額"; }
}

/*------------------------------------- 下層 --------------------------------------*/
/* ========= flow_simple ========= */
.flow_simple{
  --ink:#0f172a; --sub:#475569; --line:#e5e7eb;
  --brand:#1e40af; --accent:#0ea5e9;

  margin-top:16px;
  padding:0;
  list-style:none;
  display:grid;
  gap:14px;
  grid-template-columns:repeat(3, minmax(0,1fr));
}

.flow_simple li{
  position:relative;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px 16px 16px 56px;
  box-shadow:0 8px 24px rgba(2,6,23,.06);
  transition:transform .15s ease, box-shadow .15s ease;
}

/* 番号バッジ */
.flow_simple li > span{
  position:absolute;
  left:12px; top:12px;
  width:32px; height:32px;
  border-radius:50%;
  display:grid; place-items:center;
  font-weight:800; font-size:12px; letter-spacing:.02em;
  color:#fff;
	background: linear-gradient(135deg, #6d8bbd, #a2cffe);;
}

/* 本文 */
.flow_simple li > div{
  color:var(--ink);
  line-height:1.8;
}

/* ステップ間の小さなコネクタ（PC時のみ） */
@media (min-width: 961px){
  .flow_simple li:not(:last-child)::after{
    content:"";
    position:absolute;
    right:-6px; top:26px;
    width:12px; height:2px;
    background:linear-gradient(90deg, var(--brand), var(--accent));
    border-radius:2px;
  }
}

/* SPレイアウト */
@media (max-width: 960px){
  .flow_simple{
    grid-template-columns:1fr;
  }
  .flow_simple li:not(:last-child)::after{ display:none; }
}

/* 省エネ（任意） */
@media (prefers-reduced-motion: reduce){
  .flow_simple li{ transition:none; }
}

/* はじめての方へ治療の流れ */
.treatment-flow {
  padding: 60px 20px;
  background-color: #fff;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  position: relative;
  margin-bottom: 80px;
  padding-left: 100px;
}

.flow-step::before {
  content: "";
  position: absolute;
  left: 60px;
  top: 0;
  width: 1px;
  height: 100%;
  background-color: #4a90e2;
}

.flow-number {
  position: absolute;
  top: 0;
  left: 30px;
  width: 60px;
  height: 60px;
  border: 2px solid #4a90e2;
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  font-size: 22px;
  color: #4a90e2;
  font-weight: bold;
  background-color: #fff;
  z-index: 1;
  font-family: 'Noto Serif JP', serif;
}

.flow-content {
  flex: 1;
  padding-right: 20px;
}

.flow-title {
  font-size: 30px;
  font-weight: normal;
  color: #4a90e2;
  margin : 10px 20px;
}

.flow-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}
.flow-image {
  flex: 0 0 320px; /* 幅を広げる */
  max-width: 100%;
}

.flow-image img {
  width: 100%;
  height: auto;
}

/* モバイル対応 */
@media (max-width: 768px) {
	.treatment-flow {
  padding: 0px;
  margin-bottom: 50px;
}
	
  .flow-step {
    flex-direction: column;
    padding-left: 40px;
  margin-bottom: 0px;
  }

  .flow-number {
    left: 0;
  }

  .flow-step::before {
    left: 30px;
  }

  .flow-image {
    margin-top: 20px;
    width: 100%;
  }
	
.flow-content {
  padding-right: 0px;
}

  .flow-content p {
    margin-left: 20px;

}

  .flow-title {
     margin: 10px 10px 10px 50px;
     font-size: 20px;
}
}

.section-text span {
    color: navy; /* 文字色をネイビーに設定 */
    font-size: 25px; /* 文字サイズを25pxに設定 */
    font-family: 'Noto Sans JP', sans-serif; /* フォントを Noto Sans JP に設定 */
}

/* アクセス診療時間ページ */
/* マップ */
.map-container {
  position: relative;
  width: 100%;
  padding-top: 28.125%;  /* 16:9の半分のアスペクト比 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* 診療時間表のデザイン */
.footer-hours-table {
    width: 70%;
    border-collapse: collapse;
    margin: 20px auto;  /* 自動で左右のマージンを調整して中央に配置 */
}

.footer-hours-table th, .footer-hours-table td {
  padding: 12px;
  text-align: center;
  border: 1px solid #dfe6f0;
  font-size: 1rem;
  color: #666;
}

.footer-hours-table th {
  background-color: #4a90e2;
  font-weight: bold;
  color: white;  /* 白文字にする */
}

.footer-hours-table td {
  background-color: #ffffff;
}

.footer-hours-table td.footer-closed {
  background-color: #f6f8fb;
  font-size: 0.9rem;
  text-align: center;
  font-style: italic;
  color: #6a5032;
}

/* 横に並ぶ曜日と診療時間を整える */
.footer-hours-table td,
.footer-hours-table th {
  min-width: 50px;
}

/* ====== モバイル対応 ====== */
@media (max-width: 768px){

  /* 診療時間表：横スクロールできるように */
  .footer-hours-table{
    display: block;                /* テーブルをブロック化してスクロール可に */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;           /* 折返し防止 */
    margin-top: 14px;
    border: 1px solid #dfe6f0;     /* スクロール時も枠が見えるように */
  }
  .footer-hours-table table{ width: 100%; } /* 念のため */
  .footer-hours-table th,
  .footer-hours-table td{
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  .footer-hours-table {
    width: 100%;
  }
}
/*------------------------------------- ｈ3画像ありの2カラム --------------------------------------*/
.medical-text-image {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.medical-image {
    width: 300px;
    flex-shrink: 0;
}

.medical-image img {
    width: 100%;
    height: auto;
}

.medical-text-image > div:nth-child {
    flex: 0 0 60%; 
}

.medical-text-image > div:nth-child(2) {
    flex: 0 0 40%; /* 右側 */
}
p.medical-desc {
	margin:auto;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .medical-text-image {
        flex-direction: column;
        align-items: center;
		gap: 0;
    }

    .medical-image {
        width: 100%;
        max-width: 400px;
        margin-top: 20px;
    }
}
/*------------------------------------- ｈ3左線/枠付き --------------------------------------*/
.color-box {
    background-color: #f9f9f9;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid #4a90e2;
}

.color-box-heading {
    font-size: 1.5rem;
    color: #4a90e2;
    margin-top: 10px;
    margin-bottom: 15px;
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
    .color-box-heading {
        font-size: 20px;
        font-weight: bold;
        margin-top: 10px;
        margin-bottom: 15px;
    }
}

/*------------------------------------- ｈ32カラムカード型 --------------------------------------*/
.card-2container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 30px;
  justify-content: center; /* コンテナの子要素を中央寄せ */
}

.card-2 {
  background-color: #e2e8f36e;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333;
  margin: 0 auto; /* 各カードを中央に配置 */
}

.card-2 h3 {
  color: #4a90e2;
  font-size: 1.25rem;
  margin-bottom: 10px;
  text-align: center;
}

.card-2 p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

@media (max-width: 768px) {
  .card-2container {
    grid-template-columns: 1fr;
    padding: 10px;
  }
}


.bg .under_flex_box {
  background: #e2e8f36e;
  margin: 10px 0;
}
.under_flex_box {
  display: flex;
}
.txt_box {
  flex:3;
  padding: 15px;
  margin: auto;
}
.img_box {
  flex: 2;
  padding: 15px;
  margin: auto;
}

.bg2 .under_flex_box {
	border: 1px dashed #5b84b1;
	margin: 10px 0;
}
/*------------------------------------- お悩み別CSS --------------------------------------*/
section {
  padding-top: 30px;
}
.ma30 {
  margin: 30px 0;
}

.border1 {
  padding: 30px;
  background: #f0f7ff;
}
.blue-underline {
  background: linear-gradient(transparent 34%, #d7c05052 80%);
}

.column2 {
    display: flex;
}
.column2 .under_flex_box{
  width: 50%;
}
.column2 .under_flex_box {
  flex-direction: column;
}
.column2 .txt_box {
    background: #dddddd36;
    margin: 5px;
}
.under_flex_box p {
  margin: 10px 0;
}
/* モバイル版 */
@media (max-width: 767px){
  .column2 .under_flex_box{
  width: 100%;
}
	.column2 {
		flex-direction: column;
	}
}
/*--------------------- 予約ボックス ---------------------*/
.bner_box {
  margin-top: 20px;
    background: url(../images/consultation/bner.png) right bottom no-repeat;
    background-size: cover;
    border: 1px solid #1a72b9;
    height: 440px;
    width: 55%;
    margin: 20px auto;
}
.bner_box .box {
    box-sizing: border-box;
	padding: 65px 0 29px 60px;
    width: 45%;
    height: 100%;
    background-color: rgba(255, 255, 255, .67);
    box-shadow: 0px 0px 16px 0px rgba(74, 54, 37, .09);
}
.bner_box .box .tel {
    margin-top: 38px;
}
.bner_box .box .tel .txt {
    padding-left: 13px;
    color: #2e2e2e;
    font-size: 16px;
    line-height: 1;
    letter-spacing: .05em;
    position: relative;
}
.bner_box .box .tel .txt:before {
    content: '▶';
    display: block;
    /* width: 4px;
    height: 7px; */
    position: absolute;
    top: 2px;
    left: 0;
    font-size: 11px;
}
.bner_box .box .tel .number {
    margin-top: 11px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.bner_box .box .tel .number span {
    color: #2e2e2e;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .04em;
}
.bner_box .box .cv_btn {
    width: 226px;
    margin-top: 20px;
}
.bner_box .box .cv_btn li a {
  display: block;
    padding: 13px 0 10px;
    margin: 8px 0;
    text-align: center;
    color: #fff;
    font-size: 16.73px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .2em;
    position: relative;
    border-radius: 40px;
}
.bner_box .box .cv_btn li a:hover {
  opacity: .5;
  color: #fff;
}
.bner_box .box .cv_btn li:nth-child(1) a {
    background-color: rgb(10 129 188 / 90%);
}
.bner_box .box .cv_btn li:nth-child(2) a {
    background-color: rgb(104 192 235 / 90%);
}
.bner_box .box .station {
    margin-top: 27px;
    color: #2e2e2e;
    font-size: 16px;
    line-height: 1.56;
}
.bner_box .box .access span.color {
  color: #19a3c0;
  font-size: 1.5rem;
}
@media (max-width: 768px) {
  .bner_box{
    position: relative;
    width: 90%;
  }
.bner_box .box{
  position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    padding: 10px 20px;
}
.bner_box .box .tel {
  margin: 0;
  text-align: center;
}
.bner_box .box .tel .txt {
  font-size: 0.8rem;
}
.bner_box .box .tel .txt:before {
      left: 25px;
}
.bner_box .box .tel .number {
  justify-content: center;
}
.bner_box .box .tel .number span {
    font-size: 1.5rem;
}
.bner_box .box .cv_btn {
    margin: auto;
}
.bner_box .box .cv_btn li a {
  padding: 10px 0 10px;
  margin-top: 11px;
}
.bner_box .box .access {
    text-align: center;
}
}

/*--------------------- こんな人にお勧め ---------------------*/
  .eline-rec {
    margin: 32px 0;
    padding: 20px 18px 18px;
    border-radius: 10px;
    border: 1px solid #cfe6f5;
    background-color: #f5fbff;
    position: relative;
  }

  .eline-rec__title {
    margin: 0 0 14px;
    padding-left: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c7fb8;
    border-left: 4px solid #5ab0de;
  }

  .eline-rec__list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .eline-rec__list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #355366;
    letter-spacing: .19em;
  }

  .eline-rec__list li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 0.8em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #5ab0de;
    transform: translateY(-50%);
  }

  @media (max-width: 767px) {
    .eline-rec {
      padding: 16px 14px;
    }

    .eline-rec__title {
      font-size: 1rem;
    }

    .eline-rec__list li {
      font-size: 0.9rem;
    }
    .eline-rec .img_box{
      position: absolute;
      top: -35px;
      right: -133px;
    }
    .eline-rec .img_box img{
      width: 30%;
    }
    .eline-rec .txt_box{
      padding: 0;
    }
  }


/*--------------------- h4あり ---------------------*/
.headlineswrap {
  /* background: #f2f7fd; */
  padding: 30px 15px;
  margin: 50px 0;
  position: relative;
}
.headlineswrap::before {
  position: absolute;
    content: "";
    background: linear-gradient(90deg, rgb(214 241 255) 0%, rgba(255, 255, 255, 0) 100% 100%);
    opacity: 0.8;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    z-index: -1;
    left: auto;
    right: 0;
    transform: scale(-1, 1);
}
.headlineswrap.another::before {
  background: linear-gradient(90deg, #efe2c1 0%, rgba(255, 255, 255, 0) 100% 100%);
}
.headlineswrap.another .medical-h3 {
  color: #453715;
  border-bottom: 1px solid #caa850;
}
p.sousyoku {
    position: absolute;
    font-size: 4rem;
    color: #55555557;
    top: -45px;
}
  /* ブロック全体 */
  .h4wrap {
    margin: 32px 0;
    padding: 20px 18px 18px;
    background-color: #f4f9fd;
    border: 1px solid #d8e6f2;
  }
  

  /* 見出し */
  .h4wrap .medical-h4 {
    margin: 0 0 16px;
    padding-left: 10px;
    /* color: #2c7fb8; */
    /* border-left: 4px solid #28427f; */
    font-weight: 600;
  }
  

  /* リスト全体 */
  .h4wrap .list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: wire-num;
  }

  .h4wrap .list li {
    position: relative;
    margin-bottom: 14px;
    padding: 12px 12px 12px 52px;
    background-color: #ffffff;
    border: 1px solid #e1edf7;
  }

  /* 番号の丸アイコン */
  .h4wrap .list li::before {
    counter-increment: wire-num;
    content: counter(wire-num);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #5aaedc;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* 1行目（小見出し） */
  .h4wrap .list li p:first-child {
    margin: 0 0 4px;
    font-weight: 700;
    color: #355366;
    font-size: 0.98rem;
  }

  /* 2行目以降（本文） */
  .h4wrap .list li p:last-child {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #506779;
  }

  .h4wrap.another {
    margin: 32px 0;
    padding: 20px 18px 18px;
    background-color: #efe2c1;
    border: 1px solid #ccb781;
  }
  .h4wrap.another .medical-h4 {
    border-left: 4px solid #caa850;
  }
  .h4wrap.another .list li::before {
    background-color: #caa850;
  }
/* -------------------------
   症例紹介カード（おしゃれ版）
-------------------------- */

.casewrap {
  margin-top: 40px;
  padding: 28px 26px 24px;
  border-radius: 22px;
	background: linear-gradient(135deg, #fffcf3 0%, #ffffff 45%, #fffef7 100%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

/* 装飾背景の丸い光 */
.casewrap::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -40px;
  width: 200px;
  height: 200px;
	background: radial-gradient(circle at center, rgb(255 249 180 / 55%), transparent 65%);
  opacity: 0.7;
}

/* 左の青ラインつき見出し */
.casewrap .medical-h4 {
  position: relative;
  margin-bottom: 18px;
  padding-left: 14px;
  font-size: 20px;
}
.casewrap .medical-h4 {
	border-left: 4px solid #caa850;
}
.casewrap .medical-h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 1.4em;
  border-radius: 999px;
  transform: translateY(-50%);
}

/* # */
.casewrap.blue {
    background: linear-gradient(135deg, #f3f8ff 0%, #ffffff 45%, #f7faff 100%);
}

/* 装飾背景の丸い光（青系） */
.casewrap.blue::before {
    background: radial-gradient(circle at center, rgb(180 210 255 / 45%), transparent 65%);
}

.casewrap.blue .medical-h4 {
    border-left: 4px solid #4b87d9; /* 青系ライン */
}

.casewrap.blue .medical-h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 1.4em;
    border-radius: 999px;
    transform: translateY(-50%);
    background: #4b87d9; /* ←追加：青の縦線が見えるように */
}


/* -----------------------------------
   画像＆要約
----------------------------------- */
.case-header {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
/*   z-index: 1; */
}

/* 画像をポラロイド風に */
.case-img-only img {
  width: 80%;
  max-width: 100%;
  border-radius: 16px;
  display: block;
}

.case-img-only {
  position: relative;
}

/* Before→After ラベル */
.case-img-only::after {
  content: "Before ▶ After";
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 999px;
}

/* 要約エリア */
.case-summary {
  flex: 1;
  font-size: 14px;
  line-height: 1.7;
}

/* タグ（小臼歯抜歯／ワイヤー矯正） */
.case-tag {
	display: inline-flex;
	align-items: center;
    gap: 6px;
    padding: 4px 12px;
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #866b1a;
    background: linear-gradient(90deg, #fffde7, #fffdf1);
    border-radius: 999px;
    border: 1px solid rgb(220 202 62 / 30%);
}

.case-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
	background: radial-gradient(circle at center, #caa850, #e7d7ae);}

/* 主訴・期間の表 */
.case-meta {
  margin: 0 0 8px;
}

.case-meta > div {
  display: flex;
  margin-bottom: 3px;
}

.case-meta dt {
  width: 70px;
  font-weight: 600;
  font-size: 13px;
  color: #234368;
}

.case-meta dd {
  margin: 0;
}

/* 一言コメント */
.case-oneword {
  margin-top: 6px;
  font-size: 13px;
  color: #4b5a6a;
}

/* -----------------------------------
   アコーディオン
----------------------------------- */
.accordion {
  margin-top: 18px;
  text-align: center;
  position: relative;
	z-index: 0;
}

.accordion-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 22px;
    border-radius: 999px;
    border: 1px solid #caa850;
	background: #fff9e8;
    font-size: 13px;
    font-weight: 600;
    color: #caa850;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}

.accordion-btn::after {
  content: "＋";
  font-size: 14px;
}

.accordion-btn.open::after {
  content: "－";
}

.accordion-btn:hover {
	background: #fff9e8;
  box-shadow: 0 6px 14px rgba(12, 62, 142, 0.18);
  transform: translateY(-1px);
}

.accordion-content {
  display: none;
  margin-top: 14px;
  padding-top: 8px;
  border-top: 1px dashed rgba(102, 140, 190, 0.4);
  text-align: left;
  font-size: 13px;
  line-height: 1.8;
  color: #304050;
}

.case-price li {
  list-style: disc;
  margin-left: 1.4em;
}
.medical-h5 {
  font-weight: 600;
  font-size: 1rem;
  color: #234368;
}

/* スマホ最適化 */
@media (max-width: 768px) {
  .casewrap {
    padding: 20px 15px 18px;
    border-radius: 18px;
  }
  .case-header {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .case-img-only img {
    width: 85%;
    max-width: 260px;
  }
  .case-summary {
    width: 100%;
  }
}
  @media (max-width: 767px) {
    .h4wrap {
      padding: 16px 12px 14px;
    }

    .h4wrap .medical-h4 {
      font-size: 1rem;
      margin-bottom: 12px;
    }

    .h4wrap .list li {
      padding: 10px 10px 10px 40px;
    }

    .h4wrap .list li::before {
      left: 10px;
      width: 24px;
      height: 24px;
      font-size: 0.85rem;
      top: 10%;
    }

    .h4wrap .list li p:first-child {
      font-size: 0.95rem;
    }

    .h4wrap .list li p:last-child {
      font-size: 0.9rem;
    }
    p.sousyoku {
      font-size: 1.5rem
    }
  }
/*--------------------- h4あり2 ---------------------*/
.h3_box_wrap {
  background: #f4f9ff;
  padding: 30px 20px;
  margin: 20px 0;
}
.h3_box .medical-h3 {
  text-align: center;
}
@media (max-width: 767px) {
  .h3_box_wrap {
  padding: 30px 15px;
}
}


.symptoms-container {
  background-color: #f4f7f6;
  padding: 20px 20px 20px 40px;
  margin: 0 auto;
}

.symptom-list {
  list-style-type: none;
  padding-left: 0;
}

.symptom-list li {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.symptom-list li::before {
  content: "✔"; /* チェックマークをリストアイテムの前に追加 */
  color: #4a90e2;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: 0;
}
/* モバイル版 */
@media (max-width: 767px){
  .symptoms-container {
  padding: 20px 10px;
}
}
/*--------------------- CTAボタン ---------------------*/
/* 痛み相談CTA（くすみブルー版） */
.pain-cta {
  max-width: 640px;
  margin: 40px auto;
  padding: 24px 20px 28px;
  background: #f3f8fb; /* 淡いくすみ水色 */
  border-radius: 12px;
  border: 1px solid #d1e1ea; /* 優しいブルーグレー */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.pain-cta__lead {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #3b6d86; /* くすみブルー */
}

.pain-cta__text {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 18px;
  color: #50616d; /* 青みがかったグレー */
}

.pain-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7baac4, #6fa0bd); /* くすみブルーのグラデ */
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(100, 140, 170, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.pain-cta__btn-arrow {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.9em;
}

.pain-cta__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(100, 140, 170, 0.42);
  opacity: 0.96;
  color: #fff;
}

.pain-cta__btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(100, 140, 170, 0.30);
}

/* PCで余白調整 */
@media screen and (min-width: 768px) {
  .pain-cta {
    padding: 28px 32px 32px;
  }
}


/*--------------------- 見出しタグなしデザイン ---------------------*/
.treat-point-list {
  margin: 30px 0;
}

/* 1つ1つのブロックに枠線＋余白＋影 */
.treat-point-item {
  border: 1px solid #e8e8e8;
  padding: 14px 16px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); /* 浮いて見せる影 */
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.treat-point-item + .treat-point-item {
  margin-top: 16px;
}

/* ホバーしたとき、少し浮く感じに */
.treat-point-item:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* タイトル行 */
.treat-point-title {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 6px;
}

/* アイコン部分 */
.treat-point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #4a90e2;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-right: 8px;
}

/* 説明テキスト */
.treat-point-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
}

/*--------------------- 4カラム画像付き、hタグではない ---------------------*/
.treat-option-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.treat-option-item {
  background-color: #fff;
  padding: 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.treat-option-img {
  width: 100%;
  aspect-ratio: 4 / 3; /* 画像がなくても形が崩れないように */
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 10px;
}

.treat-option-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.treat-option-title {
  font-weight: 600;
  font-size: 15px;
  margin: 6px 0 8px;
}

.treat-option-text {
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
}

/* タブレット：2カラム */
@media (max-width: 1024px) {
  .treat-option-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ：1カラム */
@media (max-width: 768px) {
  .treat-option-grid {
    grid-template-columns: 1fr;
  }

  .treat-option-item {
    text-align: left;
  }

  .treat-option-title {
    text-align: left;
  }
}
/* 4カラム */
/* セクション全体（必要なら調整） */
.check-section {
  margin: 40px 0;
}

/* グリッド：PC4列 */
.check-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 各カード */
.check-item {
  background-color: #F2F8FE;
  padding: 18px 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* タイトル行 */
.check-title {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 8px;
}

/* 番号アイコン */
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #4a90e2;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-right: 8px;
}

/* 説明テキスト */
.check-text {
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}

/* タブレット：2列 */
@media (max-width: 1024px) {
  .check-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ：1列（2列にしたい場合はここを repeat(2,1fr) に） */
@media (max-width: 768px) {
  .check-grid {
    grid-template-columns: 1fr;
  }
}
/*--------------------- 3カラム画像なし、hタグではない ---------------------*/
/* セクション全体：薄いブルー背景 */
.principle-section {
  padding: 40px 20px;
  background-color: #f0f8ff; /* お好みで調整OK */
}

.principle-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* 3カラムグリッド */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 各カード */
.principle-item {
  background-color: #fff;
  padding: 18px 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* タイトル */
.principle-title {
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 8px;
  color: #4a90e2; /* 強調用の青 */
}

/* 本文 */
.principle-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

/* タブレット：2カラム */
@media (max-width: 1024px) {
  .principle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ：1カラム */
@media (max-width: 768px) {
  .principle-grid {
    grid-template-columns: 1fr;
  }
}
/*--------------------- ｈ4以下のデザイン ---------------------*/
/* 全体カード */
.treatment-summary {
  background-color: #f0f8ff;         /* 薄いブルー背景 */
  padding: 20px 22px;
  margin: 30px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* 行ごとのレイアウト */
.summary-row {
  display: grid;
  grid-template-columns: 140px 1fr;  /* ラベル列＋内容列 */
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed #d0dfed;
}

.summary-row:last-of-type {
  border-bottom: none;
}

/* ラベル側 */
.summary-label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #4a6fa5;
  background: #e3f0ff;
  border-radius: 999px;
  padding: 6px 10px;
  text-align: center;
}

/* 値側 */
.summary-value {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

/* 装置リスト */
.device-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.device-list li + li {
  margin-top: 6px;
}

/* 装置名タグ部分 */
.device-tag {
  display: inline-block;
  font-weight: 600;
  margin-right: 4px;
  color: #4a90e2;
}

/* 下のメッセージ */
.summary-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.8;
}
  
/* SPでラベルを上に持ってくる */
@media (max-width: 768px) {
  .summary-row {
    grid-template-columns: 1fr;
  }

  .summary-label {
    text-align: left;
    width: fit-content;
  }
}
/*--------------------- グラフCSS ---------------------*/
.ortho-chart {
  max-width: 85%;
  margin: 40px auto;
  padding: 24px 20px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  font-family: Noto serif JP;
}

.ortho-chart__title {
  font-size: 20px;
  margin: 0 0 4px;
  text-align: center;
}

.ortho-chart__subtitle {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin: 0 0 16px;
}

.ortho-chart__wrapper {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
}

/* Y軸 */
.ortho-chart__yaxis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 8px 48px 0; /* 下に余白を少し増やす */
  font-size: 11px;
  color: #666;
}

.ortho-chart__ylabel {
  text-align: right;
}

/* グリッド＆バー部分 */
.ortho-chart__grid {
  position: relative;
  padding: 8px 8px 48px;  /* ラベル分の余白 */
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc; /* ここが0％のベースライン */
  overflow-x: auto;
}

.ortho-chart__grid-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
}

.ortho-chart__grid-line[data-line="30"] { bottom: 30%; }
.ortho-chart__grid-line[data-line="20"] { bottom: 20%; }
.ortho-chart__grid-line[data-line="10"] { bottom: 10%; }
.ortho-chart__grid-line[data-line="0"]  { bottom: 0; }

.ortho-chart__bars {
  position: relative;
  display: flex;
  align-items: flex-end; 
  gap: 15px;
  height: 260px;
}

.ortho-chart__bar {
  --bar-height: 0%;
  position: relative;
  flex: 0 0 40px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: 100%;
}

.ortho-chart__bar-inner {
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #4b9ad6, #66c2c2);
  box-shadow: 0 4px 10px rgba(75, 154, 214, 0.25);
  height: var(--bar-height);
  transform-origin: bottom;          /* 下を起点に */
  animation: ortho-bar-grow 0.7s ease-out forwards;
}

@keyframes ortho-bar-grow {
  from { height: 0; }               /* 下から伸びる */
  to   { height: var(--bar-height); }
}

/* 数値：バーの“上”に表示 */
.ortho-chart__value {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--bar-height) + 6px); /* バーの上端＋余白 */
  font-size: 10px;
  color: #333;
  white-space: nowrap;
}

/* 年齢ラベル：ベースラインの“下”に表示 */
.ortho-chart__label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -26px;                     /* 軸より下に */
  font-size: 11px;
  color: #555;
  white-space: nowrap;
}

/* 各バーの高さ（最大25.6％を100%としてスケール） */
.ortho-chart__bar:nth-child(1)  { --bar-height: 0%; }    /* 0.0% */
.ortho-chart__bar:nth-child(2)  { --bar-height: 34.8%; } /* 8.9% */
.ortho-chart__bar:nth-child(3)  { --bar-height: 82.8%; } /* 21.2% */
.ortho-chart__bar:nth-child(4)  { --bar-height: 48.8%; } /* 12.5% */
.ortho-chart__bar:nth-child(5)  { --bar-height: 75.0%; } /* 19.2% */
.ortho-chart__bar:nth-child(6)  { --bar-height: 51.6%; } /* 13.2% */
.ortho-chart__bar:nth-child(7)  { --bar-height: 58.2%; } /* 14.9% */
.ortho-chart__bar:nth-child(8)  { --bar-height: 100%; }  /* 25.6% */
.ortho-chart__bar:nth-child(9)  { --bar-height: 71.5%; } /* 18.3% */
.ortho-chart__bar:nth-child(10) { --bar-height: 37.9%; } /* 9.7% */
.ortho-chart__bar:nth-child(11) { --bar-height: 45.3%; } /* 11.6% */
.ortho-chart__bar:nth-child(12) { --bar-height: 17.2%; } /* 4.4% */
.ortho-chart__bar:nth-child(13) { --bar-height: 19.9%; } /* 5.1% */
.ortho-chart__bar:nth-child(14) { --bar-height: 23.0%; } /* 5.9% */
.ortho-chart__bar:nth-child(15) { --bar-height: 10.2%; } /* 2.6% */
.ortho-chart__bar:nth-child(16) { --bar-height: 9.4%; }  /* 2.4% */
.ortho-chart__bar:nth-child(17) { --bar-height: 2.3%; }  /* 0.6% */
.ortho-chart__bar:nth-child(18) { --bar-height: 7.4%; }  /* 1.9% */

/* 左から順にニョキっと出るディレイ */
.ortho-chart__bar:nth-child(1)  .ortho-chart__bar-inner { animation-delay: 0s; }
.ortho-chart__bar:nth-child(2)  .ortho-chart__bar-inner { animation-delay: 0.02s; }
.ortho-chart__bar:nth-child(3)  .ortho-chart__bar-inner { animation-delay: 0.04s; }
.ortho-chart__bar:nth-child(4)  .ortho-chart__bar-inner { animation-delay: 0.06s; }
.ortho-chart__bar:nth-child(5)  .ortho-chart__bar-inner { animation-delay: 0.08s; }
.ortho-chart__bar:nth-child(6)  .ortho-chart__bar-inner { animation-delay: 0.10s; }
.ortho-chart__bar:nth-child(7)  .ortho-chart__bar-inner { animation-delay: 0.12s; }
.ortho-chart__bar:nth-child(8)  .ortho-chart__bar-inner { animation-delay: 0.14s; }
.ortho-chart__bar:nth-child(9)  .ortho-chart__bar-inner { animation-delay: 0.16s; }
.ortho-chart__bar:nth-child(10) .ortho-chart__bar-inner { animation-delay: 0.18s; }
.ortho-chart__bar:nth-child(11) .ortho-chart__bar-inner { animation-delay: 0.20s; }
.ortho-chart__bar:nth-child(12) .ortho-chart__bar-inner { animation-delay: 0.22s; }
.ortho-chart__bar:nth-child(13) .ortho-chart__bar-inner { animation-delay: 0.24s; }
.ortho-chart__bar:nth-child(14) .ortho-chart__bar-inner { animation-delay: 0.26s; }
.ortho-chart__bar:nth-child(15) .ortho-chart__bar-inner { animation-delay: 0.28s; }
.ortho-chart__bar:nth-child(16) .ortho-chart__bar-inner { animation-delay: 0.30s; }
.ortho-chart__bar:nth-child(17) .ortho-chart__bar-inner { animation-delay: 0.32s; }
.ortho-chart__bar:nth-child(18) .ortho-chart__bar-inner { animation-delay: 0.34s; }

/* スクロールバー調整（対応ブラウザのみ） */
.ortho-chart__grid::-webkit-scrollbar {
  height: 6px;
}
.ortho-chart__grid::-webkit-scrollbar-track {
  background: #f3f3f3;
}
.ortho-chart__grid::-webkit-scrollbar-thumb {
  background: #cccccc;
  border-radius: 3px;
}

/* スマホ（横棒グラフに切り替え） */
@media (max-width: 640px) {

  .ortho-chart {
    max-width: 100%;
    margin: 20px auto;
    padding: 12px 10px;
  }

  /* レイアウトは1カラムに */
  .ortho-chart__wrapper {
    grid-template-columns: 1fr;
  }

  /* Y軸ラベルとグリッド線はスマホでは非表示 */
  .ortho-chart__yaxis {
    display: none;
  }

  .ortho-chart__grid {
    padding: 8px 0 8px;
    border-left: none;
    border-bottom: none;
    overflow-x: visible;
  }

  .ortho-chart__grid-line {
    display: none;
  }

  /* 棒グラフ部分を縦並びにして横棒グラフに */
  .ortho-chart__bars {
    display: flex;
    flex-direction: column;  /* 縦に並べる */
    align-items: stretch;
    gap: 8px;
    height: auto;
  }

  .ortho-chart__bar {
    height: auto;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    /* 一列ずつに余白 */
    padding: 2px 0;
    --bar-height: var(--bar-height); /* 名前はそのまま使う */
  }

  /* 横方向の長さで割合を表現 */
  .ortho-chart__bar-inner {
    order: 2;
    height: 12px;
    width: var(--bar-height); /* 0〜100% をそのまま横幅に */
    max-width: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #4b9ad6, #66c2c2);
    box-shadow: 0 2px 6px rgba(75, 154, 214, 0.25);
    transform-origin: left;
    animation: ortho-bar-grow 0.7s ease-out forwards;
  }

  @keyframes ortho-bar-grow {
    from { width: 0; }
    to   { width: var(--bar-height); }
  }

  /* 年齢ラベル：左側に */
  .ortho-chart__label {
    order: 1;
    position: static;
    transform: none;
    bottom: auto;
    font-size: 11px;
    color: #555;
    white-space: nowrap;
    min-width: 64px;
    text-align: left;
  }

  /* 数値：バーの右側に */
  .ortho-chart__value {
    order: 3;
    position: static;
    transform: none;
    bottom: auto;
    font-size: 10px;
    color: #333;
    white-space: nowrap;
    margin-left: 4px;
  }
}


/* ===================== 汎用カードセクション ===================== */
.card-section {
  margin-top: 50px;
}

/* 背景つきの大ラッパー */
.card-section__wrap {
  padding: 28px 24px 32px;
  background: radial-gradient(circle at top left, #eef4ff 0, #f8fbff 40%, #ffffff 100%);
  border: 1px solid #dde6f6;
  border-radius: 16px;
  margin-bottom: 20px;
}

/* カード本体 */
.card-block {
  position: relative;
  margin: 0 0 22px;
  padding: 20px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

/* 飾りの光（青） */
.card-block::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(162, 207, 254, 0.45), transparent 60%);
  opacity: 0.65;
  pointer-events: none;
}

/* アクセントバージョン（黄色光） */
.card-block--accent::after {
  background: radial-gradient(circle at center, rgba(252, 211, 77, 0.45), transparent 60%);
}

/* 画像 */
.card-block__image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* テキストエリア */
.card-block__body p {
  line-height: 1.8;
  font-size: 0.95rem;
}

/* タグ */
.card-block__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  margin-bottom: 8px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: #1e3a8a;
  background: #e0ecff;
}

.card-block__tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
}

/* タグ：黄色系 */
.card-block__tag--accent {
  color: #92400e;
  background: #fef3c7;
}

.card-block__tag--accent::before {
  background: #f59e0b;
}

/* PC時：比率調整 */
.card-block .img_box { flex: 2; }
.card-block .txt_box { flex: 3; }

/* ------------------- モバイル ------------------- */
@media (max-width: 768px) {

  .card-section__wrap {
    padding: 18px 12px 24px;
  }

  .card-block {
    padding: 16px 12px;
    margin-bottom: 16px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  }

  .card-block__tag {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
  }

  .card-block__body p {
    font-size: 0.9rem;
  }

  .card-block::after {
    right: -50px;
    top: -60px;
    opacity: 0.45;
  }
}

/*--------------------- 2カラム箇条書き ---------------------*/
.point-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 60px;
}

.point {
  width: 50%;
}

.point-header {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
  padding: 10px;
  background-color: #5b84b1;
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.appearance-list,
.bite-list {
  list-style-type: none;
  padding-left: 0;
  border: 1px solid #ddd;
  padding-top: 10px;
  background: #fff;
  margin-bottom: 10px;
}

.appearance-list li,
.bite-list li {
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.6;
  padding: 10px;
  position: relative;
  padding-left: 30px;
}

.checkmark {
  color: #5b84b1;
  font-size: 20px;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

/* モバイル版（画面幅が768px以下の場合） */
@media (max-width: 768px) {
  .point-header {
  font-size: 18px;
}
	
  .point-container {
    flex-direction: column;
    gap: 20px;
  }

  .point {
    width: 100%;
  }
}

/* 症例ブロックのスタイル */
/* BeforeとAfterのテキスト */
.before-text, .after-text {
    font-size: 20px;
    font-weight: bold;
    color: white; /* 文字色 */
    background-color: rgba(91, 132, 177, 0.7); /* 透明度0.7を追加 */
    padding: 10px 50px; /* 内側の余白 */
    text-align: center;
    position: absolute;
    bottom: -50px; /* 画像の下に配置 */
    left: 50%;
    transform: translateX(-50%); /* 中央寄せ */
    z-index: 1; /* 画像の上に表示 */
}

/* BeforeとAfterの写真 */
.before-photo, .after-photo {
    display: inline-block;
    width: 100%; /* 幅を100%に設定 */
    text-align: center;
    position: relative; /* テキストを画像上に重ねるため */
    margin: 10px 0;
}

.before-photo img, .after-photo img {
    width: 80%;
    height: auto;
}

/* 症例ブロックのスタイル */
.case-block {
    margin: 30px auto;
    width: 100%; /* 幅を100%に設定 */
    padding: 20px;
}

/* BeforeとAfter画像のセクションに間隔を追加 */
.before-section, .after-section {
    margin-bottom: 20px;
}


/* 表のスタイル */
.case-table {
    width: 90%; /* 表の幅を80%に設定 */
    margin: 30px auto; /* 上下の余白を30px、左右の余白は自動で中央揃え */
    border-collapse: collapse;
}

.case-table table {
    width: 100%; /* テーブルの幅を100%に設定 */
    text-align: left;
    border: 1px solid #5b84b1; /* 青系のボーダー */
    border-radius: 5px;
    background-color: #fff;
}

.case-table td {
    padding: 12px;
    border: 1px solid #5b84b1; /* 青系のボーダー */
    font-size: 16px;
}

.case-table .header {
    font-weight: bold;
    background-color: #5b84b1; /* 青系の背景色 */
    color: white;
    text-align: center;
}

.case-table td:nth-child(2) {
    background-color: #f7f7f7;
}

/* モバイル版（画面幅が768px以下の場合） */
@media (max-width: 768px) {
  .case-block {
    padding: 5px; /* スペースを少し小さく */
  }

  /* Before/Afterの写真を縦に並べる */
  .before-photo, .after-photo {
    width: 100%; /* 幅を100%にして縦並び */
    margin: 15px 0;
  }

  /* BeforeとAfterのテキスト位置調整 */
  .before-text, .after-text {
    bottom: -50px; /* 画像に少し近づける */
    font-size: 15px; /* フォントサイズを小さく */
    padding: 2px 40px; /* 内側の余白調整 */
  }

  /* 表の縦並び */
  .case-table {
    width: 100%; /* 表の幅を100%に */
    margin: 15px 0; /* 上下の余白を調整 */
  }

  .case-table table {
    width: 100%;
  }

  /* 表の縦並び */
  .case-table td {
    display: block;
    width: 100%; /* 各セルを縦に並べる */
    box-sizing: border-box; /* パディングを含む */
  }

  .case-table .header {
    text-align: center; /* ヘッダーを中央揃え */
  }
}

/* タブレット版（画面幅が768px以上の場合） */
@media (max-width: 1024px) {
  .case-block {
    padding: 10px; /* タブレットでも適度にスペースを維持 */
  }

  /* BeforeとAfterの画像調整 */
  .before-photo img, .after-photo img {
    width: 100%; /* タブレットでは80%の幅に */
  }
}
/*--------------------- 予約ページ ---------------------*/
/* ============================
   無料カウンセリング予約 全体デザイン
============================ */

.yoyaku_box {
  max-width: 920px;
  margin: 60px auto;
  padding: 40px 32px;
  background: #f6f9ff;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  font-family: "Noto Sans JP", sans-serif;
}

/* フォーム全体 */
.yoyaku_box .wpcf7-form {
  width: 100%;
}

/* テーブル全体 */
.yoyaku_box .mousikomi {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 14px;
}

/* 左ラベル */
.yoyaku_box .yoyaku {
    width: 30%;
    vertical-align: middle;
	background: #779fcd;
    padding: 0 5px;
}
.yoyaku_box .yoyaku p {
	margin-bottom:0;
}
.yoyaku_box .yoyaku .b {
  font-size: 15px;
  font-weight: 700;
	color: #fff;
}

.yoyaku_box .sankou {
	margin-left: 6px;
    font-size: 12px;
	color: #fff;
    font-weight: 700;
	border: 1px solid #fff;
    border-radius: 40px;
    padding: 3px 10px;
}

/* 右入力欄 */
.yoyaku_box td:last-child {
	width: 70%;
	padding: 0 10px;
}

/* 入力系共通 */
.yoyaku_box input[type="text"],
.yoyaku_box input[type="email"],
.yoyaku_box input[type="date"],
.yoyaku_box select,
.yoyaku_box textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border-radius: 3px;
  border: 1px solid #bfcceb;
  background: #fff;
  transition: 0.2s;
  box-sizing: border-box;
}

.yoyaku_box textarea {
  min-height: 120px;
  resize: vertical;
}

/* フォーカス時 */
.yoyaku_box input:focus,
.yoyaku_box select:focus,
.yoyaku_box textarea:focus {
  outline: none;
  border-color: #4b82d8;
  box-shadow: 0 0 0 2px rgba(75,130,216,0.15);
}

/* ============================
   同意チェック
============================ */

.yoyaku_box .contact_bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #cfdaf7;
  text-align: center;
}

.yoyaku_box .contact_bottom input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 8px;
}

/* ============================
   送信ボタン
============================ */

.yoyaku_box #mail_submit2 {
  margin-top: 24px;
  width: 100%;
  max-width: 360px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #4b82d8, #7ea7e8);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.2s;
}

.yoyaku_box #mail_submit2:hover {
  opacity: 0.85;
}

.yoyaku_box .contact_bottom .center {
  margin-top: 14px;
  font-size: 13px;
  color: #555;
}

/* ============================
   スマホ調整
============================ */

@media (max-width: 768px) {

  .yoyaku_box {
    padding: 28px 18px;
  }

  .yoyaku_box .mousikomi,
  .yoyaku_box .mousikomi tr,
  .yoyaku_box .mousikomi td {
    display: block;
    width: 100%;
  }

  .yoyaku_box .yoyaku {
    margin-bottom: 6px;
  }

  .yoyaku_box .wpcf7-form-control-wrap[data-name="radio-240"] .wpcf7-list-item {
    flex: 1 1 calc(50% - 6px);
  }
}

/* ---------------------------------------設備紹介--------------------------------------- */
.equipment-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3カラムレイアウト */
  gap: 20px;
  padding: 20px;
}

.equipment-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 20px;
}

.equipment-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.equipment-title {
  color: #0056b3; /* 青系の色 */
  font-size: 1.5rem;
  margin: 15px 0 10px;
}

.equipment-item p {
  color: #666;
  font-size: 1.2rem;
  text-align: center;
}

/* モバイル版：縦並び */
@media screen and (max-width: 768px) {
  .equipment-section {
    grid-template-columns: 1fr; /* 縦並び */
    padding: 10px;
  }

  .equipment-item {
    margin-bottom: 20px; /* 各アイテム間にスペース */
  }
}

.explanation-block {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.explanation-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.explanation-img img {
  width: 100%;
  height: auto;
  max-width: 350px;
  border-radius: 8px;
}

.explanation-text {
  flex: 1; 
}

.explanation-title {
  color: #0056b3;
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 400;
}

.explanation-desc {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .explanation-item {
    flex-direction: column;
    gap: 10px;
  }

  .explanation-img img {
    max-width: 100%;
  }
}

/*==================================================================================================================================

  *各先生ページTOP

==================================================================================================================================*/

.c-1-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
	background-color: #f8f8f8;
}

.c-1-image img {
    width: 100%;
    height: auto;
    box-shadow: -4px 4px 8px rgba(0, 0, 0, 0.2); /* 左側にのみ影を付けて、右側の影を消す */
    transform: translateY(-10px);  /* 画像を少し上に持ち上げる */
    transform-origin: left center;  /* 画像の左側を基準に浮き上がりを調整 */
}

.c-1-text {
    width: 50%;
    padding-left: 20px;
	z-index: 0;
}

.d-1 {
    font-family: 'Ryumin', serif;
    font-size: 36px;
    line-height: 1.6;
    color: #2c3e50;
    margin: 0 0 20px -250px;
}

.dnml {
    font-size: 23px;
    margin-right: 20px;
}

.d-nm {
    font-family: 'Ryumin', serif;
    font-size: 18px;
    color: #7f8c8d;
    margin: 0 0 10px 0;
    text-align: right;
}

.d-nm:nth-child(2) {
    font-weight: 400;
    font-size: 1.3rem;
    margin-top: 50px;
}

.d-nm:nth-child(3) {
    font-weight: 400;
    font-size: 2.5rem;
}

.d-nm:nth-child(4) {
    font-weight: 400;
    color: #d9534f;
    letter-spacing: 0.2em;
}

/* モバイル版のスタイル */
@media (max-width: 768px) {
    .c-1-container {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .c-1-image img {
        width: 100%; /* 画像がモバイルでも適切に表示されるように調整 */
        margin-bottom: 20px; /* 画像とテキストの間にスペース */
    }

    .c-1-text {
        width: 100%;
        text-align: center; /* テキストを中央に揃える */
        padding-left: 0;
    }

    .d-1 {
        font-size: 17px; /* モバイルでは文字サイズを少し小さく */
        margin: 0;
    }

    .dnml {
    font-size: 15px;
}

    .d-nm {
        font-size: 15px; /* テキストのフォントサイズも小さく */
    }

    .d-nm:nth-child(2) {
    font-size: 0.9rem;
    margin-top: 20px;
}

.d-nm:nth-child(3) {
    font-size: 1.3rem;
}
}

/* ============================ */
/*  YouTube + 文章 2カラムブロック */
/* ============================ */

.c-yt-text-block {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin: 40px 0;
    flex-wrap: wrap;
    flex-direction: row-reverse;
	padding: 20px;
	margin: auto;
}

.c-yt-video,
.c-yt-text {
    flex: 1 1 45%;
}

.c-yt-video iframe {
    width: 100%;
    height: 400px;
    border-radius: 8px;
}

.c-yt-title {
    font-size: 24px;
    font-weight: 400;
	margin-top: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.03em;
    color: #5b84b1;
}

.c-yt-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 12px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .c-yt-text-block {
        flex-direction: column;
        gap: 20px;
    }

    .c-yt-text {
        text-align: left;
    }

    .c-yt-title {
        font-size: 20px;
    }

    .c-yt-text p {
        font-size: 15px;
    }
}

/* ============================ */
/*  症例紹介の4つの画像とリンクボタン */
/* ============================ */

.c-case-intro {
    text-align: center;
/*     padding: 40px; */
/*     background-color: #f9f9f9; */
}

.c-case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2カラム */
    gap: 20px;
    margin-bottom: 30px;
	max-width: 1200px;
    margin: auto;
}

.c-case-item {
    background-color: #ddd;
    padding: 20px;
    border-radius: 8px;
}

.c-case-item img {
    width: 80%;
    height: auto;
    border-radius: 4px;
}

.c-case-item p {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    color: #333;
}

.c-case-button {
    margin-top: 20px;
}

.c-case-link {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

.c-case-link:hover {
    background-color: #0056b3;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .c-case-grid {
        grid-template-columns: 1fr; /* 1カラム */
    }

    .c-case-link {
        font-size: 14px;
        padding: 8px 16px;
    }
}
.youtube-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}

.youtube-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

