/* ヒーローセクション */
.hero-section {
    padding-top: 2.3vw;
    background: var(--white);
    color: var(--dark-color);
    text-align: center;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('../img/fv_bg1.webp') no-repeat right top,
        url('../img/fv_bg2.webp') no-repeat left bottom;
    background-size: auto 70%, auto 70%;
    opacity: 0.4 !important;
    z-index: 1;
    pointer-events: none;
}

.hero-section > * {
    position: relative;
    z-index: 2;
}
.hero-title-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 0.55vw auto;
    text-align: center;
}

.hero-title {
    text-align: center;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.hero-title-line1,
.hero-title-line2 {
    font-weight: 700;
    color: #5B5B5B;
    margin: 0;
    padding: 0;
    line-height: 1.3;
    display: block;
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.hero-title-line2-part1,
.hero-title-line2-part2 {
    display: inline;
}

.hero-title-sp-single {
    display: none;
    font-weight: 700;
    color: #5B5B5B;
    margin: 0;
    padding: 0;
    line-height: 1.3;
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.hero-title-line1 {
    font-size: 3.2vw;
}

.hero-title-line2 {
    font-size: 3.2vw;
}
.hero-subtitle {
    font-size: 1.875vw;
    font-weight: 700;
    color: #F47F2D;
    margin: 0.3vw 0 0 0;
    padding: 0;
    text-align: center;
    width: 100%;
}

.hero-subtitle-part1,
.hero-subtitle-part2,
.hero-subtitle-part3 {
    display: inline;
}

.hero-columns {
    display: flex;
    gap: 2vw;
    margin-top: 4vw;
    justify-content: center;
    max-width: 80vw;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.hero-column {
    border-radius: 0.75vw;
    padding: 0;
    background-color: var(--white);
    min-height: 15vw;
}

.hero-column-left {
    flex: 1.5;
}

.hero-column-right {
    flex: 1;
    background-color: #F47F2D;
    margin-right: -20vw;
    padding-right: 20vw;
    position: relative;
    box-shadow: 0 0 3vw rgba(244, 127, 45, 0.3);
}

.hero-column-right::before {
    content: '';
    position: absolute;
    top: -1vw;
    left: -1vw;
    right: -21vw;
    bottom: -1vw;
    background: #F47F2D;
    z-index: -1;
    border-radius: 1vw;
    opacity: 1;
}

.youtube-container {
    width: 85.5%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube-container iframe {
    height: 100%;
    width: calc(100% * 16 / 9);
    max-width: 100%;
    border: none;
}

.hero-column p {
    font-size: 1.2vw;
    color: var(--dark-color);
    margin: 0;
    text-align: center;
}

.hero-column-title {
    font-size: 1.8vw;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    padding: 0;
    text-align: center;
    line-height: 1.4;
}

.hero-highlight-box {
    background-color: #F47F2D;
    color: var(--white);
    padding: 0.6vw 1.2vw;
    border-radius: 0.6vw;
    display: inline-block;
    font-weight: 600;
    margin-right: 0.6vw;
}

.hero-images-row {
    display: flex;
    justify-content: space-between;
    gap: 0;
    margin-top: 1.2vw;
    width: 100%;
}

.hero-image-container {
    width: calc(33.33% - 0.2vw);
    position: relative;
}

.hero-reason-image {
    width: 100%;
    height: auto;
    max-width: none;
}

/* テキストオーバーレイ */
.hero-image-overlay {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    pointer-events: none;
}

.overlay-line1 {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.overlay-line2 {
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.overlay-line3 {
    position: absolute;
    bottom: 22%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}
.overlay-line4 {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.overlay-line5 {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.overlay-line6 {
    position: absolute;
    bottom: 22%;
    left: 49%;
    transform: translateX(-50%);
    white-space: nowrap;
}
.overlay-line7 {
    position: absolute;
    top: 22%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.overlay-line8 {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.overlay-line9 {
    position: absolute;
    bottom: 21%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

/* 左画像のテキストスタイル */
.overlay-left-line1 {
    font-size: 0.85vw;
    color: var(--dark-color);
    font-weight: 700;
}

.overlay-left-line2 {
    font-size: 2.3vw;
    color: #F47F2D;
    font-weight: 800;
}

.overlay-left-line3 {
    font-size: 1.2vw;
    color: var(--dark-color);
    font-weight: 700;
}

/* 中央画像のテキストスタイル */
.overlay-center-line1 {
    font-size: 1.15vw;
    color: var(--dark-color);
    font-weight: 700;
}

.overlay-center-line2 {
    font-size: 1.12vw;
    color: var(--dark-color);
    font-weight: 700;
}

.overlay-center-line3 {
    font-size: 1.85vw;
    color: #F47F2D;
    font-weight: 800;
}

/* 右画像のテキストスタイル */
.overlay-right-line1 {
    font-size: 1.0vw;
    color: var(--dark-color);
    font-weight: 700;
}

.overlay-right-line2 {
    font-size: 1.47vw;
    color: #F47F2D;
    font-weight: 800;
}

.overlay-right-line3 {
    font-size: 1.65vw;
    color: #F47F2D;
    font-weight: 800;
}

/* 追加テキストセクション */
.hero-text-section {
    margin-top: 4vw;
    text-align: center;
}

.hero-text-line1,
.hero-text-line2 {
    font-size: 1.19vw;
    color: var(--dark-color);
    margin: 0.3vw 0;
    line-height: 1.4;
    font-weight: 400;
}

.hero-text-highlight {
    color: #F47F2D;
    font-weight: 600;
}

/* CTAセクション */
.hero-cta-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5vw;
    margin-top: 1.5vw;
}

.hero-cta-btn {
    height: 4vw;
    width: 20vw;
    border-radius: 2vw;
    border: 2px solid #F47F2D;
    font-size: 1.2vw;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: 0.8vw;
    position: relative;
    overflow: hidden;
}

.hero-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.hero-cta-btn:hover::before {
    left: 100%;
}

.hero-cta-btn-download {
    background-color: #F47F2D;
    color: var(--white);
}

.hero-cta-btn-download:hover {
    transform: scale(1.1) translateZ(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

.hero-cta-btn-contact {
    background-color: var(--white);
    color: #F47F2D;
}

.hero-cta-btn-contact:hover {
    transform: scale(1.1) translateZ(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

.hero-cta-btn-icon {
    width: 1.5vw;
    height: 1.5vw;
}

/* 補足テキストセクション */
.hero-note-section {
    margin-top: 1.5vw;
    text-align: center;
}

.hero-note-text {
    font-size: 0.9vw;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-section {
        background: var(--white);
        padding-top: 8vw;
    }
    
    .hero-section::before {
        background-size: auto 22.5%, auto 22.5%;
        opacity: 0.4 !important;
    }

    
    .hero-title-wrapper {
        margin-bottom: 6vw;
    }
    
    .hero-text-section {
        margin-top: 6vw;
        padding: 0 4vw;
    }
    
    .hero-title-line1,
    .hero-title-line2 {
        display: none;
    }
    
    .hero-title-sp-single {
        display: block;
        font-size: 6.405vw;
        text-shadow: 
            -2px -2px 0 white,
            2px -2px 0 white,
            -2px 2px 0 white,
            2px 2px 0 white,
            -2px 0 0 white,
            2px 0 0 white,
            0 -2px 0 white,
            0 2px 0 white;
    }
    
    .hero-title-line1 {
        font-size: 4.5vw;
        text-shadow: 
            -2px -2px 0 white,
            2px -2px 0 white,
            -2px 2px 0 white,
            2px 2px 0 white,
            -2px 0 0 white,
            2px 0 0 white,
            0 -2px 0 white,
            0 2px 0 white;
    }
    
    .hero-title-line2 {
        font-size: 4.5vw;
        text-shadow: 
            -2px -2px 0 white,
            2px -2px 0 white,
            -2px 2px 0 white,
            2px 2px 0 white,
            -2px 0 0 white,
            2px 0 0 white,
            0 -2px 0 white,
            0 2px 0 white;
    }
    
    .hero-title-line2-part1,
    .hero-title-line2-part2 {
        display: inline;
    }
    
    .hero-subtitle {
        font-size: 6vw;
        margin-top: 1.5vw;
        margin-bottom: 8vw;
        text-shadow: 
            -2px -2px 0 white,
            2px -2px 0 white,
            -2px 2px 0 white,
            2px 2px 0 white,
            -2px 0 0 white,
            2px 0 0 white,
            0 -2px 0 white,
            0 2px 0 white;
    }
    
    .hero-subtitle-part1,
    .hero-subtitle-part2,
    .hero-subtitle-part3 {
        display: block;
        line-height: 1.1;
    }
    
    .hero-text-line1,
    .hero-text-line2 {
        font-size: 3.1122vw;
    }
    
    .hero-cta-btn {
        height: 12vw;
        width: 50vw;
        border-radius: 6vw;
        font-size: 4.5vw;
        gap: 1.6vw;
        box-shadow: 
            -2px -2px 0 white,
            2px -2px 0 white,
            -2px 2px 0 white,
            2px 2px 0 white,
            -2px 0 0 white,
            2px 0 0 white,
            0 -2px 0 white,
            0 2px 0 white;
    }
    
    .hero-cta-btn-icon {
        width: 4.5vw;
        height: 4.5vw;
    }
    
    .hero-note-section {
        margin-top: 3vw;
        margin-bottom: 6vw;
        padding: 0 4vw;
    }
    
    .hero-note-text {
        font-size: 2.34vw;
    }
    
    /* SP版での画像オーバーレイテキストサイズ2倍 */
    .overlay-left-line1 {
        font-size: 1.7vw;
    }
    
    .overlay-left-line2 {
        font-size: 4.6vw;
    }
    
    .overlay-left-line3 {
        font-size: 2.4vw;
    }
    
    .overlay-center-line1 {
        font-size: 2.3vw;
    }
    
    .overlay-center-line2 {
        font-size: 2.4vw;
    }
    
    .overlay-center-line3 {
        font-size: 3.7vw;
    }
    
    .overlay-right-line1 {
        font-size: 1.9vw;
    }
    
    .overlay-right-line2 {
        font-size: 3.1vw;
    }
    
    .overlay-right-line3 {
        font-size: 3.3vw;
    }
}

@media (max-width: 576px) {
    .hero-title-wrapper {
        margin-bottom: 4.5vw;
    }
    
    .hero-title-line1 {
        font-size: 6.405vw;
    }
    
    .hero-title-line2 {
        font-size: 6.405vw;
    }
    
    .hero-title-line2-part1,
    .hero-title-line2-part2 {
        display: inline;
    }
    
    .hero-subtitle {
        font-size: 5.25vw;
        margin-top: 1.125vw;
    }
    
    .hero-columns {
        flex-direction: column;
        gap: 9vw;
        margin-top: 4.5vw;
        max-width: 100vw;
    }
    
    .hero-column-left {
        order: 2;
    }
    
    .hero-column-right {
        order: 1;
        margin-right: 0vw;
        padding-right: 0vw;
        width: 80vw;
        height: 45vw;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-column-right::before {
        right: -1vw;
    }
    
    .youtube-container {
        width: 100%;
        height: 100%;
    }
    
    .youtube-container iframe {
        width: 100%;
        height: 100%;
    }
    
    .hero-text-section {
        margin-top: 8vw;
        margin-bottom: 4vw;
    }
    
    .hero-column {
        min-height: 20vw;
        padding: 0;
    }
    
    .hero-column p {
        font-size: 2.4vw;
    }
    
    .hero-column-title {
        font-size: 4.5vw;
        margin: 0;
        padding: 0;
        width: 100vw;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-column-title-line1 {
        display: block;
    }
    
    .hero-highlight-box {
        padding: 1.5vw 10vw;
        border-radius: 1.2vw;
        margin: 0 auto;
        display: block;
        width: 80vw;
        margin-bottom: 1vw;
    }
    
    .hero-images-row {
        gap: 0;
        justify-content: space-between;
        margin-top: 1.2vw;
    }
    
    .hero-reason-image {
        width: 100%;
    }
    
    .hero-cta-section {
        flex-direction: column;
        gap: 3vw;
    }
    
    .hero-cta-btn {
        width: 65vw;
    }
}