:root {
  --hs-blue: #19479b;
  --hs-blue-hover: #123a81;
  --hs-navy: #0c2147;
  --hs-text: #333333;
  --hs-pale: #eef3fb;
  --hs-gray: #f4f5f7;
  --hs-border: #d8dde5;
}

.hs-product-archive {
  background: #fff;
  color: var(--hs-text);
}

.hs-product-container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.hs-product-hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 96px;
  background: var(--hs-gray);
}

.hs-product-hero::after {
  content: "PRODUCTS";
  position: absolute;
  top: -0.18em;
  right: -0.02em;
  color: #e9ecf2;
  font-size: clamp(100px, 16vw, 240px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.hs-product-hero .hs-product-container {
  position: relative;
  z-index: 1;
}

.hs-product-eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 22px;
  color: var(--hs-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.hs-product-eyebrow span {
  width: 44px;
  height: 2px;
  background: var(--hs-blue);
}

.hs-product-hero h1 {
  margin: 0;
  color: var(--hs-text);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.hs-product-lead {
  margin: 30px 0 0;
  font-size: 16px;
  line-height: 2;
}

.hs-product-body {
  padding-block: 64px 104px;
}

.hs-product-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 42px;
}

.hs-product-filter a {
  min-width: 124px;
  padding: 12px 22px;
  border: 1px solid var(--hs-border);
  background: #fff;
  color: var(--hs-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.hs-product-filter a:hover,
.hs-product-filter a.is-active {
  border-color: var(--hs-blue);
  background: var(--hs-blue);
  color: #fff;
}

.hs-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 24px;
}

.hs-product-card {
  min-width: 0;
  border: 1px solid var(--hs-border);
  background: #fff;
}

.hs-product-card > a {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.hs-product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin: 0;
  background: var(--hs-pale);
}

.hs-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hs-product-card:hover .hs-product-image img {
  transform: scale(1.035);
}

.hs-product-image > span {
  display: grid;
  height: 100%;
  place-items: center;
  color: #8a96aa;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.hs-product-card-content {
  display: flex;
  min-height: 320px;
  flex: 1;
  flex-direction: column;
  padding: 28px 28px 26px;
}

.hs-product-category {
  margin: 0 0 12px;
  color: var(--hs-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hs-product-card h2 {
  margin: 0;
  color: var(--hs-navy);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
}

.hs-product-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 16px 0 0;
  color: #555;
  font-size: 14px;
  line-height: 1.85;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.hs-product-specs {
  margin: 20px 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--hs-border);
  font-size: 12px;
}

.hs-product-specs > div {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 10px;
  margin-top: 7px;
}

.hs-product-specs dt {
  color: #778196;
}

.hs-product-specs dd {
  margin: 0;
}

.hs-product-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
  color: var(--hs-blue);
  font-size: 13px;
  font-weight: 700;
}

.hs-product-more b {
  font-size: 19px;
  font-weight: 400;
}

.hs-product-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.hs-product-pagination .page-numbers {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--hs-border);
  color: var(--hs-navy);
  text-decoration: none;
}

.hs-product-pagination .current,
.hs-product-pagination a:hover {
  border-color: var(--hs-blue);
  background: var(--hs-blue);
  color: #fff;
}

.hs-product-empty {
  padding: 64px 20px;
  background: var(--hs-gray);
  text-align: center;
}

@media (max-width: 959px) {
  .hs-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .hs-product-container {
    width: min(100% - 36px, 1120px);
  }

  .hs-product-hero {
    padding: 68px 0 60px;
  }

  .hs-product-hero::after {
    top: 0;
    right: -0.15em;
    font-size: 92px;
  }

  .hs-product-hero h1 {
    font-size: 38px;
  }

  .hs-product-lead {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.9;
  }

  .hs-product-body {
    padding-block: 42px 72px;
  }

  .hs-product-filter {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 30px;
  }

  .hs-product-filter a {
    min-width: 0;
    padding-inline: 10px;
  }

  .hs-product-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hs-product-card-content {
    min-height: 300px;
    padding: 24px 22px;
  }

  .hs-product-card h2 {
    font-size: 20px;
  }
}

/* =========================================================
   PRODUCT SINGLE
   製作実績 詳細ページ
========================================================= */

.hs-product-single {
  background: #fff;
  color: var(--hs-text);
}


/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */

.hs-product-single-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 78px;
  background: var(--hs-gray);
}

.hs-product-single-hero::after {
  content: "WORKS";
  position: absolute;
  top: -0.18em;
  right: -0.03em;
  color: #e9ecf2;
  font-size: clamp(110px, 17vw, 240px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.hs-product-single-hero .hs-product-container {
  position: relative;
  z-index: 1;
}


/* 一覧へ戻る */

.hs-product-back-top {
  display: inline-flex;
  align-items: center;
  margin-bottom: 32px;
  color: #777;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.hs-product-back-top:hover {
  color: var(--hs-blue);
}


/* カテゴリー */

.hs-product-single-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--hs-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hs-product-single-category::before {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--hs-blue);
}


/* タイトル */

.hs-product-single-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--hs-navy);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
}


/* 抜粋 */

.hs-product-single-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: #555;
  font-size: 16px;
  line-height: 2;
}


/* ---------------------------------------------------------
   BODY
--------------------------------------------------------- */

.hs-product-single-body {
  padding-top: 72px;
  padding-bottom: 110px;
}


/* ---------------------------------------------------------
   MAIN IMAGE + PRODUCT DATA
--------------------------------------------------------- */

.hs-product-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.8fr);
  gap: 52px;
  align-items: start;
  margin-bottom: 96px;
}


/* メイン画像 */

.hs-product-main-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin: 0;
  background: var(--hs-gray);
}

.hs-product-main-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hs-product-main-image > span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #8a96aa;
  font-size: 12px;
  letter-spacing: 0.16em;
}


/* ---------------------------------------------------------
   PRODUCT DATA
--------------------------------------------------------- */

.hs-product-data {
  padding-top: 4px;
}

.hs-product-data-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: var(--hs-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hs-product-data-label::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--hs-blue);
}

.hs-product-data h2 {
  margin: 0 0 30px;
  color: var(--hs-navy);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
}

.hs-product-data dl {
  margin: 0;
  border-top: 1px solid var(--hs-border);
}

.hs-product-data dl > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid var(--hs-border);
}

.hs-product-data dt {
  color: #7b8493;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
}

.hs-product-data dd {
  margin: 0;
  color: var(--hs-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}


/* ---------------------------------------------------------
   本文
--------------------------------------------------------- */

.hs-product-content {
  max-width: 850px;
  margin: 0 auto 96px;
}

.hs-product-content p {
  margin: 0 0 1.8em;
  color: #444;
  font-size: 16px;
  line-height: 2.1;
}

.hs-product-content p:last-child {
  margin-bottom: 0;
}

.hs-product-content h2 {
  margin: 64px 0 28px;
  color: var(--hs-navy);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
}

.hs-product-content h3 {
  margin: 48px 0 22px;
  color: var(--hs-navy);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}


/* ---------------------------------------------------------
   POINT
--------------------------------------------------------- */

.hs-product-point {
  position: relative;
  max-width: 920px;
  margin: 0 auto 96px;
  padding: 48px 54px 50px;
  background: var(--hs-pale);
}

.hs-product-point::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--hs-blue);
}

.hs-product-point > p {
  margin: 0 0 10px;
  color: var(--hs-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hs-product-point h2 {
  margin: 0 0 24px;
  color: var(--hs-navy);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}

.hs-product-point > div {
  color: #444;
  font-size: 15px;
  line-height: 2;
}


/* ---------------------------------------------------------
   GALLERY
--------------------------------------------------------- */

.hs-product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 100px;
}

.hs-product-gallery figure {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin: 0;
  background: var(--hs-gray);
}

.hs-product-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ---------------------------------------------------------
   CONTACT
--------------------------------------------------------- */

.hs-product-contact {
  position: relative;
  overflow: hidden;
  margin-top: 104px;
  padding: 64px 72px;
  background: var(--hs-navy);
  color: #fff;
}

.hs-product-contact::after {
  content: "CONTACT";
  position: absolute;
  right: -0.04em;
  bottom: -0.3em;
  color: rgba(255, 255, 255, 0.045);
  font-size: clamp(90px, 14vw, 180px);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.hs-product-contact > * {
  position: relative;
  z-index: 1;
}

.hs-product-contact-label {
  margin: 0 0 18px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.hs-product-contact h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.55;
}

.hs-product-contact > p:not(.hs-product-contact-label) {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.9;
}

.hs-product-contact a {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  margin-top: 36px;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.hs-product-contact a:hover {
  background: #fff;
  color: var(--hs-navy);
}

.hs-product-contact a span {
  font-size: 18px;
}


/* ---------------------------------------------------------
   BACK
--------------------------------------------------------- */

.hs-product-back-bottom {
  display: inline-flex;
  align-items: center;
  margin-top: 42px;
  color: var(--hs-blue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.hs-product-back-bottom:hover {
  text-decoration: underline;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 959px) {

  .hs-product-single-hero {
    padding: 74px 0 68px;
  }

  .hs-product-overview {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hs-product-data {
    max-width: none;
  }

  .hs-product-data dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--hs-border);
  }

  .hs-product-data dl > div {
    display: block;
    padding: 18px 20px;
    border-right: 1px solid var(--hs-border);
  }

  .hs-product-data dt {
    margin-bottom: 7px;
  }

  .hs-product-contact {
    padding: 54px 48px;
  }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 599px) {

  .hs-product-single-hero {
    padding: 56px 0 52px;
  }

  .hs-product-single-hero::after {
    top: 0.05em;
    right: -0.18em;
    font-size: 92px;
  }

  .hs-product-back-top {
    margin-bottom: 24px;
    font-size: 12px;
  }

  .hs-product-single-category {
    margin-bottom: 14px;
  }

  .hs-product-single-hero h1 {
    font-size: 30px;
    line-height: 1.45;
  }

  .hs-product-single-lead {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.9;
  }

  .hs-product-single-body {
    padding-top: 42px;
    padding-bottom: 72px;
  }

  .hs-product-overview {
    gap: 34px;
    margin-bottom: 68px;
  }

  .hs-product-data h2 {
    margin-bottom: 22px;
    font-size: 24px;
  }

  .hs-product-data dl {
    display: block;
  }

  .hs-product-data dl > div {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 14px;
    padding: 15px 0;
    border-right: 0;
  }

  .hs-product-content {
    margin-bottom: 64px;
  }

  .hs-product-content p {
    font-size: 15px;
    line-height: 2;
  }

  .hs-product-point {
    margin-bottom: 64px;
    padding: 34px 26px 36px 30px;
  }

  .hs-product-point h2 {
    font-size: 23px;
  }

  .hs-product-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 68px;
  }

  .hs-product-contact {
    margin-top: 68px;
    padding: 42px 28px;
  }

  .hs-product-contact h2 {
    font-size: 27px;
  }

  .hs-product-contact a {
    width: 100%;
    justify-content: space-between;
    margin-top: 28px;
  }

  .hs-product-back-bottom {
    margin-top: 30px;
  }
}

/* =========================================================
   PRODUCT SINGLE / SECTION HEADING
========================================================= */

.hs-product-section-heading {
  margin: 0 0 40px;
}

.hs-product-section-en {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 14px !important;
  color: var(--hs-blue) !important;
  font-size: 11px !important;
  font-weight: 700;
  line-height: 1.4 !important;
  letter-spacing: 0.22em;
}

.hs-product-section-en::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  flex-shrink: 0;
  background: var(--hs-blue);
}

.hs-product-section-heading h2 {
  margin: 0 !important;
  padding: 0;
  color: var(--hs-navy);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
}


/* 本文 */

.hs-product-content {
  max-width: 850px;
  margin: 0 auto 96px;
}

.hs-product-content-text {
  padding-top: 0;
}

.hs-product-content-text p {
  margin: 0 0 24px;
  color: #444;
  font-size: 16px;
  line-height: 2.05;
}

.hs-product-content-text p:last-child {
  margin-bottom: 0;
}


/* 本文内に実際に入力されたh2用 */

.hs-product-content-text h2 {
  margin: 60px 0 26px;
  color: var(--hs-navy);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}


/* スマホ */

@media (max-width: 599px) {

  .hs-product-section-heading {
    margin-bottom: 28px;
  }

  .hs-product-section-en {
    margin-bottom: 11px !important;
    font-size: 10px !important;
  }

  .hs-product-section-en::before {
    width: 30px;
  }

  .hs-product-section-heading h2 {
    font-size: 26px;
  }

  .hs-product-content-text p {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 2;
  }
}