@charset "UTF-8";

.contact-page-container {
    width: 100%;
    padding: clamp(60px, 8.33vw, 120px) 0;
    background-color: #f8f8f8;
}

/* Header Area (Max width 1245px) */
.contact-header {
    width: 100%;
    margin-bottom: clamp(40px, 5.56vw, 80px);
}

.contact-header-inner {
    max-width: 1245px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.contact-title-en {
    font-size: clamp(40px, 5.83vw, 55px);
    font-weight: 500;
    color: #003a8c;
    line-height: 1;
}

.contact-title-jp {
    font-size: 20px;
    color: #333;
}

/* Content Area (Max width 1025px) */
.contact-content {
    width: 100%;
}

.contact-content-inner {
    max-width: 1025px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-lead {
    font-size: clamp(14px, 1.25vw, 18px);
    line-height: 2;
    margin-bottom: 60px;
    color: #333;
}

/* Form Area (Max width 727px) */
.contact-form {
    max-width: 727px;
    margin: 0 auto 80px auto;
}

.contact-form-item {
    margin-bottom: 30px;
}

.contact-label {
    display: block;
    font-size: clamp(14px, 1.11vw, 16px);
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.contact-required {
    display: inline-block;
    background-color: #fff;
    border: 1px solid #ff0000;
    color: #ff0000;
    font-size: 10px;
    padding: 2px 6px;
    margin-left: 10px;
    vertical-align: middle;
    border-radius: 2px;
}

.contact-input-wrap {
    width: 100%;
}

.contact-input {
    width: 100%;
    height: 50px;
    border: 1px solid #ccc;
    padding: 0 15px;
    font-size: 16px;
    border-radius: 4px;
}

.contact-textarea {
    width: 100%;
    height: 200px;
    border: 1px solid #ccc;
    padding: 15px;
    font-size: 16px;
    border-radius: 4px;
    resize: vertical;
}

.contact-note {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.contact-submit-wrap {
    text-align: center;
    margin-top: 60px;
}

.contact-submit {
    display: inline-block;
    width: 100%;
    max-width: 480px;
    height: 60px;
    background-color: #003a8c;
    color: #fff;
    border: none;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 30px;
    transition: opacity 0.3s;
}

.contact-submit:hover {
    opacity: 0.8;
}

/* Policy Note */
.contact-policy-note {
    margin-top: 60px;
}

.contact-policy-text {
    font-size: clamp(14px, 1.11vw, 16px);
    line-height: 1.8;
    color: #333;
}

.contact-policy-link {
    color: #00a0a9;
    text-decoration: underline;
}

/* Responsive SP */
@media screen and (max-width: 767px) {
    .contact-page-container {
        padding: 40px 0 80px;
    }

    .contact-header-inner {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }

    .contact-title-en {
        font-size: 40px;
    }

    .contact-title-jp {
        font-size: 16px;
    }

    .contact-lead {
        margin-bottom: 40px;
    }

    .contact-form {
        max-width: 100%;
    }

    .contact-submit {
        height: 50px;
        font-size: 16px;
    }
}
