@charset "UTF-8";

.contact-hero {
    position: relative;
    height: 50vh;
    min-height: 700px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.58)),
        url('../images/contact/hero_bg.png') center / cover no-repeat;
}

.contact-hero__content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    max-width: 860px;
}

.contact-eyebrow,
.contact-section-label {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.contact-eyebrow {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
}

.contact-hero__title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.35;
    margin-bottom: 24px;
}

.contact-hero__lead {
    font-size: 0.95rem;
    line-height: 2;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
}

.contact-methods,
.contact-form-section {
    padding: 90px 0;
}

.contact-info {
    padding: 0 0 90px;
}

.contact-section-label {
    color: #888;
    margin-bottom: 16px;
}

.contact-section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #333;
    margin-bottom: 18px;
}

.contact-section-lead {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 48px;
}

.contact-method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-method {
    position: relative;
    display: block;
    padding: 36px 28px 32px;
    background: #f7f7f7;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease;
}

a.contact-method:hover {
    transform: translateY(-4px);
    background: #f0f0f0;
}
div.contact-method {
    cursor: default;
}

.contact-method__tag {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    background: #06c755;
    color: #fff;
    padding: 4px 10px;
}

.contact-method__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #fff;
    color: #333;
}

.contact-method--line .contact-method__icon {
    background: #06c755;
    color: #fff;
}

.contact-method__title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    color: #333;
}

.contact-method__text {
    font-size: 0.88rem;
    line-height: 1.85;
    color: #666;
    margin-bottom: 28px;
    min-height: 5.5em;
}

.contact-method__cta {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: #333;
    border-bottom: 1px solid #333;
    padding-bottom: 4px;
}

.contact-method--line .contact-method__cta {
    color: #06c755;
    border-bottom-color: #06c755;
}

.contact-info__card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 0;
    background: #333;
    color: #fff;
    overflow: hidden;
}

.contact-info__body {
    padding: 48px 40px;
}

.contact-info__body .contact-section-label {
    color: rgba(255, 255, 255, 0.55);
}

.contact-info__title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    margin: 12px 0 24px;
}

.contact-info__text {
    font-size: 0.95rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.85);
}

.contact-info__map {
    min-height: 280px;
}

.contact-info__map iframe {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: block;
}

.contact-form-section {
    background: #f7f7f7;
}

.form_wrap {
    max-width: 100%;
    width: 940px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    padding: 20px 30px 40px;
}

.form_table {
    width: 100%;
    border-top: 1px solid #e5e5e5;
}

.form_table th,
.form_table td {
    padding: 28px 24px;
    border-bottom: 1px solid #e5e5e5;
}

.form_table th {
    background-color: #fafafa;
    width: 260px;
    font-size: 0.95rem;
    font-weight: normal;
    letter-spacing: 0.04em;
    vertical-align: middle;
    position: relative;
    color: #333;
}

.form_table th .required {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 22px;
    background-color: #9b0a0a;
    font-size: 0.75rem;
    font-weight: bold;
    color: #FFFFFF;
    letter-spacing: 0.02em;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translate3d(0, -50%, 0);
}

.form_wrap input[type="text"],
.form_wrap input[type="tel"],
.form_wrap input[type="email"],
.form_wrap textarea {
    width: 100%;
    max-width: 480px;
    border: 1px solid #d0d0d0;
    border-radius: 2px;
    padding: 12px 14px;
    font-size: 0.95rem;
    font-family: inherit;
    letter-spacing: 0.04em;
}

.form_wrap textarea {
    max-width: 100%;
    height: 160px;
    resize: vertical;
}

.form_wrap input:focus,
.form_wrap textarea:focus {
    outline: none;
    border-color: #333;
}

.radio_field {
    display: block;
    font-size: 0.9rem;
    padding: 4px 0;
    color: #333;
}

.radio_field input[type="radio"] {
    margin-right: 8px;
}

.contact-privacy {
    margin: 28px 0 8px;
    font-size: 0.82rem;
    line-height: 1.8;
    color: #777;
    text-align: center;
}

.contact-privacy a {
    color: #333;
    text-decoration: underline;
}

.btn_wrap {
    text-align: center;
    margin-top: 28px;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    height: 54px;
    padding: 0 36px;
    border: none;
    background: #333;
    color: #fff;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.25s ease;
}

.contact-submit:hover {
    background: #111;
}

.contact-confirm-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.contact-confirm-actions .inline {
    display: block;
    margin: 0;
    flex: 0 0 auto;
}

.contact-confirm-actions .contact-submit {
    min-width: 200px;
    width: auto;
}

.contact-submit--secondary {
    background: #fff;
    color: #333;
    border: 1px solid #333;
}

.contact-submit--secondary:hover {
    background: #333;
    color: #fff;
}

.form_wrap .form_table td {
    font-size: 0.95rem;
    line-height: 1.8;
    word-break: break-word;
    white-space: pre-wrap;
}

.contact-finish {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.contact-finish__text {
    font-size: 0.95rem;
    line-height: 2;
    letter-spacing: 0.04em;
    color: #333;
    margin: 0 0 24px;
}

.contact-finish__note {
    font-size: 0.88rem;
    line-height: 1.9;
    letter-spacing: 0.04em;
    color: #666;
    margin: 0 0 8px;
}

.contact-finish__note a {
    color: #333;
    text-decoration: underline;
}

.contact-finish .contact-confirm-actions a.contact-submit {
    text-decoration: none;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .contact-confirm-actions {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .contact-confirm-actions .contact-submit {
        min-width: 0;
        width: auto;
        padding: 0 18px;
        font-size: 0.85rem;
        letter-spacing: 0.06em;
    }

    .contact-hero {
        min-height: 480px;
        height: 48vh;
    }

    .contact-methods,
    .contact-form-section {
        padding: 60px 0;
    }

    .contact-info {
        padding-bottom: 60px;
    }

    .contact-method-grid,
    .contact-info__card {
        grid-template-columns: 1fr;
    }

    .contact-method__text {
        min-height: 0;
    }

    .contact-info__body {
        padding: 36px 28px;
    }

    .form_wrap {
        padding: 10px 0 20px;
        background: transparent;
    }

    .form_table,
    .form_table tbody,
    .form_table tr,
    .form_table th,
    .form_table td {
        display: block;
        width: auto;
    }

    .form_table th {
        border: none;
        background: transparent;
        padding: 18px 0 8px;
    }

    .form_table th .required {
        position: static;
        transform: none;
        margin-left: 10px;
        vertical-align: middle;
    }

    .form_table td {
        padding: 0 0 12px;
        border-bottom: none;
    }

    .form_wrap input[type="text"],
    .form_wrap input[type="tel"],
    .form_wrap input[type="email"],
    .form_wrap textarea {
        max-width: 100%;
    }
}
