
:root {
    --default-txt-color: #12B155;
}

/* remの設定 */
@media (min-width: 1441px) {
    html {
        font-size: 1px;
    }
}
@media (max-width: 1440px) and (min-width: 751px) {
    html {
        font-size: calc(100/1440 * 1vw);
    }
}
@media (min-width: 751px) {
    body {
        font-size: 14rem;
        line-height: 1.4;
    }
    .sp_only {
        display: none!important;
    }
}
@media (max-width: 750px) {
    html {
        font-size: calc(100/375 * 1vw);
    }
    .pc_only {
        display: none!important;
    }
}



/* control_set */
.control_set {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
}
.menu_btn {
    position: absolute;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 12;
}
.menu_btn_line > li:nth-child(n) {
    position: absolute;
    transition: transform 0.2s 0s;
}
.menu_wrap {
    position: absolute;
    background-color: #fff;
    overflow: hidden;
    z-index: 11;
    transition: width 0.4s 0.3s, height 0.4s 0.3s, border-radius 0.4s 0.3s;
}
.menu_wrap,
.menu {
    scrollbar-width: none;
}
.menu_wrap::-webkit-scrollbar,
.menu::-webkit-scrollbar {
    display:none;
}
.is_menu_open .menu_wrap {
    overflow: auto;
    transition: width 0.3s 0s, height 0.5s 0.3s, border-radius 0.3s 0s;
}
.menu {
    width: 100%;
    height: 100%;
    overflow: auto;
}
.menu_inner {
    height: 100%;
    display: flex;
    opacity: 0;
    transition: opacity 0.4s 0.1s;
}
.is_menu_open .menu_inner {
    opacity: 1;
    transition: opacity 0.6s 0.8s;
}
.menu_list {
    display: block;
}
.menu_list > li a {
    color: #00a33e;
    text-decoration: none;
    line-height: 1;
    position: relative;
    display: block;
    opacity: 0.4;
    word-break: keep-all;
}
.menu_list > li a[href] {
    opacity: 1;
}
.menu_item_inner {
    position: relative;
    display: flex;
}
.menu_bnr_link img {
    width: 100%;
    height: auto;
}
.menu_sns_list {
    display: flex;
    align-items: center;
}

.btn_whats_towaquality {
    position: absolute;
    bottom: -50%;
    right: 0;
    display: block;
    z-index: 10;
    transform: translateY(50%); 
}
.btn_whats_towaquality img {
    display: block;
}
.btn_whats_towaquality .on {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity .3s;
    opacity: 0;
}
.btn_whats_towaquality img {
    width:100%;
    height:auto;
}
@media (min-width: 751px) {
    .menu_btn {
        top: calc(100% + 24rem);
        right: 24rem;
        width: 72rem;
        height: 72rem;
    }
    .menu_btn_line > li:nth-child(n) {
        left: 20rem;
        width: 32rem;
        border-top: 1px solid #00a33e;
    }
    .menu_btn_line > li:nth-child(1) {
        top: 31rem;
    }
    .menu_btn_line > li:nth-child(2) {
        top: 40rem;
    }
    .menu_wrap {
        top: calc(100% + 24rem);
        right: 24rem;
        width: 72rem;
        height: 72rem;
        border-radius: 36rem;
        box-shadow: 0 0 7rem rgba(0, 163, 62, 0.20);
    }
    .is_menu_open .menu_wrap {
        width: 390rem;
        height: 658rem;
        border-radius: 24rem;
    }
    .menu {
        padding: 56rem 48rem 48rem;
    }
    .menu_list > li + li {
        margin-top: 20rem;
    }
    .menu_list > li a {
        display: inline-block;
        font-size: 18rem;
        letter-spacing: calc(3.6 / 18* 1em);
        line-height: 1.7;
    }
    .menu_list > li.indent_1 {
        padding-left: 22rem;
        margin-top: 16rem;
    }
    .menu_item_inner {
        gap: 10rem;
    }
    @media(hover: hover){
        .menu_list > li a .menu_item_inner::before {
            content: "";
            display:block;
            position:absolute;
            bottom:0;
            left:0;
            width:100%;
            transform-origin: 0% 50%;
            transform: scaleX(0);
            border-top: 1px solid #00a33e;
            transition: transform 0.4s;
        }
        .menu_list > li a:hover .menu_item_inner::before {
            transform: scaleX(1);
        }

    }



    .menu_bnr {
        margin-top: 20rem;
    }
    .menu_sns_list {
        margin-top: 32rem;
    }
    .menu_sns_list > li {
        margin-right: 32rem;
    }
    .menu_sns_x {
        width: 47rem;
        height: auto;
    }
    .menu_sns_youtube {
        width: 64rem;
        height: auto;
    }
    .menu_btn_line {
        transition: opacity 0.4s 0s;
    }
    .is_menu_open .menu_btn_line > li:nth-child(1) {
        transform: rotate(25deg);
        top: 35rem;
    }
    .is_menu_open .menu_btn_line > li:nth-child(2) {
        transform: rotate(-25deg);
        top: 35rem;
    }
    .btn_whats_towaquality {
        width: 128rem;
        border-radius:  16rem 0 0 16rem;
        box-shadow: 6rem 6rem 16rem 0px rgba(0, 0, 0, 0.3);
    }
    .btn_whats_towaquality:hover .on {
        opacity: 1;
    }
}
@media (max-width: 750px) {
    .menu_btn {
        top: calc(100% + 6rem);
        right: 6rem;
        width: 56rem;
        height: 56rem;
    }
    .menu_btn_line > li:nth-child(n) {
        left: 14rem;
        width: 28rem;
        border-top: 1px solid #00a33e;
    }
    .menu_btn_line > li:nth-child(1) {
        top: 23rem;
    }
    .menu_btn_line > li:nth-child(2) {
        top: 32rem;
    }
    .is_menu_open .menu_btn_line > li:nth-child(n) {
        top: 28rem;
        transition: top 0.2s 0s, transform 0.2s 0.2s;
    }
    .is_menu_open .menu_btn_line > li:nth-child(1) {
        transform: rotate(30deg);
    }
    .is_menu_open .menu_btn_line > li:nth-child(2) {
        transform: rotate(-30deg);
    }
    .menu_overlay {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s;
    }
    .is_menu_open .menu_overlay {
        opacity: 1;
        pointer-events: all;
    }
    .menu_wrap {
        top: calc(100% + 6rem);
        right: 6rem;
        width: 56rem;
        height: 56rem;
        border-radius: 50%;
        box-shadow: 0 0 7rem rgba(0, 163, 62, 0.20);
    }
    .is_menu_open .menu_wrap {
        width: 295rem;
        height: 575rem;
        border-radius: 24rem;
    }
    .menu {
        padding: 48em 45rem;
    }
    .menu_inner {
        /* min-height: 560rem; */
        align-items: start;
    }
    .menu_list > li + li {
        margin-top: 20rem;
    }
    .menu_list > li a {
        font-size: 14rem;
        line-height: 1.7;
        letter-spacing: calc(2.8 / 14* 1em);
    }
    .menu_list > li.indent_1 {
        padding-left: 18rem;
        margin-top: 16rem;
    }
    .menu_item_inner {
        gap: 10rem;
    }
    .menu_list > li a::before {
        width: 12rem;
        height: 12rem;
    }
    .menu_list > li a[href]::before {
        border-top-width: 2rem;
        border-right-width: 2rem;
    }
    .menu_list > li a:after {    
        height: 2rem;
        width: 20rem;
        right: 4.5rem;
    }
    .menu_bnr {
        margin-top: 32rem;
    }
    .menu_sns_list {
        margin-top: 32rem;
        align-items: center;
    }
    .menu_sns_list > li {
        margin-right: 40rem;
    }
    .menu_sns_x {
        width: 78rem;
        height: auto;
    }
    .menu_sns_youtube {
        width: 96rem;
        height: auto;
    }
    .btn_whats_towaquality {
        width: 65rem;
        height: 71rem;
        border-radius: 16rem 0 0 16rem;
        box-shadow: 6rem 6rem 16rem 0px rgba(0, 0, 0, 0.3);
    }
}
