@charset "UTF-8";
/* ============================================================
// works.scss
============================================================ */
/* ------------------------------------------------------------
// Fluid Design Function
// 最小値〜最大値の間で数値を可変させる共通関数
------------------------------------------------------------ */
/* ------------------------------------------------------------
// Page Header / ページトップ画像見出し
------------------------------------------------------------ */
.page-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(240px, 28.729281768vw + 132.2651933702px, 500px);
  padding-top: clamp(76px, 5.9668508287vw + 53.6243093923px, 130px);
  overflow: hidden;
  background: url(../images/works/bg-hero.webp) no-repeat center/cover;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.page-header__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
  text-align: center;
}
.page-header__title-area {
  color: #fff;
}
.page-header__en {
  display: block;
  font-size: clamp(34px, 2.8729281768vw + 23.226519337px, 60px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
}
.page-header__jp {
  position: relative;
  display: inline-block;
  margin-top: 10px;
  font-size: clamp(14px, 0.2209944751vw + 13.1712707182px, 16px);
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  background: #003399;
  border-radius: 2px;
}

/* ------------------------------------------------------------
// 実績
------------------------------------------------------------ */
.works-category__nav-category {
  max-width: 900px;
  margin: clamp(60px, 6.6298342541vw + 35.138121547px, 120px) auto;
}
.works-category__category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.works-category__category-link {
  display: block;
  padding: 10px 24px;
  background: #fff;
  color: #333;
  text-decoration: none;
  font-size: clamp(13px, 0.1104972376vw + 12.5856353591px, 14px);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 2px;
  border: 1px solid #dce4ec;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 140px;
}
.works-category__category-link:hover {
  background: #002266;
  color: #fff;
  border-color: #002266;
  text-decoration: none;
}
.works-category__category-link.is-active {
  background: #003399;
  color: #fff;
  border-color: #003399;
  pointer-events: none;
  cursor: default;
}

@media screen and (max-width: 767px) {
  .works-category__category-list {
    gap: 6px;
  }
  .works-category__category-link {
    min-width: calc(50% - 3px);
    padding: 8px 12px;
  }
}
.works__list {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 2.2099447514vw + 31.7127071823px, 60px);
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.works__item {
  position: relative;
  padding: clamp(20px, 2.2099447514vw + 11.7127071823px, 40px);
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.works__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(2px, 0.4419889503vw + 0.3425414365px, 6px);
  background: #003399;
}
.works__body {
  margin-bottom: clamp(20px, 2.2099447514vw + 11.7127071823px, 40px);
}
.works__title {
  position: relative;
  display: inline-block;
  font-size: clamp(20px, 1.3259668508vw + 15.0276243094px, 32px);
  font-weight: 700;
  color: #003399;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.works__title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40%;
  height: 2px;
  background: #003399;
  border-radius: 10px;
}
.works__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.1049723757vw + 9.8563535912px, 24px);
  margin-bottom: clamp(30px, 1.1049723757vw + 25.8563535912px, 40px);
}
.works__img-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: #f5f7fa;
}
.works__img-thumb img {
  width: 100%;
  height: 100%;
  padding: 6px;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.works__img-thumb:hover img {
  transform: scale(1.08);
  filter: brightness(0.9);
}
.works__text {
  font-size: clamp(14px, 0.2209944751vw + 13.1712707182px, 16px);
  color: #666;
  line-height: 2;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 767px) {
  .works__gallery {
    grid-template-columns: 1fr;
  }
}
.works-category__intro {
  width: 100%;
  margin: clamp(60px, 6.6298342541vw + 35.138121547px, 120px) auto;
}
.works-category__intro-inner {
  display: flex;
  flex-direction: column-reverse;
  background: #f4f7fc;
  border-radius: 2px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}
.works-category__intro-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 2.2099447514vw + 11.7127071823px, 40px);
}
.works-category__intro-meta {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #003399;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.works-category__intro-title {
  font-size: clamp(20px, 0.8839779006vw + 16.6850828729px, 28px);
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
}
.works-category__intro-text {
  font-size: clamp(14px, 0.1104972376vw + 13.5856353591px, 15px);
  color: #666;
}
.works-category__intro-img {
  width: 100%;
}
.works-category__intro-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (min-width: 768px) {
  .works-category__intro-inner {
    flex-direction: row;
    min-height: 280px;
  }
  .works-category__intro-body {
    flex: 1;
    padding: 40px 50px;
  }
  .works-category__intro-img {
    width: 40%;
    aspect-ratio: auto;
  }
}