@charset "utf-8";
/*
Theme Name: 光澤歯科医院
Author: Kotaro Saito
Description:  光澤歯科医院のテーマ
version: 1.0.0
*/

/*common
-----------------------------------------------------------------------------------------*/
html,body{
	width: 100%;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	font-family: "Noto Serif JP", serif;
	font-size: 16px;
	color: rgba(71, 60, 53, 1);
}

.font-sans {
  font-family: "Noto Sans JP", sans-serif;
}

.font-inter {
  font-family: "Inter", sans-serif;
}

.font-book {
  font-family: "Gentium Book Plus", serif;
}

.font-caudex {
  font-family: "Caudex", serif;
	text-transform: uppercase;
}


@media screen and (min-width:768px) {
.sp{
	display: none;
}
}

@media screen and (max-width:767px) {
.pc{
	display: none;
}

html,body{
	font-size: 14px;
}
}


/*header
-----------------------------------------------------------------------------------------*/
.header-flex{
	height: 100px;
	align-items: center;
	justify-content: center;
	gap: 200px;
	position: absolute;
	width: 100%;
	padding: 0 50px;
	z-index: 100;
	background-color: rgba(255, 255, 255, 0.9);
}

.header-logo{
	width: 330px;
}

.header-link-flex{
	gap: 25px;
	align-items: flex-end;
}

.header-link{
	color: rgba(52, 152, 137, 1);
	position: relative;
}

.header-link::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background-color: rgba(52, 152, 137, 1);
    bottom: -5px;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform 0.3s;
}

.header-link:hover::after {
    transform: scale(1, 1);
}

.header-link2{
	margin-bottom: 10px;
	display: inline-block;
}

.header-teeth{
	width: 30px;
	margin-bottom: 5px;
}

.header-teeth-2{
	opacity: 0;
	transition: opacity 0.3s;
}

.header-link-teeth:hover .header-teeth-2 {
	opacity: 1;
}


.drop_menu{
	position: relative;
}

.child_menu{
	position: absolute;
	display: none;
	transition: .6s;
}
/* ホバー時 */
.drop_menu:hover .child_menu {
	transition: .3s;
	display: block;
	transform: scale(1,1); /*高さを100%に*/
	background-color: rgba(255, 255, 255, 1);
	width: 200px;
	left: -50px;
	top: 100%;
	text-align: left;
	padding: 30px 0 20px 50px;
}

.sp-navigation{
	display: none;
}

.header-green-top{
	position: fixed;
	top: 300px;
	right: 0px;
	width: 360px;
	z-index: 999;
	overflow: hidden;
	transform: translateX(300px); /* ← 右に完全に隠す */
	transition: transform .5s ease
}

.header-green-title{
	font-size: 1.2rem;
	background-color: rgba(52, 152, 137, 1);
	color: rgba(255, 255, 255, 1);
	border-radius: 20px 0 0 20px;
	padding: 12px;
	 writing-mode: vertical-rl;
	 width: 60px;
}

.header-green-box{
	width: 300px;
	padding: 15px;
	background-color: rgba(255, 255, 255, 1);
}

.header-green-top:hover{
	transform: translateX(0);
}

.header-green-text{
	font-size: 0.8rem;
	color: rgba(52, 152, 137, 1);
}

.header-green-tel{
	gap: 10px;
	align-items: center;
}

.header-green-line{
	width: 60%;
	height: 1px;
	background-color: rgba(52, 152, 137, 1);
	margin: 15px auto;

}

.header-green-img{
	width: 40px;
	margin: 0;
}

.header-green-number{
	font-size: 2.2rem;
	color: rgba(7, 7, 7, 1);
}

.header-green-link{
	font-size: 1rem;
	width: 60%;
	padding: 5px;
	margin-top: 10px;
}

.header-time-top{
	position: fixed;
	top: 500px;
	right: 0px;
	width: 610px;
	z-index: 999;
	overflow: hidden;
	transform: translateX(550px); 
	transition: transform 1s ease
}

.header-time-top:hover{
	transform: translateX(0);
}



.header-green-lime{
	width: 550px;
}



@media screen and (max-width:1200px) {
	.header-flex{
		gap: 50px;
	}
}

@media screen and (max-width:1023px) {
	.header-logo {
		width: 200px;
	}

	.header-flex{
		gap: 30px;
		padding: 10px 20px;
	}

	.header-link-flex{
		gap: 15px;
	}
}

@media screen and (max-width:767px) {
	.header-link-flex{
		display: none;
	}

	.sp-navigation{
		display: block;
		z-index: 999;
		position: relative;
	}

	.header-flex{
		height: 60px;
	}

	.header-logo {
		width: 150px;
		margin-right: auto;
	}

	a.drawer-menu-item{
		color: rgba(52, 152, 137, 1);
	}

	nav.drawer-nav {
		padding-top: 60px;
	}

	.drawer--right.drawer-open button.drawer-hamburger {
		right: 0rem;
	}

	.header-time-top{
		display: none;
	}

	.header-green-top{
		top: auto;
		bottom: 10px;
		width: 290px;
		transform: translateX(250px)
	}

	.header-green-title {
		padding: 9px;
		width: 40px;
	}

	.header-green-box {
		width: 250px;
		padding: 15px 10px;
	}

	.header-green-tel{
		gap: 5px;
	}

	.header-green-img {
		width: 30px;
	}


}


/*footer
-----------------------------------------------------------------------------------------*/
.footer-img{
	z-index: 1;
	position: relative;
}

.footer{
	position: relative;
}

.footer-top-img{
	position: absolute;
	top: -140px;
	left: 0;
	z-index: -1;

}

.footer-top{
	position: relative;
	padding-top: 30px;
	overflow: hidden;
}

.footer-top::before{
	position: absolute;
	content: '';
	z-index: -2;
	background-image: url("./images/footer.jpg");
	top: 0;
	left: 0;
	width: 100%;
	height: -webkit-fill-available;

}

.footer-top::after{
	position: absolute;
	content: '';
	bottom: 0;
	left: 0;
	width: 100%;
	height: -webkit-fill-available;
	background-position: center bottom;
	background-size: contain;
	background-repeat: no-repeat;
	z-index: -1;
	background-image: url("./images/footer-bg.jpg");

}

.footer-flex{
	gap: 40px;
	justify-content: center;
	margin-bottom: 130px;
}

.footer-left{
	width: 32%;
}

.footer-logo{
	width: 330px;
	margin: 0 auto 0 0;
}

.footer-add{
	line-height: 2;
	margin: 15px 0 30px;
}

.footer-iframe{
	height: 250px;
}

.footer-text{
	font-size: 0.9rem;
	margin-top: 15px;
}

.footer-link-flex{
	gap: 50px;
	justify-content: center;
	margin-bottom: 50px;
}

.footer-link{
	color: rgba(71, 60, 53, 1);
	position: relative;
}

.footer-link::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background-color: rgba(71, 60, 53, 1);
    bottom: -3px;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform 0.3s;
}

.footer-link:hover::after {
    transform: scale(1, 1);
}


.footer-table{
	width: 650px;
}

div.copy-right{
	padding-bottom: 30px;
	font-size: 0.9rem;
	text-transform: uppercase;

}

.footer-bg{
	position: absolute;
	top: 0;
	left: 0;
	height: 700px;
	z-index: -1;

}

.footer-link-privacy{
	margin-left: 30px;
}



@media screen and (max-width:1230px) {

	.footer-flex {
		gap: 20px;
		align-items: center;
	}

	.footer-left {
		width: 40%;
	}

	.footer-link-flex {
		gap: 20px;
	}

	.footer-table {
		width: 530px;
	}

	div.copy-right {
		padding-bottom: 15px;
	}

}

@media screen and (max-width:1023px) {
	.footer-left {
		width: 90%;
	}

	.footer-flex {
		gap: 30px;
	}

	.footer-link-flex {
		gap: 30px;
	}

	.footer-table {
		width: 90%;
	}
}

@media screen and (max-width:767px) {
	.footer-logo{
		width: 100%;
	}

	.footer-left {
		width: 100%;
	}

	.footer-flex {
		gap: 20px;
		margin-bottom: 20px;
	}

	.footer-link-flex {
		display: none;
	}

	.footer-table {
		width: 100%;
		margin: 0;
	}

	.footer-add{
		margin-bottom: 10px;
	}

	.footer-top-img {
		top: -30px;
	}

	div.copy-right{
		text-align: left;
		padding-bottom: 30px;
	}

}

/*お知らせ
-----------------------------------------------------------------------------------------*/
.home-top{
	padding-top: 50px;
}

.home-left{
	margin-top: 100px;
	width: calc(100% - 200px);
}

.hone-sidebar{
	width: 200px;
}

.select-archive{
	font-size: 0.9rem;
	width: 200px;
	padding: 12px;
	text-align: center;
}

.side-box{
	position: relative;
}

.side-box::after{
	position: absolute;
	content: '';
	height: -webkit-fill-available;;
	width: 1px;
	background-color: rgba(71, 60, 53, 1);
	right: 30px;
	top: 0;
}

.news-box{
	color: rgba(71, 60, 53, 1);
	gap: 50px;
	padding: 30px 10px 5px;
	border-bottom: 1px solid rgba(71, 60, 53, 1);
}

.home-pagenavi{
	margin-top: 100px;
}

.wp-pagenavi a, .wp-pagenavi span{
	border: none;
	color: rgba(71, 60, 53, 1);
}
@media screen and (max-width:767px) {
	.home-top{
		padding-top: 30px;
	}
	
	.home-left{
		width: 100%;
		margin-top: 0;
	}

	.news-box{
		display: block;
		text-align: left;
		padding-top: 15px;
	}

	.home-title{
		margin-top: 5px;
	}

	.home-pagenavi{
		margin-top: 20px;
	}

	.hone-sidebar{
		margin: 20px auto 0;
	}
}


/*お知らせsingle
-----------------------------------------------------------------------------------------*/
.single-title{
	font-size: 1.5rem;
	padding: 10px 0 20px;
	margin-bottom: 50px;
	text-align: left;
	border-bottom: 1px solid rgba(71, 60, 53, 1);
}

.single-content{
	width: 90%;
	margin: auto;
}

.single-link-flex{
	margin-top: 150px;
	gap: 15px;
	justify-content: center;
	align-items: center;
}

.single-link-flex a{
	color: rgba(71, 60, 53, 1);

}

@media screen and (max-width:767px) {
	.single-title{
		margin-bottom: 20px;
		padding-bottom: 10px;
	}

	.single-content{
		width: 100%;
	}

	.single-link-flex{
		margin-top: 20px;
	}
}


/*ブログ
-----------------------------------------------------------------------------------------*/
.blog-img{
	width: 20%;
}

.blog-flex{
	align-items: flex-start;
}

.blog-img img{
	height: 110px;
	object-fit: cover;

}

.blog-box{
	gap: 40px;
	text-align: left;
	color: rgba(71, 60, 53, 1);
	border-bottom: 1px solid rgba(71, 60, 53, 1);
	padding-bottom: 15px;
	margin-bottom: 50px;
}

.blog-category{
	background-color: rgba(51, 163, 146, 1);
	color: rgba(255, 255, 255, 1);
	width: 120px;
	padding: 5px;
	text-align: center;
}

.blog-set{
	gap: 20px;
	align-items: center;
	margin-bottom: 10px;
}


@media screen and (max-width:1023px) {

	.blog-img {
		width: 30%;
	}

	.blog-box{
		gap: 20px;
	}
}
@media screen and (max-width:767px) {
	.blog-img{
		width: 80%;
	}

	.blog-box{
		margin-bottom: 20px;
		gap: 10px;
	}
}


/*ブログsingle
-----------------------------------------------------------------------------------------*/
.single-blog-img{
	width: 60%;
	margin: 0 auto 50px;
}

.single-blog-img img{
	object-fit: cover;
}
@media screen and (max-width:767px) {
}


/*404
-----------------------------------------------------------------------------------------*/
div.error-message{
	font-size: 150%;
}

@media screen and (max-width:767px) {
div.error-message{
	font-size: 120%;
}
}
