@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500;700&family=Noto+Serif+JP:wght@700&&family=Oswald:wght@400&display=swap");

.contact-form {
    border-radius: 20px;
    border: 2px solid #029A61;
    background: #FFF;
    padding: 20px 20px 10px;
    margin: 30px auto;
}

.contact-form .form-main {
    display: none;
}


.contact-form .form-main.active {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    margin-top: 20px;
    align-items: center;
}

@media (min-width: 601px) {
    .contact-form {
        padding: 25px;
        margin: 60px auto;
        width: 920px;
        margin-top: 25px;
    }
}

@media (max-width: 600px) {
    ul.sp-nav {
        list-style: none;
        display: flex;
        background-color: #e1e7e5;
        border-radius: 50px;
        margin: 0;
        margin-bottom: 30px;
    }

    ul.sp-nav li {
        padding: 0 20px;
        color: #89c3b0;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
        background-color: #00a86b;
        color: white;
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        letter-spacing: 0.2rem;
    }

    ul.sp-nav li span {
        font-size: 10px;
        font-weight: 700;
        margin-top: 5px;
    }

    .nav {
        display: none;
    }
}

@media (min-width: 601px) {
    ul.nav {
        list-style: none;
        display: flex;
        background-color: #e1e7e5;
        border-radius: 50px;
        margin: 0;
    }

    ul.nav li {
        padding: 5px 51px;
        font-weight: bold;
        transition: all 0.3s ease;
    }

    ul.nav li span {
        color: #89c3b0;
    }

    ul.nav li.completed {
        background-color: #00a86b;
        color: rgba(255, 255, 255, 0.5);
    }

    ul.nav li.first {
        border-top-left-radius: 50px;
        border-bottom-left-radius: 50px;
    }

    ul.nav li.last {
        border-top-right-radius: 50px;
        border-bottom-right-radius: 50px;
    }

    ul.nav li.active {
        background-color: #00a86b;
        border-top-right-radius: 50px;
        border-bottom-right-radius: 50px;
    }


    ul.nav li.active span {
        color: white;
    }

    .sp-nav {
        display: none;
    }
}


.form-main>h3 {
    color: #029A61;
    font-weight: 800;
    font-size: 18px;
    line-height: 130%;
}

@media (min-width: 601px) {
    .form-main>h3 {
        padding: 30px 0 20px 0;
        font-size: 30px;
    }

    .form-main br {
        display: none;
    }
}

.form-radio {
    display: flex;
    position: relative;
    border-radius: 50px;
    border: 4px solid #029A61;
    box-shadow: 0 6px 0 #006b47;
    width: 100%;
    height: 50px;
    align-items: center;
}

@media (min-width: 601px) {
    .form-radio {
        width: 60%;
        height: 64px;
    }
}

@media (max-width: 600px) {
    .form-radio_2lines {
        line-height: 18px;
    }
}

.form-radio input[type="radio"] {
    display: none;
}

.form-radio label {
    display: block;
    width: 100%;
    border-radius: 50px;
    background-color: white;
    padding: 5px 0;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
}


@media (min-width: 601px) {
    .form-radio label {
        font-size: 18px;
        padding: 5px 30px;
    }
}

.form-radio input[type="radio"]:checked+label {
    background-color: #008c5e;
    color: white;
    padding: 11px 0;
}

@media (max-width:601px) {
    .form-radio input[type="radio"]:checked+label {
        padding: 8px 0;
    }
}

@media (min-width: 601px) {
    .contact_text::after {
        width: 100px;
    }
}

.contact_text::after {
    content: "";
    display: block;
    background: #029A61;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 94px;
    height: 2px;
    margin: auto;
}

.contact_text {
    position: relative;
    color: #029A61;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    padding-bottom: 22px;
    margin-bottom: 30px;
    font-size: 20px;
    padding-top: 50px;
}

@media (min-width: 601px) {
    .contact_text {
        font-size: 1.25rem;
        padding-bottom: 35px;
        margin-bottom: 40px;
        padding-top: 0;
    }
}

.form-text label {
    font-weight: 700;
    font-size: 16px;
    color: #171717;
    margin-right: 10px;
}

@media(max-width:601px) {
    .form-text label {
        margin: 0px 0 5px 10px;
        font-size: 13px;
    }
}

@media(min-width:601px) {
    .form-text input {
        width: 280px;
        margin-right: 0;
    }
}

.form-text input {
    width: 300px;
    max-width: 100%;
    border: 2px solid #D9D9D9;
    color: #171717;
    margin-right: 10px;
    font-weight: 400;
    font-size: 16px;
    padding: 13px 15px;
    border-radius: 8px;
}

@media(max-width:601px) {
    .form-text input {
        font-size: 14px;
    }
}

@media(max-width:600px) {
    .form-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}

.form-footer-text {
    color: #029A61;
    font-weight: 800;
    font-size: 12px;
    margin-top: 10px;
}

@media (min-width: 601px) {
    .form-footer-text {
        padding-top: 10px;
        font-weight: 800;
        font-size: 20px;
    }
}


.back {
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    color: #029A61;
    cursor: pointer;
    margin-bottom: -18px;
}

@media(max-width:601px) {
    .back {
        margin-bottom: auto;
    }
}

.back::before {
    content: url(../img/bxs_up-arrow.svg);
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

.form-next {
    display: inline-block;
    position: relative;
    border-radius: 50px;
    background-color: #029A61;
    border: 4px solid #029A61;
    box-shadow: 0 6px 0 #006b47;
    width: 54%;
    height: 64px;
    margin: 80px 0 30px 0;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
}

@media (max-width: 600px) {
    .form-next {
        width: 80%;
        height: 50px;
        border-radius: 35px;
        margin: auto;
        margin-top: 70px;
    }
}

.form-radio-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 600px;
    justify-items: start;
}


@media (max-width: 601px) {

    .form-radio-group {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
}


.form-radio-group>.form-radio {
    width: 100%;
}

.form-radio-group>.form-radio:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 50%;
}

@media (max-width: 601px) {

    .form-radio-group>.form-radio:last-child:nth-child(odd) {
        width: 100%;
    }
}


@media (max-width: 601px) {
    .contact__merit {
        width: auto;
        margin: 0 0;
    }
}

.error-message {
    display: block;
    color: #e53935;
    font-size: 0.9em;
    margin-top: 4px;
    line-height: 1.4;
    flex-basis: 100%;
    width: 100%;
}

.input-error {
    border: 1px solid #d9534f !important;
    background-color: #fff0f0;
    margin-bottom: 0 !important;
}

.tel {
    width: 200px !important;
    margin-bottom: 20px;
}

@media(max-width:601px) {
    .tel {
        width: 300px !important;
        margin-bottom: auto;
    }
}

.email {
    width: 360px !important;
}

@media(max-width:601px) {
    .email {
        width: 300px !important;
    }
}

.form-content_inner {
    text-align: left;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.form-form-content_inner:nth-child(1) {
    gap: 32px;
}

@media (max-width: 600px) {
    .form-content_inner {
        max-width: 90%;
        gap: 25px;
    }
}

.name {
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .name {
        margin-bottom: auto;
    }
}

.address-item,
.address-consider-item {
    display: contents;
}

.address-item p,
.address-consider-item p {
    color: #029A61;
    margin-right: 17px;
}

@media(max-width:601px) {

    .address-item p,
    .address-consider-item p {
        font-size: 13px;
        font-weight: 600;
    }
}

.address-consider-item span {
    font-size: 14px;
    color: #C14747;
    margin-top: -11px;
}

@media(max-width:601px) {
    .address-consider-item span {
        margin-bottom: 16px;
    }
}

@media(max-width:601px) {
    .address-consider-item label {
        margin: 7px 0 -10px 0;
    }
}

.address {
    width: 470px;
    max-width: 100%;
    margin-top: 5px;
    margin-bottom: 30px;
    border: 2px solid #D9D9D9;
    color: #171717;
    margin-right: 10px;
    font-weight: 400;
    font-size: 16px;
    padding: 15px;
    border-radius: 8px;
    height: 51px;
}

@media (max-width: 600px) {
    .address {
        margin-top: -15px;
        height: 70px;
        font-size: 14px;
    }
}


.address-checkbox {
    width: 30px !important;
    height: 25px !important;
}

.custom-checkbox:nth-child(3)::after {
    content: "※必須";
    color: #C14747;
    margin-left: 5px;
}

@media(max-width:601px) {
    .custom-checkbox:nth-child(3)::after {
        display: flex;
        margin-left: -25px;
        margin-top: 7px;
        margin-bottom: -8px;
    }
}

.prefectures:nth-child(1) {
    width: 60px !important;
}

.prefectures {
    width: 80px !important;
    margin: 0 10px;
}

.prefectures:nth-child(2) {
    margin-right: 25px;
}

.consider-item {
    display: block;
}

@media (min-width: 600px) {
    .consider-item {
        display: flex;
    }
}


.auto-address {
    border-radius: 50px;
    background-color: #029A61;
    border: 4px solid #029A61;
    box-shadow: 0 6px 0 #006b47;
    width: 40%;
    height: 50px;
    color: #ffffff;
    font-size: 12px;
}

.base-adress {
    align-items: center;
    margin-bottom: 14px;
}

@media(max-width:601px) {
    .base-adress {
        margin-bottom: auto;
        margin-top: -17px;
    }

    .base-adress button {
        margin: 13px 0 0 20px;
        width: 163px;
        height: 40px;
    }
}

.address-next {
    margin-top: 0;
}

.form-main select {
    border: 2px solid #029A61;
    width: 214px;
    margin-right: 25px;
    border-radius: 2px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('../img/vector.svg');
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 1em;
    font-weight: 400;
    font-size: 16px;
    padding: 15px;
    border-radius: 8px;
    color: rgba(26, 26, 26, 0.3);
}

@media (max-width:601px) {
    .form-main select {
        width: 180px;
        font-size: 14px;
        padding: 12px;
    }
}

select:valid {
    color: #1a1a1a;
}

.privacy_box {
    border: 1px solid #8a8a8a;
    padding: 15px;
    background: #f4f4f4;
    width: 100%;
    height: 200px;
    overflow: scroll;
    text-align: left;
}

.u-box1.is-green {
    border: 1px solid #add863;
}

.u-box1 br {
    display: block;
}

.u-box1 {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    line-height: 1.5;
}

.u-ttl2 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: bold;
    border-bottom: 3px solid #add863;
}

.table-bordered {
    border: 1px solid #dee2e6;
    width: 100%;
    margin: 2px 0 15px;
}

.table-bordered td {
    border: 1px solid #dee2e6;
}

.line-btn {
    display: inline-block;
    position: relative;
    border-radius: 50px;
    background-color: #06C755;
    border: 4px solid #06C755;
    box-shadow: 0 6px 0 #1C9E51;
    width: 54%;
    height: 64px;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    align-items: center;
    display: flex;
    justify-content: center;
    font-weight: 500;
}

@media(max-width:601px) {
    .line-btn {
        width: 285px;
        height: 50px;
        margin-top: -10px;
        font-size: 16px;
    }
}


.line-btn::before {
    content: "";
    background-image: url(../img/LINE_icon.svg);
    width: 55px;
    height: 55px;
    background-repeat: no-repeat;
    background-size: contain;
}

@media(max-width:601px) {
    .line-btn::before {
        width: 35px;
        height: 35px;
    }
}

.line-btn:hover {
    color: #fff;
}

.back-top {
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    color: #029A61;
    cursor: pointer;
    justify-content: center;
    font-size: 18px;
    margin: 20px 0;
}

@media(max-width:601px) {
    .back-top {
        margin: auto;
        font-size: 14px;
    }
}

.back-top::before {
    content: url(../img/bxs_up-arrow.svg);
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

.form-end {
    margin-bottom: 100px;
}

@media(max-width:601px) {
    .form-end {
        margin-bottom: 10px;
    }
}

.form-main__check-icon {
    width: 110px;
    height: 110px;
}

.custom-checkbox input[type="checkbox"] {
    display: none;
}

.custom-checkbox {
    display: block;
    position: relative;
    padding-left: 34px;
    font-size: 16px;
    line-height: 1.6;
    max-width: 100%;
    color: #B3B3B3 !important;
}

@media(max-width:601px) {
    .custom-checkbox {
        font-size: 14px;
    }
}

@media(max-width:601px) {
    .custom-checkbox:nth-child(3) {
        margin: 0;
    }
}

.custom-checkbox::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 24px;
    height: 24px;
    background-image: url('../img/not_checked_icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateY(-50%);
}

@media(max-width:601px) {
    .custom-checkbox:nth-child(3)::before {
        top: 26%;
    }
}

.custom-checkbox:has(input[type="checkbox"]:checked)::before {
    background-image: url("../img/checked_icon.svg");
}

.custom-checkbox:has(input[type="checkbox"]:checked) {
    color: inherit !important;
}

.required_popup__item .arrow-icon {
    position: absolute;
    right: 5px;
    width: 23px;
    height: 23px;
    background-image: url(../img/required_popup_vector.svg);
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
}

@media(max-width:601px) {
    .send-mes {
        font-size: 14px;
    }

    .mt-23px {
        margin-top: 23px;
    }
}

textarea::placeholder {
    color: rgba(26, 26, 26, 0.3);
}