/* CSS Document */



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

	header

============================================================================*/
#header {
	position: absolute;
	width:100%;
	height: 135px;
	display: flex;
	align-items: stretch;
	z-index: 999;
}

/*------------------------------ h1見出しテキスト：非表示 ------------------------------*/
header h1 {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/*------------------------------ ロゴ ------------------------------*/
.header_logo {
	width: 360px;
	height: 100%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 0 0 20px 0;
}
.header_logo img {
	width: 270px;
	height: auto;
}





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

	右エリア

============================================================================*/
#header .header_info {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
}

/*------------------------------ 電話・予約 ------------------------------*/
#header .header_tel-res {
	display: flex;
	align-items: stretch;
	height: 60px;
}
#header .header_tel-res a {
	width: 270px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	color: #fff;
	transition: background 0.2s;
}
#header .header_tel-res a i {
	display: flex;
	align-items: center;
}
#header .header-tel {
	background: var(--color-gold-light);
	font-size: 24px;
	font-family: "Cormorant Infant", serif;
	letter-spacing: 2px;
}
#header .header-reserve {
	background: var(--color-green-light);
	font-size: 17px;
  	font-family: "Shippori Mincho B1", serif;
}
#header .header-tel:hover {
	background: var(--color-gold);
}
#header .header-reserve:hover {
	background: var(--color-green);
}
#header .header-reserve:last-of-type {
	background: var(--color-gold-light);
}
#header .header-reserve:last-of-type:hover {
	background: var(--color-gold-light);
}





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

	nav

============================================================================*/
#header nav > ul {
	height: 60px;
	display: flex;
	align-items: center;
	padding: 0 45px 0 45px;
	background: rgba(255,255,255,.8);
	border-radius: 30px 0 0 30px;
}
#header nav ul > li {
	position: relative;
	display: flex;
	align-items: center;
}
#header nav ul > li > a {
	position: relative;
	display: flex;
	align-items: center;
  	font-family: "Shippori Mincho B1", serif;
	color: #222;
	white-space: nowrap;
	transition: color 0.2s;
}
#header nav ul > li > a:hover {
	color: var(--color-green);
}
#header nav ul > li:not(:last-child)::after {
	content: "/";
	color: #e1cbaa;
	margin: 0 16px;
	pointer-events: none;
}

/*------------------------------ ドロップダウン ------------------------------*/
.dropdown{
	visibility: hidden;
	opacity: 0;
	position: absolute;
	top: 180%;
	width: 200px;
	left: -70px;
	padding: 10px;
	background: #f4f3f0;
	border-radius: 10px;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	z-index: 100;
}
.has-dropdown:hover .dropdown{
	visibility: visible;
	opacity: 1;
}
.has-dropdown:hover .dropdown{
	display: block;
}
.dropdown li a {
	display: block;
	padding: 8px 24px;
	font-size: 15px;
	color: #222;
	white-space: nowrap;
	transition: background 0.15s, color 0.15s;
	background: #FFF;
	border-radius: 5px;
	transition: 0.3s;
}
.dropdown li a:hover{
	background: #d9d6cf;
	color: #888;
	padding: 8px 28px;
}
.dropdown .dropdown-inner{
	display: grid;
	gap: 5px;
}
.dropdown .coming-soon{
	display: block;
	padding: 10px 24px;
	font-size: 13px;
	color: #999;
}
.has-dropdown::before {
	content: "";
	position: absolute;
	top: 100%;
	left: -15%;
	width: 80%;
	height: 80%;
	background: transparent;
}

/*医院・ドクター紹介*/
.dropdown-about{
	width: 340px;
	left: -105px;
}
.dropdown-about .dropdown-inner{
	grid-template-columns: 1fr 1fr;
}

/*歯科*/
.dropdown-dental{
	width: 180px;
	left: -115%;
}
/*.dropdown-dental{
	min-width: 480px;
	width: 800px;
	left: -390px;
}
.dropdown-dental .dropdown-inner{
	grid-template-columns: 1fr 1fr 1fr;
}*/

/*受診をお考えの方*/
.dropdown-visit{
	width: 240px;
	left: -35%;
}

/*料金表*/
.dropdown-price{
	width: 140px;
	left: -55%;
}

/*採用情報*/
.dropdown-recruit{
	width: 140px;
	left: -95%;
}


/*------------------------------ ホバーのボーダー ------------------------------*/
nav li a::before {
    position: absolute;
	left: 0;
	right:0;
	bottom: -5px;
	width:100%;
	height: 1px;
	margin:auto;
	background-color: var(--color-gold-light);
	transition: 0.15s  ease-out;
	transform: scaleX(0);
	content: "";
	z-index: 1;
}
nav li a:hover::before{
	transform: scaleX(1);
}
.dropdown li a::before { display: none;}

/*------------------------------ PC＊スクロール後設定 ------------------------------*/
#header.HeightMin{
	position: fixed;
	height: 135px; /*85*/
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from { opacity: 0; transform: translateY(-170px);}
  to   { opacity: 1; transform: translateY(0);}
}
/*
#header.HeightMin .header_info {
	justify-content: flex-end;
}
#header.HeightMin .header_tel-res {
	display: none;
}*/




















@media screen and (max-width:640px) {
header#header {
	display:none;
}

/*------------------------------ h1 ------------------------------*/
#sp_header h1{
	position:relative;
	top: 0;
	width:100%;
	box-sizing: border-box;
	font-size: 10px;
	color: #000;
	line-height: 25px;
	height: 25px;
	background: url("../images/bg_03.jpg");
	background-size: cover;
	padding-left: 4%;
	letter-spacing: 0;
}


/*------------------------------ ロゴ ------------------------------*/
#sp_header_logo {
	position: absolute;
	width: 220px;
	padding-top: 15px;
	margin-left: 4%;
}
#sp_header_logo img {
	position: relative;
	z-index: 999;
}
}




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

	navi

============================================================================*/
.sp_navi {
	display:block;
    position:fixed;
    top: 10px;
    right: 10px;
    width: 75px;
    height: 75px;
    background: #FFF;
    border-radius: 5px;
    box-sizing: border-box;
    border: 1px solid #eee;
	z-index: 9998;
}
.sp_navi::after {
	content: "MENU";
	position:absolute;
	top:44px;
	right:18px;
	font-family: "Zen Maru Gothic", sans-serif;
	font-size: 11px;
	color: #666;
	letter-spacing: 1.2px;
	z-index: 99998;
}



.sp_navi dl dt {
	display:block;
	cursor:pointer;
	padding: 0 4%;
}
.sp_navi dl dd {
	position: fixed;
	display: none;
	background: rgba(102,157,145,.5);
	width: 100%;
	min-width: 100vw;
	height: calc( 100% + 10px );
    min-height: calc( 100vh + 10px );
	transition: all 0.5s ease-in-out;
	z-index: 9998;
    top: -10px;
}
.sp_navi dl dd.active {
	display: block;
	animation: slidenav 0.5s forwards;
}
@keyframes slidenav{
  from { right: -100%;}
  to { right: 0%;}
}



.sp_navi ul{
	position: absolute;
	display: block;
	right: -100%;
	width: 95%;
	height: 100%;
	padding: 20px 6% 100px;
	box-sizing: border-box;
	background: #fff;
	z-index: 9998;
	transition: all 0.5s ease-in-out;
	overflow: scroll;
}
.sp_navi ul.active {
	right: 0%;
	animation: slidenav 0.5s forwards;
}




.sp_navi ul li {
	position: relative;
	width:100%;
	box-sizing: border-box;
	padding-left: 8%;
	border-bottom: 1px solid #ddd;
	line-height: 4;
	transition: 0.3s ease-out;
}
.sp_navi ul li::before {
	position: absolute; content: "";
	top: 29px; left: 5px;
	width: 10px; height: 10px;
	box-sizing: border-box;
	border: 3px solid var(--color-green-light);;
	border-radius: 100%;
}
.sp_navi ul li a {
	color: #222;
}
.sp_navi ul li a:hover {
	padding-left: 10px;
}



/*下層に入るデザイン*/
.sp_navi dd li.sp_under {
	border-bottom: none;
	border-bottom: 1px dashed #eee;
    line-height: 3.5;
}
.sp_navi dd li.sp_under a {
	position: relative;
    padding-left: 17px;
}
.sp_navi dd li.sp_under::before { 
    display: none;
}
.sp_navi dd li.sp_under a::before { 
    position: absolute; content: "";
    width: 7px; height: 7px;
	background: var(--color-gold-light);;
    border-radius: 100%;
    top: 8px; left: 0px;
}
.sp_navi ul li.sp_under a:hover {
	padding-left: 25px;
}




/*１つ目のliはロゴ*/
.sp_navi ul li:first-of-type {
	width:100%;
	margin-bottom: 20px;
	padding-left: 0;
	border-bottom: 0;
}
.sp_navi ul li:first-of-type a {
	padding-left: 0;
}
.sp_navi ul li:first-of-type img {
    width: 200px;
    height: auto;
}
.sp_navi ul li:first-of-type::before {
	display: none;
}
.sp_navi ul li:first-of-type:hover {
	padding-left: 0;
}




/*--------------------------- ハンバーガーボタン ---------------------------*/
.sp_navi dt a {
    display: block;
    width: 46px;
    height:46px;
    position: absolute;
    top:7px;
    right: 15px;
    z-index: 9999999;
}
.sp_navi dt a span {
    position: absolute;
    display: block;
    width: 32px;
    height: 1px;
    left: 9px;
    background: #666;
    transition: all 0.4s;
}
.sp_navi dt a span:first-child {
    top: 14px;
}
.sp_navi dt a span:nth-child(2) {
    margin-top: -1px;
    top: 50%;
}
.sp_navi dt a span:last-child {
    bottom: 14px;
}
.sp_navi dt a.active span:first-child {
    background: #000;
    transform: translateY(8px) rotate(45deg);
}
.sp_navi dt a.active span:nth-child(2) {
    opacity: 0;
}
.sp_navi dt a.active span:last-child {
    background: #000;
    transform: translateY(-8px) rotate(-45deg);
}





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

	デザイン変更　

============================================================================*/
.sp_navi dd li:nth-of-type(2) { /*HOME*/
}
.sp_navi dd li:nth-of-type(3) { /*sp_under開始*/
	border-bottom: 1px dashed #eee;
}
.sp_navi dd li:nth-of-type(7) { /*sp_under終了*/
	border-bottom: 1px solid #ddd;
	padding-bottom: 5px;
}
.sp_navi dd li:nth-of-type(8) { /*sp_under開始*/
	border-bottom: 1px dashed #eee;
}
.sp_navi dd li:nth-of-type(10) { /*sp_under終了*/
	border-bottom: 1px solid #ddd;
	padding-bottom: 5px;
}
.sp_navi dd li:nth-of-type(12) { /*sp_under開始*/
	border-bottom: 1px dashed #eee;
}
.sp_navi dd li:nth-of-type(14) { /*sp_under終了*/
	border-bottom: 1px solid #ddd;
	padding-bottom: 5px;
}
.sp_navi dd li:nth-of-type(15) { /*sp_under開始*/
	border-bottom: 1px dashed #eee;
}
.sp_navi dd li:nth-of-type(17) { /*sp_under終了*/
	border-bottom: 1px solid #ddd;
	padding-bottom: 5px;
}
.sp_navi dd li:nth-of-type(18) { /*sp_under開始*/
	border-bottom: 1px dashed #eee;
}
.sp_navi dd li:nth-of-type(22) { /*sp_under終了*/
	border-bottom: 1px solid #ddd;
	padding-bottom: 5px;
}



	
	





