@charset "UTF-8";

/*----------------------------------------------------
	☆PC
----------------------------------------------------*/

/*--- mainTitle --*/
#mainTitle .title .en{
    color: #adb7e8;
        -webkit-text-fill-color: #adb7e8;
}
#mainTitle .title .en::before{
    content: "OFFICE TOUR";
    white-space: nowrap;
    color: #8f5ae1;  
    -webkit-text-fill-color: #8f5ae1;
}
#mainTitle .title::before{
    background: url("../images/tour/icon_mainTitle.png") center center / contain no-repeat;
}
#mainTitle .deco01{
    width: 360px;
    left: 10%;
    top: -20px;
}

/*--- mainPhoto --*/

#contents .inrWhiteBox{
    max-width: 1320px;
    width: calc(100% - 80px);
}
#contents .mainPhoto{
    margin-bottom: 60px;    
}
#contents .mainPhoto .image{
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 580px;
    border-radius: 30px;
    margin-bottom: -60px;
}
#contents .mainPhoto .frameBox{
    max-width: 700px;
    margin: 0 auto;
}
#contents .mainPhoto .frameBox .title{
    text-align: center;
    font-size: 26px;
    margin-bottom: 0.5em;
}
#contents .mainPhoto .frameBox .text,
#contents .subPhotoList li.largePhoto .info .text{
    line-height: 2;
}

#contents .subPhotoList{
    max-width: 1010px;
    margin: 0 auto -60px;
}
#contents .subPhotoList li{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
}
#contents .subPhotoList li:nth-child(even){
    flex-direction: row-reverse;
}
#contents .subPhotoList li .image{
    width: 46%;
}
#contents .subPhotoList li .image img{
    border-radius: 20px;
}
#contents .subPhotoList li .info{
    width: 51%;
}
#contents .subPhotoList li .info .title{
    font-size: 26px;
    margin-bottom: 0.5em;
    font-weight: bold;
}
#contents .subPhotoList li.largePhoto .info{
    width: 37%;
}
#contents .subPhotoList li.largePhoto .image{
    width: 60%;
}

#contents .subPhotoList.subPhotoListPattern2{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
#contents .subPhotoList.subPhotoListPattern2 li{
    flex-direction: column;
    gap: 40px;
    width: 48%;
}
#contents .subPhotoList.subPhotoListPattern2 li .image,
#contents .subPhotoList.subPhotoListPattern2 li .info{
    width: 100%;
}
#contents .subPhotoList.subPhotoListPattern2 li.onlyImage{
    margin-bottom: 20px;
}
#contents .subPhotoList.subPhotoListPattern2 li.onlyInfo{
    width: 100%;
}
#contents .subPhotoList.subPhotoListPattern2 li.onlyInfo .text{
    text-align: center;
}

/*--- sample --*/




/*----------------------------------------------------
	☆ANIMATION
----------------------------------------------------*/



/*----------------------------------------------------
	☆901以上　PCのみ & HOVER
----------------------------------------------------*/

@media screen and (min-width:901px) {
}


/*----------------------------------------------------
	☆UNDER 1440
----------------------------------------------------*/

@media screen and (max-width:1440px) {
    
    #mainTitle .deco01 {
        width: 360px;
        left: calc(50% - 600px);
        top: -20px;
    }
    
}

/*----------------------------------------------------
	☆UNDER 1200
----------------------------------------------------*/

@media screen and (max-width:1200px) {
    
    #contents .mainPhoto .image{
        aspect-ratio: 2 / 1;
        height: auto;
    }
    
}

/*----------------------------------------------------
	☆UNDER 1100
----------------------------------------------------*/

@media screen and (max-width:1100px) {
        
    #mainTitle .deco01 {
        left: -3.5%;
    }
    
}

/*----------------------------------------------------
	☆UNDER 900
----------------------------------------------------*/

@media screen and (max-width:900px) {    
    
    #mainTitle .deco01 {
        width: 274px;
        left: -10%;
        top: -10px;
        bottom: auto;
    }
    
    
    #contents .mainPhoto .frameBox .title,
    #contents .subPhotoList li .info .title{
        font-size: 22px;
    }
    #contents .subPhotoList li .info .text{
        font-size: 14px;
        line-height: 1.75;
    }
}


/*----------------------------------------------------
	☆UNDER 600
----------------------------------------------------*/

@media screen and (max-width:600px) {
    
    #mainTitle .deco01 {
        width: 150px;
        right: 65%;
        top: 3px;
        bottom: auto;
        left: auto;
    }
    
    #contents .inrWhiteBox{
        border-radius: 0;
        width: calc(100% - 28px);
    }
    #contents .mainPhoto .image {
        border-radius: 15px;
        margin-bottom: -20px;
        aspect-ratio: 2 / 1.4;
    }
    #contents .mainPhoto .frameBox .title, #contents .subPhotoList li .info .title {
        font-size: 18px;
        line-height: 1.6;
    }
    
    #contents .subPhotoList li{
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
    }
    #contents .subPhotoList li .image{
        width: calc(100% - 28px) !important;
        margin-left: auto;
        margin-right: auto;
        max-width: 350px;
    }
    #contents .subPhotoList li .image img{
        border-radius: 15px;
    }
    
    #contents .subPhotoList li .info{
        width: 100% !important;
        margin-top: 20px;
    }
    #contents .subPhotoList li.onlyInfo .info{
        margin-top: 0;
    }
    #contents .subPhotoList li .info .title{
        text-align: center;
    }
    
    #contents .subPhotoList.subPhotoListPattern2{
        flex-direction: column;
        margin-bottom: -30px;
    }
    #contents .subPhotoList.subPhotoListPattern2 li{
        width: 100%;
        gap: 0;
        margin-bottom: 30px;
    }
    #contents .subPhotoList.subPhotoListPattern2 li.onlyInfo .text{
        text-align: justify;
    }
}

