@charset "UTF-8";
/* CSS Document */

h1{ font-weight: normal; font-size: 1.2rem; }

/* mv--------------- */
.mv{ height: 800px; position: relative; z-index: 0; }
.mv .txt{ display: flex; align-items: center; justify-content: center; flex-direction: column;
	width: 380px; background: rgba(120,180,230,.9);padding: 40px 0; color: #fff; text-align: center;
	position: absolute; top: 50%; left: calc(50% - 190px); z-index: 1; transform: translateY(-50%); }

.mv .txt .min{ font-size: 3.2rem; margin: 15px 0 20px; }

.mv ul,.mv li,
.slick-list,.slick-track{ height: 100%; }
.mv ul img{ width: 100%; height: 100%; object-fit: cover; }


/* main common--------------- */
.bg-wrap{ background: #F7F6F3; padding: 80px 0 210px; position: relative; }

main h2.line{ color: #78B4E6; font-size: 3.6rem; font-family: 'Noto Serif JP', serif; font-weight: 600;
	letter-spacing: 0.1em; }
main h2.line span{ display: inline-block; background: #fff; padding: 0 5px; line-height: 1; margin-top: 5px; }
main h2.line small{ display: block; font-family: bodoni-urw,serif; font-weight: 500; font-size: 3rem; letter-spacing: 0.05em; }

/* bnr--------------- */

.bnr{ display: flex; justify-content: center; width: 100%; position: absolute; top: -60px; left: 0; }
.bnr a{ display: flex; flex-direction: column;justify-content: center; position: relative;
	width: 450px; height: 120px; background: #C9BEAD; border-radius: 5px; box-sizing: border-box; }

.bnr .min{ color: #fff; font-size: 2rem; line-height: 1.5; margin-bottom: 5px; }
.bnr small{ background: #fff; color: #836B43; font-size: 1.5rem; padding: 2px 10px; }
.bnr > div:not(:last-child){ margin-right: 20px; }

.bnr .covid a{ padding-left: 180px; }
.bnr .line a{ padding-left: 155px; }

.bnr a:before{ content: ""; position: absolute; top: 50%; transform: translateY(-50%);}
/*
.bnr .covid a:before{ width: 140px; height: 65px; left: 25px;
	background: url("../img/index/bnr-covid.png") center/100% no-repeat;}
*/
.bnr .covid a:before{ width: 75px; height: 75px; left: 60px;
	background: url("../img/common/ico-insta.png") center/100% no-repeat;}
.bnr .line a:before{ width: 75px; height: 75px; left: 40px;
	background: url("../img/index/bnr-line.png") center/100% no-repeat;}

.bnr a:after{ content: ""; width: 44px; height: 55px; position: absolute; top: 10px;
	background: url("../img/index/bnr-ill.png") center/100% no-repeat;}
.bnr .covid a:after{ right: 16px; }
.bnr .line a:after{ right: 27px; }

.bnr a:hover{ background: #78B4E6; }

/* news--------------- */
.news_area{padding: 30px 50px;
	width: 700px; background: #fff; margin: 0 auto 70px; }
.news{ display: flex; align-items: center; justify-content: space-between; }

.news .tit{ font-family: bodoni-urw,serif; font-size: 3rem; }
.news .tit:before{ content: ""; display: inline-block; width: 18px; height: 18px; 
	background: url("../img/index/ill-tit.png") center/ 100% no-repeat; margin-right: 5px; }

.news ul{ width: 450px; }
.news ul li{ padding: 5px 0;}
.news ul li:not(:last-child){ border-bottom: 1px solid #CACACA; }
.news ul a{display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	text-decoration-color: #ccc; }
.news ul a span{ margin-right: 15px; }
.news ul a:hover{ text-decoration: underline; text-decoration-color: #ccc; }
.news_area a.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 50px;
    color: #fff;
    background: #FFA5AA;
    border-radius: 5px;
	margin: 2vw auto 0 auto;
}

/* greeting--------------- */
.greeting{ padding: 650px 0 125px; position: relative; z-index: 0; margin-bottom: 115px; }
.greeting:before{ content: ""; width: calc(100% - 100px); height: 780px;
	background: url("../img/index/webp/yoshiya-top.webp") top center/cover no-repeat;
	position: absolute; top: 0; left: 0; z-index: -1;}
/*no*/.no-webp .greeting:before{background: url("../img/index/greeting.jpg") top center/cover no-repeat;}

.greeting .content{ display: flex; justify-content: space-between; position: relative; }
.greeting .content:after{ content: ""; width: calc(100vw - 100px); height: calc(100% + 200px);
	background: rgba(255,255,255,.95);
	position: absolute; right: calc( (50vw - 400px)* -1 ); top: -100px; z-index: -1; }

.greeting .tit{ color: #78B4E6; flex-shrink: 0; }
.greeting .tit p{ font-size: 2.8rem; font-family: bodoni-urw,serif; font-weight: 500; margin-bottom: 75px; }
.greeting h2{ font-family: 'Noto Serif JP', serif; font-weight: 600; font-size: 2.8rem; letter-spacing: 0.1em; line-height: 2; }

.greeting .box{ width: 400px; }
.greeting h3{ font-family: 'Noto Serif JP', serif; font-weight: 600; font-size: 2rem;
	letter-spacing: 0.1em; margin-bottom: 60px; }
.greeting h3 small{ font-size: 1.3rem; letter-spacing: 0.1em; }
.greeting h3 span{ display: table; font-size: 1.3rem; border: 1px solid; padding: 1px 5px; margin-bottom: 10px;
	font-family: YuGothic, "Yu Gothic medium", "sans-serif"; font-weight: normal; letter-spacing: 0.05em; }

.greeting .message{ text-align: justify; line-height: 2; }
.greeting .message p:not(:last-child){ margin-bottom: 30px; }

.greeting ul{ display: flex; justify-content: center; width: 100%;
	position: absolute; left: 0; bottom: -125px; }
.greeting ul li:not(:last-child){margin-right: 20px;}


/* info--------------- */
.info { display: flex; justify-content: space-between; }
.info .box:nth-child(1){ flex-basis: 400px; }
.info .box:nth-child(2){ flex-basis: 350px; }
.info .tit{ font-family: bodoni-urw,serif; font-size: 3rem; margin-bottom: 5px; }
.info .tit:before{ content: ""; display: inline-block; width: 18px; height: 18px; 
	background: url("../img/index/ill-tit.png") center/ 100% no-repeat; margin-right: 5px; }

.info .box table{ width: 100%; margin-top: 10px; }
.info .box table:first-of-type{ margin-bottom: 30px; }
.info .box table:last-of-type{ margin-bottom: 20px; }
.info .box table th{ font-weight: normal; background: #78B4E6; color: #fff; }
.info .box table td{ text-align: center; background: #fff; }

.info .box table th,
.info .box table td{ padding: 6px 10px; font-size: 1.4rem; border: 1px solid #F7F6F3; }
.info .box table + ul{ display: flex; justify-content: space-between; }
.info .box table + ul li:last-child{ font-size: 1.4rem; }

.info .box:last-child p:not(:last-child){ margin-bottom: 15px; }

.info .box .btn a{ margin-left: auto; }


/* feature--------------- */
.feature { background: #D6E8F7; padding-bottom: 185px; position: relative; z-index: 0; }

.feature:after{ content: ""; width: 57vw; height: 900px;
	background: url("../img/index/webp/feature.webp") center/cover;
	position: absolute; top: -60px; left: 0; z-index: 0; }
/*no*/.no-webp .feature:after{background: url("../img/index/feature.jpg") center/cover;}

.feature h2{ text-align: right; transform: translateY(-65px); margin-bottom: -25px; }
.feature h2.line span{ display: table; margin-left: auto; }
.feature h2 b{ font-family: bodoni-urw,serif; font-weight: 500; font-size: 4.8rem; line-height: 0; }
.feature .wrap{ width: 1000px; margin: auto; }

.feature .in{ width: 660px; display: flex; flex-wrap: wrap; justify-content: space-between; margin-left: auto;
	position: relative; z-index: 1;}
.feature .box{ flex-basis: 320px; counter-increment: feature; }
.feature .box:nth-last-child(n + 3){margin-bottom: 20px;}
.feature .box a{ display: block; background: #fff; padding: 30px; position: relative; }
.feature .box a:before{ content: "";position: absolute; right: 10px; bottom: 10px;
	border: 6px solid; border-color: transparent #78B4E6 #78B4E6 transparent; }

.feature h3{ font-family: 'Noto Serif JP', serif; font-weight: 600; color: #78B4E6;
	font-size: 2rem; letter-spacing: 0.1em; text-align: center; border-bottom: 1px solid #D6E8F7;
	padding-bottom: 20px; margin-bottom: 20px; position: relative;}
.feature h3:before{ content: "0" counter(feature);
	display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; 
	background: #78B4E6; color: #fff; border-radius: 60px; margin: 0 auto 25px; line-height: 1;
	font-family: bodoni-urw,serif; font-weight: 500; font-size: 3.2rem; }
.feature h3:after{ content: ""; width: 78px; height: 65px;
	position: absolute; top: 0; left: calc(50% - 42px);
	background: url("../img/index/feature-ill.png") center/100%; }

.feature .box p{ text-align: justify; line-height: 2; }

.feature ul{ display: flex; justify-content: center; width: 100%;
	position: absolute; left: 0; bottom: 50px; }
.feature ul li:not(:last-child){margin-right: 20px;}

.feature .box a:hover{ opacity: .7; }


/* treatment--------------- */
.treatment{ padding: 165px 0 185px; position: relative; }

.treatment .content{ padding: 100px 0; position: relative; z-index: 0; }
.treatment .content:after{ content: ""; width: calc(100vw - 100px); height: 100%;
	position: absolute; top: 0; left: 50%; z-index: -1; transform: translateX(-50%);
	background: url("../img/index/webp/treatment-bg.webp") center/ cover #EFECE7;}
/*no*/.np-webp .treatment .content:after{background: url("../img/index/treatment-bg.png") center/ cover #EFECE7;}

.treatment h2{ text-align: center; margin-bottom: 40px; position: absolute;
	top: -22px; left: 50%; transform: translateX(-50%); }
.treatment h2 + p{ text-align: center; line-height: 2; margin-bottom: 60px; }

/*
.treatment .in{ display: flex; flex-wrap: wrap; justify-content: space-between; }
.treatment .in .box{ flex-basis: 250px; }
*/

.treatment .in{ display: flex; flex-wrap: wrap; justify-content: space-around; }
.treatment .in .box{ flex-basis: 350px; }

@media screen and (min-width:600px){
.treatment .in .box:nth-child(n + 3){margin-top: 20px;}
.treatment .in .box:nth-child(n + 4){margin-top: 20px;}
}
	
.treatment .in .box a{ display: block; background: #fff; position: relative;}
.treatment .in .box a:before{ content: "";position: absolute; right: 10px; bottom: 10px;
	border: 6px solid; border-color: transparent #78B4E6 #78B4E6 transparent; }
.treatment .in .box a:hover{ opacity: .7; }

.treatment h3{ display: flex; align-items: center; justify-content: center; position: relative; z-index: 0;
	height: 200px; font-size: 2.2rem; font-family: 'Noto Serif JP', serif; font-weight: 600; color: #fff; }
.treatment h3:before{ content: ""; width: 162px; height: 73.5px;
	position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
	background: url("../img/index/treatment-ill.png") center/100%; }
.treatment h3:after{ content: ""; width: 100%; height: 100%; background: rgba(120,180,230,.7);
	position: absolute; top: 0; left: 0; z-index: -1; }

.treatment .in .box:nth-child(1) h3{ background: url("../img/index/webp/treatment06.webp") center/cover; }
/*no*/.treatment .in .box:nth-child(1) h3{ background: url("../img/index/treatment06.jpg") center/cover; }

.treatment .in .box:nth-child(2) h3{ background: url("../img/index/webp/treatment05.webp") center/cover; }
/*no*/.treatment .in .box:nth-child(2) h3{ background: url("../img/index/treatment05.jpg") center/cover; }

.treatment .in .box:nth-child(3) h3{ background: url("../img/index/webp/treatment03.webp") center/cover; }
/*no*/.treatment .in .box:nth-child(3) h3{ background: url("../img/index/treatment03.jpg") center/cover; }

.treatment .in .box:nth-child(4) h3{ background: url("../img/index/webp/treatment04.webp") center/cover; }
/*no*/.treatment .in .box:nth-child(4) h3{ background: url("../img/index/treatment04.jpg") center/cover; }

.treatment .in .box:nth-child(5) h3{ background: url("../img/index/webp/treatment03.webp") center/cover; }
/*no*/.treatment .in .box:nth-child(5) h3{ background: url("../img/index/treatment03.jpg") center/cover; }

.treatment .in .box:nth-child(6) h3{ background: url("../img/index/webp/treatment04.webp") center/cover; }
/*no*/.treatment .in .box:nth-child(6) h3{ background: url("../img/index/treatment04.jpg") center/cover; }

.treatment .in .box p{ padding: 15px 25px 20px; text-align: justify; line-height: 2; }

.treatment .btn{ position: absolute; bottom: -25px; left: calc(50% - 140px); }


/* align--------------- */
.align{ background: url("../img/index/align-bg.png") center top/1200px no-repeat #D6E8F7;
	padding: 390px 0 85px; position: relative; text-align: center; }
.align h2{ text-align: center; white-space: nowrap; position: absolute; top: -20px; left: 50%; transform: translateX(-50%);}

.align .in{ display: flex; flex-wrap: wrap; justify-content: space-between;
	width: 1000px; background: #fff; margin: 0 auto 35px; padding: 50px 100px; }

.align .in .box{ flex-basis: 160px; text-align: center; }

@media screen and (min-width:600px){
	.align .in .box:not(:nth-child(4n + 1)){ margin-left: 40px; }
	.align .in .box:nth-child(n+5){ margin-top: 30px; }
}

.align h3{ font-family: 'Noto Serif JP', serif; font-weight: 600; font-size: 1.6rem;
	border-bottom: 1px solid #D6E8F7; padding-bottom: 10px; margin-bottom: 10px; }
.align h3 + p{ font-size: 1.3rem; line-height: 1.77; }

.align ul{ display: table; text-align: left; margin: 0 auto 35px; }
.align ul li{ font-family: 'Noto Serif JP', serif; font-weight: 600; font-size: 2rem; letter-spacing: 0.1em;
	background: rgba(255,255,255,.6); padding: 5px 15px; }
.align ul li:not(:last-child){margin-bottom: 10px;}
.align ul li:before{ content: ""; display: inline-block; margin-right: 10px;
	width: 19px; height: 13px; background: url("../img/index/ico-check.png") center/100%;}

.align ul + p{ font-size: 1.4rem; line-height: 2; margin-bottom: 50px; }

.align .btn a{margin: auto;}


/* case--------------- */
.case{ padding: 100px 0; position: relative; z-index: 0; }
.case:after{ content: ""; width: 66vw; height: calc(100% + 180px); background: #F7F6F3;
	position: absolute; top: 0; left: 0; z-index: -1; }

.case h2{margin-bottom: 35px;}

.case .box{ display: flex; counter-increment: case; }
.case .box:not(:last-child){ border-bottom: 1px solid #EFECE7; padding-bottom: 40px; margin-bottom: 40px; }

.case .box .photo{ flex-basis: 360px; margin-right: 40px; }
.case .box .txt{flex-basis:  400px; }

.case h3{ font-family: 'Noto Serif JP', serif; font-weight: 600;
	font-size: 2.4rem; color: #78B4E6; margin-bottom: 15px; }
.case h3:before{ content: "Case0" counter(case); display: table; background: #78B4E6; color: #fff;
	font-family: bodoni-urw,serif; font-weight: 500; font-size: 2.2rem; line-height: 1;
	padding: 2px 5px; margin-bottom: 15px; }

.case h3 + p{ text-align: justify; line-height: 2; margin-bottom: 10px; }

.case .btn a{ margin-left: auto; }


/* facility--------------- */
.facility{ position: relative; z-index: 0; padding: 160px 0 180px; }
.facility:after{ content: ""; width: 45vw; height: 540px;
	position: absolute; top: 0; right: 0;
	background: url("../img/index/facility.jpg") center/cover; }

.facility h2{ margin-bottom: 50px; }
.facility .txt{ width: 380px; text-align: justify; line-height: 2; margin-bottom: 30px; }

.table-contents {
    overflow-x: scroll;
    width: 640px;
  }
 table.info_table{ width: 100%; margin: 2rem 0; }
table.info_table th{ color: #78B4E6; padding: 1em; vertical-align: middle;  font-weight: 600; border: solid 1px #D6E8F7; line-height: 1.7; }
 table.info_table td{ padding: 1em; vertical-align: middle; border: solid 1px #D6E8F7; line-height: 1.7; }
.news_area h2 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    margin: 10px 0;
    position: relative;
}
.news_area h3 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    color: #78B4E6;
    font-size: 2rem;
    letter-spacing: 0.1em;
    text-align: center;
    margin-top: 20px;
    position: relative;
}
.info_table strong{
    color: red;
    font-weight: normal;
}


.img-hover-pc{
	background:url('/wp-content/uploads/2026/03/pc.webp');
	width:750px;
	height:200px;

}

.img-hover-pc:hover{
	background:url('/wp-content/uploads/2026/03/pc.hover_.webp');
}

.banner{
	display: flex;
	justify-content: center;
}


@media screen and (max-width: 768px){
	.img-hover-pc{
		display: none;
	}


	.img-hover-sp {
		display: block; /* スマホ時に表示 */
		width: 100%; /* 横幅いっぱいにする */
		height: 120px; /* 必要に応じて調整 */
		background: url('/wp-content/uploads/2026/03/sp.webp') no-repeat center center;
		background-size: contain;
	}
	.img-hover-sp:hover{
	background:url('/wp-content/uploads/2026/03/sp.hover_.webp');
}
	
	.banner2 .img-hover-sp {
		height: 40px; 
		margin-bottom: -2rem;
	}

	.banner{
		display: block;
	}


}

/*
.h-nav .banner{
	display: block;
}
*/
.banner2 {
	display: block;
	width: 25vw;
    margin: 0 0 30px;
}


.banner2 .img-hover-pc{
	background:url('/wp-content/uploads/2026/03/pc.webp') no-repeat center center;
	width:100%;
	height:120px;
	background-size: contain;
}

.banner2 .img-hover-pc:hover{
	background:url('/wp-content/uploads/2026/03/pc.hover_.webp')no-repeat center center;
	width:100%;
	height:120px;
	background-size: contain;
}

/*20250513add TOP診療案内h3レイアウト調整*/
.treatment h3{text-align:center;}

.apoint{ text-align: center;}


/*260218ATOP症例スライド*/
.case#guideline table th{
			color: #78B4E6;
    padding: 1em;
    vertical-align: middle;
    font-weight: 600;
    border: solid 1px #D6E8F7;
    line-height: 1.7;
				font-size: 1.4rem;
			}
			
			.case#guideline table td{
				padding: 1em;
    vertical-align: middle;
    border: solid 1px #D6E8F7;
    line-height: 1.7;
				font-size: 1.2rem;
			}
			.case#guideline h3:before{
				content: none;
			}
			
			.case#guideline .box{
				display: flex;
				justify-content: space-around;
				padding-bottom: .5rem;
				border-bottom: none;
			}
			
			.case#guideline .box .photo{
				margin-right:0;
			}
			.case#guideline .btn{
				margin-top: 1rem;
				margin-bottom: 3rem;
			}
			.case#guideline .btn a{
				margin-left: 0;
			}
			.case#guideline .in{
				background: #D6E8F7;
				padding: 5rem 4rem;
			}
			
			.case-toggle{
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
				display:none;
}

.case-table .toggle-inner{
  display:none;
}
			.case-toggle:checked ~ .case-table .toggle-inner{
  display: table-row;
}

.toggle-outer{
  cursor:pointer;
}

/* 各スライド（カード） */
.case#guideline .case-slider .background_case{
  flex: 0 0 80%;
  max-width: 900px;
  scroll-snap-align: start;
  margin: 0;
	width: auto;
	background: #fff;
	 padding: 5rem;
    width: 700px;
}

.case#guideline .case-slider:active{
  cursor: grabbing;
}

/* スクロールバー非表示（任意） */
.case#guideline .case-slider::-webkit-scrollbar{
  display:none;
}
.case#guideline .case-slider{
  grid-area: item;
  display:grid;
  grid-auto-flow: column;
  gap: 24px;

  overflow-x:auto;
  -webkit-overflow-scrolling: touch;

  scroll-snap-type: x mandatory;
  scroll-snap-stop: always;
  scroll-behavior: smooth;

  scroll-marker-group: after;

  scrollbar-width: none;
  padding: 0 24px;
}
.case#guideline .case-carousel{
  /* ボタン/マーカー配置用グリッド */
  display:grid;
  grid-template-areas:
    "item item item"
    "left markers right";
  grid-template-columns: 1fr 2fr 1fr;
  row-gap: 16px;
}

/* 非対応ブラウザ向け注意文（対応ブラウザでは隠す） */
.case#guideline .case-carousel-note{
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: #4a4a4a;
}
@supports (scroll-marker-group: after){
  .case#guideline .case-carousel-note{ display:none; }
}
/* 画像があるなら崩れ防止（任意） */
.case#guideline .case-slider img{
  max-width:100%;
  height:auto;
  display:block;
}

/* ------- 前へ/次へボタン（CSS生成） ------- */
.case#guideline .case-slider::scroll-button(*) {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(120,180,230,.5);
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(6px);
  color: #4a4a4a;
  transition: all .3s ease;
}

@media (any-hover:hover){
  .case#guideline .case-slider::scroll-button(*):not(:disabled):hover{
    background:#78B4E6;
    color:#fff;
    border-color:#78B4E6;
    cursor:pointer;
  }
}

.case#guideline .case-slider::scroll-button(*):disabled{
  opacity:.4;
  cursor: default;
}

.case#guideline .case-slider::scroll-button(left){
  content:"←" / "前へ";
  grid-area: left;
  justify-self: end;
}
.case#guideline .case-slider::scroll-button(right){
  content:"→" / "次へ";
  grid-area: right;
}

/* ------- インジケーター（CSS生成） ------- */
.case#guideline .case-slider::scroll-marker-group{
  grid-area: markers;
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 12px;
  overscroll-behavior-x: contain;
}

.case#guideline .case-slider .background_case::scroll-marker{
  content:"";
  display:block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(120,180,230,.6);
  background: transparent;
  flex-shrink: 0;
  transition: background-color .2s;
}
.case#guideline .case-slider .background_case::scroll-marker:target-current{
  background:#78B4E6;
}
/*
			.case#guideline .case-controls{
  display:flex;
  justify-content:center;
  gap: 12px;
  margin: 16px 0 24px;
}

			.case#guideline .case-controls button{
  padding: .8em 1.8em;
  border-radius: 999px;
  border: 1px solid rgba(120,180,230,.5);
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(6px);
  color: #4a4a4a;
  font-weight: 600;
  transition: all .3s ease;
  cursor: pointer;
}

.case#guideline .case-controls button:hover{
  background: #78B4E6;
  color: #fff;
  border-color: #78B4E6;
}
	.case#guideline .case-slider.is-dragging{
  scroll-snap-type: none;
}	*/
