@charset "UTF-8";

/* =======================================================

ISOMETRIC MAP

======================================================= */

map area {
    cursor: pointer;
}

.top-page__mv img {
    width: 100%;
    height: auto;
}

.top-page__mv .pin img {
    width: 100%;
    display: inline-block;
    vertical-align: top;
}

.image-map {
    position: relative;
    z-index: 98;
}

.image-map .pin {
    position: absolute;
    cursor: pointer;
    z-index: 99;
    width: 1.23%;
    height: 3.47%;
}

.image-map .pin .icon-pin {
    position: absolute;
    cursor: pointer;
    z-index: 99;
    width: 100%;
    height: 100%;
    background-image: url(../img/top/map__icon--pin.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.top-page__mv {
    height: auto;
}


/* MODAL */

html {
    height: 100vh;
}

.no-scroll {
    position: fixed;
    width: 100%;
    height: 100%;
    padding-right: 17px;
}

.image-modal {
    margin-bottom: 10px;
}

.section-title {
    font-weight: bold;
    font-size: 40px;
    margin-bottom: 40px;
    color: #ff8a00;
}

.lightbox {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1000;
}

.lightbox .wrapper {
    width: 100%;
    height: 100%;
    padding: 0;
}

.lightbox .popup-light-box {
    width: 100%;
    height: 100%;
}

.lightbox .popup-light-box-cell {
    top: 50%;
    left: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    width: 100%;
}

.lightbox .lightbox-window {
    margin: auto;
    overflow: hidden;
    max-width: 728px;
    background-color: #fff;
    box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.75);
}

.lightbox .plan-header {
    position: relative;
}

.lightbox .plan-header .popup-icon-close {
    position: absolute;
    width: 25px;
    right: 0;
    top: 0;
    font-size: 28px;
    color: #b90000;
    cursor: pointer;
    text-indent: -999999px;
    width: 26px;
    height: 26px;
    background-image: url(../img/top/modal__icon--close.png);
}

.lightbox .plan-header .popup-icon-close:hover {
    opacity: 0.7;
}

.lightbox .item-img {
    margin-bottom: 50px;
}

.lightbox .text {
    color: #e52e71;
}

.lightbox .plan-content {
    overflow: auto;
}

@media print,
(min-width: 768px) {
    .lightbox-content .plan-header {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .lightbox-content .lightbox-wrapper {
        width: auto;
        padding: 50px 20px;
    }
    .lightbox-content .plan-header .title {
        font-size: 15px;
    }
}


/* Lightbox Content  */

.lightbox .plan-content .title {
    font-weight: bold;
}

.lightbox .plan-tags {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
}

.lightbox .plan-tags li {
    color: #ffffff;
    background-color: #317CBF;
    border-radius: 15px;
    text-align: center;
    margin: 0 0 5px 10px;
    line-height: 1.813;
}

.lightbox .plan-tags li a {
    color: #ffffff;
    background-color: #317CBF;
    border-radius: 15px;
    text-align: center;
    display: flex;
    padding: 0px 13px 1px;
    align-items: center;
    -webkit-transition: ease 0.3s;
    transition: ease 0.3s;
}

.lightbox .plan-tags li a::after {
    font-family: "Font Awesome 6 Free";
    content: '\f35d';
    font-size: 0.7em;
    margin: 0px 3px;
    font-weight: 900;
}

.lightbox .plan-tags li a:hover {
    background-color: #64aeee;
}

.lightbox .plan-tags li span {
    padding: 0 13px 1px;
}

.lightbox .plan-tags li a p {
    display: inline-block;
    padding: 0;
}

.lightbox .plan-item {
    padding: 35px 0 40px;
    border-top: 1px solid #9C9C9D;
}

.lightbox .plan-item:first-child {
    border-top: none;
    padding-top: 0;
}

.lightbox .plan-item:last-child {
    padding-bottom: 0;
}

.lightbox .plan-description {
    font-size: 15px;
    line-height: 1.75;
}

.lightbox .plan-description p a {
    text-decoration: underline;
    color: #317CBF;
}

.lightbox .plan-description p a:hover {
    text-decoration: none;
}

.lightbox .plan-description p {
    margin-top: 1em;
}

.lightbox .plan-description p:first-child {
    margin-top: 0;
}

@media (min-width: 769px) {
    .lightbox .plan-header .popup-icon-close {
        top: 15px;
        right: 15px;
    }
    .lightbox .lightbox-window {
        width: 80%;
    }
    .lightbox .plan-content .title {
        color: #192E86;
        font-size: 20px;
    }
    .lightbox .plan-tags li {
        /* font-size: 16px; */
        /* padding: 0 13px 1px; */
    }
    @-moz-document url-prefix() {
        .lightbox .plan-tags li {
            /* padding: 0 13px 2px; */
            /* line-height: 1.69; */
        }
        .lightbox .plan-description {
            letter-spacing: -0.04em;
        }
    }
    @media not all and (min-resolution:.001dpcm) {
        @supports (-webkit-appearance: none) {
            .lightbox .plan-tags li {
                padding: 0 13px;
            }
            .lightbox .plan-description {
                letter-spacing: -0.04em;
            }
        }
    }
    .lightbox .plan-tags {
        margin-top: 18px;
    }
    .lightbox .plan-content {
        padding: 46px 50px;
        max-height: 70vmin;
    }
    .lightbox .plan-description {
        margin-top: 16px;
    }
}


/* Animation  */

@keyframes bounce {
    0%,
    20%,
    53%,
    to {
        -webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
        animation-timing-function: cubic-bezier(.215, .61, .355, 1);
        -webkit-transform: translateZ(0);
        transform: translateZ(0)
    }
    40%,
    43% {
        -webkit-animation-timing-function: cubic-bezier(.755, .05, .855, .06);
        animation-timing-function: cubic-bezier(.755, .05, .855, .06);
        -webkit-transform: translate3d(0, -30px, 0) scaleY(1.1);
        transform: translate3d(0, -30px, 0) scaleY(1.1)
    }
    70% {
        -webkit-animation-timing-function: cubic-bezier(.755, .05, .855, .06);
        animation-timing-function: cubic-bezier(.755, .05, .855, .06);
        -webkit-transform: translate3d(0, -15px, 0) scaleY(1.05);
        transform: translate3d(0, -15px, 0) scaleY(1.05)
    }
    80% {
        -webkit-transform: translateZ(0) scaleY(.95);
        transform: translateZ(0) scaleY(.95);
        -webkit-transition-timing-function: cubic-bezier(.215, .61, .355, 1);
        transition-timing-function: cubic-bezier(.215, .61, .355, 1)
    }
    90% {
        -webkit-transform: translate3d(0, -4px, 0) scaleY(1.02);
        transform: translate3d(0, -4px, 0) scaleY(1.02)
    }
}

.animate-bounce {
    -webkit-animation-name: bounce;
    animation-name: bounce;
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}


/* Mobile View */

@media (max-width: 768px) {
    .list-image-map {
        display: flex;
        flex-wrap: wrap;
        margin: -1px;
    }
    .list-image-map li {
        width: 50%;
        padding: 1px;
    }
    .list-image-map li img {
        width: 100%;
    }
    .map-description {
        background-color: #EEF0F7;
        padding: 20px 20px 15px;
        text-align: center;
    }
    .map-description .title {
        font-size: 21px;
        font-weight: bold;
        color: #172A88;
        line-height: 1.238;
        padding: 5px 0;
    }
    .map-description .description {
        color: #42493A;
        font-weight: 500;
        margin-top: 5px;
        font-size: 15px;
        line-height: 1.5;
    }
    .map-description .sub-title {
        font-size: 18px;
        font-weight: bold;
        color: #172A88;
        margin-top: 12px;
    }
    .lightbox .plan-header .popup-icon-close {
        background-image: url(../img/top/modal__icon--close--sp.png);
        background-size: 100% auto;
    }
    .lightbox .popup-light-box-cell {
        width: 100%;
        padding: 0 20px;
    }
    .lightbox .lightbox-window {
        padding: 0;
        width: 100%;
    }
    .lightbox .plan-content .title {
        color: #000000;
        font-size: 18px;
    }
    .lightbox .plan-tags li {
        /* font-size: 15px; */
        margin-top: 10px;
        /* padding: 0 15px 1px; */
    }
    .lightbox .plan-tags {
        margin-top: 2px;
    }
    .lightbox .plan-content {
        padding: 50px 25px 40px;
        max-height: 99vmin;
    }
    .lightbox .plan-description {
        margin-top: 14px;
    }
}

@media (max-width: 374px) {
    .map-description .title {
        font-size: 18px;
    }
    .map-description .description {
        font-size: 13px;
    }
    .map-description .sub-title {
        font-size: 16px;
    }
}


/* ISOMETRIC TOWN: PINS */

.image-map .pin-town-01 {
    left: 7.18%;
    top: 6.6%;
}

.image-map .pin-town-02 {
    right: 15.15%;
    top: 10.4%;
}

.image-map .pin-town-03 {
    left: 23.8%;
    top: 18.3%;
}

.image-map .pin-town-04 {
    left: 53.55%;
    top: 7%;
}

.image-map .pin-town-06 {
    left: 79.9%;
    top: 39.1%;
}

.image-map .pin-town-07 {
    left: 66.2%;
    top: 15.3%;
}

.image-map .pin-town-08 {
    left: 66.1%;
    bottom: 29%;
}

.image-map .pin-town-10 {
    left: 14.688%;
    top: 12.9%;
}

.image-map .pin-town-11 {
    left: 13.4%;
    top: 29.25%;
}

.image-map .pin-town-12 {
    left: 5.188%;
    bottom: 32.1%;
}

.image-map .pin-town-13 {
    left: 28.65%;
    bottom: 26.2%;
}

.image-map .pin-town-14 {
    left: 53.55%;
    bottom: 29.6%;
}

.image-map .pin-town-15 {
    left: 55.5%;
    top: 31.4%;
}

.image-map .pin-town-16 {
    left: 34.3%;
    top: 46.2%;
}

.image-map .pin-town-19 {
    left: 38.8%;
    top: 35.4%;
}

.image-map .pin-town-21 {
    left: 32.5%;
    top: 23.6%;
}

.image-map .pin-town-22 {
    left: 17.8%;
    bottom: 32.2%;
}

.image-map .pin-town-25 {
    left: 25.7%;
    top: 36.3%;
}


/* ISOMETRIC HOUSE: PINS */

.image-map .pin-house-01 {
    left: 13.98%;
    top: 43.6%;
}

.image-map .pin-house-02 {
    left: 7.68%;
    top: 64.5%;
}

.image-map .pin-house-04 {
    left: 23.38%;
    top: 56.3%;
}

.image-map .pin-house-05 {
    left: 30.98%;
    top: 55.4%;
}

.image-map .pin-house-08 {
    left: 27.68%;
    top: 47.7%;
}

.image-map .pin-house-11 {
    left: 16.38%;
    top: 70.3%;
}

.image-map .pin-house-12 {
    left: 55.18%;
    top: 4.9%;
}

.image-map .pin-house-14 {
    left: 49.28%;
    top: 19.9%;
}

.image-map .pin-house-16 {
    left: 74.08%;
    top: 24.8%;
}

.image-map .pin-house-18 {
    left: 66.68%;
    top: 19.3%;
}

.image-map .pin-house-22 {
    left: 40.58%;
    top: 72.5%;
}

.image-map .pin-house-25 {
    left: 58.28%;
    top: 63.9%;
}

.image-map .pin-house-26 {
    left: 71.58%;
    top: 62.6%;
}

.image-map .pin-house-29 {
    left: 72.88%;
    top: 47.3%;
}

.image-map .pin-house-28 {
    left: 84.18%;
    top: 35.2%;
}

.image-map .pin-house-31 {
    left: 64.88%;
    top: 68%;
}

.image-map .pin-house-32 {
    left: 75.18%;
    top: 70.6%;
}


/* ISOMETRIC NATURAL: PINS */

.image-map .pin-natural-01 {
    left: 60.78%;
    top: 3.5%;
}

.image-map .pin-natural-02 {
    left: 83.08%;
    top: 3.6%;
}

.image-map .pin-natural-03 {
    left: 25.48%;
    top: 10.8%;
}

.image-map .pin-natural-04 {
    left: 42.78%;
    top: 5%;
}

.image-map .pin-natural-05 {
    left: 78.68%;
    top: 49.4%;
}

.image-map .pin-natural-06 {
    left: 45.18%;
    top: 55.9%;
}

.image-map .pin-natural-08 {
    left: 86.38%;
    top: 64.7%;
}

.image-map .pin-natural-09 {
    left: 7.38%;
    top: 47.8%;
}

.image-map .pin-natural-10 {
    left: 46.68%;
    top: 84.1%;
}

.img-border {
    width: 100%;
    height: 100%;
    background-size: 100% auto;
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
}