@charset "UTF-8";

/**
 * オリジナルcss
 */

/* archive */

.main {
  background-image: url(../images/top/bg_works.png);
}

.works_select {
  margin-top: 46px;
  background: #fff;
  border: 1px solid #c6dff6;
  border-radius: 5px;
  padding: 38px 10px;
  margin-bottom: 80px;
  h2 {
    text-align: center;
    font-size: 2rem;
  }
}

.select_elements {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  .select_element {
    width: 284px;
    h3 {
      font-size: 1.6rem;
      img {
        width: 17px;
        vertical-align: middle;
        margin-right: 3px;
      }
    }
    select {
      margin-top: 12px;
      width: 100%;
      padding: 13px 22px;
      border-radius: 5px;
    }
  }

  .works_select_submit {
    margin-top: 32px;
    width: 100%;
    display: block;
    text-align: center;
    input[type="submit" i] {
      width: 100%;
      max-width: 335px;
      color: #fff;
      background: var(--color-theme-sub);
      font-size: 1.6rem;
      border: none;
      border-radius: 50px;
      padding: 13px;
      cursor: pointer;
    }
  }
  .works_select_submit:hover {
    opacity: 0.8;
  }
}

.archive_works {
  background: #fff;
}

.archive_works_wrap {
  padding-top: 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 80px 5%;
  a {
    width: calc(90% / 3);
    display: block;
    text-decoration: none;
    .archive_works_image {
      position: relative;
      aspect-ratio: 1 / 1;
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      span {
        position: absolute;
        top: 0;
        left: 0;
        color: #fff;
        background: var(--color-theme-sub);
        font-size: 1.6rem;
        padding: 4px 10px;
      }
    }
    .archive_works_text {
      margin-top: 19px;
      h3 {
        font-size: 2rem;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--color-theme-sub);
      }
      .archive_works_detail {
        margin-top: 19px;
        display: flex;
        gap: 8px;
        flex-direction: column;
        dl {
          display: flex;
          flex-wrap: wrap;
          gap: 40px;
          margin: 0;
          dt {
            width: 73px;
            img {
              width: 17px;
              vertical-align: middle;
              margin-right: 3px;
            }
          }
          dd {
            width: calc(100% - 113px);
            margin: 0;
          }
        }
      }
    }
  }
}

/* single */

.works_detail {
  background: #fff;
  margin-top: 72px;
  padding-top: 80px;
  .inner {
    display: flex;
    gap: 6%;
    .works_detail_main {
      width: 50%;
      dl {
        margin-top: 56px;
        margin-bottom: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 24px 0;
        dt {
          width: 150px;
          border-bottom: 1px solid #dddddd;
          padding-bottom: 24px;
        }
        dd {
          width: calc(100% - 150px);
          margin: 0;
          border-bottom: 1px solid #dddddd;
          padding-bottom: 24px;
        }
      }
    }
    .works_detail_images {
      width: 44%;
      margin-top: -188px;
      .works_detail_image {
        height: 700px;
        overflow: hidden;
        .swiper-wrapper,
        .swiper-slide {
          height: 100%;
        }
        a {
          display: block;
          height: 100%;
          cursor: zoom-in;
        }
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }
      .works_detail_image_controls {
        .swiper-pagination {
          position: static;
          width: 100%;
          height: 2px;
          margin: 25px 0 0;
          background: #dddddd;
          border-radius: 0;
          overflow: hidden;
          .swiper-pagination-progressbar-fill {
            background: var(--color-theme-sub);
            border-radius: 0;
          }
        }
        .works_detail_image_nav {
          margin-top: 23px;
          display: flex;
          justify-content: flex-end;
          gap: 10px;
        }
        .swiper-button-prev,
        .swiper-button-next {
          position: static;
          width: 30px;
          height: 30px;
          margin: 0;
          background: none;
          border: none;
          border-radius: 0;
          &::after {
            width: 10px;
            height: 10px;
            content: "";
          }
        }
        .swiper-button-prev::after {
          border-left: 2px solid var(--color-theme-sub);
          border-bottom: 2px solid var(--color-theme-sub);
          transform: rotate(45deg);
          margin-left: 3px;
        }
        .swiper-button-next::after {
          border-right: 2px solid var(--color-theme-sub);
          border-bottom: 2px solid var(--color-theme-sub);
          transform: rotate(-45deg);
          margin-right: 3px;
        }
        .swiper-button-disabled {
          opacity: 0.35;
          cursor: default;
        }
      }
    }
  }
  .works_detail_point {
    width: 100%;
    border: 1px solid #c6dff6;
    border-radius: 5px;
    padding: 40px 24px;
    margin-top: 48px;
    h3 {
      color: var(--color-theme-sub);
      text-align: center;
      font-size: 2rem;
    }
    p {
      margin: 26px auto 0 auto;
      max-width: 960px;
    }
  }
  .back_link {
    margin-top: 48px;
    text-align: center;
    width: 100%;
    a {
      display: inline-block;
      color: #fff;
      text-decoration: none;
      background: var(--color-theme-sub);
      max-width: 335px;
      width: 100%;
      padding: 13px;
      border-radius: 50px;
    }
  }
  .back_link {
    margin-top: 32px;
  }
}

.works_lelated {
  background: #e7f7ff;
  margin-top: 80px;
  padding-top: 80px;
  padding-bottom: 66px;
  .content_header {
    width: 100%;
  }
}

.lelated_elements {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 5%;
  width: 100%;
  a {
    width: calc(90% / 3);
    display: block;
    text-decoration: none;
    .lelated_element_image {
      aspect-ratio: 1 / 1;
      overflow: hidden;
      position: relative;
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      span {
        position: absolute;
        top: 0;
        left: 0;
        color: #fff;
        background: var(--color-theme-sub);
        font-size: 1.6rem;
        font-weight: 700;
        padding: 4px 10px;
      }
    }
    .lelated_element_text {
      margin-top: 19px;
      h3 {
        font-size: 2rem;
        font-weight: 700;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--color-theme-sub);
        margin-bottom: 19px;
      }
      .lelated_element_detail {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 0;
        margin: 0;
        dt {
          width: 113px;
          font-weight: 700;
          img {
            width: 17px;
            height: 17px;
            vertical-align: middle;
            margin-right: 3px;
          }
        }
        dd {
          width: calc(100% - 113px);
          margin: 0;
          font-weight: 400;
        }
      }
    }
  }
}

@media screen and (max-width: 1110px) {
}
@media screen and (max-width: 740px) {
  .works_select {
    margin-top: 32px;
    padding: 32px 24px;
    margin-bottom: 48px;
  }
  .select_elements {
    margin-top: 24px;
    gap: 16px;
    .select_element {
      select {
        margin-top: 10px;
      }
    }
    .works_select_submit {
      margin-top: 8px;
    }
  }
  .archive_works_wrap {
    padding-top: 48px;
    a {
      width: 100%;
    }
  }

  .works_detail {
    padding-top: 0;
    margin-top: 96px;
    .inner {
      flex-direction: column;
      .works_detail_main {
        width: 100%;
        order: 2;
        dl {
          margin-top: 32px;
          dt {
            width: 110px;
          }
          dd {
            width: calc(100% - 110px);
          }
        }
      }
      .works_detail_images {
        width: 100%;
        order: 1;
        margin-top: -64px;
        .works_detail_image {
          height: auto;
          aspect-ratio: 327 / 375;
        }
        .works_detail_image_controls {
          .swiper-pagination {
            margin-top: 16px;
          }
          .works_detail_image_nav {
            margin-top: 8px;
          }
        }
      }
    }
    .works_detail_point {
      margin-top: 32px;
    }
  }
  .lelated_elements {
    margin-top: 32px;
    gap: 40px;
    a {
      width: 100%;
    }
  }
}
@media screen and (max-width: 639px) {
}
@media screen and (max-width: 500px) {
}
