@charset "utf-8";

.title {
  height: 80px;
  line-height: 80px;
  color: #ffffff;
  text-align: center;
  background-color: #0014ac;
  background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%235661b5' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}

.queensresidences-background {
  background-color: white;
  font-family: 'Sawarabi Mincho', serif;
}

/* ファーストビュー */

.first-view {
  background-color: #003451;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.first-view-margin {
  display: block;
  width: 100%;
}

.first-view-img {
  max-width: 700px;
}

.first-view-img img {
  display: block;
}

.first-view-text {
  color: #f3f3f4;
  width: 360px;
  text-align: center;
  padding-top: 85px;
  position: absolute;
  top: 5px;
  left: calc(50% - 370px);
}

.first-view-logo {
  width: 120px;
  position: absolute;
  top: 15px;
  left: calc(50% - 260px);
}

.first-view-text h1 {
  text-align: center;
  font-size: 2.5rem;
  text-shadow: 0 0 3px #f3f3f4;
  margin-top: 70px;
}

.first-view-text p {
  font-size: 1.8rem;
  text-align: center;
  line-height: 1.7;
  text-shadow: 0 0 3px #f3f3f4;
  margin-top: 40px;
}

/* アピールポイント */

.sellingpoint-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.sellingpoint-view {
  flex-shrink: 0;
  width: 240px;
  padding-top: 20px;
  margin-left: 30px;
  margin-right: 30px;
}

.sellingpoint-view dt {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-top: 15px;
}

.sellingpoint-view dd {
  font-size: 15px;
  margin-top: 10px;
  line-height: 1.4;
}

/* 公式ビデオ */

.intro-mp4 {
  display: block;
  width: 500px;
  max-width: 90%;
  margin: 30px auto 10px auto;
}

/* 基本情報 */

.center-header h3 {
  font-size: 26px;
  text-align: center;
  line-height: 1.3;
  margin-top: 30px;
  margin-bottom: 20px;
}

.center-header h3::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: black;
  margin-top: 12px;
  margin-left: auto;
  margin-right: auto;
}

.info-table {
  max-width: 90%;
  margin: 30px auto 0 auto;
  border-collapse: collapse;
  table-layout: fixed;
}

.info-table th {
  width: 120px;
  font-size: 1.6rem;
  border-right: 4px solid black;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  padding: 0 15px;
}

.info-table td {
  font-size: 1.6rem;
  line-height: 1.3;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  padding: 10px 12px 10px 12px;
}

/* Google Maps */

.googlemaps iframe {
  display: block;
  width: 500px;
  max-width: 90%;
  height: 300px;
  margin: 30px auto 40px auto;
}

/* 新たなランドマークへ */

.landscape-img {
  display: block;
  width: 800px;
  max-width: 90%;
  margin: 15px auto 0 auto;
}

.landscape-title {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 15px;
}

.txt-700px {
  line-height: 1.5;
  width: 700px;
  max-width: 90%;
  margin: 30px auto 0 auto;
}

/* 豊富な共有施設と各戸専用の保管庫 */

.facilities-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
  margin-left: 30px;
}

.facilities-list-view {
  width: 300px;
  margin: 0 15px;
}

.facilities-list-view p {
  margin-bottom: 8px
}

.facilities-image {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.facilities-image-view {
  width: 350px;
  max-width: 90%;
  margin: 20px auto 0 auto;
}

.facilities-image-view img,
.facilities-image-L img {
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.16);
}

.facilities-image-view p {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 15px;
}

.facilities-image-L {
  width: 1000px;
  max-width: 90%;
  margin: 20px auto 0 auto;
}

.facilities-image-L p {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 15px;
}

/* 空港まで車で5分 */

.location-intro {
  line-height: 1.5;
  width: 700px;
  max-width: 90%;
  margin: 30px auto 0 auto;
}

.location-intro img {
  margin-top: 20px;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.16);
}

.location-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 40px auto 0 auto;
}

.location-details-img {
  width: 200px;
  margin: 0 15px 15px 15px;
  border-radius: 10px;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.16);
}

.location-details-text {
  width: 500px;
  line-height: 1.5;
  margin: 0 15px;
}

.location-details-text h3 {
  font-size: 18px;
  margin-bottom: 10px;
  border-bottom: 2px solid black;
}

/* 間取りの一例 */

.room-layout-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 50px auto 0 auto;
}

.room-layout-view1 {
  text-align: center;
  width: 300px;
}

.room-layout-view1 h4 {
  font-size: 20px;
  margin-bottom: 20px;
}

.room-layout-view2 {
  width: 450px;
  margin-left: 20px;
}

/* 販売中のお部屋 */

.unit-table {
  max-width: 90%;
  margin: 30px auto 0 auto;
  border-collapse: collapse;
  table-layout: fixed;
}

.unit-table th {
  font-size: 1.6rem;
  line-height: 1.3;
  border-right: 1px solid black;
  border-top: 1px solid black;
  border-bottom: 4px solid black;
  padding: 10px 10px 8px 10px;
}

.unit-table td {
  font-size: 1.6rem;
  text-align: center;
  line-height: 1.3;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  padding: 10px 10px 8px 10px;
}

th:last-child,
td:last-child {
  border-right: none;
}

.unit-table td span {
  vertical-align: super;
  font-size: 0.8rem;
}

.privilege-view {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 30px auto 0 auto;
}

.privilege-view-table {
  width: 280px;
  max-width: 90%;
  margin-bottom: 20px;
}

.privilege-title {
  width: 180px;
  text-align: center;
  border-bottom: 1px solid black;
  padding-bottom: 5px;
  margin: 0 auto -10px auto;
}

.privilege-txt {
  width: 300px;
  line-height: 1.5;
}

.privilege-txt span {
  background: linear-gradient(transparent 70%, #f9b737 70%);
  font-weight: bold;
}

.onsale-unit p {
  text-align: center;
  font-size: 20px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.onsale-unit-message {
  width: 700px;
  max-width: 90%;
  line-height: 1.5;
  margin: 40px auto 0 auto;
  padding: 10px 15px;
  border: 2px solid black;
  border-radius: 20px;
}

.onsale-unit-message span {
  background: linear-gradient(transparent 70%, #f9b737 70%);
  font-weight: bold;
}

.link-button-area {
  font-size: 16px;
  margin-top: 20px;
  text-align: center;
}

.link-button {
  display: inline-block;
  color: #ffffff;
  background-color: black;
  min-width: 200px;
  line-height: 25px;
  border: 1px solid black;
  border-radius: 20px;
}

.link-button:hover {
  font-weight: bold;
}

@media (max-width: 768px) {

  .title {
    height: 55px;
    line-height: 55px;
  }

  .title h1 {
    font-size: 20px;
  }

  .title span {
    font-size: 10px;
  }

  .first-view-margin {
    opacity: 0.7;
  }
  
  .first-view-img {
    opacity: 0.7;
  }

  .first-view-logo {
    width: 46px;
    position: absolute;
    top: 10px;
    left: calc(50% - 23px);
  }

  .first-view-text {
    padding-top: 25px;
    width: 280px;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: calc(50% - 140px);
  }

  .first-view-text h1 {
    font-size: 2.0rem;
    }

  .first-view-text p {
    font-size: 1.7rem;
    line-height: 1.4;
    margin-top: 18px;
  }

  .info-table th {
    width: 100px;
  }

  .location-details-text {
    max-width: 90%;
    margin: 0;
  }

  .room-layout-block {
    display: block;
  }
  
  .room-layout-view1 {
    width: 300px;
    max-width: 90%;
    margin: 0 auto;
  }
  
  .room-layout-view2 {
    width: 450px;
    max-width: 90%;
    margin: 0 auto;
  }

  .unit-table th {
    font-size: 1.4rem;
    padding: 10px 8px 8px 8px;
  }

  .unit-table td {
    font-size: 1.4rem;
    padding: 10px 8px 8px 8px;
  }

  .privilege-title {
    width: 120px;
  }

}