/* fv */
.fv {
    margin-top: 100px;
}

.fv_title {
    font-size: 120px;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    color: #333;
}

@media screen and (max-width: 1024px) {
    .fv_title {
        font-size: 80px;
    }
}

@media screen and (max-width: 768px) {
    .fv_title {
        font-size: 48px;
    }
}

.fv_subtitle {
    font-size: 14px;
    width: fit-content;
    line-height: 30px;
    height: 30px;
}

/* contact */
.contact {
    padding-bottom: 130px;
}

@media screen and (max-width: 768px) {
    .contact {
        padding-bottom: 70px;
    }
}

.contact_inner {
    max-width: 880px;
    margin: 0 auto;
}

.contact_text {
    margin-top: 80px;
    font-weight: 500;
    font-size: 18px;
}
.contact_text.error {
    color: red;
    line-height: 1.7rem;
}
.contact_text.success {
    color: green;
}

@media screen and (max-width: 768px) {
    .contact_text {
        font-size: 16px;
        margin-top: 50px;
    }
}

.contact_form_container {
    margin-top: 80px;
}

@media screen and (max-width: 768px) {
    .contact_form_container {
        margin-top: 50px;
    }
}

.contact_form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media screen and (max-width: 768px) {
    .contact_form {
        gap: 30px;
    }
}

.form_group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form_group label {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .form_group label {
        font-size: 14px;
    }
}

.required {
    color: #EB2A23;
    margin-left: 4px;
    font-weight: bold;
}

.supplement {
    display: inline-block;
    white-space: normal;
    margin-left: 4px;
    max-width: 100%;
}

.supplement-title {
    font-size: 14px;
    line-height: 160%;
    margin-left: 16px;
}

.form_group input[type="text"],
.form_group input[type="email"],
.form_group select,
.form_group textarea {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.form_group input[type="text"]:focus,
.form_group input[type="email"]:focus,
.form_group select:focus,
.form_group textarea:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.1);
}

.form_group textarea {
    resize: none;
    min-height: 250px;
    margin-top: 8px;
}

.checkbox_group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.checkbox_group-privacy {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    margin-top: 34px;
}

.checkbox_group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    border: 1px solid #DDD;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox_group-privacy input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    border: 1px solid #DDD;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

@media screen and (max-width: 768px) {
    .checkbox_group input[type="checkbox"],
    .checkbox_group-privacy input[type="checkbox"] {
        width: 30px;
        height: 30px;
        min-width: 30px;
        min-height: 30px;
    }
}

.checkbox_group input[type="checkbox"]:checked,
.checkbox_group-privacy input[type="checkbox"]:checked {
    background-color: #333;
}

.checkbox_group input[type="checkbox"]:checked::after,
.checkbox_group-privacy input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    color: #fff;
    font-size: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox_group label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

@media screen and (max-width: 900px) {
    .checkbox_group label {
        margin-top: 3px;
    }
}

.checkbox_item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.checkbox_item label {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px;
    line-height: 160%;
}

.contact_form_button {
    width: 200px;
    height: 50px;
    margin: 10px auto 0;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact_form_button:hover {
    background-color: #444;
    transform: translateY(-2px);
}