@charset "UTF-8";

/* CSS Document */

/* --------------------【header】-------------------- */

.headerBg {
	position: relative;
	background: url("/images/access/access_bg.jpg") no-repeat;
	background-size: cover;
}
@media only screen and (-webkit-min-device-pixel-ratio: 2),(min-resolution: 2dppx){
	.headerBg {
		background: url("/images/access/access_bg@2x.jpg") no-repeat;
		background-size: cover;
	}
}



/* --------------------【main】-------------------- */

main {
	width: 100%;
}
@media screen and (max-width: 767px){
	h2 {
		max-width: 90%;
		margin: 0 auto;
	}
}


/* ----------【access】---------- */

#access {
	max-width: 1000px;
	width: 100%;
	margin: 45px auto 100px;
}
#access h2 {
	display: flex;
	align-items: center;
	padding: 0;
	font-size: 30px;
}
#access h2:before, #access h2:after {
	flex-grow: 1;
	height: 1px;
	background: #ccc;
	display: block;
	content: '';
}
#access h2:before {
	margin-right: 30px;
}
#access h2:after {
	margin-left: 30px;
}
#access .footConts {
	max-width: 800px;
	width: 100%;
	margin: 45px auto 80px;
}
ul.route {
	max-width: 1400px;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
ul.route li {	
	padding: 130px 30px 25px;
	width: 260px;
	background-color: #f9faf3;
}
ul.route li h3 {
	position: relative;
	color: #588344;
	text-align: center;
}
ul.route li h3::before {
	position: absolute;
	bottom: 60px;
	left: 0;
	right: 0;
	width: 95px;
	height: 45px;
	margin: auto;
	content: '';
}
ul.route li.car h3::before {
	background: url("/images/access/car_icon.png") no-repeat;
	background-size: contain;
}
ul.route li.bus h3::before {
	background: url("/images/access/bus_icon.png") no-repeat;
	background-size: contain;
}
ul.route li.train h3::before {
	background: url("/images/access/train_icon.png") no-repeat;
	background-size: contain;
}
@media only screen and (-webkit-min-device-pixel-ratio: 2),(min-resolution: 2dppx){
	ul.route li.car h3::before {
		background: url("/images/access/car_icon@2x.png") no-repeat;
		background-size: contain;
	}
	ul.route li.bus h3::before {
		background: url("/images/access/bus_icon@2x.png") no-repeat;
		background-size: contain;
	}
	ul.route li.train h3::before {
		background: url("/images/access/train_icon@2x.png") no-repeat;
		background-size: contain;
	}
}
ul.route li p {
	padding-top: 25px;
	margin-top: 20px;
	border-top: 1px solid #588344;
}
ul.route li p:first-line {
	line-height: 2.1;
}

/* メディアクエリ */
@media screen and (min-width: 768px) and (max-width: 1199px){
	.footConts p {
	text-align: center;
	}
}
@media screen and (max-width: 1024px){
	#access .footConts {
		margin: 5% auto 10%;
	}
	ul.route {
		display: block;
	}
	ul.route li {
		width: 100%;
		height: auto;
		margin: 0 auto 5%;
		padding: 50px;
	}
	ul.route li h3 {
		text-align: left;
		padding-left: 55px;
	}
	ul.route li.list h3::before {
		bottom: 10px;
		left: 0;
		height: 20px;
		right: inherit;
		margin: auto;
	}
	ul.route li p {
	padding-top: 0;
	margin-top: 20px;
	border-top: none;
	}
	ul.route li p br {
		display: none;
	}
}
@media screen and (max-width: 767px){
	#access h2 {
		font-size: 24px;
	}
	#access .footConts {
		margin: 10% auto 20%;
	}
	.footConts address {
		text-align: center;
	}
	.footConts .clinicHours p {
		text-align: center;
	}
	ul.route {
		max-width: 100%;
	}
	ul.route li {
		width: 80%;
		padding: 10% 5%;
	}
	ul.route li.list h3::before {
		bottom: 2px;
	}
}

/* ----------【googlemaps】---------- */

#googlemaps {
	padding-bottom: 100px;
	background-color: #f9f9f9;
}
.googlemaps {
	position: relative;
	width: 100%;
	margin:0 auto 60px;
	padding-bottom: 35.7%;
	height: 0;
	overflow: hidden;
}
.googlemaps iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}
#googlemaps .button {
	position: relative;
	margin: 0 auto;
	width: 250px;
	height: 60px;
}
#googlemaps .button::after {
	position: absolute;
	top: -10px;
	left: 290px;
	background: url("/images/access/access_icon.png") no-repeat;
	background-size: contain;
	width: 127px;
	height: 99px;
	content: '';
}
@media only screen and (-webkit-min-device-pixel-ratio: 2),(min-resolution: 2dppx){
	#googlemaps .button::after {
		background: url("/images/access/access_icon@2x.png") no-repeat;
		background-size: contain;
	}
}

/* メディアクエリ */
@media screen and (max-width: 1024px){
	.googlemaps {
		padding-bottom: 40%;
		margin-bottom: 5%;
	}
}
@media screen and (max-width: 767px){
	.googlemaps {
		padding-bottom: 100%;
	}
	#googlemaps .button {
		margin-bottom: 40%;
	}
	#googlemaps .button::after {
		top: 100px;
		left: 70px;
	}
}


