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

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

header {
	background-color: #ffffff;
	padding: 0 20px;
	height: var(--headnav_size);
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 9990;
	border: #444444 solid;
	border-width: 0 0 5px 0;
}

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

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

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

footer .LogoBox .LogoMark {
	width: var(--footer_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;
	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: 70%;
	height: var(--googlemap_Hsize);
	display: inline-block;
}

.build_photo {
	width: 30%;
	height: var(--googlemap_Hsize);
	display: inline-block;
	background-image: url("../img/build.png");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	vertical-align: bottom;
}

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

 .map_coment a {
	color: #00ffff;
}

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

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

img.map_Logos {
	width: var(--mapLogos);
    margin: 10px auto;
	border-radius: 3px;
}

.map_address a {
    color: #ffffff;
}

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

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

.topUnder {
	width: var(--contents_size);
	margin: 100px auto;
}

/* ------------------------------------------------------ */
@media only screen and (max-width : 1250px) {
/* ------------------------------------------------------ */
:root {
	--BaceContents_size: 110px 0 220px 0;
	--topArea: calc(50vh - 60px);
	--contents_size: calc(100% - 100px);
	--header_logo_size: 40px;
	--slider_size: calc(100vw / 5 - 40px);
}

.main_slide {
	width: 100%;
}

#google_map,
.build_photo {
	width: 50%;
}

}

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

}

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

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

}

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

.foot_name {
	display: inline-block;
	margin: 0 auto 10px auto;
}

.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;
}

#google_map,
.build_photo {
	width: 100%;
}

}


/* ------------------------------------------------------ */
@media only screen and (max-width : 380px) {
/* ------------------------------------------------------ */
:root {
	--mapLogos: 240px;}
}