/*Header
------------------------------------------------*/
/*------------------------------------------------
Header
------------------------------------------------*/
#header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
  background-color: #fff;
}
nav {
  background: #fff;
  color: #fff;
  text-align: center;
}
/*ナビゲーションを横並びに*/
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}
/*2階層目以降は横並びにしない*/
/*nav ul ul {
  display: block;
}*/
/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li{
  /*position: relative;*/
	font-size: 18px;
}
/*ナビゲーションのリンク設定*/
nav ul li a {
  display: block;
  text-decoration: none;
  color: #253692;
  padding: 20px 35px;
  font-weight: bold;
}
/*nav ul li li a {
  padding: 10px 35px;
}*/
nav ul li a:hover {
  color: #858fc5;
}
.navhead {
  background: #fff;
  width: 100%;
}
/*span.tel:before {
  content: "\f095";
  margin: 2%;
  color: #253692;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: 26px;
}*/
.logo {
  margin-left: 20%;
  padding-top: 1%;
}
.logo img {
  width: 300px;
}
/*.navtel {
  margin-left: auto;
  width: 20%;
}*/
/*
.navtel p {
  font-size: 1.3em;
}
*/


/*== 2・3階層目の共通設定 ==*/
/*下の階層を持っているulの指定*/
/*nav li.has-child ul{
    絶対配置で位置を指定
  position: absolute;
  left:0;
  top:62px;
  z-index: 4;
    形状を指定
  background:#28BFE7;
  width:180px;
    はじめは非表示
  visibility: hidden;
  opacity: 0;
    アニメーション設定
  transition: all .3s;
}*/

/*hoverしたら表示*/
/*nav li.has-child:hover > ul, nav li.has-child ul li:hover > ul, nav li.has-child:active > ul, nav li.has-child ul li:active > ul {
  visibility: visible;
  opacity: 0.5;
}*/

/*ナビゲーションaタグの形状*/
/*nav li.has-child ul li a {
  color: #fff;
  border-bottom: solid 1px rgba(255, 255, 255, 0.6);
}
nav li.has-child ul li:last-child a {
  border-bottom: none;
}
nav li.has-child ul li a:hover, nav li.has-child ul li a:active {
  background: #3577CA;
}*/


/*== 768px以下の形状 ==*/
@media screen and (max-width:768px) {
  .navhead {
    display: block;
    height: 60px;
  }
  /*.navtel {
    width: 100%;
    padding: 3% 0 1%;
  }*/
  nav {
    padding: 0;
  }
  nav ul {
    display: block;
  }
  /*nav li.has-child ul, nav li.has-child ul ul {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    visibility: visible; JSで制御するため一旦表示
    opacity: 1; JSで制御するため一旦表示
    display: none; JSのslidetoggleで表示させるため非表示に
    transition: none; JSで制御するためCSSのアニメーションを切る
  }
  nav ul li.has-child::before {
    left: 20px;
  }
  nav ul ul li.has-child::before {
    transform: rotate(135deg);
    left: 20px;
  }
  nav ul li.has-child.active::before {
    transform: rotate(-45deg);
  }*/
  .logo {
    margin-left: 5%;
  }
}

@media (max-width: 480px) {
  .logo {
    margin-left: 5%;
    padding-bottom: 2%;
  }
  .logo img {
    width: 80%;
  }
}


/* ハンバーガーメニュー
-----------------------------------*/
@media (max-width: 768px) {
  #g-nav {
    position: fixed;
    z-index: 999;
    top: -120%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #999;
    transition: all 0.6s;
  }
  #g-nav.panelactive {
    top: 0;
  }
  #g-nav.panelactive #g-nav-list {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  #g-nav ul {
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #g-nav li {
    list-style: none;
    text-align: center;
  }
  #g-nav li a {
    color: #333;
    text-decoration: none;
    padding: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
  }
  .openbtn1 {
    position: fixed;
    z-index: 9999;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }
  .openbtn1 span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
    width: 45%;
  }
  .openbtn1 span:nth-of-type(1) {
    top: 15px;
  }
  .openbtn1 span:nth-of-type(2) {
    top: 23px;
  }
  .openbtn1 span:nth-of-type(3) {
    top: 31px;
  }
  .openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }
  .openbtn1.active span:nth-of-type(2) {
    opacity: 0;
  }
  .openbtn1.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }
}


/*========= レイアウトのためのCSS ===============*/
h1 {
  font-size: 2rem;
  text-align: left;
  text-transform: uppercase;
}
h2 {
  font-size: 1.2rem;
  text-align: center;
  margin: 0 0 30px 0;
}
p {
  margin-top: 20px;
}
small {
  background: #333;
  color: #fff;
  display: block;
  text-align: center;
  padding: 20px;
}
section {
  padding: 30px;
}
section:nth-child(2n) {
  background: #f3f3f3;
}

/* メインイメージ
-----------------------------------*/
#mainImg {
	position: relative;
	text-align: center;
	
}
#mainImg img {
	width: 100%;
	max-height:780px;
	object-fit: cover;
	margin-top: 5%;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active)  {
 #mainImg img {
	max-height:900px;
	margin-top: 5%;
}
}

/*------------------------------------------------
Footer
------------------------------------------------*/
#footer {
  position: relative;
  font-size: 16px;
  /*background-size: cover;*/
  height: 80px;
}
/* 共通資料請求お問い合せ */
/*#footer #contsInquiry {
  padding-bottom: 67px;
}
#footer #contsInquiry #inqTitle {
  float: left;
  width: 216px;
}
#footer #contsInquiry #inqTitle img {
  max-width: 168px;
}
#footer #contsInquiry #inqInfo {
  float: left;
  width: 470px;
  padding-top: 38px;
}
#footer #contsInquiry #inqInfo a {
  display: inline-block;
  vertical-align: top;
}
#footer #contsInquiry #inqInfo p {
  display: inline-block;
  margin-left: 75px;
  margin-top: 10px;
  font-size: 12px;
}
#footer #contsInquiry #inqStand {
  float: right;
  width: 342px;
  text-align: center;
}
#footer #contsInquiry #inqStand p {
  margin: 2%;
}
#footer #contsInquiry #inqReserve {
  float: right;
  width: 342px;
  text-align: center;
}
#footer #contsInquiry #inqReserve a {
  display: inline-block;
  max-width: 262px;
  margin-top: 50px;
}
#footer #contsInquiry #inqStand img {
  width: 100px;
}*/
/* サブメニュー（スタッフ紹介・メディア紹介・ブログ） */
/*#ftSubNav {
  position: relative;
  margin: 3px 0;
}
#ftSubNav:before {
  content: "";
  display: block;
  position: absolute;
  top: -4px;
  left: 0;
  width: 100%;
  height: 3px;
}
#ftSubNav:after {
  content: "";
  display: block;
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
}
#ftSubNav ul li {
  float: left;
  width: 33.333%;
  max-width: 342px;
}*/
/* フッターサイトマップ*/
/*#footer #sitemap {
  padding: 30px 0;
  border-bottom: 1px solid #e9e9e9;
  font-size: 14px;
}
#footer #sitemap ul {
  float: left;
  width: 16.5%;
}
#footer #sitemap ul li {
  margin-top: 10px;
  font-weight: bold;
  color: #000;
}
#footer #sitemap ul li:first-child {
  margin-top: 0;
}*/
/* ロゴ+住所+資料請求・予約 */
/*#footer #address {
  padding-top: 30px;
  padding-bottom: 30px;
}*/
/* フッターロゴ */
#footer .ftlogo {
  float: left;
  width: 216px;
  padding-top: 5px;
}
/*#footer #ftLogo img {
  max-width: 196px;
}*/
/* 住所 */
/*#footer #ftAddress {
  float: left;
  width: 320px;
}*/
/* 資料請求・予約 */
/*#footer #ftInquiry {
  float: right;
  width: 490px;
  padding-top: 12px;
  text-align: center;
}
#footer #ftInquiry a {
  display: inline-block;
  max-width: 262px;
}*/
/* 著作権注意書き */
/*#footer #copyrightTxt {
  font-size: 10px;
  text-align: center;
  line-height: 1.5;
}*/
/* コピーライト */
/*#footer #copyright {
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 10px;
  text-align: center;
  line-height: 1.1;
}*/

@media (max-width: 768px) {
	#footer > .container {
		padding: 0 3%;
	}
	/* 共通資料請求お問い合せ */
	/*#footer #contsInquiry #inqTitle {
		float: left;
		width: 48%;
		padding-right: 50px;
		text-align: right;
	}*/
	/*#footer #contsInquiry #inqTitle img {
		width: 100%;
		max-width: 168px;
	}*/
	/*#footer #contsInquiry #inqInfo {
		float: left;
		width: 52%;
		padding-top: 18px;
	}
	#footer #contsInquiry #inqInfo p {
		display: block;
		margin-left: 0;
	}
	#footer #contsInquiry #inqStand {
		float: none;
		width: 100%;
		clear: both;
	}
	#footer #contsInquiry #inqStand img {
		padding-top: 2%;
	}
	#footer #contsInquiry #inqReserve {
		float: none;
		width: 100%;
		clear: both;
	}
	#footer #contsInquiry #inqReserve a {
		margin-top: 30px;
	}
	#footer #contsInquiry #inqReserve img {
		max-width: 100%;
	}
*/
	
	/* フッターサイトマップ */
	/*#footer #sitemap {
		display: none;
	}*/
	/* フッターロゴ */
	/*#footer #ftLogo {
		float: none;
		width: 100%;
		padding-top: 0;
		text-align: center;
	}*/
	/* 住所 */
	/*#footer #ftAddress {
		float: none;
		width: 100%;
		max-width: 300px;
		margin: 35px auto 0;
	}*/
	/* 資料請求・予約 */
	/*#footer #ftInquiry {
		display: none;
	}*/
	/* 著作権注意書き */
	/*#footer #copyrightTxt {
		padding: 0 3%;
	}*/
	
	/* 著作権と「上に戻る」を重ねない */
	/*#footer #copyright {
		margin-bottom: 80px;
	}*/
	
}

@media (max-width: 480px) {
	/*#footer #inquiry #inqTitle {
		width: 38%;
		padding-right: 10px;
	}
	#footer #inquiry #inqInfo {
		float: left;
		width: 62%;
		padding-top: 18px;
	}
	#footer #contsInquiry #inqStand {
		float: none;
		width: 100%;
		clear: both;
	}*/
	/* 著作権と「上に戻る」を重ねない */
	/*#footer #copyright {
		margin-bottom: 120px;
	}
	#ftSubNav ul li{padding-bottom: 10px;
	padding-left: 10px;}*/
}


 
/*----------------------------------ここからPCモニターの記述-----------*/
@media screen and (min-width: 600px) {
 
/*ロゴの大きさを調整*/
/*#logo img{max-width:250px;}	*/
	
/*nav{
 display: flex;
}*/
 
/*.Toggle{
 display: none;
}*/
/*.menu{
width: 100%;
font-size:0.9em;
background-color: transparent;
margin:0 10px;
-webkit-transform: translateX(0);
transform: translateX(0);
}
.menu ul{
 height: 70px;
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 align-items: center;
}
.menu ul li a{
 padding: 0 1em;
 border-bottom: none;
}
.menu ul li a:hover{
background-color:transparent;
}*/
}
/*------------------------------------------------
Footer
------------------------------------------------*/

footer {
  display: flex;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  border-top: 5px solid #191970;
}
.footernav li {
  float: left;
  margin: 5px 25px 5px 25px;
  font-size: 18px;
  font-weight: bold;
}
.footernav li:first-child {
  margin-left: 100px;
}
@media screen and (max-width: 768px) {
  footer {
    width: 100%;
  }
  .footernav {
    display: none;
  }
}
