/* 収益物件オープンページ detail.php CSS */

section.photo{
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
section.photo h2{
    margin: 0;
}
section.photo button.return{
    position: relative;
    font-size: 14px;
    height: 40px;
    margin-right: 20px;
}

/* 写真一覧 */
section.photo .photo_list{
    width: 100%;
    gap:20px;
    padding: 20px 0;
    display: flex;
}
section.photo .photo_list .photo_flame{
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.1);
}
section.photo .photo_list .buyproperty-photo-thumb{
    cursor: pointer;
}

/* 写真拡大モーダル */
#photo_modal_frame.photo_remodal{
    width: 50vw;
    max-width: 50vw !important;
    padding: 24px 16px 16px;
    border-radius: 10px;
}
#photo_modal_frame.photo_remodal .remodal-close{
    top: 10px;
    right: 10px;
}
#photo_modal_frame .photo_modal_content{
    position: relative;
    width: 100%;
}
#photo_modal_frame .photo_modal_image_wrap{
    width: 100%;
    height: 37.5vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 52px;
    box-sizing: border-box;
}
#photo_modal_frame #photo_modal_image{
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 6px;
}
#photo_modal_frame .photo_modal_counter{
    right: 0;
    position: absolute;
    bottom: 0;
    margin-top: 10px;
    font-size: 14px;
    color: #425460;
    text-align: center;
}
#photo_modal_frame .photo_modal_nav{
    position: absolute;
    top: calc(18.75vh - 20px);
    z-index: 2;
    background-color: #ffffffcc;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 15px 10px 10px;
    cursor: pointer;
}
#photo_modal_frame .photo_modal_prev{
    left: 0;
}
#photo_modal_frame .photo_modal_next{
    right: 0;
}
#photo_modal_frame .photo_modal_prev img{
    transform: rotate(90deg);
}
#photo_modal_frame .photo_modal_next img{
    transform: rotate(-90deg);
}
#photo_modal_frame .photo_modal_nav img{
    height: 13px;
    display: block;
}
section.photo .photo_list .main_image{
    height: 300px;
    width: 400px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    flex: 1 1 400px;
}
section.photo .photo_list .sub_image{
    position: relative;
    width: calc(100% - 420px);
    min-width: 300px;
    flex: 1 1 300px;
    height: 300px;
}
section.photo .photo_list .sub_image ul li div{
    height: 142px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
}
section.photo .photo_list .sub_image ul li div:last-child{
    margin-top: 15px;
}
section.photo .photo_list .sub_image button.slider_arrow{
    background-color: #ffffff7d;
    padding: 15px 10px 10px 10px;
    border: 1px solid #fff;
    border-radius: 5px;
    top: calc(50% - 20px);
}
section.photo .photo_list .sub_image button.arrow--left{
    left: 10px;
}
section.photo .photo_list .sub_image button.arrow--right{    
    right: 10px;
}
section.photo .photo_list .sub_image button.slider_arrow img{
    height: 13px;
}

/* 建物情報 */
section.info .building_info{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
section.info .building_info .building_info_main{
    width: calc(100% - 204px);
    min-width: 500px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    line-height: 2;
}
section.info .building_info .building_name{
    font-size: 20px;
    font-weight: 900;
    margin-right: 20px;
}
section.info .building_info .building_price{
    font-size: 14px;
    font-weight: 600;
    display: flex;
    gap:0 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    margin-right: 20px;
}
section.info .building_info .building_price span{
    font-size: 20px;
    margin:0 3px;
}
section.info .building_info .fav_count{
    display: flex;
    align-items: center;
}
section.info .building_info .fav_count.buyproperty-favorite-toggle{
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
}
section.info .building_info .fav_count.buyproperty-favorite-toggle .fav_icon{
    width: 28px;
    height: auto;
    margin-right: 6px;
    transition: filter 0.2s ease, transform 0.2s ease;
    opacity: 0.55;
}
section.info .building_info .fav_count.buyproperty-favorite-toggle.is_favorited{
    color: #e60012;
}
section.info .building_info .fav_count.buyproperty-favorite-toggle.is_favorited .fav_icon{
    opacity: 1;
    transform: scale(1.08);
    filter: invert(18%) sepia(98%) saturate(7452%) hue-rotate(353deg) brightness(95%) contrast(115%);
}
section.info .building_info .fav_count.buyproperty-favorite-toggle.is_favorited .buyproperty-favorite-count{
    color: #e60012;
    font-weight: bold;
}
section.info .building_info .fav_count.buyproperty-favorite-toggle.is_processing{
    opacity: 0.6;
    pointer-events: none;
}
section.info a.blue_button_cover{
    width: 204px;
    margin-left: auto;
}
section.info .blue_button{
    width: 200px;
}

/* テーブルcommonスタイルカスタマイズ */
section.info .building_info table tbody{
    font-size: 14px;
    gap: 10px;
    margin-top: 10px;
}
section.info .building_info table tr{
    width: calc(100% / 3 - 7px);
    min-width: 300px;
}
section.info .building_info table tr.wide{
    width: 100%;
    flex: 1 1 100%;
    min-width: 100%;
}
section.info .building_info table tr:first-child{
    padding: 5px 0;
}
section.info .building_info table tr:last-child{
    padding: 5px 0;
}
section.info .building_info table th{
    width: 110px;
    height: auto;
}
section.info .building_info table td{
    width: calc(100% - 170px);
    margin-right: 30px;
}
section.info .building_update{
    justify-content: flex-end;
}