.outer{
	margin-left: auto;
	margin-right: auto;
	max-width: 1680px;
	width: calc(100% - 30px);
}

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

ページトップへ戻る

===============================================*/
#page_top_btn{
	background-color:#fff;
	border: 2px solid #CCCCCC;
	border-radius: 0;
	cursor: pointer;
	height: 57px;
	position: fixed;
	right: 10px;
	bottom: 70px;
	z-index: 50;
	width: 57px;
}

#page_top_btn:hover{
	background-color: #F5E8EE;
}

#page_top_btn::before{
	border-top: solid 2px #830032;
	border-right: solid 2px #830032;
	content: '';
	height: 10px;
	margin-left: -1px;
	position: absolute;
	left: 50%;
	top: 10px;
	transform: rotate(-45deg) translateX(-50%);
	width: 10px;
}

#page_top_btn a{
	border: none;
    content: "";
    font-size: 15px;
    font-weight: bold;
    margin-top: 3.5px;
    margin-left: 0;
    position: absolute;
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}

/*-- under 767px  -------------------------------------*/
@media screen and (max-width:767px){
  #page_top_btn{
    bottom: 60px;
  }
}



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

ヘッダー

===============================================*/
.header_wrap{
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  position: sticky;
    top: 0;
    left: 0;
  transform: none;
  z-index: 100;
  width: 100%;
}

header{
	align-items: center;
	background-color: #fff;
	display: flex;
	justify-content: space-between;
	height: 100px;
    width: 100%;
}

header .logo a{
	align-items: center;
	display: flex;
}

header .logo img{
	width:100%;
}

header .logo img.symbol{
	flex-shrink: 0;
	height:100px;
	margin-right: clamp(10px,1.31vw,2.2rem);
	max-width: 113px;
}

header .logo img.logotype{
	max-width:290px;
}

header nav{
	align-items: center;
	display: flex;
	margin-right: 15px;
}

header nav ul.pc_nav{
  align-items: center;
  display: flex;
  justify-content: space-between;
}


header ul.pc_nav li{
  position: relative;
}

header ul.pc_nav li a{
  color: #830032;
  display: block;
  font-size: 14px;
  line-height: normal;
  padding: 14px clamp(10px,1.19vw,20px);
  text-align: center;
}

header ul.pc_nav li a img{
  height: 50px;
  margin-left: auto;
  margin-right: auto;
  width: 50px;
}

header ul.pc_nav li ul.level_02{
  display: none;
}

header ul.pc_nav li.dropdown.column_02:hover ul.level_02{
  display: flex;
  flex-wrap: wrap;
  width: 300px;
}

header ul.pc_nav li.dropdown.column_02 ul.level_02 li{
  align-content: center;
  width: 50%;
}

header ul.pc_nav li.dropdown:hover ul.level_02{
  background-color: rgba(131,0,50,0.8);
  display: block;
  position: absolute;
    top: 100%;
    left: 50%;
  transform: translateX(-50%);
}

header ul.pc_nav li ul.level_02 > li > a{
  color: #fff;
  padding: 15px 5px;
  width: 150px;
}

header .tel{
    display: flex;
    justify-content: center;
    flex-flow: column;
}

header .tel p{
  color:  #830032;
  font-size: clamp(20px,1.55vw,26px);
  font-weight: bold;
  letter-spacing: 0.02em;
  padding-left: clamp(25px,2.08vw,35px);
  position: relative;
  width: 100%;
}

header .tel p::before{
  background-image: url("../img/common/icon_tel_r.png");
  content: "";
  height: 28px;
  position: absolute;
    top: 0;
    left: 0;
  width: 22px;
}

header .tel a{
  background-color: #F4E8EE;
  border-radius: 5px;
  font-size: 14px;
  margin-top: 5px;
  /* max-width: 100px; */
  text-align: center;
  width: 100%;
}

header .tel a::before{
  content: "";
  display: inline-block;
  margin-right: 5px;
  vertical-align: middle;
}

header .tel a:first-of-type::before{
  background-image: url(../img/common/icon_pencil.png);
  height: 17px;
  width: 17px;
}

header .tel a:last-of-type::before{
  background-image: url(../img/common/icon_mail.png);
  height: 14px;
  width: 18px;
}

.sp_nav{
  display: none !important;
}

/*-- under 1024px  -------------------------------------*/
@media screen and (max-width:1024px){
	header{
		padding: 0;
		height: 70px;
	}

	header .logo img.symbol{
		height:70px;
		max-width: 79px;
	}

	.pc_nav{
		display: none !important;
	}
	.sp_nav{
		display: block !important;
	}
  
/*~~~~~~~~~~~~~~~~~
ハンバーガーメニュー
~~~~~~~~~~~~~~~~~~*/
	header nav {
		height: 70px;
		margin-right: 10px;
	}
	
	header .logo{
		max-width: 100%;
	}
	
	header .logo img.logotype{
		max-width: 160px; 
	}
	
	header .tel_sp{
		margin-right: 10px;
		position: static;
	}

	header .tel_sp a{
		border: 1px solid #830032;
		border-radius: 5px;
		color: #830032;
		font-size: 11px;
		height: 50px;
		justify-content: center;
		text-align: center;
		width: 50px;
	}

	header .tel_sp a::before{
		background-image: url(../img/common/icon_tel_r.png);
		content: "";
		display: block;
		height: 22px;
		margin-left: auto;
		margin-right: auto;
		position: relative;
		top: 5px;
		width: 18px;
	}

	header .hamburger_btn{
		height: 50px;
		position: relative;
		width: 50px;
	}

	header .hamburger_btn::after{
		color: #830032;
		content: "MENU";
		font-size: 12px;
		line-height: 1em;
		position: absolute;
		bottom: 4px;
		left: 0px;
		text-align: center;
		width: 50px;
		z-index: 110;
	}

	header .hamburger_btn span{
		background-color:  #830032;
		display: block;
		height: 2px;
		position: absolute;
		transition: 0.4s all;
		left: 8px;
		width: 36px;
	}

	header .hamburger_btn span:nth-child(1){
		top: 4px;
	}
	header .hamburger_btn span:nth-child(2){
		top: 15px;
	}
	header .hamburger_btn span:nth-child(3){
		top: 26px;
	}

	/*open時*/
	header .hamburger_btn.active span:nth-child(1){
		transform: rotate(45deg);
		top: 15px;
	}
	header .hamburger_btn.active span:nth-child(2){
		opacity: 0;
	}
	header .hamburger_btn.active span:nth-child(3){
		transform: rotate(-45deg);
		top: 15px;
	}
	header .hamburger_btn.active::after{
		content: "\30E1\30CB\30E5\30FC";
	}


	.hamburger_menu{
		background-color: rgba(204,204,204,90%);
		padding-top: 70px;
		height: 100vh;
		position: fixed;
		top: -120%;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
		transition: 0.6s all;
		width: 100%;
		z-index: 98;
	}

	/*open時*/
	.hamburger_menu.active{
		top: 0;
	} 
	.hamburger_menu > ul{
		background-color: #ffffff;
		padding-top: 5px;
	}
	.hamburger_menu ul li{
		background-color: #ffffff;
		text-align: center;
	}
	.hamburger_menu > ul > li > span,
	.hamburger_menu > ul > li > a{
		border-bottom: 1px solid #CCCCCC;
		color: #333333;
		display: block;
		padding: 10px;
		padding-left: 45px;
		padding-right: 45px;
		position: relative;
	}

	.hamburger_menu > ul > li > span::before,
	.hamburger_menu > ul > li > span::after{
		content: '';
		display: inline-block;
		position: absolute;
		right: 30px;
		width: 2px;
		height: 30px;
		background-color: #830032;
	}
	.hamburger_menu > ul > li > span::after{
		transform: rotate(90deg);
	}
	.hamburger_menu > ul > li.open > span::before{
		transform: rotate(90deg);
	}


	.hamburger_menu ul.level_02{
		display: none;
	}
	.hamburger_menu ul.level_02 li a{
		background-color: #C1B400;
		border-bottom: 1px solid #ffffff;
		color: #ffffff;
		display: block;
		padding: 10px;
	}
}



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

メインビジュアル

===============================================*/
#mainvisual{
	height: clamp(600px,47.92vw,920px);
	padding: 30px 5rem;
	position: relative;
}

#mainvisual .mv_img{
	height: 100%
}

#mainvisual .mv_img img{
	border-radius: 10px;
	height: 100%;
	object-fit: cover;
	object-position: 60%;
	width: 100%;
}

#mainvisual .mv_text{
	color: inherit;
	font-weight: bold;
	max-width: 1500px;
	padding-left: 7rem;
	padding-right: 7rem;
	position: absolute;
	top: 18%;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
}

#mainvisual .mv_text p.catch_copy{
	font-size: clamp(4.5rem,4.17vw,7rem);
	letter-spacing: 0.1em;
	line-height: 1.2em;
}

#mainvisual .mv_text .en{
	color: #830032;
	font-size: clamp(2rem,1.79vw,3rem);
	font-weight: 400;
	letter-spacing: 0.04em;
	margin-top: clamp(1px,1.19vw,2rem);
}

#mainvisual .news_box{
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 35px;
	padding: 2rem 5rem;
	position: absolute;
	left: 50%;
	bottom: 9rem;
	transform: translateX(-50%);
	width: calc(100% - 12rem);
}

#mainvisual .news_box a{
	color: #000;
	display: flex;
	font-weight: 500;
}

#mainvisual .news_box a .date{
	font-size: 14px;
	flex-shrink: 0;
}

#mainvisual .news_box a .category{
	background-color: #F5E8EE;
	color: #830032;
	font-size: 14px;
	font-weight: bold;
	margin-left: 1.5rem;
	margin-right: 1.5rem;
	padding: 0 10px;
	text-align: center;
	width: 12rem;
}

#mainvisual .news_box a:hover{
	opacity: 1;
}

#mainvisual .news_box a:hover .title{
	color: #830032;
	text-decoration: underline;
}

/*-- under 767px  -------------------------------------*/
@media screen and (max-width:767px){
	#mainvisual{
		height: auto;
		padding: 15px 15px 0;
	}
	
	#mainvisual .mv_text{
		padding-left: 30px;
		padding-right:30px;
	}
	
	#mainvisual .mv_text p.catch_copy{
		font-size: 26px;
	}
	
	#mainvisual .mv_img img{
		height: 360px;
		object-position: 52%;
	}
	
	#mainvisual .news_box{
		border: none;
		border-radius: 0;
		padding: 0;
		margin-top: 30px;
		position: static;
		transform: none;
		width: 100%;
	}
	
	#mainvisual .news_box a{
		flex-wrap: wrap;
	}
	
	#mainvisual .news_box a .title{
		width: 100%;
	}
}

/*~~~~~~~~~~~~~~~~~
サイドリンク
~~~~~~~~~~~~~~~~~~*/
#side_link{
  display: flex;
  flex-flow: column;
  position:fixed;
    top: 50%;
    right: -3px;
  transform: translateY(-50%);
  z-index: 10;
}

#side_link a{
	background-color: #F4E8EE;
	border: 3px solid #830032;
	border-radius: 15px 0 0 15px;
	color: #fff;
	font-size: 15px;
	font-weight: bold;
	letter-spacing: 0;
	line-height: 1.2em;
	margin: 5px 0;
	padding: 8px;
	padding-top: 48px;
	text-align: center;
	writing-mode: horizontal-tb;
	width: 90px;  
}

#side_link a::before{
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

#side_link a.line{
	background-color: #06C755;
	border-color: #06C755;
}
#side_link a.line::before{
	background-image: url("../img/common/icon_line.png") !important;
	height: 3.5rem;
	top: 0.8rem;
	width: 3.7rem;
}

#side_link a.contact{
	background-color: #830032;
	border-color: #830032;
}
#side_link a.contact::before{
	background-image: url("../img/common/icon_main_02.png") !important;
	height: 2.6rem;
	top: 1rem;
	width: 3.6rem;
}

#side_link a.medical-interview{
	background-color: #D9B500;
	border-color: #D9B500;
}
#side_link a.medical-interview::before{
	background-image: url("../img/common/icon_pencil_w.png") !important;
	height: 3.6rem;
	top: 0.8rem;
	width: 2.8rem;
}

/*-- under 767px  -------------------------------------*/
@media screen and (max-width:767px){
	#side_link{
		display: flex;
		flex-flow: row;
		top: auto;
		right: 0;
		bottom: 0;
		transform: translateY(0);
		width: 100%;
	}

	#side_link a{
		align-items: center;
		background-color: #C1B400;
		border: none;
		border-radius:0;
		color: #ffffff;
		display: flex;
		font-size: 14px;
		font-weight: 500;
		justify-content: center;
		line-height: normal;
		letter-spacing: normal;
		margin: 0;
		padding: 10px;
		text-align: center;
		width: 100%;
		writing-mode: horizontal-tb;
	}

	#side_link a:not(:last-child){
		border-right: 2px solid #ffffff;
	}

	#side_link a::before{
		display: inline-block;
		margin-right: 10px;
		vertical-align: middle;
		position: relative;
		top: 0 !important;
		left: 0;
		transform: translateX(0);
	}

}



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

トップ

===============================================*/
#front-page .flex_box{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#front-page h2 {
    font-size: clamp(28px, 5vw, 6rem);
    line-height: 1em;
    margin-bottom: clamp(4rem, 1.79vw, 6rem);
    text-align: center;
}

#front-page h2 .en{
    color: #830032;
    display: block;
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(14px, 1.5vw, 18px);
    letter-spacing: 0.1em;
}

#front-page .link_btn a{
	max-width: 280px;
	min-width: 1px;
	padding: 2.3rem;
	width: 100%;
}

#front-page .link_btn a::before{
	display: block;
	right: 15px;
}

/*-- under 767px  -------------------------------------*/
@media screen and (max-width: 767px){
	#front-page h2{
		line-height: 1.4em;
	}
}

/*~~~~~~~~~~~~~~~~~
トップアンカー
~~~~~~~~~~~~~~~~~~*/
#top_anchor{
	display: none;
	position: fixed;
	top:120px;
	left: 50%;
	transform: translateX(-50%);
	z-index:20;
}

#top_anchor ul{
	display: flex;
}

#top_anchor ul li{
	width: 20%;
}

#top_anchor ul li a{
	align-items: center;
	background-color: #fff;
	border:1px solid #CCCCCC;
	color: #333;
	display: flex;
	font-weight: 700;
	justify-content: center;
	line-height: 1.4em;
	height: 100%;
	padding: 20px;
	text-align: center;
}

#top_anchor ul li a:hover{
	background-color: #F4E8EE;
	opacity: 1;
}

#top_anchor ul li a::after{
	border-top: solid 2px #830032;
	border-right: solid 2px #830032;
	content: '';
	display: inline-block;
	height: 10px;
	margin-top: -7px;
	margin-left: 1.5rem;
	transform: rotate(135deg);
	width: 10px;
}

/*-- under 767px  -------------------------------------*/
@media screen and (max-width: 767px){
	#top_anchor{
		display: none !important;
	}
}


/*~~~~~~~~~~~~~~~~~
インプラントバナー
~~~~~~~~~~~~~~~~~~*/
.bnr_implant{
	display: flex;
	min-height: 320px;
	margin-top: 5rem;
	margin-bottom: 5rem;
	position: relative;
	transition: opacity 0.3s;
}

.bnr_implant:hover{
	opacity: 0.6;
}

.bnr_implant::before{
	background-color: #201D36;
	border-bottom-right-radius: 5px;
	content: "";
	height: 6.5rem;
	position: absolute;
	right: 15px;
	bottom: 0;
	width: 6.5rem;
	z-index: 1;
}

.bnr_implant::after{
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    content: '';
    height: 18px;
    position: absolute;
    right: calc(15px + 2.5rem);
    bottom: 2.4rem;
    transform: rotate(45deg);
    width: 18px;
    z-index: 1;
}

.bnr_implant .text_box{
	background-color: #E9F1F8;
	border-radius: 5px 0 0 5px;
	display: flex;
    flex-flow: column;
    justify-content: center;
	padding-left: clamp(15rem,19.53vw,20rem); 
	position: relative;
	width: 50%;
}

.bnr_implant .text_box .circle{
	align-items: center;
	background-color: #CFB772;
	border-radius: 50%;
	display: flex;
	font-weight: bold;
	justify-content: center;
	height: clamp(100px,12.11vw,12.4rem);
	position: absolute;
	top: 50%;
	left: clamp(15px,3.91vw,4rem);
	transform: translateY(-50%);
	text-align:center;
	width: clamp(100px,12.11vw,12.4rem);
}

.bnr_implant .text_box .circle p{
	color: #fff;
}

.bnr_implant .text_box p{
	color: #000;
	font-size: clamp(20px,2.44vw,2.5rem);
	letter-spacing: 0.075em;
	line-height: 1.5em;
}

.bnr_implant .text_box .title{
	color: #39345E;
	font-weight: 500;
	font-size: clamp(2.2rem,3.13vw,3.2rem);
	margin-bottom: 1rem;
}

.bnr_implant .text_box .title span{
	display: inline-block;
	font-size: clamp(3rem,4.59vw,4.7rem);
	font-weight: bold;
	letter-spacing: 0;
	margin-top: 5px;
}

.bnr_implant .img_box{
	border-radius:  0 5px 5px 0;
	overflow: hidden;
	position:relative;
	width: 50%;
}

.bnr_implant .img_box::before{
	background: linear-gradient(270deg,rgba(233, 241, 248, 0) 0%, rgba(233, 241, 248, 1) 95%,rgba(233, 241, 248, 1) 100%);
	content: "";
	height: 100%;
	position: absolute;
	top: 0;
	left: -1px;
	width:15%;
}

.bnr_implant .img_box img{
	height: 100%;
	object-fit: cover;
	object-position: 5%;
	width: 100%;
}

/*-- under 767px  -------------------------------------*/
@media screen and (max-width: 767px){
	.bnr_implant{
		height: 185px;
		min-height: 1px;
		max-width: 390px;
	}
	
	.bnr_implant::before{
		height: 30px;
		width: 30px;
	}
	
	.bnr_implant::after {
		border-top: solid 2px #fff;
		border-right: solid 2px #fff;
		content: '';
		height: 10px;
		position: absolute;
		right: calc(15px + 12px);
		bottom: 10px;
		transform: rotate(45deg);
		width: 10px;
		z-index: 1;
	}
	
	.bnr_implant .text_box{
		padding-top: 20px;
		padding-left: 15px;
		width: 60%;
	}
	
	.bnr_implant .text_box p{
		font-size: 14px;
	}
	
	.bnr_implant .text_box .title{
		font-size: 16px;
	}
	.bnr_implant .text_box .title span{
		font-size: 26px;
	}
	
	.bnr_implant .text_box .circle{
		font-size: 13px;
		height: 63px;
		top: 9px;
        left: 62%;
		transform: none;
		width: 63px;
	}
	
	.bnr_implant .img_box{
		width: 40%;
	}
	
	.bnr_implant .img_box::before{
		width: 50%;
	}
	
	.bnr_implant .img_box img {
		object-position: 45%;
	}
	
}

/*~~~~~~~~~~~~~~~~~
ないとう歯科の強み
~~~~~~~~~~~~~~~~~~*/
#top_feature{
	background-color: #FBFAE8;
	margin-top: 10rem;
	padding-top: 10rem;
	padding-bottom: 10rem;
}

#top_feature .flex_box{
	background-color: #fff;
	gap: 5rem 0;
	padding: 6rem clamp(15px,5.36vw,9rem);
}

#top_feature .flex_box .item{
	counter-increment: feature_number;
	font-weight: 500;
	padding-top: 30px;
	position: relative;
	width: 23%;
}

#top_feature .flex_box .item::before{
	background-color: #830032;
	color: #fff;
	content: counter(feature_number, decimal-leading-zero);
	font-family: "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
	font-size: 2.5rem;
	height: 6rem;
	line-height: 6rem;
	position: absolute;
	top: 0;
	left: 50%;
	text-align: center;
	transform: translateX(-50%);
	width: 6rem;
}

#top_feature .flex_box .item h3{
	font-size: clamp(22px, 2.73vw, 2.8rem);
	font-weight: bold;
	margin-top: 2.5rem;
	margin-bottom: 2rem;
	padding-bottom: 20px;
	position: relative;
}

#top_feature .flex_box .item h3::before{
	background-color: #830032;
	content: "";
	height: 5px;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 35px;
}

#top_feature .link_btn{
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

#top_feature .link_btn a{
	max-width: 340px;
}


/*-- under 1024px  -------------------------------------*/
@media screen and (max-width: 1024px){
	#top_feature .flex_box::after{
		content: "";
		display: block;
		width:32%;
	}
	
	#top_feature .flex_box .item{
		width: 32%;
	}
}


/*-- under 767px  -------------------------------------*/
@media screen and (max-width: 767px){
	#top_feature{
		padding-top: 6rem;
		padding-bottom: 6rem;
	}
	
	#top_feature .flex_box{
		gap:30px 0 ;
	}
	
	#top_feature .flex_box .item{
		width: 100%;
	}
	
	#top_feature .flex_box .item h3{
		margin-top: 15px;
		margin-bottom: 15px;
		padding-bottom: 15px;
	}
}

/*~~~~~~~~~~~~~~~~~
選べるメニュー
~~~~~~~~~~~~~~~~~~*/
#top_trouble{
	padding-top: 10rem;
}

#top_trouble .flex_box{
	margin-bottom: 12rem;
}

#top_trouble .flex_box .item{
	border: 1px solid #ccc;
	color: #000;;
	display: block;
	font-size: clamp(15px,2.34vw,18px);
	font-weight: 500;
	padding: 3rem 15px 4.5rem;
	text-align: center;
	width: 20%;
}
#top_trouble .flex_box .item:hover{
	background-color: #F5E8EE;
	opacity: 1;
}

#top_trouble .flex_box .item::before{
	background-color: #830032;
	content: "";
	height: 4rem;
	position: absolute;
	right: 0;
	bottom: 0;
	width: 4rem;
}

#top_trouble .flex_box .item::after{
	border-top: solid 2px #fff;
	border-right: solid 2px #fff;
	content: '';
	height: 10px;
	position: absolute;
	right: 1.6rem;
    bottom: 1.5rem;
	transform: rotate(45deg);
	width: 10px;
}

#top_trouble .flex_box .item .img_box{
	align-items: center;
	aspect-ratio: 1 / 1;
	background-color: #F5E8EE;
	border-radius: 50%;
	display: flex;
	justify-content: center;
    margin-left: auto;
    margin-right: auto;
	margin-bottom: 15px;
    max-height: 140px;
    max-width: 140px;
	padding: 2.2rem;
	transition: 0.2s;
    width: 100%;
}
#top_trouble .flex_box .item:hover .img_box{
	background-color: #fff;
}

#top_trouble .flex_box .item .img_box img{
	max-height: 8.5rem;
	object-fit: contain;
}

#top_trouble .room_slider{
	padding-bottom: 12rem;
	position:relative;
}

#top_trouble .room_slider::before{
	background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 25%, rgba(245, 232, 238, 1) 25%, rgba(245, 232, 238, 1) 100%);
	content: "";
	height: 100%;
	max-width: 65%;
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
}

#top_trouble .room_slider .slide{
	margin-left: 2rem;
	margin-right: 2rem;
}

/*-- under 1024px  -------------------------------------*/
@media screen and (max-width: 1024px){
	#top_trouble .flex_box::before,
	#top_trouble .flex_box::after{
		content: "";
		display: block;
		order: 1;
		width:25%;
	}
	
	#top_trouble .flex_box .item{
		width: 25%;
	}
}

/*-- under 767px  -------------------------------------*/
@media screen and (max-width: 767px){
	#top_trouble{
		padding-top: 6rem;
	}
	
	#top_trouble .flex_box {
		margin-bottom: 5rem;
	}
	
	#top_trouble .flex_box .item{
		width: 50%;
	}
	
	#top_trouble .flex_box .item .img_box{
		height: 100px;
		width: 100px;
	}
	
	#top_trouble .flex_box .item .img_box img {
		max-height: 7.5rem;align-content
	}
	
	#top_trouble .room_slider .slide {
    	margin-left: 10px;
		margin-right: 10px;
	}
}



/*~~~~~~~~~~~~~~~~~
ごあいさつ
~~~~~~~~~~~~~~~~~~*/
#top_message{
	margin-top: 12rem;
	margin-bottom: 12rem;
}

#top_message .flex_box{
	align-items: flex-start;
}

#top_message .img_box{
	position: relative;
	width: 43%;
}

#top_message .img_box::before{
	background-color: #F5E8EE;
	content: "";
	height: 35%;
	position: absolute;
	top: 77%;
	left: -18%;
	width: 84%;
	z-index: -1;
}

#top_message .img_box .name_box{
	background-color: #fff;
	font-size:18px;
	font-weight: 700;
	letter-spacing: 0.1em;
	padding: 2.7rem;
	position: absolute;
	right: 0;
	bottom: -1px;
}

#top_message .img_box .name_box span{
	font-size: 165%;
}

#top_message .text_box{
	padding-right: 80px;
	width: 52%;
}

#top_message .text_box h2{
	font-size: clamp(23px, 3.39vw, 4rem);
	line-height: 1.5em;
	text-align: left;
}

#top_message .text_box p{
	font-size: 18px;
	font-weight: 500;
	line-height: 2em;
	margin-bottom: 1.5em;
}

/*-- under 767px  -------------------------------------*/
@media screen and (max-width: 767px){
	#top_message{
		margin-top: 6rem;
		margin-bottom: 6rem;
	}
	
	#top_message .img_box{
		margin-bottom: 80px;
		width: 100%;
	}
	
	#top_message .text_box{
		padding-right: 0;
		width: 100%;
	}
	
	#top_message .img_box .name_box{
		font-size: 14px;
		line-height: normal;
		padding: 2.2rem;
	}
	
	#top_message .img_box .name_box span {
		font-size: 140%;
	}
	
	#top_message .text_wrap{
		height: 320px;
		overflow: hidden;
		position: relative;
	}
	
	#top_message .text_wrap::before{
		background: linear-gradient(180deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 30%, rgba(255, 255, 255, 1) 100%);
		content: "";
		height:100%;
		position: absolute;
		top 0;
		left: 0;
		width: 100%;
	}
	
	#top_message .text_wrap.is-show{
		height: auto;
	}
	#top_message .text_wrap.is-show::before{
		display:none;
	}
	
	#top_message .more_btn{
		opacity: 1;
	}
	
	#top_message .more_btn button{
		background-color: #fff;
		border: 1px solid #AAA;
		border-radius: 30px;
		font-size: 16px;
		height: auto;
		max-width: 280px;
		padding: 12px;
		position: absolute;
		left: 50%;
		bottom: 0;
		transform: translatex(-50%);
		width: 100%;
		z-index: 2;
	}
	
	#top_message .more_btn button::before{
		background-color: transparent;
		border-top: solid 2px #333;
		border-right: solid 2px #333;
		content: '';
		height: 10px;
		margin-top: -10px;
		position: absolute;
		left: auto;
		right: 20px;
		top: 50%;
		transform: rotate(135deg) translatey(-50%);
		width: 10px;
	}
	
	
	#top_message .more_btn button::after{
		display: none;
	}
	
	#top_message .text_box p{
		font-size: 16px;
	}
	
	#top_message .link_btn{
		text-align: center;
	}
}

/*~~~~~~~~~~~~~~~~~
診療案内
~~~~~~~~~~~~~~~~~~*/
#top_treatment{
	background-color: #FBFAE8;
	margin-top: 12rem;
	margin-bottom: 12rem !important;
	padding-top: 12rem;
	padding-bottom: 12rem;
}

#top_treatment .flex_box{
	gap: 3rem 0;
}

#top_treatment a{
	background-color: #fff;
	display: flex;
	width: 32%;
}

#top_treatment a::before{
	background-color: #830032;
	content: "";
	height: 4rem;
	position: absolute;
	right: 0;
	bottom: 0;
	width: 4rem;
}

#top_treatment a::after{
	border-top: solid 2px #fff;
	border-right: solid 2px #fff;
	content: '';
	height: 10px;
	position: absolute;
	right: 1.6rem;
    bottom: 1.5rem;
	transform: rotate(45deg);
	width: 10px;
}

#top_treatment a .img_box{
	overflow: hidden;
	width: 47%;
}

#top_treatment a .img_box img{
	object-fit: cover;
	transition: 0.4s;
}

#top_treatment a:hover .img_box img{
	transform: scale(1.15);
}

#top_treatment a .text_box{
	align-items: center;
	display: flex;
	padding-left: 2rem;
	width: 53%;
}

#top_treatment a .text_box p{
	color: #000;
	font-size: 2rem;
	font-weight: bold;
}

/*-- under 1024px  -------------------------------------*/
@media screen and (max-width: 1024px){
	
	#top_treatment a{
		width: 49%;
	}
}

/*-- under 767px  -------------------------------------*/
@media screen and (max-width: 767px){
	#top_treatment{
		margin-top: 6rem;
		margin-bottom: 6rem !important;
		padding-top: 6rem;
		padding-bottom: 6rem;
	}
	
	#top_treatment a{
		width: 100%;
	}
	
	#top_treatment .flex_box{
		gap: 20px 0;
	}
	
	#top_treatment a .img_box{
		width: 39%;
	}
	
	#top_treatment a .text_box{
		width: 61%;
	}
}