@charset "utf-8";
/* CSS Document */
/*========================
 header
===============================================*/
#header{
	padding: 0 3vw;
	width: 100%;
	height: 80px;
	background: #fff;
	z-index: 999;
}
#header .flex{
	height: 100%;
	display: flex;
}

.hlogo{
	padding: 10px 0;
	height: 100%;
}
.hlogo img{
	height: 100%;
	object-fit: contain;
}

.h_tel{
	background: #6d370a;
	width: 275px;
	color: #fff;
	border-radius: 10px;
	text-align: center;	
	margin-bottom: 5px;
	font-size: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.h_time{
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	padding-left: 1rem;
}

@media(max-width:630px){
	#header{
		height: 60px;
		border-bottom: 3px solid #6d370a;
	}
	.h_right{
		display: none;
	}
}

/*========================
menu
===============================================*/
.pcmenu{
	width: 100%;
	background:#6d370a;
	padding: 5px 0;
}
.gnav ul{
	display: flex;
	justify-content: center;
	align-items: center;
}

.gnav li a{
	display: block;
	padding: 0 15px;
	color: #fff;
	position: relative;
}

.gnav li a::before{
	content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
	transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background:#fff;
    transition: all .3s;
	opacity: 0;
}
.gnav li a:hover::before{
	opacity: 1;
}

.pcmenu.fixed{
	position: fixed;/*fixedを設定して固定*/
	z-index: 999;/*最前面へ*/
	top:0;/*位置指定*/
	left:0;/*位置指定*/
}

@media(max-width:630px){
	.pcmenu{
		display: none;
	}
}
/*mobail*/
.openbtn{
	position:fixed;
    z-index: 999;/*ボタンを最前面に*/
	top:4px;
	right: 10px;
	cursor: pointer;
    width: 50px;
    height:50px;
	background: #6d370a;
	border-radius: 5px;
}
@media(min-width:631px){
	.openbtn{
		display: none;
	}
}
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 25%;
    height: 3px;
    border-radius: 2px;
	background-color: #fff;
  	width: 50%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top:31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 25%;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 25%;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
}

#g-nav{
    position:fixed;
    z-index: 99;
	top:-200%;
    left:0;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:#fff;
	transition: all 0.6s;
	border-bottom: 10px solid #6d370a
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    top: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 99; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
	width: 80%;
	max-width: 450px;
	margin: 100px auto 20px;
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    border-bottom: 1px dotted #6d370a;
	position: relative;
}

#g-nav li a{
	color: #333;
	text-decoration: none;
	padding:15px 0 5px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
	padding-left: 2rem;
}
#g-nav li::before{
	position: absolute;
	content: '';
	width: 1.2rem;
	height: 1.2rem;
	background: url("../img/logo_mark.png")no-repeat center/contain;
	left: 0;
	bottom:10px;
	
}
#g-nav li a:hover{
	letter-spacing: 0.25em;
}

.sp_contact a{
	display: block;
	width: 75%;
	max-width: 400px;
	margin: 0px auto 15px;
	font-size: 1.3rem;
	text-align: center;
	background: #6d370a;
	border: 2px solid #6d370a;
	color: #fff;
	padding: .3rem 0;
	border-radius: 5px;
}
.sp_contact a:nth-child(even){
	background:#fff; 
	color:#6d370a; 	
}
.sp_contact a:hover{
	background:#fff; 
	color:#6d370a; 		
}
.sp_contact a:nth-child(even):hover{
	background: #6d370a;	
	color: #fff;	
}

/*========================
footer_contact
===============================================*/
.footcontact{
	color: #fff;
	text-align: center;
	z-index: 0;
}
.footcontact::before{
   position: absolute;
   content: '';
   background: rgba(89,89,89,.5);
   width: 100%;
   height: 100%;
   top:0;
	left: 0;
	z-index: -1;
}
.footcontact h2{
	font-weight: 400;
	margin-bottom: 30px;
}

.f_cont_btn{
	display: flex;
	justify-content: center;
	align-items: center;
}

.f_cont_btn a{
	display: block;
	margin: 10px 15px;
	width: calc(95% / 3 - 15px);
	background: rgba(255,255,255,.5);
	color: #6d370a;
	font-family: "Kosugi Maru", sans-serif;
	font-size: clamp(1.5rem, 0.967rem + 1.11vw, 1.8rem);
	border: 2px solid #fff;
	line-height: 2;
}

.f_cont_btn a:hover{
	background: #fff;
}
@media(max-width:767px){
	.f_cont_btn{
		flex-direction: column;
	}
	.f_cont_btn a{
		width: 90%;
		max-width: 450px;
	}
}


/*========================
footer
===============================================*/
footer{
	background: #fff;
	padding: 30px 0;
}
.f_left{
	width: 45%;
}
.f_righr{
	width: 53%;	
	max-width: 600px;
}
.f_logo{
	width: 75%;
	max-width: 500px;
	margin-bottom: 20px;
}
.f_logo img{
	width: 100%;
	object-fit: contain;
}

/*診療日表*/
.sinryo-hyo {
	font-size: 16px;
	max-width: 960px;
	margin: 0 auto;
}
.thfirst{
	width: 120px;
}
.sinryo-hyo th,.sinryo-hyo td {
  border: 1px solid #d2691e;
  text-align: center;
	background: #fff;
}
.sinryo-hyo th {
	background-color: #fce5cd;
	font-weight: 400;
	font-size:clamp(0.875rem, 0.759rem + 0.49vw, 1.125rem);
}
.sinryo-hyo td.time {
	background-color: #fce5cd;
	font-size: 15px;
	text-align: left;
	padding: 0 5px;
}
.sinryo-hyo td.time span{
	padding-left: 1rem;
}
.circle {
  font-size: 16px;
  color: #333;
} 
.closed {
  color: #888;
}
.sat-time{
	font-size:clamp(0.813rem, 0.668rem + 0.61vw, 1.125rem);	
}
.sat-time span{
  writing-mode: vertical-rl;
  text-orientation: mixed;
}


.copy{
	background: #6d370a;
	color: #fff;
	font-size: 13px;
	padding: 5px 0;
	text-align: center;
}

@media(max-width:767px){
	.f_left,.f_righr{
		width: 100%;
		max-width: 100%;		
	}	
	.f_left{
		margin-bottom: 20px;
		text-align: center;
	}
	.f_logo{
		margin: 0 auto 20px;
	}
	.thfirst{
		width: 110px;
	}
	.sinryo-hyo td.time span{
		padding-left: .5rem;
	}	
}	
	
/*sp_btn*/
.spbtn{
	display: none;
}
@media(max-width:500px){
	.spbtn{
		display: block;
	}	
}

#tel-button {
  position: fixed;
  width: 98%;
  bottom: 10px;
  left: 1%;
  background-color:#6d370a;
  color: white;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  line-height: 2.3;
  display: none;
  transition: opacity 0.3s ease;
}
#tel-button:hover{
	background:#935D30;
}



/*========================
pagetop
===============================================*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#6d370a;
	border: 3px solid #fff;
	border-radius: 5px;
	width: 50px;
	height: 50px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:1.5rem;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #fff;
	color: #6d370a;
	border-color: #6d370a;
	transition: .3s;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	bottom:10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}

@media(max-width:500px){
	#page-top a{
		height: 40px;
		width: 40px;
	}
	#page-top {
		bottom:50px;	
	}
}



/*========================
	topslide
===============================================*/
.topslide{
	position: relative;
	width: 100vw;
	background: #fef2d4;
	aspect-ratio: 4 / 3;
	max-height: 100vh;
}
.t_slider {
  position:relative;
	z-index: 1;
	width: 100vw;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
	aspect-ratio: 4 / 3;
}
/*　背景画像設定　*/

.slider-item01 {
    background:url(../img/slide01.jpg);
}

.slider-item02 {
    background:url(../img/slide02.jpg);
}

.slider-item03 {
    background:url(../img/slide03.jpg);
}

.slider-item {
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
	max-height: 100vh;
    aspect-ratio: 4 / 3;
    background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position:left 20% center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}

.catch{
	position: absolute;
	width: 45%;
	max-width: 600px;
	min-width: 280px;
	top: 45%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index: 2;
	text-align: center;
}

.catch img{
	width: 100%;
	object-fit: contain;
}

@media(max-width:768px){

	.slider-item01 {
		background:url(../img/slide01_sp.jpg);
	}

	.slider-item02 {
		background:url(../img/slide02_sp.jpg);
	}

	.slider-item03 {
		background:url(../img/slide03_sp.jpg);
	}	
	.slider-item {
		width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
		max-height: 100vh;
		aspect-ratio: 4 / 3;
		background-repeat: no-repeat;/*背景画像をリピートしない*/
		background-position:left 20% center;/*背景画像の位置を中央に*/
		background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
	}	
	.catch{
		min-width: 250px;
		top: 55%;
	}	
}


/*========================
	index
===============================================*/
.g_title{
	text-align: center;
	color:#6d370a;
	margin-bottom: 50px;
}

.g_txt{
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
}
.nayami{
	margin: 50px auto;
	max-width: 960px;
}

.g_txt.wide {
	max-width: 960px;
	margin: 0 auto;
	text-align: left;
}
@media(max-width:580px){
	.g_txt{
		text-align: left;
	}	
}

/*施術メニュー*/

.top_menu ul{
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap:20px;
}
.top_menu li a{
	display: block;
	background: #fff;
	border: 3px solid #6d370a;
	text-align: center;
	border-radius: 30px;
}
.top_menu li figure{
	aspect-ratio: 4 / 3;
	padding: 5% 10%;
	padding-bottom: 2%;
}
.top_menu li img{
	width: 100%;
	height: 100%;
	object-fit: contain;
	transform: scale(0.8);
	transition: .4s;
}
.top_menu li a:hover img{
	transform: scale(0.9);
	transition: .4s;
}
.top_menu h3{
	font-size: clamp(0.938rem, 0.851rem + 0.37vw, 1.125rem);	
}

@media(max-width:869px){
	.top_menu ul{
		grid-template-columns: repeat(3, 1fr);
	}
}
@media(max-width:480px){
	.top_menu ul{
		grid-template-columns: repeat(2, 1fr);
	}
}


/*選ばれる理由*/
.reason{
}

.list{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;	
}
.reason_list{
	width: calc(95% / 3 );
	text-align: center;
	color: #6d370a;
}
.reason_list img{
	border-radius: 20px;
}

@media(max-width:819px){
	.reason_list{
		width: calc(95% / 2);
		margin-bottom: 20px;
	}
}
@media(max-width:524px){
	.reason_list{
		width:98%;
	}
}

/*news*/
#newsWrap{
	width: 100%;
	aspect-ratio: 28 / 11;
	background: #fff;
	border: 2px solid #6d370a;
	overflow-y: auto;
	overflow-x: hidden;
}

.newsList li{
	padding: 15px 2rem 10px;
	border-bottom: 1px dashed #6d370a;
	transition: .4s;
	display: flex;
	align-items: center;
	gap: 0.8em;
	width: 100%;
	overflow: hidden;
	position: relative;
}
.newsList li .up_ymd{
	color: #6d370a;
	font-weight: 600;
	flex-shrink: 0;
}
.newsList li:hover{
	background: #FBE8DA;
	color: #6d370a;
	font-size: 600;
	transition: .4s;
}
#newsWrap .title{
	  flex-grow: 1; 
	  display: inline-block;
	  white-space: nowrap;         /* 改行しない */
	  overflow: hidden;            /* はみ出した部分を隠す */
	  text-overflow: ellipsis;     /* 「…」を表示 */
	  max-width: 100%;             /* 枠内に収める */
	  vertical-align: middle;
	
}
.newsList li::after{
	position: absolute;
	content:'\f054';
	right: 1rem;
	top:15px;
	font-family: "Font Awesome 6 Free";
	font-weight: 600;
	transition: .4s;
}

.link a{
	display: block;
	width: 100%;
	height: 100%;
}
.newsList li:hover::after{
	right: .3rem;
	transition: .4s;
}

@media(max-width:500px){
	.newsList li{
		padding: 15px 1rem 10px;
	}
}


/*========================
下層共通
===============================================*/
.kfv{
	padding: 25px;
	background: rgba(255, 218, 168,.5);
	color: #6d370a;
	text-align: center;
	letter-spacing: .3rem;
}


/*===============
news
=====================================*/
.news-detail .ntitle{
	margin-bottom: 10px;
	padding:0 20px ;
	border-bottom: 3px solid rgba(109,55,10,.3);
}
.news-detail #up_ymd{
	text-align: end;
	color:#6D370A;
	font-weight: 600;
}
.news-detail{
	border:5px solid rgba(109,55,10,.3);
	border-radius: 20px;
	padding: 3vw 4vw;
	min-height: 30vh;
}
.detailUpfile{
	width: 100%;
	max-width: 680px;
}
.detailUpfile img{
	width: 100%;
	object-fit: contain;
}
.topic{
	padding: 0 30px;
}


/*========================
施術内容
===============================================*/
.insurance_box{
	margin: 20px 0;
	background: #fff8f3;
	padding: 2vh 2.2vw;
}
.insurance_box dl{
	display: flex;
	border-bottom: 1px dotted #6d370a;
}

.insurance_box dt{
	padding: .5rem 1rem;    
	min-width: 65px;
}

.insurance_box dd{
	padding: .5rem;
}

@media(max-width:500px){
	.insurance_box dt {
		padding: .5rem;
		min-width: 50px;
	}
}








/*========================
交通事故治療
===============================================*/
.check_box{
	max-width: 960px;
/*	margin: 30px auto;
	border: 5px solid rgba(109,55,10,.3);
	padding: 2rem;*/
   margin: 0 auto 2em; /* 外側の余白（上下と中央配置） */
   padding: 2em; /* 内側余白 */
   background: none; /* 元のボックス背景色なし */
   border: 3px solid #6d370a; /* 線の太さ（1px）、種類（実線）、色（#ccc） */
   position: relative; /* 配置（基準となる位置） */	
}
.check_box::after {
   background-color: rgba(255,240,219,0.30); /* ずらしたボックスの背景色 */
   border: none; /* 枠線なし */
   content: ''; /* 擬似要素にコンテンツなし */
   position: absolute; /* 配置（ここを動かす） */
   top: 10px; /* 上から7pxずらす */
   left: 10px; /* 左から7pxずらす */
   width: 100%; /* 幅100%（親要素に合わせる） */
   height: 100%; /* 高さ100%（親要素に合わせる） */
   z-index: -1; /* 背景として後ろに表示 */
}

.check_box li{
	position: relative;
	padding:8px 0 5px; 
	padding-left: 1.5rem;
	font-weight: 600;
}

.check_box li::before{
	position: absolute;
	content: '';
	width: 2rem;
	height: 1.2rem;
	top: 13px;
	left: -1rem;
	background: url("../img/icon/check.svg")no-repeat center/contain;
}

.ac_flow{
	position: relative;
	margin: 30px auto 50px;
	min-width: 120px;
	max-width: 95%;
	background: #FFF;
	border: solid 3px #e2cc64;
	box-sizing: border-box;
	border-radius: 15px;
	padding: 1rem 1.5rem;
}

.ac_flow:not(:last-child)::before {
	content: "";
	position: absolute;
	bottom: -35px;
	left: 50%;
	margin-left: -15px;
	border: 18px solid transparent;
	border-top: 18px solid #FFF;
	z-index: 2;
}

.ac_flow:not(:last-child)::after {
	content: "";
	position: absolute;
	bottom: -42px;
	left: 50%;
	margin-left: -17px;
	border: 20px solid transparent;
	border-top: 20px solid #e2cc64;
	z-index: 1;
}
.ac_flow .flex{
	display: flex;
	align-items: flex-start
}
.step{
	font-size: 2rem;
	font-weight: 600;
	padding-right: 15px;
	color: #e2cc64;
}
.step span{
	font-size: 1.5rem;
}

.ac_txt{
	padding-left: 1rem;
}
.ac_txt h3{
	border-bottom: 2px solid #6d370a;
	margin-bottom: 15px;
	color: #6d370a;
	font-size: clamp(1.063rem, 1.013rem + 0.21vw, 1.17rem);
}

.price_title{
	padding: 0 1rem;	
}
.price_title p{
	border-bottom: 1px dotted #6d370a;
	border-top: 2px solid #6d370a;
	padding: 8px 1rem;
	font-size: clamp(18px,2.1vw,20px);
	font-weight: 600;

}
.price_txt_box{
	padding:.5rem 2rem;
}

@media(max-width:529px){
.ac_flow{
	position: relative;
	margin-bottom: 30px;
	padding: .8rem .8rem;
}	
	.ac_flow .flex{
	display:block;
	}
}

/*========================
料金表
===============================================*/

.ptitle{
	font-weight: 400;
	background: #6d370a;
	color: #fff;
	padding: 3px .5rem;
	margin-bottom: 10px;
}
.price_txt p{
	padding: 0 .8rem;
}
.price{
	width: auto;
}
.price tr:first-child{
	border-bottom: #ddd 1px solid;
}
.price tr:last-child{
	border-bottom:none;
}
.price td{
	padding: 5px clamp(.5rem,2vw,2rem);
	vertical-align: top;
}
.price td:nth-child(2n){
	text-align: end;
}

.nowrap{
	white-space: nowrap;
}

@media(max-width:455px){
	.price{
		width: 100%
	}
	.price td{
		padding: 5px 0.5rem;
		vertical-align: top;
	}
	.price td:nth-child(2n){
		width: 70%;
	}
	.price_txt_box{
		padding:.5rem;
	}	
	
}





/*========================
当院について
===============================================*/
.about{
	max-width: 960px;
	margin: 0 auto;
}
.about th{
	font-weight: 400;
	width: 25%;
	color: #fff;
	background: #6d370a;
	border: 1px solid #eee;
	border-right: none;
	vertical-align: top;
	padding: .8rem .5rem;
}

.about td{
	padding: .8rem .5rem;
	background: #fff;
	border: 1px solid #aaa;
}

.map{
	max-width: 960px;
	height: 45vh;
	margin: 0 auto;
}

.map iframe{
	object-fit: cover;
	vertical-align: bottom;
}







/*========================
患者様の声
===============================================*/
.voice_title{
	position: relative;
	text-align: center;
}
.voice_title::after{
    position: absolute;
    content: '';
    width: 22vw;
    height: 17vh;
    background: url(../img/icon/voice_title.svg) no-repeat center / contain;
    left: 77%;
    top: -50px;
}

.voice{
	border: 5px solid rgba(109,55,10,.5);
	padding: 2rem 1.5rem; 
	margin-bottom: 20px;
}
.voice dt{
	font-weight: 600;
	font-size: 1.2rem;
	border-bottom: 1px solid #6d370a;
	margin-bottom: 15px;
	padding-left: 4rem;
	position: relative;
}
.voice dt::before{
	position: absolute;
	content: '';
	width: 2.5rem;
	height: 2.5rem;
	bottom:3px;
	left: .5rem;
	background: url("../img/icon/voice.svg")no-repeat center/contain;	
}
.voice dd{
	padding: 0 1rem;
}

@media(max-width:767px){
	.voice_title{
		text-align: left;
	}
	.voice_title::after{
		display: none;
	}	

}

@media(max-width:500px){
	.voice {
		padding: 1rem .5rem;
	}	
	.voice dt{
		font-size: 1.1rem;
		padding-left: 2.8rem;
	}	
	.voice dt::before{
		width: 1.8rem;
		height: 1.8rem;
		left: .3rem;
	}	
}





