.fv{
    background-image: url(../img/パンフレット_Bplan.png);
    background-size: cover;
    background-repeat: no-repeat;
    height: 785px;
    position: relative;
}
.other-fv-wrap{
    transform: translateY(100px);
}
.other-title{
    transform: translateY(350%);
}
.gallery-wrap{
    background-color: #F0EDE8;
    padding: 50px;
}
.gallery-container{
    max-width: 1100px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}
.inst-main{
    position: relative;
    max-width: 100%;
}
.inst-main img{
    max-width: 100%;
}
.inst-en{
    position: absolute;
    bottom: 15px;
    left: -60px;
    transform: rotateZ(-5deg);
}
.inst-text-wrap{
    padding: 15px;
}
.inst-text-img{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.inst-text-img img{
    display: block;
}
.inst-text{
    margin-top: 15px;
    color: #8F9A93;
    font-size: 11px;
    line-height: 15px;
}
.gallery-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 154px 154px;
    gap: 20px;
    max-width: 100%;;
}
.gallery-item img{
    max-width: 100%;
}
.cast-wrap{
    padding: 100px 50px;
    background-color: #F0EDE8;
    background-image: url(../img/パンフレット_Bplan.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.cast-list{
    text-align: center;
    margin-top: 50px;
}
.cast-list img{
    max-width: 100%;
}
.cast-list ul{
    display: flex;
    justify-content: center;
}
.cast-list ul li:nth-of-type(n + 2){
    margin-left: 15px;
}
.cast-list-item{
    background-image: url(../img/アートボード\ 425.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 230px;
    height: 552px;
    position: relative;
}
.cast-content-wrap{
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
}
.cast-name-wrap{
    background-size: cover;
    background-repeat: no-repeat;
    width: 220px;
    height: 50px;
    position: relative;
    margin: 0 auto;
}
.name-pink{
    background-image: url(../img/shitaji_2.png);
}
.name-blue{
    background-image: url(../img/shitaji_1.png);
}
.cast-name-ja{
    color: #fff;
    position: absolute;
    top: 20px;
    left: 35px;
    font-size: 15px;
}
.cast-name-en{
    color: #fff;
    position: absolute;
    top: 38px;
    left: 40px;
    font-size: 10px;
}
.suzuki{
    left: 30px;
}
.maeda{
    left: 20px;
}
.maeda-en{
    left: 30px;
}
.tsutsumi-en{
    left: 20px;
}
.cast-img-wrap{
    width: 100px;
    height: 100px;
    position: absolute;
    right: 0px;
    top: -20px;
}
.cast-img-wrap img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #fff;
}
.cast-text{
    font-size: 9px;
    color: #8F9A93;
    margin-top: 20px;
    line-height: 19px;
    margin-left: 10px;
}
.cast-text p{
    letter-spacing: 0;
}
.cast-text span{
    font-size: 13px;
}
.cast-text p:nth-of-type(n + 2){
    margin-top: 20px;
}
.kato-text{
    line-height: 17px;
}
.cast-sp{
    background-color: #F0EDE8;
}
.cast-sp-title-wrap{
    background-image:  url(../img/背景_sp.png);
    height: 273px;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
.sp-cast-title{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}
.cast-sp-list{
    max-width: 280px;
    margin: 0 auto;
}
.cast-sp-item{
    margin-top: 120px;
}
.cast-sp-item:nth-of-type(5){
    margin-bottom: 120px;
}
.cast-name-img{
    width: 100%;
    text-align: center;
}
.cast-sp-text{
    margin-top: 20px;
    font-size: 11px;
    line-height: 23px;
    color: #8F9A93;
    padding-left: 20px;
}
.cast-sp-text p:nth-of-type(n + 2){
    margin-top: 20px;
}
.intend{
    display: flex;
}
.intend-img{
    width: 10px;
    height: 11px;
}
.intend-text{
    padding: 3px;
}
.career{
    font-size: 13px;
}
.cast-sp-last{
    background-image:  url(../img/背景_sp.png);
    height: 273px;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
@media (max-width:1024px){
    .gallery-container{
        display: block;
    }
    .inst-main-img{
        width: 100%;
        max-width: 100%;
    }
    .gallery-grid{
        text-align: center;
        margin-top: 100px;
    }
}
@media (max-width:767px){
    .fv{
        background-image: url(../img/背景_sp.png);
        background-size: 100%;
        margin-top: 20px;
        height: 287px;
    }
    .other-title{
        transform: translateY(0%);
    }
    .gallery-container{
        display: block;
        padding: 0;
    }
    .inst-en{
        width: 177px;
        left: -30px;
    }
    .inst-text-img img:nth-child(2){
        height: auto;
    }
    .gallery-grid{
        grid-template-rows: unset;
        gap: 5px;
        max-width: 100%;
    }
}