@charset "utf-8";
/*################## スマホ縦用　##################*/
@media screen and (min-width: 0px) and (max-width: 480px) {
  /*############ メニュー (index)##########*/
  #header {
    width: 100%;
    height: 90px;
    margin: 0 auto;
    padding-top: 15px;
    position: fixed;
    top: 0px;
    z-index: 10;
  }
  /*####### ハンバーガーメニュー #####*/
  #g-nav {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh; /*ナビの高さ*/
    background: rgba(3, 37, 80, 0.9);
    /*動き*/
    transition: all 0.6s;
    font-size: 14px;
  }
  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive {
    right: 0;
  }
  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 998;
    width: 90%;
    height: 100vh; /*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  /* メニュー */
  /* 画面全体を覆う透明領域 */
  .js-menu-overlay {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 999;
  }
  .js-menu-overlay.is-open {
      display: block;
  }
  /*ナビゲーション*/
  #g-nav-01 {
    display: none;
  }
  #g-nav-02 {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 230px;
    left: 40%;
    transform: translate(-50%, -50%);
  }
  /*リストのレイアウト設定*/
  #g-nav-02 p {
    padding: 10px 0;
  }
  #g-nav-02 p a {
    color: #fff;
    font-weight: bold;
  }
  #g-nav-03 {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 510px;
    left: 26%;
    transform: translate(-50%, -50%);
  }
  #g-nav-03 p {
    margin: 25px 0;
  }
  #g-nav-03 p a {
    color: #fff;
    font-weight: bold;
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    position: fixed;
    z-index: 9999; /*ボタンを最前面に*/
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }
  /*×に変化*/
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #02244E;
    width: 45%;
  }
  .openbtn span:nth-of-type(1) {
    top: 15px;
  }
  .openbtn span:nth-of-type(2) {
    top: 23px;
  }
  .openbtn span:nth-of-type(3) {
    top: 31px;
  }
  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
    background-color: #fff;
  }
  .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: 30%;
    background-color: #fff;
  }
  /* MENU画像 */
  .openbtn::after {
    content: "";
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 25px;
    background: url("../media/images/common/menu.png") center / contain no-repeat;
  }
  /* CLOSE画像 */
  .openbtn.active::after {
    content: "";
    position: absolute;
    top: 45px;
    left: 60%;
    transform: translateX(-50%);
    width: 65px;
    height: 25px;
    background-image: url("../media/images/common/close.png");
  }
}
/*################## スマホ横用 #################*/
@media screen and (min-width: 481px) and (max-width: 896px) {
  /*############ メニュー (index)##########*/
  #header {
    width: 100%;
    height: 90px;
    margin: 0 auto;
    padding-top: 15px;
    position: fixed;
    top: 0px;
    z-index: 10;
  }
  /*####### ハンバーガーメニュー #####*/
  #g-nav {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%; /*ナビの高さ*/
    background: rgba(3, 37, 80, 0.9); /*動き*/
    transition: all 0.6s;
    font-size: 14px;
  }
  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive {
    right: 0;
  }
  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 998;
    width: 90%;
    height: 100vh; /*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  /* メニュー */
  /* 画面全体を覆う透明領域 */
  .js-menu-overlay {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 999;
      background: rgb(0 0 0 / 30%);
  }
  .js-menu-overlay.is-open {
      display: block;
  }
  /*ナビゲーション*/
  #g-nav-01 {
    position: absolute;
    z-index: 999;
    top: 200px;
    left: 18%;
    transform: translate(-50%, -50%);
  }
  #g-nav-01 p img {
    width: 80%;
  }
  #g-nav-02 {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 230px;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  /*リストのレイアウト設定*/
  #g-nav-02 p {
    padding: 0 0 20px 0;
  }
  #g-nav-02 p a {
    color: #fff;
    font-weight: bold;
  }
  #g-nav-03 p {
    margin: 0 0 15px 0;
    padding: 5px;
  }
  #g-nav-03 {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 500px;
    left: 43%;
    transform: translate(-50%, -50%);
  }
  #g-nav-03 p a {
    color: #fff;
    font-weight: bold;
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    position: fixed;
    z-index: 9999; /*ボタンを最前面に*/
    top: 10px;
    right: 15px;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }
  /*×に変化*/
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #02244E;
    width: 45%;
  }
  .openbtn span:nth-of-type(1) {
    top: 15px;
  }
  .openbtn span:nth-of-type(2) {
    top: 23px;
  }
  .openbtn span:nth-of-type(3) {
    top: 31px;
  }
  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
    background-color: #fff;
  }
  .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: 30%;
    background-color: #fff;
  }
  /* MENU画像 */
  .openbtn::after {
    content: "";
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 65px;
    height: 25px;
    background: url("../media/images/common/menu.png") center / contain no-repeat;
  }
  /* CLOSE画像 */
  .openbtn.active::after {
    content: "";
    position: absolute;
    top: 55px;
    left: 60%;
    transform: translateX(-50%);
    width: 65px;
    height: 25px;
    background-image: url("../media/images/common/close.png");
  }
}
/*################## PC用 #################*/
@media print, screen and (min-width:897px) {
  /*####### ヘッダー(index) #####*/
  #header {
    width: 100%;
    height: 90px;
    margin: 0 auto;
    padding-top: 15px;
    position: fixed;
    top: 0;
    z-index: 10;
  }
  /*####### ハンバーガーメニュー #####*/
  #g-nav {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: 0;
    right: -100%;
    width: 750px;
    height: 500px; /*ナビの高さ*/
    background: rgba(3, 37, 80, 0.9);
    /*動き*/
    transition: all 0.6s;
  }
  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive {
    right: 0;
  }
  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 998;
    width: 90%;
    height: 500px; /*ナビの高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  /* メニュー */
  /* 画面全体を覆う透明領域 */
  .js-menu-overlay {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 999;
      background: rgb(0 0 0 / 30%);
  }
  .js-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    display: block;
  }

  /*ナビゲーション*/
  #g-nav-01 {
    position: absolute;
    z-index: 999;
    top: 230px;
    left: 105px;
    transform: translate(-50%, -50%);
  }
  #g-nav-01 p {
    margin-bottom: 50px;
  }
  #g-nav-02 {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 200px;
    left: 330px;
    transform: translate(-50%, -50%);
  }
  /*リストのレイアウト設定*/
  #g-nav-02 p {
    padding: 10px;
  }
  #g-nav-02 p a {
    color: #fff;
    font-weight: bold;
  }
  #g-nav-03 {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 220px;
    left: 530px;
    transform: translate(-50%, -50%);
  }
  #g-nav-03 p {
    margin: 20px;
  }
  #g-nav-03 p a {
    color: #fff;
    font-weight: bold;
    margin: 30px 0;
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    position: fixed;
    z-index: 9999; /*ボタンを最前面に*/
    top: 10px;
    right: 70px;
    cursor: pointer;
    width: 80px;
    height: 100px;
  }
  /*×に変化*/
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 50px;
    height: 3px;
    border-radius: 1px;
    background-color: #02244E;
    width: 45%;
  }
  .openbtn span:nth-of-type(1) {
    top: 15px;
  }
  .openbtn span:nth-of-type(2) {
    top: 28px;
  }
  .openbtn span:nth-of-type(3) {
    top: 40px;
  }
  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
    background-color: #fff;
  }
  .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: 50%;
    background-color: #fff;
  }
  /* MENU画像 */
  .openbtn::after {
    content: "";
    position: absolute;
    top: 53px;
    left: 80%;
    transform: translateX(-50%);
    width: 65px;
    height: 25px;
    background: url("../media/images/common/menu.png") center / contain no-repeat;
  }
  /* CLOSE画像 */
  .openbtn.active::after {
    content: "";
    position: absolute;
    top: 50px;
    left: 60%;
    transform: translateX(-50%);
    width: 65px;
    height: 25px;
    background-image: url("../media/images/common/close.png");
  }
}
/*################## スマホ・PC共通 ##################*/
.background {
  position: relative;
  z-index: 0;
}
.background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../media/images/common/background.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.9; /* 透過率 */
  z-index: -1;
}
/*########## ボタン(丸) ##########*/
.circle-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 75px;
  height: 75px;
  border-radius: 50%; /* 円にする */
  border: solid 1px #fff;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.circle-btn a {
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
}
/* ホバー時 */
.circle-btn:hover {
  opacity: 0.7;
  transition: 0.7s;
}
#t-scroll a:hover {
  opacity: 0.7;
  transition: 0.7s;
}