@charset "utf-8";

#spicon {
    position: fixed;
    right: 60px;
    top: 20px;
    border: 1px solid #fff;
    background-position: 50% 0;
    background-repeat: no-repeat;
    background-size: cover;
    width: 60px;
    height: 60px;
    z-index: 99999;
    cursor: pointer
}

#spicon span {
    position: absolute;
    border-bottom: 2px solid #fff;
    height: 2px;
    left: 15px;
    transition: .3s ease-in-out
}

#spicon span:nth-child(1) {
    top: 10px;
    width: 30px
}

#spicon span:nth-child(2) {
    top: 20px;
    width: 20px
}

#spicon span:nth-child(3) {
    top: 28px;
    width: 10px
}

#spicon:hover span:nth-child(2),
#spicon:hover span:nth-child(3) {
    width: 30px
}

#spicon.m_active span:nth-child(1) {
    -webkit-transform: translateY(12px) rotate(-45deg);
    transform: translateY(12px) rotate(-45deg);
    width: 30px
}

#spicon.m_active span:nth-child(2) {
    opacity: 0;
    width: 30px
}

#spicon.m_active span:nth-child(3) {
    -webkit-transform: translateY(-6px) rotate(-135deg);
    transform: translateY(-6px) rotate(-135deg);
    width: 30px
}

#open_menu {
    background-position: 50% 0;
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    z-index: 99990;
    top: 0;
    left: 0;
    width: 100%
}

#center_box {
    color: #fff;
    background-color: #000;
    position: fixed;
    right: 0;
    top: 0;
    width: 780px;
    margin: 0;
    height: 100%;
    padding: 150px 0 0 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch
}

/* #center_box .scOver {
    min-height: 110%
} */

#menu_logo {
    position: absolute;
    top: 5px;
    left: 40px;
    z-index: 9999
}

#menu_logo img {
    width: 100px;
    height: auto
}

#menu_p {
    color: #fff;
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: -1px
}

#close {
    position: absolute;
    text-align: center;
    bottom: -1px;
    left: 0;
    width: 100%;
    color: #fff;
    opacity: 0;
    display: none
}

#center_box li {
    padding: 15px 0;
    font-size: 20px
}

#center_box li ul li {
    padding: 10px 0 0 15px
}

#center_box a {
    color: #fff;
    text-decoration: none;
    position: relative;
    letter-spacing: .2em;
    padding: 0 10px;
    font-family: ShipporiMincho-Regular;
}

#center_box li a:after {
    content: "";
    border-bottom: 1px solid #fff;
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 0;
    transition: .3s ease-in-out
}

#center_box li a:hover:after {
    width: 100%
}

.sp_box {
    background-color: #fff;
    padding: 20px;
    color: #000;
    width: 94%;
    max-width: 480px;
    margin: 0 auto
}

.sptel {
    padding-top: 5px
}

.sptel a {
    color: #1fa222 !important;
    font-size: 22px
}

#contact_m p {
    display: inline-block;
    margin: 0 5px
}

#contact_m a {
    display: block;
    background-color: #fff;
    border-radius: 50px;
    text-align: center;
    width: 200px;
    color: #1fa222;
    padding: 10px 0
}

.borderWhite {
    border-color: #fff !important
}

.colorWhite {
    color: #fff !important
}

#contact {
    position: fixed;
    top: 20px;
    right: 140px;
    text-align: center;
    color: #fff;
    z-index: 9999
}

#btn_buy {
    position: fixed;
    top: 20px;
    right: 360px;
    text-align: center;
    color: #fff;
    z-index: 9999
}

#contact a {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #fff;
    width: 200px;
    height: 60px;
    color: #fff;
    text-decoration: none
}

#btn_buy a {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #fff;
    width: 200px;
    height: 60px;
    color: #fff;
    text-decoration: none
}

#menu_banar {
    display: flex;
    justify-content: space-between;
    width: 94%;
    max-width: 360px;
    box-sizing: border-box;
    margin-top: 40px
}

#menu_banar div {
    width: 48%;
    text-align: center
}

#menu_banar img {
    width: 100%;
    height: auto;
    background-color: #fff;
    padding: 20px 30px
}

@media only screen and (max-width:1400px) {
    #center_box {
        width: 740px;
        padding: 120px 0 0 40px
    }

    #menu_logo {
        position: absolute;
        top: 5px;
        left: 40px;
        z-index: 9999
    }

    #menu_logo img {
        width: 100px;
        height: auto
    }

    #center_box li {
        padding: 5px 0
    }

    #center_box li ul li {
        padding: 5px 0 0 10px
    }

    #center_box a {
        letter-spacing: .2em;
        padding: 0 10px
    }
}

@media only screen and (max-width:1024px) {
    #spicon {
        right: 20px;
        top: 20px;
        width: 60px;
        height: 60px
    }

    #spicon span {
        left: 15px
    }

    #spicon span:nth-child(1) {
        top: 17px
    }

    #spicon span:nth-child(2) {
        top: 27px
    }

    #spicon span:nth-child(3) {
        top: 37px
    }

    #menu_p {
        display: none
    }

    #contact {
        top: 20px;
        right: 100px
    }

    #contact a {
        width: 130px;
        height: 60px
    }

    #btn_buy {
        top: 20px;
        right: 250px
    }

    #btn_buy a {
        width: 130px;
        height: 60px
    }

}

@media only screen and (max-width:1024px) {
    #center_box {
        width: 480px;
        padding: 100px 0 0 20px
    }

    #menu_logo {
        position: absolute;
        top: 10px;
        left: 20px
    }

    #menu_logo img {
        width: 100px;
        height: auto
    }

    #center_box li {
        padding: 5px 0
    }

    #center_box li ul li {
        padding: 5px 0 0 10px
    }

    #center_box a {
        letter-spacing: .15em
    }
}

@media only screen and (max-width:740px) {
    #center_box li {
        font-size: 18px
    }

    #close {
        display: none;
    }

    #spicon {
        right: 10px;
        top: 20px;
        width: 40px;
        height: 40px;
        /* position: relative; */
    }

    #spicon::before{
    content: "メニューはこちら→";
    position: absolute;
    z-index: 9;
    color: #fff;
    width: 115px;
    left: -120px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    font-size: 12px;
}

    #spicon span {
        left: 9px
    }

    #spicon span:nth-child(1) {
        top: 10px;
        width: 20px
    }

    #spicon span:nth-child(2) {
        top: 17px;
        width: 20px
    }

    #spicon span:nth-child(3) {
        top: 24px;
        width: 20px
    }

    #spicon.m_active span:nth-child(1) {
        -webkit-transform: translateY(8px) rotate(-45deg);
        transform: translateY(8px) rotate(-45deg);
        width: 20px
    }

    #spicon.m_active span:nth-child(2) {
        opacity: 0;
        width: 20px
    }

    #spicon.m_active span:nth-child(3) {
        -webkit-transform: translateY(-6px) rotate(-135deg);
        transform: translateY(-6px) rotate(-135deg);
        width: 20px
    }

    #spicon:hover span:nth-child(2),
    #spicon:hover span:nth-child(3) {
        width: 20px
    }

    #menu_p {
        display: none
    }

    #contact {
        display: none
    }

    #btn_buy {
        display: none
    }

    #center_box {
        width: 100%
    }

    #menu_logo {
        position: absolute;
        top: 5px;
        left: 20px
    }

    #menu_logo img {
        width: 100px;
        height: auto
    }

    #center_box li {
        padding: 5px 0
    }

    #center_box li ul li {
        padding: 5px 0 0 10px
    }

    #center_box a {
        letter-spacing: .15em
    }

    #center_box a:after {
        display: none
    }

    #center_box a:hover:after {
        width: 0
    }
}