/*******************************************************************************
ユーティリティ・コモン スタイル
*******************************************************************************/

:root {
  --fv-width-pc: 1920;
  --fv-height-pc: 1080;
  --fv-width-sp: 375;
  --fv-height-sp: 666;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: clip;
}

main {
  width: 100vw;
}

section {
  margin: 0 !important;
}

h1 {
  font-size: 0;
}

p {
  margin-bottom: 0;
}

.is-mt-50 {
  margin-top: 50px;
}

.is-mt-80 {
  margin-top: 80px;
}

.section--common {
  border-top: 1px solid #ccc;
  padding: 100px 30px;
}

.is-no-border {
  border: none !important;
}

.u-max-w-665 {
  width: min(100%, 665px);
}

.u-max-w-760 {
  width: min(100%, 760px);
}

.u-max-w-1000 {
  width: min(100%, 1000px);
}

.u-clear-b-shadow {
  box-shadow: none !important;
}

.wrapCon4Box a,
.u-no-textdecoration {
  text-decoration: none;
}

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

.l-section-about {
  padding: 120px 30px;
  margin-bottom: 0 !important;
  width: 100%;
}

.l-section-model-house {
  padding-left: 0;
  padding-right: 0;
}

/* ページ右下のナビ非表示（かんたん見積〜モデルハウス来場予約） */
.ie21-header__sub {
  display: none;
}

.boxed-btn {
  background: #3c3c43;
  color: #fff;
  text-decoration: none;
}
.boxed-btn::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14.849' height='14.849' viewBox='0 0 14.849 14.849'%3E%3Cpath d='M4284.963-5561.349h-10.5v-1h9.5v-9.5h1Z' transform='translate(917.39 6969.819) rotate(-45)' fill='%23fff'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  width: 15px;
}
.boxed-btn > span {
  font-weight: 400;
}

/* PC */
@media only screen and (min-width: 769px) {
  .l-section-qanda {
    margin: 0 auto 0 auto !important;
  }

  .u-sp {
    display: none;
  }
}

/* SP */
@media only screen and (max-width:768px) {
  .is-mt-80 {
    margin-top: 50px;
  }

  .section--common {
    padding: 50px 30px;
  }

  .l-section-theme {
    width: 100%;
    padding: 0;
  }

  .l-section-about {
    padding: 40px 24px 0;
  }

  .l-section-qanda {
    width: 375px;
    margin: 0 auto 0 auto !important;
  }
}

@media only screen and (max-width: 480px) {
  section {
    width: 100%;
  }
}

/*******************************************************************************
講座のご予約はこちら（サイド固定ボタン）
*******************************************************************************/

.c-fixed-side-btn {
  box-shadow: 0 3px 6px rgba(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;
}

/* 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(../../images/raijyo_241011/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;
  }
}

/*******************************************************************************
fv ファーストビュー
*******************************************************************************/

.fv {
  position: relative;
}

.fv__title {
  top: calc(100 / var(--fv-width-pc) * 100vw);
  left: calc(100 / var(--fv-width-pc) * 100vw);
  width: calc(1000 / var(--fv-width-pc) * 100vw);
}

.fv__title_img {
  height: auto;
}

.fv__bg {
  display: block;
  height: auto;
  width:100%;
}

/* SP */
@media only screen and (max-width:768px) {
  .fv__title {
    top: calc(160 / var(--fv-width-sp) * 100vw);
    left: 50%;
    transform: translateX(-50%);
    width: calc(328 / var(--fv-width-sp) * 100vw);
  }

  .fv__bg {
    aspect-ratio: 375 / 600;
  }
}

/*******************************************************************************
アバウト
*******************************************************************************/

.p-about-inner {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  max-width: 928px;
}

.p-about-inner .boxed-btn > span {
  margin-right: 5px;
}


/* SP */
@media only screen and (max-width:768px) {
  .p-about-inner {
    align-items: center;
    flex-direction: column;
    gap: 60px;
  }
}

/*******************************************************************************
無印良品のふたつの平屋
*******************************************************************************/

.p-overview {
  margin-bottom: 0 !important;
}

.p-overview-inner {
  border-top: 1px solid #DEDEDE;
  max-width: 1126px;
  padding: 100px 0 80px;
  width: calc(100% - 60px);
}

.p-overview-title {
  margin: 0 auto;
}

.p-overview-title_img {
  display: block;
  margin: 0 auto;
  width: fit-content;
}

.p-overview-text {
  font-weight: 400;
  text-align: center;
}

.p-overview-text:first-of-type {
  margin-top: 40px;
}

.p-overview-illust {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin: 80px auto 0;
  max-width: 552px;
  width: 100%;
}

/* SP */
@media only screen and (max-width:768px) {
  .p-overview-inner {
    border-top: none;
    padding: 80px 0;
  }

  .p-overview-title {
    width: 180px;
  }

  .p-overview-illust {
    gap: 24px;
    margin: 40px auto 0;
    width: calc(328 / var(--fv-width-sp) * 100vw);
  }
}

/*******************************************************************************
モデルハウスを日本全国にご用意しています
*******************************************************************************/

.p-model-house__title {
  font-size: 2.4rem;
  line-height: calc(38/24);
  margin: 0 !important;
  font-weight: 700;
}

.p-model-house__gmap {
  margin-top: 50px;
  height: max(764px, calc(764/1920 * 100vw));
}

.p-model-house__gmap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background-color: #eee;
  /* Googleマップの操作を無効化 */
  pointer-events: none;
}

/* Googleマップの操作を有効化 */
.p-model-house__gmap.is-active iframe {
  pointer-events: auto;
}

.p-model-house__txt {
  font-size: 1.6rem;
  line-height: calc(30/16);
  margin: 0 !important;
  margin-top: 45px !important;
}

.p-model-house__boxed-btn {
  margin-top: 54px;
}

.boxed-btn-container .boxed-btn {
  display: flex;
  align-items: center;
  text-decoration: none;
  background: #7F0019;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 15px 20px;
  min-width: 234px;
  min-height: 59px;
  width: fit-content;
  margin: auto;
}

.boxed-btn-container .boxed-btn::after {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  background: none;
  transform: rotate(45deg);
  margin-left: 2px;
}

@media (any-hover: hover) {
  .boxed-btn-container .boxed-btn:hover::after {
    transform: translateX(6px) rotate(45deg);
  }
}

/* SP */
@media only screen and (max-width:768px) {
  .p-model-house__title {
    font-size: 1.8rem;
    line-height: calc(30/18);
  }

  .p-model-house__gmap {
    margin-top: 28px;
    margin-left: -30px;
    margin-right: -30px;
    height: calc(375/375 * 100vw);
  }

  .p-model-house__txt {
    width: min(100%, 315px);
    text-align: left;
    margin: 0 auto !important;
    margin-top: 30px !important;
  }
}

/*******************************************************************************
木の家・窓の家
*******************************************************************************/

.p-house {
  --inner-width-pc: 935;
  padding: 0 30px;
  scroll-margin: 80px;
}

.p-house.you {
  margin-top: 120px;
}

.p-house-lead {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.8;
  margin: 40px auto 0;
  text-align: justify;
  width: fit-content;
}

.p-house-image {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 1126px;
}

.p-house-list {
  display: flex;
  flex-direction: column;
  margin: 60px auto 0;
  max-width: 937px;
  row-gap: 50px;
}

.p-house-list__item {
  align-items: center;
  display: grid;
  grid-template-columns: calc(457 / var(--inner-width-pc) * 100%) 1fr;
  /* grid-template-rows: auto 1fr; */
  row-gap: 20px;
  column-gap: calc(52 / var(--inner-width-pc) * 100%);
}

.p-house-list__img {
  vertical-align: bottom;
  height: auto;
}

.p-house-list__txt-wrapper {
  display: grid;
  row-gap: 20px;
}

.p-house-list__title {
  grid-column: 2/3;
  grid-row: 1/2;
  font-size: 1.8rem;
  line-height: calc(32/18);
  font-weight: 700;
  margin: 0;
}

.p-house-list__txt {
  grid-column: 2/3;
  grid-row: 2/3;
  font-size: 1.6rem;
  line-height: calc(30/16);
  margin: 0;
}

.p-house-plan {
  background: #f5f5f5;
  margin-left: -30px;
  margin-top: 80px;
  padding: 50px 30px;
  position: relative;
  width: 100vw;
}

.p-house-plan__swiper {
  max-width: 600px;
  overflow: visible;
}

.p-house-plan__swiper-slide {
  align-items: center;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.p-house-plan__swiper-slide_title {
  margin-bottom: 0;
}

.p-house-plan__swiper-slide_area {
  font-size: 14px;
  font-weight: bold;
  margin-top: 10px;
}

.p-house-plan__swiper-slide_img {
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  width: 480px;
}

.p-house-plan__swiper-slide_lead {
  font-weight: 600;
  margin-top: 20px;
}

.p-house-plan__swiper-slide_sub-title {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 10px;
}

.p-house-plan__swiper-slide_price {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.6;
}

.p-house-plan__swiper-slide_unit {
  font-size: 16px;
  font-weight: bold;
}

.p-house-plan__swiper-prev {
  left: -20px;
  top: 240px;
}

.p-house-plan__swiper-next {
  right: -16px;
  top: 240px;
}

.p-house-plan__swiper-prev::after,
.p-house-plan__swiper-next::after {
  content: none;
}

.p-house-plan__swiper-prev::before,
.p-house-plan__swiper-next::before {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='28' viewBox='0 0 16 28'%3e%3cpath d='M1.5 1l13 13-13 13' fill='none' stroke='black' stroke-width='2'/%3e%3c/svg%3e");
  height: 33px;
  width: 20px;
}

.p-house-plan__swiper-prev::before {
  transform: rotate(180deg);
}

.p-house-plan .boxed-btn {
  display: flex;
  margin: 50px auto 0;
  width: fit-content;
}

/* SP */
@media only screen and (max-width:768px) {
  .p-house {
    padding: 0 24px;
  }

  .p-house.you {
    margin-top: 80px;
  }

  .p-house-lead {
    font-size: 16px !important;
    margin: 40px 0 0;
  }

  .p-house-image {
    margin-left: -24px;
    width: 100vw;
  }

  .p-house-list {
    margin-top: 40px;
    row-gap: 40px;
  }

  .p-house-list__item {
    grid-template-columns: auto;
    row-gap: 15px;
  }

  .p-house-list__txt-wrapper {
    row-gap: 5px;
  }
  .p-house-list__txt {
    font-size: 1.4rem;
    line-height: calc(26/14);
  }

  .p-house-plan {
    margin-left: -24px;
    padding: 30px 24px 60px;
    width: 100vw;
  }

  .p-house-plan__swiper-slide_area {
    font-size: 12px;
    margin-top: 0;
  }

  .p-house-plan__swiper-slide_img {
    margin-top: 30px;
  }

  .p-house-plan__swiper-prev::before,
  .p-house-plan__swiper-next::before {
    height: 22px;
    width: 12px;
  }

  .p-house-plan__swiper-slide_lead {
    font-size: 16px;
    margin-top: 20px;
  }

  .p-house-plan__swiper-slide_sub-title {
    margin-top: 20px;
  }
}

/*******************************************************************************
インフォメーション
*******************************************************************************/

.p-information {
  padding: 0 30px;
}

.p-information-inner {
  border-bottom: 1px solid #DEDEDE;
  margin: 0 auto;
  max-width: 1126px;
  padding: 120px 0;
}

.p-information.p-information--line .p-information-inner {
  border-bottom: none;
}

.p-information-title {
  margin: 0;
}

.p-information-main {
  align-items: center;
  display: grid;
  gap: 72px;
  grid-template-columns: 1fr calc(545 / 1126 * 100%);
  margin-top: 80px;
}

.p-information.p-information--line .p-information-main {
  align-items: flex-start;
  gap: 121px;
}

.p-information.p-information--line .p-information-main__image {
  margin: 0 0 0 auto;
  max-width: 357px;
}

.p-information-main__text {
  padding-right: min(calc(90 / var(--fv-width-pc) * 100vw), 90px);
}

.p-information-main__text small {
  color: #8A8A8E;
  display: block;
}

.p-information-main__text small:first-of-type {
  margin-top: .5em;
}

.p-information.p-information--line .p-information-main__text {
  padding-top: 1em;
}

.p-information-link {
  display: flex;
  margin: 40px auto 0;
  width: fit-content;
}

.p-information.p-information--line .p-information-link {
  background: #06C755;
  border-color:#06C755
}

.p-information.p-information--line .p-information-link::after {
  content: none;
}

.p-information.p-information--line .p-information-link:hover {
  color: #fff;
}

.p-information.p-information--line .p-information-link > span {
  margin-right: 0;
}

/* SP */
@media only screen and (max-width:768px) {
  .p-information {
    border-bottom: 1px solid #DEDEDE;
    padding: 0 24px;
  }

  .p-information.p-information--line {
    border-bottom: none;
  }

  .p-information-inner {
    border-bottom: none;
    padding: 80px 0;
  }

  .p-information.p-information--line .p-information-inner {
    padding-bottom: 120px;
  }

  .p-information-title {
    margin: 0 auto;
    width: 216px;
  }

  .p-information-main {
    gap: 40px;
    grid-template-columns: auto;
    margin-top: 40px;
    padding-right: 0;
  }

  .p-information.p-information--line .p-information-main {
    gap: 40px;
  }

  .p-information.p-information--line .p-information-main__image {
    margin: 0 auto;
  }

  .p-information-link {
    margin: 30px auto 0;
  }
}

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

/* PC */
@media only screen and (min-width: 769px) {
  .qandaArea {
    padding-bottom: 44.7px;
    margin-bottom: 0 !important;
  }
}

/* SP */
@media only screen and (max-width:768px) {
  .qandaArea {
    width: 100%;
  }
}

/*******************************************************************************
4カラム（資料請求〜メールニュース登録）
*******************************************************************************/

/* SP */
@media only screen and (max-width:768px) {
  .theme__lifestyle--wrapCon4Box .wrapCon4Box {
    margin-top: 5px;
  }

  .theme__lifestyle--wrapCon4Box .wrapCon4Box.spfix {
    margin-top: 15px;
  }
}

/*******************************************************************************
has-bg
*******************************************************************************/

.has-bg {
  background: #FFF;
  margin: 0 !important;
  width: 100vw;
}

.has-bg.l-section-qanda {
  padding-top: 50px;
}

.has-bg.themesec {
  padding-bottom: 90px;
}

/* SP */
@media only screen and (max-width:768px) {
  .has-bg.l-section-qanda {
    padding-top: 0;
  }
}

/*******************************************************************************
入居者宅見学会 開催中〜
*******************************************************************************/

.p-tour {
  padding: 120px 30px;
  margin-bottom: 0 !important;
}

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

.p-tour__lead {
  --gutter-pc: 30px;
  --gutter-sp: 24px;

  font-size: 16px;
  line-height: calc(30/16);
  text-align: center;
  margin: 40px 0 0;
  padding-right: var(--gutter-pc);
  padding-left: var(--gutter-pc);
}

.p-tour__lead > span {
  display: block;
  text-align: center;
}

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

.p-tour__swiper .event-swiper {
  margin: 0;
}

.p-tour__swiper .swiper-container {
  overflow: visible;
}

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

.p-tour__swiper .swiper-slide {
  margin: 0;
  text-decoration: none;
}

.p-tour__swiper .swiper-slide:hover {
  color: #000;
}

.p-tour__swiper .swiper-button-prev,
.p-tour__swiper .swiper-button-next {
  display: none;
}

.p-tour__footer {
  display: flex;
  justify-content: center;
  margin-top: 100px;
}

@media screen and (max-width: 1560px) {
  .p-tour__swiper .swiper-wrapper {
    grid-template-columns: repeat(3, 360px);
  }
}

@media screen and (max-width: 1180px) {
  .p-tour__swiper .swiper-wrapper {
    grid-template-columns: repeat(2, 360px);
  }
}

@media screen and (max-width: 800px) {
  .p-tour__swiper .swiper-wrapper {
    grid-template-columns: repeat(1, 360px);
  }
}

/* SP */
@media screen and (max-width: 767px) {
  .p-tour {
    padding-top: 60px;
    margin-top: 40px !important;
    width: 100%;
  }

  .p-tour__title {
    width: min(100%, 281px);
  }

  .p-tour__lead {
    text-align: left;
    margin-top: 30px;
    padding-right: var(--gutter-sp);
    padding-left: var(--gutter-sp);
    font-size: 16px !important;
  }

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

  .p-tour__swiper .swiper-wrapper {
    grid-template-columns: auto;
    row-gap: 12px;
  }

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

.banner {
  display: block;
  margin: 105px auto 40px;
  max-width: calc(100% - 60px);;
  width: fit-content;
}

@media screen and (max-width: 767px) {
  .banner {
    margin-top: 40px;
  }
}