@charset "utf-8";
img{
    max-width: 100%;
    height: auto;
}

body#residence .main_img{
    background-image: url(/grantact/img/residence_feature/residence_main.jpg);
    background-position: center top;
}
.no_index .main .main_text_box{
    width: 34.5rem;
    height: 17rem;
}
body.EN.no_index .main .main_text_box span{
    font-size: 2.8rem;
}
body.EN.no_index .main .main_text_box p{
    font-size: 1.3rem;
}

body#residence section.bg{
    padding: 0;
}
body#residence .sec_search{
}

.switch_tab{
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 94%;
    max-width: 1300px;
    transform: translateX(-50%);
}
.switch_tab .tab_area{
    display: flex;
    align-items: flex-end;
    gap: 0 3rem;
    justify-content: flex-end;
    width: 90%;
    margin: 0 auto;
}
.switch_tab .tab_area > *{
    display: block;
    width: calc((100% - 3rem) / 2);
    max-width: 39rem;
}
.switch_tab .tab_area > * label{
    display: block;
    padding: 2rem;
    font-size: 1.8rem;
    text-align: center;
    cursor: pointer;
    color: #ad99b4;
    background: #402944;
    white-space: nowrap;
}
.switch_tab .tab_area > * label.active{
    background: #221222;
    color: #fff;
}
.switch_tab .tab_area > * label.active span:before{
    content: "";
    display: inline-block;
    margin-right: 1rem;
    width: 3rem;
    height: 3rem;
    background: url(/grantact/img/common/icon_active.svg) center / contain no-repeat;
    vertical-align: -8px;
}
.sec_search{
    margin: 0;
    background: linear-gradient(#221222, #795A84);
    color: #fff;
}
.sec_search > .coearchtents{
    position: relative;
    z-index: 2;
    padding: 8rem 0;
}
.sec_search > .contents:before{
    display: none;
}

.search_area{
    position: relative;
    z-index:2;
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 0 0;
    gap: 0 3rem;
}
.search_area .button{
    width: calc((100% - 6rem) / 3);
}
.search_area .sort{
}
#residence_search_trg{
    display: block;
    width: 34.5rem;
    height: 6rem;
    line-height: 6rem;
    background-color: transparent;
    background-image: url(/grantact/img/common/icon_filter_open.svg);
    background-position: right center;
    background-size: auto 1.4rem;
    background-repeat: no-repeat;
    cursor: pointer;
    padding-left: 6rem;
    font-size: 1.8rem;
    font-weight: 500;
    position: relative;
}
body.EN #residence_search_trg{
    font-size: 1.6rem;
}
#residence_search_trg:before{
    content: "";
    display: block;
    width: 4.8rem;
    height: 4.8rem;
    background: url(/grantact/img/common/icon_filter.svg) center / contain no-repeat;
    position: absolute;
    left: 0;
    top: .6rem;
}
#residence_search_trg.open{
    background-image: url(/grantact/img/common/icon_filter_close.svg);
}
.sort{
    flex: 1;
    position: relative;
    padding-bottom: 1rem;
}
.sort h3{
    font-size: 3.2rem;
    line-height: 3.2rem;
    padding-left: 2rem;
    border-left: 3px solid #ded4bd;
    font-weight: 700;
}
body.EN .sort h3{
    font-size: 2.8rem;
}
.sort h3 p{
    font-size: 1.2rem;
    line-height: 1.5;
    letter-spacing: .1em;
    margin-top: 1rem;
    font-weight: 400;
}
.sort .order{
    position: absolute;
    right: 0;
    bottom: 0;
    align-items: center;
    font-size: 1.6rem;
}
.sort .order .select_box{
    position: relative;
}
.sort .order .select_box span{
    display: inline-block;
    line-height: 3.8rem;
    vertical-align: bottom;
    margin-right: 1rem;
}
.sort .order .select_box:before{
    content: "";
    position: absolute;
    top: 15px;
    right: 14px;
    margin: auto;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    width: 8px;
    height: 8px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    z-index: 2;
}
.sort .order select{
    text-indent: 0.01px;
    vertical-align: text-top;
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    padding: 2px 10px;
    width: 220px;
    font-size: 1.4rem;
    background: #fff;
    border-radius: 2px;
    height: 3.8rem;
    color: #000;
}
.sort .order_icon span{
    display: inline-block;
    width: 3.8rem;
    height: 3.8rem;
    margin-left: 1rem;
    vertical-align: bottom;
    cursor: pointer;
}
.sort .order_icon span.asc{
    background: url(/grantact/img/common/icon_asc.svg) center / contain no-repeat;
}
.sort .order_icon span.desc{
    background: url(/grantact/img/common/icon_desc.svg) center / contain no-repeat;
}
.sort .order_icon span.disabled{
    opacity: 0.5;
    pointer-events: none;
}
.residenceListWrap .residenceList{
    flex-wrap: wrap;
    gap: 3rem;
}
.residenceListWrap .residenceList > li{
    width: calc((100% - 6rem) / 3);
}
.residenceListWrap.search_open .residenceList{
    width: calc(((100% - 6rem) / 3 ) * 2 + 3rem);
    margin: 0 0 0 auto;
    min-height: 240rem;
}
.residenceListWrap.search_open  .residenceList> li{
    width: calc((100% - 3rem) / 2);
}
.residence_search_menu{
    position: absolute;
    display: block;
    opacity: 0;
    pointer-events: none;
    left: -17rem;
    width: 34.5rem;
    color: #fff;
    z-index: 20;
}
.residence_search_menu.search_close{
    transition: left .5s ease-in, opacity .5s linear;
}
.residence_search_menu.search_open{
    left: 0;
    opacity: 1;
    pointer-events: auto;
    transition: left .4s ease-in-out, opacity .4s linear;
}
.residenceList > li a{
    display: block;
}
.residenceList > li .img{
    width: 100%;
    height: 35rem;
    background: #000;
}
.residenceList > li .img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.residenceList > li .data1{
}
.residenceList > li .data1 > *{
    width: 50%;
    text-align: center;
}
.residenceList > li .data1 .area{
    font-size: 1.8rem;
    font-weight: bold;
    background: #6A6A6A;
    line-height: 5rem;
}
.residenceList > li .data1 .status{
    font-size: 1.5rem;
    font-weight: bold;
    background: #b7a7b8;
    line-height: 5rem;
}
.residenceList > li .data2{
    background: #fff;
    color: #000;
    padding: 2rem;
}
.residenceList > li .data2 .name{
    text-align: center;
    color: #6c4b6d;
    font-size: 2.7rem;
    min-height: 5.7rem;
    margin-bottom: .5rem;
    position: relative;
}
.residenceList > li .data2 .name p{
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}
body.EN .residenceList > li .data2 .name{
    font-size: 2.2rem;
}
.residenceList > li .data2 .address{
    text-align: center;
    color: #9e9e9f;
    font-size: 1.9rem;
    margin-bottom: 2rem;
    min-height: 5.7rem;
    position: relative;
}
.residenceList > li .data2 .address p{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate( -50%,-50%);
}
.residenceList > li .data2 .size,
.residenceList > li .data2 .price{
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}
.residenceList > li .data2 .meter_price{
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.4rem;
}
.residenceList > li .data2 .size dd,
.residenceList > li .data2 .size dt,
.residenceList > li .data2 .price dt{
    font-size: 1.9rem;
}
body.EN .residenceList > li .data2 .size dd,
body.EN .residenceList > li .data2 .size dt,
body.EN .residenceList > li .data2 .price dt{
    font-size: 1.7rem;
}
.residenceList > li .data2 .price dd span{
    font-size: 2.8rem;
}
.residenceList > li .data2 .price dd .small{
    font-size: 66%;
}
.residenceList > li .detail > *{
    flex: 1;
    font-size: 1.2rem;
}
.residenceList > li .detail > * + *{
    padding-left: 1rem;
    margin-left: 1rem;
    border-left: 1px solid #b5b6b6;
}
.residenceList > li .detail dl{
    display: flex;
    justify-content: space-between;
}
.residenceList > li .detail dl dt{
    width: 64%;
}
body.EN .residenceList > li .detail dl dt,
body.EN .residenceList > li .detail dl dd{
    font-size: 1rem;
}
.residenceList > li .detail dl + dl{
    margin-top: .5rem;
}
.residenceList > li .more{
    background: #6c4b6d url(/grantact/img/common/icon_link_white.svg) right 1.5rem center / auto 1.2rem no-repeat;
    font-size: 1.8rem;
    text-align: center;
    padding: 1rem 0;
}


.pre_seatch_area{
    background: #6c4b6d;
    padding: 2rem 1rem;
    margin-bottom: 2.5rem;
}
.pre_seatch_ttl{
    color: #bba776;
    font-size: 2.4rem;
    text-align: left;
    padding: 0;
    margin-bottom: 1rem;
}
.pre_seatch_ttl:before{
    display: none;
}
.pre_seatch_area::before{
    display: none;
}
.pre_seatch_box{
    display: block;
}
.pre_seatch_box a{
    display: flex;
    width: 100%;
    gap: 2rem;
}
.pre_seatch_box a + a{
    margin-top: 1rem;
}
.pre_seatch_box a .img{
    width: 7rem;
}
.pre_seatch_box a img{
    width: 7rem;
    height: 6rem;
    object-fit: cover;
}
.pre_seatch_box a .txt{
    position: relative;
    flex: 1;
}
.pre_seatch_box a p{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: transparent url(/grantact/img/common/icon_link_white.svg) right 1.5rem center / auto 1.2rem no-repeat;
}
#form_wrap .form_sec{
    flex-wrap: wrap;
}
#form_wrap .form_sec_07 .form_title,
#form_wrap .form_sec_08 .form_title,
#form_wrap .form_title,
#form_wrap .form_sec_01 .form_title{
    width: 100%;
    max-width: unset;
    padding: 0;
    margin-bottom: 1rem;
}
#form_wrap .checkbox{
    font-size: 1.2rem;
}
#inc_search .none{
    display: block;
}
#form_wrap .form_sec_07 .form_slct_area,
#form_wrap .form_sec_08 .form_slct_area,
#form_wrap .form_slct_area{
    width: 100%;
    display: flex;
    gap: 2rem 0;
    flex-wrap: wrap;
}
#form_wrap .form_slct_area > *{
    width: calc((100% - 1rem) / 2);
}
#form_wrap .form_slct_area.select_wrap{
    align-items: center;
    gap: 0 1rem;
}
#form_wrap .form_slct_area.select_wrap > span{
    width: 2rem;
    margin: 0;
}
#form_wrap .form_slct_area.select_wrap > *{
    width: calc((100% - 4rem) / 2);
    margin: 0;
}
#form_wrap .select::before{
    z-index: 1;
    top: 15px;
}
#form_wrap .form_slct_area.select_wrap select{
    width: 100%;
    background: #fff;
    border-radius: 2px;
    height: 4.2rem;
    font-size: 1.6rem;
    outline: none;
    color: #000;
}
#form_wrap .form_sec_07 .checkbox,
#form_wrap .form_sec_08 .checkbox,
#form_wrap .form_sec_02 .checkbox{
    margin:0;
    width: auto;
    line-height: 1.3;
    padding: 0 0 0 2.3rem;
}
#inc_search .submit_btn{
    display: block;
    background: #6c4b6d url(/grantact/img/common/icon_link_white.svg) right 2.2rem center / auto 1.2rem no-repeat;
    color: #fff;
    height: 6.4rem;
    font-size: 1.6rem;
    width: 100%;
    padding: 2.2rem;
    text-align: left;
}
#form_wrap .form_hr{
    display: none;
}
#form_wrap .form_title span {
    display: block;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: bold;
    border-bottom: 1px solid #707070;
}
#form_wrap .form_title span.noborder {
    border-bottom: 0;
}

.pager{
    position: relative;
    font-size: 1.4rem;
}
.pager.lower{
    margin-top: 3rem;
}
.pager ul{
    justify-content: center;
    gap: 0 1.5rem;
    margin: 0 0 3rem;
}
.pager ul li{
    color: #AD99B4;
}
.pager ul li:first-child,
.pager ul li:last-child,
.pager ul .active{
    font-weight: bold;
}
.pager ul li:first-child,
.pager ul li:last-child,
.pager ul .active{
    color: #D9D9D9;
}
.residenceListWrap.search_open .note,
.residenceListWrap.search_open .pager ul{
    width: calc(((100% - 6rem) / 3)* 2 + 3rem);
    margin: 0 0 3rem auto;
    font-weight: 300;
}
.residenceListWrap.search_open .note,
.residenceListWrap.search_open .pager.lower ul{
    margin: 3rem 0 0 auto;
}
.pager .num{
    position: absolute;
    right: 0;
    top: 0;
}

span.hint-modal:before{
    content: "";
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    background: url(/grantact/img/common/icon_hint.svg) center / contain no-repeat;
    cursor: pointer;
    margin-left: .5rem;
    vertical-align: -2px;
    position: relative;
    z-index: 10;
    pointer-events: all;
}

#hint_modal{
    display: block;
    position: fixed;
    transition: all .2s linear;
    opacity: 0;
    pointer-events: none;
    z-index: 10001;
}
#hint_modal.active{
    opacity: 1;
    pointer-events: auto;
}
#hint_modal .overlay{
    display: block;
    position: fixed;
    z-index: 10001;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    cursor: pointer;
}
#hint_modal .modal_contents{
    width: 80%;
    max-width: 80rem;
    padding: 5rem;
    background: #fff;
    z-index: 10002;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
#hint_modal .modal_close{
    position: absolute;
    top: -7rem;
    right: 0;
    width: 5rem;
    height: 5rem;
    cursor: pointer;
    background: url(/grantact/img/common/icon_slash_white.svg) center / contain no-repeat;
}
.hint-contents {
    font-weight: 400;
    font-size: 1.4rem;
}
.hint-contents span.fs15rem{
    display: block;
    font-weight: 500;
    margin-bottom: .5rem;
}
.hint-contents span.fs15rem + br{
    display: none;
}
.hint-contents .note > p + p{
    margin-top: 1.5em;
}

.note{
    font-size: 1.2rem;
    line-height: 1.5;
    padding: 3rem 0 8rem;
}
.note p + p{
    margin-top: 1em
}


.breadcrumb{
    background: #6e5177;
}

@media screen and (max-width: 1366px){

    body#residence section.bg {
        padding-bottom: 1rem;
    }

    .note,
    .pager,
    .search_area{
        display: block;
        width: 90%;
        margin: 0 auto;
        padding: 0;
    }
    .note{
        padding: 0 0 8rem;
    }
    .search_area .button{
        padding: 2rem 0;
        margin: 0 0 3rem;
    }
    #residence_search_trg{
        width: 20rem;
        height: 4.8rem;
        line-height: 4.8rem;
    }
    #residence_search_trg:before{
        top: 0;
    }
    .sort .order{
        position: static;
        margin: 2rem 0 0 auto;
        justify-content: flex-end;
    }

    .residence_search_menu{
        padding: 1rem;
        background: #402944;
        box-shadow: 0px 3px 6px rgba(0,0,0,0.15);
        top: -26rem;
    }
    .residenceListWrap.search_open .note,
    .residenceListWrap.search_open .pager ul{
        width: 90%;
        margin: 0 auto 3rem;
    }
    .residenceListWrap .residenceList,
    .residenceListWrap.search_open .residenceList{
        width: 90%;
        margin: 0 auto;
    }
    .residenceListWrap.search_open .residenceList{
        min-height: 200rem;
    }
    .residenceListWrap .residenceList > li,
    .residenceListWrap.search_open .residenceList > li{
        width: calc( (100% - 3rem) / 2 );
    }
}

@media screen and (max-width: 820px){
    body.EN.no_index .main .main_text_box span{
        font-size: 2.6rem;
        margin: 0;
        padding: 0 0 1rem;
    }
    body.EN.no_index .main .main_text_box p{
        font-size: 1.3rem;
        margin: 0;
    }
    .no_index .main .main_text_box{
        width: 20.5rem;
        height: 14.6rem;
        transform: translate(-50%, -65%);
    }
    .no_index .main .main_text_box span{
        font-size: 2.1rem !important;
        margin-bottom: 1.5rem !important;
        letter-spacing: -0.01em;
    }
    .no_index .main .main_text_box p{
        font-size: 1.2rem !important;
        line-height: 1.4;
    }
    .switch_tab .tab_area{
        gap: 0 1.5rem;
        justify-content: center;
    }
    .switch_tab .tab_area > *{
        width: 15rem;
    }
    .switch_tab .tab_area > * label.active span:before {
        width: 1.8rem;
        height: 1.8rem;
        vertical-align: -4px;
        margin-right: 2rem;
    }
    .search_area{
        padding: 2rem 0 0;
        width: calc(100% - 30px);
    }
    .search_area .button{
        margin: 0 0 2rem;
    }
    .sort{
        color: rgba(255,255,255,0.8);
    }
    .sort h3{
        border: none;
        padding: 0 15px;
        font-size: 2.8rem;
    }
    .sort h3 p{
        margin-top: 3.6rem;
        font-size: 1.2rem;
        font-weight: 400;
        letter-spacing: 0;
    }
    .sort .order{
        justify-content: flex-start;
        gap: 1.6rem;
        margin: 4.6rem 0 3rem auto;
    }
    .sort .order .select_box span{
        margin-right: 1.5rem;
    }
    .sort .order select{
        width: 20.8rem;
        height: 3.6rem;
        font-size: 1.6rem;
    }
    .sort .order_icon span{
        margin: 0;
    }
    .pager,
    .residenceListWrap.search_open .note,
    .residenceListWrap.search_open .pager ul{
        width: calc(100% - 30px);
        font-size: 1.6rem;
    }
    .residenceListWrap.search_open .pager.lower ul{
        width: 100%;
        margin: 8rem 0 3rem;
    }
    .residenceListWrap.search_open .pager ul > li a{
        padding: 1rem 0.5rem;
    }
    #residence_search_trg{
        width: calc( 100vw - 30px);
        color: #AD99B4;
    }
    .residence_search_menu{
        width: 100%;
        padding: 1rem 1.5rem 3rem;
        border-bottom: 1px solid #fff;
    }
    #residence_search_trg:before{
        background: url(/grantact/img/common/icon_filter_light.svg) center / contain no-repeat;
    }
    .residenceList > li .data1 .area{
        font-size: 1.6rem;
    }
    .residenceList > li .data2 .name{
        font-size: 2.4rem;
    }
    .residenceList > li .more{
        padding: .5rem 0;
    }
    .residenceListWrap.search_open .note{
        margin-top: 13rem;
        font-size: 1.4rem;
        line-height: 1.75;
    }
    .residenceListWrap.search_open .note .fs15rem{
        font-size: 1.9rem !important;
    }
    /* spメニュー用 */
    #residence_search_trg{
        background-image: url(/grantact/img/common/icon_filter_close.svg);;
    }
    #residence_search_trg.open{
        background-image: url(/grantact/img/common/icon_filter_open.svg);;
    }
    .residence_search_menu{
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }
    .residence_search_menu.search_open{
        left: -34.5rem;
        opacity: 0;
        pointer-events: none;
    }
    .residenceListWrap .residenceList, .residenceListWrap.search_open .residenceList{
        width: calc(100% - 30px);
    }
    .residenceList > li .img{
        height: 31rem;
    }
    .residenceList > li .data2 .name{
        min-height: unset;
    }
    .residenceList > li .data2 .address{
        font-size: 1.6rem;
        margin: 1rem 0;
        min-height: unset;
    }
    .residenceList > li .data2 .price{
        margin-bottom: 1rem;
    }
    .residenceList > li .data2 .name p,
    .residenceList > li .data2 .address p{
        position: static;
        transform: unset;
    }
    .residenceList > li .data2 .price dt{
        font-size: 1.9rem;
    }
    .residenceList > li .data2 .size{
    }
    .residenceList > li .data2 .size dt span,
    .residenceList > li .data2 .size dd{
        font-size: 1.9rem;
    }
    .residenceList > li .data2 .size dt{
        font-size: 1.5rem;
    }
    .residenceList > li .detail > *{
        font-size: 1.2rem;
    }
    .residenceList > li .detail dl + dl{
        margin-top: .3rem;
    }
    .residenceList > li .detail dl dt{
        width: 11.5rem;
    }
    .residenceList > li .detail .left dl:last-child dt{
        width: 9.6rem;
    }
    .residenceList > li .detail .right dl dt{
        width: 50%;
    }
    .residenceList > li .detail dl dd{
        flex: 1;
        text-align: right;
    }
    #search_close{
        margin: 6.8rem 0 0 auto;
        width: 4.8rem;
        height: 4.8rem;
        background-image: url(/grantact/img/common/icon_filter_close.svg);
        background-position: center center;
        background-size: auto 1.4rem;
        background-repeat: no-repeat;
    }

    /* spメニュー用 */
    .pre_seatch_box {
        height: auto;
    }
    .pre_seatch_box a + a{
        margin-top: .2rem;
    }
    #form_wrap .form_title{
        border: none;
    }
    .sec_search > .contents{
        width: 100%;
    }
    .residenceListWrap .residenceList > li,
    .residenceListWrap.search_open .residenceList > li{
        width: 100%;
    }
    #form_wrap .checkbox{
        font-size: 1.4rem;
    }
    #form_wrap .form_sec{
        padding: 30px 0;
    }
    .residenceListWrap.search_open .note{
    }
    #form_wrap .form_slct_area{
        gap: 2rem .5rem;
    }
    #form_wrap .form_slct_area > *:nth-child(2n+1){
        width: 55%;
    }
    #form_wrap .form_slct_area > *:nth-child(2n){
        width: calc(45% - .5rem);
    }
    #form_wrap .form_sec_01 .form_slct_area > img{
        width: 100%;
    }
    #form_wrap .form_sec_04 .checkbox{
        width: 100%;
    }
    #form_wrap .form_slct_area.select_wrap > label{
        width: 15.3rem;
    }
    #form_wrap .form_slct_area.select_wrap > span{
        width: 1.8rem;
    }
    .pager .num{
        color: #D9D9D9;
        position: static;
        text-align: center;
        font-size: 1.4rem;
        margin-bottom: 5.5rem;
        letter-spacing: 0.075em;
    }
    #hint_modal .modal_close{
        top: -5rem;
        width: 3rem;
        height: 3rem;
    }
    #hint_modal .modal_contents{
        padding: 2rem;
        max-height: 75vh;
        overflow-y: scroll;
    }
    #inc_search .submit_btn{
        font-size: 1.8rem;
        padding: 1.775rem 2rem;
    }
}
