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

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

.younoie {
  padding-top: 100px;
  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-top: 70px;
    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;
  }
}

/*******************************************************************************
みんなで考える理想の平屋プロジェクト
*******************************************************************************/

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

.younoie-about__sub-title {
  font-size: 24px;
  line-height: calc(38/24);
  font-weight: 700;
  margin-top: 75px;
}

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

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

  .younoie-about__sub-title {
    font-size: 16px;
    margin-top: 60px;
  }

  .younoie-about__txt {
    font-size: 14px;
    margin-top: 15px;
  }
}

/*******************************************************************************
よくある質問
*******************************************************************************/

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

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

.younoie-faq-item__title {
  position: relative;
  font-size: 28px;
  line-height: calc(38/24);
  font-weight: 700;
  padding-left: 92px;
  padding-top: 13px;
}

.younoie-faq-item__title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  height: 70px;
  background: url(../img/faq_icon_q.svg) center/contain no-repeat;
}

.younoie-faq-item__title span {
  display: block;
  font-size: 20px;
  line-height: calc(33/20);
  font-weight: 400;
}

.younoie-faq-item__body {
  margin-top: 50px;
}

.younoie-faq-item__body *+* {
  margin-top: 30px;
}

.younoie-faq-item__body p {
  font-size: 16px;
  line-height: calc(30/16);
}

.younoie-faq-item-other {
  background: #F7F7F7;
  border-radius: 10px;
  padding: 40px 44px;
}

.younoie-faq-item-other__title {
  font-weight: 700;
  font-size: 16px;
  line-height: calc(30/16);
}

.younoie-faq-item-other__txt {
  margin-top: 5px;
}

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

  .younoie-faq-item-wrapper {
    row-gap: 60px;
  }

  .younoie-faq-item__title {
    font-size: 18px;
    padding-left: 50px;
    padding-top: 7px;
  }

  .younoie-faq-item__title span {
    font-size: 14px;
  }

  .younoie-faq-item__title::before {
    width: 40px;
    height: 40px;
  }

  .younoie-faq-item__body {
    margin-top: 35px;
  }

  .younoie-faq-item__body *+* {
    margin-top: 20px;
  }

  .younoie-faq-item__body p {
    font-size: 14px;
  }

  .younoie-faq-item-other {
    padding: 15px 20px;
  }

  .younoie-faq-item-other__title {
    font-size: 14px;
  }

  .younoie-faq-item-other__txt {
    margin-top: 10px;
  }
}

/*******************************************************************************
アンケート
*******************************************************************************/

.younoie-enquete {
  margin-top: 100px;
}

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

.younoie-enquete__swiper {
  margin: 30px 0 -20px;
}

.younoie-enquete .swiper-container {
  padding: 20px 0;
}

.younoie-enquete .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 250px);
  row-gap: 30px;
  column-gap: 20px;
  justify-content: center;
}

.younoie-enquete .swiper-slide {
  height: auto;
}

.younoie-enquete .swiper-button-prev,
.younoie-enquete .swiper-button-next {
  display: none;
}

.younoie-enquet-card {
  height: 100%;
}

.younoie-enquet-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 5px;
  box-shadow: 0 0 5px rgb(0 0 0 / 0.2);
  transition: box-shadow 0.3s ease-out;
}

.younoie-enquet-card__link:hover {
  box-shadow: 0 5px 15px rgb(0 0 0 / 0.2);
}

.younoie-enquet-card__title,
.younoie-enquet-card__date {
  padding: 0 20px;
}

.younoie-enquet-card__title {
  font-size: 14px;
  line-height: calc(20/14);
  font-weight: 700;
  padding-top: 18px;
  margin-bottom: auto;
}

.younoie-enquet-card__date {
  display: block;
  font-size: 11px;
  line-height: calc(20/11);
  color: #808080;
  padding-bottom: 18px;
  margin-top: 15px;
}

.younoie-enquete__button {
  display: flex;
  justify-content: center;
  margin-top: 120px;
}

/* PC Middle */
@media screen and (max-width: 1120px) {
  .younoie-enquete .swiper-wrapper {
    grid-template-columns: repeat(3, 250px);
  }
}

@media screen and (max-width: 850px) {
  .younoie-enquete .swiper-wrapper {
    grid-template-columns: repeat(2, 250px);
  }
}

/* SP */
@media screen and (max-width: 767px) {

  .younoie-enquete .swiper-wrapper {
    display: flex;
    justify-content: flex-start;
    column-gap: 0;
  }

  .younoie-enquete .swiper-button-prev,
  .younoie-enquete .swiper-button-next {
    display: flex;
  }

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

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

  .younoie-enquete__swiper {
    margin-top: 20px;
  }

  .younoie-enquete__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%;
  }
}