@charset "utf-8";
/*==================================================
offcampus nav用
===================================*/

.toggle_fix {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9999;
}

.openbtn4 {
  position: relative;
  /*ボタン内側の基点となるためrelativeを指定*/
  cursor: pointer;
  width: 74px;
  height: 70px;
  z-index: 999;
  right: 0;
  top: 0;
  background-color: #FFF;
}

.openbtn4.active {
  background-color: #3E4F63;
}


/*ボタン内側*/
.openbtn4 span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 20px;
  height: 2px;
  border-radius: 5px;
  background: #3E4F63;
  width: 45%;
}

.openbtn4.active span {
  background: #FFF
}

.openbtn4 span:nth-of-type(1) {
  top: 23px;
}

.openbtn4 span:nth-of-type(2) {
  top: 29px;
}

.openbtn4 span:nth-of-type(3) {
  top: 35px;
}

.openbtn4 span:nth-of-type(3)::after {
  content: "Menu";
  position: absolute;
  top: 5px;
  left: 3px;
  color: #3E4F63;
  font-size: 0.6rem;
  text-transform: uppercase;
}

/*activeクラスが付与されると線が回転*/

.openbtn4.active span:nth-of-type(1) {
  top: 24px;
  left: 26px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
  color: #FFF;
}

.openbtn4.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn4.active span:nth-of-type(3) {
  top: 36px;
  left: 26px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
  color: #FFF;
}

.openbtn4.active span:nth-of-type(3)::after {
  content: "Close";
  transform: translateY(0) rotate(-45deg);
  top: 4px;
  left: 13px;
  color: #FFF;
}


/*========= offcanvas CSS ===============*/

#g-nav {
  position: fixed;
  z-index: 999;
  top: 70px;
  right: -120%;
  width: 300px;
  height: calc(100vh - 70px);
  background: #FFF;
  transition: all 0.6s;
  padding: 30px 16px;
}

/*アクティブクラスがついたら位置を0*/
#g-nav.panelactive {
  right: 0;
}


/*ナビゲーション*/
#g-nav ul {
  margin: 0;
  padding: 0;
}

#g-nav ul li {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

#g-nav ul li a {}

#g-nav ul li a:hover {}


/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
  height: calc(100vh - 130px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/*オフキャンパスの中身*/

#g-nav li {
  list-style: none;
  text-align: center;
}

#g-nav li a {}

.offcanpus_nav {
  margin-top: 24px;
}

.offcanpus_nav div {
  margin-bottom: 12px;
}

.offcanpus_nav a {
  display: block;
  border: 1px solid #942827;
  border-radius: 26px;
  text-align: center;
  color: #333 !important;
  font-size: 14px;
  text-decoration: none !important;
  padding: 8px 0;
  position: relative;
}

.offcanpus_nav a i {
  position: absolute;
  top: 10px;
  left: 24px;
  color: #942827;
  font-size: 20px;
  color: #942827;
}

.offcanpus_nav a:hover {
  border: 1px solid #3E4F63;
  background-color: #3E4F63;
  color: #FFF !important;
}

.offcanpus_nav a:hover i {
  color: #FFF !important;
  text-decoration: none !important;
}


/* オーバーレイ */
.overlay {
  position: fixed;
  /* ページ全体をカバー */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 9;
  display: none;
}


#g-nav .elementor-nav-menu .sub-arrow {
  display: inline-block !important;
}



/*========= 20240710 新設フッターアイコンナビ ===============*/


.btm_icon_nav_outer{
  /*display: none;*/
}

.footnav_pc {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: fixed;
  bottom: 40px;
  right: 120px;
  z-index: 998;
}

.footnav_pc div {
  margin-left: 2px;
  margin-right: 2px;
  text-align: center;
  width: 140px;
}

.footnav_pc a {
  display: block;
  color: #333 !important;
  font-size: 12px;
  line-height: 1em;
  padding-top: 6px;
  padding-bottom: 6px;
  border-radius: 14px;
  text-decoration: none !important;
  border: 1px solid #942827;
  background-color: rgba(255, 255, 255, 1);
}

.footnav_pc a i {
  font-size: 13px;
  color: #942827;
  line-height: 1em;
  padding-right: 8px;
}

.footnav_pc a:hover {
  border: 1px solid #3E4F63;
  background-color: #3E4F63;
  color: #FFF !important;
}

.footnav_pc a:hover i {
  color: #FFF !important;
  text-decoration: none !important;
}


@media (max-width:768px) {

  /*sp*/
  .footnav_sp {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 998;
  }

  .footnav_sp div {
    text-align: center;
    width: 25%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-top: 1px solid #942827;
    border-right: 1px solid #942827;
  }

  .footnav_sp div:last-child {
    border-right: none;
  }

  .footnav_sp a {
    display: block;
    color: #333 !important;
    font-size: 10px;
    line-height: 1em;
    padding-top: 8px;
    padding-bottom: 12px;
    text-decoration: none !important;
    background-color: #FFFFFF;
    letter-spacing: 0.07em;
  }

  .footnav_sp a i {
    font-size: 18px;
    color: #942827;
    line-height: 1em;
    padding-bottom: 6px;
    display: block;
  }

  .footnav_sp a:hover {
    border: 1px solid #3E4F63;
    background-color: #3E4F63;
    color: #FFF !important;
  }

  .footnav_sp a:hover i {
    color: #FFF !important;
    text-decoration: none !important;
  }

}