@charset "utf-8";

#facilities {
    letter-spacing: 0.02em;
}

#facilities .nav {
    margin-bottom: 7rem;
}

#facilities .nav a {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    line-height: 1;
    text-align: center;
    width: 24%;
    text-align: center;
    border: 1px solid #000;
    padding: 2rem 0;
    font-weight: bold;
    border: 1px solid #000;
    letter-spacing: 0.1em;
    font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ","MS Pゴシック","MS PGothic",sans-serif;
}

#facilities .nav a.active,
#facilities .nav a:hover {
    background: #5f514e;
    color: #fff;
    border-color: #5f514e;
}

#facilities .group {
    margin-bottom: 6rem;
}

#facilities .group h3 {    
    font-weight: bold;
    border-bottom: 4px solid #000;
    position: relative;
    margin-bottom: 4rem;
    letter-spacing: 0.1em;
}

#facilities .group h3::after {
    position: absolute;
    content: '';
    left: 0;
    bottom: -10px;    
    width: 100%;
    height: 1px;
    background: #000;
}

#facilities .group h3 span:nth-child(1) {
    font-size: 2.5rem;
    font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ","MS Pゴシック","MS PGothic",sans-serif;
}

#facilities .group h3 span:nth-child(2) {
    font-size: 1.5rem;
    margin-left: 2rem;
}

#facilities .item {
    margin-bottom: 5rem;
}

#facilities .item h4 {
    font-weight: bold;
    font-size: 1.8rem;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #000;
    letter-spacing: 0.1em;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#facilities .item h4 span:nth-child(1) {
    line-height: 1;
    width: 40px;
    height: 40px;
    line-height: 36px;
    text-align: center;
    background: #000;
    color: white;
    margin-right: 10px;
}

#facilities .item h4 span:nth-child(2) {
    width: calc(100% - 50px);
    line-height: 1.3;
}

#facilities .item p {
    font-size: 1.4rem;
}

#facilities .item .cap {
    font-size: 1.3rem;
    margin-top: 1rem;    
}

#facilities .item .cap-r {
    text-align: right;
}

#facilities .item .img-left {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#facilities .item .img-left .photo {
    width: 46%;
    max-width: 220px;
}

#facilities .item .img-left .txt {
    width: 52%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#facilities .item .photo-flex-center {
    align-items: center;
}

#facilities .item .photo-center {
    text-align: center;
}

#facilities .item .photo-center figure {
    display: inline-block;
}


#facilities .list .col {
    width: 48.3%;
}

/* multimedia */
#facilities .item-Upcom h4 {
    padding: 2rem 0;
    background: url(../images/facilities/multimedia-04.png) no-repeat center right/auto auto;
}

#facilities .item-Upcom .img-left .photo {
    order: 2;
    width: 78.6%;
    max-width: unset;
}

#facilities .item-Upcom .img-left .txt {
    order: 1;
    width: 19%;
}

#facilities .item-Upcom .cap {
    order: 3;
    width: 100%;
    margin-top: 2rem;
}

/* safety */

#facilities #security .item-01 .photo {
    width: 44.3%;
}

#facilities #security .item-01 .txt {
    width: 52%;
}

#facilities #security .item-01 .p1 {
    font-weight: bold;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

#facilities #security .item-01 li:nth-child(1){flex: 1; padding-right: 20px;}
#facilities #security .item-01 li:nth-child(2){width: 44.7%;}
#facilities #security .item-01 .cap{text-align: left;}

#facilities #security .item-02 .photo{margin-top: 30px;}
#facilities #security .item-02 .photo figure:nth-child(1) {
    margin-bottom: 10px;   
}

#facilities #security .item-02 .ninja-clock li {
    width: 47.73%;
}

#facilities #security .item-04 .photo {
    margin: 4rem 0;
}

#facilities #security .item-04 .camera {
    align-items: center;
}

#facilities #security .item-04 .camera .col-01 {
    width: 70%;
}

#facilities #security .item-04 .camera .col-01 p:nth-child(1) {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

#facilities #security .item-04 .camera .col-02 {
    width: 24.08%;
}



/* eco */

#facilities #water .item-01 .photo ul {
    max-width: 880px;
    width: 100%;
    margin: 0 auto;
    background: url(../images/facilities/ic-01.png) no-repeat center center;
}

#facilities #water .item-01 .photo ul li {
    width: 48.42%;
}

#facilities #durability .list .col:nth-child(1) {
    width: 34%;
}

#facilities #durability .list .col:nth-child(2) {
    width: 62%;
}

#facilities #durability .item-02 .img-left .photo {
    width: 65.6%;
    max-width: unset;
}

#facilities #durability .item-02 .img-left .txt {
    width: 33%;
}

#facilities #durability .item-02 .caption{font-size: 1.3rem; margin-top: 10px;}

/* MEDIA */
@media screen and (max-width: 768px) {

    #facilities .nav {
        margin-bottom: 4rem;
    }
    
    #facilities .nav a {
        width: 49%;
        margin-bottom: 2%;
        line-height: 1.2;
    }

    #facilities .group {
        margin-bottom: 4rem;
    }

    #facilities .group h3 span:nth-child(1) {
        font-size: 4vw;
        letter-spacing: 0;
    }

    #facilities .group h3 span:nth-child(2) {
        font-size: 1.4rem;
        display: block;
        margin-left: 0;
    }

    #facilities .list .col {
        width: 100% !important;
    }

    #facilities .item h4 span:nth-child(1) {
        width: 30px;
        height: 30px;
        font-size: 1.6rem;
    }

    /* multimedia */
    #facilities .item-Upcom h4 {
        padding-right: 10rem;
        background-position: top 2rem right;
        background-size: 10rem auto;
    }

    #facilities .item-Upcom .img-left .txt {
        width: 100%;
        margin-bottom: 2rem;
    }

    #facilities .item-Upcom .img-left .photo {
        width: 100%;
    }

    /* safety */
    #facilities #security .item-01 .photo {
        width: 100%;
        margin-bottom: 2rem;
        text-align: center;
    }

    #facilities #security .item-01 .txt {
        width: 100%;
    }

    #facilities #door .item {
        position: relative;
        border: 1px solid #000;
        padding: 4rem 2rem 2rem;
    }

    #facilities #door .item h4 {
        font-size: 1.6rem;
        border-bottom: 0;
        padding-bottom: 0;
        margin-bottom: 1rem;
    }

    #facilities #door .item > span {
        position: absolute;
        top: 0;
        left: 0;
        line-height: 1;
        width: 30px;
        height: 30px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
        background: #000;
        color: white;
        margin-right: 10px;
    }

    /* eco  */
    #facilities #water .item-01 .photo ul {
        background: none;
    }

    #facilities #water .item-01 .photo ul li {
        width: 100%;
        margin-bottom: 2rem;
    }
    #facilities #water .item-01 .photo ul li:last-child {
        margin-bottom: 0;
    }

    #facilities #durability .item-01 .photo {
        width: 100%;
        max-width: 340px;
        margin: 0 auto 2rem;
    }

    #facilities #durability .item-02 .img-left .photo {
        width: 100%;
        max-width: 405px;
        margin: 0 auto 2rem;
    }

    #facilities #durability .item-02 .img-left .txt {
        width: 100%;
    }

    .img-door img {
        margin: 0 auto 30px;
    }

    #facilities #security .item-01 li:nth-child(1){padding: 0 0 10px;}
    #facilities #security .item-01 li:nth-child(2) {width: 100%; text-align: center;}

}

#facilities .item01 .img-left .photo{max-width: 420px;}
#facilities .item01 .img-left .txt{width: 56%;}
#facilities #multi .item-02 .img-left .photo{max-width: 150px;}
#facilities #multi .item-02 .img-left .txt{width: 66%;}

#water .item-02 .photo{margin-top: 4rem;}

@media screen and (max-width: 768px){
    #facilities .item01 .img-left .txt{width: 52%;}
    #water .item-02 .photo{margin-top: 20px;}
}

#elevator .item-02 .img-left .photo{max-width: 222px;}

/* MEDIA */
@media screen and (max-width: 768px) {
    #facilities .item .img-left .photo{width: 45%;}
    #facilities .item .img-left .txt{flex: 1; padding-left: 10px;}
    #facilities .item p{font-size: 1.3rem;}
    #facilities .item .cap{font-size: 1rem;}
}
