body {
    font-family: "yu-mincho-pr6n", sans-serif;
}

/* SPレスポンシブ */

.yazi {
    font-size: 16px;
    text-align: center;
    margin: auto;

}

@media screen and (max-width: 1200px) {

    .pc {
        display: none;
    }

    .fv img {
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center;
        position: relative;
    }

    .max-width {
        max-width: 95%;
        margin: auto;
        position: relative;
        z-index: 10;
        /* image2より前面に出す */
        background-color: black;
        color: white;
        padding: 50px 0;
    }

    .scroll-scene {
        position: relative;
        height: 200vh;
        /* 100vhでimage1 → image2切替、さらに100vhで次のセクションへ */
    }

    .scene-image {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-size: cover;
        background-position: center;
        opacity: 0;
        transition: opacity 1s ease;
        z-index: 1;
    }

    #image1 {
        background-image: url('../img/fvpc.jpg');
        z-index: 2;
        opacity: 1;
    }

    #image2 {
        background-image: url('../img/fvpc2.jpg');
        z-index: 1;
        opacity: 0;
    }

    .scene-image.static {
        position: relative;
        z-index: 0;
        /* 背景として最下層 */
        opacity: 1 !important;
        transition: none;
    }

    .backblack {
        position: relative;
        z-index: 10;
        /* image2より前面に出す */
        background-color: black;
        color: white;
    }

    /* .fv img {
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center;
        position: relative;
    } */

    .flexbox1 {
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: left;
        gap: 2vh;
    }

    .reverse {
        flex-direction: column-reverse;
    }

    .fleximage {
        text-align: center;
        margin: auto;
    }

    .fleximage img {
        width: 100%;
    }

    .sectiontitle {
        font-size: 28px;
        position: relative;
        line-height: 1.5;
    }

    .sectionline {
        width: 190px;
        /* SIMULATIONと同じくらいの幅に調整 */
        height: 1px;
        background-color: white;
    }

    .sectionsubtitle {
        font-size: 28px;
        line-height: 1.3;
        padding-bottom: 6px;
    }

    .sectionunder {
        font-size: 16px;

    }

    .sectiontext {
        font-size: 16px;
        line-height: 1.4;
    }

    .centertitle {
        font-size: 36px;
        text-align: center;
    }

    .centersubtitle {
        font-size: 24px;
        text-align: center;
        line-height: 1.4;
    }

    .centertext {
        font-size: 16px;
    }

    .centerimage1 {
        margin: auto;
        text-align: center;
    }

    .centerimage1 img {
        width: 100%;
    }

    .centerimage2 {
        margin: auto;
        text-align: center;
    }

    .centerimage2 img {
        width: 100%;
    }

    .centerimage3 {
        margin: auto;
        text-align: center;
    }

    .centerimage3 img {
        width: 100%;
    }

    .grid-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        border: 1px white;
    }

    .grid-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        border-top: 1px solid white;
        border-left: 1px solid white;
    }

    .grid-item {
        border-right: 1px solid white;
        border-bottom: 1px solid white;
        padding: 16px;
    }

    .gridmain {
        font-size: 20px;
    }

    .cta {
        text-align: center;
    }

    .cta img {
        width: 65%;
    }

    .padding-bottom {
        padding-bottom: 3vh;
    }

}