@charset "UTF-8";
:root {
	--headnav_size: 100px;
	--anchor_size: -100px;
	--footnav_size: 200px;
	--indexContents_size: 0 0 200px 0;
	--BaceContents_size: 100px 0 200px 0;
	--topArea: calc(100vh);
	--contents_size: 1200px;
	--contents_small_size: 900px;
	--googlemap_Wsize: 100%;
	--googlemap_Hsize: 600px;
	--mapLogos: 200px;
	--header_logo_size: 80px;
	--footer_logo_size: 100px;
	--slider_size: calc(1200px / 5 - 40px);
}

#Base_contents {
	padding: var(--BaceContents_size);/* ヘッダーとフッターの高さ */
	min-height: 100vh;
}

#Base_contents.index {
	padding: var(--indexContents_size);/* ヘッダーとフッターの高さ */
	min-height: 100vh;
}

footer {
	background-color: #1e1e1e;
	padding: 0 50px;
}

header .LogoBox {
	font-size: var(--header_txt);
}

header .LogoBox .LogoMark {
	height: var(--header_logo_size);
}

footer {
	height: var(--footnav_size);
}

.anchorLink {
	top: var(--anchor_size);
	height: var(--headnav_size);/* ヘッダー分の高さ */
	position: absolute;
	display: block;
	width: 5px;
	z-index: -1;
}

#TopPage {
	padding:  0 0 0 0;
	height:  var(--topArea);
	animation: fadeIn 2s; /* 2秒間でフェードイン */
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

#TopPage #slide{
	padding: 0;
	height:  var(--topArea);
}

section .contents_box {
	width: var(--contents_size);
	margin: 0 auto;
}

.main_slide {
	margin: 0 auto;
}

#table,
.mailContents .contents_box,
section#NewsList_Detail .contents_box {
	width: var(--contents_small_size);
}

/* Google Map */
#map .contents_box {
	width: var(--googlemap_Wsize);
	margin: 0 auto;
	padding: 0;
	border-radius: 0;
}

#google_map {
	width: 100%;
	height: var(--googlemap_Hsize);
	display: inline-block;
}

.iframe_map img {
	position: absolute;
	left: 70%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 25%;
	border-radius: 10px;
	border: #ffffff solid;
	border-width: 10px;
	box-sizing: content-box;
}

 .map_coment {
	background-color: #0a82dc;
	color: #ffffff;
	padding: 20px;
	text-align: center;
}

 .map_coment a {
	color: #00ffff;
}

 .map_coment a:hover {
	 text-decoration: underline;
}

.map_address {
    padding: 50px 0;
    text-align: center;
	background-color: #f3f4f5;
	font-size: var(--header_txt);
}

.map_address .halfBox {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 450px;
	padding: 0 30px;
	line-height: 1.5em;
}

.map_address .halfBox.left {
	border: #0a82dc solid;
	border-width: 0 3px 0 0;
}


.map_address a {
    color: #ffffff;
}

.map_address a:hover {
	text-decoration: underline;
}

/* スライダーの画像幅調整 */
a .main_photoBox {
	height: var(--slider_size);
}

/* ------------------------------------------------------ */
@media only screen and (max-width : 1250px) {
/* ------------------------------------------------------ */
:root {
	--headnav_size: 80px;
	--anchor_size: -80px;
	--indexContents_size: 0 0 220px 0;
	--BaceContents_size: 80px 0 220px 0;
	--topArea: calc(100vw * 0.6);
	--contents_size: calc(100% - 100px);
	--header_logo_size: 40px;
	--slider_size: calc(100vw / 5 - 40px);
}

.main_slide {
	width: 100%;
}

}

/* ------------------------------------------------------ */
@media only screen and (max-width : 920px) {
/* ------------------------------------------------------ */
	:root {
	--contents_small_size: calc(100% - 100px);
}

.map_address .halfBox {
	width: 350px;
	padding: 0 15px;
}

}

/* ------------------------------------------------------ */
@media only screen and (max-width : 810px) {
/* ------------------------------------------------------ */
:root {
	--slider_size: calc(100vw / 3 - 50px);
	--headnav_size: 80px;
	--anchor_size: -80px;
	--indexContents_size: 0 0 160px 0;
	--BaceContents_size: 80px 0 160px 0;
}

header {
	padding: 0 10px 0  20px;
}

}


/* ------------------------------------------------------ */
@media only screen and (max-width : 810px) {
/* ------------------------------------------------------ */
.map_address .halfBox {
	width: 350px;
	padding: 0 15px;
	margin: 10px 0;
}
	
}


/* ------------------------------------------------------ */
@media only screen and (max-width : 720px) {
/* ------------------------------------------------------ */
.map_address .halfBox {
	border: #0a82dc solid;
    border-width: 0 0 0 3px!important;
}

}

/* ------------------------------------------------------ */
@media only screen and (max-width : 600px) {
/* ------------------------------------------------------ */
:root {
	--googlemap_Hsize: 50vh;
	--contents_size: calc(100% - 30px);
	--header_logo_size: 30px;
	--footnav_size: 220px;
	--indexContents_size: 0 0 220px 0;
	--BaceContents_size: 60px 0 220px 0;
	--contents_small_size: calc(100% - 30px);
	--topArea: calc(100vw * 0.7);
}

.menu li ul {
    height: calc(100vh - var(--headnav_size));
}

.map_address {
	line-height: 1.3em;
}

 .map_coment {
	text-align: left;
}

 .map_coment br {
	 display: none;
}

.iframe_map img {
	position: absolute;
	top: 65%;
	left: 72%;
	width: 35%;
	border: #ffffff solid;
	border-width: 5px;
}

}