@charset "UTF-8";
/*------------------- ヘッダー -------------------*/

header {
	position: absolute;
	z-index: 10;
	left: 0;
	top: 0;
	width: 100%;
	box-sizing: border-box;
	padding: 0 3% 0;
}
header .h_inbox {
	display: flex;
	justify-content: space-between;
}
header .h_left {
	position: relative;
	width: 35%;
	margin-top: 1em;
}
header .h_left .h_logo {
	margin-bottom: 1em;
}
header .h_left .h_logo img {
	margin-left: 0;
}
header .h_left .h_logo span {
	display: block;
	width: 54%;
	margin-bottom: 1em;
}
header h1 {
	font-size: min(1.2vw,82%);
	letter-spacing: .14em;
	line-height: 1.4em;
}

header .h_contact {
	display: flex;
    justify-content: space-between;
    align-items: flex-end;
	text-align: center;
	position: relative;
	color: #fff;
}

header .h_tel dl {
	position: relative;
}
header .h_tel dt {
	text-align: left;
	color: #938068;
	font-size: min(1.4vw,94%);
	letter-spacing: .14em;
	margin-bottom: .2em;
}
header .h_tel dt span {
	font-size: 80%;
	color: #363636;
}
header .h_tel dt,
header .h_tel .phone_num {
	padding-left: 20%;
}
header .h_tel img {
    margin: 0;
}
header .h_tel .phone_num {
	font-size: min(1.8vw,130%);
}
header .h_tel .icon {
    left: 0;
    top: auto;
	bottom: 0;
    transform: none;
}
header .h_tel .h_time {
	/* margin-top: .8em; */
}
header .h_time {
  font-size: 15px;
}
header .h_web a {
	padding: .8em .8em .7em;
}
header .h_web a > div {
	position: relative;
	box-sizing: border-box;
	padding-left: 25%;
}
header .h_web .icon_web {
	position: absolute;
	width: 23%;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
header .h_web .com_web_style {
	width: 96%;
    max-width: 154px;
	padding-left: 4%;
	padding-bottom: .6em;
	transition: all .5s;
	overflow: hidden;
}
header .h_web .com_web_style::before {
	position: absolute;
	content: "";
	background-color: #FFF;
	width: 100%;
	height: 1px;
	left: 0;
	bottom: 0;
}
header .h_web .com_arrow2 {
	bottom: .5em;
}
header .h_web .h_web_txt {
	width: 84%;
    margin: .7em auto 0;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {

header {
    padding-top: 2%;
}
header .h_left {
	margin-top: .5em;
}
header .h_left .h_logo span {
    margin-bottom: .6em;
}
header .h_right {
	width: 60%;
}
header h1 {
	letter-spacing: .1em;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 768px) {

header {
	padding: 3% 3% 0;
}
header .h_inbox {
	display: block;
}
header .h_left {
	width: 65%;
	margin-top: 0;
}
header .h_left .h_logo {
	margin-bottom: .6em;
}
header .h_left .h_logo span {
	margin-bottom: .4em;
}
header .h_contact {
	display: none !important;
}
header h1 {
	font-size: 65%;
	letter-spacing: normal;
}
.spnone {
  display: none;
}

}
/*------------------- メニュー -------------------*/
/* 最初は通常の位置に */
.nav {
  width: 100%;
  background: #fff;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  padding: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; /* 最初は relative */
  transition: all 0.3s ease-in-out;
  z-index: 10;
}

/* 固定されるときのスタイル */
.nav.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); */
  background: #ffffff;
  transition: all 0.3s ease-in-out;
  z-index: 15;
}


/* メニューリスト */
.nav-list {
  display: flex;
  justify-content: space-around;
  width: 100%;
  max-width: 1200px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* メニュー項目 */
.nav-item {
  position: relative;
}

/* メニューリンク */
.nav-item a {
  text-decoration: none;
  color: #666;
  font-size: 16px;
  font-weight: bold;
  padding: 15px 20px;
  display: block;
  position: relative;
  transition: color 0.3s ease;
}

/* ホバー時のエフェクト（下線アニメーション） */
.nav-item a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 0;
  height: 2px;
  background: #938068;
  transition: all 0.3s ease-out;
  transform: translateX(-50%);
}

.nav-item a:hover::after {
  width: 100%;
}

.nav-item a:hover {
  color: #b19768;
}

/* プルダウンメニュー */
.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* プルダウンメニュー項目 */
.dropdown li {
  padding: 12px 20px;
}

.dropdown li a {
  text-decoration: none;
  color: #666;
  display: block;
  font-size: 14px;
  transition: background 0.3s ease, padding-left 0.3s ease;
}

.dropdown li a:hover {
  background: #f4f4f4;
  padding-left: 25px;
}

/* ホバー時にプルダウンを表示 */
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  z-index: 1;
}

/* ハンバーガーメニュー（スマホ対応） */
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
  .nav {
      justify-content: space-between;
      padding: 10px 0;
  }

  .nav-list {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 50px;
      left: 0;
      width: 100%;
      background: rgba(255, 255, 255, 0.95);
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

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

  .nav-item {
      text-align: center;
  }

  .nav-item a {
      display: block;
      padding: 15px;
      width: 100%;
  }

  .has-dropdown .dropdown {
      position: static;
      box-shadow: none;
      background: none;
      display: none;
  }

  .has-dropdown:hover .dropdown {
      display: block;
  }

  .menu-toggle {
      display: block;
  }
}
.nav-item a.active {
  color: #333333; /* テキスト色 */
  background-color: rgba(74, 144, 226, 0.1); /* 薄いブルーの背景色 */
  border-radius: 50%; /* 円形にする */
  padding: 10px; /* 上下左右に均等なパディング */
  display: inline-flex; /* flexを使用して中央揃えを容易に */
  justify-content: center; /* 横軸中央揃え */
  align-items: center; /* 縦軸中央揃え */
  min-width: 30px; /* 最小幅を指定 */
  height: 30px; /* 高さを指定 */
  transition: background-color 0.3s ease; /* 背景色の変化にトランジションを適用 */
  text-align: center; /* テキストを中央揃えに */
  white-space: nowrap; /* テキストを折り返さない */
}

.nav-item a.active:hover {
  background-color: rgba(74, 144, 226, 0.2); /* ホバー時に背景色を少し濃くする */
}


/*------------------- ファーストビューブロック -------------------*/


/* キャッチコピー */
.text-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  z-index: 4;
  top: 40%;
}

.size3rem {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.5;
  color: #775c2c;
  /* text-shadow: 1px 1px 6px rgba(255, 255, 255, 0.6), 0 0 10px rgba(204, 183, 115, 0.2); */
  /* text-shadow: 1px 1px 6px rgba(255, 255, 255, 0.6), 0 0 10px #d5892e; */
  margin-bottom: 25px;
}

.bgwrap {
  position: relative;
  display: inline-block;
  padding: 0.3em 0.8em;
  background: linear-gradient(to right, rgb(255, 255, 255), rgb(250, 243, 220));
  box-shadow: 0 4px 20px rgba(255, 215, 115, 0.2);
  backdrop-filter: blur(4px);
}

.size1-5rem {
  font-size: 1.25rem;
  color: #5c4a1f;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.catchhighlight {
  background: linear-gradient(90deg, #d6b161, #f8e5ab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-shadow: 0 0 8px rgb(123 100 33 / 40%);
    font-size: 64px;
}

/* 数字 */
.appeal {
  padding: 0 45px;
  margin: 50px 0;
  display: flex;
}
.appeal dl {
  display: grid;
  grid-template-columns: 10em 1fr;
  align-items: end;
  border-bottom: 2px solid #ffe7a2;
  width: 34.7em;
  margin: 0 1em 1.6em;
  color: #69492a;
}

.appeal dt {
  background: linear-gradient(135deg, #f1e0b5 20%, #f5e2a1 80%);
  text-align: center;
    font-size: 20px;
    line-height: 1.2;
    padding: 1em 1px;
}

.appeal i {
  font-size: 64%;
  display: block;
}

.appeal dd {
  font-size: 130%;
  padding: 0 0 0 0.4em;
  display: flex; /* これでdd内の要素を横並びにする */
  align-items: center; /* 上下の整列 */
}

.appeal dl dd em {
  margin: 0 0.2em 0.2em;
}

.appeal dd em {
  font-size: 240%;
  color: #d9c173;
  letter-spacing: -0.06em;
  line-height: 1;
  display: inline-block;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2), 0 0 25px rgba(255, 255, 255, 0.6); /* テキストシャドウ */
}

.txt80 {
  font-size: 80%;
}

/* 追加 */
.main-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-image: url(../ext/themes/cure_tcd082/images/main.png);
  background-size: cover;
  background-position: center;
}
.implant-block {
  display: flex;
  align-items: center;
  padding: 3rem;
	font-family: 'Noto Serif JP', serif;
}

.implant-text p {
  font-size: 3.6rem;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  color: #b15062;
}

.diagnosis-team {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}
.diagnosis {
  margin-right: -30px;
}
.team {
  margin-left: -30px;
}

.diagnosis, .team {
  background-color: #a48d8d;
    color: #fff;
    padding: 0.5rem 3.5rem;
    border-radius: 4px;
    font-size: 2.3rem;
	font-family: 'Noto Serif JP', serif;
}

.cross {
  color: #d36666;
  font-size: 5.5rem;
  z-index: 1;
}

.implant-points {
  list-style: none;
  padding-left: 0;
  margin-top: 25px;
}

.implant-points li {
  margin-bottom: 1rem;
  font-size: 2rem;
  background: #fef5f7;
  padding: 0.8rem 1rem;
  border-radius: 5px;
}

.pink {
  color: #e1497b;
  font-weight: bold;
}



@media screen and (max-width: 768px) {
  .size3rem {
    font-size: 2rem;
  }
  .size1-5rem {
    font-size: 1rem;
  }
}

.white {
  color: white;
}
.tel {
  font-size: 30px;
  color: #363636;
}
/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
}


/*矢印、リンク
---------------------------------------------------------*/

.custom-button {
  display: inline-flex;
  align-items: center;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.button-text {
  font-size: 16px;
  color: #666;
  margin-right: 10px;
}

.circlebtn {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #e5d8c2;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.arrow {
  position: relative;
  width: 70%;
  height: 0.5px;
  background-color: #938068;
  transition: transform 0.3s ease;
}

.arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid #938068;
  border-right: 1px solid #938068;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s ease;
}

.custom-button:hover .arrow {
  transform: translateX(3px);
}

.custom-button:hover .arrow::after {
  transform: translateY(-50%) rotate(45deg) translateX(1px);
}

/*-------------------------------------- 対比ブロック --------------------------------------*/
.warranty-banner {
  position: relative;
  overflow: hidden;
}

.warranty-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 20px;
  gap: 20px; 
}

.warranty-left,
.warranty-right {
  width: 50%;
  background: #ffffff;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); 
  border: 1px solid #69492a;
  position: relative;
}

.warranty-title {
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  padding: 15px 0;
}
.warrantyspan {
  font-size: 25px;
  font-weight: normal;
}

.warranty-title p {
  font-size: 30px;
  font-weight: bold;
  padding: 15px 0;
}

.warranty-body {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
  gap: 20px;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.05) 0,
    rgba(0, 0, 0, 0.05) 1px,
    transparent 1px,
    transparent 6px
  );
}

.warranty-text {
  text-align: left;
  font-size: 16px;
  line-height: 1.8;
}



.paynumber {
  color: #977c4c;
  font-size: 22px;
  font-weight: bold;
}

.warranty-image img {
  max-width: 300px;
  height: auto;
  position: absolute;
  top: 50px;
  right: -46px;
  z-index: 3;
}

/* リボン中央 */
.warranty-center-ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-10deg);
  background: linear-gradient(135deg, #C5B35A, #BFA250);
  color: #fff;
  font-size: 22px;
  padding: 10px 40px;
  z-index: 2;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  font-family: 'Noto Serif JP', serif;
}

/*-------------------------------------- 対比ブロック --------------------------------------*/
/*-------------------------------------- 特徴ブロック --------------------------------------*/
.leading-clinic {
    font-family: 'Noto Serif JP', serif;
  color: #f2f2f2;
  background-image: url(../ext/themes/cure_tcd082/images/featureimg.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 3.6em 0 0;
  overflow: hidden;
  min-height: 100vh;
}

.hero {
  position: relative;
  width: 100%;
  height: 487px;
  overflow: hidden;
}

.hero-text {
  margin: 50px 0;
  padding: 0 50px;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  gap: 20px;
}

.hero-text h2 {
  font-size: max(1.786vw,23px);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #5b4633;
  text-align: center;
}
.hero-overlay .pttl {
  line-height: 1.3;
  text-align: center;
  font-size: max(2.8vw, 28px);
  letter-spacing: .08em;
  font-feature-settings: "palt";
}

span.pttlbaio {
  color: #b57171;
}
span.pttlpro {
  background: linear-gradient(180deg, transparent 70%, #d1919185 70%);
}

.hero-text {
  flex: 1;
}

.nomalverticalout {
  display: flex;
  justify-content: center;
  margin: max(2.5vw, 32px) max(8.357vw, 108px) 0 max(8.714vw, 113px);
  padding: max(1.071vw, 13px) 0 max(.857vw, 11px);
  background-color: rgba(255, 255, 255, .9);
}

.nomalverticaloutli p {
  line-height: 2;
  padding-left: max(2.857vw, 40px);
  font-size: max(1.934vw, 25px);
  letter-spacing: .08em;
  font-feature-settings: "palt";
  background: url(https://www.all-on-4-dc.com/wp-content/themes/humanity/images/common/icon_Check02.png) no-repeat left center;
  background-size: max(2.036vw, 26px) auto;
}

p.nomalvertical-text {
  font-size: 2rem;
  text-align: start;
  color: #fff;
  line-height: 2;
  flex-shrink: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  padding: 0 50px;
}

.nomalvertical-text span {
  color: #f0e68c;
  font-weight: bold;
  font-size: 3rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7); /* ← 強めに追加 */
}

.clinic-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-content: center;
  padding: 50px 20px;
  color: #4b3b2b;
  width: 94%;
  /* max-width: 1200px; */
  margin: 0 auto;
}

.point {
  position: relative;
  background: #ede0e0;
  padding: 20px;
  border: 1px solid #E8CAC9;
    text-align: center;
    box-shadow: 0 4px 10px rgba(201, 167, 99, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.point:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(201, 167, 99, 0.3);
}

.point img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #e8d9c1;
}

.point h3 {
  position: absolute;
  top: 225px;
  right: -2px;
  font-size: 17px;
  box-shadow: 4px 4px 4px rgba(184, 169, 142, .25);
  padding: .1em 2em .1em .1em;
  background-color: #dbb1b0;
  background-repeat: no-repeat;
  background-size: 10px auto;
  background-position: calc(100% - .5em) 50%;
  background-image: url(https://m-dental.net/wp-content/themes/humanity/images/top/afap_arrow.png);
  color: #473a34;
}

.point .gold {
  color: #6b1212;
  font-size: 20px;
  margin: 0 5px;
}

.point p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #5b4633;
}

@media (max-width: 768px) {
  .hero-text {
    flex-direction: column;
  }
  .clinic-points {
    flex-direction: column;
    align-items: center;
  }
  .hero-overlay {
    flex-direction: column;
    align-items: flex-start;
  }
  .nomalvertical-text {
    writing-mode: horizontal-tb;
    text-align: left;
  }
}
/* タブレット用（768px〜1024px） */
@media (max-width: 1024px) {
  .leading-clinic {
    background-position: center top;
    background-size: cover;
  }
}

/* スマホ用（〜767px） */
@media (max-width: 767px) {
  .leading-clinic {
    background-image: url(../ext/themes/cure_tcd082/images/equipmentbg_sp.png); /* モバイル専用画像があれば */
    background-size: cover;
    background-position: center top;
    min-height: auto; /* コンテンツ量で高さ自動調整 */
    padding-top: 80px; /* 上部に余白が必要なら */
  }
}
/*-------------------------------------- 特徴ブロックここまで --------------------------------------*/
/*------------------------------------- 歯科医を選ぶために --------------------------------------*/


.treatment-section {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 60px 0;
}

/* 背景画像 */
.pink-bg::before,
.green-bg::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 60%;
  z-index: 0;
  opacity: 0.15;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom right;
  pointer-events: none;
}

/* 実際の背景画像を使用（アップロードした画像） */
.green-bg::before {
  background-image: url(../ext/themes/cure_tcd082/css/1bf0b04a-3553-4cfa-b2ba-c62e8f9f8ada.png);
}

/* 仮のピンク背景（斜線風のストライプ） */
.treatment-card::before {
  background-image: repeating-linear-gradient(
    45deg,
    #f2dede,
    #f2dede 2px,
    transparent 2px,
    transparent 4px
  );
}

/* 位置修正 */

.treatment-card {
  width: 100%;
  background-color: #fff;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  flex: 1 1 45%;
  max-width: 48%;
}

.card-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding: 30px;
  position: relative;
  z-index: 1;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom right;
}

/* それぞれの背景画像を指定 */
.bg-1 {
	background-image: url('https://sakurashika-clinic.jp/wp-content/uploads/2025/07/bg-inner1.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom right;
}
.bg-2 {
  background-image: url('https://sakurashika-clinic.jp/wp-content/uploads/2025/07/bg-inner2.png');
  background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom right;
}

.card-inner .number {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fce4ec;
  position: absolute;
  top: min(-4.286vw, -56px);
  left: 50%;
  transform: translateX(-50%);
  font-size: max(7.714vw, 100px);
  line-height: 1;
  mix-blend-mode: multiply;
}

.bg-inner2 .number {
  color: #e0f2f1;
}


.card-inner h3 {
	font-size: 2rem;
	color: #4b3b2b;
	text-align: center;
	padding: 35px 0;
	font-weight:normal;
}

.bg-inner1 h3 span {
  font-size: 2.5rem;
  color: #fc98b9;
}

.bg-inner2 h3 span {
  font-size: 2.5rem;
  color: #7ddfda;
}

.title {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.image img {
  width: 100%;
  margin-bottom: 20px;
}

.description {
  /* font-size: 14px; */
  line-height: 1.8;
  /* color: #333; */
  margin-bottom: 20px;
}
.description span {
  font-size: 20px;
  font-weight: 700;
}
.bg-inner1 .description span {
  color: #c05a6d;
}
.bg-inner1 .description em {
  border-bottom: 1px solid #b15062;
}
.bg-inner2 .description span {
  color: #5aa3c0;
}
.bg-inner2 .description em {
  border-bottom: 1px solid #5aa3c0;
}



.read-more {
  text-align: right;
  font-size: 12px;
  color: #888;
  padding-top: 10px;
  margin: 20px;
}

.read-more a {
  display: inline-block;
  font-size: 14px;
  color: #775c2c;
  background-color: #ffffff;
  border: 1px solid #4b3b2b;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.bg-1 .read-more a:hover {
  background-color: #f0e3e7; /* 少し濃いめのピンク */
}
.bg-2 .read-more a:hover {
  background-color: #e0f2f1;
}


.read-more a::after {
  content: ' →';
}


/*------------------------------------- 歯科医を選ぶために --------------------------------------*/


/*-------------------------------------- オールオンフォーブロック --------------------------------------*/
.allon4-section {
  background-repeat: repeat;
  background-size: 200px auto;
  padding: 60px 20px;
  /* border: 1px solid #ddd; */
  font-family: 'Noto Serif JP', serif;
}

.allon4-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.allon4box {
  background: #fff;
  padding: 40px 30px;
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.1), /* 基本の影 */
    0 8px 16px rgba(0, 0, 0, 0.05); /* 広がりと柔らかさ */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.allon4flex {
  display: flex;
  position: relative;
}
.allon4-heading {
  text-align: left;
  margin-bottom: 40px;
  width: 70%;
}
/* h2 デザイン */
.allon4-main-title {
  font-size: max(3.274vw, 42px);
  /* font-weight: 600; */
  color: #69492a;
  line-height: 1.4;
  margin-bottom: 15px;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6);
  position: relative;
  text-align: center;
  margin: 30px 0;
}
.ttlallon4 {
  font-size: 58px;
  font-weight: 600;
}
.gold-underline {
  background: linear-gradient(180deg, transparent 70%, #f2e2a2 70%);
}
.linebr {
  background: linear-gradient(180deg, transparent 70%, #a4866540 70%);
}
/* h3　デザイン */
.allon4-sub-title {
  position: relative;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 600;
  color: #938068;
  margin-bottom: 30px;
  font-family: 'Noto Serif JP', serif;
}

.allon4-sub-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30%;
  height: 3px;
  background: linear-gradient(to right, #bfa250, #f2e8c4);
  border-radius: 2px;
}

.allon4-heading .lead {
  font-size: 1.4rem;
  line-height: 1.8;
}

.allon4-heading .highlight {
  color: #bfa250;
  font-weight: bold;
  font-size: 1.2em;
}

.rightpx {
  margin-left: 10px;
}
.allon4-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}
.allon4flex .pc img {
  width: 29%;
  position: absolute;
  top: -74px;
  right: -3px;
}


.allon4-description {
  flex: 1 1 60%;
  font-size: 1rem;
  line-height: 1.9;
  background: #f2eee1;
  padding: 40px;
}

.allon4-description .underline {
  text-decoration: none;
  border-bottom: 2px solid #f7d226;
}
/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */

@media (max-width: 768px) {
  .allon4box {
    padding: 40px 10px;
  }
  .allon4flex {
  }
  .allon4-heading h2 {
    font-size: 1.5rem;
  }
  .allon4-heading .lead {
    font-size: 1.2rem;
  }
  .allon4-description {
    font-size: 0.95rem;
    padding: 40px 15px;
  }
  .allon4-heading {
    width: 100%;
  }
}

/*-------------------------------------- オールオンフォーブロックここまで --------------------------------------*/

/*-------------------------------------- 症例ブロック --------------------------------------*/
.case-slider {
  /* background-image: url(../ext/themes/cure_tcd082/images/casebg.jpg);  */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
  padding: 60px 0;
  margin: 0 auto;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgb(246 234 242 / 90%) 20%, /* #eaf0f6（明るめ）*/ rgb(250 245 248 / 90%) 80%, /* #f5f7fa（ほぼ白）*/ rgba(255, 255, 255, 1) 100%);
}
.case-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  z-index: 1;
}
.case-slider::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  z-index: 1;
}
.case-slider > * {
  position: relative;
  z-index: 2;
}

.case-inner {
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}
/* 見出し */
.case-header {
  text-align: center;
  padding: 60px 20px;
  font-family: 'Noto Serif JP', serif;
  color: #5b4633;
}

.case-main {
  font-size: max(2.274vw, 40px);
  line-height: 1.2;
  font-weight: 400;
}
.case-main .mini {
  font-size: 25px;
}

.case-main .gold {
  font-size: 2.5rem;
  letter-spacing: 0.03em;
}


.case-main .highlight-line {
  display: inline-block;
  position: relative;
  font-size: 3.5rem;
  margin-top: 10px;
  background: linear-gradient(135deg, #d398a3, #e6b7c3, #f4d9e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}




/* カルーセルブロック */
.case-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.case-carousel::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -30px;
  right: -30px;
  bottom: -20px;
  /* background: rgba(255, 255, 255, 0.8);  */
  border-radius: 16px;
	z-index: -1;
}

.case-carousel-track {
  display: flex;
  transition: transform 0.7s ease-out;
  width: 100%;
}

.case-carousel-slide {
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-width: 100%;
  box-sizing: border-box;
}

.case-slide {
  display: flex;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
	margin: 20px;
}

.case-image-area {
  width: 40%;
  position: relative;
  overflow: hidden;
  padding: 15px;
}

.case-image-area img {
  width: 100%;
  height: 100%;
  display: block;
}

.case-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px 15px;
  font-size: 14px;
}

.case-tag {
  font-size: 14px;
  margin-bottom: 4px;
  color: #fff;
}

.case-cta {
  font-size: 12px;
  opacity: 0.8;
  color: #fff;
}

.case-info {
  width: 100%;
  padding: 15px;
}

.case-bfafp {
  max-width: 873px;
  margin: 0 auto;
  padding: 12px;
}
p.case-heading {
  background: #cd8490;
  color: #fff;
  padding: 5px;
  margin: 5px 0;
}

.case-text {
  background: #f9eff5;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-bottom: 12px;
  padding: 5px;
}

.case-before-after {
  display: flex;
  justify-content: center;
  /* gap: 10px; */
  max-width: 873px;
  margin: 0 auto;
}
.arrow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #b7486b;
  padding: 0 5px;
  font-weight: bold;
}
.case-before-after p {
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  /* color: #fff; */
  background-color: #ffffff;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  width: 80px;
  margin: 5px auto 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.beforediv,
.afterdiv {
  position: relative;
}
p.before,
p.after {
  position: absolute;
  top: 0;
}

.case-before-after img {
  border-radius: 4px;
  max-width: 100%;
  margin: 0 auto;
}

/* ナビ */
.case-carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  box-sizing: border-box;
  pointer-events: none;
}

.case-carousel-nav button {
  background: #bbbbbba1;
  color: #fff;
  border: none;
  font-size: 29px;
  padding: 14px;
  border-radius: 41px;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.3s ease, transform 0.3s ease;
  line-height: 1;
}

.case-carousel-nav button:hover {
  background: #c9995c85;
  transform: scale(1.1);
}

.case-carousel-nav .dott {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.dott span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.dott span.active {
  background: #977c4c;
  transform: scale(1.2);
}
.carousel-dots-wrapper {
  text-align: center;
  margin-top: 20px;
}

.casebutton {
  margin: 20px 0;
}
/* .casebutton .button-text {
	color:#fff;
} */


/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
  .case-inner {
    flex-direction: column;
    padding: 0 15px;
    gap: 30px;
  }

  .case-title-area,
  .case-carousel {
    width: 100%;
  }

  .case-carousel-slide {
    gap: 0;
  }

  .case-slide {
    padding: 12px;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #fff;
  }

  .case-image-area {
    width: 40%;
    padding: 10px;
  }

  .case-image-area img {
    width: 100%;
    height: 100px;
    object-fit: cover;
  }

  .case-overlay {
    font-size: 12px;
    padding: 6px 10px;
  }

  .case-info {
    padding: 10px;
  }

  .case-heading {
    font-size: 15px;
    margin-bottom: 5px;
  }

  .case-text {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .case-before-after {
    gap: 6px;
    flex-direction: row;
  }

  .case-before-after img {
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
  }

  .case-before-after p {
    font-size: 10px;
    margin-bottom: 3px;
  }

  .case-carousel-nav {
    top: auto;
    bottom: 45%;
    transform: translateY(50%);
    padding: 0 10px;
  }

  .carousel-dots-wrapper {
    margin-top: 12px;
  }
}

/*------------------------------------- 症例ここまで --------------------------------------*/


/*------------------------------------- 特徴キャッチコピーブロック --------------------------------------*/
.flex {
  display: flex;
}
.catchout {
  padding: 15px;
  border: 1px solid #666;
}
.leftbox, .rightbox {
  width: 40%;
  margin: auto;
}
.featureimg {
  margin: 0 auto;
}
.rightbox {
  padding: 50px;
  width: 80%;
}
/* 見出し */
h2.catchh2 {
  font-size: 25px;
}
.catchh2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5em;
}

.catchh2::before {
  content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #c1a753, #e0c269);
    border-radius: 2px;
}
.catchh2 span {
  background: linear-gradient(90deg, #c1a753 0%, #e0c269 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}
/* タグ */
.badge-list {
  display: flex;
  gap: 1.5em;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.badge {
  display: inline-block;
  background: linear-gradient(135deg, #c2a95c, #a6883e);
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  padding: 0.5em 1.3em;
  border-radius: 30px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  letter-spacing: 0.05em;
  margin: 10px 0;
}

.intro_section {
  width: 64%;
  max-width: 762px;
  line-height: 1;
  white-space: nowrap;
  margin: 0 auto 30px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-style: normal;
}

.intro_section p {
  position: relative;
  text-align: center;
  line-height: 1.8;
}

.intro_section p:last-of-type {
  font-size: 35px;
  line-height: 1.4;
}

.intro_section img {
  position: relative;
  width: 35%;
  display: inline-block;
  transform: translate(-1em, 0.5em);
  transition: all 1s;
  opacity: 0;
}

.intro_section img.animation_on {
  transform: translate(0, 0);
  opacity: 1;
}

.intro_section img.effect_txt2 {
  width: 33%;
  transition-delay: 0.5s;
}
/* 文字 */
.text_container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-family: 'Noto Serif JP', serif;
  font-size: 3rem;
  line-height: 1.5;
}

/* 背景 */
.catch {
  background: radial-gradient(circle, #fff 20%, #f0f0f0 80%);
  padding: 100px 0;
  position: relative; /* セクションを基準にする */
  z-index: 0;
}
.catch .catchcopy {
  position: absolute;
  top: 0;
  /* left: calc(-50vw + 45rem); */
  z-index: -1;
}
picture.catchcopy.sp {
  display: none;
}
/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .featurep {
    padding: 0 50px;
  }
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
  /* 見出し */
  .intro_section p:last-of-type{
    font-size: 25px;
  }
  .text_container p  {
    font-size: 25px;
  }
  .flex {
    display: block;
  }
  .leftbox, .rightbox {
    width: 100%;
  }
  .featurep {
    padding: 10px;
  }
  
  .catch .catchcopy {
      left: 0;
      top: 0;
  }

  .catchn .catchcopy img {
      width: 100vw;
  }
}
/* 基本スタイル */
.carouselbox {
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 1s ease-in-out;
}

.carousel-track img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
}

/* 画像がフェードインするアニメーション */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* 画像のスライドアニメーション */
@keyframes slideShow {
  0% { transform: translateX(0); }
  20% { transform: translateX(-100%); }
  40% { transform: translateX(-200%); }
  60% { transform: translateX(-300%); }
  80% { transform: translateX(-400%); }
  100% { transform: translateX(0); }
}

/* トラックがスライドする */
.carousel-track {
  animation: slideShow 15s infinite;
}


/*-------------------------------------- 特徴ブロック --------------------------------------*/

/* ---------title部分--------- */
.feature {
  /* display: flex; */
  justify-content: center;
  align-items: center;
  padding-bottom: 0;
}

.title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  font-family: "Noto Serif JP", serif;
  font-size: 2rem; 
}
.title-container::after {
  content: "Point"; 
  font-family: 'Great Vibes', cursive;
  font-size: 10rem;
  color: rgba(70, 130, 180, 0.2);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}


/* 左側のテキスト */
.ttleleft {
  color: #666;
  line-height: 1.6;
}



/* 背景の装飾テキスト */
.script-text {
  font-family: 'Great Vibes', cursive;
  font-size: 10rem;
  color: rgba(70, 130, 180, 0.2);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

/* 数字と特徴のセット */
.number-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* 「つの特徴」部分 */
.horizontal {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #666;
}


/* ---------コンテンツ部分--------- */
.featurebox {
  position: relative;
  padding-top: 50px;
  margin-bottom: 30px;
  /* height: 350px; */
}

.featurebox::before {
  position: absolute;
  content: "";
  width: 50%;
  height: 100%;
  top: 0;
  z-index: -1;
}

.feature-box1::before,
.feature-box3::before{
  right: 0;
}
.feature-box2::before {
  left: 0;
}
.feature-box1::before {
  background: url(../ext/themes/cure_tcd082/images/bg1.png) no-repeat right top;
  background-size: 100% auto;
}
.feature-box2::before {
  background: url(../ext/themes/cure_tcd082/images/bg2.png) no-repeat right top;
  background-size: 100% auto;
}
.feature-box3::before {
  background: url(../ext/themes/cure_tcd082/images/bg2-3.png) no-repeat right top;
  background-size: 100% auto;
}
.feature-box2 {
  position: relative;
  background: url(../ext/themes/cure_tcd082/images/bg2-2.png) no-repeat right bottom;
  background-size: 55% auto;
  padding-bottom: 230px;
  /* margin-bottom: 80px; */
}

.container {
  width: 94%;
  padding: 0 3%;
  max-width: 1300px;
  margin: 0 auto;
  min-width: 100%;
  height: 400px;
}

/* 一つ目のコンテンツ */
.feature-box1 .feature-content {
  width: 60%;
  padding-left: 6%;
  margin-bottom: 70px;
}

/* 二つ目のコンテンツ（さらに右寄せ） */
.feature-box2 .container {
    display: flex;
    justify-content: flex-end; /* コンテンツを右側に寄せる */
    max-width: 1100px; /* 最大幅を少し狭くする */
    margin-left: auto; /* 左側の余白を増やして、右側に寄せる */
}
/* 三つ目のコンテンツ（さらに右寄せ） */
.feature-box3 .feature-content {
  width: 60%;
  padding-left: 6%;
  margin-bottom: 70px;
}

.feature-box2 .feature-content {
    width: 60%; 
    text-align: left;
}

/* feature-content 内の背景数字（デフォルト：左下） */
.feature-content::before {
  content: attr(data-number);
  position: absolute;
  font-size: 150px;
  color: #4da1d11f;
  font-weight: bold;
  z-index: -1;
}

/* 1つ目と3つ目（左下） */
.feature-box1 .feature-content::before {
  left: 10%;
  bottom: 0;
  transform: translate(-10%, 30%);
}

/* 2つ目（右下） */
.feature-box2 .feature-content::before {
  right: 10%;
  bottom: 200px;
  transform: translate(10%, 30%);
  z-index: 2;
}
/* 3つ目（右下） */
.feature-box3 .feature-content::before {
  left: 10%;
  bottom: 0;
  transform: translate(-10%, 30%);
}


/* タイトル・番号 */
span.feature-number {
  font-size: 35px;
  padding-right: 5px;
}

.feature-title {
  position: relative;
  color: #4682B4;
  font-size: 20px;
  line-height: 1;
  margin-bottom: 15px;
}

.feature-subtitle {
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: .1em;
}
/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .featurebox {
    height: auto;
  }
  .featurebox::before {
    top: 24%;
  }
  .feature-box2 {
    padding-bottom: 85px;
  }
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
  .mfs13 {
    font-size: 13px;
  }
  .mfs40 {
    font-size: 40px;
  }
  .number {
    font-size: 4rem;
  }
  .title-container {
    font-size: 0;
  }
  .feature-box1 .feature-content {
    width: 100%;
    padding: 0;
  }
  .feature-box1::before {
    left: 0;
    width: 90%;
  }
  /* 選ばれる理由2つ目 */
  .feature-box2 .container {
    display: block;
  }
  .feature-box2 .feature-content {
    width: 100%;
  }
  .feature-box2 {
    padding: 0;
  }
    /* 選ばれる理由3つ目 */
    .featurebox {
      height: auto;
    }
    .feature-box3 .feature-content {
      width: 100%;
      padding-left: 0;
    }
  }

/*-------------------------------------- 選ばれる理由ブロック --------------------------------------*/

/* --------- タイトル部分 --------- */
.top50 {
  top: 50px;
}
.reasonttl {
line-height: 1.2;
color: #666;
}

.readonnumber {
  color: #6d92d0;
  text-shadow: 2px 4px 3px rgb(126 126 126 / 30%);
}
.txcenter {
  position: relative; 
}

/* .reasonttl::after {
  content: "Reason"; 
  font-family: 'Great Vibes', cursive;
  font-size: 10rem; 
  color: rgba(70, 130, 180, 0.2);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  white-space: nowrap;
} */

.reason {
  position: relative;
  /* margin-top: max(8.929vw, 116px); */
  padding: max(6.571vw, 85px) 0 0;
  background-image: url(../ext/themes/cure_tcd082/images/bg3.png);
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
  /* aspect-ratio: 1400 / 1086; */
}

.reason::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 120px; /* さらに短く */
  background: linear-gradient(
      to bottom, 
      #DAE6F8 0%, 
      #E4ECFA 40%, 
      #EFF4FD 70%, 
      rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none;
  z-index: -2;
}


/* --------- コンテンツ部分 --------- */
.team-section {
  background: url(../ext/themes/cure_tcd082/images/setumei.png) no-repeat top right 4.571% / max(57.071vw, 741.927px);
  margin-bottom: max(7.143vw, 92.857px);
}

.team-title {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  row-gap: max(.786vw, 10.214px);
  margin-bottom: max(2.214vw, 28.786px);
margin-top:120px;
font-family:Noto Serif JP;
}
.team-title h2 {
  padding: 0 .5em;
}

.team-title h2 {
  font-size: max(3.276vw,42.584px);
  line-height: 1.1em;
  height: 1.35em;
  color: #fff;
  display: inline-flex;
  align-items: flex-end;
  background: url(../ext/themes/cure_tcd082/images/image_with_92B9AA_and_729889_stripes.png) repeat top left / max(.429vw, 5.571px);
  letter-spacing: .06em;
}
.team-title p {
  font-size: max(3.276vw,42.584px);
  line-height: 1.1em;
  height: 1.35em;
  color: #fff;
  display: inline-flex;
  align-items: flex-end;
  background: url(../ext/themes/cure_tcd082/images/image_with_92B9AA_and_729889_stripes.png) repeat top left / max(.429vw, 5.571px);
  letter-spacing: .06em;
}

.team-cont {
  /* background: linear-gradient(to top, #fff 15%, transparent 15%), url(../ext/themes/cure_tcd082/images/dot.png) repeat top left / max(.571vw, 7.429px);
  padding: max(2.143vw, 27.857px) 0 0; */
  margin-top: 90px;
}
.team-item-list {
  display: flex;
  justify-content: center;
  column-gap: max(3.714vw, 48.286px);
}
.team-item {
  width: max(25.000vw, 325.000px);
  aspect-ratio: 350 / 400;
  background: #fff;
  box-shadow: 0px 4px 7px 0px rgba(67, 67, 67, .16);
  position: relative;
  padding: max(1.714vw, 22.286px) max(3vw, 39.000px);
  box-sizing: border-box;
}
.team-num {
  display: block;
  width: max(3.929vw, 51.071px);
  position: absolute;
  top: -1.25%;
  left: 4.857%;
  mix-blend-mode: multiply;
}
.team-num img {
width: 110px;
}
.team-category {
  text-align: center;
line-height: 1.3em;
  font-size: max(1.786vw,23.224px);
  margin-bottom: .25em;
  letter-spacing: .08em;
}
.team-item figure {
  margin-bottom: max(1.214vw, 15.786px);
}
ol, ul { list-style: none; }
.team-item:after {
  content: \"\";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 18px 18px;
  border-color: transparent transparent #acacac;
  position: absolute;
  bottom: 7px;
  right: 7px;
}
.team-item01 h3 .team-en { color: #add9e2; }
.team-category .team-en {
  display: block;
  line-height: 1.17em;
  font-size: 62%; /* サイズはそのまま */
  text-align: center; /* 中央揃え */
  margin-top: 0.2em; /* 日本語との間隔を調整 */
  color: #add9e2; /* 色は既存のものを維持 */
}
.team-txt62 { font-size: 62%; }
.team-txt-list li {
font-size: 15px;
line-height: 2;
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */

.team-item01 li .team-underline,
.team-item02 li .team-underline,
.team-item03 li .team-underline{ border-bottom: 2px solid #add9e2; }
.team-item li .team-underline { text-decoration: none; }
@media (min-width: 768px) and (max-width: 1050px) {
.team-title h2,
.team-title p{
  font-size: 25px;
}
.team-num img {
  width: 60px;
}
}


/*-------------------------------------- CV --------------------------------------*/
.cv-block {
  background: #fff0f5;
  padding: 60px 20px;
}

.cv-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 960px;
  margin: 0 auto;
}

.cv-box {
  background: #fff;
  padding: 25px 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  flex: 1 1 300px;
  text-decoration: none;
  color: #5c3a3a;
  transition: transform 0.3s ease;
}

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

.cv-box.tel {
  border: 2px solid #e6b8b8;
}

.cv-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.cv-phone {
  font-size: 1.6rem;
  font-weight: bold;
  color: #c05a6d;
}

.cv-phone i {
  margin-right: 10px;
  color: #c05a6d;
}

.cv-box.web {
  background: #c05a6d;
  color: #fff;
  position: relative;
}

.cv-box.web::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  border-style: solid;
  border-width: 0 0 30px 30px;
  border-color: transparent transparent #fff transparent;
}

.cv-box .small {
  font-size: 0.9rem;
  margin-bottom: 5px;
  font-weight: 500;
}

.cv-box .small i {
  margin-right: 8px;
  color: #fff;
}

.cv-web-main {
  font-size: 1.8rem;
  font-weight: bold;
}

.cv-web-main i {
  margin-right: 10px;
}

.cv-note {
  font-size: 0.85rem;
  margin-top: 10px;
}


/*-------------------------------------- CV --------------------------------------*/

/*-------------------------------------- ピックアップブロック --------------------------------------*/

/* 見出し */
.picuph2 {
  font-size: 50px;
  font-weight: normal;
  text-align: center;
}

.colgr {
  color: #666;
}

.picuph2 .highlight {
  font-size: 27px;
  color: #b19768;
  text-shadow: 2px 4px 3px rgb(126 126 126 / 30%);
}

.underline {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.dots,
.dots1 {
  position: relative;
}
.dots1::before{
  content: "・・";
    position: absolute;
    top: -40px;
    left: 52%;
    transform: translateX(-50%);
    font-size: 50px;
    letter-spacing: 4px;
    color: #6d92d0;
}
.dots::before {
  content: "・・・・";
    position: absolute;
    top: -40px;
    left: 52%;
    transform: translateX(-50%);
    font-size: 50px;
    letter-spacing: 4px;
    color: #6d92d0;
}


.flex_box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  background-color: #fff;
  position: relative;
  border-radius: 10px;
}
.flex_box2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  background-color: #fff;
  position: relative;
  border-radius: 10px;
  gap: 20px;
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-family: 'Noto Serif JP', serif;
  font-size: 25px;
  color: #3b9ad188;
  letter-spacing: 2px;
  font-weight: bold;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 3px solid #3b89d1;
  /* padding-left: 5px; */
}
.vertical-text2 {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-family: 'Noto Serif JP', serif;
  font-size: 25px;
  color: #3b9ad188;
  letter-spacing: 2px;
  font-weight: bold;
  position: absolute;
  right: 60%;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 3px solid #3b89d1;
}
.vertical-text2-2 {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-family: 'Noto Serif JP', serif;
  font-size: 25px;
  color: #b5a9c9;
  letter-spacing: 2px;
  font-weight: bold;
  position: absolute;
  right: 59%;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 3px solid #6f45b4;
}
.pickupbox2 {
  width: 60%;
  padding-right: 20px;
  background-color: rgba(59, 137, 209, 0.05);
  border-radius: 5px;
  margin: 0 0 0 15px;
  padding: 15px 20px;
}

.pickupbox2 h3 {
  font-size: 24px;
  color: #3b89d1;
  border-bottom: 2px solid #3b89d1;
  padding-bottom: 5px;
  display: inline-block;
}

.pickupbox2-2 {
  width: 60%;
  padding-right: 20px;
  background-color: #b5a9c92e;
  border-radius: 5px;
  margin: 0 0 0 15px;
  padding: 15px 20px;
}
.pickupbox2-2 h3 {
  font-size: 24px;
  color: #9773d1;
  border-bottom: 2px solid #6f45b4;
  padding-bottom: 5px;
  display: inline-block;
}

.pickupbox1 {
  width: 40%;
  display: flex;
  justify-content: center;
  margin: 10px;
}

.pickup-image {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* リストのデザイン */
.picup-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.picup-list li,
.picup-list2 li{
  font-size: 16px;
  color: #666;
  padding-left: 25px;
  position: relative;
  margin-bottom: 8px;
}

.picup-list li::before {
  content: '✔'; /* チェックマーク */
  position: absolute;
  left: 0;
  color: #3b89d1;
  font-weight: bold;
}

.picup-list2 li::before {
  content: '✔'; /* チェックマーク */
  position: absolute;
  left: 0;
  color: #6f45b4;
  font-weight: bold;
}

/* 強調デザイン */
.pickupbox2 p span {
  font-size: 20px;
  color: #3b89d1;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  z-index: 1;
}
.pickupbox2 p span::after {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  background-color: #3b89d15b;
  position: absolute;
  bottom: 5px;
  /* left: -5px; */
  z-index: 0;
  /* border-radius: 4px; */
}

.pickupbox2-2 p span {
  font-size: 20px;
  color: #a88fd1;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  z-index: 1;
}
.pickupbox2-2 p span::after {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  background-color: #b5a9c93b;
  position: absolute;
  bottom: 5px;
  /* left: -5px; */
  z-index: 0;
  /* border-radius: 4px; */
}

/* buttonデザイン 青 */
.pickup-btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, #007bff, #00c6ff);
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.pickup-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
}

.pickup-btn:hover {
  background: linear-gradient(135deg, #00c6ff, #007bff);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.5);
}

.pickup-btn:active {
  transform: translateY(2px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.pickup-btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

/* buttonデザイン　紫 */
.pickup-btn-purple {
  display: inline-block;
  padding: 12px 24px;
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, #9A7BBF, #C8A2C8); /* 上品なくすみ紫 */
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(154, 123, 191, 0.4);
}

.pickup-btn-purple::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
}

.pickup-btn-purple:hover {
  background: linear-gradient(135deg, #C8A2C8, #9A7BBF);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(154, 123, 191, 0.5);
}

.pickup-btn-purple:active {
  transform: translateY(2px);
  box-shadow: 0 4px 8px rgba(154, 123, 191, 0.3);
}

.pickup-btn-purple:hover::before {
  transform: translate(-50%, -50%) scale(1);
}
/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .vertical-text2-2 {
    right: 57%;
  }
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */

@media (max-width: 768px) {

  .picuph2 {
    font-size: 24px;
  }
  .dots::before {
    content: none;
  }
  .dots1::before {
    content: none;
  }
  /* 1つ目 */
  .flex_box {
      flex-direction: column-reverse;
      align-items: stretch;
      padding: 15px;
  }
  /* 2つ目 */
  .flex_box2 {
    flex-direction: column;
    padding: 15px;
  }
  .pickupbox2-2 {
    width: 100%;
    margin: 0;
    padding: 10px;
  }
  .pickupbox2, .pickupbox1 {
      width: 100%;
      padding: 20px;
      margin: 0;
  }
  .pickupbox2 {
      padding: 10px;
      border-left: none;
  }
  .vertical-text {
      position: relative;
      left: auto;
      top: auto;
      transform: none;
      margin-bottom: 10px;
  }
}
/*-------------------------------------- 診療案内 --------------------------------------*/
.medicalflex {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px;
}

.service-box {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  width: 30%;
  padding: 20px;
  text-align: left;
  transition: box-shadow 0.3s ease-in-out;
}


.service-header {
  position: relative;
  text-align: center;
  margin-bottom: 20px;
}

.hexagon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  margin: 0 auto;
  background: linear-gradient(135deg, #A3B9A2 0%, #889D85 100%);
  /* background: linear-gradient(135deg, #678ac4 0%, #3c5c9e 100%); */
  /* box-shadow: inset 0 4px 10px rgba(255, 255, 255, 0.3), inset 0 -4px 10px rgba(0, 0, 0, 0.3); */
}
.blue .hexagon { 
  background: linear-gradient(135deg, #B5A9C9 0%, #8D80A6 100%);
  /* background: linear-gradient(135deg, #678ac4 0%, #3c5c9e 100%); */
  /* box-shadow: inset 0 4px 10px rgba(255, 255, 255, 0.3), inset 0 -4px 10px rgba(0, 0, 0, 0.3); */
}
.orange .hexagon { 
  background: linear-gradient(135deg, #D3B196 0%, #B18561 100%);
  /* background: linear-gradient(135deg, #d8a05e 0%, #a8652d 100%); */
  /* box-shadow: inset 0 4px 10px rgba(255, 255, 255, 0.3), inset 0 -4px 10px rgba(0, 0, 0, 0.3); */
}
.hexagon p{
  color: white;
}
.service-box {
  background-color: #ffffffe0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 8px 8px; 
}

/* h3 のスタイルを調整 */
.service-box h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

/* h3 内の a をブロック化し、クリック範囲を拡大 */
.service-box h3 a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #666;
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* h3 内の a のホバー時エフェクト */
.service-box h3 a:hover {
  transform: translateX(5px);
  color: #444;
}

/* ul li の余白を調整 */
.service-box ul li {
  margin-bottom: 25px;
}


/* .icon {
  width: 30px;
  height: 30px;
  background: #6AABE4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  margin-right: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
} */
.green .icon { background: #889D85; }
.blue .icon { background: #8D80A6; }
.orange .icon { background: #B18561; }
.descgreen {
  font-size: 14px;
  color: #889D85;
  margin-top: 5px;
}
.descblue {
  font-size: 14px;
  color: #8D80A6;
  margin-top: 5px;
}
.descorange {
  font-size: 14px;
  color: #B18561;
  margin-top: 5px;
}


/* === Section背景のスタイル === */
.medical {
  position: relative;
  background-image: url(../ext/themes/cure_tcd082/images/medicalbg.png);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 0; /* 上下の余白を増やす */
}

/* 背景画像の上に半透明のオーバーレイを追加 */
.medical::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(231 229 229 / 71%);
  z-index: 0;
}

.medical > * {
  position: relative;
  z-index: 1; /* コンテンツを背景より前に */
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
.medicalflex {
  padding: 15px;
  flex-direction: column;
}
.service-box {
  width: 100%;
}
}

/*------------------- 院長紹介 -------------------*/
/* === 全体のレイアウト === */
.intyou {
  background: linear-gradient(
    to bottom,
    rgba(235, 245, 255, 0.9) 0%,  /* 明るいブルー */
    rgba(220, 233, 246, 0.8) 40%, /* 中間色 */
    rgba(200, 220, 240, 0.9) 100% /* 濃いブルー */
  );   padding: 40px;
  backdrop-filter: blur(10px);
  position: relative;
}

.intyou::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#2f6b7c56 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.2; /* 控えめなテクスチャ */
  z-index: 0;
}
.profile-container {
  display: flex;
  max-width: 1200px;
  margin: 20px auto;
  align-items: center;
  gap: 40px;
  padding: 60px;
  background: #ffffff91;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* === 左側の画像エリア === */
.profile-image {
  flex: 1;
  max-width: 450px;
  position: relative;
}

.profile-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

/* === 右側のテキストエリア === */
.profile-text {
  flex: 2;
  padding: 10px;
}

/* === 見出しデザイン === */
.highlight .clinic-name {
  font-size: 25px;
  font-weight: bold;
  color: #e5e2d0;
  line-height: 2.5;
}

.position {
  font-size: 18px;
  font-weight: normal;
  color: #777;
}

.doctor-name {
  font-size: 26px;
  font-weight: bold;
  margin-top: 10px;
  display: flex;
  align-items: center;
}

.jp-name {
  font-size: 32px;
  font-weight: bold;
  margin: 0 10px;
}

.en-name {
  font-size: 16px;
  font-weight: normal;
  color: #977c4c;
}

/* === 罫線デザイン === */
.profile-line {
  width: 100%;
  border: 1px solid #ddd;
  margin: 20px 0;
}
/* `.profile-details` を2カラムレイアウトにする */
.profile-details {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 20px; 
}
.profile-details li {
  font-size: 12px;
}

/* 各セクションのスタイル */
.profile-section {
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 見出しデザイン */
.section-title {
  font-size: 20px;
  font-weight: bold;
  color: #977c4c;
  margin-bottom: 10px;
}

/* 略歴は1列全体を使う */
.profile-section.history {
  grid-column: span 2; /* 2カラムをまたぐ */
}


/* === 略歴・学会・講演情報のデザイン === */
.profile-section {
  margin-bottom: 20px;
}

.section-title {
  font-size: 20px;
  font-weight: bold;
  color: #977c4c;
  margin-bottom: 10px;
}

.profile-info {
  list-style: none;
  padding: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

.profile-info li {
  margin-bottom: 8px;
}

.year {
  font-weight: bold;
  color: #977c4c;
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
  .intyou {
    padding: 15px;
  }

  .profile-details {
      grid-template-columns: 1fr; /* 1カラムに変更 */
  }

  .profile-section.history {
      grid-column: span 1; /* 1カラムで表示 */
  }

  .profile-container {
      flex-direction: column;
      text-align: center;
      padding: 0;
  }

  .profile-image {
      max-width: 80%;
  }

  .profile-text {
      padding: 15px;
      width: 90%;
  }
  .profile-section {
    padding: 10px;
  }

  .doctor-name {
      flex-direction: column;
      text-align: center;
  }

  .jp-name {
      font-size: 28px;
  }

  .en-name {
      font-size: 14px;
  }

  .section-title {
      font-size: 18px;
  }
}

/*------------------- 医院紹介 -------------------*/

/* -------------------フォトギャラリー------------------- */
/* ギャラリー全体 */
.gallery {
  text-align: center;
  padding: 50px;
}

.galleryttl {
  font-size: 50px;
  color: #81AADE;
  text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
}

/* スライドショー＋サムネイルを横並びに */
.gallery-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: 50px auto;
}

/* 左側のスライドショー */
.gallery-slideshow {
  position: relative;
  width: 600px; /* 任意のサイズ */
  height: 400px; /* 任意のサイズ */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.gallery-slideshow::before {
  content: "";
    position: absolute;
    top: min(-1vw, -13px);
    left: max(1vw, 13px);
    width: 100%;
    height: 100%;
    border: 1px solid #938068;
    z-index: 2;
}

/* メインスライドの画像 */
.gallery-slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
/* 最初の画像だけ表示 */
.gallery-slideshow img.active {
  opacity: 1;
}

/* 右側のサムネイル一覧 */
/* .gallery-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 15px;
} */
/* 右側のサムネイル一覧 */
.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 2列 */
  gap: 15px;
}


/* サムネイル画像 */
.gallery-thumbnails img {
  width: 160px;
  height: 120px;
  object-fit: cover;
  cursor: pointer;
  border: 3px solid transparent;
  transition: transform 0.2s ease-in-out, border 0.3s ease-in-out;
  border-radius: 5px;
}

/* 選択されたサムネイルの強調 */
.gallery-thumbnails img.active {
  /* border-color: #977c4c; */
  transform: scale(1.1);
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
  .gallery-container {
      flex-direction: column;
      align-items: center;
  }

  .gallery-slideshow {
      width: 100%;
      height: auto;
  }

  .gallery-thumbnails {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
  }

  .gallery-thumbnails img {
      width: 100px;
      height: 80px;
  }
}

/* -------------------支払方法------------------- */
.paymentsec {
  background: linear-gradient(to bottom, #ffffff, #faf8f5); 
  /* padding: 80px 0; */
}
.payttl {
  font-size: max(2.274vw, 40px);
  color: #69492a;
  line-height: 1.4;
  margin-bottom: 15px;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6);
  position: relative;
  text-align: center;
  margin: 30px 0;
}
.payttl .mini {
  font-size: 25px;
}

.payout {
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  padding: 40px;
  max-width: 1000px;
  margin: 20px auto;
}

.paytxtbox {
  flex: 1 1 55%;
  padding: 20px 30px;
}

.paymark {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.paymark span {
  background: linear-gradient(transparent 70%, #bfa25024 70%);
  padding-bottom: 5px;
  font-weight: bold;
  font-size: 20px;
}

.marker {
  margin-bottom: 16px;
  line-height: 1.6;
  position: relative;
  font-size: 20px;
  padding-left: 30px;
}

.marker::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 2px;
  color: #938068;
  font-size: 18px;
}

.payp {
  padding-top: 20px;
  line-height: 1.8;
  font-size: 16px;
  color: #333;
}

.payimg {
  flex: 1 1 40%;
  padding: 20px;
  text-align: center;
}

/* 流れる画像 */
.payimg img {
  max-width: 80%;
    height: auto;
    border-radius: 8px;
    margin: 0 auto;
}
.flowing-images {
  overflow: hidden;
  width: 100%;
  background: #fff; /* 背景色はお好みで */
  padding: 30px 0;
  margin-top: -30px;
}

.flow-track {
  display: flex;
  width: calc(200%); /* 2倍に伸ばすことでループ */
  animation: scroll-left 30s linear infinite;
}

.flow-track img {
  width: 200px;
  height: auto;
  object-fit: contain;
  margin-right: 30px;
}

/* アニメーション設定 */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .tbnone {
    display: none;
  }
}
/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
.payout {
  padding: 15px;
  margin: 15px;
}
.paytxtbox {
  padding: 15px;
}
.sedai .idx_box {
  padding: 15px;
  background-color: #ffffffc9;
}
}

/* -------------------比較表------------------- */
/* 見出し */
.comparisonttl {
  font-size: max(2.274vw, 40px);
  color: #69492a;
  line-height: 1.4;
  margin-bottom: 15px;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6);
  position: relative;
  text-align: center;
  margin: 30px 0;
}
.comparisonttl .implant {
  font-size: 50px;
  color: #e9568b;
}
.comparisonttl .allon4 {
  font-size: 50px;
  color: #ff2b77;
}
.comparisonttl .mini {
  font-size: 25px;
}

.comparison-table {
  max-width: 1100px;
  margin: 0 auto;
  overflow-x: auto;
  white-space: nowrap;
  font-family: 'Noto Serif JP';
  padding: 15px;
}

.header-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 0;
  position: relative;
  min-width: 900px;
  padding-left: 12%;
}

.circle-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.5;
  font-size: 18px;
  border: 1px solid #999;
  background-color: #fff;
}

.circle.allon4 {
  background-color: #e7bdcb;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  border: none;
}

.line-down {
  width: 2px;
  height: 40px;
  background-color: #999;
  margin: 0 auto;
}

.line-down.gold {
  background-color: #c1a753;
}

.row {
  display: flex;
  align-items: stretch;
  min-width: 900px;
  margin-bottom: 10px;
}
.hiyou span {
  font-size: 1.5rem;
  color: #df689e;
}

.label {
  width: 160px;
  background-color: #E3C4C4;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.label-inner {
  text-align: center;
  padding: 10px;
}

.comp_icon {
  font-size: 30px;
  margin-bottom: 8px;
}

.text {
  font-weight: bold;
  font-size: 16px;
}

.content {
  width: 50%;
  border: 1px solid #ccc;
  padding: 20px;
  background-color: #fff;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  position: relative;
}

.content.gold {
  border: 1px solid #c1a753;
  background-color: #fdf8ef;
}

.content strong {
  font-weight: bold;
  color: #df689e;
}

.content .gold {
  color: #c1a753;
  font-weight: bold;
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
  .circle {
    width: 100px;
    height: 100px;
    font-size: 12px;
  }
  .circle.allon4{
    font-size: 12px;
  }
  .comparison-table {
    overflow-x: auto;
  }
  .header-row {
    justify-content: center;
    gap: 20%;
  }

  .header-row,
  .row {
    flex-wrap: nowrap;
    min-width: 100%; 
  }

  .label, .content {
    white-space: normal;
  }
  .content {
    padding: 20px 10px;
    font-size: 13px;
    text-align: left;
  }
}
/* -------------------比較ここまで------------------- */
/* -------------------流れ------------------- */
.implant-flow {
  background: #fff;
  padding: 60px 20px;
  margin: 0 auto;
  font-family: 'Noto Serif JP', serif;
}

.flowbloc {
  width: 94%;
  padding: 0 3%;
  max-width: 1200px;
  margin: 75px auto;
}

.flow-title {
  text-align: center;
  font-size: 2rem;
  color: #6c4f2e;
  margin-bottom: 40px;
  position: relative;
}

.flow-row {
  display: flex;
  align-items: stretch;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  position: relative;
}

.flow-label {
  align-self: stretch;
  width: 25%;
  text-align: center;
  background: #e9c3c3;
  padding: 30px;
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #6c4f2e;
  position: relative;
}

.flow-label img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

.flow-label p {
  font-weight: bold;
  color: #6c4f2e;
  font-size: 1.1rem;
}

.flow-content {
  flex: 1;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.flow-text {
  flex: 1;
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
}

.flow-image {
  flex-shrink: 0;
  width: 30%;
}

.flow-image img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

/* ラベルの中央から下に向かう線 */
.flow-row:not(:last-child) .flow-label::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 40px;
  background-color: #d38d8d;
  z-index: 1;
}

/* ラベルの上にも線（上のラベルとつながる） */
.flow-row:not(:first-child) .flow-label::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background-color: #d38d8d;
  z-index: 1;
}

/* -------------------流れ------------------- */


/* -------------------グラフブロック------------------- */

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
}

/* -------------------グラフブロックここまで------------------- */
/* -------------------どんなことでお悩みですか？------------------- */

.problem-section {
  text-align: center;
  padding: 50px 0;
  /* background-color: #f4f4f4; */
}

/* 見出し */
.problem-ttlbloc {
  background-color: #F0EBE7;
  position: relative;
  padding: 100px 0;

}

.problem-ttlbloc .underline {
  text-decoration: none;
  border-bottom: 2px solid  #bfa2509e;
}
.problem-ttlbloc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, rgba(248, 241, 220, 1), rgba(248, 241, 220, 0.6)); /* 透明度を少し増してスムーズにぼかし */
  z-index: -1;
}

.problem-ttlbloc::after {
  content: "";
  position: absolute;
  bottom: -60px; /* 三角形を下に配置 */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 70px solid transparent; /* 左側の透明部分を広く */
  border-right: 70px solid transparent; /* 右側の透明部分を広く */
  border-top: 60px solid #F0EBE7; /* 背景色と一致させる、矢印の縦幅を大きくする */
}

.problem-section h2 {
  font-size: max(2.274vw, 40px);
  color: #69492a;
  line-height: 1.4;
  margin-bottom: 15px;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6);
  position: relative;
  text-align: center;
  margin: 30px 0;
}

.problemspan {
  font-size: clamp(25px, 5vw, 50px);
  background: linear-gradient(135deg, #6a4e23, #a67c52, #8b5e3c); /* 明るめで強調された茶色のグラデーション */
  -webkit-background-clip: text; /* グラデーションを文字に適用 */
  -webkit-text-fill-color: transparent; /* 文字の色を透明にし、背景色で文字色を指定 */
}

.problem-container {
  display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    margin: 6rem auto;
}

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

.problem-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.problembox {
  width: 100%;
}
.problembox h3 {
  color: #997962;
  font-size: 25px;
  margin: 10px 0 20px;
  position: relative;
}
.problembox h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 5%; 
  width: 90%;
  border-bottom: 1px solid #bcbcbc; 
}
.problem-item img {
  width: 100%;
  object-fit: cover;
  margin-bottom: 15px;
}

.problem-item p {
  font-size: 16px;
  font-weight: 500;
  margin: 15px 0;
}

.view-more {
  display: inline-block;
  background-color: #938068;
  color: #fff;
  font-size: 16px;
  padding: 10px 24px;
  text-align: center;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  margin-top: 10px;
}

.view-more:hover {
  background-color: #a18f7a;
  transform: translateY(-5px);
  color: #fff;
}

.view-more:active {
  transform: translateY(2px);
}

/* スマホ用 */
@media (max-width: 768px) {
  .problem-container {
    grid-template-columns: 1fr;  /* スマホサイズで1列にする */
  }

  .problem-item {
    width: 100%;
    height: auto;  /* スマホでは高さを自動調整 */
  }
}
/* -------------------どんなことでお悩みですか？ここまで------------------- */

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

	選ばれる理由

==================================================================*/
/* 見出し */
.dream-ttlbloc {
  margin: 30px auto;
}
.dreamttl {
  font-size: clamp(18px, 5vw, 40px); 
  color: #69492a;
  line-height: 1.4;
  margin-bottom: 15px;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6);
  position: relative;
  text-align: center;
  margin: 30px 0;
}
.dreamttl .mini {
  font-size: clamp(14px, 3vw, 25px);
  margin: 0 3px;
}

.dream-ttlbloc p .underline {
  text-decoration: none;
  border-bottom: 2px solid #bfa2509e;
}

/* セクションの背景 */
.sedai {
  padding: 50px 0;
    position: relative;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgb(246 234 242 / 90%) 20%, /* #eaf0f6（明るめ）*/ rgb(250 245 248 / 90%) 80%, /* #f5f7fa（ほぼ白）*/ rgba(255, 255, 255, 1) 100%);
    z-index: 0;
    overflow: hidden;
}

.sedai::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  z-index: 1;
}

.sedai::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px; 
  background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  z-index: 1;
}

.idx_inr {
  position: relative;
  display: block;
  margin: 0 auto;
}

.idx_box {
  display: block;
  position: relative
}

.idx_lst li {
  position: relative;
  display: block;
  padding-left: 1em;
  margin-bottom: .5em;
  background-repeat: no-repeat;
  background-position: 0 .4em;
  background-size: .8em auto
}

.sedai .idx_inr {
  max-width: 1400px;
  width: 100%;
  padding: 36px 0;
  margin-bottom: 30px;
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-color: #fff;
  background-position: 100% 0
}

.sedai .idx_inr:nth-of-type(2) {
  background-position: 0 0
}

.sedai .idx_box {
  color: #2e2e2e;
  background-color: #ffffff61;
  box-shadow: 3px 3px 5px rgba(162,162,162,.2);
  max-width: 858px;
  margin: 0 auto 0 0;
  padding: 30px 24px 24px 65px;
}

.sedai .idx_inr:nth-of-type(2) .idx_box {
  box-shadow: -3px 3px 5px rgba(162,162,162,.2);
  margin: 0 0 0 auto
}
.sedai .idx_inr:nth-of-type(4) .idx_box {
  box-shadow: -3px 3px 5px rgba(162,162,162,.2);
  margin: 0 0 0 auto
}
.sedai .idx_inr:nth-of-type(6) .idx_box {
	box-shadow: -3px 3px 5px rgba(162,162,162,.2);
	margin: 0 0 0 auto
}

.sedai_ttl {
  position: relative;
  font-size: 26.87px;
  margin: 0 0 24px;
  border-bottom: 1px solid #977c4c;
}
.sedai_ttl span{
  font-size: 35px;
  /* color: #bfa250; */
  background: linear-gradient(135deg, #95723c, #b19376, #8b5e3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
  

.sedai_ttl:before {
  content: "";
  display: block;
  position: absolute;
  width: 99px;
  aspect-ratio: 1/1;
  left: -45px;
  top: -24px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.sedaittl01:before{
  background-image: url(../ext/themes/cure_tcd082/images/top/h-img.png);
  background-repeat: no-repeat;
}
.sedaittl02:before{
  background-image: url(../ext/themes/cure_tcd082/images/top/h-img2.png);
  background-repeat: no-repeat;
}
.sedaittl03:before{
  background-image: url(../ext/themes/cure_tcd082/images/top/h-img3.png);
  background-repeat: no-repeat;
}

.sedai_lead {
  display: flex;
  align-items: center;
  padding: 0 0 16px;
  margin: 0 auto 15px 0;
  /* width: 60%; */
}

.sedai_lead p {
  display: block;
}

.sedai_lead p i {
  display: block
}

.sedai_lead p .ja {
  font-size: 27.52px
}

.sedai_lead p .en {
  font-size: 39.63px;
  font-weight: 700
}

.sedai_lead figure {
  flex: 1
}

.sedai .idx_lst {
  font-size: 15px
}
.sedai .idx_lst li {
  line-height: 1.3;
  /* letter-spacing: -.06em */
}
.sedai .idx_lst li::before {
  content: "●"; 
  font-size: 20px; 
  color: #C88E48; 
  margin-right: 10px; 
  position: relative;
  top: 3px;
}
.sedai01 li {
    background-image: url(../ext/themes/cure_tcd082/images/top/check.png);
    background-repeat: no-repeat;
    line-height: 1.3;
}
.sedai02 li {
  background-image: url(../ext/themes/cure_tcd082/images/top/check2.png);
  background-repeat: no-repeat;
  line-height: 1.3;
}
.sedai03 li {
  background-image: url(../ext/themes/cure_tcd082/images/top/check3.png);
  background-repeat: no-repeat;
  line-height: 1.3;
}

.sedai .idx_lst li span {
  display: block
}
.sedai .idx_lst li em {
    font-weight: 600;
    font-size: 19px;
}
.sedai01 li em{
  color: #C88E48;
}
.sedai02 li em{
    color: #C88E48;
}
.sedai03 li em{
    color: #C88E48;
}
.sedai04 li em{
  color: #C88E48;
}

.sedai_fig {
  position: absolute
}

.sedai .idx_gnr_btn {
  width: unset;
  left: unset;
  right: 36px;
  bottom: 20px
}

.idx_gnr_01 {
  background-image: url(../ext/themes/cure_tcd082/images/dream01.png);
  background-repeat: no-repeat;
}


.idx_gnr_01 .sedai_lead p {
  margin-right: 42px
}

.idx_gnr_01 .sedai_lead figure img {
  width: 109px;
  aspect-ratio: 109/149
}

.idx_gnr_01 .idx_lst li:nth-of-type(3) {
  /* padding-left: .8em */
}

.idx_gnr_01 .sedai_fig {
  width: 366px;
  bottom: 40px;
  right: 0px;
}

.idx_gnr_01 .sedai_fig img {
  aspect-ratio: 366/272
}

.idx_gnr_02 {
  background-image: url(../ext/themes/cure_tcd082/images/dream02.png);
  background-repeat: no-repeat;
}

.idx_gnr_02 .sedai_lead p {
  margin-right: 36px
}

.idx_gnr_02 .sedai_lead figure img {
  width: 103px;
  aspect-ratio: 103/138
}

.idx_gnr_02 .idx_lst li:nth-of-type(2) span:nth-of-type(2) {
  margin-left: -.4em
}

.idx_gnr_02 .sedai_fig {
  width: 378px;
  bottom: 40px;
  right: 42px
}

.idx_gnr_02 .sedai_fig img {
  aspect-ratio: 378/269
}

.idx_gnr_03 {
  background-image: url(../ext/themes/cure_tcd082/images/dream03.png);
  background-repeat: no-repeat;
}


.idx_gnr_03 .sedai_lead p {
  margin-right: 30px
}

.idx_gnr_03 .sedai_lead figure img {
  width: 117px;
  aspect-ratio: 117/144
}

.idx_gnr_03 .idx_lst li:nth-of-type(2),.idx_gnr_03 .idx_lst li:nth-of-type(3) {
  padding-left: 1em
}

.idx_gnr_03 .sedai_fig {
  width: 377px;
  bottom: 40px;
  right: 42px
}

.idx_gnr_03 .sedai_fig img {
  aspect-ratio: 377/269
}


.idx_gnr_04{
  background-image: url(../ext/themes/cure_tcd082/images/dream04.png);
  background-repeat: no-repeat;
}
.idx_gnr_04 .sedai_lead p {
  margin-right: 30px
}

.idx_gnr_04 .sedai_lead figure img {
  width: 117px;
  aspect-ratio: 117/144
}

.idx_gnr_04 .idx_lst li:nth-of-type(2),.idx_gnr_04 .idx_lst li:nth-of-type(3) {
  padding-left: 1em
}

.idx_gnr_04 .sedai_fig {
  width: 377px;
  bottom: 40px;
  right: 42px
}

.idx_gnr_04 .sedai_fig img {
  aspect-ratio: 377/269
}

.idx_gnr_05{
  background-image: url(../ext/themes/cure_tcd082/images/dream05.png);
  background-repeat: no-repeat;
}
.idx_gnr_05 .sedai_lead p {
  margin-right: 30px
}

.idx_gnr_05 .sedai_lead figure img {
  width: 117px;
  aspect-ratio: 117/144
}

.idx_gnr_05 .idx_lst li:nth-of-type(2),.idx_gnr_05 .idx_lst li:nth-of-type(3) {
  padding-left: 1em
}

.idx_gnr_05 .sedai_fig {
  width: 377px;
  bottom: 40px;
  right: 42px
}

.idx_gnr_05 .sedai_fig img {
  aspect-ratio: 377/269
}

.idx_gnr_06{
	background-image: url(../ext/themes/cure_tcd082/images/dream06.png);
  background-repeat: no-repeat;
}
.idx_gnr_06 .sedai_lead p {
  margin-right: 30px
}

.idx_gnr_06 .sedai_lead figure img {
  width: 117px;
  aspect-ratio: 117/144
}

.idx_gnr_06 .idx_lst li:nth-of-type(2),.idx_gnr_04 .idx_lst li:nth-of-type(3) {
  padding-left: 1em
}

.idx_gnr_06 .sedai_fig {
  width: 377px;
  bottom: 40px;
  right: 42px
}

.idx_gnr_06 .sedai_fig img {
  aspect-ratio: 377/269
}



/*------------------------------
ボタン
------------------------------*/

.btn03 {
  position: relative;
}
.btn03 a {
  display: inline-block;
  position: relative;
  min-width: 250px;
  box-sizing: border-box;
  padding: 17px 38px 17px 25px;
  margin: 20px 0;
  line-height: 1;
  border-radius: 40px;
  text-align: left;
  font-weight: bold;
  text-decoration: none;
  font-size: 15px;
}
.btn03 a:hover::before {
  right: 20px;
}

.btn03 a:hover::before{
	right: 20px;
}

.btn03 a:hover::after{
	left:0;
	top:0;
}
.btn03 a i{
	margin-right: 7px;
	font-size: 12px;
}
/* 一つ目のボタン */
.sedaibtv01 a {
	border: 1px solid #977c4c;
	color: #977c4c;
	transition: background-color 1s ease, color 1s ease;
}
.sedaibtv01 a:hover {
	color: #fff;
	background:#977c4c;
}

/* 二つ目のボタン */
.sedaibtv02 a {
  border: 1px solid #977c4c;
  color: #977c4c;
	transition: background-color 1s ease, color 1s ease;
}
.sedaibtv02 a:hover {
	color:#fff;
	background:#977c4c;
}

/* 三つ目のボタン */
.sedaibtv03 a {
	border: 1px solid #977c4c;
	color: #977c4c;
	transition: background-color 1s ease, color 1s ease;
}

.sedaibtv03 a:hover{
	color:#fff;
	background-color:#977c4c;
}
.sedaibtv03 a:hover::before{
	border-color:#977c4c;
  color: #fff;
}

/* 四つ目のボタン */
.sedaibtv04 a {
	border: 1px solid #977c4c;
	color: #977c4c;
	transition: background-color 1s ease, color 1s ease;
}

.sedaibtv04 a:hover{
	color:#fff;
	background-color:#977c4c;
}
.sedaibtv04 a:hover::before{
	border-color:#977c4c;
  color: #fff;
}
/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {

}
/*==================================================================

	取り組み

==================================================================*/
/* 追加分 */
.case-section {
  position: relative;
  padding: 3.571vw 0 1vw;
  background-image: url(https://sakurashika-clinic.jp/wp-content/uploads/2025/07/名称未設定-2800-x-2072-px-scaled.png);
  background-position: bottom;
  background-size: cover;
}

.case-inner {
  display: flex;
    max-width: 1200px;
    margin: 0 auto 50px;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
}

.case-left {
  width: 30%;
  text-align: center;
}

.case-vertical {
  writing-mode: vertical-rl;
  font-size: 32px;
  font-weight: bold;
  color: #333;
  line-height: 1.2;
}

.case-right {
  width: 70%;
  padding: 20px;
  color: #333;
  text-align: center;
}

.case-title {
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.case-caption {
  background-color: #fff8ce;
  color: #333;
  display: inline-block;
  padding: 6px 12px;
  font-weight: bold;
  margin-bottom: 10px;
  border-radius: 4px;
}

.case-desc {
  font-size: 15px;
  line-height: 1.6;
}

.case-boxes {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  /* flex-wrap: wrap; */
  gap: 30px;
  /* max-width: 1100px; */
  margin: 0 auto;
}

.case-box {
  background: #fff;
  padding: 20px;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  position: relative;
}

.case-label {
    background: #c05a6d;
    display: inline-block;
    padding: 6px 12px;
    font-weight: bold;
    color: #fff;
    position: absolute;
    top: -16px;
    left: 20px;
    font-size: 1.5rem;
    font-family: serif;
}

.case-box h3 {
  font-size: 1.5rem;
    margin: 30px 0 10px;
    color: #5b4633;
    text-align: center;
}

.case-box h3 span {
    font-size: 1.7rem;
    color: #c05a6d;
}
.attempt03_out {
  padding: 1vw 0;
  background-image: url(https://sakurashika-clinic.jp/wp-content/uploads/2025/07/名称未設定-2800-x-2072-px-2800-x-3000-px-11-scaled.png);
  background-position: top;
  background-size: cover;
}
.attempt03_wrap {
  position: relative;
  padding: 30px 20px;
  max-width: 1200px;
  margin: 30px auto 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  background: #fff;
}

.attempt03 .sedai_ttl {
  color: #5b4633;
}

.attempt03 .idx_inr {
    /* max-width: 1400px; */
    width: 100%;
    /* padding: 36px 0; */
    /* margin-bottom: 30px; */
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-color: #fff;
    background-position: 100% 0;
}
.attempt03 .idx_box {
    /* color: #2e2e2e; */
    background-color: #ffffff61;
    /* box-shadow: 3px 3px 5px rgba(162, 162, 162, .2); */
    max-width: 858px;
    margin: 0 auto 0 0;
    padding: 30px 24px 24px 65px;
}
.attempt03 {
  background-image: url(https://sakurashika-clinic.jp/wp-content/uploads/2025/07/名称未設定-2800-x-2072-px-2800-x-3000-px-2-scaled.png);
    background-position: center;
    background-size: cover;
}
/* 背景画像 */
.accuracy01 {
    background-image: url(https://sakurashika-clinic.jp/wp-content/uploads/2025/07/accuracy01.png);
    background-repeat: no-repeat;
    height: 315px;
}
.accuracy02 {
    background-image: url(https://sakurashika-clinic.jp/wp-content/uploads/2025/07/accuracy02-scaled.png);
    background-repeat: no-repeat;
    height: 315px;
}
.accuracy03 {
    background-image: url(https://sakurashika-clinic.jp/wp-content/uploads/2025/07/accuracy03.png);
    background-repeat: no-repeat;
    height: 315px;
}
.accuracy04 {
    background-image: url(https://sakurashika-clinic.jp/wp-content/uploads/2025/07/特徴背景-10-1-scaled.png);
    background-repeat: no-repeat;
    height: 315px;
}
.accuracy05 {
    background-image: url(https://sakurashika-clinic.jp/wp-content/uploads/2025/07/accuracy04-scaled.png);
    background-repeat: no-repeat;
    height: 315px;
}



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

	ファーストインプラントセンター沖縄

==================================================================*/
.attempt .txtbox {
  width: 94%;
  margin: 0 auto;
  text-align: center;
}
.attempt h2 {
  z-index: -2;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    width: 100%;
    padding-right: 6em;
    height: 45.2em;
    margin: 0 0 2.4em;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100% auto;
    background-image: url(../ext/themes/cure_tcd082/images/ttlbg.png);
}
.attempt h2 span {
  display: block;
  position: relative;
  white-space: nowrap;
  color: #fff;
  font-size: 2.8rem;
  height: fit-content;
  padding: .3em .36em;
  line-height: 1;
  letter-spacing: .08em;
  background: #e4a27699;
  top: 50px;
}
span.problemspan.size {
  font-size: 70px;
}
/* .attemptttl h2 span:nth-of-type(2){
  top:60px;
} */
/* .attempt h2 span:before {
  content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #77c3ae;
    mix-blend-mode: multiply;
} */

.service-offerings {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  width: 94%;
  padding: 0 3%;
  margin: 0 auto;
}

.service-item {
  width: 48%; /* 2カラムに設定 */
  box-sizing: border-box;
}

.service-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background: linear-gradient(to bottom, #fff 0, #fff 5.6em, #faf6ee 6.6em, #faf5ee 16em, #fff 17em, #fff 100%);  height: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-text {
  flex: 1;
  padding-right: 20px;
}

.service-text h3 {
  color: #5b4633;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-text p {
  font-size: 16px;
  margin-bottom: 15px;
}

.service-text .read-more {
  font-size: 14px;
  color: #4a8c6d;
  text-decoration: none;
}

.service-image {
  flex-shrink: 0;
  width: 205px;
  height: auto;
}

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

@media screen and (max-width: 768px) {
  .service-item {
    width: 100%;
  }

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

  .service-image {
    margin-top: 20px;
  }
}


/* -------------------安心してインプラント治療を受けていただくために------------------- */
.features {
  display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background: linear-gradient(to bottom, #fff 0, #fff 5.6em, #faf6ee 6.6em, #faf5ee 16em, #fff 17em, #fff 100%);
  height: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.feature-text {
  padding: 20px;
}

.feature-text h3 {
  font-size: 18px;
  color: #333;
  font-weight: bold;
  margin-bottom: 10px;
}

.feature-text p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more {
  font-size: 14px;
  color: #a6883e;
  text-decoration: none;
  font-weight: bold;
}

.read-more:hover {
  text-decoration: underline;
}

/* -------------------安心してインプラント治療を受けていただくためにここまで------------------- */

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

	無料相談

==================================================================*/
.consult-block {
  background: repeating-linear-gradient(
  135deg,
  #fdeef1,
  #fdeef1 2px,
  #fdf5f7 2px,
  #fdf5f7 4px
);
  border: 1px solid #f4b6c2;
  padding: 40px 30px;
  margin: 50px auto;
}

.consult-inner {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  background: #ffffff8a;
  padding: 50px;
}

.consult-text {
  width: 60%;
  color: #333;
}

.ja-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
  border-bottom: 1px solid #f1919a;
  padding-bottom: 10px;
}

.en-title {
  color: #e07c91;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
}

.consult-copy p {
  margin-bottom: 16px;
  line-height: 1.8;
}
.consult-image {
  width: 40%;
}
.consult-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
/* ボタン */
.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, #fbdde3, #f9c9d0); /* 桜色グラデーション */
  color: #a44d5d;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(255, 190, 200, 0.4);
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: linear-gradient(90deg, #f9c9d0, #fbdde3); /* グラデーション反転で動き感 */
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(255, 150, 170, 0.5);
}
/*------------------------------------- 治療後のケア(２カラム) --------------------------------------*/
.twocol {
  background-image: linear-gradient(to right, rgba(224, 183, 190, 0.15) 1px, transparent 1px), linear-gradient(to bottom, rgba(224, 183, 190, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
}
.twocol-section {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  background-size: 20px 20px;
  max-width: 1200px;
  margin: 70px auto;
}
.twocol-box {
  /* background: #ffffff; */
  background-color: #fff5f7;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  width: 48%;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

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

.twocol-header.pink {
  color: #fff;
}

.twocol-number {
  background-color: #e6a9b0;
  border-radius: 50%;
	width: 80px;
  height: 80px;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.1;
  padding-top: 15px;
}

.twocol-number span {
  display: block;
  font-size: 28px;
}

.twocol-title {
  font-size: 20px;
  color: #e44d6b;
  border-bottom: 3px solid #e6a9b0;
  padding-bottom: 5px;
}
.txtimg img{
  margin: 0 auto;
  width: 80%;
}
.txtimg {
    text-align: center;
}
.txtimg p {
  margin: 10px 0;
	text-align:left;
}

.simple-check-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 500px;
}

.simple-check-list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 12px;
  color: #5b4633;
	text-align:left;
}

.simple-check-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #e5aebf;
  font-size: 0.8em;
  top: 0.15em;
}


/*------------------------------------- 治療後のケア(２カラム)ここまで --------------------------------------*/

/*------------------------------------- 関連ページ --------------------------------------*/

.implant-links {
  padding: 60px 20px;
  background: #fdf9fb;
}

/* 見出し */
.implant-linksttl {
  font-size: max(2.274vw, 40px);
  color: #69492a;
  line-height: 1.4;
  margin-bottom: 15px;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6);
  position: relative;
  text-align: center;
  margin: 30px 0;
}
.implant-linksttl .highlight {
  font-size: 50px;
    background: linear-gradient(135deg, #6a4e23, #a67c52, #8b5e3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.slash {
  margin: 0 10px;
}
.section-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 2px solid #8d9a99;
  display: inline-block;
  padding-bottom: 6px;
  color: #2c2c2c;
}

.link-columns {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 50px 0;
}

.link-column {
  flex: 1 1 300px;
  max-width: 340px;
  text-align: center;
  background: #ffffff;
  padding: 20px;
  border: 1px solid #dadada;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.link-column h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #2c2c2c;
}

.link-column img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.link-column .tag {
  background: #f2eedf;
  padding: 8px 12px;
  font-size: 1rem;
  margin-bottom: 15px;
  display: inline-block;
  color: #4d4d4d;
  border-radius: 4px;
}

.link-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.link-column li {
  margin-bottom: 10px;
}

.link-column a {
  color: #a78e12;
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px dotted #c5b35a;
  padding-bottom: 1px;
}

.link-column a:hover {
  color: #8c760e;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .link-columns {
    flex-direction: column;
    align-items: center;
  }

  .link-column {
    max-width: 100%;
  }
}

/*------------------------------------- 関連ページここまで --------------------------------------*/

/* 固定ボタンラッパー（PCは右下に、スマホは下部に全幅） */
.fixed-reservation-buttons {
  position: fixed;
  z-index: 1000;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ボタン共通スタイル */
.reservation-button {
  background-color: #f8c0c6;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 15px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.reservation-button i {
  font-size: 20px;
}

.reservation-button:hover {
  background-color: #f69a9f;
  transform: translateY(-3px);
  color: #fff;
}

.reservation-button:active {
  background-color: #f56b7b;
  transform: translateY(1px);
}

/* ▼ PC：右下に小さめで表示 */
@media screen and (min-width: 768px) {
  .fixed-reservation-buttons {
    bottom: 20px;
    right: 20px;
    flex-direction: row;
  }
}

/* ▼ モバイル：下部に全幅表示 */
@media screen and (max-width: 767px) {
  .fixed-reservation-buttons {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    justify-content: space-around;
  }

  .reservation-button {
    flex: 1;
    border-radius: 30px;
    font-size: 15px;
    padding: 12px 10px;
    max-width: 48%;
  }
}
/* 固定ボタンラッパー（PCは右下に縦並び、スマホは下部に全幅） */
.fixed-reservation-buttons {
  position: fixed;
  z-index: 1000;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ボタン共通スタイル */
.reservation-button {
  background-color: #f8c0c6;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
	padding: 15px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
	gap: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.reservation-button i {
  font-size: 20px;
}

.reservation-button:hover {
  background-color: #f69a9f;
  transform: translateY(-3px);
  color: #fff;
}

.reservation-button:active {
  background-color: #f56b7b;
  transform: translateY(1px);
}

/* ▼ PC：右下に縦並びで表示 */
@media screen and (min-width: 768px) {
  .fixed-reservation-buttons {
	  bottom: 115px;
	  right: 20px;
	  flex-direction: column; /* ←縦並び */
	  z-index: 10;
  }

  .reservation-button {
    width: 180px; /* 好みに応じて調整可 */
  }
}

/* ▼ モバイル：下部に全幅表示（横並び） */
@media screen and (max-width: 767px) {
	.footer-links {
		flex-direction: column;
	}
	.footer-section {
		width: 100%;
	}
  .fixed-reservation-buttons {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    justify-content: space-around;
    flex-direction: row; /* ←横並びのまま */
  }

  .reservation-button {
	  flex: 1;
	  border-radius: 30px;
	  font-size: 11px;
	  padding: 12px 10px;
	  max-width: 48%;
  }
}
/* ------チャットボット（sakura）------
   色: ピンク系そのまま
   UI: ヘッダー・アニメーション・入力エリア改善
   ---------------------------------------- */

html, body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

/* ── トグルボタン ── */
.chat-toggle-button {
	position: fixed;
    bottom: 20px;
    right: 20px;
    background: #d28fb0;
    color: #fff;
    padding: 20px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s ease;
    user-select: none;
    border: 2px solid #fff;
}
.chat-toggle-button:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 12px 24px rgba(210, 143, 176, 0.5);
}
.chat-toggle-button:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform .1s ease, box-shadow .1s ease;
}

/* ── チャットウィンドウ ── */
.chat-box {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 360px;
	height: 65vh;
  max-width: calc(100vw - 24px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: none;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}
.chat-box.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  animation: cbFadeUp 0.35s ease forwards;
}
.chat-box.closing {
  animation: cbFadeDown 0.25s ease forwards;
}
@keyframes cbFadeUp {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes cbFadeDown {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(14px) scale(0.95); }
}

/* ── ヘッダー ── */
.chat-header {
  background: linear-gradient(90deg, #d28fb0, #e8a6c3);
  color: #fff;
  padding: 12px 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  flex-shrink: 0;
}
.chat-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.chat-header-info { flex: 1; min-width: 0; }
.chat-header-name {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-header-sub {
  font-size: 11px;
  opacity: .85;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  font-weight: normal;
}
.chat-online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4fe08c;
  flex-shrink: 0;
}
.chat-header button {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 15px;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.chat-header button:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* ── メッセージ一覧 ── */
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 10px;
  font-size: 14px;
  background: #fceef3;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 200px;
  max-height: 360px;
}
.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-track { background: transparent; }
.chat-body::-webkit-scrollbar-thumb {
  background: rgba(210, 143, 176, 0.35);
  border-radius: 4px;
}

/* ── アバター付きボット行 ── */
.bot-msg-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  align-self: flex-start;
  animation: msgIn 0.25s ease;
}
.bot-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f7c9da;
  border: 1.5px solid #e8a6c3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.bot-msg-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: calc(85% - 40px);
}
.sender-name {
  font-size: 10px;
  color: #b07a95;
  padding-left: 4px;
}

/* 吹き出し */
.bot-message {
  background: #fff;
  padding: 9px 13px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  border: 0.5px solid #f0ccd9;
  margin-bottom: 0;
  color: #a85b7c;
  word-break: break-word;
  line-height: 1.6;
  font-size: 13.5px;
}
.user-message {
  background: #d28fb0;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 0;
  color: #ffffff;
  animation: msgIn 0.25s ease;
  max-width: 85%;
  align-self: flex-end;
  word-break: break-word;
  line-height: 1.6;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* リンク */
.chat-body a {
  color: #c26789;
  font-weight: bold;
  text-decoration: underline;
  transition: all 0.3s ease;
}
.chat-body a:hover {
  color: #a05d77;
  background-color: #f0dce6;
  padding: 2px 4px;
  border-radius: 4px;
  text-decoration: none;
}

/* テーブル */
.chat-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0;
  font-size: 14px;
  background-color: #fff;
  border: 1px solid #ccc;
}
.chat-body th {
  background-color: #d28fb0;
  color: white;
  padding: 8px;
  border: 1px solid #ccc;
  text-align: center;
}
.chat-body td {
  padding: 8px;
  border: 1px solid #ccc;
  text-align: center;
}

/* typing indicator */
.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 2px;
}
.typing-indicator::before,
.typing-indicator::after,
.typing-indicator span {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d28fb0;
  animation: cbDot .9s infinite;
}
.typing-indicator::after { animation-delay: .18s; }
.typing-indicator span   { animation-delay: .36s; }
@keyframes cbDot {
  0%, 80%, 100% { opacity: .2; }
  40%           { opacity: 1;  }
}

/* クイックリプライ */
.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 10px 10px;
  background: #fceef3;
}
.chat-qr-btn {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 14px;
  border: 1px solid rgba(210, 143, 176, 0.4);
  background: #fff;
  color: #c26789;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
  font-family: inherit;
}
.chat-qr-btn:hover {
  background: #fceef3;
  border-color: #d28fb0;
}

/* ── 入力エリア ── */
.chat-input {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px 10px;
  border-top: 1px solid #f0d5e2;
  background: #fff;
  flex-shrink: 0;
}
.chat-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.chat-input input[type="text"],
#userInput {
  flex: 1;
  border: 1px solid #e8c4d8;
  padding: 9px 14px;
  font-size: 14px;
  border-radius: 22px;
  outline: none;
  font-family: inherit;
  background: #fff9fb;
  color: #4a2535;
  transition: border-color .15s, background .15s;
  min-height: 38px;
}
.chat-input input[type="text"]:focus,
#userInput:focus {
  border-color: #d28fb0;
  background: #fff;
}
.chat-input input[type="text"]::placeholder,
#userInput::placeholder { color: #d4aec0; }

.chat-send-btn,
.chat-input button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(90deg, #d28fb0, #e8a6c3);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .2s ease, box-shadow .2s ease;
  padding: 0;
  color: #fff;
  font-size: 15px;
}
.chat-send-btn:hover,
.chat-input button:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(210, 143, 176, 0.5);
}
.chat-send-btn:active,
.chat-input button:active { transform: scale(.95); }

.chat-input-hint {
  font-size: 10.5px;
  color: #d4aec0;
  text-align: center;
  line-height: 1;
}

/* ── モバイル対応 ── */
@media screen and (max-width: 768px) {
  .chat-box {
    width: calc(100vw - 16px);
    max-height: 80vh;
    left: 8px;
    right: 8px;
    bottom: 72px;
    border-radius: 10px;
  }
  .chat-toggle-button {
    bottom: 12px;
    right: 10px;
    padding: 10px 18px;
    z-index: 1000;
  }
  .chat-body {
    max-height: calc(80vh - 160px);
  }
  .bot-message img,
  .chat-body img { width: 100%; height: auto; }
}
/* ── WEB予約固定バー ── */
.reservation-bar {
  padding: 10px 12px 12px;
  background: #fff;
  border-top: 1px solid #f0d5e2;
  flex-shrink: 0;
}
.reservation-btn {
  display: block;
  width: 100%;
  padding: 11px;
  background: linear-gradient(90deg, #d28fb0, #e8a6c3);
  color: #fff;
  font-size: 13.5px;
  font-weight: bold;
  text-align: center;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: .04em;
  transition: opacity .2s ease, transform .2s ease;
}
.reservation-btn:hover {
  opacity: .88;
  transform: translateY(-1px);
	color: #fff;
}
.reservation-btn:active {
  transform: translateY(0);
  opacity: 1;
}

/* 著者情報 */
.supervisor-box {
  margin-top: 40px;
  padding: 20px;
  background: #f8f8f8;
  border-left: 5px solid #3498db;
  font-size: 14px;
  line-height: 1.6;
}

.supervisor-box strong {
  font-weight: bold;
}

.supervisor-box br {
  margin-bottom: 8px;
}

.supervisor-box span {
  display: block;
  margin-bottom: 5px;
}

.supervisor-image img {
  width: 150px; /* 画像サイズ調整 */
  height: auto;
  border-radius: 50%; /* 画像を丸く表示 */
  border: 3px solid #3498db; /* 画像の枠を追加（任意） */
  display: block;
  margin-bottom: 20px;
}

/*----------------------------------------- デンタルローン -----------------------------------------*/
  .loan-rep{
    --grid-bg: #fcf3f5;                    /* セクション全体の地色（ピンク系） */
    --grid-line: rgba(197,148,160,.10);    /* 升目ライン（濃さは .08〜.14で調整） */
    --ink: #3a3a3a;                        /* 本文色 */
    --muted: #6d7280;                      /* 補足色 */
    --blue-grad-top: #4a8cf0;              /* ラベル青（必要ならピンクに変更可） */
    --blue-grad-bot: #2f6fd0;
    --sparkle: #ffd86b;                     /* きらめき黄色 */
    --note: #fff5c9;                        /* 注意メモ背景 */
    --note-line: #ffe7a3;
    --table-line: #e9edf6;
    --soft-card: #ffffff;
    --accent84: #fff3d8;                    /* 84回セルの淡黄 */
  }
  
  /* セクション全体に薄い升目を敷く */
.loan-rep{ position:relative; padding: 0 0 50px;}
  .loan-rep::before{
    content:"";
    position:absolute; inset:0; z-index:0; pointer-events:none;
    background:
      repeating-linear-gradient(0deg,   var(--grid-line) 0 1px, transparent 1px 26px),
      repeating-linear-gradient(90deg,  var(--grid-line) 0 1px, var(--grid-bg) 1px 26px);
  }
  .loan-rep > *{ position:relative; z-index:1; }
  
  /* バナー（背景は透明化して、全体方眼を見せる） */
  .loan-rep__banner{
    position: relative;
    margin: 24px 0 18px;
    padding: 32px 16px 18px;
    border-radius: 14px;
    border: 1px solid transparent; /* 目立たせない */
    text-align: center;
  }
  .loan-rep__sparkle::before{ width:18px; height:18px; opacity:.95; }
  .loan-rep__sparkle::after{  width:8px;  height:8px;  opacity:.65; filter: blur(.2px); }
  .loan-rep__sparkle.is-left{ left:8%; top:14px; }
  .loan-rep__sparkle.is-right{ right:8%; top:14px; }  
  /* 本文レイアウト（左イラスト／右テキスト） */
  .loan-rep__body{
    display:grid; grid-template-columns: 1fr 1fr; gap: min(4vw,40px); align-items:start;
    max-width: 90%; margin: 18px auto 0; color: var(--ink);background: #fff;padding: 40px 30px;
  }
  @media (max-width: 900px){ .loan-rep__body{ grid-template-columns: 1fr; } }
  
  /* イラスト枠＋角飾り */
  .loan-rep__figure{
    position:relative; min-height: 280px; background: #fff; border-radius: 12px;
  }
  .loan-rep__figure img{ width:100%; height:100%; object-fit:contain; border-radius:12px; }
  .loan-rep__corner{ position:absolute; width:56px; height:56px; pointer-events:none; }
  .loan-rep__corner::before, .loan-rep__corner::after{
    content:""; position:absolute; background:#b77a5c; opacity:.6;
  }
  .loan-rep__corner.tl{ left:-10px; top:-10px; }
  .loan-rep__corner.tr{ right:-10px; top:-10px; }
  .loan-rep__corner.bl{ left:-10px; bottom:-10px; }
  .loan-rep__corner.br{ right:-10px; bottom:45px; }
  .loan-rep__corner.tl::before, .loan-rep__corner.bl::before{ width:1px; height:56px; left:0; }
  .loan-rep__corner.tl::after,  .loan-rep__corner.tr::after{ height:1px; width:56px; top:0; }
  .loan-rep__corner.tr::before, .loan-rep__corner.br::before{ width:1px; height:56px; right:0; }
  .loan-rep__corner.bl::after,  .loan-rep__corner.br::after{ height:1px; width:56px; bottom:0; }
  
  /* 右側テキスト */
  .loan-rep__cap{
    margin:0 0 10px; font-weight:700; font-size: clamp(18px,2vw,22px);
    padding-bottom:10px; border-bottom: 2px dotted #cfd6e3;margin-top: 30px;
  }
  
  /* チェックリスト（ピンクのチェック） */
  .loan-rep__checks{
    list-style:none; margin: 12px 0 10px; padding:0; display:grid; gap:10px;
    font-size: clamp(14px,1.6vw,16px);
  }
  .loan-rep__checks li{ position:relative; padding-left:34px; }
  .loan-rep__checks li::before{
    content:""; position:absolute; left:0; top:.2em; width:18px; height:18px;
    border:2px solid #e7b4c3; border-radius:3px; background:#fff;
  }
  .loan-rep__checks li::after{
    content:""; position:absolute; left:4px; top:7px; width:10px; height:6px;
    border-left:3px solid #e48ea6; border-bottom:3px solid #e48ea6; transform: rotate(-45deg);
  }
 .loan-rep__checks li b {
    color: #c05a6d;
    font-size: 1.2rem;
}
  
  /* 注意メモ（薄黄） */
  .loan-rep__memo{
    background: var(--note); border:1px solid var(--note-line);
    padding:12px; color:#4b4b4b; font-size:14px; margin: 8px 0 14px;
  }
  
  /* 料金表（84回セルを淡黄で強調） */
  .loan-rep__table{
    width:100%; border-collapse:separate; border-spacing:0;
    background: var(--soft-card); border:1px solid var(--table-line); overflow:hidden;
    font-size: clamp(13px,1.4vw,15px);
  }
  .loan-rep__table th, .loan-rep__table td{ padding:10px 12px; border-bottom:1px solid #f0f3f8; text-align:center; }
  .loan-rep__table thead th{ background:#f7faff; font-weight:700; }
  .loan-rep__table tbody th{ background:#fbfdff; text-align:left; white-space:nowrap; }
  .loan-rep__table .is-84{ background: var(--accent84); }
  
  /* CTA（丸ボタン） */
  .loan-rep__cta{ margin-top:14px; text-align:center; }
  .loan-rep__btn{
    display:inline-block; text-decoration:none; font-weight:700; padding:12px 18px; border-radius:999px;
    border:1px solid #7aa4e6;
    background: linear-gradient(180deg,#b9d2ff 0%,#8ab2f4 45%,#6a96e6 100%);
    color:#fff; box-shadow: 0 8px 18px rgba(106,150,230,.18);
  }
  .loan-rep__btn:hover{ filter:brightness(1.03); color: #fff;}
  .loan-rep__fine{ font-size:12px; color: var(--muted); margin-top:6px;text-align: left;}
  
