/* subtitle.css ─ セクション大見出し＋サブ見出し＋背景画像対応 */

.section-subtitle-hero {
    position: relative;
    width: 100%;
    max-width: 100vw;
    height: 240px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    margin-top: 100px;
    margin-bottom: 100px;
}

.section-subtitle-hero img {
    width: 80%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin-left: auto;
}

.section-subtitle-caption {
    position: absolute;
    top: 44px;
    left: 12vw;
    background: #fff;
    padding: 30px 60px 24px 36px;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-subtitle-caption .en-title {
    font-size: 36px;
    font-family: 'Futura', 'Noto Sans JP', sans-serif;
    font-weight: 500;
    letter-spacing: 0.13em;
    margin-bottom: 0;
}

.section-subtitle-caption .jp-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

@media (max-width: 900px) {
    .section-subtitle-hero {
        height: 160px;
    }
    .section-subtitle-caption {
        padding: 14px 18vw 12px 6vw;
        top: 18px;
        left: 4vw;
    }
    .section-subtitle-caption .en-title {
        font-size: 2rem;
    }
    .section-subtitle-caption .jp-title {
        font-size: 1rem;
    }
}
