@charset "utf-8";

div p {
  font-size: 1.6rem;
}

.first-view {
  height: 350px;
  background-image: url(../images/index/bg-main.webp);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
}

.first-view-text {
  width: 100%;
  max-width: 1200px;
  padding-bottom: 120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  color: #05173f;
  text-shadow: 1px 1px 10px #ffffff;
}

.first-view-text h1 {
  font-weight: bold;
}

.first-view-text p {
  color: #05173f;
  margin-top: 15px;
  line-height: 1.5;
}

/* ABOUT */
.about h2 {
  color: #05173f;
  font-size: 2.0rem;
  font-weight: bold;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.about h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #0014ac;
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
}

.about-view {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.about-photo {
  width: 180px;
  margin-left: 15px;
  margin-right: 15px;
  filter: drop-shadow(3px 3px 3px rgb(0, 0, 0));
}

.about-text {
  font-size: 1.6rem;
  width: 480px;
  line-height: 1.5;
  margin-top: 10px;
  margin-left: 15px;
  margin-right: 15px;
}

/* サービス一覧 */
.top-service {
  padding-top: 45px;
  padding-bottom: 55px;
}

.top-service h2 {
  color: #05173f;
  font-size: 3.0rem;
  font-weight: bold;
  text-align: center;
}

.top-service h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #0014ac;
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 5px;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
}

.service-list li {
  flex-shrink: 0;
  width: 220px;
  padding-top: 20px;
  margin-left: 15px;
  margin-right: 15px;
}

.service-list dl {
  margin-top: 10px;
}

.service-list dt {
  font-size: 1.8rem;
  font-weight: bold;
  padding-bottom: 10px;
  border-bottom: 3px solid #0014ac;
}

.service-list dd {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-top: 10px;
}

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

.link-button {
  display: inline-block;
  color: #ffffff;
  background-color: #05173f;
  min-width: 100px;
  line-height: 25px;
  border: 1px solid #05173f;
  border-radius: 10px;
}

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

/* おススメの住まい */
.recommended h2 {
  color: #05173f;
  font-size: 3.0rem;
  font-weight: bold;
  text-align: center;
}

.recommended h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #0014ac;
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
}

.recommended-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 5px;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
}

.recommended-list li {
  flex-shrink: 0;
  width: 250px;
  padding-top: 20px;
  margin-left: 30px;
  margin-right: 30px;
}

.recommended-list-view {
  height: 250px;
  background-size: 250px;
  position: relative;
  overflow: hidden;
}

.recommended-list span {
  width: 245px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  color: #ffffff;
  font-size: 19px;
  font-weight: bold;
  line-height: 1.3;
  transform: translate(-50%, -50%);
}

.recommended-list-view:hover img {
  transform: scale(1.1);
  transition-duration: 0.6s;
}

.recommended-list-view-text {
  color: #ffffff;
  padding-top: 90px;
  text-align: center;
}

.recommended-list dt {
  margin-top: 10px;
  text-align: center;
  line-height: 1.5;
}

/* 新築物件のご紹介 */
.new-project h2 {
  color: #05173f;
  font-size: 3.0rem;
  font-weight: bold;
  text-align: center;
  margin-top: 60px;
}

.new-project h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #0014ac;
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
}

/* ペナン島の魅力 */
.top-attractive-penang h2 {
  color: #05173f;
  font-size: 3.0rem;
  font-weight: bold;
  text-align: center;
  margin-top: 70px;
  margin-bottom: 30px;
}

.top-attractive-penang h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #0014ac;
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
}

.top-attractive-view {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
}

.top-attractive-img {
  width: 350px;
  margin-left: 15px;
  margin-right: 15px;
  overflow: hidden;
}

.top-attractive-img:hover img {
  transform: scale(1.1);
  transition-duration: 0.6s;
}

.top-attractive-text {
  font-size: 1.6rem;
  width: 450px;
  line-height: 1.5;
  margin-top: 5px;
  margin-left: 15px;
  margin-right: 15px;
}

.link-button-penang {
  display: inline-block;
  color: #ffffff;
  background-color: #05173f;
  width: 180px;
  line-height: 25px;
  border: 1px solid #05173f;
  border-radius: 10px;
}

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

/* ブログ */
.top-blog h2 {
  color: #05173f;
  font-size: 3.0rem;
  font-weight: bold;
  text-align: center;
  margin-top: 70px;
}

.top-blog h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #0014ac;
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
}

.blog-lsize-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-lsize-list li {
  flex-shrink: 0;
  width: 370px;
  margin-top: 20px;
  margin-left: 20px;
  margin-right: 20px;
}

.blog-lsize-view img {
  border-radius: 15px;
}

.blog-lsize-view h3 {
  font-size: 1.8rem;
  text-align: center;
  margin-top: 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid #0014ac;
}

.blog-lsize-view p {
  font-size: 1.6rem;
  line-height: 1.5;
  margin: 8px 10px 0 10px;
}

.blog-posted-date {
  text-align: center;
}

.blog-ssize {
  margin: 20px auto 0 auto;
  padding-bottom: 30px;
  max-width: 850px;
}

.blog-ssize-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-ssize-list li {
  flex-shrink: 0;
  width: 180px;
  margin-top: 20px;
  margin-left: 10px;
  margin-right: 10px;
}

.blog-ssize-view img {
  border-radius: 8px;
}

.blog-ssize-view h3 {
  font-size: 1.5rem;
  line-height: 1.3;
  text-align: center;
  margin-top: 10px;
}

@media (max-width: 768px) {

  .first-view {
    height: 200px;
  }

  .first-view-text {
    padding-bottom: 90px;
    padding-left: 30px;
  }

  .first-view-text h1 {
    font-size: 20px;
  }

  .first-view-text p {
    font-size: 12px;
  }

  .about h2 {
    font-size: 1.8rem;
  }

  .about-photo {
    width: 150px;
  }

  .about-text {
    width: 300px;
    margin-top: 20px
  }

  .top-service h2 {
    font-size: 2.2rem;
  }

  .recommended h2 {
    font-size: 2.2rem;
  }

  .new-project h2 {
    font-size: 2.2rem;
  }

  .top-attractive-penang h2 {
    font-size: 2.2rem;
  }

  .top-attractive-text {
    width: 300px;
  }

  .top-blog h2 {
    font-size: 2.0rem;
  }



}