.pc--only {
    display: flex;
}

.sp--only {
    display: none;
}

.header_inner {
    display: flex;
    justify-content: space-between;
    padding: 0 3rem 0 8rem;
}

.header_logo {
    width: 20rem;
    height: 7.5rem;
    margin-top: 3rem;
}

.contact_button {
    background-color: #42976D;
    color: #FFFFFF;
    width: 15rem;
    height: 11.5rem;
    text-align: center;
    padding-top: 3rem;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
}

.contact_button img {
    width: 5rem;
    height: auto;
    margin-bottom: 0.8rem;
}

.header_nav {
    display: flex;
    font: 1.8rem/2.6rem "Zen Maru Gothic";
    font-weight: 500;
    color: #000000;
    margin-top: 3.9rem;
}

.header_nav a {
    position: relative;
    padding-left: 1.4rem;
    transition: color 0.3s;
}

.header_nav a:hover {
    color: #808080;
}

.header_nav a:nth-child(1) {
    margin-right: 5.9rem;
}

.header_nav a:nth-child(2) {
    margin-right: 4.5rem;
}

.header_nav a:nth-child(3) {
    margin-right: 6.1rem;
}

.header_nav a:nth-child(4) {
    margin-right: 2.5rem;
}

.header_nav a.active::before {
    content: '';
    font-size: 1.5rem;
    color: #41956A;
    background-color:#41956a;
    position: absolute;
    left: -0.6rem;
    width:1.5rem;
    height:1.5rem;
    border-radius:50%;
    top:0.6rem;
}

.contact_button p {
    font: 1.8rem/2.6rem "Zen Maru Gothic";
    color: #FFFFFF;
}

@media screen and (max-width: 699.98px) {
    .pc--only {
        display: none;
    }

    .sp--only {
        display: flex;
    }

    .header_inner {
        padding: 0 1rem;
        align-items: center;
        position: relative;
        /* ハンバーガーメニューの位置基準のため */
        height: 9rem;
        background-color: #ffffff;
    }

    .header_logo {
        width: 20rem;
        height: auto;
        margin-top: 0;
        z-index: 1001;
    }

    /* ハンバーガーメニュー */
    .hamburger-menu {
        width: 6rem;
        height: 6rem;
        position: relative;
        cursor: pointer;
        z-index: 1001;
        background-color: #41956A;
        border-radius: 1rem;
    }

    .hamburger-menu span {
        display: block;
        width: 70%;
        height: 0.15rem;
        background-color: #FFFFFF;
        position: absolute;
        transition: transform 0.3s, opacity 0.3s;
    }

    .hamburger-menu span:nth-child(1) {
        top: 1.8rem;
        left: 16%;
    }

    .hamburger-menu span:nth-child(2) {
        top: 3rem;
        left: 16%;
    }

    .hamburger-menu span:nth-child(3) {
        top: 4.2rem;
        left: 16%;
    }

    #hamburger-check {
        display: none;
    }

    #hamburger-check:checked~.header_nav_sp {
        transform: translateX(0);
    }

    #hamburger-check:checked~.hamburger-menu span:nth-child(1) {
        top: 2.95rem;
        transform: rotate(45deg);
    }

    #hamburger-check:checked~.hamburger-menu span:nth-child(2) {
        opacity: 0;
    }

    #hamburger-check:checked~.hamburger-menu span:nth-child(3) {
        top: 2.95rem;
        transform: rotate(-45deg);
    }

    /* SP用ナビゲーションコンテナ */
    .header_nav {
        margin: 3.5rem 0 0 6.1rem;
    }

    .header_nav_sp {
        position: fixed;
        top: 9rem;
        right: 0;
        width: 36.5rem;
        height: 38.6rem;
        background-color: #41956a;
        transform: translateX(100%);
        transition: transform 0.3s;
        z-index: 1000;
        border-radius: 4rem 0 0 4rem;
        flex-direction: column;
    }

    .header_nav_sp nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        height: 27%;
        gap: 0rem 0rem;
        margin-bottom: 0.5rem;
    }


    .header_nav_sp nav a::before {
        position: absolute;
        content: "●";
        color: #FFFAE5;
        top: 0rem;
        left: -2.4rem;
        font-size: 1.5rem;
    }

    .header_nav_sp nav a:hover {
        opacity: 0.7;
    }

    .contact_button {
        background-color: #FFFFFF;
        border-radius: 1rem;
        width: 31rem;
        height: 6rem;
        margin: 0 auto;
        padding-top: 0rem;
    }

    .contact_button p {
        color: #41956A;
    }

    .contact_button a {
        display: flex;
        align-items: center;
        height: 100%;
        text-decoration: none;
    }

    .header_nav_sp nav a {
        display: block;
        color: #FFFAE5;
        font: 1.8rem/2.6rem "Zen Maru Gothic";
        font-weight: 500;
        text-decoration: none;
        width: 100%;
        text-align: left;
        padding-left: 0rem;
        position: relative;
    }

    .contact_button p {
        margin-right: 2.5rem;
    }

    .header_nav a.active::before {
        color: #FFFAE5;
        left: -2.5rem;
    }

    .header_nav_sp .contact_button img {
        width: 4.5rem;
        height: 3.1rem;
        margin-bottom: 0;
        margin-right: 1.6rem;
        margin-left: 4.4rem;
    }
}

body.no-scroll {
    overflow: hidden;
}