/*******************************************************************************
  共通 ここから
*******************************************************************************/

:root {
  /* 色 */
  --c-crimson:   #7f0019;
  --c-crimson60: #b26675;
  --c-crimson20: #e5ccd1;

  --c-grey:   #5c5a5a;
  --c-grey60: #9d9c9c;
  --c-grey20: #dedede;

  --c-beige:   #f3e9cc;
  --c-beige60: #f8f2e0;
  --c-beige30: #fcf8f0;

  --c-font:   #000;
  --c-font60: #8a8a8e;
  --c-font20: #d8d8d9;

  --c-bg: #F5F5F5;

  /* SVG画像をえんじ色に変換 */
  --c-crimson-filter: brightness(0) saturate(100%) invert(9%) sepia(53%) saturate(6618%) hue-rotate(338deg) brightness(89%) contrast(109%);


  /* コンテナ幅 */
  --container-xl: 1128px;
  --container-lg: 936px;
  --container-md: 744px;
  --container-sm: 648px;

  
  /* ウィンドウ端の余白 */
  --gutter-pc: 33px;
  --gutter-tb: 60px;
  --gutter-sp: 23.5px;
}

/*******************************************************************************
  基本要素のスタイル
*******************************************************************************/

iframe {
  border: 0;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

body {
  color: var(--c-font);
}

/*******************************************************************************
  セクション境界線
*******************************************************************************/

.section-border {
  position: relative;
}

.section-border::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1366px);
  border-top: 1px solid var(--c-grey20);
}

@media (max-width: 1128px) {
  .section-border::before {
    width: min(100%, 647px);
  }
}

@media (max-width: 648px) {
  .section-border::before {
    width: min(100%, 327px);
  }
}

/*******************************************************************************
  ボタンスタイル
*******************************************************************************/

.btn.--center {
  display: flex;
  justify-content: center;
}

.btn .boxed-btn {
  padding: 24px 40px;
}

.btn .boxed-btn span {
  font-weight: normal;
  margin-right: 8px;
}

/*******************************************************************************
  レスポンシブ表示制御
*******************************************************************************/

.show-tb {
  display: none;
}

@media (max-width: 1128px) {
  .show-tb {
    display: block;
  }
}

.show-sp {
  display: none;
}

@media (max-width: 648px) {
  .show-sp {
    display: block;
  }
}

@media (max-width: 1128px) {
  .hide-tb {
    display: none;
  }
}

@media (max-width: 648px) {
  .hide-sp {
    display: none;
  }
}

/*******************************************************************************
  スクリーンリーダー用
*******************************************************************************/

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/*******************************************************************************
  メインコンテンツ（プレフィックスのみ他と違う）
*******************************************************************************/

.top {
  padding-bottom: 120px;
}

@media (max-width: 648px) {
  .top {
    padding-bottom: 60px;
  }
}

.top img {
  height: auto;
  max-width: 100%;
  display: block;
  vertical-align: bottom;
}

.top p {
  font-size: 1.6rem;
  line-height: 1.8;
}

@media (max-width: 648px) {
  .top p {
    font-size: 1.4rem;
  }
}

.top h2,
.top h3,
.top h4,
.top p,
.top small {
  text-box: trim-both cap alphabetic;
  text-align: justify;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

.top p.btn {
  text-box: initial;
}

/*******************************************************************************
  コンテナ（プレフィックスのみ他と違う）
*******************************************************************************/  

.top-container {
  margin: 0 auto;
  padding-left: var(--gutter-pc);
  padding-right: var(--gutter-pc);
}

.top-container.--sm {
  width: min(100%, calc(var(--container-sm) + (var(--gutter-pc) * 2)));
}

.top-container.--md {
  width: min(100%, calc(var(--container-md) + (var(--gutter-pc) * 2)));
}

.top-container.--lg {
  width: min(100%, calc(var(--container-lg) + (var(--gutter-pc) * 2)));
}

.top-container.--xl {
  width: min(100%, calc(var(--container-xl) + (var(--gutter-pc) * 2)));
}

@media (max-width: 1128px) {
  .top-container {
    padding-left: var(--gutter-tb);
    padding-right: var(--gutter-tb);
  }

  .top-container.--sm,
  .top-container.--md,
  .top-container.--lg,
  .top-container.--xl {
    width: min(100%, calc(648px + (var(--gutter-tb) * 2)));
  }
}

@media (max-width: 648px) {
  .top-container {
    padding-left: var(--gutter-sp);
    padding-right: var(--gutter-sp);
  }

  .top-container.--sm,
  .top-container.--md,
  .top-container.--lg,
  .top-container.--xl {
    width: min(100%, calc(328px + (var(--gutter-sp) * 2)));
  }
}

.top-container .top-container {
  padding-left: 0;
  padding-right: 0;
}

/*******************************************************************************
  共通 ここまで
*******************************************************************************/

/*******************************************************************************
  メインビジュアル
*******************************************************************************/

.js-top-hero {
  max-height: 100vh;
  position: relative;
  aspect-ratio: 2400/1600;
  width: 100%;
}

@media (max-width: 648px) {
  .js-top-hero {
    aspect-ratio: 375/500;
  }
}

.top-hero {
  opacity: 0;
  width: inherit;
  aspect-ratio: inherit;
  max-height: inherit;
}

.top-hero__swiper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.top-hero__slide img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

p.top-hero__slide-caption {
  position: absolute;
  font-size: 1.6rem;
  line-height: 3rem;
  left: 41px;
  bottom: 33px;
  transition: color 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
  text-box: initial
}

@media (max-width: 648px) {
  p.top-hero__slide-caption {
    font-size: 1.4rem;
    line-height: 2.6rem;
    left: 30px;
    bottom: 24px;
  }
}

.top-hero__logo {
  position: absolute;
  z-index: 2;
  min-height: 0vw;
  width: max(31.5px, min(1.3554216867vw + 21.0903614458px, 36px));
  right: 10%;
  top: 20%;
}

@media (max-width: 648px) {
  .top-hero__logo {
    right: 16%;
    top: 15.3846153846%;
  }
}

.top-hero__logo svg {
  display: block;
  width: 100%;
  height: auto;
  fill: #000;
  transition: fill 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.top-hero.is-swiper-white .top-hero__slide-caption {
  color: #fff;
}

.top-hero.is-swiper-white .top-hero__logo svg {
  fill: #fff;
}

.top-hero.is-state-ready {
  animation: 1s fadeIn forwards;
}

/*******************************************************************************
  バナー
*******************************************************************************/

.top-banner {
  margin: 120px auto 0;
  width: min(100%, 552px);
  border-radius: 4px;
  overflow: hidden;
}

@media (max-width: 648px) {
  .top-banner {
    margin-top: 40px;
    width: min(100%, 328px);
  }
}

.top-banner a {
  display: block;
  transition: opacity .3s ease;
}

.top-banner a:hover {
  opacity: .8;
}

/*******************************************************************************
  NEWS
*******************************************************************************/

.top-news {
  margin-top: 120px;
}

@media (max-width: 648px) {
  .top-news {
    margin-top: 40px;
  }
}

.top-news-list__item {
  border-top: 1px solid var(--c-grey20);
}

.top-news-list__item:last-child {
  border-bottom: 1px solid var(--c-grey20);
}

.top-news-list__link {
  position: relative;
  display: grid;
  grid-template-columns: 264fr 744fr 72fr;
  column-gap: 24px;
  place-items: center;
}

@media (max-width: 1128px) {
  .top-news-list__link {
    grid-template-columns: 225fr 328fr 29fr;
    column-gap: 33px;
  }
}

@media (max-width: 648px) {
  .top-news-list__link {
    grid-template-columns: 152fr 128fr 9fr;
    column-gap: 24px;
  }
}

.top-news-list__link::after {
  content: "";
  display: block;
  width: 16px;
  height: 28px;
  margin-left: auto;
  margin-right: 24px;
  background: url(/ie/assets/images/top/icon_list_arrow.svg) center/contain no-repeat;
  transition: transform .3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

@media (max-width: 1128px) {
  .top-news-list__link::after {
    width: 12px;
    height: 20px;
    margin-right: 12px;
  }
}

@media (max-width: 648px) {
  .top-news-list__link::after {
    width: 9px;
    height: 14px;
    margin-right: 0;
  }
}

.top-news-list__link:hover::after {
  transform: translateX(50%);
}

.top-news-list__img {
  margin-right: auto;
}

p.top-news-list__txt {
  justify-self: flex-start;
  text-box: initial;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

@media (max-width: 648px) {
  p.top-news-list__txt {
    margin-right: -2px;
  }
}

/*******************************************************************************
  コンセプト
*******************************************************************************/

.top-concept {
  background: var(--c-beige30);
  padding: 120px 0;
  margin-top: 120px;
}

@media (max-width: 648px) {
  .top-concept {
    padding: 60px 0;
    margin-top: 60px;
  }
}

.top-concept-header {
  display: flex;
  justify-content: center;
}

@media (max-width: 648px) {
  .top-concept-header__title img {
    width: auto;
    height: 24px;
  }
}

.top-concept-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
}

@media (max-width: 648px) {
  .top-concept-body {
    margin-top: 40px;
  }
}

.top-concept__txt {
  margin-top: 72px;
}

@media (max-width: 1128px) {
  .top-concept__txt {
    margin-top: 40px;
  }
}

.top-concept-footer {
  margin-top: 60px;
}

@media (max-width: 648px) {
  .top-concept-footer {
    margin-top: 40px;
  }
}

/*******************************************************************************
  4つの家
*******************************************************************************/

.top-house {
  padding: 120px 0;
}

@media (max-width: 648px) {
  .top-house {
    padding: 60px 0;
  }
}

.top-house-header__title {
  display: flex;
  justify-content: center;
}

@media (max-width: 648px) {
  .top-house-header__title img {
    width: auto;
    height: 24px;
  }
}

.top-house-header__txt {
  width: min(100%, 844px);
  margin: 52px auto 0;
}

@media (max-width: 648px) {
  .top-house-header__txt {
    margin-top: 40px;
  }
}

.top-house-body {
  margin-top: 60px;
}

@media (max-width: 1128px) {
  .top-house-body {
    margin-top: 40px;
  }
}

.top-house-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 24px;
  row-gap: 16px;
}

@media (max-width: 1128px) {
  .top-house-list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
}

.top-house-list__title {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

@media (max-width: 648px) {
  .top-house-list__title {
    margin-top: 12px;
  }
}

@media (max-width: 648px) {
  .top-house-list__title img {
    width: auto;
    height: 16px;
  }
}

.top-house-list__img {
  transition: box-shadow 0.3s ease-out;
}

@media (max-width: 1128px) {
  .top-house-list__img img {
    width: 100%;
  }
}

.top-house-list__link:hover .top-house-list__img {
  box-shadow: 0 0 12px rgb(0 0 0 / .12);
}

/*******************************************************************************
  特長と性能
*******************************************************************************/

.top-feature {
  padding-top: 120px;
}

@media (max-width: 648px) {
  .top-feature {
    padding-top: 60px;
  }
}

.top-feature-header {
  display: flex;
  justify-content: center;
}

@media (max-width: 648px) {
  .top-feature-header__title img {
    width: auto;
    height: 24px;
  }
}

.top-feature-body {
  margin-top: 60px;
}

@media (max-width: 648px) {
  .top-feature-body {
    margin-top: 40px;
  }
}

@media (max-width: 648px) {
  .top-feature-list {
    display: grid;
    row-gap: 32px;
  }
}

.top-feature-list__link {
  display: grid;
  align-items: center;
  grid-template-columns: 264fr 744fr 72fr;
  column-gap: 24px;
  padding: 8px 0;
}

@media (max-width: 1128px) {
  .top-feature-list__link {
    grid-template-columns: 264fr 334fr 30fr;
    column-gap: 20px;
  }
}

@media (max-width: 648px) {
  .top-feature-list__link {
    grid-template-columns: repeat(2, auto);
    column-gap: 0;
    row-gap: 16px;
    padding: 0;
  }
}

.top-feature-list__link::after {
  content: "";
  display: block;
  width: 16px;
  height: 28px;
  margin-left: auto;
  margin-right: 24px;
  background: url(/ie/assets/images/top/icon_list_arrow.svg) center/contain no-repeat;
  transition: transform .3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

@media (max-width: 1128px) {
  .top-feature-list__link::after {
    margin-right: 0;
  }
}

@media (max-width: 648px) {
  .top-feature-list__link::after {
    grid-row: 2/3;
    width: 12px;
    height: 20px;
  }
}

.top-feature-list__link:hover::after {
  transform: translateX(50%);
}

@media (max-width: 648px) {
  .top-feature-list__img {
    grid-column: 1/-1;
  }

  .top-feature-list__img img {
    width: 100%;
  }
}

.top-feature-list__title {
  display: flex;
  align-items: center;
  column-gap: 24px;
  padding-left: 16px;
}

@media (max-width: 1128px) {
  .top-feature-list__title {
    column-gap: 20px;
    padding-left: 0;
  }
}

@media (max-width: 648px) {
  .top-feature-list__title {
    column-gap: 12px;
    grid-row: 2/3;
  }
}

.top-feature-list__title::before {
  content: "";
  display: block;
  width: 44px;
  height: 44px;
  background: center/contain no-repeat;
  flex-shrink: 0;
}

@media (max-width: 1128px) {
  .top-feature-list__title::before {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 648px) {
  .top-feature-list__title::before {
    width: 32px;
    height: 32px;
  }
}

.top-feature-list__title img {
  height: 22px;
  width: auto;
}

@media (max-width: 1128px) {
  .top-feature-list__title img {
    height: 20px;
  }
}

@media (max-width: 648px) {
  .top-feature-list__title img {
    height: 16px;
  }
}

.top-feature-list__item {
  border-top: 1px solid var(--c-grey20);
}

@media (max-width: 648px) {
  .top-feature-list__item {
    border-top: none;
  }
}

.top-feature-list__item:last-child {
  border-bottom: 1px solid var(--c-grey20);
}

@media (max-width: 648px) {
  .top-feature-list__item:last-child {
    border-bottom: none;
  }
}

.top-feature-list__item:nth-child(1) .top-feature-list__title::before {
  background-image: url(/ie/assets/images/top/feature_list_1.svg)
}

.top-feature-list__item:nth-child(2) .top-feature-list__title::before {
  background-image: url(/ie/assets/images/top/feature_list_2.svg)
}

.top-feature-list__item:nth-child(3) .top-feature-list__title::before {
  background-image: url(/ie/assets/images/top/feature_list_3.svg)
}

.top-feature-list__item:nth-child(4) .top-feature-list__title::before {
  background-image: url(/ie/assets/images/top/feature_list_4.svg)
}

.top-feature-list__item:nth-child(5) .top-feature-list__title::before {
  background-image: url(/ie/assets/images/top/feature_list_5.svg)
}

.top-feature-footer {
  margin-top: 60px;
}

@media (max-width: 648px) {
  .top-feature-footer {
    margin-top: 40px;
  }
}

/*******************************************************************************
  購入のステップ
*******************************************************************************/

.top-step {
  margin-top: 120px;
  padding-top: 120px;
}

@media (max-width: 648px) {
  .top-step {
    margin-top: 60px;
    padding-top: 60px;
  }
}

.top-step-header {
  display: flex;
  justify-content: center;
}

@media (max-width: 648px) {
  .top-step-header__title img {
    height: 24px;
    width: auto;
  }
}

.top-step-body {
  margin-top: 60px;
}

.top-step-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 66px;
  row-gap: 12px;
}

@media (max-width: 1128px) {
  .top-step-list {
    grid-template-columns: none;
    margin: auto;
    width: min(100%, 510px);
  }
}

@media (max-width: 648px) {
  .top-step-list {
    row-gap: 8px;
  }
}

.top-step-list__item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 24px;
  grid-column: 1/2;
  row-gap: 12px;
}

@media (max-width: 648px) {
  .top-step-list__item {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 8px;
  }
}

.top-step-list__item::after {
  content: "";
  width: 3px;
  height: 36px;
  background: url(/ie/assets/images/top/step_icon_reader.svg) center/contain no-repeat;
  grid-row: 2/3;
  grid-column: 1/2;
  justify-self: center;
}

@media (max-width: 648px) {
  .top-step-list__item::after {
    width: 4px;
    height: 43px;
  }
}

.top-step-list__item:nth-child(4)::after,
.top-step-list__item:nth-child(7)::after {
  content: none;
}

@media (max-width: 1128px) {
  .top-step-list__item:nth-child(4)::after {
    content: "";
  }
}

.top-step-list__item:nth-child(n + 5) {
  grid-column: 2/3;
}

@media (max-width: 1128px) {
  .top-step-list__item:nth-child(n + 5) {
    grid-column: 1/2;
  }
}

.top-step-list__item:nth-child(5) {
  grid-row: 1/2;
}

.top-step-list__item:nth-child(6) {
  grid-row: 2/3;
}

.top-step-list__item:nth-child(7) {
  grid-row: 3/4;
}

@media (max-width: 1128px) {

  .top-step-list__item:nth-child(5),
  .top-step-list__item:nth-child(6),
  .top-step-list__item:nth-child(7) {
    grid-row: auto;
  }
}

p.top-step-list__txt {
  font-size: 1.6rem;
}

@media (max-width: 648px) {
  p.top-step-list__txt {
    font-size: 1.4rem;
  }
}

.top-step-footer {
  margin-top: 60px;
}

@media (max-width: 767px) {
  .top-step-footer {
    margin-top: 40px;
  }
}

/*******************************************************************************
  住まいの実例
*******************************************************************************/

.top-case {
  margin-top: 120px;
  padding-top: 120px;
}

@media (max-width: 648px) {
  .top-case {
    margin-top: 60px;
    padding-top: 60px;
  }
}

.top-case-header {
  display: flex;
  align-items: center;
  flex-direction: column;
}

@media (max-width: 648px) {
  .top-case-header__title img {
    width: auto;
    height: 24px;
  }
}

.top-case-header__txt {
  width: min(100%, 844px);
  margin: 60px auto 0;
}

@media (max-width: 648px) {
  .top-case-header__txt {
    margin-top: 40px;
  }
}

.top-case-body {
  margin-top: 60px;
}

@media (max-width: 648px) {
  .top-case-body {
    margin-top: 40px;
  }
}

.top-case-footer {
  margin-top: 60px;
}

@media (max-width: 648px) {
  .top-case-footer {
    margin-top: 40px;
  }
}

/*******************************************************************************
  無印良品の家をもっと知りたい方へ
*******************************************************************************/

.top-more {
  margin-top: 120px;
  padding-top: 120px;
}

@media (max-width: 648px) {
  .top-more {
    margin-top: 60px;
    padding-top: 60px;
  }
}

@media (max-width: 1128px) {
  .top-more>.top-container {
    width: min(100%, 732px);
  }
}

@media (max-width: 648px) {
  .top-more>.top-container {
    width: min(100%, 328px);
  }
}

.top-more-header {
  display: flex;
  justify-content: center;
}

.top-more-body {
  margin-top: 60px;
}

@media (max-width: 648px) {
  .top-more-body {
    margin-top: 40px;
  }
}

.top-more-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 24px;
  row-gap: 24px;
}

@media (max-width: 1128px) {
  .top-more-list {
    column-gap: 12px;
    row-gap: 12px;
  }
}

@media (max-width: 648px) {
  .top-more-list {
    grid-template-columns: none;
    row-gap: 8px;
  }
}

.top-more-list__item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  row-gap: 0;
  column-gap: 0;
}

.top-more-list__link {
  display: inherit;
  grid-template-rows: inherit;
  grid-row: inherit;
  row-gap: inherit;
  column-gap: inherit;
  padding: 40px;
  box-shadow: 0 0 4px rgb(0 0 0 / .12);
  border-radius: 4px;
  transition: box-shadow .3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

@media (max-width: 648px) {
  .top-more-list__link {
    padding: 30px;
    padding-bottom: 35px;
  }
}

.top-more-list__link:hover {
  box-shadow: 0 0 24px rgb(0 0 0 / .12);
}

.top-more-list__title {
  display: flex;
  align-items: center;
  column-gap: 24px;
  color: var(--c-font);
  font-size: 2rem;
  font-weight: bold;
  margin-left: -16px;
}

@media (max-width: 648px) {
  .top-more-list__title {
    column-gap: 12px;
    font-size: 1.6rem;
    margin-left: 0;
  }
}

.top-more-list__title::before {
  content: "";
  display: block;
  width: 100px;
  height: 100px;
  background: center/contain no-repeat;
}

@media (max-width: 648px) {
  .top-more-list__title::before {
    width: 90px;
    height: 90px;
  }
}

/* カタログ資料請求 */
.top-more-list__title.--req::before {
  background-image: url(/ie/assets/images/top/more_icon_req.svg);
}

/* 見学会 */
.top-more-list__title.--event::before {
  background-image: url(/ie/assets/images/top/more_icon_event.svg);
}

/* 家づくり相談会 */
.top-more-list__title.--hatsuie::before {
  background-image: url(/ie/assets/images/top/more_icon_hatsuie.svg);
}

/* モデルハウス検索 */
.top-more-list__title.--modelhouse::before {
  background-image: url(/ie/assets/images/top/more_icon_modelhouse.svg);
}

.top-more-list__txt {
  margin-top: 24px;
}

@media (max-width: 648px) {
  .top-more-list__txt {
    margin-top: 20px;
  }
}

.top-more-list__more {
  display: flex;
  align-items: center;
  column-gap: 10px;
  margin-top: auto;
  font-size: 1.4rem;
  justify-self: center;
  margin-top: 60px;
}

@media (max-width: 648px) {
  .top-more-list__more {
    margin-top: 45px;
    column-gap: 8px;
  }
}

.top-more-list__more::after {
  content: "";
  display: block;
  width: 10px;
  height: 17px;
  background: url(/ie/assets/images/top/icon_list_arrow.svg) center/contain no-repeat;
  transition: transform .3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

@media (max-width: 648px) {
  .top-more-list__more::after {
    width: 9px;
    height: 16px;
  }
}

.top-more-list__link:hover .top-more-list__more::after {
  transform: translateX(50%);
}