@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
}
body {
  color: #333;
  font-family: Noto Serif JP, serif;
  font-style: normal;
  font-weight: 300;
  font-size: 1.6em;
  line-height: 2.4rem;
  text-align: center;
  margin: 0 auto;
}
section h1 {
  font-size: 2.6rem;
}
section h2 {
  font-size: 2.4rem;
}
a:hover {
  opacity: 0.5;
}
*, *:before, *:after {
  box-sizing: border-box;
}
.header {
  width: 100%;
  height: 50px;
  background-color: #fff;
  position: relative;
  border-top: solid 5px #00063e;
}
.header::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #00063e;
  position: absolute;
  top: 4px;
}
.header__logo {
  width: 70px;
  height: auto;
  position: absolute;
  top: 12px;
  left: 20px;
}
.header__navigation ul {
  list-style: none;
  text-align: center;
}
.header__navigation ul li a {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  padding: 14px 0 6px;
  position: relative;
}
.header__navigation ul li a::before {
  background: #00063e;
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .5s;
}
.header__navigation ul li a:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
@media(min-width: 820px) {
  .header-content-wrapper {
    max-width: 1040px;
  }
  .header__logo {
    left: 40px;
  }
}
/*ボタン外側*/
.openbtn {
  position: fixed;
  top: 6px;
  right: 24px;
  z-index: 900; /*ボタンはロゴのあとに*/
  cursor: pointer;
  width: 50px;
  height: 50px;
}
/*ボタン内側*/
.openbtn span {
  display: inline-block;
  transition: all .4s; /*アニメーション*/
  position: absolute;
}
.openbtn span:nth-of-type(1) {
  top: 12px;
  width: 70%;
  left: 8px;
  height: 2px;
  border-radius: 1px;
  background: #00063e;
}
.openbtn span:nth-of-type(2) {
  top: 13px;
  left: 4px;
  font-size: 14px;
  color: #00063e;
}
.openbtn span:nth-of-type(3) {
  top: 35px;
  width: 70%;
  left: 8px;
  height: 2px;
  border-radius: 1px;
  background: #00063e;
}
/*activeクラスが付与されると線が回転してxになり２つ目の要素が透過して消える*/
.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 40%;
}
.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 40%;
}
/*ナビゲーション*/
#g-nav.panelactive #g-nav-list { /*ナビの数が増えたら縦スクロール*/
  position: fixed;
  z-index: 900;
  width: 80%;
  height: 100vh;
  overflow: auto;
  background: linear-gradient(45deg, #00063e, white); /*背景色（グラデーション）*/
  -webkit-overflow-scrolling: touch;
}
/*ナビゲーション*/
#g-nav ul {
  position: absolute; /*ナビゲーションを天地中央揃え*/
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#g-nav {
  position: fixed; /*position:fixedにしz-indexの値を大きくし前面へ*/
  z-index: 999;
  top: 0; /*ナビのステート位置と形状*/
  left: -120%;
  width: 80%;
  height: 80vh;
  background: #fff;
  text-shadow: 1px 1px #333; 
  transition: all 1.0s; /*動き*/
}
/*アクティブがついたら位置を0に*/
#g-nav.panelactive {
  left: 0;
}
#scroll-top {
  background-color: #00063e;
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
}
#scroll-top a {
  text-decoration: none;
  color: #fff;
}
.footer {
  height: 300px;
  background-color: #00063e;
  padding: 65px 0;
  text-decoration: none;
  color: #fff;
  position: relative;
}
.footer_title {
  position: absolute;
  top: 30px;
  left: 30px;
  text-align: left;
  font-size: 1.8rem;
}
.footer__site-map {
  display: flex;
  text-align: left;
  justify-content: left;
  padding: 0 30px;
  line-height: 3.0rem;
}
.footer__site-map__links {
  margin-left: 30px;
}
.footer__site-map ul li a {
  text-decoration: none;
  color: #fff;
}
.footer__site-map span {
  font-size: 1.0rem;
}
.footer__site-map__sns img {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 70px;
  right: 30px;
}
.footer__copyright {
  position: absolute;
  font-size: 14px;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
}
.footer::before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  position: absolute;
  top: 1px;
}
@media(min-width: 820px) {
  .footer {
    padding: 70px 0 45px;
  }
  .footer__container {
    max-width: 1040px;
    margin: 0 auto;
  }
  .footer__container {
    margin: 0 50px;
  }
  
}




