@charset "utf-8";

.sub {
    display: block;
    color: #32B5E5;
    font-size: 2rem;
    text-decoration: underline;
    margin-bottom: 1rem;
}

section h3 {
    color: #275f98;
    font-size: 4rem;
    font-family: 'title';
    margin-bottom: 5rem;
}

section h3 span {
    color: #32B5E5;
}

section .inner {
    width: 70%;
    padding: 10rem 0;
}

/* way */
.way {
    text-align: center;
}

.box {
    display: flex;
    justify-content: space-between;
}

.box .item {
    width: 31%;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    border-radius: 3.2rem;
    padding: 2rem;
    transition: background-color .5s;
    cursor: pointer;
}

.box .item:nth-child(1):hover {
    background-color: #275f981A;
}

.box .item:nth-child(2):hover {
    background-color: #DFBE001A;
}

.box .item:nth-child(3):hover {
    background-color: #C0392B1A;
}

.box .item b {
    font-size: 1.6rem;
    color: #fff;
    padding: 0.5rem 2rem;
    border-radius: 1.6rem;
    display: block;
    margin: 0 auto;
    width: fit-content;
}

.box .item:nth-child(1) b {
    background-color: #275f9899;
}

.box .item:nth-child(2) b {
    background-color: #DFBE0099;
}

.box .item:nth-child(3) b {
    background-color: #C0392B99;
}

.box .item h4 {
    font-size: 2.4rem;
    font-family: 'title';
    margin: 2rem 0;
}

.box .item p {
    line-height: 1.4;
    font-size: 1.6rem;
}

/* contact */
.contact .inner {
    display: flex;
    justify-content: space-between;
    padding-top: 0;
}

.contact_left {
    background: #ffffff;
    border: 0.1rem solid #e2e2e2;
    border-radius: 3rem;
    padding: 4rem;
    width: 65%;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);

}

.contact_left h4 {
    font-family: 'title';
    font-size: 2.4rem;
    color: #275F98;
    font-weight: bold;
    margin-bottom: 3.5rem;
    margin-top: 0;
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 2rem;
}

.form-row .list {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.form-row.full-width {
    margin-bottom: 2.5rem;
}

.form-row.full-width .list {
    width: 100%;
}

.contact_left label {
    font-size: 1.8rem;
    color: #000000;
    min-width: 7rem;
    white-space: nowrap;
}

.contact_left input[type="text"],
.contact_left input[type="tel"],
.contact_left select {
    width: 100%;
    height: 4.8rem;
    padding: 0 2rem;
    font-size: 1.6rem;
    border: 0.1rem solid #d9d9d9;
    border-radius: 5rem;
    color: #333;
    outline: none;
    box-sizing: border-box;
    background-color: #fff;
}

.contact_left select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 2rem center/1.5rem;
}

.contact_left input::placeholder,
.contact_left select:invalid {
    color: #aaa;
}

.form-textarea {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.form-textarea label {
    font-size: 1.8rem;
}

.form-textarea textarea {
    width: 100%;
    height: 16rem;
    padding: 2rem;
    font-size: 1.6rem;
    border: 0.1rem solid #d9d9d9;
    border-radius: 2rem;
    resize: none;
    outline: none;
    box-sizing: border-box;
}

.form-textarea textarea::placeholder {
    color: #888;
    line-height: 1.5;
}

.form-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.agree-box {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    max-width: 70%;
}

.agree-box input[type="checkbox"] {
    margin-top: 0.4rem;
    width: 1.6rem;
    height: 1.6rem;
    cursor: pointer;
}

#agree-label {
    font-size: 1.4rem;
    color: #333;
    line-height: 1.4;
    white-space: normal;
    font-weight: normal;
    cursor: pointer;
}

.submit-btn {
    background-color: #7AA0C2;
    color: #fff;
    border: none;
    padding: 1.2rem 3.5rem;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 5rem;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.submit-btn:hover {
    background-color: #6187a8;
}

.contact_right {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    font-family: sans-serif;
}

.contact_right .con {
    background-color: #ffffff;
    border: 0.1rem solid #e2e2e2;
    border-radius: 3rem;
    padding: 3rem;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.contact_right h4 {
    font-family: 'title';
    font-size: 2rem;
    color: #275F98;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 0.1rem solid #f0f0f0;
}

.contact_right .time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.contact_right .time p {
    margin: 0;
    font-size: 1.6rem;
    color: #333333;
    font-weight: 500;
}

.contact_right .time p:last-child {
    color: #000000;
}

.contact_right .online {
    margin-top: 2rem;
    background-color: #ececec;
    font-size: 1.4rem;
    text-align: center;
    padding: 1.2rem;
    border-radius: 20px;
}

.contact_right ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact_right ul li {
    font-size: 1.6rem;
    color: #444444;
    display: flex;
    align-items: center;
    line-height: 1.4;
}


@media screen and (max-width : 1024px) {
    .contact .inner {
        flex-direction: column;
    }

    .contact_left {
        width: 100%;
    }

    .contact_right {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        margin-top: 5rem;
    }

    .contact_right .con {
        width: 48%;
    }

    .contact_right .online {
        margin-top: 4rem;
    }
}

@media screen and (max-width : 689px) {
    section .inner {
        width: 80%;
    }

    .box {
        flex-direction: column;
        gap: 2rem;
    }

    .box .item {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
    }

    section h3 {
        word-break: keep-all;
    }
}

@media screen and (max-width : 425px) {
    .form-bottom {
        flex-direction: column;
    }

    .agree-box {
        max-width: 100%;
    }

    section .inner {
        width: 90%;
    }

    .contact_right {
        flex-wrap: wrap;
    }

    .contact_right .con {
        width: 100%;
    }
}