@charset "UTF-8";

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

/* メニューボタン */
.hdr_menubtn{
  display: none;
  margin-left: 0;
  transition: all .2s;
}
.hdr_menubtn a{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #181818;
  width: 60px;
  aspect-ratio: 1 / 1;
        border: 1px solid transparent;
        transition: all .2s;
        border-radius: 50%;
        background: #f3592b;
}
.hdr_menubtn a > p{
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  font-family: "Outfit", sans-serif;
  
}
.btnHamburger {
  width: 30px;
  height: 30px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.btnHamburger .line {
  position: absolute;
  top: 0;
  left: auto;
  right: -5px;
  display: block;
  width: 40px;
  height: 3px;
  background: #fff;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.btnHamburger .line_01 { top: 2px; }
.btnHamburger .line_02 { top: 13px; }
.btnHamburger .line_03 { top: 24px; }

.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);
}


@media (min-width:768px){
  
  .hdr_menubtn{
    display: block;
  }
  .hdr_menubtn a{
    justify-content: center;
  }
  
  /*ナビゲーション*/
  .gnav {
    display: flex!important;
    align-items: center;
    width: calc(100% - 60px);
    height: 0;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 15px;
    box-shadow: 0 0 4px 0px #666;
    font-size: 20px;
    
    position: fixed;
    left: 100%;
    z-index: 1000000000;
    overflow: hidden;
    opacity: 0;
    transition: all 1.8s;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
  }
  .gnav.active {
    align-items: flex-start;
    right: inherit;
    top: 50%;
    height: auto;
    opacity: 1;
  }
  .gjs-dashed .gnav{
    align-items: flex-start;
    left: 15px;
    right: 15px;
    height: auto;
    opacity: 1;
  }
  .gnav.active,
  .gjs-dashed .gnav {
    max-width: 50vw;
    height: 100vh;
    top: 50%;
    left: 50%;
    right: 0;
  }
  .gnav_ourter{
    display: flex;
    justify-content: flex-end;
  }
  
  /* SNSエリア */
  .gnav .gnav_box1{
    width: 65px;
    padding: 30px 0;
    text-align: center;
  }
  .gnav .gnav_box1 .hdr_sns{
    margin: 0;
    display: block;
  }
  .gnav .gnav_box1 .hdr_sns + .hdr_sns{
    margin-top: 15px;
  }
  .gnav .gnav_box1 .hdr_sns img{
    /*width: 35px;*/
  }
  
  /* ボタンエリア */
  .gnav .gnav_box2{
    width: 65px;
    padding: 30px 0;
    text-align: center;
  }
  .gnav .gnav_box2 .gnav_open{
    font-size: 12px;
    line-height: 1;
    margin: 0;
    text-align: center;
    display: inline-block;
  }
  .gnav .gnav_box2 .gnav_open i{
    font-size: 28px;
    margin-bottom: 5px;
  }
  .gnav .gnav_box2 .hdr_menu.gnav_open{
    font-size: 12px;
  }
  .gnav_menu{
    font-size: 14px;
    letter-spacing: 0.075em;
    text-align: center;
    line-height: 1;
  }
  .gnav_menu i{
    font-size: 28px;
  }
  
  .gnav.active .gnav_box2 .btnHamburger .line_01{
    top: 27px;
    right: -16px;
  }
  .gnav.active .gnav_box2 .btnHamburger .line_03{
    top: 27px;
    right: -15px;
  }
  header.slim .gnav.active .gnav_box2 .btnHamburger{
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
  }
  
  /* リンクエリア */
  .gnav .inner{
    /* gnav_box1, gnav_box2 どちらも使用する */
    width: 80%;
    
    /* gnav_box2 だけ使用する */
/*    width: calc(100% - 65px);*/
    
  }
  .gnav .gnav_item {
    /*padding: 100px 10px;*/
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.075em;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    /*height: 150px;*/
  }
  .gnav .gnav_item a{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: auto;
    padding: 20px 10px;
    transition: all .2s;
  }
  .gnav.active .inner:hover .gnav_item{
    /*opacity: 0.5;*/
  }
  .gnav.active .inner:hover .gnav_item:hover a{
    opacity: 1;
    background: none;
    text-decoration: none;
    color: orangered;
  }
  
  .gnav_item_sub{
    display: none;
  }
  
  .gnav.active .inner ,
  .gjs-dashed .gnav .inner {
    display: flex;
    flex-wrap: wrap;
    border-radius: 0;
    /*border: 1px solid #000;*/
    height: auto;
    padding-left: 20%;
    padding-top: 100px;
  }
  
  /* 3個並び */
  /*.gnav .gnav_item {
    width: 33.333%;
  }
  .gnav .gnav_item:nth-child(n+4) {
    border-top: 1px solid #9f9f9f;
  }
  .gnav .gnav_item:nth-child(3n){
    border-right: 0;
  }*/
  
  /* 5個並び */
  /*.gnav .gnav_item {
    width: 20%;
  }
  .gnav .gnav_item:nth-child(n+6) {
    border-top: 1px solid #9f9f9f;
  }
  .gnav .gnav_item:nth-child(5n){
    border-right: 0;
  }*/
  
  .gnav .gnav_item:hover {
    opacity: 1;
  }
  .gnav .gnav_item:hover p{
    opacity: 0.8;
  }
  
}

@media (min-width:768px){
  
  /* 4個並び */
 .gnav .gnav_item {
    width: 100%;
  }
/*  .gnav .gnav_item:nth-child(n+5) {
    border-top: 1px solid #9f9f9f;
  }
  .gnav .gnav_item:nth-child(4n){
    border-right: 0;
  }*/
  
  .gnav.active .gnav_box2 .gnav_open {
    border: 1px solid #f3592b;
    background: transparent;
  }
  .gnav.active .gnav_box2 .menubtn_txt{
    color: #fff;
  }
}
@media (min-width:1024px) and (max-width:1199px){
  .gnav .inner{
  width: 80%;
}
.gnav.active .inner{
  padding-top: 50%;
}
.gnav.active, .gjs-dashed .gnav{
  left: 50%;
}
/*   4個並び 
  .gnav .gnav_item {
    width: 25%;
  }
  .gnav .gnav_item:nth-child(n+5) {
    border-top: 1px solid #9f9f9f;
  }
  .gnav .gnav_item:nth-child(4n){
    border-right: 0;
  }
  */
  
}
/*@media (min-width:1200px){

  .hdr_menubtn{
    display: none;
  }
  
  .gnav .gnav_box1,
  .gnav .gnav_box2{
    display: none;
  }
  
  .gnav .inner{
    display: flex;
    flex-wrap: wrap;
  }
  .gnav .gnav_item{
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.075em;
    position: relative;
    z-index: 1;
    padding: 17px 0;
  }
  .gnav .gnav_item + .gnav_item{
    margin-left: 15px;
  }
  
  
  .gnav .gnav_item_sub{
    display: none;
    width: 190px;
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
  }
  .gnav .gnav_item_sub:before{
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent transparent #e9f2f2 transparent;
    border-width: 0px 7.5px 8px 7.5px;
    position: absolute;
    bottom: 100%;
    left: 50%;
    -webkit-transform: translate(-50%,0);
    transform: translate(-50%, 0);
  }
  
  .gnav .gnav_item:hover .gnav_item_sub{
    display: block;
  }
  
  .gnav .gnav_item_sub_item{
    font-size: 15px;
    font-weight: 500;
    background: #e9f2f2;
    text-align: center;
  }
  .gnav .gnav_item_sub_item + .gnav_item_sub_item{
    margin-top: 2px;
  }
  .gnav .gnav_item_sub_item a{
    display: block;
    padding: 8px 5px 9px;
  }
  .gnav .gnav_item_sub_item a:hover{
    background: #61bfbf;
    color: #FFF;
  }
  
}*/
@media (min-width:1200px){
   .gnav .inner{
  width: 65%;
}
.gnav.active .inner{
  padding-top: 40%;
}
.gnav.active, .gjs-dashed .gnav{
  left: 60%;
}
 
}
@media (min-width:1440px){
  
/*  .gnav .gnav_item + .gnav_item{
    margin-left: 35px;
  }*/
.gnav .inner{
  width: 70%;
}
.gnav.active .inner{
  padding-top: 45%;
}

}
@media (min-width:1440px){

.gnav.active .inner{
  padding-top: 300px;;
}

}

@media (max-width:767px){
  .hdr_menubtn a{
    background:transparent;
  }
  header.slim .hdr_menubtn{
    background:transparent;
    border-radius: 50%;
    border: none;
    padding: 0;
  }
  .menubtn_txt{
    display: none;
  }
/*PCと同じ*/
  .gnav {
    display: flex!important;
    align-items: center;
    width: 100%;
    height: 0;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 0;
    box-shadow: 0 0 4px 0px #666;
    font-size: 20px;
    
    position: fixed;
    left: 100%;
    z-index: 1000000000;
    overflow: hidden;
    opacity: 0;
    transition: all 1.8s;
/*    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);*/
  }
  .gnav.active {
    align-items: flex-start;
    right: inherit;
    top: 50%;
    height: 100%;
    opacity: 1;
  }
  .gjs-dashed .gnav{
    align-items: flex-start;
    left: 15px;
    right: 15px;
    height: auto;
    opacity: 1;
  }
  .gnav.active .inner{
    color: #fff;
  }
  .gnav.active .inner .gnav_item{
    font-size: 15px;
    padding: 24px 10px;
  }
  .gnav.active,
  .gjs-dashed .gnav {
    justify-content: space-between;
    max-width: 100%;
/*    height: 100vh;*/
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
  }
  .gnav.active, .gjs-dashed .gnav{}
  .gnav.active .gnav_box2 .hdr_menubtn{
    display: block;
  }
  .gnav.active .gnav_box2 .menubtn_txt{
    font-size: 12px;
    text-align: center;
    color: #fff;
  }
  header.slim .hdr_menubtn{
    
  }
  
  
  
  
  /* スマホ用 */
  
  /* 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.active .inner{
    width: 100%;
    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 .gnav_item {
    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 .gnav_item a{
    width: 100%;
    padding: 20px 10px;
  }
  .gnav .gnav_item:hover{
    background: #dcd8d3;
    opacity: 1;
  }
  .gnav .gnav_item:not(:last-child) {
    border-right: 1px solid #9f9f9f;
  }
  .gnav .gnav_item:nth-child(n+3) {
    border-top: 1px solid #9f9f9f;
  }
  .gnav .gnav_item:nth-child(2n){
    border-right: 0;
  }
  .gnav .gnav_item: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;*/
  }
}


