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

body {
  overflow-x: clip;
}

main {
  width: 100vw;
}

h1 {
  font-size: 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: 80px 30px;
  margin-bottom: 0 !important;
  width: 100%;
}

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

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

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

/* 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-top: 60px;
  }

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

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

.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-width-pc: 1920;
  --fv-height-pc: 1080;

  --fv-width-sp: 375;
  --fv-height-sp: 666;
}

.fv__title,
.fv__circle,
.fv__catch-copy {
  position: absolute;
  z-index: 1;
}

.fv__title {
  top: calc(100 / var(--fv-height-pc) * 100%);
  left: calc(100 / var(--fv-width-pc) * 100%);
  width: calc(549 / var(--fv-width-pc) * 100%);
}

.fv__catch-copy {
  display: flex;
  margin: 0;
  width: calc(231 / var(--fv-width-pc) * 100%);
  top: calc(509 / var(--fv-height-pc) * 100%);
  left: calc(117 / var(--fv-width-pc) * 100%);
}

.fv__circle {
  display: flex;
  align-items: center;
  column-gap: calc(19.4 / var(--fv-width-pc) * 100vw);
  top: calc(542 / var(--fv-height-pc) * 100%);
  left: calc(105 / var(--fv-width-pc) * 100%);
}

.fv__circle-item {
  width: calc(120 / var(--fv-width-pc) * 100vw);
}

.fv__title-img,
.fv__circle-img,
.fv__catch-copy-img,
.fv__bg-img {
  height: auto;
  vertical-align: bottom;
}

/* SP */
@media only screen and (max-width:768px) {
  .fv__title {
    top: calc(32 / var(--fv-height-sp) * 100%);
    left: calc(30 / var(--fv-width-sp) * 100%);
    width: calc(274 / var(--fv-width-sp) * 100%);
  }

  .fv__catch-copy {
    width: calc(139.19 / var(--fv-width-sp) * 100%);
    top: calc(267 / var(--fv-height-sp) * 100%);
    left: calc(38.9 / var(--fv-width-sp) * 100%);
  }

  .fv__circle {
    column-gap: calc(11 / var(--fv-width-sp) * 100vw);
    top: calc(286 / var(--fv-height-sp) * 100%);
    left: calc(33 / var(--fv-width-sp) * 100%);
  }

  .fv__circle-item {
    width: calc(70 / var(--fv-width-sp) * 100vw);
  }
}

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

.p-about-lead {
  display: block;
  margin: auto;
  width: min(100%, 722px);
}

.p-about-lead__img {
  vertical-align: bottom;
  height: auto;
}

/* SP */
@media only screen and (max-width:768px) {
  .p-about-lead {
    width: min(100%, 315px);
  }
}

/*******************************************************************************
初めての参加でプレゼント
*******************************************************************************/

.p-present {
  --inner-width-pc: 760;
  --column-width-pc: 370;
}

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

.p-present-title__img {
  height: auto;
  vertical-align: bottom;
}

.p-present-item {
  margin: 0 !important;
}

.p-present-item:nth-child(2) {
  margin-top: 151px !important;
}

.p-present-item__body {
  position: relative;
  display: grid;
  grid-template-columns: 370fr 370fr;
  grid-template-rows: auto auto 1fr;
  column-gap: calc(20 / var(--inner-width-pc) * 100%);
}

.p-present-item__body.--bath-salt {
  padding-bottom: 20px;
  margin-bottom: 50px;
  background: linear-gradient(to right, #000, #000 1px, transparent 1px, transparent 4px) left bottom/4px 1px repeat-x;
}

.p-present-item-wrapper {
  margin-top: 150px;
}

.p-present-item__title {
  grid-column: 1/2;
  grid-row: 1/2;
  margin: 0;
  display: flex;
}

.p-present-item__title.--1000pt {
  width: min(100%, 306px);
}

.p-present-item__title.--bath-salt {
  width: min(100%, 242px);
}

.p-present-item__title-img {
  vertical-align: bottom;
  height: auto;
}

.p-present-item__txt {
  grid-column: 1/2;
  grid-row: 2/3;
  font-size: 1.6rem;
  line-height: calc(30/16);
  margin: 15px 0 30px;
}

.p-present-item__note {
  font-size: 1.1rem;
  line-height: calc(20/11);
  margin: 0;
}

.p-present-item__img-wrapper {
  grid-column: 2/3;
  grid-row: 1/-1;
}

.p-present-item__img-wrapper.--1000pt {
  width: min(100%, 242px);
  margin: 0 !important;
  margin-left: calc(88 / var(--column-width-pc) * 100%) !important;
  margin-top: -20px !important;
}

.p-present-item__img-wrapper.--bath-salt {
  width: min(100%, 315px);
  margin: 0 !important;
  margin-left: calc(18 / var(--column-width-pc) * 100%) !important;
  margin-top: -51px !important;
}

/* SP */
@media only screen and (max-width:768px) {
  .p-present-item {
    width: 100%;
    overflow: visible;
  }

  .p-present-item:nth-child(2) {
    margin-top: 80px !important;
  }

  .p-present-item__body {
    grid-template-columns: auto;
    grid-template-rows: repeat(3, auto);
  }

  .p-present-item-wrapper {
    margin-top: 40px;
  }

  .p-present-item__title {
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .p-present-item__txt {
    grid-column: 1/2;
    grid-row: 2/3;
    margin: 15px 0 0;
  }

  .p-present-item__img-wrapper {
    grid-column: 1/2;
    grid-row: 3/4;
  }

  .p-present-item__img-wrapper.--1000pt,
  .p-present-item__img-wrapper.--bath-salt {
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }

  .p-present-item__body.--bath-salt {
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
}

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

.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-flow {
  --inner-width-pc: 760;
}

.p-flow-list {
  display: flex;
  flex-direction: column;
  row-gap: 50px;
}

.p-flow-list__item {
  display: grid;
  grid-template-columns: 360fr 360fr;
  grid-template-rows: auto 1fr;
  row-gap: 20px;
  column-gap: calc(40 / var(--inner-width-pc) * 100%);
}

.p-flow-list__img-wrapper {
  grid-column: 1/2;
  grid-row: 1/-1;
}

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

.p-flow-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-flow-list__txt {
  grid-column: 2/3;
  grid-row: 2/3;
  font-size: 1.6rem;
  line-height: calc(30/16);
  margin: 0;
}

/* SP */
@media only screen and (max-width:768px) {
  .p-flow-list {
    row-gap: 80px;
  }

  .p-flow-list__item {
    grid-template-columns: auto;
    grid-template-rows: repeat(3, auto);
    row-gap: 30px;
  }

  .p-flow-list__img-wrapper {
    grid-row: 2/3;
    grid-column: 1/2;
    margin-left: -30px !important;
    margin-right: -30px !important;
  }

  .p-flow-list__title {
    grid-row: 1/2;
    grid-column: 1/2;
    text-align: center;
  }

  .p-flow-list__txt {
    grid-row: 3/4;
    grid-column: 1/2;
    font-size: 1.4rem;
    line-height: calc(26/14);
  }
}

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

/* 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;
  }
}