.hero {
    background-color: var(--color-background);


    margin: 0 auto;
    padding: 12vh 0% 0% 0%;
    height: auto;
    min-height: 950px;
    background-size: cover;
    width: 100%;
    
}



.hero-content {
    margin: 0 auto;
    margin-top: 10vh;
        width: 84vh;
        /* 必要に応じて調整 */
        text-align: center;
        /* テキストを中央揃え */
        z-index: 2;

        background-color: rgba(255, 255, 255, 0.8);
}


.hero-content p  {

    font-family: "Noto Serif JP", serif;
    font-weight: 300;
    font-size: 25px;
    color: #000000;
    margin: 0 auto;
    text-align: center;

}
.hero-content h1{

    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    font-size: 50px;
    color: #000000;
    margin: 0 auto;

}

.hero-content .hero-sub-text {
    margin-top: var(--space-m);
    font-size: var(--font-size-xl);
    color: #ffffff;
}

.hero-content .price {
    color: #ffffff;
}

.hero-content .annotation {
    font-size: 12px;
    color: var(--color-secondary);
    margin-top: var(--space-s);
}

.slide-image {
    position: absolute;

    height: auto;

    top: 0;
    left: 0;
    right: -2%;
    bottom: 0;


    width: 1700px;
    height: auto;
    opacity: 1;
    
    /* フェード効果 */
    object-fit: cover;

}

.slide-image.active {
    opacity: 1;

}

@media (max-width: 768px) {
.hero {
        background-color: var(--color-background);


        margin: 0 auto;
        padding: 300px 0% 0% 0%;
        
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
            /* 追加 */
        min-height: 300px;
        height: auto;
        

    }

    .hero-content{
        margin-top:150px;
    }

    .hero-content h1{
        font-family: "Noto Serif JP", serif;
            font-weight: 500;
            font-size: 30px;
            color: #000000;
            margin: 0 auto;
    }
.hero-content p {

    font-family: "Noto Serif JP", serif;
    font-weight: 300;
    font-size: 20px;
    color: #000000;
    margin: 0 auto;
    text-align: center;

}

}
