.iframe-wrapper {
    display: flex;
    justify-content: center;
    padding: 20px 0;
/*     margin-bottom: 40px; */
}
.iframe-inner {
    width: 100%;
    max-width: 580px;
    position: relative;
    overflow: hidden;
}
.iframe-inner iframe {
    width: 100%;
    height: 210px;
    border: none;
}
/*-------------------共通 -------------------*/
p {
  font-size: 0.8rem; 
  line-height: 180%;
  font-family: 'Noto Serif JP', serif;
  color: #5b4633;
}
/*------------------- ヘッダー -------------------*/

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: 0;
}
header .h_left .h_logo img {
	margin-left: 0;
	width: 50%;
}
header .h_left .h_logo span {
	display: block;
	width: 54%;
	margin-bottom: 1em;
}
header h1 {
	font-size: 88%;
	letter-spacing: normal;
	background: rgba(255, 255, 255, 0.6);
	margin: 0 -60px 0 0;
	writing-mode: vertical-rl;
	text-orientation: upright;
	position: absolute;
	height: 330px;
	right: -10px;
	top: 126px;
	padding: 8px;
}

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 {
	background: #ffffff8a;
	margin: auto;
}
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: 80%;
	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;
}
.spnone {
  display: none;
}

}
/*------------------- メニュー -------------------*/
/* ハンバーガーアイコン */
.drawer-hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #bfa873;
  width: 60px;
  height: 60px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10001;
  cursor: pointer;
}
.drawer-hamburger-icon {
  width: 24px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: all 0.3s ease;
  top: 8px;
}
span.menu_txt {
  top: 12px;
  position: relative;
}
.drawer-hamburger-icon::before,
.drawer-hamburger-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}
.drawer-hamburger-icon::before {
  top: -8px;
}
.drawer-hamburger-icon::after {
  top: 8px;
}
.menu_txt::before {
  content: 'MENU';
  font-size: 10px;
  margin-top: 6px;
}
#drawer-checkbox:checked + #drawer-icon .drawer-hamburger-icon {
  background: transparent;
}
#drawer-checkbox:checked + #drawer-icon .drawer-hamburger-icon::before {
  transform: rotate(45deg);
  top: 0;
}
#drawer-checkbox:checked + #drawer-icon .drawer-hamburger-icon::after {
  transform: rotate(-45deg);
  top: 0;
}
#drawer-checkbox:checked + #drawer-icon .menu_txt::before {
  content: 'CLOSE';
}

/* メニュー全体 */
#drawer-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
	position: fixed; 
	top: -100px; 
	left: -9999px;
}
#drawer-content {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fffdf7;
  z-index: 10000;
  overflow-y: auto;
  padding: 2rem 1rem;
}
#drawer-checkbox:checked ~ #drawer-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ベース装飾 */
.drw_index {
  font-weight: bold;
  font-size: 1.2em;
  margin: 1.5em 0 0.5em;
  color: #c4a762;
}
/* ul.com_sp_menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8em 1.5em; 
  padding-left: 0;
  list-style: none;
} */

.com_sp_menu li,
.com_medical li {
	margin-bottom: 0.6em;
	font-size: 1rem;
}
li.littl {
	font-size:1.1rem;
	font-weight:600;
}
.com_sp_menu li:not(.littl),
.com_medical li:not(.littl) {
  position: relative;
  padding-left: 1.4em; /* マーク分の余白 */
  list-style: none;
}

.com_sp_menu li:not(.littl)::before,
.com_medical li:not(.littl)::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 0.5em;
  height: 0.5em;
  background-color: #c4a762;
  border-radius: 50%;
}

.tel {
  font-size: 1em;
  margin-top: 1.5em;
}

.drw_info .schedule-table{
  margin: 10px 0;
}
.telp {
  font-size: 1.5rem;
}
.telp i {
  margin: 0 5px 0 0;
}
.web-reserve a {
  display: inline-block;
  font-size: 1.2rem;
  margin-top: 0.5em;
  background: #c4a762;
  color: #fff;
  padding: 0.6em 1.2em;
  border-radius: 30px;
  text-decoration: none;
}

/*------------------- ファーストビューブロック -------------------*/
.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;
  opacity: 0;
  z-index: 1;
  transition: opacity 2s ease-in-out; /* ふわっとフェードする */
}

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

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

.image2 {
  /* background-image: url('../images/main2.png'); */
  background-image: url('../images/main3sp.png');
	background-position: -5px -130px;
}

.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: flex-start;
  justify-content: center;
  /* text-align: center; */
  overflow: hidden;
  z-index: 4;
	top: 40%;
  padding: 20px 10px;
}

.firsttxt {
  text-align: center;
  font-size: 1.2rem;
}
.secondtxt {
	font-size: 1.2rem;
	background: #ffffff8a;
	margin: 20px 0;
}

.bgwrap {
  position: relative;
  display: inline-block;
}

.bgwrap .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: 2rem;
    line-height: 1.2;
}

.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: 1.5rem;
}

/* 数字 */
.appeal {
  /* padding: 0 45px; */
  margin: 50px 0;
  display: flex;
  flex-direction: column;
}
.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: 0.9rem;
  line-height: 1.2;
  padding: 0.5em 1px;
}

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

.appeal dd {
  font-size: 1.4rem;
  padding: 0 0 0 0.4em;
  display: flex; /* これでdd内の要素を横並びにする */
  align-items: flex-end;
  margin: 0 0 0.5rem;
}

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

.appeal dd em {
  font-size: 3rem;
  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); /* テキストシャドウ */
}

.appeal .minitxt {
  font-size: 1.4rem;
  margin-left: 5px;
}

.white {
  color: white;
}
.tel {
  font-size: 30px;
  color: #363636;
}


.kkm {
  width: 100%;
  aspect-ratio: 524 / 210;
  min-height: max(15vw, 195px);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url(../images/mainboxbg.png);
/*   margin: 50px 0 0; */
  padding: 0.8em 0px 0px 10.1em;
  text-align: left;
}
.kkm em {
  margin: 0 5px;
  color: #c02828;
}
.kkm ul {
  display: grid;
  margin: 25px 0;
}
.kkm li {
  margin: 5px 0;
}

.kkm li span {
  display: inline-block;
  font-size: 1.2rem;
  padding-left: 1.2em;
  background-repeat: no-repeat;
  background-size: 1.1em;
  background-image: url(../images/check.png);
  border-bottom: 1px solid rgb(97, 97, 97);
  background-position: 0px 1em;
  margin: 0 0 5px;
  background-position: left center;
}
.kkm li i {
  font-size: 88.6%;
}
.kkm p {
  font-size: 88.6%;
  text-align: right;
  margin-right: 2em;
}

/*-------------------------------------- 対比ブロック --------------------------------------*/
.warranty-banner {
  position: relative;
  overflow: hidden;
	padding-top: 70px;
	padding-bottom: 0;
}

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

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

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

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

.warranty-body {
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.05) 0,
    rgba(0, 0, 0, 0.05) 1px,
    transparent 1px,
    transparent 6px
  );
}
.warranty-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.paynumber {
  color: #977c4c;
  font-size: 1rem;
  font-weight: bold;
  margin: 0 5px;
}
.paynumber2 {
  color: #977c4c;
	font-size: 1.1rem;
  font-weight: bold;
  margin: 0 5px;
}

.warranty-image img {
  max-width: 80px;
  height: auto;
  position: absolute;
  top: 35px;
  right: -10px;
  z-index: 3;
}

/* リボン中央 */
.warranty-center-ribbon {
  position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%) rotate(-10deg);
    background: linear-gradient(135deg, #cdc7a7, #dbcb9f);
    color: #fff;
    font-size: 1rem;
    padding: 10px;
    z-index: 2;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Noto Serif JP', serif;
}
/* ザイゴマブロック */
.zygomatic-banner {
  padding: 7px;
	position:relative;
}

.zygomatic-container {
	max-width: 65%;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #69492a;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 20px;
}

.zygomatic-title p {
  font-size: 1.4rem;
  font-weight: bold;
  color: #69492a;
  margin-bottom: 15px;
}

.zygomatic-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.zygomatic-text {
  flex: 1;
}

.zygomatic-text p {
  margin: 5px 0;
}

.zygomatic-image img {
	max-width: 80px;
	height: auto;
	position: absolute;
	top: 35px;
	right: 82px;
	z-index: 3;
}

/*-------------------------------------- 対比ブロック --------------------------------------*/
/*-------------------------------------- 特徴ブロック --------------------------------------*/
.leading-clinic {
	background: url(../images/spfeatureimg2.png) no-repeat top center / 100%, url(../images/spreasonbgbottom.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: auto;
  overflow: hidden;
}

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

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

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

.hero-text h2 {
	font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #5b4633;
  text-align: center;
}
.hero-overlay .pttl {
  font-size: 1.2rem;
  line-height: 1.3;
  text-align: center;
  letter-spacing: .08em;
  font-feature-settings: "palt";
  padding: 10px;
}

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

.hero-text {
  flex: 1;
}

.nomalverticalout {
  display: flex;
  justify-content: center;
  margin:20px 0;
  background-color: rgba(255, 255, 255, .9);
}

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

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

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

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

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

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

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

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

.point .gold {
  color: #CD9757;
  font-size: 1.2rem;
  margin: 0 5px;
}

/*-------------------------------------- 特徴ブロックここまで --------------------------------------*/
/*-------------------------------------- implantメーカーブロック --------------------------------------*/
.manufacturer_wrap .first_box{
width: 95%;
margin: 0 auto;
}
.manufacturer_wrap .first_box .ttl_box {
  margin: 30px 0;
  text-align: center;
}
.manufacturer_wrap .first_box h2 {
  font-size: 1.2rem;
  color: #fff;
  line-height: 1.4;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6);
  position: relative;
}
.manufacturer_wrap .first_box .sab_ttl {
  font-size: 0.8rem;
  color: #fff;
}
.manufacturer_wrap .first_box .txt_box p{
  color: #fff;
  text-align: left;
  font-size: 0.8rem;
}
.manufacturer_wrap .first_box {
  position: relative;
  color: #FFF;
  background: #897a4c url(../images/implant-manufacturer.png) no-repeat center center;
  background-size: cover;
  padding: 60px 5px;
  box-shadow: 0px 40px 50px -60px rgb(0 0 0 / 20%);
}

.manufacturer_wrap .second_box {
    /* height: max(122.214vw, 1588px); */
    margin-top: max(4.143vw, 53px);
    background: url(../images/manufacturerbox2.png) center top no-repeat;
    background-size: 100% auto;
}

.manufacturer_wrap .second_box .ttl_box {
  margin: 30px 0;
  text-align: center;
}
.manufacturer_wrap .second_box .ttl_box h3{
  display: inline-block;
  position: relative;
  font-size: 1.3rem;
  margin-top: 10px;
  background: linear-gradient(135deg, #9b7530, #cbb471, #977c4c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}
.manufacturer_wrap .second_box .manufacturer_flex {
  display: flex;
  flex-direction: column;
  background-color: #ffffffd1;
  width: 95%;
  /* margin: 20px auto; */
  margin: 50px auto 20px;
}
.manufacturer_flex.reverse {
  flex-direction: row-reverse;
}
.manufacturer_flex .flex_txt .flex_txt_ttl {
  color: #fff;
  background-color: #bfa150c0;
  padding: 15px 5px;
  font-size: 1rem;
  margin-bottom: 20px;
}
.manufacturer_flex .flex_img {
  padding: 10px;
}
.manufacturer_flex .flex_txt {
  margin: auto 0;
  padding: 10px;
}
.manufacturer_flex .flex_txt ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}

.manufacturer_flex .flex_txt ul li {
  position: relative;
  padding-left: 1.8em;
  margin-bottom: 1em;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.manufacturer_flex .flex_txt ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1em;
  color: #69492a; /* トーンを合わせた茶色 */
  font-size: 1em;
}

.third_box .third_box1 {
  background: url(../images/thirdbg1sp.png) left top no-repeat;
  background-size: 100% auto;
  padding: 80px 15px 30px;
}
.third_box .third_box1 h3{
  font-size: 1rem;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6);
  padding: 50px 0;
}
.third_box .third_box1 h3 span {
  background-color: #5b4633c5;
  padding: 10px 5px;
  line-height: 3.2;
}
.third_box .third_box1 p {
  /* color: #fff; */
  width: 100%;
  padding: 0 0 50px;
}
.third_box .third_box2 {
  background: url(../images/thirdbg2sp.png) left top no-repeat;
  background-size: 100% auto;
  padding: 80px 15px 0;
}
.third_box .third_box2 h3{
  font-size: 1rem;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6);
  padding: 50px 0;
}
.third_box .third_box2 h3 span {
  background-color: rgba(91, 70, 51, 0.808);
  padding: 10px 5px;
  line-height: 3.2;
}
.third_box .third_box2 p {
  width: 100%;
}
/*-------------------------------------- implantメーカーブロックここまで --------------------------------------*/

/*-------------------------------------- オールオンフォーブロック --------------------------------------*/
.allon4-section {
  /* background: radial-gradient(circle at center, #eef3f8, #dce4ec); */
  /* background-image: url("your-hexagon-bg.svg"); */
  background-repeat: repeat;
  background-size: 200px auto;
  padding: 60px 20px;
  /* border: 1px solid #ddd; */
  font-family: 'Noto Serif JP', serif;
}

.allon4-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.allon4box {
  background: #fff;
  padding: 40px 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: flex; */
  position: relative;
}
.allon4-heading {
  text-align: left;
  margin-bottom: 40px;
}
/* h2 デザイン */
.allon4-main-title {
  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;
}
.ttlallon4 {
  font-size: 2rem;
  font-weight: 600;
}
.gold-underline {
  background: linear-gradient(180deg, transparent 70%, #f2e2a2 70%);
}
/* h3　デザイン */
.allon4-sub-title {
  position: relative;
  font-size: 1.8rem;
  font-weight: 600;
  color: #938068;
  margin-bottom: 30px;
  font-family: 'Noto Serif JP', serif;
}

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

.allon4-heading .lead {
  font-size: 1rem;
  line-height: 1.8;
  text-align: center;
}

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

.rightpx {
  margin-left: 10px;
}
.allon4flex img {
  width: 80%;
  margin: 0 auto;
}

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

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

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

/* -------------------比較表------------------- */
/* 見出し */
.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: #e98056;
}
.comparisonttl .allon4 {
  font-size: 2rem;
  color: #ff8f2b;
}
.comparisonttl .mini {
  font-size: 1.2rem;
}

.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: 15%;
  justify-content: center;
  gap: 2%;
}

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

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

.circle img {
  width: 90%;
  margin: auto;
}

.circle p {
	font-size:0.7rem;
}

.circle .allon4 {
  background-color: #e9e5e2;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  border: none;
}
.zaikoma p {
	font-size: 0.6rem;
	margin-left: -15px;
}

.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;
}

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

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

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

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

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

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

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

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

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

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

  

  .label, .content {
    white-space: normal;
  }
  .content {
    padding: 20px 10px;
    font-size: 13px;
    text-align: left;
  }
}


/*-------------------------------------- 症例ブロック --------------------------------------*/
.case-slider {
  background-image: url("../images/casebg.jpg"); 
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  /* background-attachment: fixed; */
  position: relative;
  padding: 60px 0;
  margin: 0 auto;
}
.case-slider::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: #e9e7dec4;
  z-index: 1;
}
.case-slider > * {
  position: relative;
  z-index: 2;
}

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

.case-main {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 400;
}

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


.case-main .highlight-line {
  display: inline-block;
  position: relative;
  font-size: 2rem;
  margin-top: 10px;
  background: linear-gradient(135deg, #9b7530, #cbb471, #977c4c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}




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

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

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

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

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

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

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

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

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

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

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

.case-text {
  background: #f9f5ef;
  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: #977c4c;
  padding: 0 5px;
  font-weight: bold;
}
.case-before-after p {
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  /* color: #fff; */
  background-color: #E1D6AB;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  width: 80px;
  margin: 0 auto 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.beforediv,
.afterdiv {
  position: relative;
}
p.before,
p.after {
  position: absolute;
  top: 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .case-info {
    padding: 10px;
  }

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

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

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

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

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

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

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

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

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

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

/* 見出し */
.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: 10px;
  border: 1px solid #dadada;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

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

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

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

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

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

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

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

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

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

/*------------------------------------- 特徴キャッチコピーブロック --------------------------------------*/
/* 背景 */
.catch {
  background: radial-gradient(circle, #fff 20%, #f0f0f0 80%);
  position: relative;
  z-index: 0;
}
.catchdiv {
  width: 90%;
  margin: 0 auto;
}

.catchout {
  padding: 15px;
  border: 1px solid #666;
}

.featureimg {
  margin: 0 auto;
}
.leftbox, .rightbox {
  width: 100%;
  margin: auto;
}

/* 基本スタイル */
.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;
}


/* 見出し */
h2.catchh2 {
  font-size: 1.5rem;
}
.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;
  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: 5px 0;
  font-size: 0.8rem;
}



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

/* ---------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;
}

/* 数字 */
.number {
  font-family: "Lora", serif;
  font-size: 10rem;
  color: #1F3A93;
  position: relative;
}

/* 背景の装飾テキスト */
.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;
  }
  .number {
    font-size: 4rem;
  }
  .title-container {
    font-size: 0;
  }
  .feature-box1 .feature-content {
    width: 100%;
    padding: 0;
  }
  .feature-box1::before {
    left: 0;
    width: 90%;
  }
  /* 選ばれる理由2つ目 */
  .feature-box2 .container {
    display: block;
  }
  .feature-box2 .feature-content {
    width: 100%;
  }
  .feature-box2 {
    padding: 0;
  }
    /* 選ばれる理由3つ目 */
    .featurebox {
      height: auto;
    }
    .feature-box3 .feature-content {
      width: 100%;
      padding-left: 0;
    }
  }

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

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

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

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

.reason {
  position: relative;
  /* margin-top: max(8.929vw, 116px); */
  padding: max(6.571vw, 85px) 0 0;
  background-image: url(../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; 
}
}

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

/* 見出し */
.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: 1300px;
  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: 10px;
}

.galleryttl {
  font-size: 2rem;
  text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
}

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

/* 左側のスライドショー */
.gallery-slideshow {
  position: relative;
  width: 100%;
  height: 200px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.gallery-slideshow::before {
  content: "";
    position: absolute;
    top: -10px;
    left: 10px;
    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;
  padding: 20px 0 0;
}


/* サムネイル画像 */
.gallery-thumbnails img {
  width: 100%;
  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 {
  transform: scale(1.1);
}

/* -------------------支払方法------------------- */
.paymentsec {
  background: linear-gradient(to bottom, #ffffff, #faf8f5);
    box-sizing: border-box;
    /* margin-top: max(7.64svw, 99.36px);
    margin-bottom: max(4.29svw, 55.71px);
    padding-bottom: max(3.21svw, 41.79px); */
    background-image: url(../images/paybg.png);
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
.payttl {
  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;
}
.payttl .mini {
  font-size: 1rem;
}

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

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

.paymark {
  display: flex;
  flex-direction: column;
}

.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%);
  }
}

/* シミュレーション */
.payment-simulation {
  /* text-align: center; */
  padding: 60px 10px;
  font-family: 'Noto Serif JP', serif;
}

.payment-title {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 30px;
  position: relative;
  text-align: center;
}

.payment-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: #aaa;
  margin: 10px auto 0;
}

.payment-box-wrapper {
  display: flex;
  justify-content: center;
  gap: 2%;
  margin: 40px auto;
}

.payment-box {
  background: #fff;
  width: 100%;
  border: 1px solid #eee;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  padding: 10px;
}

.payment-header {
  background: #E0D2AA;
  padding: 10px;
  font-size: 0.7rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #5b4633;
  text-align: center;
}

.paymentflex {
  display: grid;
  /* grid-template-columns: 0.5fr 1fr; */
  /* gap: 30px; */
}

.payment-image {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.paymenttxt  {
  margin: auto;
}

.payment-desc {
  font-size: 14px;
  margin: 10px 0 5px;
  color: #555;
}

.payment-amount {
  font-size: 0.8rem;
  color: #000;
  margin-bottom: 20px;
}

.payment-amount span {
  font-size: 1.5rem;
  color: #c02828;
  font-weight: bold;
  margin: 0 5px;
}

.payment-total {
  font-size: 14px;
  border-top: 1px solid #ccc;
  padding-top: 15px;
  color: #333;
}

.payment-note {
  font-size: 15px;
  color: #888;
  margin: 30px 0;
  line-height: 1.5;
}
.payment-button {
  text-align: center;
}
.payment-button a {
  display: inline-block;
  background: #333;
  color: #fff;
  padding: 12px 36px;
  font-size: 18px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s;
}

.payment-button a:hover {
  background: #888;
}
/*------------------------------------- 無料相談 --------------------------------------*/
section.consultation {
  background: url(../images/consultationsp.png) no-repeat top center / 100%;
    width: 100%;
    aspect-ratio: 750 / 1300;
    padding: 66px 0 0;
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin-bottom: 8.533vw;
}
.consult-block {
  width: 100%;
  padding: 0 3%;
  max-width: 1400px;
  margin: 0 auto;
}

h2.ja-title {
  line-height: 1.2em;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding-top: .2em;
  letter-spacing: .14em;
  margin-bottom: 25px;
  color: #5b4633;
}
p.en-title {
  width: 100%;
  line-height: 1em;
  font-size: 1rem;
  letter-spacing: .08em;
  border-bottom: 1px solid;
  box-sizing: border-box;
  padding-bottom: max(1.143vw, 15px);
  margin-bottom: max(1.929vw, 25px);
}
.consult-copy p {
  line-height: 1.5;
  letter-spacing: .14em;
  margin: 12px 0;
  font-size: 0.7rem;
}

.cta-button {
  display: inline-block;
  padding: 10px 30px;
  background: linear-gradient(to right, #f3a576, #df976b);
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-align: center;
  margin: 170px 0 0;
}

.cta-button:hover {
  color: #fff;
  background: linear-gradient(to right, #bfa13f, #d4af37); /* 逆方向で光るように */
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

/*------------------------------------- 無料相談ここまで --------------------------------------*/



/* -------------------グラフブロック------------------- */
/* 全体 */
.clinicgraph {
  /* position: relative;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(246, 240, 234, 0.9) 20%,  rgba(247, 243, 238, 0.89) 80%,  rgba(255, 255, 255, 1) 100%);
  z-index: 0;
  overflow: hidden; */
  /* margin: 0 0 9.4em; */
    /* padding: 11.6em 43em 0 3.8em; */
    aspect-ratio: 1400 / 933;
    background-repeat: no-repeat;
    background-position: 0 0;
    /* background-size: cover; */
    /* background-image: url(//orc-implant.jp/wp-content/themes/humanity/css/../images/top/num_bg.jpg); */
    background-image: url(../images/clinicgraphbg.png);
    color: #fff;
}
/* .clinicgraph::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;
}
.clinicgraph::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;
} */


/* フレックスボックス */
.graphflex {
  /* display: flex; */
  padding: 0;
  margin: 10% auto;
  max-width: 1300px;
}

/* 見出し */
.graphttl {
  font-size: 1.1rem;
    color: #69492a;
    line-height: 1.4;
    margin-bottom: 15px;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6);
    position: relative;
    margin: 30px 0;
    padding: 10px;
}

/* 実績ブロック */
.clinic-stats {
  padding: 40px 10px;
  font-family: 'Noto Serif JP', serif;
  color: #3a2e1e;
  /* max-width: 500px; */
  flex: 1 1 400px;
  border-radius: 12px;
  /* box-shadow: 0 4px 10px rgba(0,0,0,0.08); */
}

.stat-block {
  margin-bottom: 30px;
  text-align: center;
}

.stat-label {
  font-size: 1.2rem;
  font-weight: bold;
}

.stat-number {
  font-size: 1.5rem;
}

.stat-number strong {
  font-size: 2.3rem;
  color: #b58b2a;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 2%;
  margin: 0 auto;
  font-family: sans-serif;
}

.stat-item {
  background: #fff;
  border: 1px solid #e0d2aa;
  padding: 20px 10px;
  text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.stat-title {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #7a6b4e;
}

.stat-value p {
  font-size: 1.3rem;
  font-weight: bold;
  color: #b58b2a;
}

.unit {
  font-size: 1rem;
  color: #7a6b4e;
  margin-left: 4px;
}

/* グラフブロック */
.graph-container {
  color: #fff;
  padding: 20px 10px;
  position: relative;
  font-family: 'Noto Serif JP', serif;
  margin: auto;
}
.graph-info {
  position: absolute;
  top: 30px;
  left: 30px;
  font-size: 1.1rem;
  color: #fff;
}

.graph-info .years {
  font-size: 1.4rem;
  font-weight: bold;
}

.graph-info .highlight {
  color: #e6e15e;
  font-weight: bold;
  font-size: 1.8rem;
}

.graph-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 250px;
  gap: 10px;
}

.bar {
    width: 81px;
    background: linear-gradient(to top, #ad916f, #e1bc97);
    text-align: center;
    color: #fff;
    font-size: 13px;
    height: 0;
    transition: height 1s ease;
    position: relative;
}

.speech-bubble {
  position: absolute;
  top: 0;
  right: -10px;
  background: white;
  font-weight: bold;
  padding: 18px;
  border-radius: 50%;
  text-align: center;
  width: 150px;
  height: 150px;
  font-size: 13px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.speech-bubble p {
  margin: auto;
}

.speech-bubble .number {
  font-size: 24px;
  color: #a77e29;
}
.yearflex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  /* margin-top: 120px; */
  gap: 10px;
}
.yearflex p {
  color: #938068;
    font-size: 1rem;
    font-weight: bold;
}

.abs1 {
  position: absolute;
    z-index: 4;
    left: 0;
    top: 1%;
}
.arrowimg {
  position: absolute;
  z-index: 0;
  max-width: 380px;
  left: 0;
  top: 11%;
}
.abs2 {
  position: absolute;
  z-index: 6;
  width: 33%;
  max-width: 200px;
  right: 20px;
  top: 94px;
  transform: translate(10%, -65%);
}

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

.problem-section {
  padding: 0;
}

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

}

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

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

.problem-section h2 {
  font-size: 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: 2rem;
  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: 3%;
    margin-bottom: 30px;
    margin: 6rem auto;
    max-width: 1300px;
}

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

.problem-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.problembox {
  width: 100%;
  text-align: center;
}
.problembox h3 {
  color: #997962;
  font-size: 0.9rem;
  margin: 10px 0 20px;
  position: relative;
  text-align: center;
}
.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;
}


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

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

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

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

/* -------------------理想ブロック------------------- */

/* 見出し */
.dream-ttlbloc {
  margin: 30px 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: 25px;
}
.dream-ttlbloc p {
  text-align: center;
}
.dream-ttlbloc p .underline {
  text-decoration: none;
  border-bottom: 2px solid #bfa2509e;
}

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

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

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

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

.idx_box {
  display: block;
  position: relative
}

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

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

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

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

.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;
  padding: 0 5px 10px;
}
.sedai_ttl span{
  font-size: 1.3rem;
  color: #bfa250;
}
  

.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%;
}

.sedai_lead {
  display: flex;
  align-items: center;
  padding: 0 0 16px;
}

.sedai_lead p {
  display: block;
  /* text-align: center */
}

.sedai_lead p i {
  display: block
}

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

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

.sedai_lead figure {
  flex: 1
}

.sedai .idx_lst {
  font-size: 15px
}
.sedai .idx_lst li {
  line-height: 1.3;
  /* letter-spacing: -.06em */
}
.sedai .idx_lst li::before {
  content: "●";
  font-size: 20px;
  color: #C88E48;
  margin-right: 10px;
  position: relative;
  top: 3px;
}

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

.sedai .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 figure img {
  width: 109px;
  aspect-ratio: 109/149
}

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

.sedai_fig {
  width: 100%;
  margin: 10px 0;
}

.idx_gnr_01 .sedai_fig img {
  aspect-ratio: 366/272;
  padding: 10px;
}

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

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

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

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

/* .idx_gnr_04{
  background-image: url(../images/dream04.png);
  background-repeat: no-repeat;
} */


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

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

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

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

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

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

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

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

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

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

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

/*-------------------------------------- CV --------------------------------------*/
.cvttl {
  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;
}
.cvttl .mini {
  font-size: 25px;
}

.cvttlspan {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #6a4e23, #a67c52, #8b5e3c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logobloc img {
  margin: 0 auto;
}

.cv-block {
  background: #fffdf6;
  padding: 60px 10px;
  font-family: 'Noto Serif JP', serif;
}

.cv-inner {
  display: grid;
  /* grid-template-columns: repeat(3, 1fr); */
  gap: 2%;
  margin: 0 auto;
}

.cv-box {
  background: #fff;
  border: 1px solid #d8b36d;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  color: #5c4322;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(216, 179, 109, 0.2);
}

.cv-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(216, 179, 109, 0.4);
}

.cv-icon {
  font-size: 36px;
  margin-bottom: 15px;
  color: #b68b32;
}

.cv-title {
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 8px;
  color: #7c5c2f;
}

.cv-desc {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #6c5842;
}

.cv-contact {
  font-size: 0.9rem;
  font-weight: bold;
  color: #b68b32;
}

/* 個別カラー強調 */
.cv-box.web {
  background: linear-gradient(to bottom, #fdf5d7, #fffaf1);
}

.cv-box.line {
  background: #f9f3e5;
}

.cv-box.line .cv-icon {
  color: #00b900;
}

.cv-box.line .cv-contact {
  color: #00a000;
}

.banerbloc {
  max-width: 1300px;
  margin: 20px auto;
}
.banerbloc img {
  width: 100%;
  margin: auto;
}
/*-------------------------------------- CV --------------------------------------*/


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

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

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

.feature-text {
  width: 100%;
}

.feature-text h3 {
  font-size: 1rem;
  color: #5b4633;
  font-weight: bold;
  margin-bottom: 10px;
}


.read-more {
  display: flex;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #b8a464, #cebf86); 
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.read-more:hover {
  background: linear-gradient(135deg, #b8a464, #cebf86);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  color: #fff;
}

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



/* -------------------footer------------------- */
/* フッター全体 */
.footer * {
  color: #fff;
  margin: 0 auto;
}
.footer {
  position: relative; /* 疑似要素を適切に配置するために relative を設定 */
  padding: 40px 20px;
  background: url(../images/footerbg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* グラデーションを背景として追加 */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(to bottom, #94bee0d9 0%, #8fb4d9cf 10%, rgba(168, 197, 227, 0.3) 25%, rgba(168, 197, 227, 0) 50%); */
  z-index: 1;
}

/* 半透明の白レイヤーを背景画像の上に配置 */
.footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #4f4f4fb8;
  z-index: 0; 
}

/* フッター内のテキストを前面に配置 */
.footerinner {
  position: relative;
  z-index: 2; /* コンテンツを最前面に */
  color: #363636;
}

/* フッター内のテキストの視認性を確保 */
.footer-content {
  position: relative;
  z-index: 3; /* テキストを最前面に */
  color: #363636; /* 適宜調整 */
}

/* フッター上部（ロゴ・住所・予約） */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
}

.footer-logo img {
  width: 300px;
  margin: 0 auto;
}

/* フッターの情報エリア */
.footer-info {
  text-align: left;
  font-size: 14px;
  color: #363636;
}

/* 各項目のアイコン */
.footer-info p {
  position: relative;
  padding-left: 25px;
  margin: 5px 0;
}

/* 住所アイコン */
.footer-info p:nth-child(1)::before {
  content: "\f3c5"; /* FontAwesomeのマップピンアイコン */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

/* アクセス方法アイコン */
.footer-info p:nth-child(2)::before {
  content: "\f3c5"; /* 同じくマップピンアイコン */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

/* モノレールアイコン */
.footer-info p:nth-child(3)::before {
  content: "\f238"; /* FontAwesomeの電車アイコン */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

/* 電話番号アイコン */
.footer-info p:nth-child(4)::before {
  content: "\f095"; /* FontAwesomeの電話アイコン */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}


/* 診療時間表 */
.footer-schedule {
  text-align: center;
  flex-grow: 1;
  margin: 0 20px;
	padding: 0;
}

.footer-schedule h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  overflow: hidden;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}

.schedule-table th,
.schedule-table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
  font-size: 14px;
}

/* 見出し背景をグラデーションで上品に */
.schedule-table th {
	background: linear-gradient(to bottom, #dbd8cc, #9f9781);
	color: #fff;
	font-weight: bold;
/* 	width: 20%; */
}

/* 偶数行に薄い背景色で見やすく */
.schedule-table tbody tr:nth-child(even) td {
  background: #fafafa;
}

.schedule-table td {
  background: #fff;
  color: #444;
}

.schedule-table .sat {
  color: #8e6c2d;
  font-weight: bold;
}

.schedule-table .closed {
  background: #f5f5f5;
  color: #8e6c2d;
  font-weight: bold;
}

.footer-schedule .schedule-note {
  font-size: 12px;
  color: #fff;
  margin-top: 8px;
}

/* スマホ対応：横スクロール可能に */
@media (max-width: 600px) {
  .schedule-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  .schedule-table th, .schedule-table td {
    font-size: 12px;
    padding: 6px;
  }
}

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

@media (max-width: 768px) {
  .footer-top {
    display: block;
  }
  .footer-schedule {
      margin: 15px 0;
  }

  .schedule-table th, .schedule-table td {
      font-size: 12px;
      padding: 6px;
  }
}

/* ナビゲーションメニュー */
.footer-nav {
  text-align: center;
  margin: 20px 0;
}

.footer-nav ul {
	display: grid;
	grid-template-columns: 1fr 1fr; 
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.footer-nav ul li {
  display: inline-block;
  margin: 0 10px;
}

.footer-nav ul li a {
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 2.5;
}

/* 診療内容のリンク */
.footer-links {
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin: 20px auto;
}

.footer-section {
  width: 30%;
}

.footer-section h4 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
  border-bottom: 2px solid #fff;
  padding-bottom: 5px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  text-decoration: none;
  font-size: 14px;
}

/* フッターのバナー */
.footer-banners {
  text-align: center;
  margin: 20px 0;
}

.footer-banners a {
  display: inline-block;
  margin: 0 10px;
}

.footer-banners img {
  width: 250px;
  border-radius: 5px;
  transition: transform 0.3s ease-in-out;
}

.footer-banners img:hover {
  transform: scale(1.05);
}

/* フッター下部（著作権） */
.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: #555;
  border-top: 1px solid #ddd;
  padding-top: 15px;
}
/* 変数（色は必要に応じて調整） */
:root{
	--cta-bg: #a19175;
  --cta-ink: #ffffff;
  --cta-sub: #b5b5b5;
  --cta-accent: #d7c76e;   /* 初診だけ少し強調 */
  --cta-sep: rgba(255,255,255,.14);
  --shadow: 0 -6px 16px rgba(0,0,0,.35);
}

/* 固定バー */
.fixed-cta{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--cta-bg);
  color: var(--cta-ink);
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  padding-bottom: env(safe-area-inset-bottom); /* iOSセーフエリア */
}

/* 各ボタン */
.fixed-cta .cta{
  position: relative;
  display: flex;
  gap: 6px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  min-height: 72px;             /* タップ領域確保 */
  padding: 10px 6px;
  -webkit-tap-highlight-color: transparent;
	width: 100%;
	border-left: 1px solid #b7b1a7ad;
}

/* アイコン */
.fixed-cta .ico{
  width: 28px; height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

/* ラベル */
.fixed-cta .ftlabel{
  font-size: 13px;
  line-height: 1;
  letter-spacing: .04em;
  text-align: center;
  white-space: nowrap;
}
.fixed-cta .ftlabel em{
  color: var(--cta-accent);
  font-style: normal;
  font-weight: 700;
}

/* ホバー/押下 */
.fixed-cta .cta:active{ background: rgba(255,255,255,.12); }


/*---------------------------------------------------------------------

ブログ一覧
 
 ---------------------------------------------------------------------*/
 .blogsec {
  padding: 70px 0;
 }
.ftnewsflex {
    display: flex;
    gap:10px;
    justify-content: space-between;
    align-items: flex-start;
	width: 100%;
    margin: 0 auto;
}
 .blog-block {
  margin: 0 auto;
  position: relative;
  /* background-color: #f7f4f0; */
  padding: 30px 20px;
	 width: 100%;
  font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid #a3825c;
  margin-bottom: 20px;
}

.blog-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #5a3e2b;
  display: flex;
  align-items: center;
}

.blog-title::before {
  content: "🦷";
  margin-right: 0.5em;
  font-size: 1.2em;
}

.read-more {
	font-size: 0.8rem;
	color: #8b6b4e;
	text-decoration: none;
	margin-bottom: 5px;
}

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

.blog-item {
  display: flex;
  gap: 15px;
  background-color: #fff;
  padding: 15px;
  /* margin-bottom: 45px; */
  border-left: 4px solid #d6cfc7;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.blog-thumb {
    display: flex;
    align-items: center;
}
.blog-thumb img {
    width: 150px;
    height: auto;
    object-fit: cover;
    border: 1px solid #ddd;
    margin: 0 auto;
}

.blog-content {
  flex: 1;
}

.blog-date {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 3px;
}

.blog-item-title {
  font-size: 0.9rem;
  font-weight: bold;
  color: #5a3e2b;
  margin-bottom: 5px;
}

.blog-desc {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.4;
}

/* カレンダー */
.calendarblock {
  width: 50%;
  /* background-color: #f7f4f0; */
  padding: 30px 20px;
  font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
  margin-left: auto;
}

.calreh2 {
  font-size: 1.6rem;
  font-weight: bold;
  color: #5a3e2b;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #a3825c;
  padding-bottom: 5px;
}

.calreh2::before {
  content: "📅";
  margin-right: 0.5em;
  font-size: 1.2em;
}

.caleinner iframe {
  width: 100%;
  height: 386px;
  border: none;
  padding: 0;
}