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

: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(260 / var(--mv-height-pc) * 100%);
  left: calc(460 / var(--mv-width-pc) * 100%);
  width: calc(496 / var(--mv-width-pc) * 100%);
}

/* SP */
@media screen and (max-width: 767px) {
  .younoie-mv__title {
    top: calc(130 / var(--mv-height-sp) * 100%);
    left: calc(24 / var(--mv-width-sp) * 100%);
    width: calc(250 / var(--mv-width-sp) * 100%);
  }
}

/*******************************************************************************
インタビュー動画
*******************************************************************************/

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

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

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

.younoie-interview__body {
  display: flex;
  flex-direction: column;
  row-gap: 80px;
  margin-top: 55px;
}

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

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

.younoie-interview-item__sub-title {
  display: block;
  width: min(100%, 201px);
}

.younoie-interview-item__title {
  font-size: 24px;
  line-height: calc(34/24);
  font-weight: 700;
  padding-top: 3px;
}

.younoie-interview-item__txt {
  font-size: 16px;
  line-height: calc(30/16);
  margin: 25px auto 0;
  width: min(100%, 760px);
}

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

  .younoie-interview__title {
    font-size: 18px;
  }

  .younoie-interview__lead {
    font-size: 14px;
    margin-top: 25px;
    text-align: left;
  }

  .younoie-interview__body {
    margin-top: 40px;
    row-gap: 40px;
  }

  .younoie-interview-item__header {
    row-gap: 10px;
    flex-direction: column;
  }

  .younoie-interview-item__sub-title {
    width: min(100%, 148px);
  }

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

  .younoie-interview-item__txt {
    font-size: 14px;
    margin-top: 20px;
  }
}

/*******************************************************************************
読みもの
*******************************************************************************/

.younoie-read {
  margin-top: 100px;
  padding-top: 100px;
}

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

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

.younoie-read__body {
  display: flex;
  flex-direction: column;
  row-gap: 80px;
  margin-top: 55px;
}

.younoie-read-item {
  display: grid;
  grid-template-columns: repeat(2, 390fr);
  column-gap: calc(20 / 800 * 100%);
  row-gap: 30px;
}

.younoie-read-item__img {
  grid-column: 1/-1;
  grid-row: 1 / 2;
}

.younoie-read-item__title {
  grid-column: 1/2;
  grid-row: 2 / 3;
  font-size: 18px;
  line-height: calc(32/18);
  font-weight: 700;
  padding-left: 20px;
}

.younoie-read-item__body {
  grid-row: 2/3;
  grid-column: 2/3;
  padding-right: 20px;
}

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

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

.younoie-read-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-read-item__link:hover::after {
  transform: translateX(50%) rotate(45deg);
}

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

  .younoie-read__title {
    font-size: 18px;
  }

  .younoie-read__lead {
    font-size: 14px;
    margin-top: 25px;
  }

  .younoie-read__body {
    margin-top: 40px;
    row-gap: 40px;
  }

  .younoie-read-item {
    grid-template-columns: auto;
    row-gap: 0;
  }

  .younoie-read-item__title {
    font-size: 16px;
    padding-left: 0;
    margin-top: 30px;
  }

  .younoie-read-item__txt {
    font-size: 14px;
  }

  .younoie-read-item__body {
    grid-column: 1/2;
    grid-row: 3/4;
    padding-right: 0;
    margin-top: 15px;
  }

  .younoie-read-item__link {
    margin-top: 15px;
  }
}

/*******************************************************************************
読みもの - カード記事一覧
*******************************************************************************/

.younoie-interview__card {
  margin-top: 85px;
}

.younoie-interview__button {
  display: flex;
  justify-content: center;
  margin-top: 75px;
}

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

  .younoie-interview__card .interview-result__inner {
    margin-bottom: 0;
  }

  .younoie-interview__button {
    margin-top: 60px;
  }
}

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

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

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

/* SP */
@media screen and (max-width: 767px) {
  .younoie-section-more {
    margin-top: 60px;
    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%;
  }
}