


@media (min-width:375px){

}

@media (min-width:768px) and (max-width:1023px){
  /*ナビゲーション*/
  .gnav.tb {
    position: fixed;
    left: 100%;
    z-index: 1000000000;
    height: 0;
    /* background: #47a3cd; */
    /* padding: 20px 15px; */
    font-size: 16px;
    overflow: hidden;
    border-radius: 15px;
    transition: all 1.8s;
    opacity: 0;
    background: #efece8;
    box-shadow: 0 0 4px 0px #666;
  }
  .gnav.tb.active {
    left: 52%;
    right: inherit;
    top: 50%;
    height: auto;
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  .gnav > ul{
    width: 580px;
    display: flex!important;
    flex-wrap: wrap;
  }
  .gnav.tb.active > ul {
    align-items: flex-start;
  }
  .gnav > ul > li {
    width: 33.333%;
    border-right: 1px solid #7c994d;
  }
  .gnav > ul > li:hover{
    background: #dcd8d3;
    opacity: 1;
  }
  .gnav > ul > li a{
    padding: 70px 10px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.075em;
    text-align: center;
    color: #181818;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
  }


  .gnav > ul > li:nth-child(n+4) {
    border-top: 1px solid #7c994d;
  }
  .gnav > ul > li:nth-child(3n){
    border-right: 0;
  }

  .hdr_menu{
    padding: 0 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: inherit;
  }
  .hdr_menu i{
    font-size: 26px;
    display: block;
    padding: 0 5px;
  }
  .hdr_menu:hover{
    opacity: 1;
  }
}

@media (min-width:1024px){

  .gnav.pc,
  .gnav.md{
    display: flex;
  }
  .gnav.tb{
    display: none;
  }

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

@media (max-width:767px){

  /* スマホ用 */
  .gnav > ul {
    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;
    background: #efece8;
  }
  .gnav.active > ul{
    width: 95%;
    height: auto;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
  }
  .gnav > ul > li{
    width: 50%;
    text-align: center;
    color: #181818;
  }
  .gnav > ul > li a{
    min-height: 90px;
    font-size: 16px;
    font-weight: 500;
    padding: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .gnav > ul > li a:hover{
    background: #dcd8d3;
    opacity: 1;
  }
  .gnav > ul > li:not(:last-child) {
    border-right: 1px solid #7c994d;
  }
  .gnav > ul > li:nth-child(n+3) {
    border-top: 1px solid #7c994d;
  }
  .gnav > ul > li:nth-child(2n){
    border-right: 0;
  }
  .gnav > ul > li:nth-child(odd):last-child{
    width: 100%;
  }
}
