@import url("cssreset.css");
@import url("base.css");
@import url("header.css");
@import url("footer.css");


/* top.css */

/* kv */
section#kv {
    position: relative;
    width: 100%;
    height: 300px;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-image: url("../images/top/kv_pc.jpg");
    margin-bottom: 20px;
    border-top: 1px dashed #b39494;
}
section#kv:before {
    position: absolute;
    left: 0;
    bottom: 57px;
    width: 65%;
    height: 158px;
    background-color: #eb5c02;
    mix-blend-mode: multiply;
    margin: auto;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 1;
    content: "";
}
section#kv:after {
    position: absolute;
    top: 26px;
    right: 0;
    width: 68%;
    height: 158px;
    background-color: #000000;
    margin: auto;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    opacity: 0.4;
    content: "";
}
section#kv h1 {
    position: absolute;
    left: 50%;
    bottom: 57px;
    width: 436px;
    z-index: 2;
    transform: translateX(-460px);
}
@media only screen and (max-width: 1100px) {
    section#kv h1 {
        left: 3%;
        transform: none;
    }
}
@media only screen and (max-width: 768px) {
    section#kv {
        height: 74vw;
    }
    section#kv:before {
        bottom: 14vw;
        width: 88vw;
        height: 32vw;
    }
    section#kv:after {
        top: 12vw;
        width: 64vw;
        height: 32vw;
    }
    section#kv h1 {
        left: 1%;
        bottom: 14vw;
        width: 88vw;
    }
}
@media only screen and (max-width: 750px) {
    section#kv {
        height: 0;
        background-image: url("../images/top/kv_sp.jpg");
        padding-top: 100%;
    }
    section#kv h1,
    section#kv:before,
    section#kv:after {
        display: none;
    }
}


/* properties */
section#properties {
    background-image: url("../images/common/bg_grids.png");
}
section#properties .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 94%;
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
    padding: 18px 0;
}
section#properties h2 {
    width: 5em;
    padding-bottom: 0.25em;
    text-align: left;
    line-height: 1.0;
    font-family: "Oswald", sans-serif;
    font-size: 36px;
    font-weight: 500;
}
section#properties ul {
    display: flex;
    justify-content: flex-end;
    width: calc(100% - 5.5em);
    margin-bottom: 15px;
    font-size: 36px;
}
section#properties ul li {
    width: 32%;
    max-width: 196px;
    margin-left: 1%;
}
section#properties ul li:first-child {
    margin-left: 0;
}
section#properties .search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #ffffff;
    padding: 5px 15px;
    border-radius: 9999px;
    box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.4);
}
section#properties .search h3 {
    margin-right: 1em;
    font-size: 14px;
    font-weight: 700;
}
section#properties .search label input {
    display: none;
}
section#properties .search label {
    display: block;
    background-color: #eb5c02;
    margin-right: 5px;
    padding: 0.35em 2.25em 0.25em;
    border-radius: 9999px;
    line-height: 1.0;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: all .5s ease;
    cursor: pointer;
}
section#properties .search label:hover {
    opacity: 0.7;
}
section#properties .search a {
    display: block;
    position: relative;
    padding-right: 1.25em;
    line-height: 1.2;
    font-size: 12px;
    font-weight: 700;
    color: #464646;
    text-decoration: none;
    white-space: nowrap;
}
section#properties .search a:after {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1em;
    height: 1em;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("../images/common/arrow.png");
    content: "";
}
section#properties .search a:before {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: #464646;
    transition: all .3s ease;
    content: "";
}
section#properties .search a:hover:before {
    width: calc(100% - 1.25em);
}
/* select */
section#properties .search .select {
    position: relative;
    margin-right: 5px;
    font-size: 13px;
}
section#properties .search select {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    padding: 0.25em 2.5em 0.25em 2em;
    border: 1px solid #dedede;
    border-radius: 3px;
    font-size: 13px;
    color: #464646;
}
section#properties .search .select:after {
    position: absolute;
    top: 0.75em;
    right: 1em;
    width: 0.65em;
    height: 0.45em;
    background-color: #eb5c02;
    clip-path: polygon(0 0, 100% 0%, 50% 100%);
    pointer-events: none;
    content: "";
}
section#properties .search select option:first-child {
    color: #868686;
}

@media only screen and (max-width: 900px) {
    section#properties .search {
        justify-content: center;
        flex-wrap: wrap;
    }
    section#properties .search h3 {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.5em;
    }
}
@media only screen and (max-width: 768px) {
    section#properties .inner {
        flex-direction: column;
        padding: 2vw 0 4vw;
    }
    section#properties h2 {
        width: auto;
        line-height: 1.4;
        font-size: 6.8vw; 
    }
    section#properties h2 br {
        display: none;
    }
    section#properties ul {
        width: 100%;
        justify-content: space-between;
    }
    section#properties ul li {
        max-width: inherit;
        margin-left: inherit;
    }
    section#properties .search {
        border-radius: 20px;
    }
    section#properties .search h3 {
        margin-bottom: 0;
        font-size: 3.6vw;
    }
    section#properties .search label {
        margin-left: auto;
        margin-right: auto;
        font-size: 3.2vw;
    }
    section#properties .search .list {
        width: 100%;
        text-align: right;
    }
    section#properties .search a {
        display: inline-block;
        margin-bottom: 0.5em;
        font-size: 3.2vw;
    }
    section#properties .search a:before {
        display: none;
    }
    section#properties .search .select {
        margin-bottom: 0.5em
    }
    section#properties .search .select:last-of-type {
        margin-right: 0;
    }
    section#properties .search .select:after {
        font-size: 3.0vw;
    }
    section#properties .search select {
        font-size: 3.0vw;
    }
}


/* renting */
section#renting {
    padding-top: 30px;
    padding-bottom: 65px;
}
section#renting ul {
    display: flex;
    justify-content: space-between;
    width: 90%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
section#renting ul li {
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 320px;
    border-bottom: 1px solid #8a8a8a;
}
section#renting ul li a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
section#renting ul li a:hover {
    background-color: rgba(255,255,255,0.3);
}
section#renting ul li img {
    width: 160px;
}
section#renting ul li p {
    position: relative;
    text-align: left;
    line-height: 1.1;
    font-family: "Oswald", sans-serif;
    font-size: 31px;
    font-weight: 500;
}
section#renting ul li p:after {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0.15em;
    width: 0.75em;
    height: 0.75em;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("../images/common/arrow.png");
    content: "";
}
@media only screen and (max-width: 768px) {
    section#renting {
        padding-top: 6vw;
        padding-bottom: 14vw;
    }
    section#renting ul {
        max-width: inherit;
    }
    section#renting ul li {
        width: 48.5%;
    }
    section#renting ul li img {
        width: 52%;
    }
    section#renting ul li p {
        font-size: 4.0vw;
    }
    section#renting ul li a:hover {
        background-color: transparent;
    }
}


/* gray logo */
.logo-gray {
    position: absolute;
    width: 220px;
}


/* living */
section#living {
    margin-bottom: 80px;
    padding-top: 100px;
    padding-bottom: 36px;
}
section#living:before {
    display: block;
    position: absolute;
    right: 50%;
    bottom: 0;
    width: 100%;
    height: 360px;
    background-repeat: repeat-x;
    background-position: right top;
    background-image: url("../images/top/bg_gray.png");
    content: "";
}
section#living .inner {
    width: 100%;
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
section#living h2 {
    line-height: 1.4;
    font-family: "Oswald", sans-serif;
    font-size: 36px;
    font-weight: 500;
}
section#living p {
    margin-bottom: 1em;
    width: 240px;
    line-height: 1.6;
    font-size: 14px;
}
section#living a {
    display: block;
    width: 2.25em;
    height: 2.25em;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("../images/common/arrow.png");
    text-indent: -9999px;
}
section#living a:hover {
    opacity: 0.7;
}
section#living ul {
    display: flex;
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 800px;
    transform: translateX(-150px);
}
section#living ul li {
    margin-left: 10px;
}
section#living .logo-gray {
    top: -130px;
    right: -100px;
}

@media only screen and (max-width: 1000px) {
    section#living .logo-gray {
        right: -2%;
    }
}
@media only screen and (max-width: 990px) {
    section#living .inner {
        padding-left: 3%;
    }
}
@media only screen and (max-width: 860px) {
    section#living {
        padding-top: 140px;
    }
    section#living:before {
        right: 25%;
    }
    section#living p {
        width: 35%;
    }
    section#living ul {
        justify-content: space-between;
        flex-wrap: wrap;
        width: 40%;
        left: inherit;
        right: 0;
        bottom: -20px;
        transform: none;
    }
    section#living p {
        width: 55%;
    }
    section#living ul li {
        width: 49%;
        margin-top: 2%;
        margin-left: 0;
    }
    section#living .logo-gray {
        top: -180px;
        right: 3%;
        width: 16%;
    }
    section#living .logo-gray {
        display: none;
    }
}
@media only screen and (max-width: 750px) {
    section#living {
        margin-bottom: 14vw;
        padding-top: 8vw;
        padding-bottom: 10vw;
    }
    section#living:before {
        right: 10%;
        height: 100%;
        background-position: right top;
        background-size: auto 100%;
    }
    section#living h2 {
        font-size: 6.8vw; 
    }
    section#living p {
        width: 85%;
        font-size: 3.6vw; 
    }
    section#living a {
        font-size: 2.8vw; 
    }
    section#living ul {
        position: relative;
        width: 103.5%;
        margin-left: -3.5%;
    }
    section#living ul li {
        width: 24.5%;
    }
}


/* news */
section#news {
    overflow-x: hidden;
    background-image: url("../images/common/bg_stripe.png");
    margin-bottom: 110px;
    padding-top: 15px;
    padding-bottom: 15px;
}
section#news:after {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    transform: translateX(50px);
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 0% 100%);
    content: "";
}
section#news .inner {
    width: 94%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
section#news h2 {
    padding-left: 24%;
    font-family: "Oswald", sans-serif;
    font-size: 23px;
    font-weight: 500;
}
section#news dl {
    position: relative;
    z-index: 1;
}
section#news dl div {
    background-color: #ffffff;
    margin-bottom: 10px;
    padding: 0.5em 24%;
    line-height: 1.4;
}
section#news dl dt {
    font-size: 14px;
}
section#news dl dd {
    font-size: 16px;
    word-break: break-word;
}
section#news dl dd a {
    text-decoration: underline;
}
section#news dl dd a:hover {
    text-decoration: none;
}

@media only screen and (max-width: 1000px) {
    section#news:after {
        transform: translateX(25%);
    }
    section#news h2 {
        padding-left: 15%;
    }
    section#news dl div {
        padding: 0.5em 15%;
    }
}
@media only screen and (max-width: 750px) {
    section#news {
        margin-bottom: 14vw;
        padding-top: 1.4vw;
        padding-bottom: 2.4vw;
    }
    section#news:after {
        transform: translateX(35%);
    }
    section#news h2 {
        padding-left: 5%;
        font-size: 5.4vw;
    }
    section#news dl div {
        margin-bottom: 2.4vw;
        padding: 0.5em 5%;
    }
    section#news dl dt {
        font-size: 3.2vw;
    }
    section#news dl dd {
        font-size: 3.6vw;
    }
}


/* instagram */
section#ig {
    overflow: hidden;
}
section#ig:after {
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 310px;
    background-image: url("../images/common/bg_grids.png");
    transform: translateX(120px);
    z-index: -1;
    content: "";
}
section#ig h2 {
    width: 140px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 35px;
}
section#ig #insta ul {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 695px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 85px;
}
section#ig #insta ul li {
    width: 19%;
    position: relative;
    padding-bottom: 110px;
    font-size: 14px;
}

section#ig #insta ul li .thumb {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 100px;
    border-radius: 8px;
    margin-bottom: 8px;
    display: block;
}


section#ig .logo-gray {
    left: 0;
    bottom: 35px;
}


@media only screen and (max-width: 830px) {
    section#ig .logo-gray {
        width: 24%;
    }
}
@media only screen and (max-width: 750px) {
    section#ig:after {
        top: 3.6vw;
        height: 50vw;
        transform: translateX(20vw);
    }
    section#ig h2 {
        width: 32%;
        margin-bottom: 4.8vw;
    }
    section#ig #insta ul {
        width: 90%;
        margin-bottom: 18vw;
        margin-left: auto;
        margin-right: auto;
        flex-direction: column;
    }
    section#ig #insta ul li {
        width: 100%;
        padding-bottom: 0;
        margin-bottom: 3.6vw;
        font-size: 3.2vw;
    }
    section#ig #insta ul li .thumb {
        width: auto;
        height: auto;
        position: static;
        max-height: 20.4vw;
        margin-left: auto;
        margin-right: auto;
    }
    section#ig .logo-gray {
        bottom: 19vw;
        width: 20%;
    }
}


/* available properties (modal window) */

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

body.modal-open {
    overflow: hidden;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(2px);
}

.modal-content {
    position: relative;
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
    font-size: 13px;
}
  
.modal-content .container {
    border: 1px solid #ccc;
    padding: 20px;
}
.modal-content .container .split {
    display: flex;
    gap: 20px;
}
.modal-content .container .left {
    flex: 1;
}
.modal-content .container .right {
    flex: 2;
}
 .modal-content .container .right .row {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 6px 0;
}
.modal-content .container .right .label {
    flex: 1;
    font-weight: 500;
    text-align: left;
}
.modal-content .container .right .type {
    text-align: left;
}
.modal-content .container .right .type span {
    color: #a04000;
    font-weight: 500;
}
.modal-content .container .right .available {
    text-align: left;
    color: #3c763d;
    font-weight: 500;
}
.modal-content .container .right .value {
    flex: 2;
}
.modal-content .container .left .image {
    text-align: center;
    margin-bottom: 15px;
}
.modal-content .container .left .image img {
    max-width: 100%;
    height: auto;
}
.modal-content .container .left .image .footer {
    text-align: center;
    margin-top: 20px;
}

.modal-content .close {
    position: absolute;
    top: 0;
    right: 4px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.modal-content .close:hover,
.modal-content .close:focus {
    color: #000;
    text-decoration: none;
}

@media only screen and (max-width: 750px) {
    .modal-content {
        margin: 20% auto;
        width: 85%;
        padding: 20px;
    }
}
