@charset "UTF-8";

/* ハンバーガーボタン */

.hamburger {
  position: absolute;
  z-index: 9999;
  /*ボタンを最前面に*/
  top: 2.56vw;
  right: 5.12vw;
  cursor: pointer;
  width: 12.82vw;
  height: 12.82vw;
  background-color: var(--main-color);
  border-radius: 6px;
  position: fixed;
}

.hamburger span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  height: 3px;
  background-color: #fff;
  width: 22px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
}

.hamburger span:nth-child(1) {
  top: 15px;
}

.hamburger span:nth-child(2) {
  top: 23px;
}

.hamburger span:nth-child(3) {
  top: 31px;
}

/* ナビ開いてる時のボタン */
.hamburger.active span:nth-child(1) {
  top: 15px;
  left: 27%;
  transform: translateY(8px) rotate(-30deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 31px;
  left: 27%;
  transform: translateY(-8px) rotate(30deg);
}

.hamburger p.ttl {
  font-size: 12px;
  font-weight: bold;
  text-align: center;
}

.globalMenuSp_main_menu_box {
  position: fixed;
  top: 18vw;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #EBF4FF;
  z-index: 500;
  display: none;
}

.globalMenuSp_main_menu_box .inner {
  display: flex;
  padding: 80px 20px 0;
  height: 100%;
}

.globalMenuSp_main_menu_box ul {
  width: 100%;
}

.globalMenuSp_main_menu_box ul li a {
  display: block;
  color: #000;
  font-weight: bold;
}

.globalMenuSp_main_menu_box .inner ul a {
  font-size: 4.2vw;
  width: 100%;
  margin: 0 auto;
  padding: 15px;
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.globalMenuSp_main_menu_box .inner ul a::after {
  content: "";
  display: block;
  border-top: 2px solid #A0A0A0;
  border-right: 2px solid #A0A0A0;
  width: 8px;
  aspect-ratio: 1 / 1;
  min-width: 0;
  rotate: 45deg;
}

.globalMenuSp_main_menu_box ul li+li {
  margin-top: 15px;
}

/* サブメニュー */

.sp_sub_menu .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  padding-bottom: 80px;
}

.js-sp_sub_menu {
  position: fixed;
  z-index: 600;
  height: 100%;
  width: 100%;
  background-color: #EBF4FF;
  display: none;
}

.sp_sub_menu .inner p.ttl {
  font-weight: bold;
  font-size: 20px;
}

.sp_sub_menu .inner ul {
  margin-top: 50px;
}

.sp_sub_menu .inner ul li a {
  color: #000;
  font-weight: bold;
}

.sp_sub_menu .inner ul li+li {
  margin-top: 30px;
}

/* 戻るボタン */

.sp_sub_menu .inner p.back_btn {
  width: 150px;
  text-align: center;
  font-weight: bold;
  margin: 50px auto 0;
  border: 2px solid #000;
  border-radius: 100px;
  padding: 3px 0;
}

@media screen and (max-width: 750px) {
  .hamburger {
    width: 50px;
    height: 50px;
  }
}