@charset "utf-8";
/* CSS Document */


/*ナビゲーションが開いた時スクロールを止める*/

.sp_menu_ov {
    overflow: hidden;
}

.sp_h_in {
    display: flex;
    align-items: center;
}


/*=============================================
ここからスマホ用のナビ
=============================================*/

.sp_h_in {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    height: 50px;
    background: #fff;
    box-shadow: 2.5px 4.33px 9px 1px rgb(58 58 58 / 15%);
    z-index: 5000;
}

.sp_logo {
    display: flex;
    flex: 1;
    padding-left: 15px;
}

.sp_logo a{
    display: flex;
}

.sp_logo img{
    height: 30px;
}

.sp_h_in .fa-phone-volume {
    font-size: 1.8em;
    color: #373737;
    transform: rotate(-27deg);
    transition: .5s;
}

.menu_in {
    position: relative;
    background: #00c112;
    width: 50px;
    height: 50px;
    z-index: 100;
    margin-left: 25px;
}

.menu_in::before {
    content: '';
    position: absolute;
    top: 0;
    left: -25px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 50px 25px;
    border-color: transparent transparent #fff transparent;
}

.sp_menu {
    position: absolute;
    width: 35px !important;
    height: 25px !important;
    display: block;
    transition: all .4s;
    box-sizing: border-box;
    z-index: 200;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sp_menu.active {
    background: none;
    height: 25px;
}

.menu_txt {
    position: absolute;
    top: 85%;
    right: -3px;
}

.menu__line {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #fff;
}

.menu__line.active {
    background: #fff;
}

.menu__line--top {
    top: 0;
}

.menu__line--center {
    top: 44%;
}

.menu__line--bottom {
    bottom: 0;
}

.menu__line--top.active {
    transform: translateY(-50%) rotate(-315deg);
    top: 50%;
}

.menu__line--center.active {
    opacity: 0;
}

.menu__line--bottom.active {
    transform: translateY(-50%) rotate(315deg);
    top: 50%;
    bottom: auto;
}

/*.menu__line--top.active{
    -webkit-transform: rotate(-315deg);
    transform: rotate(-315deg);
    top: 11px;
}
.menu__line--center.active{
    opacity: 0;
}
.menu__line--bottom.active{
    -webkit-transform: rotate(315deg);
    transform: rotate(315deg);
    bottom: 12px;
}*/

.gnav {
    background-color: #fff;
    display: none;
    height: 100%;
    position: fixed;
    top: 50px;
    width: 100%;
    z-index: 140;
    overflow-y: scroll;
    padding-bottom: 40%;
    box-shadow: 2.5px 4.33px 9px 1px rgb(58 58 58 / 15%);
}

.gnav__boxs {
    height: 100%;
    width: 100%;
    overflow-y: scroll;
}

.gnav__menu {
    margin: 0 15px 20px;
}

.gnav__menu li {
    position: relative;
}

.gnav__menu_bdr {
    border-bottom: 1px solid;
}

.gnav__menu li::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    width: 5px;
    height: 5px;
    border-bottom: 2px solid;
    border-right: 2px solid;
    transform: translateY(-50%) rotate(-45deg);
}

.gnav__menu li a {
    display: block;
    color: inherit;
    padding: 10px 0 10px 20px;
    font-size: 1.6rem;
    text-decoration: none;
    transition: .5s;
}

.gnav__menu li a span {
    display: block;
    text-align: center;
    font-size: 1.2rem;
}

.sp_sub_nav {
    margin-bottom: 10px;
    padding-bottom: 250px;
}

.sub_nav_in li {
    width: 100%;
}

.sub_nav_in a {
    position: relative;
    display: block;
    color: inherit;
    padding: 5px 0 5px 15px;
    border-radius: 5px;
    font-size: 1.5rem;
}

.sub_nav_in a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00c112;
}

.sp_nav_sns {
    width: 70%;
    margin: 20px auto 0;
}

.sp_nav_sns .fa-facebook-square,
.sp_nav_sns .fa-instagram,
.sp_nav_sns .fa-line,
.sp_nav_sns .fa-youtube {
    font-size: 2.3em;
    color: #000;
}


/*=====================================================
追加CSS
=====================================================*/

/*
@keyframes fade_in {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.gnav__menu a {
    transform: translateX(-100%);
    animation-name: fade_in;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.gnav__menu li:nth-child(1) a {
    animation-delay: 0.1s;
}

.gnav__menu li:nth-child(2) a {
    animation-delay: .3s;
}

.gnav__menu li:nth-child(3) a {
    animation-delay: .4s;
}

.gnav__menu li:nth-child(4) a {
    animation-delay: .5s;
}

.gnav__menu li:nth-child(5) a {
    animation-delay: .6s;
}

.gnav__menu li:nth-child(6) a {
    animation-delay: .7s;
}

.gnav__menu li:nth-child(7) a {
    animation-delay: .8s;
}

.gnav__menu li:nth-child(8) a {
    animation-delay: .9s;
}
*/

/*=========================
下スライドでヘッダーを隠す
===========================*/

.sp_h_in {
    transition: .5s;
}

header .scrollDown {
    transform: translateY(-110%);
}

header .scrollTop {
    transform: translateY(0);
}



/*=========================
横から開け閉めの場合コメントを消す
===========================*/


.gnav {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    transition: all 0.6s;
    transform: translate(-300px);
    z-index: 1000;
    border-top: none;
    box-shadow: 2.5px 4.33px 9px 1px rgb(58 58 58 / 15%);
    padding-top: 70px;
}

.gnav_open {
    transform: translate(0);
}
