/*
======================================
「家を建てたい方へ」css
======================================
*/

.ietate-top-section {
  height: 800px;
}

.ietate-heading {
  font-size: var(--font-size-3xl);
  font-weight: bold;
  text-align: center;
}

.ietate-heading .orange {
  color: var(--color-main);
}

.ietate-top-section__paragraph {
  width: 800px;
  height: auto;
  background-color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 16px 32px;
  margin-top: 77px;
  margin-bottom: 20px;
}

.ietate-top-section__img {
  position: relative;
  width: 100%;
}

.ietate-top-section__img>div {
  display: flex;
  position: absolute;
  z-index: 1;
  justify-content: space-between;
  width: calc(100% - 0px);
}

.ietate-top-section__img-left>img {
  max-width: 60%;
}

.ietate-top-section__img-right>img {
  max-width: 60%;
  display: block;
  margin-left: auto;
}

.ietate-top-section__img-right {
  position: relative;
  right: 0;
  top: 100px;
}

.ietate-top-section__family-img {
  text-align: center;
}

.ietate-top-section__family-img>img {
  max-height: 264px;
  width: auto;
}

.ietate-top-section__txt-img {
  position: absolute;
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);
}

.fourreasons-section__block {
  padding: 32px 40px;
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.fourreasons-section__block>div {
  display: flex;
  align-items: center;
}

.fourreasons-section__block--paragraph {
  margin-left: -100px;
  max-width: 600px;
}

.feature-section__orange-bg>.orange-text {
  margin-left: 24px;
}

.orange-text {
  color: var(--color-main);
  font-size: var(--font-size-6xl);
  font-weight: bold;
}

.block--txt {
  font-weight: bold;
  font-size: var(--font-size-xl);
}

.block--txt+p {
  margin-top: 24px;
}


.feature-section__box>div {
  display: flex;
  margin-bottom: 64px;
  padding: 0 16px;
  gap: 24px;
}

.row>div {
  display: flex;
  flex-direction: row-reverse;
  flex: 1 1 calc(50% - 12px);
}

.feature-section__paragraph {
  width: 50%;
}

.feature-section__orange-bg {
  background-color: var(--color-bg-gray-orange-light);
  border-radius: 8px 0;
  margin-bottom: 32px;
}

.feature-section__txt .orange {
  color: var(--color-main);
  font-weight: bold;
}

.feature-section__img {
  width: 50%;
  max-width: 434px;
  height: auto;
  margin: 0 auto;
}

.ietate__gallery .swiper-wrapper .vk_slider_item .vk_slider_item-background-area {
  background-color: transparent;
}

.property-list {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px 20px 28px 20px;
  border-radius: 8px;
}

.property-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}


.property-list__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 0;
  justify-content: center;
}

.property-list__tab-button {
  padding: 10px 20px;
  border: 1px solid var(--color-main);
  background-color: #ffffff;
  color: var(--color-main);
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.3s ease;
  outline: none;
  width: 132px;
  height: auto;
  text-align: center;
}

.property-list__content {}

.property-list__tab-pane {
  display: none;
  padding: 20px 0;
}

.property-list__tab-pane p{
  text-align: center;
}

.property-posts-list__item {
  background-color: #fff;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-posts-list__item a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.property-posts-list__thumbnail {
  width: 100%;
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-bottom: 1px solid var(--color-main);
}

.property-posts-list__thumbnail img {
  width: 100%;
  object-fit: contain;
  display: block;
}

.property-posts-list__title {
  font-size: 20px;
  font-weight: bold;
  color: #333333;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.property-posts-list__content {
  align-items: flex-start;
  padding: 16px 16px 32px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.property-posts-list__date {
  font-size: var(--font-size-base);
}

.property-posts-list__info{
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.property-posts-list__price::before,
.property-posts-list__location::before{
  background-color: var(--color-text);
  border-radius: 4px;
  color:white;
  font-weight: bold;
  font-size: var(--font-size-sm);
  margin-right: 8px;
  padding: 2px 16px;
}

.property-posts-list__location::before{
  content: "地域";
}

.property-posts-list__price::before{
  content: "金額";
}

.property-posts-list__price{
  font-weight: bold;
}

.property-posts-list__excerpt {
  display: none;
}

.property-list__tab-button.is-active {
  background-color: var(--color-main);
  color: #fff;
  transform: translateY(0);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.property-list__tab-pane.is-active {
  display: block;
}


.property__detail-btn {
  width: 384px;
  height: auto;
  align-items: center;
}

.property__detail-btn>a {
  border: 1px solid transparent;
  background-color: var(--color-main);
  position: relative;
  font-size: var(--font-size-xl);
  font-weight: bold;
  transition: all 0.3s ease;
}

.property__detail-btn>a::after {
  position: absolute;
  right: 28px;
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  transition: all 0.3s ease;
}

.property__athome-btn {
  width: 384px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.property__athome-btn>a {
  border: 1px solid #333333;
  background-color: #ffffff;
  color: #333333;
  font-size: 20px;
  position: relative;
  transition:all 0.3s ease;
}

.property__athome-btn>a::after {
  position: absolute;
  right: 28px;
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
}


.customer__btn {
  width: 322px;
  height: 48px;
  background: #333333 0% 0% no-repeat padding-box;
  border-radius: 31px;
  color: #fff;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.er-reviews {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
}

.customer-reviews-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.customer-review-card {
  display: none;
  width: 100%;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  box-sizing: border-box;
}

.customer-reviews-slider__track {
  display: flex;
  width: 100%;
  justify-content: center;
}

.customer-reviews-slider__slide {
  width: 100%;
  flex-shrink: 0;
  display: none;
}

.customer-reviews-slider__slide.is-active {
  display: block;
}

.customer-reviews-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.customer-reviews-slider__arrow--prev::after {
  content: "\f137";
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  font-size: 80px;
  color: var(--color-main);
  background-color: #ffffff;
  border-radius: 50%;
}

.customer-reviews-slider__arrow--next::after {
  content: "\f138";
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  font-size: 80px;
  color: var(--color-main);
  background-color: #ffffff;
  border-radius: 50%;
}


.customer-reviews-slider__arrow:disabled {
  cursor: not-allowed;
  box-shadow: none;
}

.customer-reviews-slider__arrow--prev {
  left: 10px;
}

.customer-reviews-slider__arrow--next {
  right: 10px;
}

.customer-review-card__left {
  flex: 0 0 350px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
  position: relative;
  justify-content: space-between;
}

.customer-review-card__right {
  flex: 1;
  padding: 10px;
  box-sizing: border-box;
  min-width: 300px;
}

.customer-review-card__number {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--color-main);
  margin-bottom: 15px;
  text-align: center;
}

.customer-review-card__image-wrapper {
  position: relative;
  width: 100%;
  max-width: 250px;
  height: auto;
  cursor: pointer;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}


.customer-review-card__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}


.customer-review-card__zoom-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5em;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.customer-review-card__zoom-icon .dashicons {
  font-size: inherit;
  width: 1em;
  height: 1em;
}

.customer-review-card__zoom-text {
  font-size: 0.85em;
  color: #333333;
  margin-top: 5px;
}

.customer-review-card__title {
  font-size: 20px;
  color: #333333;
  margin-bottom: 20px;
  padding-bottom: 5px;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.customer-review-card__property {
  font-size: var(--font-size-xxl);
  font-weight: normal;
  color: var(--color-main);
  margin-left: 10px;
  font-weight: bold;
}

.customer-review-card__qa-list {
  list-style: none;
  padding: 40px 32px;
  margin: 0;
  background-color: #ffffff;
}

.customer-review-card__qa-item {
  margin-bottom: 15px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 10px;
}

.customer-review-card__question {
  font-weight: bold;
  color: var(--color-main);
  font-size: 1.1em;
  align-self: start;
}

.customer-review-card__question-text {
  font-size: 20px;
  color: #333333;
  font-weight: 400;
  margin-top: 0;
  line-height: 1.6;
}

.customer-review-card__answer {
  font-weight: bold;
  color: var(--color-main);
  font-size: 1.1em;
  align-self: start;
}

.customer-review-card__answer-text {
  font-size: 20px;
  color: #333333;
  margin-top: 0;
  font-weight: 400;
  line-height: 1.6;
}

.customer-review-card__number+h3 {
  display: none;
}

.customer-reviews-slider__slide.is-active {
  display: block;
  display: flex;
  background-color: var(--color-bg-gray);
}




@media (max-width: 599px) {
  .sp-only-br {
    display: inline;
  }

  .pc-only-br {
    display: none;
  }

  .section {
    padding: 64px 16px;
  }

  .section-lr {
    padding: 80px 0;
  }

  .customer-reviews {
    margin: 30px auto;
    padding: 10px;
  }

  .customer-review-card__number {
    font-size: 1.5em;
  }

  .customer-review-card__title {
    font-size: 1.2em;
  }

  .customer-review-card__question-text,
  .customer-review-card__answer-text {
    font-size: 0.9em;
  }

  .ietate-top-section {
    padding: 64px 0 1000px 0;
  }

  .ietate-top-section__paragraph {
    width: 90vw;
    height: auto;
    padding: 0;
    background-color: rgba(0, 0, 0, 0);
    margin-top: 48px;
    margin-bottom: 160px;
  }

  .ietate-top-section__img-right {
    top: 0;
  }

  .ietate-top-section__img>div {
    margin-top: 280px;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .ietate-top-section__img>div figure {
    width: 120vw;
    box-sizing: border-box;
  }

  .ietate-top-section__img-left {
    position: relative;
    left: -10vw;
  }

  .ietate-top-section__img-left>img {
    height: auto;
    max-width: 100%;
  }

  .ietate-top-section__img-right>img {
    height: auto;
    max-width: 100%;
  }

  .ietate-top-section__img-right {
    left: auto;
    right: -10vw;
  }

  .fourreasons-section__block{
    padding: 24px 24px 32px 24px;
  }

  .fourreasons-section__block>div {
    flex-direction: column;
  }

  .fourreasons-section__block--img1 {
    margin-bottom: 24px;
  }

  .fourreasons-section__block--img1>img {
    width: auto;
    height: auto;
  }

  .fourreasons-section__block--img2 {
    margin-right: auto;
  }

  .fourreasons-section__block--img2>img {
    height: 200px;
    width: auto;
  }

  .fourreasons-section__block--paragraph {
    max-width: 100%;
    height: auto;
    margin-left: 0;
    margin-top: -200px;
  }

  .feature-section__orange-bg>.orange-text {
    margin-left: 16px;
  }

  .feature-section__box>div {
    flex-direction: column-reverse;
    padding: 0;
  }

  .feature-section__paragraph {
    width: 100%;
  }

  .feature-section__img {
    width: 100%;
    margin: 0;
  }
  .feature-section__orange-bg{
    margin-bottom: 16px;
    padding:8px 16px 8px 0;
  }

  .row>div {
    align-items: flex-end;
  }

  .property-posts-list__thumbnail {
    height: 220px;
    width: auto;
  }

  .customer-reviews-slider__arrow--prev::after {
    font-size: 40px;
  }

  .customer-reviews-slider__arrow--next::after {
    font-size: 40px;
  }
  .property-list__tab-button{
    width: calc(34% - 10px);
    padding: 10px;
  }
  .property-list__tabs{
    justify-content: flex-start;
  }

}

@media (max-width: 768px) {

  .customer-review-card__number+h3 {
    display: block;
  }

  .customer-review-card__title {
    display: none;
  }

  .customer-review-card__left {
    flex-wrap: wrap;
    flex-direction: row;
  }

  .customer-review-card__left>p:first-of-type,
  .customer-review-card__left>h3 {
    display: inline-block;
  }

  .customer-review-card__image-wrapper {
    width: 100%;
    margin: 0 auto;
  }

  .customer-review-card__zoom-text {
    width: 100%;
    text-align: center;
  }

  .customer-reviews-slider__slide.is-active {
    justify-content: center;
    align-items: center;
  }
  .property-list{
    padding: 0;
  }
  .property-posts-list__title{
    font-size: 18px;
  }
  .property-list__tab-pane p{
    text-align: justify;
  }
}

@media screen and (min-width: 600px) and (max-width: 1200px) {
  .ietate-top-section__paragraph {
    width: 600px;
    height: auto;
  }

  .fourreasons-section__block>div {
    flex-direction: column;
  }

  .fourreasons-section__block--img1 {
    margin-bottom: 32px;
  }

  .fourreasons-section__block--img1>img {
    height: 300px;
    width: auto;
  }

  .fourreasons-section__block--img2 {
    margin-right: auto;
  }

  .fourreasons-section__block--img2>img {
    height: 250px;
    width: auto;
  }

  .fourreasons-section__block--paragraph {
    max-width: 80%;
    height: auto;
    margin-left: 0;
    margin-top: -200px;
  }

  .property-list__tabs {}

  .customer-reviews-slider__arrow--prev::after {
    font-size: 60px;
  }

  .customer-reviews-slider__arrow--next::after {
    font-size: 60px;
  }
}


/*
======================================
ホバーアクション
======================================
*/

.property-posts-list__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.customer-review-card__image-wrapper:hover .customer-review-card__zoom-icon {
  opacity: 1;
}

.customer-review-card__image:hover {
  transform: scale(1.02);
}


.property__detail-btn>a:hover {
  background-color: #ffffff;
  border-color: var(--color-main);
  color: var(--color-main);
  border: 1px solid var(--color-main);
}

.property__detail-btn>a:hover::after {
  color: var(--color-main);
}

/* .property__athome-btn:hover>a {
  color: transparent;
}

.property__athome-btn:hover>a::before {
  content: "詳しくはこちら";
  position: absolute;
  color: #333333;
  left: 0;
  right: 0;
  text-align: center;

.property__athome-btn:hover>a::after {
  position: absolute;
  right: 28px;
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  color: #333333;
} */

.property__athome-btn:hover>a:hover {
  opacity: 0.7;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}