@media screen and (max-width:3000px){

.bgImage {
        width: 100%;
        /* アスペクト比は元の3000/1688 */
        aspect-ratio: 3000 / 2000;
        position: relative;
        overflow: hidden;
        justify-self: stretch;
  grid-column-start: 1;
  grid-row-start: 1;z-index: 2;
    }

.bgImage .fader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

/* テキスト部分： absolute で中央固定 */
.bgImage .fader .texter {
    position: absolute;
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    text-orientation: upright;
    -webkit-text-orientation: upright;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    height: 80%;
    display: flex;
    align-items: center;
}

.back_greek101 { 
    background: url("../img/index301_3L.jpg") no-repeat;
    aspect-ratio: 3000/2000;background-size:100%;
}
.back_greek102 { 
    background: url("../img/index302_3L.jpg") no-repeat;
    aspect-ratio: 3000/2000;background-size:100%;
}
.back_greek103 { 
    background: url("../img/index303_3L.jpg") no-repeat;
    aspect-ratio: 3000/2000;background-size:100%;
}
.back_greek104 { 
    background: url("../img/index304_3L.jpg") no-repeat;
    aspect-ratio: 3000/2000;background-size:100%;
}
.back_greek105 { 
    background: url("../img/index305_3L.jpg") no-repeat;
    aspect-ratio: 3000/2000;background-size:100%;
}

}

@media screen and (max-width: 767px) {
    /* コンテナ（元の.bgImageクラスを利用） */
    .bgImage {
        width: 100%;
        /* アスペクト比は元の3000/1688 */
        aspect-ratio: 960 / 640;
        position: relative;
        overflow: hidden;
        justify-self: stretch;
  grid-column-start: 1;
  grid-row-start: 1;z-index: 2;
    }

    .bgImage .fader {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
    }

    /* テキスト部分： absolute で中央固定 */
    .bgImage .fader .texter {
        position: absolute;
        writing-mode: vertical-rl;
        -webkit-writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl;
        text-orientation: upright;
        -webkit-text-orientation: upright;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        white-space: nowrap;
        height: 80%;
        display: flex;
        align-items: center;
    }

    .back_greek101 {
        background: url("../img/index301_M.jpg") no-repeat;
        aspect-ratio: 960/640;background-size:100%;
    }
    .back_greek102 {
        background: url("../img/index302_M.jpg") no-repeat;
        aspect-ratio: 960/640;background-size:100%;
    }
    .back_greek103 {
        background: url("../img/index303_M.jpg") no-repeat;
        aspect-ratio: 960/640;background-size:100%;
    }
    .back_greek104 {
        background: url("../img/index304_M.jpg") no-repeat;
        aspect-ratio:960/640;background-size:100%;
    }
    .back_greek105 {
        background: url("../img/index305_M.jpg") no-repeat;
        aspect-ratio: 960/640;background-size:100%;
    }
}