@charset "UTF-8";
/**
*
* ハンバーガーメニュー
*
*/

/*==================================================
　ハンバーガーボタンデザイン
===================================*/

/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
#hmb_btn_area{
    top: 8px;
    right: 8px;
    position: fixed;
    z-index: 999;
}
#hmb_btn{
    position: relative;/*ボタン内側の基点となるためrelativeを指定*/
    background:#FFFFFF;
    opacity: 0.9;
    cursor: pointer;
    width: 50px;
    height:50px;
    border: solid 1px #666666;
    border-radius: 5px;
}

/*ボタン内側*/
#hmb_btn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 5px;
    background: #666666;
    width: 45%;
  }


#hmb_btn span:nth-of-type(1) {
  top:13px; 
}

#hmb_btn span:nth-of-type(2) {
  top:19px;
}

#hmb_btn span:nth-of-type(3) {
  top:25px;
}

#hmb_btn span:nth-of-type(3)::after {
  content:"Menu";/*3つ目の要素のafterにMenu表示を指定*/
  position: absolute;
  top:2px;
  left:-2px;
  color: #666;
  font-size: 0.6rem;
  text-transform: uppercase;
}

/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/

#hmb_btn.hmb_active span:nth-of-type(1) {
    top: 14px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

#hmb_btn.hmb_active span:nth-of-type(2) {
  opacity: 0;
}

#hmb_btn.hmb_active span:nth-of-type(3){
    top: 26px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

#hmb_btn.hmb_active span:nth-of-type(3)::after {
  content:"Close";/*3つ目の要素のafterにClose表示を指定*/
    transform: translateY(0) rotate(-45deg);
  top:2px;
  left:4px;
}
/********************************************************************/

#hmb_elem{
    top: 0px;
    right: -130vw;
    width: 100%;
    height: 100vh;
    position: fixed;
    background-color: #FFFFFF;
    opacity: 0.9;
    z-index: 998;
}

#hmb_elem #hmb_x_area {
    height: 64px;
    width: 100%;
}
#hmb_elem #hmb_container {
    height:100%;
    width: 100%;
    padding-top: 5vh;
    padding-left: 7vw;
    padding-right: 7vw;
    padding-bottom: 5vh;
}
#hmb_elem #hmb_menu {
    padding: 5% 5%;
    width: 45%;
    height: 70%;
    background-color: #FFFFFF;
    float:right;
}
#hmb_elem #hmb_menu ul.hover_anm{
    list-style-type: none;
}
#hmb_elem #hmb_menu ul.hover_anm li{
    margin-top: 3px;
    margin-bottom: 3px;
    list-style-type: none;
    background:
    linear-gradient(#13747f 0 0) 
    left /var(--d, 0%) 100% no-repeat;
  transition: 0.5s;
}
#hmb_elem #hmb_menu ul.hover_anm li:hover {
  --d: 100%;
}

#hmb_elem #hmb_menu ul.hover_anm li a{
    display: block;
    height: 94%;
    width: 100%;
    padding: 12px 15px;
    font-size: 1.4vw;
    font-weight: 1000;
    white-space: nowrap;
    color: #000000;
    text-decoration-line: none;
}
#hmb_elem #hmb_menu ul li a:hover{
    color: #FFFFFF;
    text-decoration-line: none;
}
#hmb_elem #hmb_menu ul li a:active{
    color: #000000;
    text-decoration-line: none;
}


#hmb_elem #hmb_content {
    padding: 5% 5%;
    width: 35%;
    float:right;
    text-align: center;
}
#hmb_elem #hmb_content #hmb_txt_area{
    padding-top: 4px;
    padding-left: 5%;
    padding-right: 5%;
    line-height: 300%;
    font-size: 1vw;
}

#hmb_elem .sns_logo_area{
    padding-top: 13px;
    padding-bottom: 14px;
    text-align: left;
}
#hmb_elem .sns_logo_area ul {
    margin: auto;
    text-align:center;
    list-style-type: none;
    justify-content: flex-start;
}

#hmb_elem .sns_logo_area ul li {
    list-style: none;
    margin:16px;
    text-align:left;
}
#hmb_elem .sns_logo_area ul li img{
  height: 2.5vw;
}

@media screen and (max-width: 800px) {
    #hmb_elem #hmb_menu {
        margin: auto;
        padding: 5% 5%;
        width: 90%;
        height: 100%;
        background-color: #FFFFFF;
        float:right;
    }
    #hmb_elem #hmb_menu ul.hover_anm li a{
    font-size: 4vw;
}
    #hmb_elem .sns_logo_area {
        padding-left: 12px;
    }
    #hmb_elem .sns_logo_area ul li {
    list-style: none;
    margin: 8px;
    text-align:left;
    }
    #hmb_elem .sns_logo_area ul li img{
      height: 7vw;
    }
}
