@charset "UTF-8";

/*******************************
*　ポップアップ gnav
********************************/

/* メニューボタン */
.hdr_menubtn{
  display: none;
  margin-left: 0;
}
.hdr_menubtn a{
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #181818;
}
.hdr_menubtn a > p{
  width: auto;
  font-size: 14px;
  font-weight: 500;
  font-family: "Outfit", sans-serif;
  
}
@media (min-width:768px) {
  .hdr_menubtn a > p{
    
  }
}
@media (min-width:1200px) {
  .hdr_menubtn a > p{
    font-size: 20px;
    margin-top: 15px;
  }
}
  

.btnHamburger {
  width: 34px;
  height: 30px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  margin-left: auto;
  margin-right: auto;
}
.btnHamburger .line {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 34px;
  height: 2px;
  background: #424242;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.btnHamburger .line_01 { top: 9px; }
.btnHamburger .line_02 { top: 14px; }
.btnHamburger .line_03 { top: 19px; }

.btnHamburger.is-active .line_01 {
  top: 14px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.btnHamburger.is-active .line_02 {
  opacity: 0;
}

.btnHamburger.is-active .line_03 {
  top: 14px;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

.btnHamburger_txt{
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  margin-top: 10px;
}

@media (min-width:768px){
  .gnav li a{
    transition: 0.2s all;
    letter-spacing: 0;
  }
  .gnav li a:hover{
    color: var(--main-color);
  }
}
@media (max-width:767px){

  /* スマホ用 */
  
  /* main.jsの $('.gnav').css('bottom', '');をコメント */
  
  .gnav {
    display: flex !important;
    flex-wrap: wrap;
    width: 100%;
    position: fixed;
    top: 50%;
    left: calc(5% / 2);
    right: 0;
    padding: 0;
    z-index: 99999;
    border-radius: 10px;
    /* transition: all 0.2s; */
    transform: translateX(100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 4px 0px #666;
  }

  .gnav.active{
    width: 95%;
    /*height: 450px;*/
    height: auto;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
  }
  .gnav ul{
    display: flex;
    flex-wrap: wrap;
    background: #f6f6f6;
    color: #000000;
  }
  .gnav .gnav_box1,
  .gnav .gnav_box2{
    width: 100%;
    display: none;
  }
  /*.gnav .gnav_box1{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f6f6f6;
    border-bottom: 1px solid #9f9f9f;
    padding: 15px 0;
  }
  .gnav .gnav_box1 .hdr_sns{
    margin: 0 5px;
  }
  .gnav .gnav_box2{
    display: none;
    border-top: 1px solid #9f9f9f;
  }*/

  .gnav ul li {
    font-size: 14px;
    padding: 0 0;
    /* line-height: 2; */
    font-weight: 500;
    width: 50%;
    text-align: center;
    /*padding: 19px 3px;*/
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
    color: #181818;
  }
  .gnav ul li a{
    width: 100%;
    padding: 20px 10px;
  }
  .gnav ul li a:hover{
    background: #dcd8d3;
    opacity: 1;
  }
  .gnav ul li:not(:last-child) {
    border-right: 1px solid #9f9f9f;
  }
  .gnav ul li:nth-child(n+3) {
    border-top: 1px solid #9f9f9f;
  }
  .gnav ul li:nth-child(2n){
    border-right: 0;
  }
  .gnav ul li:nth-child(odd):last-child{
    width: 100%;
  }

  .gnav_bg{
    padding: 0;
    background: inherit;
  }

  .gnav_item .gnav_item_sub{
    display: none;
    /*position: static;
    width: 100%;
    background: aliceblue;
    padding: 15px;
    margin-top: 20px;*/
  }
}


