.article5 {
    background: url(../images/a5-bg.jpg);
    background-position: right !important;
}

.a5-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.a5-left h1 {
    color: #fff;
    font-size: 85px;
    font-weight: 800;
    line-height: 1.3;
    padding-bottom: 2rem;
}

.a5-left p {
    color: #444;
    font-size: 24px;
    line-height: 1.8;
    margin-top: 3rem;
}

.a5-vertical {
    width: 1px;
    height: 50px;
    background-color: #ccc;
    margin: 3rem 0;
}

.a5-notice {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    padding-left: 17px;
}

.a5-notice li {
    color: #777;
    font-size: 16px;
    font-weight: 400;
    list-style: circle;
}


.article5 .form-wrapper {
    width: 525px;
    margin: 0;
    padding: 40px;
    border-radius: 7px;
    background-color: #fff;
    box-shadow: 0 0 35px rgba(0, 0, 0, .07);
    margin-top: 10rem;
    z-index: 2;
}

.a5Form {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.a5Form .input-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.a5Form .input-wrapper .input-title h1 {
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

.a5Form .inputbox3 {
    color: #222;
    height: 55px;
    padding: 0 15px;
    font-size: 15px;
    font-weight: 400;
    border: none;
    outline: none;
    border-radius: 7px;
    background-color: #fff;
    border: 1px solid #dedede;
}

.a5Form select {
    color: #aaa;
    height: 55px;
    padding: 0 15px;
    font-size: 15px;
    font-weight: 400;
    border: none;
    outline: none;
    border-radius: 7px;
    background-color: #fff;
    border: 1px solid #dedede;
    cursor: pointer;
}

.a5Form select:valid {
    color: #222;
}

.a5Form select option {
    color: #222;
    font-size: 15px;
    background-color: #fff;
    box-shadow: none;
}

.a5Form .inputbox3::placeholder {
    color: #aaa;
}

.a5Form .inputbox3:focus  {
    border: 1px solid var(--main-color);
}


.a5Form .f-submit3 {
    color: #fff;
    width: 100%;
    height: 55px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
    padding: 0 19px;
    border: none;
    outline: none;
    border-radius: 7px;
    background-color: var(--main-color);
    cursor: pointer;
}

.a5Form .f-submit3:disabled {
    color: #ccc;
    font-weight: 300;
    cursor: not-allowed;
    background-color: #f2f2f2;
}

.a5Form .f-personal3 {
    width: 100%;
    padding: 16px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 7px;
    background-color: #fff;
    border: 1px solid #ddd;
}

.a5Form .f-personal-no {
    background-color: #fff7f7;
    border: 1px solid #e82424;
}

.a5Form .f-personal-text3 input {
    display: none;
}

.a5Form .f-personal-text3 label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.a5Form .f-personal-text3 label em {
    position: relative;
    width: 16px;
    min-width: 16px;
    height: 16px;
    min-height: 16px;
    background-color: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
}

.a5Form .f-personal-text3 label em::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: var(--main-color);
    display: none;
}

.a5Form .f-personal-text3 label p {
    color: #444;
    font-size: 14px;
    user-select: none;
    cursor: pointer;
}

#cb3:checked ~ label em::after {
    display: block;
}

.a5Form .f-personalBtn3 {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 3px;
    background-color: #bbb;
    cursor: pointer;
}

.a5Form .f-personalBtn3:hover {
    background-color: #bbb;
}


/*==================================================*/
@media (min-width: 2560px) {
    .a5-left h1 {
        font-size: 72px;
    }
    
    .a5-left p {
        font-size: 22px;
        margin-top: 1rem;
    }
}


@media (max-width: 1250px) {
    .a5-left h1 {
        font-size: 65px;
        padding-bottom: 0;
        margin-top: 2rem;
    }

    .a5-left p {
        font-size: 22px;
        margin-top: 5rem;
    }
}


@media (max-width: 1050px) {
    .article5 {
        background: url(../images/a5-bg-m.jpg);
    }
    
    .a5-wrapper {
        flex-direction: column;
        gap: 4rem;
    }

    .a5-left p {
        color: #fff;
        font-size: 20px;
        margin-top: 2rem;
    }

    .a5-vertical {
        height: 40px;
        margin: 2rem 0;
    }
    
    .a5-notice li {
        color: #fff;
        font-size: 15px;
    }

    
    .article5 .form-wrapper {
        width: 100%;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: none;
        background-color: transparent;
        box-shadow: none;
        margin-top: 0;
    }

    .article5 .form-wrapper .a5Form {
        width: 500px;
        padding: 40px;
        border-radius: 7px;
        background-color: #fff;
        box-shadow: 0 0 35px rgba(0, 0, 0, .07);
    }
}


@media (max-width: 650px) {
    .a5Form .form-wrapper {
        width: 100%;
    }
}


@media (max-width: 550px) {
    .a5-left h1 {
        font-size: 45px;
    }

    .a5-left p {
        font-size: 16px;
    }

    .a5-notice li {
        font-size: 13px;
    }
    
    
    .article5 .form-wrapper .a5Form {
        width: 100%;
    }

    .a5Form .input-wrapper .input-title h1 {
        font-size: 13px;
    }
    
    .a5Form .inputbox3,
    .a5Form .selectbox3 {
        height: 43px;
        font-size: 13px;
    }

    .a5Form .f-personal3 {
        padding: 15px;
    }
    
    .a5Form .f-personal-text3 label p {
        font-size: 12px;
        letter-spacing: -0.02em;
    }

    .a5Form .f-personalBtn3 {
        font-size: 10px;
    }

    .a5Form .f-submit3 {
        height: 45px;
        font-size: 14px;
    }
}


@media (max-width: 450px) {
    .a5-notice {
        padding-left: 13px;
    }
    
    .article5 .form-wrapper .a5Form {
        padding: 30px;
    }
}