.post-type-archive-spec_sheet .site-body {
  padding: calc(30 / 16 * 1rem) 0 calc(50 / 16 * 1rem);
}

.post-type-archive-spec_sheet .main-section {
  margin: 0;
}

@media (min-width: 768px) {
  .post-type-archive-spec_sheet .site-body {
    padding: calc(30 / 16 * 1rem) 0 calc(160 / 16 * 1rem);
  }
  .post-type-archive-spec_sheet .container {
    max-width: 840px !important;
    padding-inline: 1.25rem;
  }
  .post-type-archive-spec_sheet .breadcrumb .container {
    max-width: 1180px !important;
  }
}

/* ============================================================
   spec-sheet.css
   仕様書一覧ページ (page-spec-sheet.php)
============================================================ */

.spec-sheet-page { opacity: 1; }

/* ページタイトル */
.spec-sheet-page__title {
  font-size: calc(24 / 16 * 1rem);
  font-weight: 900;
  text-align: center;
  color: var(--color-black);
}

/* リストコンテナ */
.spec-sheet-list {
  margin-top: calc(8 / 16 * 1rem);
}

/* ヘッダー行（製品名） */
.spec-sheet-list__head {
  background-color: var(--color-light-blue);
  border-bottom: 0.125rem solid var(--color-blue);
  padding: calc(8 / 16 * 1rem) calc(12 / 16 * 1rem);
  font-size: calc(16 / 16 * 1rem);
  font-weight: 700;
  line-height: calc(20 / 14);
  color: var(--color-black);
}

/* アイテムリスト */
.spec-sheet-list__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.spec-sheet-list__item {
  margin: 0;
}

/* 非表示アイテム（すべて見るクリック前） */
.spec-sheet-item--hidden {
  display: none;
}

/* リンク / 非リンク共通 */
.spec-sheet-list__link {
  display: flex;
  align-items: center;
  gap: calc(10 / 16 * 1rem);
  padding: calc(8 / 16 * 1rem) calc(12 / 16 * 1rem);
  text-decoration: none;
  color: var(--color-black);
  font-size: calc(16 / 16 * 1rem);
  font-weight: 400;
  line-height: calc(20 / 14);
  transition: opacity 0.3s;
}

a.spec-sheet-list__link:hover {
  opacity: 0.7;
}

.spec-sheet-list__link--no-file {
  opacity: 0.5;
  cursor: default;
}

/* アイコン */
.spec-sheet-list__icon {
  width: 1rem;
}

/* すべて見るエリア */
.spec-sheet-list__more {
  margin-top: calc(30 / 16 * 1rem);
  text-align: center;
}

/* すべて見るボタン */
.spec-sheet-list__btn {
  display: inline-flex;
  align-items: center;
  gap: calc(8 / 16 * 1rem);
  padding: calc(10 / 16 * 1rem) calc(37 / 16 * 1rem) calc(8 / 16 * 1rem)
    calc(42 / 16 * 1rem);
  background-color: var(--color-white);
  border: 0.0625rem solid var(--color-blue);
  color: var(--color-blue);
  font-size: calc(17 / 16 * 1rem);
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.3s,
    border-color 0.3s,
    color 0.3s;
  border-radius: 0.5rem;
}

.spec-sheet-list__btn:hover {
  background-color: var(--color-blue);
  border-color: var(--color-white);
  color: var(--color-white);
}

.spec-sheet-list__btn-icon {
  width: 1rem;
}

.spec-sheet-list__btn-circle {
  fill: var(--color-blue);
  transition: fill 0.3s;
}

.spec-sheet-list__btn-plus {
  stroke: var(--color-white);
  transition: stroke 0.3s;
}

.spec-sheet-list__btn:hover .spec-sheet-list__btn-circle {
  fill: var(--color-white);
}

.spec-sheet-list__btn:hover .spec-sheet-list__btn-plus {
  stroke: var(--color-blue);
}

@media (min-width: 768px) {
  .spec-sheet-page__title {
    font-size: calc(28 / 16 * 1rem);
  }
  .spec-sheet-list {
    margin-top: calc(10 / 16 * 1rem);
  }
  .spec-sheet-list__head {
    border-bottom: 0.125rem solid var(--color-blue);
    padding: calc(8 / 16 * 1rem) calc(12 / 16 * 1rem);
    font-size: 0.875rem;
  }
  .spec-sheet-list__link {
    font-size: calc(14 / 16 * 1rem);
  }
  .spec-sheet-list__more {
    margin-top: calc(40 / 16 * 1rem);
  }
  .spec-sheet-list__btn {
    font-size: 1rem;
    padding: calc(14 / 16 * 1rem) calc(67 / 16 * 1rem) calc(14 / 16 * 1rem)
      calc(77 / 16 * 1rem);
    gap: calc(11 / 16 * 1rem);
  }
  .spec-sheet-list__btn-icon {
    width: 1.125rem;
  }
}

/* ============================================================
   スクロールアニメーション
   Intersection Observer で is-in-view クラスを付与
============================================================ */
@media (prefers-reduced-motion: no-preference) {
  html.js .spec-sheet-page__title,
  html.js .spec-sheet-list__head {
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.6s ease,
      transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  html.js .spec-sheet-page__title.is-in-view,
  html.js .spec-sheet-list__head.is-in-view {
    opacity: 1;
    transform: none;
  }

  html.js .spec-sheet-list__item {
    opacity: 0;
    transform: translateY(12px);
    transition:
      opacity 0.45s ease,
      transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  html.js .spec-sheet-list__item.is-in-view {
    opacity: 1;
    transform: none;
  }

  html.js .spec-sheet-list__btn {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 0.5s ease,
      transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      background-color 0.3s,
      border-color 0.3s,
      color 0.3s;
  }
  html.js .spec-sheet-list__btn.is-in-view {
    opacity: 1;
    transform: none;
  }
}
