.mainbanner-image {
    height: 15rem;
    background-image: url(../images/facilities/ヘッダー.png);
}
.mainbanner__subTitle {
    font-size: 4.7vw;
    top: 43%;
    left: 40.5%;
}
.mainbanner-wrapper {
    max-height: 15rem;
}
.mainbanner {
    width: 100%;
    height: 15rem;
}
.underline {
    border-bottom: solid 2px;
    width: 18vw;
    margin-top: -4.5rem;
}
.card1 {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
}
.card2 {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
}
.line img{
    width: 36vw;
}
.left {
    display: flex;
    justify-content: center;
}
.left img {
    width: 30vw;
    margin-top: 2rem;
}
.text {
    font-family: "Hiragino Sans", "ヒラギノ角ゴシック", sans-serif;
    font-size: 1.3rem;
    line-height: 1.8;
}
.cards{
    margin-top: 2rem;
}
.floor2{
    padding-top: 3rem;
}
.overcards{
    margin-top: 3rem;
}
.overright img{
    width: 52vw;
}
.overright {
    display: flex;
    justify-content: center;
    position: relative;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    height: 56vw;
}
.overlaptop{
    width: 50%;
    flex: 1;
z-index: 2;
margin-bottom: 2rem;
margin-right: -2rem;
}
.overlapbottom{
    width: 50%;
z-index: 1;
margin-top: 2rem;
margin-left: -2rem;
}
.floor3{
    margin-top: 3rem;
    margin-bottom: 3rem;
}
#map, #map2f{
    margin: 5vw 0;
}
#map3f{
    margin-top: -5vw;
    margin-bottom: 5vw;
}
@media screen and (min-width: 768px) {
    .mainbanner-image {
        height: 54rem;}
        .mainbanner-wrapper {
            max-height: 55rem;
        }
        .mainbanner {
            width: 100%;
            height: 55rem;
        }
        .mainbanner__subTitle {
            font-size: 4.5rem;
            top: 45.5%;
            left: 40.5%;
            font-weight: 300;
        }
	
.left{
    position: relative;
    z-index: 2;
    margin: 0;
    flex: 40%;
    margin-right: 0rem;
    padding: 0;
}

.right{
    position: relative;
    z-index: 0;
    margin: 0;
    flex: 40%;
    justify-content: center;
    align-items: flex-start;
align-content: flex-start;
}
.card1 {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.card2 {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    flex-wrap: wrap;
}
.floor1{
    width: 100%;
}

.right .text{
    margin-left: 5rem;
}

.card2 .text{
    margin-top: 15rem;
}
.card2 .line{
    margin-right: -10rem;
}
.card1 .line{
    margin-left: -10rem;
}
.card1 .left{
    margin-left: -3.5rem;
}
.overright img {
    width: 50vw;
}
.card1 img{
     margin-right: 0;
     width: 45vw;
     margin-left: 5vw;
}
.card2 img{
    margin-right: 0rem;
    width: 45vw;
}
.floor2 {
    padding-top: 11rem;
}
.text {
    
    font-size: 3vw;

}
	.floorguide{
	font-size: 2vw;
	}
.overcards {
    margin-top: 6rem;
}
.overlaptop {
    margin-bottom: 9rem;
}
.overlapbottom {
    margin-top: 7rem;
}
.blueback{
    padding-bottom: 13rem;
}
.floor3 {
    margin-top: 10rem;
}
}
@media screen and (min-width: 1440px) {
    #map3f{
        margin-top: 1vw;
        margin-bottom: 5vw;
    }
  iframe{
    width: 85vw;
    height: 45vw;}
    .cards {
        width: 90%;
    }
    .line img {
        width: 56vw;
    }
    .text {
        font-size: 1.5rem;
    }
    .card1 .line {
        margin-left: -17rem;
        margin-right: -8rem;
    }
    .card2 .line {
        margin-left: -4rem;
        margin-right: -15rem;
    }
    .overcards {
        margin-top: 6rem;
        width: 100%;
    }
    .overcard1 {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
  
    }
    .overcard2 {
        display: flex;
        flex-direction: row-reverse;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .overright img {
    width: 37vw;
}
.overright {
    flex: 40%;
    margin-left: -2rem;
}
.overleft{
    flex: 30%;
    margin-left: -6rem;

}

.overlaptop {
    margin-right: 23rem;
    margin-bottom: 0rem;
    margin-bottom: -5rem;
}
.overlapbottom {
    margin-top: -13rem;
    margin-left: 11rem;
    width: 37vw;
}
.overcard2 .overright{
    margin-left: 10rem;
}
.overcard1 .overleft{
margin-bottom: 8rem;}
}
@media screen and (min-width: 1920px) {
    .overright img {
        width: 40vw;
    }
    .overlaptop {
        margin-right: 18rem;
        margin-bottom: -11rem;
    }
}
@media screen and (max-width: 480px) {
    .mainbanner__subTitle {
        font-size: 1.2rem;
        top: 46%;
        left: 40.5%;
        font-weight: 300;
    }
    .mainbanner {
        width: 100%;
        height: 18rem;
    }
    .left img {
        width: 68vw;
        margin-top: 2rem;
        margin-left: 0;
    }
    #map3f{
        margin-top: 5vw;
        margin-bottom: 5vw;
    }
	.overright img {
        width: 57vw;
    }
    .overlapbottom {
        width: 50%;
        z-index: 1;
        margin-top: 4rem;
        margin-left: -2rem;
    }
    .overlaptop {
        width: 50%;
        flex: 1;
        z-index: 2;
        margin-bottom: 2rem;
        margin-right: -2rem;
        margin-top: 1rem;
    }
}