html {
    scroll-behavior: smooth;
}

#menu>.inner>.menu {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 16px;
}

#menu>.inner>.menu>a {
    max-width: 592px;
    width: 50%;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 40px 20px 40px 20px;
    gap: 20px;
    background: #FFFFFF;
    border-width: 2px 0px;
    border-style: solid;
    text-decoration: none;
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
    color: #000000;
}

#menu>.inner>.menu>a::after {
    content: '';
    display: block;
    min-width: 44px;
    height: 44px;
    border-radius: 2px;
}

#menu>.inner>.menu>a>.image {
    width: 80px;
}

#menu>.inner>.menu>a>.text {
    width: 100%;
    font-weight: 700;
    font-size: 24px;
    line-height: 150%;
    color: #1D1D1D;
}

#menu>.inner>.menu>a>.text::before {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background: #8FB12C;
    border-radius: 100%;
    font-family: 'Bahnschrift';
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 40px;
    text-align: center;
    color: #FFFFFF;
    content: '';
    vertical-align: middle;
}

#menu>.inner>.menu>a:first-child {
    border-color: #8FB12C;
}

#menu>.inner>.menu>a:first-child>.text::before {
    background: url(../images/a.svg) no-repeat center center/24px 21px, #8FB12C;
}

#menu>.inner>.menu>a:first-child::after {
    background: url(../images/icon_arrow_down.svg) no-repeat center center/18px 14px, #8FB12C;
}

#menu>.inner>.menu>a:last-child {
    border-color: #E1A840;
}

#menu>.inner>.menu>a:last-child>.text::before {
    background: url(../images/b.svg) no-repeat center center/24px 21px, #E1A840;
}

#menu>.inner>.menu>a:last-child::after {
    background: url(../images/icon_arrow_down.svg) no-repeat center center/18px 14px, #E1A840;
}




.selfcheck>.inner>div {
    padding: 48px 60px 60px;
    border-radius: 10px;
}

#check_list_1>.inner>div {
    background: #FAF8EC;
}

#check_list_2>.inner>div {
    background: #FFFFFF;
}



.selfcheck>.inner>div>.title {
    font-weight: 700;
    font-size: 28px;
    line-height: 175%;
    color: #000000;
}

.selfcheck>.inner>div>.title::before {
    content: '';
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 100%;
    vertical-align: middle;
    margin-right: 20px;
    margin-bottom: 20px;
}

#check_list_1>.inner>div>.title::before {
    background: url(../images/a.svg) no-repeat center center/64px 42px, #8FB12C;
}

#check_list_2>.inner>div>.title::before {
    background: url(../images/b.svg) no-repeat center center/64px 42px, #E1A840;
}

.selfcheck>.inner>div>.text {
    font-weight: 400;
    font-size: 20px;
    line-height: 175%;
    margin-bottom: 29px;
}

.selfcheck>.inner>div>.ckeckbox_area {
    margin-bottom: 48px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.selfcheck>.inner>div>.ckeckbox_area>label {
    display: flex;
    align-items: center;
    width: 45%;
    height: 67px;
    font-weight: 400;
    font-size: 20px;
    line-height: 175%;
    color: #000000;
    cursor: pointer;
}

.selfcheck>.inner>div>.ckeckbox_area>label>input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.selfcheck>.inner>div>.ckeckbox_area>label>span::before {
    content: '';
    display: inline-block;
    box-sizing: border-box;
    width: 35px;
    height: 35px;
    background: #FFFFFF;
    border: 2px solid #DCDCDC;
    border-radius: 8px;
    margin-right: 20px;
    vertical-align: middle;
}

.selfcheck>.inner>div>.ckeckbox_area>label>input[type=checkbox]:checked+span::before {
    border-radius: 8px;
}

#check_list_1>.inner>div>.ckeckbox_area>label>input[type=checkbox]:checked+span::before {
    background: url(../images/check.svg) no-repeat center center/24px 17px, #8FB12C;
    border: 1px solid #8FB12C;
}

#check_list_2>.inner>div>.ckeckbox_area>label>input[type=checkbox]:checked+span::before {
    background: url(../images/check.svg) no-repeat center center/24px 17px, #E1A840;
    border: 1px solid #E1A840;
}

.selfcheck>.inner>div>.btn_area {
    display: flex;
    justify-content: center;
}

.selfcheck>.inner>div>.btn_area>.btn {
    background-color: #1D1D1D;
}

.selfcheck>.inner>div>.btn_area>.btn.disabled {
    pointer-events: none;
    opacity: 0.4;
}

.modal {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal>.window {
    max-width: 1200px;
    padding: 48px 60px 60px;
    background: #FFFFFF;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    position: relative;
    margin: auto;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal.open>.window {
    transform: scale(1);
}

.modal>.window>.close {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 80px;
    height: 80px;
    background: url(../images/icon_close_white.svg) no-repeat center center/35px 35px, #000000;
    border-radius: 100%;
    cursor: pointer;
}

.modal>.window>.inner>.h {
    font-weight: 700;
    font-size: 28px;
    line-height: 175%;
    color: #000000;
    margin-bottom: 24px;
}

.modal>.window>.inner>.h::before {
    content: '';
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 100%;
    vertical-align: middle;
    margin-right: 20px;
}

#modal_1>.window>.inner>.h::before {
    background: url(../images/a.svg) no-repeat center center/64px 42px, #8FB12C;
}

#modal_2>.window>.inner>.h::before {
    background: url(../images/b.svg) no-repeat center center/64px 42px, #E1A840;
}

.modal>.window>.inner>.upper {
    padding: 16px 32px;
    border-radius: 8px;
    margin-bottom: 36px;
    color: #FFFFFF;
}

#modal_1>.window>.inner>.upper {
    background: #8FB12C;
}

#modal_2>.window>.inner>.upper {
    background: #E1A840;
}

.modal>.window>.inner>.upper>.h {
    font-weight: 700;
    font-size: 32px;
    line-height: 175%;
    color: #FFFFFF;
}

.modal>.window>.inner>.upper>.text {
    font-weight: 700;
    font-size: 20px;
    line-height: 175%;
    color: #FFFFFF;
}

.modal>.window>.inner>.lower {
    display: flex;
    gap: 34px;
}

.modal>.window>.inner>.lower>.image {
    width: 35%;
}

.modal>.window>.inner>.lower>.body {
    width: 65%;
}

.modal>.window>.inner>.lower>.body>.text {
    font-weight: 400;
    font-size: 20px;
    line-height: 175%;
    color: #000000;
    margin-bottom: 21px;
}

.modal>.window>.inner>.lower>.body>.box {
    padding: 16px 47px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 26px;
    line-height: 175%;
    text-align: center;
}

#modal_1>.window>.inner>.lower>.body>.box {
    background: #F7FFDE;
    color: #8FB12C;
}

#modal_2>.window>.inner>.lower>.body>.box {
    background: #FFE8BE;
    color: #E1A840;
}

.modal>.window>.inner>.lower>.body>.box>span {
    vertical-align: middle;
    padding: 8px 20px;
    background: #8FB12C;
    border-radius: 8px;
    color: #FFFFFF;
    display: inline-block;
    margin-left: 10px;
}

#modal_1>.window>.inner>.lower>.body>.box>span {
    background: #8FB12C;
}

#modal_2>.window>.inner>.lower>.body>.box>span {
    background: #E1A840;
}


.contact {
    margin-top: 50px;
}


/* SP */
@media screen and (max-width: 1200px) {

    #menu>.inner>.menu {
        flex-direction: column;
    }

    #menu>.inner>.menu>a {
        max-width: none;
        width: 100%;
        padding: 20px 16px;
        gap: 10px;
    }

    #menu>.inner>.menu>a>.image {
        width: 50px;
    }

    #menu>.inner>.menu>a>.text {
        width: 100%;
        font-size: 20px;
        line-height: 24px;
    }

    #menu>.inner>.menu>a>.text::before {
        display: block;
        float: left;
        width: 32px;
        height: 32px;
        font-size: 20px;
        line-height: 32px;
    }

    #menu>.inner>.menu>a:first-child {
        border-color: #8FB12C;
    }

    #menu>.inner>.menu>a:first-child>.text::before {
        background: url(../images/a.svg) no-repeat center center/16px 14px, #8FB12C;
    }

    #menu>.inner>.menu>a:first-child::after {
        background: url(../images/icon_arrow_down.svg) no-repeat center center/18px 14px, #8FB12C;
    }

    #menu>.inner>.menu>a:last-child {
        border-color: #E1A840;
    }

    #menu>.inner>.menu>a:last-child>.text::before {
        background: url(../images/b.svg) no-repeat center center/16px 18px, #E1A840;
    }

    #menu>.inner>.menu>a:last-child::after {
        background: url(../images/icon_arrow_down.svg) no-repeat center center/18px 14px, #E1A840;
    }





    .selfcheck>.inner>div {
        padding: 48px 20px;
        border-radius: 10px;
    }



    .selfcheck>.inner>div>.title {
        font-size: 28px;
        line-height: 1.5;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 20px;
    }


    .selfcheck>.inner>div>.title::before {
        width: 64px;
        height: 64px;
        display: block;
        flex-shrink: 0;
        margin: 0;
    }

    #check_list_1>.inner>div>.title::before {
        background: url(../images/a.svg) no-repeat center center/20px 25px, #8FB12C;
    }

    #check_list_2>.inner>div>.title::before {
        background: url(../images/b.svg) no-repeat center center/64px 42px, #E1A840;
    }

    .selfcheck>.inner>div>.text {
        font-size: 18px;
        clear: both;
        margin-bottom: 29px;
    }

    .selfcheck>.inner>div>.ckeckbox_area {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 36px;
    }

    .selfcheck>.inner>div>.ckeckbox_area>label {
        width: 100%;
        height: auto;
        font-size: 18px;
        text-indent: -55px;
        padding-left: 55px;
    }


    .modal {
        padding: 25px 25px;
    }


    .modal>.window {
        padding: 48px 10px 48px 20px;
        background: #FFFFFF;
        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        height: calc(100%);
    }

    .modal>.window>.inner {
        overflow-y: auto;
        height: 100%;
        padding-right: 10px;
    }

    .modal>.window>.close {
        top: -20px;
        right: -20px;
        width: 40px;
        height: 40px;
        background: url(../images/icon_close_white.svg) no-repeat center center/18px 18px, #000000;
    }

    .modal>.window>.inner>.h {
        font-size: 28px;
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .modal>.window>.inner>.h::before {
        margin: 0;
        width: 64px;
        height: 64px;
        display: block;
        float: left;
        flex-shrink: 0;
    }

    #modal_1>.window>.inner>.h::before {
        background: url(../images/a.svg) no-repeat center center/64px 42px, #8FB12C;
    }

    #modal_2>.window>.inner>.h::before {
        background: url(../images/b.svg) no-repeat center center/64px 42px, #E1A840;
    }

    .modal>.window>.inner>.upper {
        padding: 16px 20px;
    }

    .modal>.window>.inner>.upper>.h {
        font-size: 26px;
        line-height: 150%;
    }

    .modal>.window>.inner>.upper>.text {
        font-size: 16px;
    }

    .modal>.window>.inner>.lower {
        flex-direction: column;
        gap: 34px;
    }

    .modal>.window>.inner>.lower>.image {
        width: 100%;
    }

    .modal>.window>.inner>.lower>.body {
        width: 100%;
    }

    .modal>.window>.inner>.lower>.body>.text {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .modal>.window>.inner>.lower>.body>.box {
        padding: 8px 20px;
        font-size: 20px;
    }

    .modal>.window>.inner>.lower>.body>.box>span {
        display: block;
        width: 100%;
        margin: 0;
        padding: 8px 10px;
    }

    .contact {
        margin-top: 35px;
    }

}