@charset "UTF-8";

/* ============================================================
   住宅トップ
   ============================================================ */

.home-top a {
  color: #333;
}

.home-top .home-card,
.home-top .home-media,
.home-top .home-topics__link,
.home-top .home-insta__link,
.home-top .home-support__link {
  display: block;
  text-decoration: none;
}

.home-top .home-card img,
.home-top .home-media img,
.home-top .home-topics__link img,
.home-top .home-insta__link img {
  transition: opacity ease-out 0.3s;
}

.home-top .home-card:hover img,
.home-top .home-media:hover img,
.home-top .home-topics__link:hover img,
.home-top .home-insta__link:hover img {
  opacity: 0.7;
}

.home-top figure {
  margin: 0;
}

.home-top figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* 別窓アイコン（文末） */
.home-top .home-top-blank::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.3em;
  vertical-align: -0.1em;
  background: url(/jp/common/v4/img/icon-blank.svg) no-repeat center / contain;
}

/* ---------- 見出し・グリッドの余白 ---------- */

.home-top .headline--h3 {
  margin-bottom: 32px;
}

.home-top .home-top-subttl {
  margin-top: 80px;
}

.home-top .home-top-grid {
  row-gap: 64px;
}

.home-top .home-top-grid--style-main {
  margin-bottom: 64px;
}

.home-top .home-top-btn {
  margin-top: 64px;
}

/* ---------- 背景つきの帯 ---------- */

.home-top .home-top-bg {
  margin-bottom: 120px;
  padding: 64px 0;
  background-color: #F2F2F2;
  box-shadow: 0 0 0 100vmax #F2F2F2;
  clip-path: inset(0 -100vmax);
}

.home-top .home-top-bg .btn__link {
  background-color: #fff;
}

.home-top .home-top-bg > .section-wrapper {
  margin-bottom: 0;
}

/* 最後の帯の下は V4 の標準（.wrapper の下余白）に任せる */
.home-top > .home-top-bg:last-child {
  margin-bottom: 0;
}

/* ---------- カード（画像＋見出し＋本文） ---------- */

.home-top .home-card__ttl {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45833;
}

.home-top .home-card__txt {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.71429;
}

/* ---------- コラム・インタビュー（画像を横に置く） ---------- */

.home-top .home-media {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.home-top .home-media__img {
  flex: 0 0 46.8%;
}

.home-top .home-media__body {
  flex: 1 1 auto;
  min-width: 0;
}

.home-top .home-media__ttl {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45833;
}

.home-top .home-media__txt {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.71429;
}

.home-top .home-media__note {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
}

/* ---------- TOPICS ---------- */

/* 画面幅とページ幅の広いほうに合わせる */
.home-top .home-topics__slider {
  width: max(100vw, 100%);
  margin-left: calc((100% - max(100vw, 100%)) / 2);
}

.home-top .home-topics__slide {
  width: 488px;
  height: auto;
}

.home-top .home-topics__ttl {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45833;
}

.home-top .home-topics__txt {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.71429;
}

.home-top .home-topics__navigation {
  position: relative;
  max-width: 1280px;
  margin: 48px auto 0;
  padding: 0 116px;
}

.home-top .home-topics__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  height: 30px;
}

.home-top .home-topics__pagination .swiper-pagination-bullet {
  display: block;
  width: 48px;
  height: 4px;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  border-radius: 0;
  opacity: 1;
  background-color: #D5D5D5;
  transition: background-color ease-out 0.3s;
}

.home-top .home-topics__pagination .swiper-pagination-bullet:hover,
.home-top .home-topics__pagination .swiper-pagination-bullet-active {
  background-color: #454545;
}

.home-top .home-topics__controller {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  column-gap: 32px;
  position: absolute;
  top: 0;
  right: 0;
  height: 30px;
}

.home-top .home-topics__prev,
.home-top .home-topics__next,
.home-top .home-topics__stop {
  padding: 0;
  border: 0;
  background: transparent no-repeat center / 100% auto;
  cursor: pointer;
  transition: opacity ease-out 0.3s;
}

.home-top .home-topics__prev:hover,
.home-top .home-topics__next:hover,
.home-top .home-topics__stop:hover {
  opacity: 0.5;
}

.home-top .home-topics__prev,
.home-top .home-topics__next {
  width: 10px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.30176 1.5L1.7002 8L8.30176 14.5' stroke='%23454545' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E%0A");
}

.home-top .home-topics__next {
  transform: scale(-1, 1);
}

.home-top .home-topics__stop {
  width: 18px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='7' height='15' rx='0.5' fill='%23454545' stroke='%23454545'/%3E%3Crect x='10.5' y='0.5' width='7' height='15' rx='0.5' fill='%23454545' stroke='%23454545'/%3E%3C/svg%3E%0A");
}

.home-top .home-topics__stop.is-stop {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 15 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.2479 7.56176C14.584 7.75553 14.584 8.24447 14.2479 8.43824L1.24849 15.9328C0.914971 16.125 0.500001 15.8821 0.500001 15.4945L0.500001 0.505486C0.500001 0.117935 0.914972 -0.12503 1.24849 0.0672489L14.2479 7.56176Z' fill='%23333333'/%3E%3C/svg%3E%0A");
  background-position: 100% 50%;
  background-size: 15px auto;
}

/* ---------- Instagram ---------- */

.home-top .home-insta__img img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.home-top .home-insta__subttl {
  margin-top: 64px;
}

.home-top .home-insta__btn {
  margin-top: 48px;
}

/* ---------- 検索 ---------- */

.home-top .home-search {
  display: flex;
  gap: 40px;
  margin-top: 96px;
}

.home-top .home-search__item {
  flex: 1 1 0;
  min-width: 0;
}

.home-top .home-search__ttl {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45833;
}

.home-top .home-search__form {
  display: flex;
  height: 56px;
}

.home-top .home-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #333;
  border-right: 0;
  border-radius: 0;
  font-size: 16px;
  box-sizing: border-box;
}

.home-top .home-search__btn {
  flex: 0 0 56px;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #333 url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10.5' cy='10.5' r='7.5' stroke='%23FFFFFF' stroke-width='2'/%3E%3Cpath d='M16 16L22 22' stroke='%23FFFFFF' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / 24px 24px;
  cursor: pointer;
  transition: opacity ease-out 0.3s;
}

/* V4 の黒ボタンと同じホバー */
.home-top .home-search__btn:hover {
  opacity: 0.4;
}

/* ---------- 新着情報 ---------- */

.home-top .home-news .list-News {
  max-width: 1030px;
  margin: 0 auto;
}

.home-top .home-news .list-News_Block {
  display: flex;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 0;
  border: 0;
}

.home-top .home-news .list-News_Date {
  flex: 0 0 auto;
  justify-content: flex-start;
  gap: 0 16px;
  width: auto;
  margin: 0 16px 0 0;
  font-size: 16px;
  line-height: 1.71429;
}

.home-top .home-news .list-News_Date span:nth-of-type(1) {
  width: 128px;
  white-space: nowrap;
}

.home-top .home-news .list-News_Date span:nth-of-type(2) {
  width: 124px;
  padding: 0;
  border-radius: 4px;
  background-color: #F2F2F2;
  font-size: 14px;
  line-height: 28px;
}

.home-top .home-news .list-News_Text {
  flex: 1 1 auto;
  margin: 0;
  font-size: 16px;
  line-height: 1.71429;
}

.home-top .home-news .list-News_Text a {
  color: #333;
  text-decoration: none;
}

.home-top .home-news .list-News_Text a:hover {
  text-decoration: underline;
}

.home-top .home-news .list-News_Button {
  width: auto;
  margin: 48px auto 0;
  padding-bottom: 4px;
  border-bottom: 1px solid #333;
  color: #333;
  font-weight: 500;
  align-items: center;
  justify-content: center;
  display: flex;
  max-width: max-content;
  transition: opacity 0.3s;
}

/* V4 のテキストリンクと同じホバー */
.home-top .home-news .list-News_Button:hover {
  opacity: 0.85;
  border-bottom-color: transparent;
}

/* ＋アイコン（線 2 本）。開いているときは横線だけ＝− */
.home-top .home-news .list-News_Button::after,
.home-top .home-news .list-News_Button.is-open::after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 0 0 8px;
  background:
    linear-gradient(#454545, #454545) no-repeat center / 100% 2px,
    linear-gradient(#454545, #454545) no-repeat center / 2px 100%;
}

.home-top .home-news .list-News_Button.is-open::after {
  background: linear-gradient(#454545, #454545) no-repeat center / 100% 2px;
}

/* ---------- サポート ---------- */

.home-top .home-support__ttl {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45833;
}

.home-top .home-support__txt {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.71429;
}

.home-top .home-support__link .link {
  display: inline-block;
  margin-top: 24px;
}

/* カードのホバー時の「詳しく見る」（V4 のテキストリンクと同じ見た目） */
#container .home-top .home-support__link:hover .link {
  color: #333;
  font-family: inherit;
  opacity: 0.85;
  border-bottom-color: transparent;
}

.home-top .home-support__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

/* ============================================================
   SP
   ============================================================ */

@media screen and (max-width: 47.99em) {
  .home-top .headline--h3 {
    margin-bottom: 24px;
  }

  .home-top .home-top-subttl {
    margin-top: 56px;
  }

  .home-top .home-top-grid {
    row-gap: 48px;
  }

  .home-top .home-top-grid--style-main {
    margin-bottom: 48px;
  }

  .home-top .home-top-btn {
    margin-top: 40px;
  }

  .home-top .home-top-bg {
    margin-bottom: 64px;
    padding: 64px 0;
  }

  .home-top .home-card__ttl,
  .home-top .home-topics__ttl,
  .home-top .home-media__ttl,
  .home-top .home-support__ttl {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.5;
  }

  .home-top .home-support__ttl {
    margin-top: 0;
  }

  .home-top .home-card__txt,
  .home-top .home-topics__txt,
  .home-top .home-media__txt,
  .home-top .home-support__txt {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.71429;
  }

  .home-top .home-media {
    display: block;
  }

  .home-top .home-topics__slide {
    width: calc(327 / 375 * 100vw);
  }

  .home-top .home-topics__navigation {
    margin-top: 24px;
    padding: 0 6.4vw;
  }

  .home-top .home-topics__pagination {
    flex-wrap: nowrap;
    gap: 8px;
    height: 4px;
  }

  .home-top .home-topics__pagination .swiper-pagination-bullet {
    flex: 0 1 33px;
    width: auto;
    min-width: 0;
  }

  .home-top .home-topics__controller {
    justify-content: center;
    position: static;
    margin-top: 32px;
    height: auto;
  }

  .home-top .home-insta__subttl {
    margin-top: 48px;
  }

  .home-top .home-insta__btn {
    margin-top: 40px;
  }

  .home-top .home-insta__btn,
  .home-top .home-top-btn {
    width: auto;
    margin-right: 0;
    margin-left: 0;
  }

  .home-top .home-insta__btn .btn__link,
  .home-top .home-top-btn .btn__link {
    width: 100%;
    max-width: none;
  }

  .home-top .home-search {
    flex-direction: column;
    margin-top: 64px;
  }

  .home-top .home-search__ttl {
    font-size: 16px;
    line-height: 1.5;
  }

  .home-top .home-search__input {
    font-size: 14px;
  }

  .home-top .home-news .list-News_Block {
    display: block;
    margin-bottom: 24px;
  }

  .home-top .home-news .list-News_Date {
    margin: 0 0 8px;
    font-size: 14px;
  }

  .home-top .home-news .list-News_Date span:nth-of-type(1) {
    width: auto;
  }

  .home-top .home-news .list-News_Date span:nth-of-type(2) {
    width: 96px;
    font-size: 12px;
    line-height: 24px;
  }

  .home-top .home-news .list-News_Text {
    font-size: 14px;
  }

  .home-top .home-news .list-News_Button {
    margin-top: 40px;
  }
}
