/* Hero Section Styles */

/* ヒーローコンテナ */
.hero-inner {
    background-color: #ffffff;
    margin: auto;
    position: relative;
    overflow: hidden;
    padding: 64px 100px;
    max-width: 1920px;
}

/* ヒーロー本文エリア */
.hero-body {
    position: relative;
    z-index: 1;
    width: 55%;
}

/* テキスト要素のスタイル */
.hero-title {
    font-size: clamp(28px, 5vw, 72px);
    margin-bottom: 24px;
    line-height: 1.3;
    color: #142238;
    font-family: "Noto Sans JP";
}

.hero-title-accent-number {
    color: #142238;
    font-family: Montserrat;
    font-size: clamp(28px, 5vw, 72px);
    line-height: 1.3;
}

.hero-title-accent-color {
    color: #EBC000;
}

.hero-subtitle {
    color: #142238;
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(14px, 1.7vw, 24px);
    font-weight: 600;
    line-height: 125%;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.hero-subtitle-accent {
    font-family: Montserrat, sans-serif;
}

/* バッジと画像 */
.hero-badges-img {
    width: 450px;
    flex-shrink: 0;
}

.hero-image {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 大画面用スタイル (1440px以上) */
@media (max-width: 1440px) {
    .hero-inner {
        min-height: 730px;
    }

    .hero-image {
        justify-content: center;
    }

    .top-image {
        height: 100%;
        width: auto;
        object-fit: contain;
        max-height: 730px;
    }
}

/* 超大画面用スタイル (1750px以上) */
@media (min-width: 1750px) {
    .hero-inner {
        padding: 80px 250px;
    }
}

/* ブラウザ幅1230px～1440pxのスタイル */
@media (min-width: 1230px) and (max-width: 1440px) {
    .hero-inner {
        min-height: 730px;
    }

    .top-image {
        height: 100%;
        width: auto;
        object-fit: contain;
        max-height: 730px;
        object-position: right center;
    }
}

/* ブラウザ幅1080px～1229pxのスタイル */
@media (min-width: 1080px) and (max-width: 1229px) {
    .hero-badges-img {
        width: 380px;
    }

    .hero-inner {
        min-height: 730px;
    }

    .hero-image {
        overflow: hidden;
    }

    .top-image {
        height: 100%;
        width: auto;
        object-fit: contain;
        max-height: 730px;
        object-position: calc(100% + 80px) center;
    }
}

/* タブレット用スタイル (768px～1079px) */
@media (max-width: 1079px) {
    .hero-inner {
        display: flex;
        flex-direction: column;
        text-align: center;
        min-height: auto;
        background-image: url('../images/hero/top-bg-lg.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero-body {
        width: 100%;
        margin-bottom: 24px;
    }

    .hero-image {
        position: static;
        width: 100%;
        height: auto;
        margin-top: 24px;
        order: 1;
    }

    .top-image {
        max-width: 100%;
    }
}

/* モバイル用スタイル (767px以下) */
@media (max-width: 767px) {
    .hero-inner {
        padding: 24px 16px;
    }

    .hero-body {
        margin-top: 45px;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: clamp(14px, 4vw, 18px);
        margin-bottom: 16px;
    }

    .hero-badges-img {
        width: 100%;
        max-width: 320px;
    }
}

/* 小型モバイル用スタイル (575px以下) */
@media (max-width: 575px) {
    .top-image {
        max-width: 100%;
    }

    .hero-inner {
        background-image: url('../images/hero/top-bg-m.png');
    }
}

/* 超小型モバイル用スタイル (480px以下) */
@media (max-width: 480px) {
    .hero-inner {
        background-image: url('../images/hero/top-bg-s.png');
        min-height: 610px;
    }

    .top-image {
        height: 100%;
        width: auto;
        object-fit: contain;
        max-height: 610px;
    }

    .hero-badges-img {
        max-width: 250px;
    }
}