@charset "utf-8";
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	font-size: 62.5%;
}
body {
	text-align: center;
	font-family: "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
}

/*headのスタイル*/

.headarea {
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 100;
	background-color: #fff;
	border-bottom:2px solid #b55819;
}

.logo {
	float: left;
	width: 21%;
	margin-left: 2%;
}

.logo img {
	width: 100%;
	padding-top: 5%;
	padding-bottom: 2%;
}

/*チェックボックスを非表示にする*/

.nav-unshown{
    display: none;
}

.gnav {
    display: flex;
    list-style: none;
  justify-content: space-around;
}


.navarea ul {
	float: right;
	width: 60%;
	font-size: 0;
}

.navarea li {
	display: inline-block;
	font-size: 1.4rem;
	width: 25%;
}

.navarea li strong {
	font-size: 1.8rem;
}

.navarea li a {
	display: inline-block;
	width: 100%;
	border-left: 2px solid #fff;
	padding: 8% 0 10%;
	text-decoration: none;
	color: #fff;
	background-color: #b5581a;
	line-height: 1.4;
}

.navarea li a:hover {
  background-color: rgba(229, 0, 18, 0.9);
}
.navopen {
	position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
}
.submenu li{
    display:block;
	height: 0;
	overflow: hidden;
	width: 168%;
}

.navopen:hover .submenu li {
	height: 100%;
	/*overflow: visible;*/
	trainsition:all 3s ease-in-out 3s;
}

.submenu li a{
    background-color: rgba(186, 88, 26, 0.6);
	border: 2px solid rgba(255, 255, 255, 0.8);
	border-top: none;
	padding: 5% 0 6%;
}
.submenu li a:hover{
    background-color: rgba(229, 0, 18, 0.9);
	color: #fff;
}


#now-page a {
	cursor: default;
	background-color: #e30012;
}
.page-title {
	padding: 130px 0 60px;
	font-size: 6rem;
	font-weight: bold;
	color: #004095;
	letter-spacing: 0.4rem;
	line-height: 0.6;
}

.page-title strong {
	color: #e30012;
}

.page-sub {
	font-size: 2rem;
	font-weight: normal;

}

/*********clearfix*********/

.clearfix::after {
	content: "";
	display: block;
	clear: both;
}


/*コンテンツのスタイル*/

.wrapper {
	width: 80%;
	margin: 30px auto 80px;
}

#ViewArea {
	width: 58%;
	height: 400px;
	border: 1px solid #000;
	float: left;
}

.map-text {
	width: 38%;
	height: 400px;
	float: right;
	text-align: left;	
}

.map-title {
	color: #b5581a;
	font-size: 3rem;
	padding: 20px 0 10px;
}

.map-sub {
	font-size: 1.6rem;
	padding-top: 20px;
}

.map-text {
	font-size: 1.8rem;
}

/*フッターのスタイル*/

.footerarea {
	height: 150px;
	width: 100%;
	background-color: #b5581a;
}

.footerarea p {
	color: #fff;
	font-size: 1.4rem;
	padding-top: 100px;
}

@media(max-width: 768px) {
	
	/*横幅768pxヘッダーのスタイル*/
	.logo {
		width: 44%;
		padding-bottom: 10px;
	}
	
	.logo img {
		padding-top: 10px;
	}
	
	.mainimage {
		margin-top: 0;
		height: 400px;
	}
	
	.page-title {
		font-size: 4.2rem;
		padding: 50px 0 10px;
	}
	.heading {
		font-size: 3rem;
	}
	.wrapper {
		width: 100%;
	}
	
	#now-page a {
	color: #e30012;
	background-color: transparent;
	border: 1px solid #e30012;
}
	
		/*展開したナビゲーションのスタイル*/
	
.navarea ul {
	width: 100%;
}

.navarea li {
	display: inline-block;
	width: 100%;
}

.navarea li a {
	border: none;
	color: #b5581a;
	background-color: #fff;
}


/*アイコン部分の領域*/
#nav-open {
  display: inline-block;
  width: 30px;
  height: 22px;
  vertical-align: middle;
  position: absolute;
  top: 10px;
  right: 10px;
}
/*ハンバーガーメニューボタンの三本線*/
#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
  height: 3px; /*線の太さ*/
  width: 25px; /*長さ*/
  border-radius: 3px;
  background: #b5581a;
  display: block;
  content: '';
  cursor: pointer;
}
/*ハンバーガーメニューボタンの三本線の上の線*/
#nav-open span:before {
  bottom: -8px;
}
/*ハンバーガーメニューボタンの三本線の下の線*/
#nav-open span:after {
  bottom: -16px;
}
/*閉じる用のグレーカバー*/
#nav-close {
  display: none; /*初期状態では非表示*/
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 1.00);
  opacity: 0;
}
/*中身*/
#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 100vw; /*初期状態では右画面外に配置して表示させない*/
  z-index: 9999; /*最前面に配置*/
  width: 300px;
  height: 100%;
  background: rgba(255, 255, 255, 1.00);
}
/*inputタグにチェックが入ったらカバーやナビゲーションをアニメーションで表示*/
/*カバー部分のスタイル*/
#nav-input:checked ~ #nav-close {
  display: block;
  opacity: .5;
}
/*ナビゲーション部分のスタイル*/
#nav-input:checked ~ #nav-content {
  left: calc(100vw - 300px); /*チェックが入ったら画面右端に配置して表示*/
  box-shadow: 6px 0 25px rgba(0, 0, 0, .15);
}
#nav-input:checked ~ #nav-open span {
  background: rgba(47, 47, 47, 0.0);
}
#nav-input:checked ~ #nav-open span:before {
  -webkit-transform: translateY(4px) rotate(-45deg);
  transform: translateY(4px) rotate(-45deg);
  z-index: 10000;
}
#nav-input:checked ~ #nav-open span:after {
  -webkit-transform: translateY(-4px) rotate(45deg);
  transform: translateY(-4px) rotate(45deg);
  z-index: 10000;
}
.gnav {
  display: flex;
  flex-direction: column;
  width: 300px;
  height: 100vh;
  list-style: none;
  justify-content: center;
  align-items: center;
}

	
	#ViewArea {
	width: 100%;
	height: 400px;
	clear: both;
	border: none;
	margin: 20px 0 30px;
	}
	.map-text {
	width: 100%;
	margin: 0 auto;
	height: 300px;
	clear: both;
	text-align: center;	
	}

	/*横幅768pxフッターのスタイル*/
	.footerarea {
		height: 100px;
	}
	
	.footerarea p {
		padding-top: 60px;
	}
	
}

