/*******************************************************************************
共通、使い回し
*******************************************************************************/

:root {
  --scrollbar: 0;
  --gutter-pc: 30px;
  --gutter-sp: 24px;
}

.younoie {
  padding-bottom: 100px;
}

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

.younoie .boxed-btn>span {
  margin-right: 10px;
}

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

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

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

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

.u-border-top {
  border-top: 1px solid #ccc;
}

/* クリックエリアの拡張 */
.u-expand-clickable-area {
  position: relative;
}

.u-expand-clickable-area::before {
  content: "";
  position: absolute;
  top: -15px;
  right: -15px;
  bottom: -15px;
  left: -15px;
}

.pcD {
  display: block;
}

.spD {
  display: none;
}

/* 右下固定のボタン（資料席、モデルハウス来場予約）非表示 */
.ie21-header__sub {
  display: none;
}

/* SP */
@media screen and (max-width: 767px) {
  .younoie {
    padding-bottom: 60px;
  }

  .l-container {
    padding-right: var(--gutter-sp);
    padding-left: var(--gutter-sp);
    overflow: hidden;
  }

  .l-container.--md {
    width: min(100%, calc(760px + var(--gutter-sp) * 2));
  }

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

  .l-container.--lg {
    width: min(100%, calc(1000px + var(--gutter-sp) * 2));
  }

  .u-width-100vw-sp {
    margin-left: calc(50% - (50vw - var(--scrollbar) / 2));
    margin-right: calc(50% - (50vw - var(--scrollbar) / 2));
  }

  .pcD {
    display: none;
  }

  .spD {
    display: block;
  }
}

/*******************************************************************************
モデルハウス来場予約（サイド固定ボタン）
*******************************************************************************/

.c-fixed-side-btn {
  box-shadow: 0 3px 6px rgb(0, 0, 0, .16);
}

.c-fixed-side-btn {
  transition: opacity 350ms ease, bottom 350ms ease;
  position: fixed;
  right: 0;
  top: 160px;
  height: max-content;
  writing-mode: vertical-rl;
  line-height: 100%;
  padding: 33px 20.5px 30px;
  text-decoration: none;
  background: #7F0019;
  border-radius: 8px 0 0 8px;
  z-index: 999;
  font-size: 16px;
}

/* SP */
@media only screen and (max-width:768px) {
  .c-fixed-side-btn {
    display: flex;
    justify-content: center;
    width: 334.14px;
    height: 54.14px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    border-radius: 6px;
    padding: 0;
    writing-mode: unset;
    top: auto;
    line-height: 1.8;
  }

  .c-fixed-side-btn.hide {
    opacity: 0;
    bottom: -74px;
    transition: opacity 350ms ease, bottom 350ms ease;
  }
}

.c-fixed-side-btn__label {
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.1em;
}

.c-fixed-side-btn__label::after {
  content: "";
  display: block;
  margin-top: 4px;
  width: 17px;
  height: 17px;
  background: url(../img/icon_button_arrow.svg) center/contain no-repeat;
}

/* SP */
@media only screen and (max-width:768px) {
  .c-fixed-side-btn__label::after {
    background: none;
    width: 10px;
    height: 10px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
    margin-top: 0;
    margin-left: 4px;
  }
}

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

:root {
  --mv-width-pc: 1920;
  --mv-height-pc: 1000;
  --mv-width-sp: 375;
  --mv-height-sp: 607;
}

.younoie-mv {
  position: relative;
  overflow: hidden;
}

.younoie-mv__title {
  position: absolute;
  z-index: 1;
  top: calc(170 / var(--mv-height-pc) * 100%);
  right: calc(460 / var(--mv-width-pc) * 100%);
  width: calc(50 / var(--mv-width-pc) * 100%);
}

.younoie-mv__video {
  width: 100%;
  height: auto;
}

/* SP */
@media screen and (max-width: 767px) {
  .younoie-mv__title {
    top: calc(70 / var(--mv-height-sp) * 100%);
    right: calc(65 / var(--mv-width-sp) * 100%);
    width: calc(40 / var(--mv-width-sp) * 100%);
  }
}

/*******************************************************************************
理想の部屋を更新しました。
*******************************************************************************/

.younoie-about {
  margin-top: 80px;
}

.younoie-about__title {
  width: min(100%, 406px);
}

.younoie-about__txt {
  margin-top: 40px;
  font-size: 16px;
  line-height: calc(30/16);
}

/* SP */
@media screen and (max-width: 767px) {
  .younoie-about {
    margin-top: 50px;
  }

  .younoie-about__title {
    width: min(100%, 304px);
  }

  .younoie-about__txt {
    margin-top: 35px;
    font-size: 14px;
    line-height: calc(26/14);
  }
}

/*******************************************************************************
ボタンリスト
*******************************************************************************/

.younoie-buttons {
  padding: 40px 0;
  background: #F7F7F7;
  margin-top: 80px;
}

.younoie-buttons__list {
  display: grid;
  grid-template-columns: repeat(2, 260px);
  justify-content: center;
  row-gap: 20px;
  column-gap: 20px;
}

.younoie-button__link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(100%, 260px);
  height: 98px;
  padding: 20px;
  font-size: 18px;
  line-height: calc(24/18);
  font-weight: 700;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 0 4px rgb(0 0 0 / 0.16);
}

.younoie-button__link span {
  display: flex;
  align-items: center;
  column-gap: 6px;
}

.younoie-button__link span::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.younoie-button__link:hover span::after {
  transform: translateX(50%) rotate(45deg);
}

/* SP */
@media screen and (max-width: 767px) {
  .younoie-buttons {
    margin-top: 40px;
  }

  .younoie-buttons__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .younoie-button:nth-child(odd) {
    justify-self: flex-end;
    width: min(100%, 250px);
  }

  .younoie-button__link {
    position: relative;
    justify-content: flex-start;
    font-size: 16px;
    line-height: calc(19/16);
    height: 100px;
    padding: 20px 16px;
    padding-left: 20px;
  }

  .younoie-button__link span {
    position: relative;
    width: 100%;
  }

  .younoie-button__link span::after {
    display: inline;
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%) rotate(45deg);
  }
}

/*******************************************************************************
窓を介して、庭と仲良くする。
*******************************************************************************/

.younoie-garden {
  margin-top: 32px;
}

.younoie-garden__body {
  padding-top: 80px;
}

.younoie-garden__title {
  font-size: 24px;
  line-height: calc(38/24);
  font-weight: 700;
}

.younoie-garden__txt {
  margin-top: 15px;
  font-size: 16px;
  line-height: calc(30/16);
}

.younoie-garden__movie {
  margin-top: 80px;
}

.younoie-garden__movie iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  vertical-align: bottom;
  border: 0;
}

/* SP */
@media screen and (max-width: 767px) {
  .younoie-garden {
    margin-top: 12px;
  }

  .younoie-garden__body {
    padding-top: 35px;
  }

  .younoie-garden__title {
    font-size: 16px;
    line-height: calc(28/16);
  }

  .younoie-garden__txt {
    margin-top: 15px;
    font-size: 14px;
    line-height: calc(28/14);
  }

  .younoie-garden__movie {
    margin-top: 40px;
  }
}

/*******************************************************************************
あなたの平屋。
*******************************************************************************/

.younoie-plan {
  margin-top: 160px;
  padding-top: 70px;
}

.younoie-plan__title {
  width: min(100%, 33px);
  margin: auto;
}

.younoie-plan-item-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 100px;
  margin-top: 100px;
}

.younoie-plan-item__header {
  display: flex;
  column-gap: 20px;
}

.younoie-plan-item__sub-title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  line-height: calc(30/16);
  font-weight: 700;
  border: 1px solid #000;
  padding: 4px 10px;
  width: 100px;
  height: 36px;
}

.younoie-plan-item__title {
  font-size: 24px;
  line-height: calc(38/24);
  font-weight: 700;
  margin-top: -2px;
}

.younoie-plan-item__img {
  margin-top: 30px;
}

.younoie-plan-item__list {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  width: min(100%, 760px);
  margin: 30px auto 0;
}

.younoie-plan-item__list li {
  position: relative;
  padding-left: 35px;
  font-size: 16px;
  line-height: calc(30/16);
}

.younoie-plan-item__list li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: center/contain no-repeat;
  color: #fff;
}

.younoie-plan-item__list li:nth-child(1)::before {
  background-image: url(/ie/younoie/2025new/img/plan_num_1.svg);
}

.younoie-plan-item__list li:nth-child(2)::before {
  background-image: url(/ie/younoie/2025new/img/plan_num_2.svg);
}

.younoie-plan-item__list li:nth-child(3)::before {
  background-image: url(/ie/younoie/2025new/img/plan_num_3.svg);
}

.younoie-plan__button {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

/* SP */
@media screen and (max-width: 767px) {
  .younoie-plan {
    margin-top: 70px;
    padding-top: 40px;
  }

  .younoie-plan__title {
    width: min(100%, 24px);
  }

  .younoie-plan-item-wrapper {
    row-gap: 80px;
    margin-top: 90px;
  }

  .younoie-plan-item__header {
    flex-direction: column;
    row-gap: 20px;
  }

  .younoie-plan-item__title {
    font-size: 18px;
    line-height: calc(30/18);
    margin-top: 0;
  }

  .younoie-plan-item__img {
    width: 100vw;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    overflow-x: scroll;
  }

  .younoie-plan-item__img-inner {
    width: 800px;
  }

  .younoie-plan-item__list {
    row-gap: 20px;
    margin-top: 20px;
  }

  .younoie-plan-item__list li {
    font-size: 14px;
    line-height: calc(20/14);
    padding-top: 3px;
  }

  .younoie-plan__button {
    margin-top: 40px;
  }
}

/*******************************************************************************
陽の家の仕様・設備 - リスト
*******************************************************************************/

.younoie-spec {
  margin-top: 80px;
  padding-top: 80px;
}

.younoie-spec__title {
  font-size: 24px;
  line-height: calc(38/24);
  text-align: center;
  font-weight: 700;
}

.younoie-spec__lead {
  font-size: 16px;
  line-height: calc(30/16);
  text-align: center;
  margin-top: 20px;
}

.younoie-spec-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 30px;
  row-gap: 46px;
  margin-top: 40px;
}

.younoie-spec-list__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: calc(22/16);
  font-weight: 700;
  color: #fff;
  aspect-ratio: 1/1;
  cursor: pointer;
  overflow: hidden;
  border-radius: 5px;
}

.younoie-spec-list__img {
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.younoie-spec-list__title {
  position: relative;
  z-index: 1;
}

/* 黒色 */
.younoie-spec-list__title.--black {
  color: #000;
}

.younoie-spec-list__title span {
  display: flex;
  align-items: center;
  column-gap: 2px;
}

.younoie-spec-list__title span::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.younoie-spec-list__item:hover .younoie-spec-list__img {
  transform: scale(1.04);
}

.younoie-spec-list__item:hover .younoie-spec-list__title span::after {
  transform: translateX(50%) rotate(45deg);
}

.younoie-spec-list__new {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
}

/* SP */
@media screen and (max-width: 767px) {
  .younoie-spec {
    margin-top: 60px;
    padding-top: 60px;
  }

  .younoie-spec__title {
    font-size: 18px;
    line-height: calc(30/18);
  }

  .younoie-spec__lead {
    font-size: 14px;
    line-height: calc(26/14);
    margin-top: 10px;
  }

  .younoie-spec-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 20px;
  }

  .younoie-spec-list__item {
    font-size: 13px;
    line-height: calc(20/13);
  }

  .younoie-spec-list__title span {
    column-gap: 4px;
  }

  .younoie-spec-list__title span::after {
    width: 10px;
    height: 10px;
  }

  .younoie-spec-list__new {
    width: 34px;
    height: 34px;
  }
}

/*******************************************************************************
陽の家の仕様・設備 - モーダル
*******************************************************************************/

.younoie-spec-modal-wrapper {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  transition:
    opacity 0.3s linear,
    visibility 0.3s linear;
}

/* モーダル表示時 */
.younoie-spec-modal-wrapper.is-show {
  opacity: 1;
  visibility: visible;
}

.younoie-spec-modal {
  position: absolute;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  width: min(calc(100% - calc(var(--gutter-pc) * 2)), 760px);
  max-height: calc(100% - calc(var(--gutter-pc) * 2));
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 3px 6px rgb(0 0 0 / 0.16);
  padding-bottom: 30px;
  overflow-y: auto;
  transform: translateY(45px);
  transition:
    opacity 0.3s linear,
    visibility 0.3s linear,
    transform 0.3s cubic-bezier(0, 0, 0.2, 1);
}

/* モーダル表示時 */
.younoie-spec-modal.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.younoie-spec-modal__new {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 60px;
  height: 60px;
}

.younoie-spec-modal__body {
  width: min(100%, 680px);
  margin: auto;
  padding-top: 40px;
}

.younoie-spec-modal__title {
  font-size: 18px;
  line-height: calc(30/18);
  font-weight: 700;
}

.younoie-spec-modal__txt {
  font-size: 16px;
  line-height: calc(30/16);
  margin-top: 15px;
}

.younoie-spec-modal__txt small {
  font-size: 13px;
  line-height: calc(23/13);
}

.younoie-spec-modal__closed {
  margin-top: 70px;
}

.younoie-spec-modal__closed,
.younoie-spec-modal__closed-inner {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  margin-left: auto;
  margin-right: auto;
}

.younoie-spec-modal__closed-inner::before,
.younoie-spec-modal__closed-inner::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 2px;
  background: #000;
}

.younoie-spec-modal__closed-inner::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.younoie-spec-modal__closed-inner::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.younoie-spec-modal-overlay {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgb(255 255 255 / 0.8);
  pointer-events: none;
}

/* SP */
@media screen and (max-width: 767px) {
  .younoie-spec-modal {
    width: min(calc(100% - calc(var(--gutter-sp) * 2)), 760px);
    padding-bottom: 30px;
  }

  .younoie-spec-modal__body {
    padding-top: 30px;
    padding-left: calc(20 / 375 * 100vw);
    padding-right: calc(20 / 375 * 100vw);
  }

  .younoie-spec-modal__title {
    font-size: 16px;
    line-height: calc(28/16);
  }

  .younoie-spec-modal__txt {
    font-size: 14px;
    line-height: calc(24/14);
  }

  .younoie-spec-modal__txt small {
    font-size: 11px;
    line-height: calc(20/11);
  }

  .younoie-spec-modal__closed,
  .younoie-spec-modal__closed-inner {
    width: 20px;
    height: 20px;
  }

  .younoie-spec-modal__closed {
    margin-top: 30px;
  }

  .younoie-spec-modal__closed-inner::before,
  .younoie-spec-modal__closed-inner::after {
    width: 20px;
  }
}

/*******************************************************************************
陽の家の性能
*******************************************************************************/

.younoie-performance {
  margin-top: 80px;
  padding-top: 80px;
}

.younoie-performance__title {
  font-size: 24px;
  line-height: calc(38/24);
  text-align: center;
  font-weight: 700;
}

.younoie-performance__lead {
  font-size: 16px;
  line-height: calc(30/16);
  text-align: center;
  margin-top: 20px;
}

.younoie-performance-item-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 60px;
  margin-top: 95px;
}

.younoie-performance-item {
  display: grid;
  grid-template-columns: 215fr 585fr;
  row-gap: 30px;
}

.younoie-performance-item__img {
  grid-column: 1/-1;
}

.younoie-performance-item__title {
  grid-column: 1/2;
  justify-self: center;
}

/* 断熱 */
.younoie-performance-item__title.--insulation {
  width: min(100%, 34px);
}

/* 耐震 */
.younoie-performance-item__title.--earthquake-resistant {
  width: min(100%, 33px);
}

.younoie-performance-item__body {
  grid-column: 2/3;
  padding-right: 20px;
  margin-top: -6px;
}

.younoie-performance-item__txt {
  font-size: 16px;
  line-height: calc(30/16);
}

.younoie-performance-item__note {
  margin-top: 10px;
}

.younoie-performance-item__note small {
  font-size: 13px;
  line-height: calc(23/13);
}

.younoie-performance-item__link {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: 25px;
  margin-left: auto;
  font-size: 14px;
  line-height: calc(20/14);
  font-weight: 700;
}

.younoie-performance-item__link::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.younoie-performance-item__link:hover::after {
  transform: translateX(50%) rotate(45deg);
}

/* SP */
@media screen and (max-width: 767px) {
  .younoie-performance {
    margin-top: 60px;
    padding-top: 60px;
  }

  .younoie-performance__title {
    font-size: 18px;
    line-height: calc(30/18);
  }

  .younoie-performance__lead {
    font-size: 14px;
    line-height: calc(26/14);
    margin-top: 10px;
  }

  .younoie-performance-item-wrapper {
    margin-top: 40px;
    row-gap: 85px;
  }

  .younoie-performance-item__title {
    justify-self: flex-start;
    margin-left: calc(13 / 375 * 100vw);
  }

  .younoie-performance-item__body {
    padding-right: 0;
  }

  .younoie-performance-item__txt {
    font-size: 14px;
    line-height: calc(26/14);
  }

  .younoie-performance-item__note {
    margin-top: 15px;
  }

  .younoie-performance-item__note small {
    font-size: 11px;
    line-height: calc(20/11);
  }

  .younoie-performance-item__link {
    margin-top: 15px;
    column-gap: 2px;
  }
}

/*******************************************************************************
陽の家についてもっと詳しく知る
*******************************************************************************/

.younoie-section-more {
  margin-top: 80px;
  padding-top: 100px;
}

.younoie-section-more .icon-btn>img {
  width: 60px;
}

/* SP */
@media screen and (max-width: 767px) {
  .younoie-section-more {
    padding-top: 40px;
  }

  .younoie-section-more .icon-btn>img {
    width: 55px;
  }
}

/*******************************************************************************
LINE
*******************************************************************************/

.younoie-line {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  column-gap: 105px;
  margin: 100px auto 0;
  width: min(100%, 820px);
  padding: 0 var(--gutter-pc);
}

.younoie-line__txt {
  width: min(100%, 370px);
  font-size: 1.6rem;
  line-height: calc(30/16);
  margin-bottom: 0 !important;
}

/* SP */
@media screen and (max-width: 767px) {
  .younoie-line {
    flex-direction: column;
    row-gap: 35px;
    margin-top: 60px;
    padding: 0 var(--gutter-sp);
  }

  .younoie-line__txt {
    font-size: 1.4rem;
    line-height: calc(26/14);
  }
}

/*******************************************************************************
QRコード
*******************************************************************************/

.younoie-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
}

.younoie-qr__txt {
  margin-bottom: 0;
}

.younoie-qr__txt a {
  text-decoration: none;
}

.younoie-qr__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  min-height: 40px;
  font-size: 1.6rem;
  line-height: calc(30/16);
  color: #fff;
  font-weight: 700;
  background: #00B900;
  border-radius: 5px;
  pointer-events: none;
}

.younoie-qr__link::after {
  content: "";
  position: absolute;
  bottom: -17px;
  background: #00B900;
  height: calc(tan(60deg) * 20px / 2);
  width: 20px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.younoie-qr__img {
  width: 150px;
  margin-top: 27px !important;
}

/* SP */
@media screen and (max-width: 767px) {
  .younoie-qr {
    width: 100%;
  }

  .younoie-qr__txt {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .younoie-qr__link {
    min-height: 50px;
    pointer-events: auto;
  }

  .younoie-qr__link:hover {
    color: #fff;
  }

  .younoie-qr__link::after {
    content: none;
  }

  .younoie-qr__img {
    display: none;
  }
}

/* SP small */
@media screen and (max-width: 428px) {
  .younoie-qr__link {
    width: 100%;
  }
}