@charset "utf-8";

/* PC/SP表示切り替え */
#PCmode { display: block; }
#SPmode { display: none; }

@media screen and (max-width:768px) {
  #PCmode { display: none; }
  #SPmode { display: block; }
}

/* header基本 */
.p-header {
  width: 100%;
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: #fff;
}
.p-header__inner {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  position: relative;
}
.p-header__title {
  z-index: 997;
}
.p-header__title a {
  width: auto;
  height: auto;
}
/* PC中央メニュー */
.headmenu ul {
  display: flex;
  gap: 40px;
}

/* ナビゲーションメニュー */
.p-header__nav {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  max-width: 520px;
  height: 100vh;
  background-color: #0d4a96;
  transition: ease .4s;
  z-index: 999;
  box-sizing: border-box;
  overflow-y: auto;
  transform: translateX(-100%);
}
.p-header__nav.active {
  transform: translateX(0);
}
.p-header__nav-inner {
  width: 100%;
  height: 100%;
  margin: auto;
  padding: 40px 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
}

/* ナビゲーションリスト */
#js-nav ul {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
#js-nav li {
  color: #fff;
  list-style: none;
  text-align: center;
  box-sizing: border-box;
}
#js-nav li a {
  text-decoration: none;
  padding: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  font-weight: bold;
  color: #fff;
  border-bottom: 1px solid #fff;
  box-sizing: border-box;
}

/* ナビ内バナー */
.nav-item-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto;
}
.nav-item-banner div {
  box-sizing: border-box;
}
.nav-item-banner div:nth-child(1) {
  width: 100%;
}
.nav-item-banner div:nth-child(2),
.nav-item-banner div:nth-child(3) {
  width: calc(50% - 5px);
}

/* ナビ内フッター */
.nav-item-foot {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px auto 0;
  padding: 0 10px;
  box-sizing: border-box;
}
.nav-item-foot-logo {
  width: 40%;
}
.nav-item-foot-access {
  color: #fff;
  font-size: 9px;
  width: calc(60% - 10px);
}

/* ハンバーガーアイコン */
.p-header__hamburger {
  width: 40px;
}
.hamburger {
  background-color: transparent;
  border: none;
  z-index: 9999;
  cursor: pointer;
}
.hamburger span {
  width: 36px;
  height: 3px;
  background-color: #777;
  position: relative;
  transition: ease .4s;
  display: block;
}
.hamburger span:nth-child(2) {
  margin: 10px 0;
}

/* ハンバーガー開閉時の変化 */
.hamburger.active span:nth-child(1) {
  top: 13px;
  transform: rotate(45deg);
  background-color: #777;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  top: -12px;
  transform: rotate(-45deg);
  background-color: #777;
}

/* モーダルマスク */
.p-header__nav-box-mask.active {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 998;
  background: rgba(0,0,0,0.55);
  transition: ease .4s;
}

/* body固定※一旦ナシ */
/* body.is-fixed {
  overflow: hidden;
  height: 100vh;
  margin-right: var(--scrollbar-width, 0px);
} */
/* headerロゴ */
.logo {
  width: auto;
}
.logo img {
  height: 40px;
  width: auto;
}

/* ナビのロゴ */
.nav_logo {
  height: 45px;
  display: flex;
  justify-content: end;
  align-items: end;
}
.nav_logo img {
  width: 100px;
  height: auto;
}

/* SP用ハンバーガー調整 */
@media screen and (max-width:768px) {
  .hamburger span {
    width: 28px;
    height: 2px;
    background-color: #000;
  }
  .hamburger span:nth-child(2) {
    margin: 8px 0;
  }
  .hamburger.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
    background-color: #fff;
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    top: -10px;
    transform: rotate(-45deg);
    background-color: #fff;
  }
  .p-header__nav-inner {
    margin-top: 40px;
    min-height: 568px;
  }
  	.headmenu{
			display: none;
		}
}

/* フッター */
#footer {
  background-color: #062E7B;
}
.footer {
  width: 100%;
  max-width: 1740px;
  margin: 0 auto;
  padding: 80px 40px;
  box-sizing: border-box;
}
.footer-style-001-title {
  color: #fff;
  font-size: 37px;
  margin: 0 auto 40px;
  text-align: center;
}
.footer-style-001-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 0 auto 240px;
}
.footer-style-flex {
  display: flex;
  align-items: center;
  gap: 50px;
}
.footer-logo {
  width: 300px;
  float: left;
}
.footer-style-001-link li div {
  display: flex;
  justify-content: baseline;
  margin-left: 0;
}
.footer-style-002 {
  color: #fff;
  font-size: 16px;
}
.footer-style-002 li {
  display: flex;
}

/* フッターのレスポンシブ */
@media screen and (max-width:1600px) {
  .footer-style-001-link {
    margin: 0 auto 120px;
  }
}
@media screen and (max-width:1020px) {
  .footer-style-flex {
    flex-direction: column;
    align-items: baseline;
  }
  /* PC中央メニュー */
  .headmenu ul {
    display: flex;
    gap: 20px;
  }
}
@media screen and (max-width:768px) {
  .footer {
    padding: 60px 20px 40px;
  }
  .footer-style-001-link {
    gap: 10px;
    margin: 0 auto 60px;
    flex-direction: column;
  }
  .footer-style-002 {
    font-size: 12px;
  }
  .footer-style-002 li {
    flex-direction: column;
  }
}
@media screen and (max-width:500px) {
  .footer-style-001-title {
    font-size: 28px;
    margin: 0 auto 40px;
  }
  .footer-logo {
    margin: 0 auto;
    width: 280px;
  }
}
