@charset "UTF-8";
/*========= ナビゲーションのためのCSS ===============*/
#g-nav {
  /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
  display: none;
  position: absolute;
  z-index: -1000;
  opacity: 1; /*はじめは透過0*/
  /*ナビの位置と形状*/
  right: calc((100% - 1140px)/2);
  width: 342px;
  max-width: 342px;
  top: 0px;
  left: -1px;
  height: 100vh; /*ナビの高さ*/
  background: #e5ecf5;
  /*動き*/
  transition: all 0.3s;
}
/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive {
  display: block;
  opacity: 0.85;
  z-index: 999;
  width: 342px;
  max-width: 342px;
  position: absolute;
  left:auto;
}
#g-nav #g-nav-list .row {
margin-left: 2px;
margin-right: 2px;
}
#g-nav #g-nav-list .row a {
  color:#333;
}
#g-nav #g-nav-list .row .contents-l a {
  color:#455fe4;
  text-align: center;
}
/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 342px;
  max-width: 342px;
  height: 100vh; /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width:1200px) {
  #g-nav {
    width: 342px;
  }
  #g-nav.panelactive {
    width: 342px;
    position:absoulte;
    right:30px;
  }
}
@media (max-width:1070px) {
  #g-nav {
    width: 342px;
    right: 0px;
    position:absoulte;
  }
  #g-nav.panelactive {
    width: 342px;
    right: 0px;
    position:absoulte;
  }
}
@media (max-width:768px) {
  #g-nav.panelactive {
    width: 342px;
    right: 0;
    position:absoulte;
  }
  #g-nav.panelactive #g-nav-list {
    width: 342px;
    right: 0;
    position:absoulte;
  }
}
@media (max-width:575px) {
  #g-nav.panelactive {
    top: 0;
    width: 100%;
    max-width: 100%;
    left: 0;
    position:absoulte;
  }
  #g-nav.panelactive #g-nav-list {
    max-width: 100%; 
    width: 100%; 
  }
}
/*ナビゲーション*/
#g-nav ul {
  display: none;
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#g-nav.panelactive ul {
  display: block;
}
/*リストのレイアウト設定*/
#g-nav li {
  list-style: none;
  text-align: center;
}
.anone {
  text-decoration: none;
  color: white
}
.anone :hover {
  text-decoration: none;
  color: white
}
#g-nav li a {
  color: #333;
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}
.mETitle {
  font-size: 0.7em;
}
.navbar-nav .contents-l::after {
  display: table-row;
}
/*========= ボタンのためのCSS ===============*/
.openbtn1 {
  position: fixed;
  z-index: 1999; /*ボタンを最前面に*/
  top: 24px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  background-color: #eee;
  margin-left: -50px
}
@-moz-document url-prefix() {
  .openbtn1 {
    margin-left: 270px;
  }
}
@media (max-width: 990px) {
	@-moz-document url-prefix() {
	  .openbtn1 {
      margin-left: -50px;
	  }
	}
}

@media (max-width: 575.98px) {
  .openbtn1 {
    top: 14px;
  }
  #g-nav {
    top: 80px;
  }
}
/*×に変化*/
.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%;
}
/*TOPへ戻るボタン*/
html {
    scroll-behavior: smooth;
}
#pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 1px #5976BA;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    box-shadow: 0 4px 6px rgb(0 0 0 / 30%);
}
#pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 2px solid #5976BA;
    border-right: 2px solid #5976BA;
    transform: translateY(20%) rotate(-45deg);
}
@media (hover: hover) and (pointer: fine) {
    #pagetop:hover, #pagetop:hover #pagetop__arrow {
        border-color: #3293e7;
    }
}
/***トップへ戻るボタンここまで***/
a.anchor{
    display: block;
    padding-top: 70px;
    margin-top: -70px;
}