@charset "utf-8";

/* home.css
 * ======================================
 *  PC
 * ====================================== */

/* Common
----------------------------------------- */

/* details */
.details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 30px 0;
}

.details .column {
    width: 460px;
}

.details dl {
    display: table;
    width: 100%;
}

.details dl dt,
.details dl dd {
    background-color: #ffffff;
    background-image: linear-gradient(180deg, transparent 29px, #D8E0E5 29px);
    background-position: 0 0;
    background-repeat: repeat;
    background-size: 30px 30px;
    line-height: 30px;
    display: table-cell;
    text-align: left;
    vertical-align: top;
}

.details dl dt {
    font-weight: 700;
    padding: 0 0 0 9px;
    position: relative;
    width: 130px;
}

.details dl dt::before {
    background-color: #003656;
    content: '';
    display: block;
    height: 1em;
    position: absolute;
    top: 0.5em;
    left: 0;
    width: 3px;
}

.details dl dd {
    width: calc(100% - 130px);
}

/* downloads */
.downloads ul li a {
    color: #2CA2BE;
}

/* notes */
.notes {
    font-size: 1.3rem;
}

.notes h5 {
    background-image: url(../images/common/icon_attention.svg), url(../images/common/icon_attention.svg);
    background-position: left center, right center;
    background-repeat: no-repeat;
    display: table;
    padding: 0 20px;
}

/* Main visual
----------------------------------------- */

.swiper-pagination-bullet {
    background-color: #003656;
}

/* News
----------------------------------------- */

.home #news .whatsnew {
    position: relative;
}

.home #news .whatsnew h2 {
    font-size: 2rem;
    text-align: left;
}

.home #news .whatsnewBox {
    border: 4px solid #CFD9DF;
    margin: 0.76em 0 0 0;
    padding: 25px 4%;
}

.home #news .whatsnewBox .scroll {
    height: 140px;
    overflow-y: scroll;
}

.home #news .whatsnewBox dl {
    border-bottom: 1px dashed #CFD9DF;
    display: table;
    font-size: 1.6rem;
    width: 100%;
}

.home #news .whatsnewBox dl dt,
.home #news .whatsnewBox dl dd {
    display: table-cell;
    line-height: 1.28;
    padding: 0.62em 0;
    text-align: left;
    vertical-align: top;
}

.home #news .whatsnewBox dl dt {
    width: 190px;
}

.home #news .whatsnewBox dl dd {
    width: calc(100% - 190px);
}

.home #news .whatsnew p {
    margin: 0;
    position: absolute;
    top: 5px;
    right: 0;
    text-align: right;
}

.home #news .whatsnew p a {
    background: url(../images/common/icon_arrow_link.svg) no-repeat left center;
    background-size: 1em;
    padding: 0 0 0 20px;
    text-decoration: none;
}

/* Rental facility
----------------------------------------- */

.home #facility .mv {
    margin: 0 0 39px;
}

.home #facility h3 {
    font-size: 2.5rem;
}

.home #facility h4 {
    background-color: #D9E1E6;
    display: inline-block;
    padding: 0 1em 0 0;
    min-width: 314px;
}

.home #facility h4 span {
    background-color: #003656;
    color: #ffffff;
    display: inline-block;
    margin: 0 0.66em 0 0;
    padding: 0.26em 0;
    text-align: center;
    width: 2em;
}

.home #facility .contact {
    background-color: #D9E1E6;
    margin: 52px auto 0;
    padding: 10px 0;
    width: 550px;
}

.home #facility .contact dl {
    font-weight: 700;
    text-align: center;
}

/* Map
----------------------------------------- */

.home #map {
    background-color: #FFF3C9;
}

.home #map .spot {
    align-items: center;
    border-top: 1px solid #003656;
    display: flex;
    font-weight: 700;
    line-height: 1.8;
    justify-content: center;
    padding: 10px 0;
}

.home #map .spot:last-child {
    border-bottom: 1px solid #003656;
}

.home #map .spot .icon {
    width: 82px;
}

.home #map .spot dl {
    margin: 0 18px;
    width: 522px;
}

.home #map .spot dl dt {
    font-size: 1.6rem;
}

.home #map .spot dl dd {
    font-size: 1.4rem;
    word-break: break-word;
}

.home #map .spot .image {
    width: 135px;
}

/* Access
----------------------------------------- */

.home #access {
    background-color: #D9E1E6;
    padding-bottom: 0;
}

.home #access .columns {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 45px;
}

.home #access .columns>* {
    width: 50%;
}

.home #access .gMap {
    height: 470px;
    margin: 0 -45px;
    position: relative;
    width: 1050px;
}

.home #access .gMap iframe {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

/* Banner
----------------------------------------- */

/* 花園指定管理共通（カラー以外） */
.home .banner {
    margin: 52px auto;
    width: 960px;
}

.home .banner h3 {
    border-bottom: 4px solid #003656;
    font-size: 2.0rem;
    margin: 0 0 10px;
    padding: 0 0 0.2em;
}

.home .banner h3:not(:first-child) {
    margin-top: 58px;
}

.home .banner h3 span {
    font-size: 0.8em;
}

.home .banner ul {
    list-style: none;
    margin: 0 -13px 0 0;
    overflow: hidden;
}

.home .banner ul li {
    float: left;
    margin: 10px 13px 0 0;
    width: 230px;
}

.home .banner ul li a:hover {
    opacity: 0.8;
}

/* =====================================
 *  SP
 * ===================================== */

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

    /* Common
----------------------------------------- */

    /* details */
    .details {
        margin: 21px 0;
    }

    .details .column {
        width: 100%;
    }

    .details dl,
    .details dl dt,
    .details dl dd {
        display: block;
    }

    .details dl dt,
    .details dl dd {
        background-image: linear-gradient(180deg, transparent 35px, #D8E0E5 35px);
        background-size: 36px 36px;
        line-height: 36px;
    }

    .details dl dt {
        width: 100%;
    }

    .details dl dt::before {
        top: 0.7em;
    }

    .details dl dd {
        padding-left: 9px;
        width: 100%;
    }

    /* Main visual
----------------------------------------- */

    /* News
----------------------------------------- */

    .home #news .whatsNew {
        padding-top: 0.5em;
        padding-right: 10px;
        padding-bottom: 0.5em;
    }

    .home #news .whatsnewBox .iframeWrapper {
        height: 60px;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .home #news .whatsnewBox iframe {
        display: block;
        height: 100%;
        width: 100%;
    }

    .home #news .whatsnewBox dl {
        display: block;
        padding: 1em 0;
    }

    .home #news .whatsnewBox dl dt {
        display: block;
        padding: 0;
        width: 100%;
    }

    .home #news .whatsnewBox dl dd {
        display: block;
        padding: 0.4em 0 0 0;
        width: 100%;
    }

    .home #news .whatsnew p {
        clear: both;
        float: right;
        margin-top: 1em;
        position: static;
    }

    /* Rental facility
----------------------------------------- */

    .home #facility .mv {
        margin-bottom: 23px;
    }

    .home #facility h4 {
        min-width: initial;
        width: 100%;
    }

    .home #facility .contact {
        margin-top: 36px;
        width: 100%;
    }

    /* Map
----------------------------------------- */

    .home #map .map {
        margin-left: -5%;
        margin-right: -5%;
        width: 110%;
    }

    .home #map .spots {
        align-items: start;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .home #map .spot {
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 15px 0;
        width: 48%;
    }

    .home #map .spot:nth-last-child(2) {
        border-bottom: 1px solid #003656;
    }

    .home #map .spot .icon {
        width: 30%;
    }

    .home #map .spot dl {
        margin: 10px 0 0 0;
        order: 2;
        width: 100%;
    }

    .home #map .spot dl dt {
        font-size: 1.5rem;
        line-height: 1.5;
    }

    .home #map .spot dl dd {
        font-family: Helvetica, Arial, sans-serif;
        font-size: 1.3rem;
        font-weight: 500;
        letter-spacing: 0.05em;
        line-height: 1.3;
        margin-top: 0.25em;
    }

    .home #map .spot dl dd span {
        display: block;
        font-size: 1.2rem;
        margin-top: 0.4em;
    }

    .home #map .spot .image {
        margin-left: 8%;
        width: 62%;
    }

    /* Access
----------------------------------------- */

    .home #access .columns {
        margin-bottom: 32px;
    }

    .home #access .columns>* {
        width: 100%;
    }

    .home #access .columns>*:first-child {
        margin-bottom: 32px;
    }

    .home #access .gMap {
        height: 330px;
        margin: 0 -5%;
        width: 110%;
    }

    /* Banner
----------------------------------------- */

    /* 花園指定管理共通（カラー以外） */
    .home .banner {
        margin: 15% 0 0 0;
        padding: 0 5%;
        width: 100%;
    }

    .home .banner h3 {
        font-size: 1.6rem;
    }

    .home .banner h3:not(:first-child) {
        margin-top: 10%;
    }

    .home .banner h3 span {
        display: block;
    }

    .home .banner ul {
        margin-right: 0;
    }

    .home .banner ul li {
        margin: 2% 2.74% 0 0;
        width: 48.63%;
    }

    .home .banner ul li:nth-child(even) {
        margin-right: 0;
    }
}