/* Contact Page Styles */


/* PC */

@media (min-width: 1025px) {
    body.page-contact {
        /* PC styles here */
    }
}


/* Tablet */

@media (min-width: 768px) and (max-width: 1024px) {
    body.page-contact {
        /* Tablet styles here */
    }
}


/* Smartphone */

@media (max-width: 960px) {
    .contact-container {
        padding: 40px 16px;
    }
    .contact-form {
        padding: 24px;
    }
    .contact-form__title {
        font-size: 1.8rem;
    }
    .contact-form__field {
        margin-bottom: 20px;
    }
    .contact-form__label {
        font-size: 1rem;
    }
    .contact-form__input,
    .contact-form__textarea {
        font-size: 1rem;
        padding: 12px;
    }
    .contact-form__submit {
        width: 100%;
        padding: 16px;
        font-size: 1.1rem;
    }
}

.wpcf7-form {
    width: 75%;
    /* max-width: 700px; */
    margin: 2rem auto;
}

.wpcf7-form p {
    margin-bottom: 1.5rem;
}

.wpcf7-form label {
    font-size: clamp(18px, 1.4vw, 32px);
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.wpcf7-form .required {
    color: #e44;
    font-size: 0.9em;
    font-weight: normal;
    margin-left: 0.5em;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: clamp(15px, 1.17vw, 28px) clamp(16px, 1.25vw, 32px);
    border: 2px solid #1a2a3a;
    border-radius: 4px;
    font-size: clamp(16px, 1.25vw, 32px);
    box-sizing: border-box;
    font-weight: 600;
}

.wpcf7-form textarea {
    height: 150px;
    resize: vertical;
}


/* Checkbox Styles */

.inquiry-type-group {
    margin-bottom: 2rem;
}

.inquiry-type-group .inquiry-type-label {
    font-size: clamp(18px, 1.4vw, 32px);
    font-weight: bold;
    display: block;
    margin-bottom: 0.75rem;
    color: #333;
}

.wpcf7-form .wpcf7-list-item {
    display: block;
    margin: 0;
    border: 2px solid #1a2a3a;
    border-bottom: none;
}

.wpcf7-form .wpcf7-list-item:last-child {
    border-bottom: 2px solid #1a2a3a;
}

.wpcf7-form .wpcf7-list-item label {
    font-size: clamp(16px, 1.25vw, 32px);
    display: block;
    padding: 0.8rem 1rem;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
    transition: background-color 0.2s;
    font-weight: 600;
}

.wpcf7-form .wpcf7-list-item label:hover {
    background-color: #f9f9f9;
}

.wpcf7-form .wpcf7-list-item input[type="checkbox"] {
    margin-right: 0.75em;
    vertical-align: middle;
}

.wpcf7-form .submit-button-container {
    text-align: center;
    margin-top: 2rem;
}

.wpcf7-form input[type="submit"] {
    background-color: #1a73e8;
    color: white;
    border: none;
    padding: 0.8rem 4rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #1662c8;
}

@media (max-width: 480px) {
    .wpcf7-form {
        /* width: 75%; */
        /* max-width: 700px; */
        margin: 0;
        padding: 16px 16px 16px 50px;
        margin-bottom: 150px;
    }
    .wpcf7-form .submit-button-container {
        text-align: center;
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
    }
}