@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap");

/* ======================================================================
/* root
====================================================================== */
:root {
  --color-black: #000000;
  --color-brown: #584945;
  --color-white: #ffffff;
  --color-gray: #f7f7f7;
  --color-red: #8b1e24;
  --color-gold: #b3975c;
  --color-green: #25a840;
  --color-blue: #00a1e9;
}

/* ======================================================================
/* body
====================================================================== */
body {
  font:
    400 15px / 1.8 "Zen Maru Gothic",
    serif;
  color: var(--color-dark-navy);
  text-align: justify;
  letter-spacing: 0.03em;
}

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

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

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

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

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

/* ======================================================================
/* id="nav06"
====================================================================== */
#nav06 {
  background: var(--color-gray);

  & .bgImg {
    position: relative;

    & a {
      position: absolute;
      inset-block-end: 7%;
      inset-inline-start: 0;
      transform: translate(0, -7%);

      & img {
        inline-size: 65%;
      }
    }
  }
}

/* ======================================================================
/* fluidImg
====================================================================== */
@media screen and (width <= 768px) {
  .fluidImg {
    inline-size: 100%;
    block-size: auto;
  }
}

/* ======================================================================
/* map
====================================================================== */
.map {
  inline-size: 100%;
  block-size: auto;
  margin-block: 30px 0;

  & iframe {
    inline-size: 100%;
  }
}

/* ======================================================================
/* Swiper
====================================================================== */
.swiper {
  position: relative;
  inline-size: 100%;
  block-size: 100%;

  & .swiper-slide {
    display: grid;
    place-items: center;

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

  & .swiper-button-next {
    content: "";
    background: url(../img/common/next.svg) top center / cover no-repeat;
    inline-size: 30px;
    block-size: 30px;

    &::after {
      display: none;
    }
  }

  & .swiper-button-prev {
    content: "";
    background: url(../img/common/prev.svg) top center / cover no-repeat;
    inline-size: 30px;
    block-size: 30px;

    &::after {
      display: none;
    }
  }

  & .swiper-pagination {
    position: absolute;
    bottom: 0;
    left: 0;
    inline-size: 50px;
    color: var(--color-black);
    background-color: var(--color-gray);
    font-weight: bold;
    text-align: center;
    transition: 0.3s opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
  }
}

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

    & .swiper-button-next,
    & .swiper-button-prev {
      inline-size: 30px;
      block-size: 30px;

      &:after,
      &:after {
        font-size: 16px;
      }
    }

    & .swiper-pagination {
      inline-size: 60px;
      font-size: 14px;
    }
  }
}

/* ======================================================================
/* tab
====================================================================== */
.tab-content {
  display: none;

  &.selected {
    display: block;
  }
}

/* ======================================================================
/* parent-menu
====================================================================== */
.parent-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-block: 40px 0;

  & li {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 20px;
    font-weight: bold;
    color: var(--color-black);
    background-color: var(--color-gray);
    cursor: pointer;
    border-radius: 5px 5px 0 0;

    &:last-child {
      margin-right: 0;
    }
  }
}

.parent-menu li[data-id="parent-tateuri"].selected {
  color: var(--color-white);
  background-color: var(--color-green);
}

.parent-menu li[data-id="parent-chuko"].selected {
  color: var(--color-white);
  background-color: var(--color-blue);
}

/* ======================================================================
/* child-container
====================================================================== */
.child-container.specHouse {
  border-block-start: 5px solid var(--color-green);
}

.child-container.used {
  border-block-start: 5px solid var(--color-blue);
}

.child-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-block: 40px;

  & .specHouse {
    color: var(--color-white);
    background-color: var(--color-green);
    text-align: center;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 10px;
  }

  & .used {
    color: var(--color-white);
    background-color: var(--color-blue);
    text-align: center;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 10px;
  }
}

.child-menu li.selected {
  opacity: 1;
  box-shadow: none;
  transform: translateY(2px);
}

.inner-content {
  padding: 10px;
  border: 1px solid #dddddd;
}

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

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

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

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

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

/*----------------------------------------
	target_nav
----------------------------------------*/
.target_nav {
  display: none;
  position: fixed;
  z-index: 100;
  top: 50%;
  right: 50%;
  transform: translate(calc(-50% + 300px), -50%);
  z-index: 49;
}
.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 (max-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;
  }
} /*END*/

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

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

        &: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);
}
.open .drawer 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 (max-width: 768px) {
  .head_lp .drawer_close {
    width: 30px;
    height: 30px;
  }
  .drawer ul li a {
    font-size: 1rem;
  }
} /*END*/

.btn_menu_works {
  position: fixed;
  width: 46px;
  height: 41px;
  right: calc(50% - 250px);
  top: 0px;
  cursor: pointer;
  transition: all 0.5s;
  z-index: 51;
  background: #000;
  /*display: none;*/
}
.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;
  }
} /*END*/

/* =====================================================
/* footer
===================================================== */
footer {
  display: grid;
  place-items: center;
  padding: 15px;
  color: var(--color-white);
  background: var(--color-black);

  & small {
    margin-block-start: 0;
  }
}

/* ======================================================================
/* iframe
====================================================================== */
iframe {
  inline-size: 100%;
  block-size: 400px;
  aspect-ratio: 3 / 2;
}
