@charset "utf-8";

/* ======================================================================
/* root
====================================================================== */
:root {
  --color-black: #231815;
  --color-white: #ffffff;
  --color-gray: #f0f0f0;
  --color-brand-theme: #00a9c9;
  --color-navy: #005b7c;
  --color-red: #d63638;
  --color-orange: #e95532;
  --color-khaki: #f5f2e9;
}

/* ======================================================================
/* body
====================================================================== */
body {
  font: 400 16px / 1.5 "Hiragino Kaku Gothic ProN", "Hiragino Sans";
  color: var(--color-black);
  text-align: justify;
  letter-spacing: 0.05em;
}

@media screen and (width <= 768px) {
  body {
    font-size: 14px;
  }
}

/* ======================================================================
/* sec-scroll-point
====================================================================== */
.sec-scroll-point {
  position: relative;
}

#nav04 {
  background: var(--color-white);
}

#nav05 {
  background: var(--color-khaki);
}

#nav06 {
  background: var(--color-white);
}

/* ======================================================================
/* center
====================================================================== */
.center {
  text-align: center;
}

/* ======================================================================
/* hr
====================================================================== */
hr {
  max-inline-size: 730px;
  margin: 0 auto;
}

/* ======================================================================
/* #container
====================================================================== */
#container {
  inline-size: 780px;
  block-size: auto;
  margin-inline: auto;
  background: #fff;
  box-shadow: 0 0 30px 0px rgb(0 0 0 / 10%);
  position: relative;
  z-index: 1;
  background: var(--color-gray);
}

@media screen and (width <= 768px) {
  #container {
    inline-size: 100%;
  }
}

/* ======================================================================
/* max-inline-size
====================================================================== */
.mw-350 {
  max-inline-size: 350px;
}

.mw-400 {
  max-inline-size: 400px;
}

.mw-500 {
  max-inline-size: 500px;
}

.mw-550 {
  max-inline-size: 550px;
}

.mw-600 {
  max-inline-size: 600px;
}

@media screen and (width <= 768px) {
  .mw-350 {
    inline-size: 100%;
  }

  .mw-400 {
    inline-size: 90%;
  }

  .mw-500 {
    inline-size: 90%;
  }

  .mw-550 {
    inline-size: 90%;
  }

  .mw-600 {
    inline-size: 100%;
  }
}

/* ======================================================================
/* margin
====================================================================== */
.mt15 {
  margin-block-start: 15px;
}

.mt25 {
  margin-block-start: 25px;
}

.mt30 {
  margin-block-start: 30px;
}

.mt60 {
  margin-block-start: 60px;
}

/* =====================================================
/* header
===================================================== */
header {
  position: relative;
}

/* =====================================================
/* drawer
===================================================== */
.drawer {
  position: fixed;
  background: rgba(0, 0, 0, 0.8);
  top: 0;
  right: 0;
  inline-size: 100%;
  block-size: 100vh;
  display: flex;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transform: translateX(100%);
  transition: 0.5s ease-in-out;
  z-index: 50;

  & ul {
    text-align: center;
    padding-top: 100px;

    & li {
      position: relative;
      transform: translateX(-150px);
      transition: transform 0.5s ease;

      & a {
        display: inline-block;
        font-size: 1.4rem;
        color: var(--color-white);
        text-decoration: none;
        padding: 15px;
        font-size: 1rem;

        &:hover {
          animation: drawer 1.4s;
          color: #e1f2fa;
        }
      }
    }
  }
}

.drawer ul li:nth-child(2) {
  transition-delay: 0.15s;
}
.drawer ul li:nth-child(3) {
  transition-delay: 0.25s;
}
.drawer ul li:nth-child(4) {
  transition-delay: 0.35s;
}
.drawer ul li:nth-child(5) {
  transition-delay: 0.45s;
}
.drawer ul li:nth-child(6) {
  transition-delay: 0.55s;
}
.drawer ul li:nth-child(7) {
  transition-delay: 0.65s;
}
.drawer ul li:nth-child(8) {
  transition-delay: 0.4s;
}
.drawer ul li:nth-child(9) {
  transition-delay: 0.45s;
}
.drawer ul li:nth-child(10) {
  transition-delay: 0.5s;
}
.drawer ul li:nth-child(11) {
  transition-delay: 0.55s;
}
.drawer ul li:nth-child(12) {
  transition-delay: 0.6s;
}

@keyframes drawer {
  0% {
    filter: none;
  }
  30% {
    filter: blur(0.8px);
  }
  100% {
    filter: none;
  }
}

.open .drawer {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);

  & ul li {
    transform: translateX(0);
  }
}

.head_lp .drawer_close {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.head_lp .drawer_close span {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 50%;
  background: #fff;
  height: 2px;
  width: 100%;
  transition: all 0.4s;
}
.head_lp .drawer_close span:nth-child(1) {
  transform: rotate(45deg);
}
.head_lp .drawer_close span:nth-child(2) {
  transform: rotate(-45deg);
}
.head_lp .drawer_close:hover span {
  background: #bd0d23;
}

@media screen and (width <= 768px) {
  .head_lp .drawer_close {
    inline-size: 30px;
    block-size: 30px;
  }
}

.btn_menu_works {
  position: fixed;
  inline-size: 46px;
  block-size: 41px;
  inset-block-start: 0px;
  inset-inline-end: calc(50% - 390px);
  cursor: pointer;
  transition: all 0.5s;
  z-index: 51;
  background: #000;
}

.btn_menu_works span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  transition: all 0.4s;
}
.btn_menu_works span {
  width: 60%;
  left: 20%;
}
.btn_menu_works span:nth-child(1) {
  top: 10px;
}
.btn_menu_works span:nth-child(2) {
  top: 20px;
}
.btn_menu_works span:nth-child(3) {
  top: 30px;
}
.open .btn_menu_works span:nth-child(1) {
  transform: rotate(45deg);
  top: 20px;
}
.open .btn_menu_works span:nth-child(2) {
  opacity: 0;
}
.open .btn_menu_works span:nth-child(3) {
  transform: rotate(-45deg);
  top: 20px;
}

@media screen and (max-width: 768px) {
  .btn_menu_works {
    top: 0px;
  }
  .btn_menu_works span:nth-child(2) {
    top: 11px;
  }
  .open .btn_menu_works span:nth-child(1) {
    top: 20px;
  }
  .open .btn_menu_works span:nth-child(3) {
    top: 20px;
  }
  .btn_menu_works {
    width: 46px;
    height: 41px;
    right: 0px;
  }
  .btn_menu_works span {
    width: 70%;
    left: 15%;
  }
  .btn_menu_works span:nth-child(1) {
    top: 9px;
  }
  .btn_menu_works span:nth-child(2) {
    top: 20px;
  }
  .btn_menu_works span:nth-child(3) {
    top: 31px;
  }
}

/* ======================================================================
/* .inner
====================================================================== */
.inner {
  max-inline-size: 100%;
  block-size: auto;
  margin: 0 auto;
  padding: 45px 25px;
}

.inner640 {
  max-inline-size: 640px;
  block-size: auto;
  margin: 0 auto;
  padding: 45px 0;
}

@media screen and (width <=768px) {
  .inner {
    inline-size: 100%;
    block-size: auto;
    padding: 30px 15px;
  }

  .inner640 {
    inline-size: 100%;
    block-size: auto;
    padding: 30px 15px;
  }
}

/* ======================================================================
/* propertyDivision
====================================================================== */
.propertyDivision {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px 30px;
  cursor: pointer;
  margin-block-start: 25px;

  & .tab {
    inline-size: calc(100% / 3 - 20px);
    block-size: 70px;
    color: var(--color-white);
    background-color: var(--color-navy);
    display: grid;
    place-items: center;
    text-align: center;
    font-weight: bold;
    border-radius: 9.387px;
    font-size: 20px;
    line-height: 1.15;

    &.is-active {
      color: var(--color-white);
      background: var(--color-brand-theme);
      transition: all ease-out 0.2s 0.1s;
    }
  }
}

@media screen and (width <= 768px) {
  .propertyDivision {
    flex-direction: row;

    & .tab {
      inline-size: calc(100% / 2 - 15px);
      font-size: 13px;
    }
  }
}

/* ======================================================================
/* propertyContent
====================================================================== */
.propertyContent {
  display: none;

  &.is-show {
    display: block;
    transition: all ease-out 0.2s 0.1s;
  }
}

/* ======================================================================
/* swiper
====================================================================== */
@media screen and (width >= 768px) {
  .swiper.js-sp-slider {
    inline-size: 100%;

    & .swiper-wrapper {
      inline-size: 100%;
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      justify-content: center;
      gap: 25px;

      & .swiper-slide {
        inline-size: calc(100% / 2 - 13px);
      }
    }

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

@media screen and (width >= 768px) {
  .swiper.merit-slider_01,
  .swiper.merit-slider_02 {
    inline-size: 100%;

    & .swiper-button-prev,
    & .swiper-button-next {
      inline-size: 50px;
      block-size: 50px;
      color: var(--color-white);
      background: var(--color-black);
      border-radius: 50%;

      & svg {
        inline-size: 50%;
        block-size: 50%;
      }
    }

    & .swiper-button-prev.swiper-button-disabled,
    & .swiper-button-next.swiper-button-disabled {
      display: none;
    }
  }
}

@media screen and (width <= 768px) {
  .swiper.merit-slider_01,
  .swiper.merit-slider_02 {
    & .swiper-button-prev.swiper-button-disabled,
    & .swiper-button-next.swiper-button-disabled {
      display: none;
    }
  }
}

@media screen and (width <= 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    inline-size: 30px;
    block-size: 30px;
    color: var(--color-white);
    background: var(--color-black);
    border-radius: 50%;

    & svg {
      inline-size: 60%;
      block-size: 60%;
    }
  }

  .swiper-button-prev {
    inset-inline-start: 0 !important;
  }

  .swiper-button-next {
    inset-inline-end: 0 !important;
  }
}

/* ======================================================================
/* propertyBox
====================================================================== */
.propertyBox {
  inline-size: 100%;
  block-size: auto;
  display: flex;
  flex-direction: column;
  margin-block: 50px 0;
  box-shadow: 0px 0px 4.75px 0.25px rgba(0, 0, 0, 0.25);
  border-radius: 3px;
  background: var(--color-white);

  & .imgBox {
    inline-size: 100%;

    & img {
      border-radius: 3px 3px 0 0;
      aspect-ratio: 16 / 9;
    }
  }

  & .infoBox {
    max-inline-size: 475px;
    padding: 15px;

    & .infoHeader {
      margin-block-end: 18px;
      min-block-size: 54px;

      & .title {
        font-size: 18px;
        font-weight: bold;
        min-block-size: 54px;
      }

      & .address {
        font-size: 15px;
      }

      & .traffic {
        font-size: 11px;
        padding-block-start: 10px;
        min-block-size: 43px;
      }

      & .district {
        font-size: 11px;
      }
    }

    & .infoBody {
      margin-block-end: 20px;

      & .tableList {
        margin-block: 0 20px;

        & .boxTable {
          max-block-size: 100%;
          display: flex;
          flex-wrap: wrap;

          & .tableItem {
            inline-size: 50%;
            border-bottom: solid 1px var(--color-white);
            display: flex;

            &:last-child {
              border-block-end: none;
            }

            & .tableTit {
              inline-size: 40px;
              padding: 10px;
              font-size: 12px;
              text-align: center;
              background: var(--color-black);
              color: var(--color-white);
              display: flex;
              align-items: center;
              justify-content: center;
              block-size: 30px;
            }

            & .tableTxt {
              inline-size: calc(100% - 40px);
              background: var(--color-gray);
              padding: 10px;
              block-size: 30px;
              font-size: 12px;
              display: flex;
              align-items: center;

              & .price {
                font-size: 21px;
                font-weight: bold;
                color: var(--color-red);
              }
            }
          }
        }
      }

      & .drawingBox {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        min-block-size: 160px;

        & .drawingImgBox {
          position: relative;
          background: var(--color-gray);
          padding: 10px;

          &::after {
            position: absolute;
            bottom: 5px;
            right: 5px;
            content: "";
            display: block;
            inline-size: 30px;
            block-size: 30px;
            background: url(../img/common/zoom_in.svg) 100% 100% / cover no-repeat;
          }

          & img {
            display: block;
            margin: 0 auto;
            max-inline-size: 100%;
            block-size: auto;
          }
        }

        & p {
          text-align: center;
        }
      }
    }

    & .infoFooter {
      margin: 0;

      & .conversion {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;

        & .reserve a {
          position: relative;
          color: var(--color-white);
          background: var(--color-navy);
          font-weight: bold;
          display: flex;
          justify-content: space-around;
          align-items: center;
          padding: 10px;
          text-decoration: none;
          transition: 0.3s ease-in-out;
          font-size: 14px;

          &:hover {
            opacity: 0.8;
          }
        }

        & .document a {
          position: relative;
          color: var(--color-white);
          background: var(--color-orange);
          font-weight: bold;
          display: flex;
          justify-content: space-around;
          align-items: center;
          padding: 10px;
          text-decoration: none;
          transition: 0.3s ease-in-out;
          font-size: 14px;

          &:hover {
            opacity: 0.8;
          }
        }
      }
    }
  }
}

@media screen and (width <=768px) {
  .propertyBox {
    position: relative;

    & .infoBox {
      max-inline-size: 300px;

      & .infoBody {
        & .tableList {
          & .boxTable {
            inline-size: 100%;
            display: flex;
            flex-direction: column;

            & .tableItem {
              inline-size: 100%;
            }
          }
        }

        & .drawingBox {
          grid-template-columns: repeat(2, 1fr);

          & .drawingImgBox {
            position: relative;

            &::after {
              position: absolute;
              bottom: 3px;
              right: 3px;
              content: "";
              display: block;
              inline-size: 20px;
              block-size: 20px;
              background: url(../img/common/zoom_in.svg) 100% 100% / cover no-repeat;
            }

            & img {
              max-inline-size: 100%;
            }
          }
        }
      }

      & .infoFooter {
        margin: 0;

        & .conversion {
          grid-template-columns: repeat(1, 1fr);
        }
      }
    }
  }
}

/* ======================================================================
/* もっと見るボタン (PC用)
====================================================================== */
@media screen and (width >= 768px) {
  .swiper-slide.is-hidden-pc {
    display: none !important;
  }
}

/* ボタンのデザイン */
.moreBtnBox {
  text-align: center;
  margin-top: 30px;
}

.btnMore {
  display: inline-block;
  min-inline-size: 300px;
  padding: 15px;
  background: var(--color-black);
  color: var(--color-white);
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: opacity 0.3s;
}

.btnMore:hover {
  opacity: 0.8;
}

@media screen and (width <= 768px) {
  .moreBtnBox {
    display: none !important;
  }
}

/* ======================================================================
/* loopArea
====================================================================== */
.loopArea {
  position: relative;
  inline-size: 100%;
  padding: 30px 0 15px;
  content: "";
  inline-size: 100%;
  block-size: 460px;
  background: url(../img/lead/loopBg.webp) top center / cover no-repeat;
}

#infinite_slider_01 {
  position: relative;
  z-index: 1;

  & .swiper-wrapper {
    transition-timing-function: linear;
    flex-wrap: nowrap;

    & .swiper-slide {
      inline-size: auto;
      block-size: 340px;

      & img {
        inline-size: auto;
        block-size: 100%;
      }
    }
  }
}

#infinite_slider_02 {
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  inline-size: 100%;
  z-index: 2;

  & .swiper-wrapper {
    transition-timing-function: linear;
    flex-wrap: nowrap;

    & .swiper-slide {
      inline-size: auto;
      block-size: 180px;

      & img {
        inline-size: auto;
        block-size: 100%;
      }
    }
  }
}

/* ======================================================================
/* fixCTA .btnCTA
====================================================================== */
.fixCTA {
  .btnCTA {
    position: sticky;
    inset-block-end: 0;
    inset-inline-start: 0;
    inline-size: 100%;
    block-size: auto;

    & a {
      inline-size: 100%;
      block-size: auto;

      & img {
        max-inline-size: 400px;
      }
    }
  }
}

@media screen and (width <=768px) {
  .fixCTA {
    .btnCTA {
      & a {
        font-size: 4.8vw;

        & img {
          max-inline-size: 300px;
        }
      }
    }
  }
}

/* ======================================================================
/* target_nav
====================================================================== */
.target_nav {
  display: none;
  position: fixed;
  z-index: 100;
  top: 50%;
  right: 50%;
  transform: translate(calc(-50% + 450px), -50%);
  z-index: 100;
}

.header__link {
  display: block;
  width: 6px;
  height: 32px;
  background-color: transparent;
  border: 1px solid #d0c1c1;
  margin-top: 20px;
}

.header__link.is-active {
  background-color: #626262;
}

li.header__item {
  position: relative;
}

.t_nav_tex {
  display: block;
  width: 28px;
  text-align: center;
  position: absolute;
  top: 50%;
  color: #d0c1c1;
  transform: translate(15%, -50%);
}

@media screen and (width <=768px) {
  .target_nav {
    right: 5%;
    transform: translate(0, -50%);
  }
  .header__link {
    width: 4px;
    height: 24px;
    margin-top: 15px;
    border: 1px solid #c8c8c8;
  }
  .header__link.is-active {
    background-color: #c8c8c8;
  }

  .t_nav_tex {
    width: 20px;
  }
}

@media screen and (max-width: 599px) {
  .target_nav {
    display: none !important;
  }
}

/* ======================================================================
/* footer
====================================================================== */
footer {
  display: grid;
  place-items: center;
  padding-block: 30px;
}
