@charset "UTF-8";

/******************************************************************
変数
******************************************************************/

:root {
  --c-white: #FFF;
  --c-black: #000;
  --c-accent: #7F0019;
  --c-white: #FFF;
  --c-text: #3C3C43;
  --c-text60: #8A8A8E;
  --c-beige30: #FCF8F0;
  --c-gray20: #DEDEDE;
  --c-background: #F5F5F5;

  --gutter-pc: 20px;
  --gutter-tb: 20px;
  --gutter-sp: 17px;

  --height-height: 80px;
  --height-height-sp: 60px;
}

/******************************************************************
mixins
******************************************************************/

/******************************************************************
mixins - ウィンドウ横幅フル
******************************************************************/

@media (max-width: 1000px) {
  .u-width-100vw-tb {
    margin-left: calc(var(--gutter-tb) * -1) !important;
    margin-right: calc(var(--gutter-tb) * -1) !important;
  }
}

@media (max-width: 768px) {
  .u-width-100vw-sp {
    margin-left: calc(var(--gutter-sp) * -1) !important;
    margin-right: calc(var(--gutter-sp) * -1) !important;
  }
}

/******************************************************************
コンテナー
******************************************************************/

.l-container {
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter-pc);
  padding-right: var(--gutter-pc);
  box-sizing: content-box;
}

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

.l-container.--md {
  max-width: 744px;
}

.l-container.--lg {
  max-width: 1128px;
}

@media (max-width: 768px) {
  .l-container.--sp-no-gutter {
    padding: 0;
  }
}

:root {
  --border-thick: 20px;
  --border-thick-lg: 120px;
}

/******************************************************************
セクションのボーダー
******************************************************************/

.l-section-border {
  border-top: 1px solid var(--c-gray20);
}

/* 太めのボーダー */
.l-section-border-thick {
  position: relative;
}

.l-section-border-thick::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: var(--border-thick);
  width: 100%;
  background: var(--c-beige30);
}

.l-section-border-thick.--lg::before {
  height: var(--border-thick-lg);
}

.l-section-border-thick.--border-bottom::before {
  border-bottom: 1px solid var(--c-gray20);
}

/******************************************************************
セクションのドット
******************************************************************/

.l-section-dotted {
  position: relative;
}

.l-section-dotted::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background: url(../img/line_dotted.svg) center/cover no-repeat;
}

@media (max-width: 768px) {
  .l-section-dotted::before {
    background-image: url(../img/line_dotted_sp.svg);
  }
}

/******************************************************************
コンポーネント - リンク
******************************************************************/

.c-link-box-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  margin: auto;
  width: min(100%, 224px);
}

.c-link-box {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1.8;
  border: none;
  background: var(--c-text);
  border-radius: 5px;
  color: var(--c-white);
  padding: 21px 15px 19px;
  transition: opacity .3s;
}

.c-link-box:hover {
  color: var(--c-white);
  opacity: .8;
}

.c-link-box-note {
  text-align: center;
  line-height: 1.6;
  font-size: 1.4rem;
}

@media (max-width: 768px) {
  .c-link-box-note {
    font-size: 1.2rem !important;
  }
}

/******************************************************************
ベース設定
******************************************************************/

.p-zeh {
  margin-top: 80px;
}

@media (max-width: 768px) {
  .p-zeh {
    margin-top: 60px;
  }
}

.p-zeh * img,
.p-zeh * video {
  vertical-align: bottom;
  height: auto;
}

.p-zeh * video {
  width: 100%;
}

.p-zeh * section {
  margin: revert !important;
}

@media (max-width: 768px) {
  .p-zeh * section {
    width: 100%;
  }
}

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

/*
  .p-mv（sticky）がスティッキー状態の間に必要なスクロール量（ScrollTrigger 用）
  大きいほど切り替えまで長くなる
*/
.p-mv-scroll {
  height: 300vh;
}

@media (max-width: 768px) {
  .p-mv-scroll {
    height: 200vh;
  }
}

.p-mv {
  position: sticky;
  top: var(--height-height);
  z-index: 0;
  height: calc(100dvh - var(--height-height));
}

@media (max-width: 768px) {
  .p-mv {
    top: var(--height-height-sp);
    height: calc(100dvh - var(--height-height-sp));
  }
}

.p-mv__logo {
  position: absolute;
  z-index: 4;
  right: calc(381 / 1920 * 100%);
  bottom: calc(90 / 1080 * 100%);
  width: max(200px, calc(350 / 1920 * 100%));
}

@media (max-width: 768px) {
  .p-mv__logo {
    right: calc(34 / 375 * 100%);
    bottom: calc(34 / 666 * 100%);
    width: calc(200 / 375 * 100%);
  }
}

/*
  opacity は GSAP（ScrollTrigger）で制御する
*/
.p-mv__img {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
}

.p-mv__img:nth-child(1) {
  z-index: 3;
  opacity: 1;
}

.p-mv__img:nth-child(2) {
  z-index: 2;
}

.p-mv__img:nth-child(3) {
  z-index: 1;
}

.p-mv__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/******************************************************************
セクションのヘッダー
******************************************************************/

.c-section-head {
  display: grid;
  grid-template-columns: 183px auto;
  align-items: center;
  justify-content: center;
  column-gap: 40px;
}

@media (max-width: 768px) {
  .c-section-head {
    grid-template-columns: auto;
    row-gap: 21px;
  }
}

.c-section-head__icon {
  margin: 0 !important;
}

@media (max-width: 768px) {
  .c-section-head__icon {
    width: min(100%, 180px);
    margin: auto !important;
  }
}

.c-section-head__title img {
  width: auto;
  height: 40px;
}

@media (max-width: 768px) {
  .c-section-head__title img {
    height: 60px;
  }
}

/******************************************************************
リノベーションは性能で決まる
******************************************************************/

.p-about {
  padding: 120px 0;
}

@media (max-width: 768px) {
  .p-about {
    padding: 60px 0;
  }
}

.p-about-head__title {
  width: min(100%, 427px);
}

@media (max-width: 768px) {
  .p-about-head__title {
    width: min(100%, 232px);
  }
}

.p-about__body {
  margin-top: 40px;
}

.p-about-lead {
  font-size: 1.6rem;
  line-height: 1.8;
  font-weight: 300;
  text-align: justify;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

@media (max-width: 768px) {
  .p-about-lead {
    font-size: 1.4rem;
  }
}

.p-about-lead p:not(:first-child) {
  margin-top: 15px;
}

.p-about-zeh {
  line-height: 1.8;
  margin-top: 35px !important;
}

.p-about-zeh__title,
.p-about-zeh__txt {
  color: var(--c-text60);
  font-size: 1.4rem;
}

@media (max-width: 768px) {

  .p-about-zeh__title,
  .p-about-zeh__txt {
    font-size: 1.2rem;
  }
}

.p-about-zeh__title {
  font-weight: 700;
}

.p-about-zeh__txt {
  margin-top: 20px;
  text-align: justify;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

.p-about__footer {
  margin-top: 80px;
}

/******************************************************************
無印良品の家具 30万円分をプレゼント
******************************************************************/

.p-present {
  padding: 120px 0;
}

@media (max-width: 768px) {
  .p-present {
    padding: 60px 0;
  }
}

.p-present-head__title {
  width: min(100%, 342px);
  margin: auto;
}

@media (max-width: 768px) {
  .p-present-head__title {
    width: min(100%, 327px);
  }
}

.p-present__body {
  margin-top: 40px;
}

.p-present__txt {
  margin-top: 40px;
  font-size: 1.6rem;
  text-align: justify;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

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

.p-present__note {
  margin-top: 5px;
  font-size: 1.4rem;
  color: var(--c-text60);
}

@media (max-width: 768px) {
  .p-present__note {
    font-size: 1.2rem;
  }
}

.p-present__footer {
  margin-top: 80px;
}

/******************************************************************
高断熱で実現〜
******************************************************************/

.p-good-life {
  padding: 120px 0 80px;
  background: var(--c-beige30);
}

@media (max-width: 768px) {
  .p-good-life {
    padding: 60px 0 80px;
  }
}

.p-good-life-title {
  width: min(456px, 100%);
  margin: auto;
}

@media (max-width: 768px) {
  .p-good-life-title {
    width: min(100%, 273px);
  }
}

.p-good-life-nav {
  width: min(840px, 100%);
  margin: 80px auto 0;
}

@media (max-width: 768px) {
  .p-good-life-nav {
    margin-top: 40px;
  }
}

.p-good-life-nav__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
}

@media (max-width: 768px) {
  .p-good-life-nav__list {
    column-gap: 12px;
  }
}

.p-good-life-nav__link {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
}

.p-good-life-nav__link::after {
  content: "";
  display: block;
  margin: auto;
  width: 17px;
  height: 17px;
  border-top: 1px solid var(--c-black);
  border-right: 1px solid var(--c-black);
  transform: rotate(135deg);
}

@media (max-width: 768px) {
  .p-good-life-nav__link::after {
    margin-top: -8px;
  }
}

.p-good-life-nav__img {
  width: min(100%, 182px);
}

@media (max-width: 768px) {
  .p-good-life-nav__img {
    width: min(100%, 90px);
  }
}

.p-good-life-nav__txt {
  text-align: center;
}

.p-good-life-nav__txt img {
  height: 42px;
  width: auto;
}

@media (max-width: 768px) {
  .p-good-life-nav__txt img {
    height: 32px;
  }
}

.p-good-life-nav__txt img {
  width: auto;
}

/******************************************************************
居心地の良い住まいに整える
******************************************************************/

.p-comfortable {
  padding: calc(var(--border-thick) + 120px) 0 120px;
}

@media (max-width: 768px) {
  .p-comfortable {
    padding: calc(var(--border-thick) + 60px) 0;
  }
}

.p-comfortable__body {
  width: min(100%, 552px);
  margin: 20px auto 0;
}

.p-comfortable__txt {
  margin-top: 30px;
  font-size: 1.4rem;
  text-align: justify;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .p-comfortable__txt {
    margin-top: 20px;
  }
}

/******************************************************************
健やかな暮らし〜
******************************************************************/

.p-healthy {
  padding: calc(var(--border-thick) + 120px) 0 120px;
}

@media (max-width: 768px) {
  .p-healthy {
    padding: calc(var(--border-thick) + 60px) 0 60px;
  }
}

.p-healthy__body {
  margin-top: 80px;
}

@media (max-width: 768px) {
  .p-healthy__body {
    margin-top: 60px;
  }
}

.p-healthy-item-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 80px;
}

@media (max-width: 768px) {
  .p-healthy-item-wrapper {
    row-gap: 60px;
  }
}

.p-healthy-item.l-section-dotted {
  padding-top: 80px;
}

@media (max-width: 768px) {
  .p-healthy-item.l-section-dotted {
    padding-top: 60px;
  }
}

.p-healthy-item {
  display: grid;
  grid-template-columns: 646fr 455fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "img title"
    "img txt";
  column-gap: 27px;
  row-gap: 30px;
}

.p-healthy-item::after {
  content: none;
}

@media (max-width: 768px) {
  .p-healthy-item {
    grid-template-columns: auto;
    grid-template-rows: auto;
    row-gap: 40px;
    column-gap: 0;
    grid-template-areas:
      "title"
      "img"
      "txt";
  }
}

.p-healthy-item__img {
  grid-area: img;
}

.p-healthy-item__title {
  grid-area: title;
}

@media (max-width: 768px) {
  .p-healthy-item__title {
    text-align: center;
  }
}

.p-healthy-item__title img {
  width: auto;
  height: 26px;
}

@media (max-width: 768px) {
  .p-healthy-item__title img {
    height: 20px;
  }
}

.p-healthy-item__txt {
  grid-area: txt;
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: justify;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

@media (max-width: 768px) {
  .p-healthy-item__txt {
    font-size: 1.4rem !important;
  }
}

.p-healthy-item__txt *+* {
  margin-top: 30px;
}

@media (max-width: 768px) {
  .p-healthy-item__txt *+* {
    margin-top: 20px;
  }
}

.p-healthy-item__note {
  font-size: 1.4rem;
  color: var(--c-text60);
}

@media (max-width: 768px) {
  .p-healthy-item__note {
    font-size: 1.2rem !important;
    margin-top: 10px;
  }
}

/******************************************************************
精勤・補助金のメリット
******************************************************************/

.p-merit {
  padding: 120px 0;
}

@media (max-width: 768px) {
  .p-merit {
    padding: 60px 0;
  }
}

.p-merit__body {
  margin-top: 80px;
}

@media (max-width: 768px) {
  .p-merit__body {
    margin-top: 60px;
  }
}

.p-merit-item-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 80px;
}

@media (max-width: 768px) {
  .p-merit-item-wrapper {
    row-gap: 60px;
  }
}

.p-merit-lead__title.--txt {
  font-weight: bold;
  line-height: 1.6;
  font-size: 2.4rem;
  text-align: center;
}

@media (max-width: 768px) {
  .p-merit-lead__title.--txt {
    font-size: 2rem;
  }
}

.p-merit-lead__title.--img {
  width: min(100%, 348px);
  margin: auto;
}

.p-merit-lead__txt {
  margin-top: 35px;
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: justify;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

@media (max-width: 768px) {
  .p-merit-lead__txt {
    font-size: 1.4rem !important;
  }
}

.p-merit-lead__note {
  font-size: 1.4rem;
  color: var(--c-text60);
  margin-top: 10px;
}

@media (max-width: 768px) {
  .p-merit-lead__note {
    font-size: 1.2rem !important;
    margin-top: 5px;
  }
}

.p-merit-about {
  background: var(--c-background);
  padding: 40px;
  border-radius: 8px;
  margin-top: 40px !important;
}

.p-merit-about__title {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .p-merit-about__title {
    font-size: 1.6rem;
    text-align: center;
  }
}

.p-merit-about__txt {
  line-height: 1.8;
  font-size: 1.6rem;
  text-align: justify;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

*+.p-merit-about__txt {
  margin-top: 30px;
}

.p-merit-about__list li {
  position: relative;
  line-height: 1.8 !important;
  padding-left: 1.5rem;
}

.p-merit-about__list li::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--c-black);
  border-radius: 50%;
}

.p-merit-about__note {
  font-size: 1.4rem;
  color: var(--c-text60);
  margin-top: 10px;
}

@media (max-width: 768px) {
  .p-merit-about__note {
    font-size: 1.2rem !important;
    margin-top: 5px;
  }
}

.p-merit-article {
  margin-top: 80px;
  padding: 0 72px;
}

@media (max-width: 768px) {
  .p-merit-article {
    margin-top: 60px;
    padding: 0;
  }
}

.p-merit-article__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 24px;
  row-gap: 24px;
}

@media (max-width: 768px) {
  .p-merit-article__list {
    grid-template-columns: 288px;
    justify-content: center;
  }
}

.p-merit__footer {
  margin-top: 80px;
}

@media (max-width: 768px) {
  .p-merit__footer {
    margin-top: 60px;
  }
}

/******************************************************************
記事
******************************************************************/

.c-article.is-external .c-article__link {
  position: relative;
}

.c-article.is-external .c-article__link::after {
  content: "";
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 16px;
  height: auto;
  aspect-ratio: 1/1;
  background: url(../img/icon_external.svg) center/cover no-repeat;
}

.c-article__header {
  position: relative;
}

.c-article__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 8px;
}

.c-article__tag-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-white);
  border-radius: 4px;
  font-size: 1.2rem !important;
  line-height: 1.2 !important;
  width: 40px;
  aspect-ratio: 1/1;
}

.c-article__link {
  display: block;
  border-radius: 4px;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
}

.c-article__body {
  padding: 20px;
  text-align: justify;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

.c-article__title {
  font-weight: bold;
  font-size: 1.6rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .c-article__title {
    font-size: 1.4rem;
  }
}

.c-article__txt {
  margin-top: 60px;
  font-size: 1.2rem !important;
  line-height: 1.6;
  color: var(--c-text60);
}

/******************************************************************
MUJI INFILL 0~
******************************************************************/

.p-infill {
  padding: calc(var(--border-thick-lg) + 120px) 0 120px;
}

@media (max-width: 768px) {
  .p-infill {
    --border-thick-lg: 60px;
    padding: calc(var(--border-thick-lg) + 60px) 0 60px;
  }
}

.p-infill__title {
  width: min(100%, 477px);
  margin: auto;
}

@media (max-width: 768px) {
  .p-infill__title {
    width: min(100%, 307px);
  }
}

.p-infill__body {
  margin-top: 60px;
}

.p-infill-item-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 120px;
  margin-top: 120px;
}

@media (max-width: 768px) {
  .p-infill-item-wrapper {
    row-gap: 60px;
    margin-top: 60px;
  }
}

.p-infill-item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "header img"
    "txt img";
  row-gap: 35px;
  column-gap: 24px;
}

@media (max-width: 768px) {
  .p-infill-item {
    row-gap: 40px;
    grid-template-columns: auto;
    grid-template-rows: auto;
    grid-template-areas:
      "header"
      "txt"
      "img";
  }
}

.p-infill-item.--reverse {
  grid-template-areas:
    "img header"
    "img txt";
}

@media (max-width: 768px) {
  .p-infill-item.--reverse {
    grid-template-areas:
      "header"
      "txt"
      "img";
  }
}

.p-infill-item::after {
  content: none;
}

.p-infill-item__header {
  grid-area: header;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.p-infill-item__new {
  display: block;
  width: fit-content;
  background: var(--c-accent);
  color: var(--c-white);
  font-size: 1.4rem;
  line-height: 1.6;
  font-weight: bold;
  padding: 5px 10px;
}

@media (max-width: 768px) {
  .p-infill-item__new {
    font-size: 1.2rem !important;
  }
}

.p-infill-item-title {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

@media (max-width: 768px) {
  .p-infill-item-title {
    row-gap: 15px;
  }
}

.p-infill-item-title.--2col {
  flex-direction: row;
  align-items: center;
  column-gap: 10px;
}

.p-infill-item-title__main,
.p-infill-item-title__sub {
  display: flex;
}

.p-infill-item-title__main {
  height: 20px;
}

.p-infill-item-title__main img {
  width: auto;
}

.p-infill-item-title__sub {
  align-items: center;
  column-gap: 10px;
  font-size: 1.6rem;
  line-height: 1.6;
  font-weight: 700;
}

@media (max-width: 768px) {
  .p-infill-item-title__sub {
    font-size: 1.4rem !important;
  }
}

.p-infill-item-title__sub::before {
  content: "";
  border-top: 1px solid var(--c-black);
}

.p-infill-item.--num1 .p-infill-item-title__sub::before {
  width: 50px;
}

.p-infill-item.--num2 .p-infill-item-title__sub::before {
  width: 76px;
}

.p-infill-item.--num3 .p-infill-item-title__sub::before {
  width: 33px;
}

.p-infill-item__txt {
  grid-area: txt;
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: justify;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

@media (max-width: 768px) {
  .p-infill-item__txt {
    line-height: 1;
    font-size: 1.4rem !important;
  }
}

.p-infill-item__img {
  grid-area: img;
  align-self: flex-end;
}

.p-infill-item.--num1 .p-infill-item__img {
  margin: 0 0 0 auto !important;
}

@media (max-width: 768px) {
  .p-infill-item.--num1 .p-infill-item__img {
    margin: 0 auto !important;
  }
}

.p-infill-item.--reverse .p-infill-item__img {
  margin: 0 auto 0 0 !important;
}

@media (max-width: 768px) {
  .p-infill-item.--reverse .p-infill-item__img {
    margin: 0 auto !important;
  }
}

.p-infill__footer {
  margin-top: 80px;
}

@media (max-width: 768px) {
  .p-infill__footer {
    margin-top: 60px;
  }
}
