@charset "UTF-8";
/* ============================================ */
/* function
/* ============================================ */
/* ===== fontサイズ ===== */
/* ============================================ */
/* mixin
/* ============================================ */
/* ===== mediaquery ===== */
/* ============================================ */
/* works
/* ============================================ */
#main {
  padding: 0 0 300px;
}

.title-underline {
  min-width: 28rem;
}

@media screen and (max-width: 768px) {
  #main {
    padding: 0 0 150px;
  }
}
/* ===== title-area ===== */
@media screen and (max-width: 1200px) {
  #title-area {
    margin-bottom: 100px;
  }
}
/* ===== works-filter ===== */
.works-filter {
  position: relative;
  max-width: 1120px;
  padding: 45px 0;
  background: #fff;
  margin: 0 auto 200px;
  border-radius: 15px;
}
.works-filter::before {
  content: "SEARCH";
  position: absolute;
  right: 0.5em;
  top: -0.2em;
  display: block;
  font-size: 4.125rem;
  font-weight: 900;
  color: var(--color-bg-gray);
  line-height: 1;
}
.works-filter .filter-group {
  padding: 20px 65px;
}
.works-filter .filter-group:not(:first-child) {
  border-top: solid 1px #f4f4f4;
}
.works-filter .filter-group .filter-title {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1.125rem;
  font-weight: 500;
  font-family: var(--fontfamily-en);
  line-height: 1.5;
  margin: 0 0 0.2em;
}
.works-filter .filter-group .filter-title::after {
  content: "";
  position: relative;
  display: block;
  width: 2em;
  aspect-ratio: 1/1;
  background: url(../img/works/icon_filter.svg) no-repeat center;
}
.works-filter .filter-group label {
  display: inline-block;
  margin: 0 1em 0 0;
  cursor: pointer;
}

@media screen and (max-width: 1200px) {
  .works-filter {
    margin: 0 auto 120px;
  }
}
@media screen and (max-width: 768px) {
  .works-filter {
    padding: 50px 0 30px;
    margin: 0 auto 80px;
  }
  .works-filter::before {
    font-size: 3rem;
  }
  .works-filter .filter-group {
    padding: 15px 45px;
  }
  .works-filter .filter-group .filter-title {
    font-size: 1rem;
  }
}
@media screen and (max-width: 600px) {
  .works-filter .filter-group {
    padding: 15px 30px;
  }
}
/* ===== works-filter（チェックボックス設定） ===== */
/* チェックされたラジオボタン内側のスタイル */
input[type=radio]::before {
  content: "";
  width: 14px;
  height: 14px;
  opacity: 0;
  position: absolute;
  left: 3px;
  top: 3px;
  background: url(../img/works/icon_check.svg) no-repeat center;
  background-size: contain;
}

/* チェックされたらラジオボタン内側を表示 */
input[type=radio]:checked::before {
  opacity: 1;
}

/* デフォルトのラジオボタンのスタイル */
input[type=radio] {
  position: relative;
  top: -2px;
  width: 20px;
  height: 20px;
  aspect-ratio: 1/1;
  background: #000;
  margin: 0 0.5em 0 0;
}

@media screen and (max-width: 768px) {
  input[type=radio]::before {
    left: 1px;
    top: 1px;
  }
  input[type=radio] {
    top: -1px;
    width: 16px;
    height: 16px;
  }
}
/* ===== works-list ===== */
.works-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 80px 2%;
  opacity: 1;
  transform: translate(0, 20px);
  transition: 0.3s ease;
}
.works-list.is-hide {
  opacity: 0;
  transform: translate(0, 0);
  pointer-events: none;
}
.works-list .works-item {
  width: 32%;
}
.works-list .works-item .slider .slick-slide {
  height: 100%;
  aspect-ratio: 20/13 !important;
}
.works-list .works-item .slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.works-list .works-item .text {
  margin: 20px 0 0;
  padding: 0 1em;
}
.works-list .works-item .products {
  font-weight: 500;
}
.works-list .works-item .name {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 0.5em;
}
.works-list .works-item .tag {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.8;
}
.works-list .works-item .tag .tag-item {
  border: solid 1px var(--color-primary);
  padding: 0 1em;
  border-radius: 1em;
}

.works-empty {
  display: none;
  text-align: center;
}
.works-empty.is-show {
  display: block;
}

@media screen and (max-width: 1200px) {
  .works-list {
    gap: 100px 4%;
  }
  .works-list .works-item {
    width: 48%;
  }
}
@media screen and (max-width: 768px) {
  .works-list {
    gap: 50px 4%;
  }
  .works-list .works-item .text {
    margin: 0;
  }
  .works-list .works-item .name {
    font-size: 1.125rem;
  }
  .works-list .works-item .tag {
    font-size: 0.75rem;
    margin: 0 0 12px;
  }
}
@media screen and (max-width: 600px) {
  .works-list {
    flex-direction: column;
    gap: 50px;
  }
  .works-list .works-item {
    width: 100%;
  }
}
/* =========================
   body scroll lock
========================= */
body.is-modal-open {
  overflow: hidden;
}

/* =========================
   slider
========================= */
.slider {
  width: 100%;
  aspect-ratio: 834/544;
  margin: 0 auto !important;
  border-radius: 15px;
  overflow: hidden;
}

.slider img {
  width: 100%;
  cursor: pointer;
  display: block;
}

.out-dots {
  position: relative;
  width: 90%;
  height: 30px;
  margin: 0 auto;
}

.out-arrows {
  position: relative;
}

/* =========================
   slick カスタムcss
========================= */
/* slick dots */
.slick-dots {
  bottom: 0;
  text-align: right;
}

.slick-dots li {
  margin: 0 2px;
}

.slick-dots li button {
  width: 14px;
  height: 14px;
}

.slick-dots li button:hover:before {
  opacity: 0.5;
}

.slick-dots li button:before {
  font-size: 12px;
  color: #969696;
  opacity: 1;
}

.slick-dots li.slick-active button:before {
  color: var(--color-primary);
}

/* =========================
   s-modal
========================= */
.s-modal {
  display: flex;
  position: fixed;
  inset: 0;
  width: 100%;
  height: var(--app-height);
  min-height: var(--app-height);
  background: rgba(0, 0, 0, 0.9);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* 少しゆっくりふわっと */
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* モーダル全体をふんわり表示 */
.s-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* =========================
   s-modal content
========================= */
.s-modal-content {
  position: relative;
  width: calc(100% - 160px);
  max-width: 1000px;
  height: 80%;
  text-align: center;
  /* 通常状態 */
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

@media screen and (max-width: 768px) {
  .s-modal-content {
    width: calc(100% - 100px);
  }
}
/* =========================
   image change animation
   縮小しながらフェードアウト
========================= */
.s-modal-content.is-changing {
  opacity: 0;
  transform: scale(0.96);
}

/* =========================
   image
========================= */
.s-modal-content img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* =========================
   text
========================= */
#s-modalText {
  color: #fff;
  margin-top: 20px;
  display: none;
}

/* =========================
   buttons
========================= */
.s-modal-close,
.s-modal-prev,
.s-modal-next {
  position: absolute;
  z-index: 100000;
  border: none;
  cursor: pointer;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-width: 1;
  transition: 0.3s;
}

.s-modal-close {
  top: 20px;
  right: 20px;
  width: 30px;
}

.s-modal-prev,
.s-modal-next {
  top: 50%;
  width: 50px;
}

.s-modal-prev {
  left: 20px;
  transform: translateY(-50%) rotate(90deg);
}

.s-modal-next {
  right: 20px;
  transform: translateY(-50%) rotate(-90deg);
}

@media screen and (max-width: 768px) {
  .s-modal-close {
    width: 25px;
  }
  .s-modal-prev,
.s-modal-next {
    width: 36px;
  }
  .s-modal-prev {
    left: 10px;
  }
  .s-modal-next {
    right: 10px;
  }
}

/*# sourceMappingURL=works.css.map */
