@charset "UTF-8";
.page-detail {
  background: #f0f4f8;
  /* Old browsers */
  /* FF3.6-15 */
  /* Chrome10-25,Safari5.1-6 */
  background: -webkit-gradient(linear, left top, left bottom, from(#f0f4f8), to(white));
  background: linear-gradient(to bottom, #f0f4f8 0%, white 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  position: relative;
}

.page-detail.overflow {
  content: "";
  width: 100%;
  height: 100%;
  overflow-y: hidden;
}

@media all and (-ms-high-contrast: none) and (min-width: 769px) {
  *::-ms-backdrop, .page-detail {
    min-width: 1300px;
  }
}

.property_ttl {
  font-size: 3.5rem;
}

@media only screen and (max-width: 768px) {
  .property_ttl {
    font-size: 5.8652vw;
  }
}

.ttl_m {
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #3a5873;
}

@media only screen and (max-width: 768px) {
  .ttl_m {
    margin-bottom: 5vw;
  }
}

.mv_pic .status {
  margin-top: 15px;
}

.mv_pic .status span {
  background: #004680;
  border-radius: 30px;
  color: #fff;
  padding: 5px 20px;
  line-height: 1;
  font-size: 1.5rem;
}

@media only screen and (max-width: 768px) {
  .mv_pic .status span {
    font-size: 1.2rem;
  }
}

.mv_pic .tab {
  display: table;
  margin-left: auto;
}

@media print, screen and (min-width: 769px) {
  .mv_pic .tab {
    font-size: 2.0rem;
  }
}

@media only screen and (max-width: 768px) {
  .mv_pic .tab {
    font-size: 12px;
    margin-top: 20px;
  }
}

.mv_pic .tab > div {
  display: inline-block;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background: #004680;
  border-radius: 10px 10px 0 0;
  color: #fff;
}

@media print, screen and (min-width: 769px) {
  .mv_pic .tab > div {
    height: 40px;
  }
}

@media only screen and (max-width: 768px) {
  .mv_pic .tab > div {
    height: 30px;
  }
}

.mv_pic .tab > div + div {
  margin-left: 12px;
}

@media only screen and (max-width: 768px) {
  .mv_pic .tab > div + div {
    margin-left: 3px;
  }
}

.mv_pic .tab > div img {
  margin-right: 6px;
}

.mv_pic .tab > div a {
  padding: 10px 15px;
  display: block;
}

.mv_pic .tab .share {
  position: relative;
  cursor: pointer;
}

.mv_pic .tab .share .share-cont {
  width: 150px;
  background: #fff;
  padding: 15px 10px;
  position: absolute;
  border-radius: 10px;
  left: -22px;
  z-index: 11;
  display: none;
}

.mv_pic .tab .share .share-cont::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 7px 8px 7px;
  border-color: transparent transparent #ffffff transparent;
  display: block;
  -webkit-transform: translate(70px, -22px);
          transform: translate(70px, -22px);
}

.mv_pic .tab .share .share-cont > a {
  width: 100%;
  display: block;
  font-size: 1.5rem;
  padding: 0 15px;
  border-radius: 30px;
  height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  color: #fff;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.mv_pic .tab .share .share-cont > a + a {
  margin-top: 10px;
}

.mv_pic .tab .share .share-cont .facebook {
  background: #1877F2;
}

.mv_pic .tab .share .share-cont .facebook::before {
  content: "";
  background: url(/buyer/detail/images/icon-facebook.png) no-repeat center/contain;
  width: 13px;
  height: 13px;
  display: inline-block;
  margin-right: 5px;
}

.mv_pic .tab .share .share-cont .line {
  background: #00B900;
}

.mv_pic .tab .share .share-cont .line::before {
  content: "";
  background: url(/buyer/detail/images/icon-line02.png) no-repeat center/contain;
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-right: 5px;
}

.mv_pic .tab .share .share-cont .link-cp {
  background: #8F8F8F;
}

.mv_pic .tab .share .share-cont .link-cp::before {
  content: "";
  background: url(/buyer/detail/images/icon-link_cp.png) no-repeat center/contain;
  width: 13px;
  height: 13px;
  display: inline-block;
  margin-right: 5px;
}

@media only screen and (max-width: 768px) {
  .mv_pic .tab .share img {
    width: 14px;
  }
  .mv_pic .tab .picture img {
    width: 14px;
  }
  .mv_pic .tab .location img {
    width: 10px;
  }
}

.mv_pic .pic {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.mv_pic .pic > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

@media print, screen and (min-width: 769px) {
  .mv_pic .pic > div {
    width: 400px;
  }
}

.mv_pic .pic > div:first-of-type {
  margin-right: 15px;
  position: relative;
}

@media print, screen and (min-width: 769px) {
  .mv_pic .pic > div:first-of-type {
    width: 785px;
    height: 626px;
  }
}

@media only screen and (max-width: 768px) {
  .mv_pic .pic > div:first-of-type {
    margin-right: 3px;
    width: calc(60% - 3px);
    height: 224px;
  }
}

.mv_pic .pic > div:first-of-type .fit.vertical {
  -o-object-fit: contain;
     object-fit: contain;
  font-family: 'object-fit: contain;';
  background-color: #fff;
}

.mv_pic .pic > div:first-of-type .favorite {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
}

.mv_pic .pic > div:first-of-type .favorite img {
  width: 100%;
}

@media only screen and (max-width: 768px) {
  .mv_pic .pic > div:first-of-type .favorite img {
    width: 80%;
  }
}

@media only screen and (max-width: 768px) {
  .mv_pic .pic > div:first-of-type .favorite {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 10px 4px 3px 10px;
    bottom: -50px;
    right: -130px;
    top: inherit;
  }
}

.mv_pic .pic > div:first-of-type .btn-set {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  justify-self: start;
}

@media only screen and (max-width: 768px) {
  .mv_pic .pic > div:first-of-type .btn-set {
    width: calc(100vw - 30px);
    left: 0;
    bottom: -50px;
  }
}

.mv_pic .pic > div:first-of-type .btn-set a {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border-radius: 10px;
  padding: 15px 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  justify-self: flex-start;
}

@media only screen and (max-width: 768px) {
  .mv_pic .pic > div:first-of-type .btn-set a {
    font-size: 1.2rem;
    padding: 10px;
  }
}

@media print, screen and (min-width: 769px) {
  .mv_pic .pic > div:first-of-type .btn-set a + a {
    margin-left: 10px;
  }
}

@media only screen and (max-width: 768px) {
  .mv_pic .pic > div:first-of-type .btn-set a + a {
    margin-left: 5px;
  }
}

.mv_pic .pic > div:first-of-type .btn-set .virtualW::before {
  content: "";
  background: url(/buyer/detail/images/icon-movie.png) no-repeat 10% center/contain;
  width: 20px;
  height: 15px;
  display: inline-block;
  margin-right: 8px;
}

.mv_pic .pic > div:first-of-type .btn-set .streetV::before {
  content: "";
  background: url(/buyer/detail/images/icon-streetV.png) no-repeat 10% center/contain;
  width: 20px;
  height: 18px;
  display: inline-block;
  margin-right: 8px;
}

.mv_pic .pic > div:last-of-type div + div {
  margin-top: 15px;
}

@media only screen and (max-width: 768px) {
  .mv_pic .pic > div:last-of-type {
    width: 40%;
  }
  .mv_pic .pic > div:last-of-type div + div {
    margin-top: 1px;
  }
}

.mv_pic .pic > div:last-of-type > div{
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
  position: relative;
}

.mv_pic .pic > div:last-of-type > div img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  object-fit: cover;
}


.col2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

@media only screen and (max-width: 768px) {
  .col2 {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    padding-top: 70px;
  }
}

.col2 .property_details {
  padding-top: 80px;
  max-width: 800px;
}

@media only screen and (max-width: 768px) {
  .col2 .property_details {
    padding-top: 5vw;
    width: 100%;
  }
}

@media print, screen and (min-width: 769px) {
  .col2 .property_details .table {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

@media print, screen and (min-width: 769px) {
  .col2 .property_details .table dl {
    max-width: 390px;
    min-width: calc((100% / 2) - 10px);
  }
  .col2 .property_details .table dl:not(:nth-of-type(-n+2)) {
    margin-top: 15px;
  }
}

@media print, screen and (min-width: 769px) and (max-width: 1250px) {
  .col2 .property_details .table dl {
    min-width: 260px;
    width: calc((100% / 2) - 10px);
  }
}

@media only screen and (max-width: 768px) {
  .col2 .property_details .table dl {
    margin-top: 15px;
  }
}

.col2 .property_details .table dd {
  margin: 15px 0;
}

.col2 .property_details .details dl {
  border-bottom: 2px dotted #bfbfbf;
}

.col2 .property_details .description {
  margin-top: 50px;
}

.col2 .property_details .description iframe {
  width: 100%;
  height: 460px;
}

@media only screen and (max-width: 768px) {
  .col2 .property_details .description iframe {
    width: 100%;
    height: 260px;
  }
}

.col2 .property_details .facilities {
  margin-top: 50px;
}

.col2 .property_details .facilities .table dt {
  border-bottom: 2px dotted #bfbfbf;
  padding-bottom: 15px;
  font-size: 2.0rem;
}

@media only screen and (max-width: 768px) {
  .col2 .property_details .facilities .table dt {
    padding-bottom: 10px;
    font-size: 4.7988vw;
  }
}

.col2 .price_spec {
  background: #F0F4F8;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

@media print, screen and (min-width: 769px) {
  .col2 .price_spec {
    width: 400px;
    padding: 25px 15px;
    -webkit-box-shadow: 0px 0px 10px #ccc;
            box-shadow: 0px 0px 10px #ccc;
  }
}

@media only screen and (max-width: 768px) {
  .col2 .price_spec {
    padding: 15px 0;
    width: 100%;
  }
}

.col2 .price_spec .price_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media only screen and (max-width: 768px) {
  .col2 .price_spec .price_block {
    -webkit-box-align: baseline;
        -ms-flex-align: baseline;
            align-items: baseline;
  }
}

.col2 .price_spec .price_block .price {
  font-size: 3.0rem;
  font-weight: bold;
  color: #c1134e;
}

@media only screen and (max-width: 768px) {
  .col2 .price_spec .price_block .price {
    font-size: 6.9316vw;
  }
}

.col2 .price_spec .price_block .price::before {
  content: "฿";
  font-size: 2.0rem;
}

@media print, screen and (min-width: 769px) {
  .col2 .price_spec .price_block .price::before {
    margin-right: 5px;
  }
}

@media only screen and (max-width: 768px) {
  .col2 .price_spec .price_block .price::before {
    font-size: 4.7988vw;
  }
}

.col2 .price_spec .price_block .mortgage {
  color: #2b4b68;
  margin-left: 20px;
}

.col2 .price_spec .price_block .mortgage * {
  display: inline-block;
}

.col2 .price_spec .price_block .mortgage dd {
  font-weight: bold;
}

.col2 .price_spec .spec {
  color: #2b4b68;
  margin: 25px 0 20px;
}

@media only screen and (max-width: 768px) {
  .col2 .price_spec .spec {
    margin: 3vw 0;
  }
}

.col2 .price_spec .spec .ttl {
  font-weight: bold;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

@media only screen and (max-width: 768px) {
  .col2 .price_spec .spec .ttl {
    font-size: 4.7988vw;
  }
}

.col2 .price_spec .spec ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  font-weight: bold;
}

@media print, screen and (min-width: 769px) {
  .col2 .price_spec .spec ul {
    font-size: 2.0rem;
  }
}

.col2 .price_spec .spec ul span {
  font-size: 1.2rem;
}

.col2 .price_spec .spec ul li + li {
  margin-left: 12px;
}

.col2 .price_spec .spec .bed::after {
  content: "";
  background: url(/buyer/detail/images/icon-bed.png) no-repeat center/contain;
  display: inline-block;
  width: 25px;
  height: 18px;
  margin-left: 3px;
}

@media only screen and (max-width: 768px) {
  .col2 .price_spec .spec .bed::after {
    width: 19px;
    height: 13px;
  }
}

.col2 .price_spec .spec .bath::after {
  content: "";
  background: url(/buyer/detail/images/icon-bath.png) no-repeat center/contain;
  display: inline-block;
  width: 23px;
  height: 22px;
  margin-left: 3px;
}

@media only screen and (max-width: 768px) {
  .col2 .price_spec .spec .bath::after {
    width: 18px;
    height: 16px;
  }
}

.col2 .price_spec .spec .baht::before {
  content: "฿";
  font-size: 1.5rem;
  margin-right: 3px;
}

@media only screen and (max-width: 768px) {
  .col2 .price_spec .spec .baht::before {
    font-size: 3.1992vw;
  }
}

.col2 .price_spec .address {
  background: #fff url(/buyer/detail/images/icon-pin.png) no-repeat 10px center/22px 32px;
  border-radius: 10px;
  padding: 15px 15px 15px 44px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  line-height: 1.2;
  cursor: pointer;
}

.col2 .price_spec .contact {
  margin-top: 10px;
  background: #fff url(/buyer/detail/images/icon-tel.png) no-repeat 12px center/19px 24px ;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  padding: 15px 15px 15px 44px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  line-height: 1.2;
  cursor: pointer;
}

.col2 .price_spec .contact .tel {
  font-size: 1.8rem;
  color: #c1134e;
  line-height: 150%;
}

@media only screen and (max-width: 768px) {
  .col2 .price_spec .contact .tel {
    font-size: 4.5322vw;
    line-height: 2;
  }
}

.col2 .price_spec .contact .line {
  background-color: #00b900;
  background-image: url(/buyer/detail/images/icon-line.png);
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: 10px center;
  border-radius: 1rem;
  color: #fff;
  font-size: 1.8rem;
  text-align: center;
  padding: .5rem;
  width: 50%;
}

.col2 .price_spec .contact .line:hover{
  opacity: .6;
}

.col2 .price_spec .contact a{
  display: block;
}

.col2 .price_spec .contact_btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  color: #fff;
  font-size: 1.6rem;
  margin-top: 15px;
}

.col2 .price_spec .contact_btn a {
  display: block;
  padding: 7px 20px 7px 40px;
}

.col2 .price_spec .contact_btn li {
  border-radius: 10px;
  background-color: #004680;
}

.col2 .price_spec .contact_btn .mail {
  background-image: url(/buyer/detail/images/icon-mail.png);
  background-repeat: no-repeat;
  background-size: 18px 14px;
  background-position: 10px center;
}

.col2 .price_spec .contact_btn .messenger {
  background-image: url(/buyer/detail/images/icon-messanger.png);
  background-repeat: no-repeat;
  background-size: 21px 18px;
  background-position: 10px center;
}

.col2 .price_spec .contact_btn .line {
  background-image: url(/buyer/detail/images/icon-line.png);
  background-repeat: no-repeat;
  background-size: 19px 19px;
  background-position: 10px center;
}

.col2 .price_spec input[type="text"],
.col2 .price_spec input[type="tel"],
.col2 .price_spec input[type="mail"] {
  background: #F0F4F8;
  display: block;
  border-radius: 10px;
  padding: 15px;
  width: 100%;
}

.col2 .price_spec input {
  margin-top: 15px;
}

.col2 .price_spec button,
.col2 .price_spec .button {
  background: #C1134E;
  color: #fff;
  font-size: 2.4rem;
  padding: 10px 15px;
  border-radius: 10px;
  width: 240px;
  display: block;
  margin: 20px auto;
  text-align: center;
}

@media only screen and (max-width: 768px) {
  .col2 .price_spec button,
  .col2 .price_spec .button {
    font-size: 5.332vw;
    width: auto;
    margin: 20px auto 0;
  }
}

.similar, .reccomend {
  margin: 80px 0 50px;
}

@media only screen and (max-width: 768px) {
  .similar, .reccomend {
    margin: 5vw 0 5vw;
  }
}

.sml-recom .flex-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

@media only screen and (max-width: 768px) {
  .sml-recom .flex-wrap {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}

.sml-recom-box {
  max-width: 290px;
}

@media print, screen and (min-width: 769px) {
  .sml-recom-box {
    -webkit-transition: .3s;
    transition: .3s;
  }
  .sml-recom-box:hover {
    opacity: .5;
  }
  .sml-recom-box + div {
    margin-left: 10px;
  }
}

@media only screen and (max-width: 768px) {
  .sml-recom-box {
    width: calc((100% / 2) - 1vw);
  }
  .sml-recom-box:not(:nth-of-type(-n+2)) {
    margin-top: 5vw;
  }
}

.sml-recom-box img {
  width: 290px;
  height: 220px;
}

@media only screen and (min-width: 769px) and (max-width: 1190px){
  .sml-recom-box img{
    max-width: 177px;
    width: 100%;
    height: 134px;
  }
}

@media only screen and (max-width: 768px) {
  .sml-recom-box img {
    width: 100%;
    height: 134px;
  }
}

.sml-recom-box img.vertical {
  -o-object-fit: contain;
     object-fit: contain;
  font-family: 'object-fit: contain;';
  background-color: #f0f4f8;
}

.sml-recom-box_status {
  margin: 10px 0;
}

@media only screen and (max-width: 768px) {
  .sml-recom-box_status {
    margin: 5px 0;
  }
}

.sml-recom-box_status li {
  background: #004680;
  border-radius: 30px;
  font-size: 1.2rem;
  color: #fff;
  padding: 5px 10px;
  display: inline-block;
}

@media only screen and (max-width: 768px) {
  .sml-recom-box_status li {
    font-size: 2.666vw;
  }
}

.sml-recom-box_ttl {
  font-size: 1.5rem;
  color: #828282;
}

@media only screen and (max-width: 768px) {
  .sml-recom-box_ttl {
    font-size: 3.999vw;
  }
}

.sml-recom-box_price {
  font-size: 2.0rem;
  font-weight: bold;
  margin-top: 25px;
}

@media only screen and (max-width: 768px) {
  .sml-recom-box_price {
    margin-top: 4vw;
    font-size: 4.2656vw;
  }
}

.sml-recom-box_price::before {
  content: "฿";
  font-size: 1.5rem;
}

@media only screen and (max-width: 768px) {
  .sml-recom-box_price::before {
    font-size: 3.1992vw;
  }
}

@media only screen and (max-width: 768px) {
  .acc_ttl {
    background: #294a9d;
    padding: 4vw;
    width: 100vw;
    -webkit-transform: translate(-10px, 0);
            transform: translate(-10px, 0);
    color: #fff;
    font-weight: bold;
    font-size: 4.7988vw;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    margin-bottom: 0;
    position: relative;
  }
  .acc_ttl::before {
    content: "";
    background: url(/buyer/detail/images/icon-arrow-acc.png) no-repeat 95% center/15px;
    width: 15px;
    height: 15px;
    -webkit-transform: rotate(-180deg);
            transform: rotate(-180deg);
    position: absolute;
    right: 10px;
    -webkit-transition: .3s;
    transition: .3s;
  }
  .acc_ttl.active::before {
    content: "";
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  .acc_body {
    background: #fff;
    width: calc(100vw - 20px);
    -webkit-transform: translate(-10px, 0);
            transform: translate(-10px, 0);
    padding: 8vw 10px;
  }
}

.overlay {
  display: none;
  -webkit-animation: .2s show;
          animation: .2s show;
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  position: absolute;
  top: 0;
  z-index: 4;
}

[class*="-modal"] {
  display: none;
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  background: #fff;
  position: fixed;
  padding: 40px;
  border-radius: 10px;
  left: 50vw;
  right: -50vw;
  -webkit-transform: translate(-50vw, 0);
          transform: translate(-50vw, 0);
  z-index: 5;
}

@media only screen and (max-width: 768px) {
  [class*="-modal"] {
    width: 90%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    padding: 10px;
  }
}

[class*="-modal"] > div {
  border-radius: 30px;
}

[class*="-modal"] .close {
  width: 36px;
  height: 36px;
  background: #004680;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: absolute;
  right: 5px;
  top: 5px;
}

[class*="-modal"] .close img {
  width: 15px;
}

.location-modal,
.streetV-modal {
  top: calc((100vh - 580px) / 2);
}

@media only screen and (max-width: 768px) {
  .location-modal,
  .streetV-modal {
    top: calc((100vh - (60vh + 20px)) / 2);
    height: calc(60vh + 20px);
  }
}

.location-modal iframe,
.streetV-modal iframe {
  width: 100%;
}

@media print, screen and (min-width: 769px) {
  .location-modal iframe,
  .streetV-modal iframe {
    height: 500px;
  }
}

@media only screen and (max-width: 768px) {
  .location-modal iframe,
  .streetV-modal iframe {
    height: 60vh;
  }
}

.picture-modal {
  top: calc((100vh - 575px) / 2);
  height: 575px;
}

@media print, screen and (min-width: 769px) {
  .picture-modal {
    max-width: 900px;
  }
}

@media only screen and (max-width: 768px) {
  .picture-modal {
    top: calc((100vh - (50vh + 60px)) / 2);
    height: calc(30vh + 60px);
  }
}

.picture-modal .fit {
  -o-object-fit: contain;
     object-fit: contain;
  font-family: 'object-fit: contain;';
}

@media print, screen and (min-width: 769px) {
  .picture-modal .slick-slide img {
    height: 560px;
  }
}

@media only screen and (max-width: 768px) {
  .picture-modal .slick-slide img {
    height: 30vh;
  }
}

.picture-modal .slick-counter {
  margin-top: 20px;
  text-align: center;
}

.picture-modal [class^="slick-arrow"] {
  background: #000;
  border-radius: 50px;
  width: 30px;
  height: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: absolute;
  bottom: 50%;
  z-index: 5;
}

@media print, screen and (min-width: 769px) {
  .picture-modal [class^="slick-arrow"] {
    -webkit-transition: .3s;
    transition: .3s;
  }
  .picture-modal [class^="slick-arrow"]:hover {
    opacity: .5;
  }
}

@media only screen and (max-width: 768px) {
  .picture-modal [class^="slick-arrow"] {
    bottom: 50%;
    width: 25px;
    height: 25px;
  }
}

.picture-modal [class^="slick-arrow"] img {
  height: 9px;
}

@media only screen and (max-width: 768px) {
  .picture-modal [class^="slick-arrow"] img {
    width: 12px;
    height: 8px;
  }
}

.picture-modal .slick-arrow_prev {
  left: 10px;
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

.picture-modal .slick-arrow_next {
  right: 10px;
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
}

.lity {
  background: rgba(0, 0, 0, 0.8);
}

.lity-container {
  position: relative;
  padding: 40px;
  background: #fff;
  border-radius: 10px;
}

@media only screen and (max-width: 768px) {
  .lity-container {
    padding: 14px;
  }
}

.lity-close {
  background: #014584;
  border-radius: 40px;
  position: absolute;
  top: -10px;
  right: -10px;
}
.lity-close:hover, .lity-close:focus, .lity-close:active, .lity-close:visited {
  background: #014584;
  right: -10px;
  top: -10px;
}
@media only screen and (max-width: 768px) {
  .lity-close {
    right: 0px;
    top: -16px;
  }
  .lity-close:hover, .lity-close:focus, .lity-close:active, .lity-close:visited {
    right: 0px;
    top: -16px;
  }
}

/*----------------------
   estates 
----------------------*/
.sml-estate .flex-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-box-pack: flex-start;
      -ms-flex-pack: flex-start;
          justify-content: flex-start;
  flex-wrap: wrap;
}

@media only screen and (max-width: 768px) {
  .sml-estate .flex-wrap {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    justify-content: space-between;
  }
}

.sml-estate-box {
  max-width: 290px;
  background-color: #fff;
  position: relative;
}

@media print, screen and (min-width: 769px) {
  .sml-estate-box {
    -webkit-transition: .3s;
    transition: .3s;
  }
  .sml-estate-box a:hover {
    opacity: .5;
  }
  .sml-estate-box {
    margin-left: 10px;
    margin-top: 20px;
  }
}

@media only screen and (max-width: 768px) {
  .sml-estate-box {
    width: calc((100% / 2) - 1vw);
  }
  .sml-estate-box:not(:nth-of-type(-n+2)) {
    margin-top: 5vw;
  }
}

.sml-estate-box img {
  width: 290px;
  height: 220px;
}

@media only screen and (max-width: 768px) {
  .sml-estate-box img {
    width: 100%;
    height: 134px;
  }
}

.sml-estate-box img.vertical {
  -o-object-fit: contain;
     object-fit: contain;
  font-family: 'object-fit: contain;';
  background-color: #f0f4f8;
}

.sml-estate-box_status {
  margin: 10px;
}

@media only screen and (max-width: 768px) {
  .sml-estate-box_status {
    margin: 5px;
  }
}

.sml-estate-box_status li {
  background: #004680;
  border-radius: 30px;
  font-size: 1.2rem;
  color: #fff;
  padding: 5px 10px;
  display: inline-block;
}

@media only screen and (max-width: 768px) {
  .sml-estate-box_status li {
    font-size: 2.666vw;
  }
}

.sml-estate-box_ttl {
  font-size: 1.5rem;
  color: #828282;
  margin: 0 10px;
}

@media only screen and (max-width: 768px) {
  .sml-estate-box_ttl {
    font-size: 3.999vw;
    margin: 0 5px;
  }
}

.sml-estate-box_price {
  font-size: 2.0rem;
  font-weight: bold;
  padding: 25px 10px 10px;
}

@media only screen and (max-width: 768px) {
  .sml-estate-box_price {
    font-size: 4.2656vw;
    padding: 4vw 5px 5px;
  }
}

.sml-estate-box_price::before {
  content: "฿";
  font-size: 1.5rem;
}

@media only screen and (max-width: 768px) {
  .sml-estate-box_price::before {
    font-size: 3.1992vw;
  }
}

a.sml-estate-box_card{
  display: block;
}

/* VR_link */
.sml-estate-box .btn_vr{
  position: absolute;
  top: 162px;
  right: 0;
}
@media only screen and (max-width: 768px) {
  .sml-estate-box .btn_vr{
    top: 76px;
  }
}
.sml-estate-box .btn_vr img{
  width: 58px;
  height: 58px;
}


/* tab */
.tab-wrap {
  display: flex;
  flex-wrap: wrap;
}
.tab-label {
  background: #888;
  border-radius: 30px;
  color: #fff;
  margin: 0 0 10px 5px;
  margin-right: 5px;
  padding: 5px 20px;
  line-height: 1;
  font-size: 1.5rem;
  order: -1;
  cursor: pointer;
}
.tab-label:hover{
  background: #004680;
  opacity: .7;
}
@media only screen and (max-width: 768px) {
  .tab-label {
    font-size: 1.2rem;
  }
}
.tab-content {
  width: 100%;
  display: none;
}
.tab-switch:checked+.tab-label {
  background: #004680;
}
.tab-switch:checked+.tab-label+.tab-content {
   display: block;
}
.tab-switch {
  display: none;
}