/*------------------- 共通 -------------------*/
p { 
	font-size: 0.9rem;
	line-height: 180%;
	font-family: 'Noto Serif JP', serif;
	color: #5b4633;
}
.spimg {
  padding: 10px;
}
section {
  padding: 40px 0;
}
/*------------------- ヘッダー -------------------*/

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); /* ホバー時に背景色を少し濃くする */
}


/*------------------- ファーストビューブロック -------------------*/
/* .main-visual {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 1;
  transition: opacity 2s ease-in-out;
}
.background-image {
  background-color: #fef6f6;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.background-image.active {
  opacity: 1;
  z-index: 2;
}

.image1 {
  background-image: url('../images/main.png');
}

.image2 {
  background-image: url('../images/main2.png');
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #dddddd29;
  z-index: 3;
} */

/* キャッチコピー */
.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: 768 / 1106;
  background-image: url('../images/spmain.png');
  background-size: cover;
  background-position: center;
}

.implant-vertical-section {
	font-family: 'Noto Serif JP', serif;
	color: #333;
	max-width: 400px;
	margin: 0 auto;
}

.top-banner {
  background-color: #B7646A;
  color: #fff;
  text-align: center;
  padding: 6px 12px;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.implant-vertical-text {
  writing-mode: vertical-rl;
  text-align: center;
  padding-left: 1rem;
}
.firstdiv {
  position: relative;
  height: 275px;
}
.firstdiv p {
  font-size: 1.7rem;
    writing-mode: vertical-rl;
    position: absolute;
    top: 75px;
    right: 10px;
    line-height: 1.5;
    height: 350px;
}

.diagnosis-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  writing-mode: horizontal-tb;
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  width: fit-content;
  position: absolute;
  top: 50px;
  right: 78px;
}

.diagnosis-team .cross {
  color: #d36666;
  font-size: 4.4rem;
  font-weight: 100;
  line-height: 0.5;
}
.diagnosis, .team {
  font-size: 1.3rem;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #907F80;
  padding: 1.5rem 0.6rem;
  writing-mode: vertical-rl;
  -webkit-text-orientation: upright;
}

.implant-points {
  writing-mode: horizontal-tb;
  list-style: none;
  padding: 0;
  margin-top: 8rem;
}

.implant-points li {
  background-color: #fef6f6;
  margin-bottom: 10px;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 1rem;
  line-height: 1.5;
}

.implant-points span {
  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);
}
/*-------------------------------------- オールオンフォーブロック --------------------------------------*/
.allon4-section {
  background-repeat: repeat;
  background-size: 200px auto;
  padding: 40px 0;
  font-family: 'Noto Serif JP', serif;
}

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

.allon4box {
  background: #fff;
  padding: 30px 10px;
  margin: 10px;
  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: block;
}

.allon4-heading {
  width: 100%;
  margin-bottom: 20px;
  text-align: left;
}

.allon4-sub-title {
  position: relative;
  font-size: 1.2rem;
  font-weight: 600;
  color: #938068;
  margin-bottom: 20px;
}

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

.allon4-heading p {
  line-height: 1.7;
}

.allon4-description {
  background: #f2eee1;
  padding: 30px 15px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.allon4-description .underline {
  border-bottom: 2px solid #f7d226;
  text-decoration: none;
}

.allon4flex .sp {
  display: block;
  width: 65%;
  height: auto;
  margin: 20px auto;
}

.allon4flex .pc {
  display: none;
}


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

/*-------------------------------------- 特徴ブロック --------------------------------------*/
/* .leading-clinic {
    font-family: 'Noto Serif JP', serif;
  color: #f2f2f2;
  background-image: url(../images/featureimg.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
  min-height: 100vh;
} */
section.leading-clinic {
  background: url(../images/koisspbg.png) no-repeat top center / 100%, url(../images/reasonbgbottom.png) no-repeat bottom center / 100%, #fff;
  padding: 11.6vw 0 8.4vw;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 4vw;
}


.hero {
  position: relative;
  width: 100%;
  /* height: 400px; */
  overflow: hidden;
}

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

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

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

.hero-text h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #5b4633;
  /* text-align: center; */
}
.hero-overlay .pttl {
  line-height: 1.3;
  text-align: center;
  font-size: 20px;
  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: 4vw 5.2vw 4vw 5.067vw;
  padding: max(1.071vw, 13px) 0 max(.857vw, 11px);
  background-color: rgba(255, 255, 255, .9);
}

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: 0 20px; */
  color: #4b3b2b;
  width: 94%;
  /* max-width: 1200px; */
  margin: 0 auto;
}

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

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

.point img {
  border: 1px solid #e8d9c1;
    width: 50%;
    padding: 0 0 0 10px;
    margin: auto 0;
}

.pointtxt {
  margin: 0 10px;
}

.point h3 {
  /* position: absolute; */
	top: 12px;
	right: 5px;
	font-size: 0.7rem;
	box-shadow: 4px 4px 4px rgba(184, 169, 142, .25);
	padding: 0.1rem;
	background-color: #dbb1b0;
	color: #473a34;
	margin: 10px 0 10px -107px;
}
.point p{
  font-size: 0.58rem;
  margin: 10px 0 0;
}

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

/*-------------------------------------- 特徴ブロックここまで --------------------------------------*/
/*------------------------------------- 歯科医を選ぶために --------------------------------------*/
.implantdoc .dream-ttlbloc {
  padding: 0;
}
.implantdoc .mw1200 {
  width: 100%;
}

.treatment-section {
  display: flex;
  flex-direction: column;
  gap: 50px;
  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("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: 100%;
}

.card-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding: 30px 30px 0;
  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: 1.2rem;
  color: #4b3b2b;
  text-align: center;
  padding: 35px 0;
}

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

.bg-inner2 h3 span {
  font-size: 1.8rem;
  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: 1rem;
  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: 0 20px 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: ' →';
}


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


/*-------------------------------------- 症例ブロック --------------------------------------*/
.case-slider {
  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;
  padding: 7.2vw 5.4vw 1vw;
  margin: 0 auto;
}
/* 見出し */
.case-header {
  text-align: center;
  margin: 20px 0;
  padding: 0;
  color: #5b4633;
}

.case-main {
  font-size: 1.5rem;
  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: 2rem;
  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 {
  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;
}

.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;
}
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: 0.5rem;
  font-weight: bold;
  text-align: center;
  background-color: #ffffff;
  padding: 2px 0;
  border-radius: 20px;
  display: inline-block;
  width: 50px;
  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: 46%;
  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: 0.625rem;
  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;
}



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


/*------------------------------------- 特徴キャッチコピーブロック --------------------------------------*/
.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(../images/bg1.png) no-repeat right top;
  background-size: 100% auto;
}
.feature-box2::before {
  background: url(../images/bg2.png) no-repeat right top;
  background-size: 100% auto;
}
.feature-box3::before {
  background: url(../images/bg2-3.png) no-repeat right top;
  background-size: 100% auto;
}
.feature-box2 {
  position: relative;
  background: url(../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;
  }
  .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(../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(../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(../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(../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(../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;
}
}

@media screen and (max-width:768px) {
.team-num img {
  width: 60px;
}
.team-title h2,
.team-title p{
  font-size: 25px;
}
.team-desc {
  padding:15px 5px;
  margin:0;
  width:100%;
  font-size: 15px;
}
.team-title h2{
  padding: 0;
}
}
@media screen and (max-width:543px) {
.team-title h2,
.team-title p{
  font-size: 19px;
}
.team-item-list{
  flex-direction: column; 
      justify-content: center;
      align-items: center; 
      row-gap: max(3.714vw, 48.286px); 
      column-gap: 0; 
}
}
/*-------------------------------------- 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('../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%);
  }
}

/* -------------------比較表------------------- */
/* 見出し */
.comparisonttl {
  font-size: 1.5rem;
  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: 2rem;
  color: #e9568b;
}
.comparisonttl .allon4 {
  font-size: 2rem;
  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;
  align-items: center;
  margin-bottom: 0;
  position: relative;
  min-width: 900px;
  padding-left: 12%;
  justify-content: center;
  gap: 20%;
}

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

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

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

.circle.allon4 {
  background-color: #e7bdcb;
  color: #fff;
  font-size: 12px;
  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;
}


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

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

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

.text {
  font-weight: bold;
  font-size: 0.7rem;
}

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

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

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

.content .gold {
  color: #c1a753;
  font-weight: bold;
}
.header-row,
  .row {
    flex-wrap: nowrap;
    min-width: 100%; 
  }
  .label, .content {
    white-space: normal;
  }

/* -------------------比較ここまで------------------- */
/* -------------------流れ------------------- */
.implant-flow {
  padding: 0;
}
.flowbloc {
  padding: 0 10px;
  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: 10px;
  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;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

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

.flow-image {
}

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

/* ラベルの中央から下に向かう線 */
.flow-row:not(:last-child) .flow-label::after {
  content: "";
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 70px;
    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: 10px 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: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-top: 60px solid #F0EBE7;
}

.problem-section h2 {
  font-size: 1.5rem;
  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: 1.8rem;
  background: linear-gradient(135deg, #6a4e23, #a67c52, #8b5e3c); /* 明るめで強調された茶色のグラデーション */
  -webkit-background-clip: text; /* グラデーションを文字に適用 */
  -webkit-text-fill-color: transparent; /* 文字の色を透明にし、背景色で文字色を指定 */
}

.problem-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.8vw;
  padding: 2.8vw 2vw;
  margin: 6rem auto 0;

  /* background-color: #f4f1ec; */
}

.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: 1rem;
  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: 0.6rem;
  font-weight: 500;
  margin: 15px 0;
}

.view-more {
  display: inline-block;
  background-color: #938068;
  color: #fff;
  font-size: 0.6rem;
  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);
}

/* -------------------どんなことでお悩みですか？ここまで------------------- */

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

	選ばれる理由

==================================================================*/
/* 見出し */
.dream-ttlbloc {
  margin: 30px auto;
  padding: 0 10px;
}
.dreamttl {
  font-size: 1.5rem; 
  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: 1.2rem;
  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%,  rgb(250 245 248 / 90%) 80%, rgba(255, 255, 255, 1) 100%);
    z-index: 0;
    overflow: hidden;
} */

section.sedai {
  position: relative;
  background: url(../images/reasonspbg.png) no-repeat top center / 100%, url(../images/reasonbgbottom.png) no-repeat bottom center / 100%, #fff;
  padding: 11.6vw 0 8.4vw;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 4vw;
}

.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;
}
.reasonbg {
  background: #FAF5F6;
}

.sedai .dreamttl {
	font-size: 1.5rem;
}
.sedai .problemspan{
  font-size: 1.5rem;
}

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

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

.sedai .idx_inr {
  width: 100%;
/*   padding: 20px 10px 0; */
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: 100% 0
}

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

.sedai .idx_box {
  color: #2e2e2e;
  background-color: #fff;
  box-shadow: 3px 3px 5px rgba(162,162,162,.2);
  margin: 0 auto 0 0;
  padding: 20px 0;
}

.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_ttl {
  position: relative;
  font-size: 1.2rem;
  margin: 0 0 24px;
  border-bottom: 1px solid #977c4c;
  margin: 0 5vw 3.2vw;
  color: #69492a;
  padding-bottom: 10px;
  line-height: 1.4;
  text-align:center;
}
.sedai_ttl span{
  font-size: 1.4rem;
  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(../images/top/h-img.png);
  background-repeat: no-repeat;
}
.sedaittl02:before{
  background-image: url(../images/top/h-img2.png);
  background-repeat: no-repeat;
}
.sedaittl03:before{
  background-image: url(../images/top/h-img3.png);
  background-repeat: no-repeat;
}

.sedai_lead {
  display: flex;
  align-items: center;
  margin: 0 auto 15px 0;
}

.sedai_lead figure {
  flex: 1
}

.sedai .idx_lst {
  font-size: 15px
}
.sedai .idx_lst li {
	line-height: 1.3;
	font-size: 0.9rem;
}
.sedai .idx_lst li::before {
  content: "●"; 
  font-size: 1rem; 
  color: #C88E48; 
  position: relative;
  top: 3px;
  margin: auto 5px;
  line-height: 1.8;
}
/* .sedai01 li {
    background-image: url(../images/top/check.png);
    background-repeat: no-repeat;
    line-height: 1.3;
}
.sedai02 li {
  background-image: url(../images/top/check2.png);
  background-repeat: no-repeat;
  line-height: 1.3;
}
.sedai03 li {
  background-image: url(../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: 0.8rem;
}
.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(../images/dream01.png);
  background-repeat: no-repeat;
} */


.idx_gnr_01 .sedai_lead p {
  padding: 0 10px;
}

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



.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(../images/dream02.png);
  background-repeat: no-repeat;
} */

.idx_gnr_02 .sedai_lead p {
  padding: 0 10px;
}

.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(../images/dream03.png);
  background-repeat: no-repeat;
} */


.idx_gnr_03 .sedai_lead p {
  padding: 0 10px;
}

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

.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(../images/dream04.png);
  background-repeat: no-repeat;
} */
.idx_gnr_04 .sedai_lead p {
  padding: 0 10px;
}

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

.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(../images/dream05.png);
  background-repeat: no-repeat;
} */
.idx_gnr_05 .sedai_lead p {
  padding:0 10px;
}

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

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

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



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

/* .btn03 {
  position: relative;
} */

.btn03.sedaibtv01 {
  margin: auto;
  padding: 0 10px;
}
.btn03 a {
  display: inline-block;
  position: relative;
  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 {
  font-size: 0.7rem;
	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-inner .dream-ttlbloc {
  padding: 0;
}
.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;
}

.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-direction: column;
  justify-content: center;
  gap: 30px;
  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.2rem;
    margin: 30px 0 10px;
    color: #5b4633;
    text-align: center;
	line-height: 1.5;
}

.case-box h3 span {
    font-size: 1.5rem;
    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-10-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;
	margin: 10px 0;
}

.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 {
    background-color: #ffffffde;
    max-width: 858px;
    margin: 0 auto 0 0;
    padding: 15px;
}
.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;
}
.accuracy02 {
    background-image: url(https://sakurashika-clinic.jp/wp-content/uploads/2025/07/accuracy02-scaled.png);
    background-repeat: no-repeat;
}
.accuracy03 {
    background-image: url(https://sakurashika-clinic.jp/wp-content/uploads/2025/07/accuracy03.png);
    background-repeat: no-repeat;
}
.accuracy04 {
    background-image: url(https://sakurashika-clinic.jp/wp-content/uploads/2025/07/特徴背景-10-1-scaled.png);
    background-repeat: no-repeat;
}
.accuracy05 {
    background-image: url(https://sakurashika-clinic.jp/wp-content/uploads/2025/07/accuracy04-scaled.png);
    background-repeat: no-repeat;
}

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

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

==================================================================*/
.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: 2em;
    /* height: 45.2em; */
    margin: 0 0 2.4em;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100% auto;
    background-image: url(../images/ttlbg.png);
}
.attempt h2 span {
  display: block;
  position: relative;
  white-space: nowrap;
  color: #fff;
  /* font-size: 1.4rem; */
  height: fit-content;
  padding: .3em .36em;
  line-height: 1;
  letter-spacing: .08em;
  background: #e4a27699;
  top: 15px;
}
span.problemspan.size {
  font-size: 3rem;
}
h3.dreamttl.h3 {
  font-size: 1.2rem;
}

.service-offerings {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding: 0 10px;
  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 16.6em, #faf6ee 26.6em, #faf5ee 21em, #fff 16em, #fff 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-text {
  flex: 1;
}

.service-text h3 {
  color: #5b4633;
  font-size: 1.1rem;
  font-weight: 600;
  margin:15px 0
}

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

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

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

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


  .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;
  width: 48%;
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 10px 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;
}

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

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

	無料相談

==================================================================*/
.consultsection {
  padding: 0;
}
.consult-block {
  background: repeating-linear-gradient(
  135deg,
  #fdeef1,
  #fdeef1 2px,
  #fdf5f7 2px,
  #fdf5f7 4px);
  border: 1px solid #f4b6c2;
  padding: 10px;
}

.consult-inner {
  background: #ffffff8a;
  padding: 10px;
}

.consult-text {
  width: 100%;
}

.ja-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
  border-bottom: 1px solid #f1919a;
  padding-bottom: 10px;
  color: #69492a;
}
.consult-copy {
  margin: 10px 0;
}
.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 img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
/* ボタン */
.pinkbotttn {
	margin: 30px auto;
	text-align: center;
}
.cta-button {
  font-size: 0.6rem;
  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: 20px;
  background-size: 20px 20px;
  margin: 70px auto;
  padding: 0 10px;
}
.twocol-box {
  background-color: #fff5f7;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  width: 100%;
  padding: 20px 10px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

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

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

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

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

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

.simple-check-list {
  list-style: none;
  padding: 0;
  margin: 10px auto;
}

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

.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: 1.5rem;
  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: 1.5rem;
    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.1rem;
  margin-bottom: 20px;
  color: #69492a;
}

.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: 6px;
}

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

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


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

/* 固定ボタンラッパー（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: 80px;
	  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：右下に縦並びで表示 */
@media screen and (min-width: 768px) {
  .fixed-reservation-buttons {
	  bottom: 82px;
	  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%;
  }
}

/* ------チャットボット------ */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* トグルボタン */
.chat-toggle-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #d28fb0;
  color: #fff;
  padding: 12px 18px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

/* チャットウィンドウ */
.chat-box {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 600px;
  max-height: 80%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.chat-box.active {
  opacity: 1;
  pointer-events: auto;
  animation: fadeInUpZoom 0.5s ease forwards;
  height: 100vh;
  z-index: 20;
}

@keyframes fadeInUpZoom {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-header {
  background: linear-gradient(90deg, #d28fb0, #e8a6c3);
  color: #fff;
  padding: 12px 16px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.chat-header button {
  background: transparent;
  color: #fff;
  font-size: 18px;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background 0.3s;
}

.chat-header button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  font-size: 14px;
  background: #fceef3;
  scroll-behavior: smooth;
}

.chat-input {
  display: flex;
  border-top: 1px solid #ccc;
}

.chat-input input {
  flex: 1;
  border: none;
  padding: 10px;
  font-size: 16px;
  border-radius: 73px;
  border: 1px solid #ccc;
  margin: 5px;
}

.chat-input button {
  border: none;
  background: linear-gradient(90deg, #d28fb0, #e8a6c3);
  color: white;
  padding: 10px 15px;
  cursor: pointer;
}

.bot-message {
  background: #f7e5ec;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  animation: fadeInUp 0.3s ease;
  color: #a85b7c;
}

.user-message {
  background: #d28fb0;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  text-align: right;
  color: #ffffff;
  animation: fadeInUp 0.3s ease;
}

.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-top: 10px;
  margin-bottom: 10px;
  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::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 5px;
  background: #c26789;
  border-radius: 50%;
  animation: blink 1s infinite;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blink {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 1; }
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .chat-box {
    width: 100%;
    max-height: 80vh;
    left: 0;
    bottom: 10px;
    border-radius: 8px;
  }
  .chat-toggle-button {
    bottom: 70px;
    right: 5px;
    padding: 10px 18px;
    z-index:10;
  }
  .bot-message img {
    width: 100%;
  }
  .chat-box.active {
    bottom:64px;
  }
  .chat-input {
    z-index:500;
  }
}

/* 著者情報 */
.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;
}

