@charset "UTF-8";
.p-modelhouse {
  margin-bottom: var(--m150);
}
.p-modelhouse * {
  font-family: "Klee One", cursive;
  box-sizing: border-box;
  line-height: 1.75;
}
.p-modelhouse figure {
  margin: 0;
  padding: 0;
}
.p-modelhouse .body_in {
  width: 90%;
}
.p-modelhouse .c-button {
  margin: 0 auto var(--m30);
  width: 100%;
  max-width: 600px;
}
.p-modelhouse .c-button__link {
  background-color: #0397d7;
  padding: 5px 0.5em;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.p-modelhouse .c-button__link::before, .p-modelhouse .c-button__link::after {
  content: "";
  display: inline-block;
  width: 2%;
  height: 100%;
  background-color: #0083bd;
  position: absolute;
  top: 0;
  transition: all 0.5s;
}
.p-modelhouse .c-button__link::before {
  left: 0;
}
.p-modelhouse .c-button__link::after {
  right: 0;
}
.p-modelhouse .c-button__text {
  font-size: min(5.5vw, 30px);
  font-weight: bold;
  color: #fff;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: baseline;
}
.p-modelhouse .c-button__text span {
  font-size: min(4.5vw, 24px);
  font-weight: bold;
  color: #fff;
}
.p-modelhouse__topArea {
  position: relative;
  overflow: hidden; /* 波がはみ出しても隠す */
  background: url(/images/modelhouse/main.jpg) center/cover no-repeat;
  aspect-ratio: 1920/750;
  margin-bottom: var(--m40);
}
.p-modelhouse__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% - 50px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 95%;
  z-index: 1;
  width: -moz-fit-content;
  width: fit-content;
  padding: 20px 0;
}
.p-modelhouse__title::after {
  content: "";
  display: inline-block;
  background-color: #fff;
  opacity: 0.75;
  border-radius: var(--m20);
  width: 120%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
.p-modelhouse__title__catch {
  font-size: min(6vw, 32px);
  line-height: 1;
  white-space: nowrap;
}
.p-modelhouse__title__text {
  white-space: nowrap;
  font-size: min(9vw, 45px);
  font-weight: bold;
  text-decoration-line: underline;
  text-decoration-color: rgba(0, 131, 189, 0.45);
  text-decoration-style: solid;
  text-decoration-thickness: 0.5em; /* 線の太さ */
  text-underline-offset: -0.2em;
}
.p-modelhouse__title .deco {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.p-modelhouse__title .deco::before, .p-modelhouse__title .deco::after {
  content: "";
  display: inline-block;
  width: 30%;
  aspect-ratio: 238/61;
  background: url(/images/modelhouse/title_deco02.svg) center/100% no-repeat;
  position: absolute;
  top: 0;
}
.p-modelhouse__title .deco::before {
  left: 0;
  transform: translate(-50%, -10%) rotate(-30deg);
}
.p-modelhouse__title .deco::after {
  right: 0;
  transform: translate(50%, -10%) rotate(25deg);
}
.p-modelhouse__topText {
  margin-bottom: var(--m80);
  text-align: center;
  line-height: 2;
  font-size: 18px;
  position: relative;
  z-index: 1;
}
.p-modelhouse__topText::after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 80px;
  background: url(/images/modelhouse/ill_town.svg) center/auto 100% repeat;
  margin-top: var(--m30);
}
.p-modelhouse__topText__text {
  margin-bottom: var(--m40);
}
.p-modelhouse__topText__text .col {
  text-decoration-line: underline;
  text-decoration-color: rgba(89, 168, 114, 0.5);
  text-decoration-style: solid;
  text-decoration-thickness: 0.5em; /* 線の太さ */
  text-underline-offset: -0.2em;
}
.p-modelhouse__topText__text .emp {
  font-size: 22px;
  font-weight: 500;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin: 1em auto 0;
  position: relative;
  z-index: 1;
}
.p-modelhouse__topText__text .emp::after {
  content: "";
  display: inline-block;
  width: 120%;
  height: 40%;
  background-color: #0083bd;
  opacity: 0.5;
  border-radius: 3px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -10%);
  z-index: -1;
}
.p-modelhouse__recommend {
  margin-bottom: var(--m80);
  position: relative;
}
.p-modelhouse__recommend::before, .p-modelhouse__recommend::after {
  content: "";
  display: inline-block;
  position: absolute;
  bottom: 0;
}
.p-modelhouse__recommend::before {
  width: 10%;
  min-width: 100px;
  aspect-ratio: 75/71;
  background: url(/images/modelhouse/ill_man02.svg) center/100% no-repeat;
  left: 0;
}
.p-modelhouse__recommend::after {
  width: 9%;
  min-width: 90px;
  background: url(/images/modelhouse/ill_man01.svg) center/100% no-repeat;
  aspect-ratio: 66/84;
  right: 0;
}
.p-modelhouse__recommend__title {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-gap: 0 1em;
  margin-bottom: var(--m40);
}
.p-modelhouse__recommend__title__text {
  font-size: min(6vw, 32px);
  font-weight: bold;
  color: #59A872;
  white-space: nowrap;
  position: relative;
}
.p-modelhouse__recommend__title__text::after {
  content: "";
  display: inline-block;
  width: 100%;
  border-bottom: 4px dotted #59A872;
  position: absolute;
  bottom: -2px;
  left: 0;
}
.p-modelhouse__recommend__title::before, .p-modelhouse__recommend__title::after {
  content: "";
  display: inline-block;
  width: min(6vw, 32px);
  aspect-ratio: 41/107;
  background: url(/images/modelhouse/title_deco01.svg) center/100% no-repeat;
}
.p-modelhouse__recommend__title::after {
  transform: scaleX(-1);
}
.p-modelhouse__recommend__list {
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto var(--m40);
}
.p-modelhouse__recommend__list__box {
  display: flex;
  align-items: baseline;
  grid-gap: 0.5rem;
}
.p-modelhouse__recommend__list__box:not(:last-of-type) {
  margin-bottom: 1rem;
}
.p-modelhouse__recommend__list__box::before {
  content: "";
  display: inline-block;
  width: var(--m30);
  aspect-ratio: 62/54;
  background: url(/images/modelhouse/check.svg) center/100% no-repeat;
}
.p-modelhouse__recommend__list__box__text {
  font-size: 18px;
  max-width: calc(100% - var(--m30) - 0.5rem);
}
.p-modelhouse__recommend .c-button__link {
  background-color: #6ed28d;
}
.p-modelhouse__recommend .c-button__link::before, .p-modelhouse__recommend .c-button__link::after {
  background-color: #59A872;
}
.p-modelhouse__photoArea__title {
  width: -moz-fit-content;
  width: fit-content;
  text-align: center;
  margin: 0 auto var(--m40);
  position: relative;
  z-index: 1;
  font-size: min(6vw, 32px);
  font-weight: bold;
  padding-top: 0.75em;
}
.p-modelhouse__photoArea__title::before, .p-modelhouse__photoArea__title::after {
  content: "";
  display: inline-block;
  width: 150%;
  aspect-ratio: 37/6;
  position: absolute;
  top: 0;
  left: 50%;
}
.p-modelhouse__photoArea__title::before {
  background: url(/images/modelhouse/ill_title.svg) center/100% no-repeat;
  transform: translateX(-50%);
  z-index: -1;
}
.p-modelhouse__photoArea__title::after {
  background: url(/images/modelhouse/ill_title_bg.svg) center/100% no-repeat;
  transform: translate(-48%, 10%);
  opacity: 0.2;
  z-index: -2;
}
.p-modelhouse__photoArea__list__photo {
  aspect-ratio: 3/2;
  overflow: hidden;
  background-color: #fafafa;
}
.p-modelhouse__photoArea__list__photo img {
  -o-object-fit: contain;
     object-fit: contain;
  height: 100%;
  width: 100%;
}

/* 波ラッパー（セクションの下端に固定） */
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--wave-height);
  pointer-events: none;
  transform: translateZ(0);
  overflow: hidden;
}

.wave svg {
  display: block;
  width: 200%;
  height: 100%;
}

.wave .wave-group {
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* 横のスムーズな波 */
.wave .wave1 {
  animation: waveMove var(--wave-speed) linear infinite, waveFloat var(--wave-vertical-speed) ease-in-out infinite;
}

.wave .wave2 {
  animation: waveMove calc(var(--wave-speed) * 1.6) linear infinite reverse, waveFloat calc(var(--wave-vertical-speed) * 1.2) ease-in-out infinite;
  opacity: 0.5;
}

.wave .wave3 {
  animation: waveMove calc(var(--wave-speed) * 0.8) linear infinite, waveFloat calc(var(--wave-vertical-speed) * 1.5) ease-in-out infinite reverse;
  opacity: 0.75;
}

/* 波をスムーズにループさせる */
@keyframes waveMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* 上下にゆらゆらする動き */
@keyframes waveFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(var(--wave-amplitude));
  }
}
.wave path {
  fill: var(--wave-color);
  opacity: var(--wave-opacity);
}

/* モーション削減対応 */
@media (prefers-reduced-motion: reduce) {
  .wave .wave1,
  .wave .wave2,
  .wave .wave3 {
    animation: none;
  }
}
@media all and (min-width: 601px) {
  .p-modelhouse__photoArea .p-modelhouse__photoArea__list {
    display: flex;
    flex-wrap: wrap;
    grid-gap: min(4.51vw, 60px) 5%;
  }
  .p-modelhouse__photoArea .p-modelhouse__photoArea__list__photo {
    width: 47.5%;
  }
}
@media all and (min-width: 769px) {
  .c-button__link:hover {
    opacity: 1;
  }
  .c-button__link:hover::before, .c-button__link:hover::after {
    width: 50%;
  }
  .p-modelhouse__photoArea .p-modelhouse__photoArea__list__photo {
    width: 30%;
  }
}
/* ----------------------------------------------
　PAD以下設定
------------------------------------------------*/
@media all and (max-width: 1024px) {
  .p-modelhouse__topArea {
    aspect-ratio: 1024/750;
  }
}
@media all and (max-width: 768px) {
  .p-modelhouse__recommend {
    padding-bottom: 100px;
  }
}
/* ----------------------------------------------
　SP調整
------------------------------------------------*/
@media all and (max-width: 600px) {
  .p-modelhouse__topArea {
    aspect-ratio: 1/1.5;
  }
  .p-modelhouse__title {
    width: 80%;
  }
  .p-modelhouse__title__catch {
    margin-bottom: 0.25em;
  }
  .p-modelhouse__title__text {
    text-align: center;
    line-height: 1.25;
  }
  .p-modelhouse__topText {
    font-size: 14px;
  }
  .p-modelhouse__topText__text .emp {
    font-size: 20px;
  }
  .p-modelhouse__recommend::before {
    min-width: 80px;
  }
  .p-modelhouse__recommend::after {
    min-width: 70px;
  }
  .p-modelhouse__recommend__title {
    grid-gap: 0 0.5em;
  }
  .p-modelhouse__recommend__list__box__text {
    font-size: 16px;
  }
  .p-modelhouse__photoArea__title::before, .p-modelhouse__photoArea__title::after {
    width: 135%;
    top: 10%;
  }
  .p-modelhouse__photoArea .swiper-pagination{
    position: static;
    margin: .5rem auto 0;
    transform: unset!important;
  }
}
:root {
  --m20: clamp(10px, calc(10px + ((100vw - 520px) * ((20 - 10) / (1600 - 520)))), 20px);
  --m30: clamp(15px, calc(15px + ((100vw - 520px) * ((30 - 15) / (1600 - 520)))), 30px);
  --m40: clamp(20px, calc(20px + ((100vw - 520px) * ((40 - 20) / (1600 - 520)))), 40px);
  --m80: clamp(40px, calc(40px + ((100vw - 520px) * ((80 - 40) / (1600 - 520)))), 80px);
  --m150: clamp(75px, calc(75px + ((100vw - 520px) * ((150 - 75) / (1600 - 520)))), 150px);
  --wave-height: 120px;
  --wave-color: #fff;
  --wave-speed: 8s;
  --wave-opacity: 1;
  --wave-amplitude: 30px; /* 上下の揺れ幅 */
  --wave-vertical-speed: 4s; /* 上下アニメの速さ */
}