/**
 * Consultation Form Hero Section Block Frontend Styles
 */

.will-consultation-form-hero-section {
    position: relative;
    height: 315px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.will-consultation-form-hero-section .absolute.inset-0 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.will-consultation-form-hero-section h1 {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: 3.75rem; /* text-6xl = 60px */
    font-weight: 400;
    line-height: 60px;
    color: white;
    margin: 0 0 24px 0;
    letter-spacing: 0.2637px;
    white-space: nowrap;
}

.will-consultation-form-hero-section p {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: 16px; /* text-base = 16px */
    font-weight: 400;
    line-height: 28px;
    color: #e5e7eb;
    margin: 0;
    letter-spacing: 0.0703px;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .will-consultation-form-hero-section h1 {
        font-size: 3.75rem; /* text-6xl = 60px */
        line-height: 60px;
        white-space: normal;
    }

    .will-consultation-form-hero-section p {
        font-size: 16px; /* text-base = 16px */
        line-height: 28px;
    }

    .will-consultation-form-hero-section .relative.z-10 {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 768px) {
    .will-consultation-form-hero-section {
        height: auto;
        min-height: 315px;
        padding: 48px 16px;
    }

    .will-consultation-form-hero-section h1 {
        font-size: 3.75rem; /* text-6xl = 60px */
        line-height: 60px;
        margin-bottom: 16px;
    }

    .will-consultation-form-hero-section p {
        font-size: 16px;
        line-height: 28px;
    }

    .will-consultation-form-hero-section .relative.z-10 {
        padding: 0;
    }
}

