@charset "utf-8";
/*--------------------------------------------------------------
  マージン padding 
--------------------------------------------------------------*/
.mt_10{margin-top: 10px;}
.mt_20{margin-top: 20px;}
.mt_30{margin-top: 30px;}
.mt_40{margin-top: 40px;}
.mt_60{margin-top: 60px;}
.mt_80{margin-top: 80px;}
.mt_100{margin-top: 100px;}

.mb_10{margin-bottom: 10px;}
.mb_20{margin-bottom: 20px;}
.mb_30{margin-bottom: 30px;}
.mb_40{margin-bottom: 40px;}
.mb_60{margin-bottom: 60px;}
.mb_80{margin-bottom: 80px;}
.mb_100{margin-bottom: 100px;}




.openbtn{
  display: none;
}


  /* PCのみ */
@media screen and (min-width:768px){


  #g-nav.nav_pc{
    background-color: #fff;
  }
  #g-nav-list{
    max-width: 1110px;
    margin: 0 auto;
  }
  #g-nav.nav_pc ul{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    margin-bottom: 20px;
  }
  #g-nav.nav_pc ul li a{
    position: relative;
    display: inline-block;
    color: #000;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1;
    padding: 10px 15px;
    margin: 5px 0;
  }

  #g-nav.nav_pc ul li a:hover{

    background-image: url(../img/cloud.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60px;
  }
 
  #g-nav.nav_pc ul li a:after{
    content: "";
    position: absolute;
    right: 0;
    width: 1px;
    height: 20px;
    background-color: #000;
  }
  /* 追随 */
  .nav.m_fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
  }
}

  #g-nav li.sp_deli{
    display: none;
  }
  @media only screen and (max-width: 767px) {

    #g-nav{
      position:fixed;
      z-index: -1;
      opacity: 0;
      top:0;
      width:100%;
      height: 100vh;
      background-image: url(../img/main-bg.png);
      background-color: #000;
      background-repeat: repeat;
      transition: all 0.3s;
    }
    
    #g-nav.panelactive{
    opacity: 1;
    z-index:999;
    }
    
    #g-nav.panelactive #g-nav-list{
      position: fixed;
      z-index: 999; 
      width: 100%;
      height: 100vh;
      overflow: auto;
      -webkit-overflow-scrolling: touch;
    }
    
    #g-nav ul {
      display: none;
      position: absolute;
      z-index: 999;
      top:50%;
      left:50%;
      padding-left: 0;
      transform: translate(-50%,-50%);
    }
    #g-nav.panelactive ul {
      display: block;
      width: 100%;
    }
    
    #g-nav li{
    list-style: none;
      text-align: center; 
    }
    
    #g-nav li a{
    color: #333;
    text-decoration: none;
    padding:15px 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    transition: 0.3s;
    }
    #g-nav.nav_pc ul li a:hover {
      background-image: url(../img/cloud.png);
      background-repeat: no-repeat;
      background-position: center;
      background-size: 60px;
  }


    .openbtn{
        display: block;
        position:fixed;
        z-index: 9999;
        top:10px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height:50px;
        border: 2px solid #fff;
        background-color: #84060D;
      }
      .openbtn span{
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #fff;
        width: 45%;
      }
      .openbtn span:nth-of-type(1) {
      top:15px;}
      .openbtn span:nth-of-type(2) {
      top:23px;}
      .openbtn span:nth-of-type(3) {
      top:31px;}
      
      .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        background-color: #fff;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;}
      
      .openbtn.active span:nth-of-type(2) {
      opacity: 0;}
      
      .openbtn.active span:nth-of-type(3){
        top: 30px;
        left: 18px;
        background-color: #fff;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;}

    #g-nav li.sp_deli{
      display: block;
      margin: 0 15px;
    }
    #g-nav li.sp_deli a{
      background-color: #84060D;
      outline-offset: -5px;
      outline: 1px solid #fff;
      transform: 0.3s;
    }
  }

/*--------------------------------------------------------------
  footer
--------------------------------------------------------------*/


/* 戻るボタン */
.backtop{
  display: none;
  position: fixed;
  right: 5px;
  bottom: 5%;
  z-index: 998;
  color: #000;
}
.backtop a{
  position: relative;
  display: inline-block;
  transition: 0.3s;
}
.backtop a img{
  width: 40px;
  height: 40px;
}
.backtop a:hover{
  opacity: 0.7;
}

@media only screen and (max-width: 767px) {

  .backtop{
    position: fixed;
    right: 15px;
    bottom: 5px;
  }
}


/*追随ボタン*/

.flowMenu img{
  width: 180px;
  height: auto;
}

.flowMenu {
  position: fixed;
  right: 0;
  top: 45%;
  z-index: 998;
  display: inline-block;
}
.flowMenu a{
  display: block;
}
.flowMenu:hover {
  opacity: 0.7;
}


/*sp*/
.deri_link{display: none;}

.deri_link a{
  display: inline-block;
  background-color: #fff;
  border: 1px solid #84060D;
  color: #84060D;
  text-align: center;
  outline-offset: -5px;
  outline: 1px solid #84060D;
  padding: 5px 20px;
  font-size: 1.35rem;
  line-height: 2.6rem;
  transition: 0.3s;
}
.deri_link a:hover{
  background-color: #84060D;
  color: #fff;
  outline: 1px solid #fff;
}


@media only screen and (max-width: 767px) {
  .flowMenu img{
    width: 140px;
    height: auto;
  }
  .flowMenu {
    top: initial;
    bottom: 55px;
  }
  /*sp*/
  .deri_link{
    display: block;
    position: fixed;
    bottom: 0;
    background-color: #84060D;
    width: 100%;
    padding: 10px 0;
    text-align: center;
    z-index: 2;
  }

}

@media only screen and (max-width: 500px) {
  .flowMenu img{
    width: 100px;
    height: auto;
  }
}


