@charset "utf-8";
/*  design.css
---------------------------------------------- */

/*  pc
---------------------------------------------- */
/*----------------------------
#design
 ----------------------------*/
#design .design-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 65px 3%;
}
#design .design-list_item {
  width: calc(50% - 1.5%);
}
#design .design-list_item__img {
  position: relative;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  aspect-ratio: 29/18;
  overflow: hidden;
}
#design .design-list_item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
#design .design-list_item:hover .design-list_item__img img {
  transform: scale(1.1);
}
#design .design-list_item__area {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  color: #aea49e;
}
#design .design-list_item__area::before {
  content: "";
  width: 20px;
  height: 1px;
  background: #aea49e;
}
#design .design-list_item__txt {
  margin-top: 15px;
  font-size: 2.2rem;
  line-height: 1.7;
}
#design .design-bottom {
  position: relative;
  margin-top: -400px;
  width: 100%;
  height: 430px;
  background: #f8f8f5;
  background: linear-gradient(180deg, rgba(248, 248, 245, 0) 0%, rgba(248, 248, 245, 1) 100%);
  z-index: 1;
}
#design .design-bottom_btn {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  height: 70px;
  background: #3b5d7a;
  color: #fff;
  font-size: 1.6rem;
  z-index: 2;
}
#design .design-bottom_btn__toggle {
  position: absolute;
  width: 16px;
  height: 16px;
  right: 40px;
}
#design .design-bottom_btn__toggle::before,
#design .design-bottom_btn__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
}
#design .design-bottom_btn__toggle::before {
  width: 1px;
  height: 16px;
}
#design .design-bottom_btn__toggle::after {
  width: 16px;
  height: 1px;
}

/* ---------- 切り替え  ---------- */
#design .design-bottom.js-open {
  height: 0;
  margin-top: 140px;
}
#design .design-bottom.js-open .design-bottom_btn__toggle::before {
  opacity: 0;
}

/*----------------------------
#d-detail
 ----------------------------*/
#d-detail .design-area {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  color: #aea49e;
}
#d-detail .design-area::before {
  content: "";
  width: 30px;
  height: 1px;
  background: #aea49e;
}
#d-detail .design-ttl {
  margin-bottom: 60px;
  font-size: 2.8rem;
  line-height: 1.8;
}
#d-detail .design-visual_main {
  margin-bottom: 60px;
  position: relative;
}
#d-detail .design-visual_main .swiper-slide {
  width: 100%;
  height: auto;
  aspect-ratio: 94 / 59;
}
#d-detail .design-visual_main .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#d-detail .design-visual_main .design-swp_btn {
  position: absolute;
  top: 50%;
  width: 100%;
  height: fit-content;
  transform: translateY(-50%);
}
#d-detail .design-visual_main .design-prev,
#d-detail .design-visual_main .design-next {
  position: absolute !important;
}
#d-detail .design-visual_main .design-prev {
  left: -60px;
}
#d-detail .design-visual_main .design-next {
  right: -60px;
}
#d-detail .design-visual_thumbnail .swiper-wrapper {
  flex-wrap: wrap;
  gap: 10px;
}
#d-detail .design-visual_thumbnail .swiper-slide {
  width: calc(100% / 5 - 8px) !important;
  cursor: pointer;
}
#d-detail .design-page {
  display: flex;
  align-items: flex-start;
  gap: 3%;
  margin: 60px 0;
  padding-top: 60px;
  border-top: 1px solid #d3cbc6;
}
#d-detail .design-page_item {
  width: 50%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
  gap: 20px;
  padding: 20px;
  background: #fff;
}
#d-detail .design-page_item.next-item {
  flex-direction: row-reverse;
}
#d-detail .design-page_item__desc .arrow {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #aea49e;
  font-size: 1.6rem;
}
#d-detail .design-page_item__desc .next-arrow {
  justify-content: flex-end;
}
#d-detail .design-page_item__desc .prev-arrow::before,
#d-detail .design-page_item__desc .next-arrow::after {
  content: "";
  width: 16px;
  height: 10px;
}
#d-detail .design-page_item__desc .prev-arrow::before {
  background: url(../img/design/arrow_prev.svg) no-repeat center / contain;
}
#d-detail .design-page_item__desc .next-arrow::after {
  background: url(../img/design/arrow_next.svg) no-repeat center / contain;
}
#d-detail .design-page_item__desc .ttl {
  margin-top: 25px;
  line-height: 2.3;
}
#d-detail .design-page_item__img {
  align-self: center;
  width: 235px;
  height: auto;
  aspect-ratio: 8 / 5;
}
#d-detail .prev-item .design-page_item__img {
  padding-right: 20px;
}
#d-detail .next-item .design-page_item__img {
  padding-left: 20px;
}
#d-detail .design-page_item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*  mobile & smart phone
---------------------------------------------- */
@media only screen and (max-width: 959px) {
  /*----------------------------
#design
 ----------------------------*/
  #design .design-list {
    gap: 30px 10px;
  }
  #design .design-list_item {
    width: calc(50% - 5px);
  }
  #design .design-list_item__img {
    margin-bottom: 10px;
  }
  #design .design-list_item__area {
    gap: 5px;
    font-size: 12px;
  }
  #design .design-list_item__area::before {
    width: 10px;
  }
  #design .design-list_item__txt {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
  }
  #design .design-bottom_btn {
    width: 260px;
    height: 60px;
    font-size: 14px;
  }
  #design .design-bottom_btn__toggle {
    width: 13px;
    height: 13px;
    right: 30px;
  }
  #design .design-bottom_btn__toggle::before {
    height: 13px;
  }
  #design .design-bottom_btn__toggle::after {
    width: 13px;
  }

  /* ---------- 切り替え  ---------- */
  #design .design-bottom.js-open {
    margin-top: 100px;
  }

  /*----------------------------
#d-detail
 ----------------------------*/
  #d-detail .design-area {
    font-size: 14px;
  }
  #d-detail .design-ttl {
    margin-bottom: 25px;
  }
  #d-detail .design-visual_main {
    margin-bottom: 20px;
  }
  #d-detail .design-visual_main .swiper-slide {
    aspect-ratio: 35 / 22;
  }
  #d-detail .design-visual_main {
    width: 100%;
  }
  #d-detail .design-visual_main .design-swp_btn {
    position: static;
    margin-top: 30px;
    transform: inherit;
    justify-content: center;
  }
  #d-detail .design-visual_main .design-prev,
  #d-detail .design-visual_main .design-next {
    position: static !important;
  }
  #d-detail .design-visual_thumbnail .swiper-wrapper {
    gap: 5px;
  }
  #d-detail .design-visual_thumbnail .swiper-slide {
    width: calc(100% / 4 - 4px) !important;
  }
  #d-detail .design-page {
    flex-direction: column;
    gap: 10px;
    margin: 40px 0 20px;
    padding-top: 25px;
  }
  #d-detail .design-page_item {
    width: 100%;
    align-self: stretch;
    gap: 0;
    padding: 20px 20px 25px;
  }
  #d-detail .design-page_item.next-item {
    flex-direction: row;
  }
  #d-detail .design-page_item__desc {
    width: 100%;
  }
  #d-detail .design-page_item__desc .arrow {
    gap: 5px;
    font-size: 14px;
  }
  #d-detail .design-page_item__desc .ttl {
    margin-top: 10px;
    line-height: 2.1;
    font-size: 14px;
  }
}
