/*
=====================================================
RESET
=====================================================
*/

*{
	margin:0;
	padding:0;
	box-sizing:border-box;
}

html{
	scroll-behavior:smooth;
}

body{
	font-family:'Noto Sans JP',sans-serif;
	font-size:16px;
	line-height:1.8;
	color:#333;
	background:#fff;
}

img{
	display:block;
	width:100%;
	height:auto;
}

a{
	color:inherit;
	text-decoration:none;
	transition:.3s;
}

ul{
	list-style:none;
}

.container{
	width:min(1200px,90%);
	margin:auto;
}


/*
=====================================================
COMMON
=====================================================
*/

section{
	padding:100px 0;
}

.section-title{
	text-align:center;
	margin-bottom:60px;
}

.section-title span{
	display:block;
	color:#3AAED8;
	font-size:14px;
	font-weight:700;
	letter-spacing:3px;
	margin-bottom:10px;
}

.section-title h2{
	font-family:'Poppins',sans-serif;
	font-size:42px;
	font-weight:600;
	color:#222;
}

.center{
	text-align:center;
}


/*
=====================================================
BUTTON
=====================================================
*/

.btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:16px 42px;
	background:#3AAED8;
	color:#fff;
	border-radius:50px;
	font-weight:700;
	gap:10px;
	transition:.3s;
}

.btn:hover{
	background:#2f80ed;
	transform:translateY(-3px);
}

.btn-outline{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:15px 40px;
	border:2px solid #3AAED8;
	color:#3AAED8;
	border-radius:50px;
	font-weight:700;
	transition:.3s;
}

.btn-outline:hover{
	background:#3AAED8;
	color:#fff;
}


/*
=====================================================
HERO
=====================================================
*/

.hero{
	height:90vh;
	min-height:650px;
	display:flex;
	align-items:center;
	background:
	linear-gradient(rgba(255,255,255,.45),rgba(255,255,255,.45)),
	url("../images/hero.png") center center/cover;
}

.hero-text{
	width:min(1200px,90%);
	margin:auto;
}

.hero span{
	display:block;
	color:#3AAED8;
	font-size:15px;
	font-weight:700;
	letter-spacing:4px;
	margin-bottom:18px;
}

.hero h1{
	font-family:'Poppins',sans-serif;
	font-size:64px;
	line-height:1.25;
	font-weight:700;
	color:#222;
	margin-bottom:30px;
}

.hero p{
	max-width:560px;
	font-size:18px;
	color:#555;
	margin-bottom:40px;
}


/*
=====================================================
NEWS
=====================================================
*/

.news{
	background:#f7fbfd;
}

.news-list{
	background:#fff;
	border-radius:16px;
	box-shadow:0 8px 30px rgba(0,0,0,.06);
	margin-bottom:35px;
	overflow:hidden;
}

.news-list article{
	display:flex;
	align-items:center;
	padding:22px 30px;
	border-bottom:1px solid #eee;
	gap:30px;
}

.news-list article:last-child{
	border-bottom:none;
}

.news-list time{
	color:#3AAED8;
	font-weight:700;
	min-width:110px;
}

.news-list a{
	flex:1;
}

.news-list article:hover{
	background:#f8fcff;
}


/*
=====================================================
ABOUT
=====================================================
*/

.about-wrap{
	display:grid;
	grid-template-columns:1fr 1fr;
	align-items:center;
	gap:80px;
}

.about-image img{
	border-radius:18px;
	box-shadow:0 20px 45px rgba(0,0,0,.08);
}

.about-text span{
	color:#3AAED8;
	font-weight:700;
	letter-spacing:3px;
	display:block;
	margin-bottom:12px;
}

.about-text h2{
	font-size:42px;
	line-height:1.4;
	margin-bottom:25px;
	font-family:'Poppins',sans-serif;
}

.about-text p{
	margin-bottom:35px;
	color:#666;
}


/*
=====================================================
MEDICAL
=====================================================
*/

.medical{
	background:#f7fbfd;
}

.medical-grid{
	display:grid;
	grid-template-columns:repeat(4,1fr);
	gap:30px;
}

.medical-card{
	background:#fff;
	padding:45px 30px;
	border-radius:18px;
	text-align:center;
	box-shadow:0 8px 30px rgba(0,0,0,.05);
	transition:.3s;
}

.medical-card:hover{
	transform:translateY(-8px);
}

.medical-card i{
	font-size:42px;
	color:#3AAED8;
	margin-bottom:25px;
}

.medical-card h3{
	font-size:24px;
	margin-bottom:15px;
}

.medical-card p{
	color:#666;
	font-size:15px;
}

/*
=====================================================
DOCTOR
=====================================================
*/

.doctor-wrap{
	display:grid;
	grid-template-columns:380px 1fr;
	gap:70px;
	align-items:center;
}

.doctor-image img{
	border-radius:20px;
	box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.doctor-text h3{
	font-size:34px;
	font-weight:700;
	margin-bottom:25px;
	color:#222;
}

.doctor-text p{
	color:#666;
	line-height:2;
	margin-bottom:35px;
}


/*
=====================================================
GALLERY
=====================================================
*/

.gallery{
	background:#f7fbfd;
}

.gallery-grid{
	display:grid;
	grid-template-columns:repeat(3,1fr);
	gap:25px;
}

.gallery-grid img{
	border-radius:16px;
	box-shadow:0 8px 25px rgba(0,0,0,.08);
	transition:.3s;
}

.gallery-grid img:hover{
	transform:scale(1.03);
}


/*
=====================================================
ACCESS
=====================================================
*/

.access-wrap{
	display:grid;
	grid-template-columns:1.1fr 1fr;
	gap:70px;
	align-items:center;
}

.access-image img{
	border-radius:18px;
	box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.access-info h3{
	font-size:34px;
	margin-bottom:30px;
}

.access-info dl{
	display:grid;
	grid-template-columns:120px 1fr;
	row-gap:18px;
	column-gap:20px;
	margin-bottom:40px;
}

.access-info dt{
	font-weight:700;
	color:#3AAED8;
	border-bottom:1px solid #ddd;
	padding-bottom:10px;
}

.access-info dd{
	border-bottom:1px solid #ddd;
	padding-bottom:10px;
	color:#666;
}


/*
=====================================================
CONTACT
=====================================================
*/

.contact{
	background:#3AAED8;
}

.contact-box{
	max-width:800px;
	margin:auto;
	background:#fff;
	padding:70px 50px;
	border-radius:20px;
	text-align:center;
	box-shadow:0 20px 50px rgba(0,0,0,.12);
}

.contact-box span{
	display:block;
	color:#3AAED8;
	font-size:14px;
	font-weight:700;
	letter-spacing:4px;
	margin-bottom:12px;
}

.contact-box h2{
	font-size:44px;
	margin-bottom:20px;
	font-family:'Poppins',sans-serif;
}

.contact-box p{
	max-width:550px;
	margin:0 auto 40px;
	color:#666;
}

.contact-buttons{
	display:flex;
	justify-content:center;
	flex-wrap:wrap;
	gap:20px;
}

.contact-buttons a{
	min-width:230px;
}

.tel-btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:10px;
	padding:16px 35px;
	background:#333;
	color:#fff;
	border-radius:50px;
	font-weight:700;
	transition:.3s;
}

.tel-btn:hover{
	background:#111;
	transform:translateY(-3px);
}


/*
=====================================================
FOOTER
=====================================================
*/

footer{
	padding:70px 0 30px;
	background:#1f2d3d;
	color:#fff;
}

.footer-logo{
	text-align:center;
	margin-bottom:30px;
}

.footer-logo img{
	height:65px;
	width:auto;
	margin:auto;
}

.footer-nav{
	margin-bottom:30px;
}

.footer-nav ul{
	display:flex;
	justify-content:center;
	flex-wrap:wrap;
	gap:30px;
}

.footer-nav a:hover{
	color:#8fd8f5;
}

.footer-sns{
	display:flex;
	justify-content:center;
	gap:16px;
	margin-bottom:30px;
}

.footer-sns a{
	width:46px;
	height:46px;
	border-radius:50%;
	border:1px solid rgba(255,255,255,.3);
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:20px;
}

.footer-sns a:hover{
	background:#3AAED8;
	border-color:#3AAED8;
}

footer span{
	display:block;
	text-align:center;
	margin-bottom:20px;
	color:#d9d9d9;
}

.copyright{
	text-align:center;
	font-size:13px;
	color:#aaa;
}


/*
=====================================================
PAGE TOP
=====================================================
*/

.pagetop{
	position:fixed;
	right:25px;
	bottom:25px;
	width:55px;
	height:55px;
	border-radius:50%;
	background:#3AAED8;
	color:#fff;
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:18px;
	box-shadow:0 10px 25px rgba(0,0,0,.15);

	opacity:0;
	visibility:hidden;

	transition:.3s;
	z-index:999;
}

.pagetop.show{
	opacity:1;
	visibility:visible;
}

.pagetop:hover{
	background:#2F80ED;
	transform:translateY(-5px);
}


/*
=====================================================
RESPONSIVE
=====================================================
*/

@media(max-width:900px){

	.hero{
		min-height:560px;
	}

	.hero h1{
		font-size:46px;
	}

	.medical-grid{
		grid-template-columns:repeat(2,1fr);
	}

	.about-wrap,
	.doctor-wrap,
	.access-wrap{
		grid-template-columns:1fr;
		gap:40px;
	}

	.gallery-grid{
		grid-template-columns:repeat(2,1fr);
	}

}


@media(max-width:768px){

	section{
		padding:70px 0;
	}

	.section-title{
		margin-bottom:45px;
	}

	.section-title h2{
		font-size:32px;
	}

	.hero{
		text-align:center;
		min-height:500px;
	}

	.hero h1{
		font-size:34px;
	}

	.hero p{
		font-size:16px;
		margin:auto auto 35px;
	}

	.news-list article{
		flex-direction:column;
		align-items:flex-start;
		gap:8px;
	}

	.medical-grid,
	.gallery-grid{
		grid-template-columns:1fr;
	}

	.contact-box{
		padding:45px 25px;
	}

	.contact-box h2{
		font-size:32px;
	}

	.contact-buttons{
		flex-direction:column;
	}

	.contact-buttons a{
		width:100%;
	}

	.access-info dl{
		grid-template-columns:1fr;
		row-gap:8px;
	}

	.access-info dt{
		border:none;
		padding-bottom:0;
	}

	.access-info dd{
		margin-bottom:15px;
	}

	.footer-nav ul{
		flex-direction:column;
		gap:18px;
	}

	.pagetop{
		width:48px;
		height:48px;
		right:18px;
		bottom:18px;
	}

}

/*
=====================================================
HEADER
=====================================================
*/

header{
	position:sticky;
	top:0;
	left:0;
	width:100%;
	background:#fff;
	box-shadow:0 3px 20px rgba(0,0,0,.08);
	z-index:999;
}

header .container{
	display:flex;
	align-items:center;
	justify-content:space-between;
	height:90px;
}

.logo img{
	height:60px;
	width:auto;
}

header nav ul{
	display:flex;
	align-items:center;
	gap:35px;
}

header nav a{
	font-size:15px;
	font-weight:500;
	color:#333;
	position:relative;
}

header nav a::after{
	content:"";
	position:absolute;
	left:0;
	bottom:-8px;
	width:0;
	height:2px;
	background:#3AAED8;
	transition:.3s;
}

header nav a:hover{
	color:#3AAED8;
}

header nav a:hover::after{
	width:100%;
}

.header-btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:14px 28px;
	background:#3AAED8;
	color:#fff;
	font-weight:700;
	border-radius:50px;
	transition:.3s;
}

.header-btn:hover{
	background:#2F80ED;
	color:#fff;
	transform:translateY(-2px);
}

.menu-btn{
	display:none;
	width:46px;
	height:46px;
	border:none;
	background:#3AAED8;
	color:#fff;
	border-radius:8px;
	font-size:20px;
	cursor:pointer;
}


/*
=====================================================
FOOTER
=====================================================
*/

footer{
	padding:80px 0 35px;
	background:#1f2d3d;
	color:#fff;
}

.footer-logo{
	text-align:center;
	margin-bottom:35px;
}

.footer-logo img{
	height:70px;
	width:auto;
	margin:0 auto;
}

.footer-nav{
	margin-bottom:35px;
}

.footer-nav ul{
	display:flex;
	justify-content:center;
	align-items:center;
	flex-wrap:wrap;
	gap:30px;
}

.footer-nav a{
	color:#fff;
	font-size:15px;
	font-weight:500;
	transition:.3s;
}

.footer-nav a:hover{
	color:#8fd8f5;
}

.footer-sns{
	display:flex;
	justify-content:center;
	align-items:center;
	gap:18px;
	margin-bottom:35px;
}

.footer-sns a{
	display:flex;
	align-items:center;
	justify-content:center;
	width:48px;
	height:48px;
	border-radius:50%;
	border:1px solid rgba(255,255,255,.25);
	color:#fff;
	font-size:20px;
	transition:.3s;
}

.footer-sns a:hover{
	background:#3AAED8;
	border-color:#3AAED8;
	transform:translateY(-3px);
}

footer span{
	display:block;
	max-width:700px;
	margin:0 auto 25px;
	text-align:center;
	line-height:1.9;
	color:#d8d8d8;
	font-size:15px;
}

.copyright{
	text-align:center;
	font-size:13px;
	color:#999;
	letter-spacing:.08em;
}


/*
=====================================================
RESPONSIVE
=====================================================
*/

@media(max-width:992px){

	header nav{
		display:none;
	}

	.header-btn{
		display:none;
	}

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

}

@media(max-width:768px){

	header .container{
		height:75px;
	}

	.logo img{
		height:52px;
	}

	footer{
		padding:60px 0 30px;
	}

	.footer-logo img{
		height:58px;
	}

	.footer-nav ul{
		flex-direction:column;
		gap:18px;
	}

	.footer-nav a{
		font-size:14px;
	}

	.footer-sns{
		gap:14px;
		margin-bottom:30px;
	}

	.footer-sns a{
		width:44px;
		height:44px;
		font-size:18px;
	}

	footer span{
		padding:0 15px;
		font-size:14px;
	}

}