/* Contact Page */
.contact-page {
    padding: 60px 0 80px;
    background: #ffffff;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 80px;
    align-items: flex-start;
}

/* Left column (intro) */
.contact-intro {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-title {
    font-family: "Noto Sans JP";
    font-size: 64px;
    font-weight: 700;
    line-height: 1.5;
    color: #1c1c1c;
    margin: 0 0 8px 0;
}

.contact-intro-heading {
    font-family: "Noto Sans JP";
    font-size: 24px;
    font-weight: 500;
    color: #14722a;
    margin: 0 0 4px 0;
}

.contact-intro-text,
.contact-intro-note {
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-weight: 400;
    line-height: 1.8;
    color: #1c1c1c;
    margin: 0;
}

.contact-intro-link {
    color: #2681C4;
    text-decoration: underline;
}

.contact-intro-link:hover {
    color: #1e6ba3;
}

.contact-intro-note {
    color: #777777;
}

/* Right column (form) */
.contact-form-wrapper {
    background: #ffffff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.contact-label {
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-weight: 500;
    color: #1c1c1c;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid #d0d7de;
    font-family: "Noto Sans JP";
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #1c1c1c;
    box-sizing: border-box;
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    border-color: #2681C4;
    box-shadow: 0 0 0 1px rgba(38, 129, 196, 0.2);
}

.contact-textarea {
    resize: vertical;
    min-height: 200px;
}

/* Radio group */
.contact-radio-group {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 8px;
}

.contact-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Noto Sans JP";
    font-size: 14px;
    color: #1c1c1c;
}

.contact-radio input[type="radio"] {
    width: 16px;
    height: 16px;
}

/* Privacy */
.contact-privacy {
    margin-top: 8px;
}

.contact-privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-weight: 500;
    color: #1c1c1c;
}

.contact-privacy-label input[type="checkbox"] {
    margin-top: 3px;
}

.contact-privacy-link {
    text-decoration: none;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-weight: 500;
    color: #058078;
}

.contact-privacy-link:hover {
    color: #1e6ba3;
}

/* Submit button */
.contact-actions {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
}

.contact-submit-btn {
    min-width: 140px;
    padding: 10px 32px;
    border-radius: 4px;
    border: none;
    background: #2681C4;
    color: #ffffff;
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit-btn:hover {
    background: #1e6ba3;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.error-message {
    margin-bottom: 16px;
    display: flex;
    justify-content: left;
    align-items: self-start;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 8px 16px;
    color: #721c24;
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-weight: 500;
}
.location-more-text{
    color: #ffffff;
}
/* Responsive */
@media (max-width: 1024px) {
    .contact-container {
        padding: 0 32px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding: 0px 0 60px;
    }

    .contact-container {
        padding: 0 20px;
    }

    .contact-title {
        font-size: 40px;
    }
    .contact-actions{
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 40px;
    }

    .contact-intro-text,
    .contact-intro-note {
        font-size: 13px;
    }

    .contact-input,
    .contact-textarea {
        font-size: 13px;
    }

    .contact-radio-group {
        flex-direction: column;
        align-items: flex-start;
    }
}


