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

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

.raijyo_250117 {
  padding-bottom: 90px;
  overflow-x: hidden;
}

.raijyo_250117 img {
  display: block;
  height: auto;
}

.raijyo_250117 .boxed-btn {
  padding: 18px 20px;
  text-decoration: none;
}

.raijyo_250117 .boxed-btn:hover {
  color: currentColor;
}

.raijyo_250117 .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.--lg {
  width: min(100%, calc(1000px + var(--gutter-pc) * 2));
}

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

.c-border-button {
  display: block;
  width: fit-content;
  border: 1px solid #E5CCD1;
  font-size: 18px;
  line-height: calc(24/18);
  font-weight: 700;
  color: #7F0019;
  border-radius: 5px;
  text-decoration: none;
  padding: 39px 43px;
  margin: auto;
  transition: border-color 0.15s ease-out;
}

.c-border-button span {
  display: flex;
  align-items: center;
  column-gap: 8px;
}

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

.c-border-button:hover {
  color: #7F0019;
  border-color: #7F0019;
}

.c-border-button:hover span::after {
  transform: translateX(50%) rotate(45deg);
}

/* SP */
@media screen and (max-width: 767px) {
  .l-container {
    padding-right: var(--gutter-sp);
    padding-left: var(--gutter-sp);
  }

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

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

  .c-border-button {
    font-size: 14px;
    line-height: calc(26/14);
    padding: 16px 20px;
  }

  .c-border-button span::after {
    width: 10px;
    height: 10px;
    border-width: 1px;
  }

  .u-width-100vw-tb {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }
}

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

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

.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_250117/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;
}

.p-mv {
  position: relative;
}

.p-mv__title {
  position: absolute;
  top: calc(110 / var(--mv-height-pc) * 100%);
  left: calc(460 / var(--mv-width-pc) * 100%);
  width: calc(635 / var(--mv-width-pc) * 100%);
}

.p-mv__present {
  position: absolute;
  top: calc(419 / var(--mv-height-pc) * 100%);
  left: calc(468 / var(--mv-width-pc) * 100%);
  width: calc(250 / var(--mv-width-pc) * 100%);
}

/* SP */
@media screen and (max-width: 767px) {
  .p-mv__title {
    top: calc(35 / var(--mv-height-sp) * 100%);
    left: calc(30 / var(--mv-width-sp) * 100%);
    width: calc(193 / var(--mv-width-sp) * 100%);
  }

  .p-mv__present {
    top: calc(424 / var(--mv-height-sp) * 100%);
    left: calc(194 / var(--mv-width-sp) * 100%);
    width: calc(151 / var(--mv-width-sp) * 100%);
  }
}

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

.p-about {
  padding-top: 120px;
}

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

/* SP */
@media screen and (max-width: 767px) {
  .p-about {
    padding-top: 45px;
  }

  .p-about__txt {
    width: min(100%, 315px);
  }
}

/*******************************************************************************
モデルハウス見学、入居者宅見学会
*******************************************************************************/

.p-observe {
  background: #F7F7F7;
  margin: 120px 0 0 !important;
  padding: 80px 0;
}

.p-observe__body {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.p-observe-item__link {
  position: relative;
  display: grid;
  grid-template-columns: 300fr 420fr;
  grid-template-rows: 1fr repeat(3, auto) 1fr;
  column-gap: calc(40 / 760 * 100%);
  row-gap: 10px;
  text-decoration: none;
}

.p-observe-item__link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 20px;
  height: 20px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.p-observe-item__link:hover::after {
  transform: translateX(50%) translateY(-50%) rotate(45deg);
}

.p-observe-item__img {
  grid-column: 1/2;
  grid-row: 1/-1;
  pointer-events: none;
}

.p-observe-item__lead {
  display: flex;
  align-items: center;
  column-gap: 2px;
  grid-column: 2/3;
  grid-row: 2/3;
  font-size: 16px;
  line-height: calc(30/16);
  font-weight: 700;
  margin: 0;
}

.p-observe-item__lead::before,
.p-observe-item__lead::after {
  content: "";
  width: 16px;
  height: 2px;
  background: #000;
}

.p-observe-item__lead::before {
  transform: rotate(45deg);
}

.p-observe-item__lead::after {
  transform: rotate(-45deg);
}

.p-observe-item__title {
  grid-column: 2/3;
  grid-row: 3/4;
  font-size: 24px;
  line-height: calc(38/24);
  font-weight: 700;
  margin: 0;
}

.p-observe-item__txt {
  grid-column: 2/3;
  grid-row: 4/5;
  font-size: 16px;
  line-height: calc(30/16);
  margin: 0;
  width: min(100%, 370px);
}

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

  .p-observe__body {
    row-gap: 40px;
  }

  .p-observe-item__link {
    grid-template-columns: auto;
    grid-template-rows: repeat(4, auto);
    row-gap: 0;
  }

  .p-observe-item__link::after {
    content: none;
  }

  .p-observe-item__img {
    grid-row: 2/3;
    margin-top: 7px !important;
  }

  .p-observe-item__lead {
    grid-column: 1/2;
    grid-row: 1/2;
    justify-content: center;
  }

  .p-observe-item__title {
    grid-column: 1/2;
    grid-row: 3/4;
    font-size: 18px;
    line-height: calc(30/18);
    margin-top: 15px;
  }

  .p-observe-item__txt {
    position: relative;
    grid-column: 1/2;
    grid-row: 4/5;
    font-size: 14px;
    padding-right: 28px;
  }

  .p-observe-item__txt::after {
    content: "";
    position: absolute;
    top: 7px;
    right: 6px;
    width: 12px;
    height: 12px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    transform: rotate(45deg);
  }
}

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

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

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

.p-present__body {
  display: flex;
  flex-direction: column;
  row-gap: 80px;
  margin-top: 80px;
}

.p-present-block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;
  align-items: center;
  margin-bottom: 0 !important;
}

.p-present-block__img.--point {
  width: calc(242 / 370 * 100%);
  margin: 0 !important;
  margin-left: calc(90 / 370 * 100%) !important;
}

.p-present-block__title {
  margin: 0;
}

.p-present-block__title.--bag {
  width: min(100%, 198px);
}

.p-present-block__title.--point {
  width: min(100%, 298px);
}

.p-present-block__txt {
  margin: 15px 0 0;
}

.p-present-block__note {
  margin: 25px 0 0;
}

.p-present-block__note small {
  display: block;
  font-size: 11px;
  line-height: calc(20/11);
}

.p-present__footer {
  position: relative;
  padding-top: 45px;
  margin-top: 60px;
}

.p-present__footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background-image: linear-gradient(to right,
      #000 1px,
      transparent 1px);
  background-size: 4.5px 1px;
  /* XD 線分(1px) + 間隔(3.5px) = 4.5px */
  background-repeat: repeat-x;
}

.p-present-note {
  margin: 0;
}

.p-present-note small {
  display: block;
  font-size: 11px;
  line-height: calc(20/11);
}

.p-present-button {
  margin-top: 75px;
}

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

  .p-present__title {
    width: min(100%, 265px);
  }

  .p-present__body {
    margin-top: 36px;
  }

  .p-present-block {
    width: 100%;
    grid-template-columns: auto;
    overflow: visible;
  }

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

  .p-present-block__img {
    width: 100%;
  }

  .p-present-block__img.--point {
    width: min(100%, 242px);
    margin: 0 auto !important;
  }

  .p-present-block__note {
    margin-top: 25px;
  }

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

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

/*******************************************************************************
陽の家が、理想の平屋〜
*******************************************************************************/

.p-ideal {
  margin: 100px 0 0 !important;
}

.p-ideal-visual {
  position: relative;
}

.p-ideal-visual__title {
  position: absolute;
  top: calc(100 / 675 * 100%);
  right: calc(460/ 1920 * 100%);
  width: calc(121/ 1920 * 100%);
  margin: 0 !important;
}

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

.p-ideal-block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;
}

.p-ideal-block__img {
  margin: 0 !important;
}

.p-ideal-block__txt {
  grid-column: 1/-1;
  width: min(100%, 565px);
  margin: 70px auto 0;
}

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

.p-ideal-block__button {
  grid-column: 1/-1;
  margin: 45px auto 0;
}

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

  .p-ideal-visual__title {
    top: calc(30 / 375 * 100%);
    right: calc(30/ 375 * 100%);
    width: calc(100/ 375 * 100%);
  }

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

  .p-ideal-block {
    grid-template-columns: auto;
  }

  .p-ideal-block__img {
    margin-top: 35px !important;
  }

  .p-ideal-block__img+.p-ideal-block__img {
    margin-top: 12px !important;
  }

  .p-ideal-block__txt {
    grid-row: 1/2;
    margin-top: 0;
  }

  .p-ideal-block__button {
    margin-top: 40px;
  }
}

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

.p-tour {
  padding-top: 100px;
  margin-top: 100px !important;
  margin-bottom: 0 !important;
}

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

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

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

.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%, 269px);
  }

  .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: repeat(1, 273px);
    row-gap: 12px;
  }

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

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

.p-line {
  margin-top: 120px;
  padding-top: 120px;
}

.p-line__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  column-gap: 105px;
  width: min(100%, 820px);
  padding: 0 30px;
  margin: auto;
}

.p-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) {
  .p-line {
    padding-top: 60px;
    margin-top: 60px;
  }

  .p-line__inner {
    flex-direction: column;
    row-gap: 35px;
  }

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

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

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

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

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

.p-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;
}

.p-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%);
}

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

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

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

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

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

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

  .p-qr__img {
    display: none;
  }
}

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

/*******************************************************************************
4カラムリンク集
*******************************************************************************/

.p-lifestyle {
  margin-top: 50px;
}

.p-lifestyle a {
  text-decoration: none;
}

.p-lifestyle .theme__lifestyle--wrapCon {
  max-width: 820px;
}

/* SP */
@media screen and (max-width: 767px) {
  .p-lifestyle {
    margin-top: 35px;
  }

  .p-lifestyle .theme__lifestyle--wrapCon4Box .wrapCon4Box {
    margin-top: 5px;
  }

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