@charset "UTF-8";

/* ============================
*  施工事例詳細
* ========================== */
.p-work-single__article {
  background-color: #f6f2eb;
}
@media screen and (max-width: 768px) {
  .p-work-single__article-inner {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-top: 64px;
  }
}
@media screen and (max-width: 768px) {
  .p-work-single__other {
    order: 4;
  }

  .c-single-pagination {
    order: 5;
  }

  .p-work-single__other-works {
    order: 6;
  }
}

/*-------------------------
  FV
-------------------------*/
.p-work-single__gallery {
  background-color: #fff;
}
.p-work-single__fv {
  width: 100%;
  height: calc(100vh - 191px);
  background-image: url('../images/fv-single-work.png');
  background-size: cover;
  background-position: center;
  max-width: 1366px;
  margin-inline: auto;
}
@media screen and (max-width: 768px) {
  .p-work-single__fv {
    height: fit-content;
    background-image: none !important;
    order: 1;
    margin-bottom: 40px;
  }
}

.p-work-single__fv-inner {
  display: flex;
  align-items: end;
  height: 100%;
  padding-bottom: 40px;
}
@media screen and (max-width: 768px) {
  .p-work-single__fv-inner {
    align-items: flex-start;
    padding-bottom: 0;
  }
}

.p-work-single__fv-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ページタイトル */
.p-work-single .c-page-title--ja {
  color: #fff;
}
@media screen and (max-width: 768px) {
  .p-work-single .c-page-title--ja {
    color: #2f2222;
  }
}

/* エリア・お客様名 */
.p-work-single__meta {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.583;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .p-work-single__meta {
    color: #2f2222;
  }
}

.p-work-single__area {
  display: flex;
}

.p-work-single__area::after {
  content: '｜';
}

/*-------------------------
  情報
-------------------------*/
.p-work-single__information-content {
  display: grid;
  grid-template-columns: minmax(auto, 515px) minmax(auto, 441px);
  justify-content: space-between;
  gap: 74px;
  padding-top: 64px;
  padding-bottom: 64px;
  max-width: 1366px;
  margin-inline: auto;
}
@media screen and (max-width: 768px) {
  .p-work-single__information {
    order: 3;
  }
  .p-work-single__information-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 0;
  }
}

.p-work-single__information-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 本文 */
.p-work-single__information-desc {
  font-size: 1rem;
  line-height: 2.125;
}

/* 情報 */
.p-work-single__information-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media screen and (max-width: 768px) {
  .p-work-single__information-list {
    width: 100%;
  }
}

.p-work-single__information-item {
  position: relative;
  display: grid;
  grid-template-columns: 4em auto;
  gap: 64px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #856249;
  font-size: 1rem;
  line-height: 1.5;
}
@media screen and (max-width: 768px) {
  .p-work-single__information-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
  }

  .p-work-single__information-item::before {
    content: '';
    width: 10px;
    height: 10px;
    background-color: #d0ccc1;
    border-radius: 50%;
  }
}

.p-work-single__details-label {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  .p-work-single__details-label {
    width: 4rem;
    gap: 8px;
    font-size: 0.875rem;
  }
}

.p-work-single__details-label::before {
  content: '';
  width: 0.875rem;
  height: 0.875rem;
  background-color: #d0ccc1;
  border-radius: 50%;
  margin-left: -26px;
}
@media screen and (max-width: 768px) {
  .p-work-single__details-label::before {
    background: none;
  }
}
.p-work-single__details-value {
  font-weight: 500;
}

/*-------------------------
  ギャラリー
-------------------------*/
.p-work-single__gallery .l-single-inner {
  padding-top: 64px;
  padding-bottom: 64px;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  .p-work-single__gallery {
    order: 2;
  }
  .p-work-single__gallery .l-single-inner {
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 40px;
    background-color: #f6f2eb;
  }
}

/* ギャラリーコンテナ */
.gallery-container {
  grid-area: gallery;
  padding-inline: 180px;
}
@media screen and (max-width: 768px) {
  .gallery-container {
    padding-inline: 16px;
  }
}
/* メインスライダー */
.gallery-main-wrapper,
.gallery-main {
  position: relative;
  max-width: 672px;
  width: 100%;
  height: auto;
  margin-inline: auto;
}

.gallery-main .gallery-wrapper {
  position: relative;
  display: flex;
}

.gallery-main .swiper-slide.gallery-slide {
  width: 100%;
  flex-shrink: 0;
}
@media screen and (max-width: 768px) {
  .gallery-main .swiper-slide.gallery-slide {
    overflow: hidden;
    box-shadow: 3px 3px 6px rgba(00, 00, 00, 0.16);
  }
}

.gallery-figure {
  position: relative;
  width: 100%;
  height: auto;
  margin: 0;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 672 /449;
}
@media screen and (max-width: 768px) {
  .gallery-img {
    aspect-ratio: 303 / 203;
  }
}

/* ナビゲーション矢印 */
.gallery-main-wrapper .swiper-button-prev,
.gallery-main-wrapper .swiper-button-next {
  display: block;
  position: absolute !important;
  content: '';
  top: 50% !important;
  /* transform: translateY(-50%); */
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 5 !important;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
@media screen and (max-width: 768px) {
  .gallery-main-wrapper .swiper-button-prev,
  .gallery-main-wrapper .swiper-button-next {
    width: 32px;
    height: 32px;
  }
}

.gallery-main-wrapper .swiper-button-prev {
  background-image: url('../images/arrow-circle-white-left.svg');
  left: -25px !important;
}
@media screen and (max-width: 768px) {
  .gallery-main-wrapper .swiper-button-prev {
    left: -16px !important;
  }
}

.gallery-main-wrapper .swiper-button-next {
  background-image: url('../images/arrow-circle-white-right.svg');
  right: -25px !important;
}
@media screen and (max-width: 768px) {
  .gallery-main-wrapper .swiper-button-next {
    right: -16px !important;
  }
}

/* サムネイル コンテナ */
.gallery-thumbs-wrapper {
  position: relative;
  max-width: 560px;
  width: 100% !important;
  margin-inline: auto;
  /* padding-inline: 24px !important; */
}
@media screen and (max-width: 768px) {
  .gallery-thumbs-wrapper .swiper-wrapper.gallery-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    max-width: 100%;
    gap: 8px;
  }
}

.gallery-thumbs {
  position: relative;
  margin-top: 24px;
  /* width: clamp(320px, 46.85vw, 640px) !important; */
}

/* Swiperラッパー */
.gallery-thumbs .swiper-wrapper {
  display: flex;
  gap: 20px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-thumbs .swiper-wrapper::-webkit-scrollbar {
  display: none;
}

/* サムネ画像 */
.gallery-thumbs .gallery-slide {
  margin-right: 0 !important;
  width: 96px !important;
}
@media screen and (max-width: 768px) {
  .gallery-thumbs .gallery-slide {
    width: 100% !important;
  }
}

.gallery-thumbs .gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 96 / 62;
  border-radius: 5px;
}

.gallery-thumbs .gallery-slide:not(.swiper-slide-thumb-active)::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(47, 34, 34, 0.4);
  border-radius: 5px;
}

/* 拡大ボタン */
.zoom-btn {
  display: none;
}
@media screen and (max-width: 768px) {
  .zoom-btn {
    display: block;
    position: absolute;
    content: '';
    right: -23.5px;
    bottom: 0;
    z-index: 10;
  }

  .zoom-btn__icon {
    width: 47px;
    height: auto;
    object-fit: cover;
  }
}

.zoom-dialog {
  border: none;
  padding: 0;
  background: rgba(0, 0, 0, 0.6);

  opacity: 0;
  transition: opacity 0.3s ease;
}

.zoom-dialog[open] {
  opacity: 1;
}

/* 中身 */
.zoom-content {
  position: relative;
  margin: auto;

  transform: scale(0.96);
  transition: transform 0.3s ease;
}

.zoom-dialog[open] .zoom-content {
  transform: scale(1);
}

.zoom-image {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
}

.zoom-close {
  position: absolute;
  top: 8px;
  right: 8px;
}

/*-------------------------
  その他の詳細情報
-------------------------*/
.p-work-single__other {
  padding-top: 64px;
  padding-bottom: 64px;
  max-width: 1366px;
  margin-inline: auto;
}

.p-work-single__other .l-single-inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* Outline 設計図 */
.p-work-single__outline-images {
  display: flex;
  justify-content: center;
  gap: 98px;
}
@media screen and (max-width: 768px) {
  .p-work-single__outline-images {
    flex-direction: column;
    gap: 50px;
    width: 100%;
  }
}

.p-work-single__outline-image:last-of-type {
  position: relative;
}
.p-work-single__outline-image:last-of-type::before {
  position: absolute;
  content: '';
  top: 50%;
  transform: translateY(-50%);
  left: -58px;
  background-image: url('../images/arrow-brown-right.svg');
  background-size: cover;
  width: 18px;
  height: 16px;
}
@media screen and (max-width: 768px) {
  .p-work-single__outline-image:last-of-type::before {
    /* top: auto; */
    top: -34px;
    bottom: auto;
    left: 50%;
    transform: translate(-50%, 0);
    transform: rotate(90deg);
  }
}
.p-work-single__outline-image:first-of-type:last-of-type::before {
  content: none;
}

.p-work-single__outline-image {
  max-width: 34.11vw;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .p-work-single__outline-image {
    max-width: 100%;
  }
}

.p-work-single__outline-img {
  width: 100%;
  height: auto;
  aspect-ratio: 466 / 259;
  object-fit: cover;
}

/* Story ストーリー */
.p-work-single__story-desc {
  font-size: 1rem;
  line-height: 1.875;
}

/* その他 サブセクション */
.p-work-single__item-content,
.p-work-single__feature {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.p-work-single__feature-item {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.p-work-single__feature-item .c-single-title--level-5 {
  margin-bottom: 0;
}

.p-work-single__feature-images {
  display: flex;
  gap: 32px;
}
@media screen and (max-width: 768px) {
  .p-work-single__feature-images {
    flex-direction: column;
    align-items: center;
  }
}

.p-work-single__feature-image {
  border-radius: 10px;
}

.p-work-single__feature-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.p-work-single__feature-img--landscape {
  max-width: 499px;
  aspect-ratio: 499 / 333;
}
.p-work-single__feature-img--vertical {
  max-width: 222px;
  aspect-ratio: 222 / 333;
}

/*-------------------------
  ページネーション
-------------------------*/
@media screen and (max-width: 768px) {
  .p-work-single .c-single-pagination {
    display: none;
  }
}

/*-------------------------
  Other works
-------------------------*/
.p-work-single__other-works-inner {
  padding-top: 100px;
  padding-bottom: 100px;
  max-width: 1366px;
  margin-inline: auto;
}
@media screen and (max-width: 768px) {
  .p-work-single__other-works-inner {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

/* タイトル */
.p-work-single__other-works-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 40px;
  padding-top: 52px;
  height: 92px;
  background-image: url('../images/deco-single-work-other-works.svg');
  background-repeat: no-repeat;
  background-position: center;
}

.p-work-single__other-works-heading .c-single-sub-title {
  display: flex;
  justify-content: center;
  font-family: 'Prompt', sans-serif;
  border: none;
  margin-bottom: 0;

  padding-bottom: 0;
  letter-spacing: 0.2em;
}

.p-work-single__other-works-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 64px;
}
@media screen and (max-width: 768px) {
  .p-work-single__other-works-list {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
}

.p-work-single__other-works-item .c-work-card__content {
  padding-inline: 24px;
}
@media screen and (max-width: 768px) {
  .p-work-single__other-works-item .c-work-card__content {
    padding-inline: 20px;
  }
}

.p-work-single__other-works-item .c-work-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.p-work-single__other-works .c-button {
  margin-inline: auto;
}

dialog,
::backdrop {
  opacity: 0;
  transition: opacity 0.3s, display 0.3s allow-discrete, overlay 0.3s allow-discrete;
}

::backdrop {
  background: rgba(94, 94, 94, 0.5);
  backdrop-filter: blur(4px);
}

dialog[open],
dialog[open]::backdrop {
  opacity: 1;
}

@starting-style {
  dialog[open],
  dialog[open]::backdrop {
    opacity: 0;
  }
}
