.products-tab {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--c-surface-1, #FFFFFF);
  padding: 0 40px;
  border-bottom: 1px solid var(--c-border-1, rgba(68, 94, 131, 0.16));
}

/* ------------------------------
製品一覧
------------------------------ */
.productindex-list-container {
  width: 100%;
  word-break: break-word;
}

.productindex-list {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  grid-gap: 24px;
  border-bottom: 1px solid var(--c-border-1, rgba(68, 94, 131, 0.16));
  margin-top: 24px;
}

.productindex-cover img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  margin-bottom: 24px;
}

.productindex-info {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  text-align: left;
  flex: 4;
}

/* クリックできる箇所と分かるようリンク色＋下線にする */
.productindex-title {
  color: var(--c-brand-primary, #1850BF);
  text-decoration: underline;
  font-size: var(--font-14, 14px);
  line-height: var(--lineheight-14, 22px);
  font-weight: var(--weight-B, 600);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.productindex-info:hover .productindex-title,
.productindex-cover:hover+.productindex-info .productindex-title {
  color: var(--c-brand-primary-light, #226BF2);
}

.productindex-text {
  color: var(--c-text-2, rgba(0, 0, 0, 0.72));
  font-size: var(--font-14, 14px);
  line-height: var(--lineheight-14, 22px);
  font-weight: var(--weight-R, 400);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

.productindex-list-btn {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.productindex-list-btn a {
  width: 136px;
}

.product-vide-box {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.video-item {
  width: calc(50% - 12px);
}

/* ------------------------------
製品詳細
------------------------------ */
.product-info {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--c-border-1, rgba(68, 94, 131, 0.16));
  margin-bottom: 24px;
}



.product-content {
  display: block;
  margin-top: 40px;
}

.product-content > *:not(:last-child) {
  margin-bottom: 16px;
}

.product-content > h1,
.product-content > h2,
.product-content > h3,
.product-content > h4,
.product-content > h5,
.product-content > h6 {
  margin-top: 24px;
  margin-bottom: 12px;
}

.product-content > h1:first-child,
.product-content > h2:first-child,
.product-content > h3:first-child,
.product-content > h4:first-child,
.product-content > h5:first-child,
.product-content > h6:first-child {
  margin-top: 0;
}

/* 本文内見出しのサイズ階層（h1 > h2 > h3 > h4 > h5 > h6） */
.product-content > h1 {
  font-size: var(--font-24, 24px);
  line-height: var(--lineheight-24, 32px);
  font-weight: var(--weight-B, 600);
  color: var(--c-text-1, rgba(0, 0, 0, 0.88));
}

.product-content > h2 {
  font-size: var(--font-20, 20px);
  line-height: var(--lineheight-20, 28px);
  font-weight: var(--weight-B, 600);
  color: var(--c-text-1, rgba(0, 0, 0, 0.88));
}

.product-content > h3 {
  font-size: var(--font-16, 16px);
  line-height: var(--lineheight-16, 24px);
  font-weight: var(--weight-B, 600);
  color: var(--c-text-1, rgba(0, 0, 0, 0.88));
}

.product-content > h4 {
  font-size: var(--font-14, 14px);
  line-height: var(--lineheight-14, 22px);
  font-weight: var(--weight-B, 600);
  color: var(--c-text-2, rgba(0, 0, 0, 0.72));
}

.product-content > h5,
.product-content > h6 {
  font-size: var(--font-12, 12px);
  line-height: var(--lineheight-12, 18px);
  font-weight: var(--weight-B, 600);
  color: var(--c-text-2, rgba(0, 0, 0, 0.72));
}

.product-content img {
  max-width: 100%;
  height: auto;
}

.product-content ul {
  padding-left: 1.5em;
}

.product-content ul li {
  list-style-type: disc;
}

.product-content ul li ul li {
  list-style-type: circle;
}

.product-content ol {
  padding-left: 1.5em;
}

.product-content ol li {
  list-style-type: decimal;
}

/* ------------------------------
スライドショー
------------------------------ */
.swiper-slide img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.swiper-slide h2 {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin: 0;
}

.swiper-slide h2 img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.swiper-button-prev:after {
  content: "";
  background-image: url('../../images/icons/button-prev.svg');
  height: 32px;
  width: 32px;
}

.swiper-button-next:after {
  content: "";
  background-image: url('../../images/icons/button-next.svg');
  height: 32px;
  width: 32px;
}

.swiper-button-prev {
  width: 32px;
  max-height: 480px;
  padding: 0 24px;
  left: 0px;
  right: auto;
  top: 0;
  background: none;
}

.swiper-button-next {
  width: 32px;
  max-height: 480px;
  padding: 0 24px;
  right: 0px;
  left: auto;
  top: 0;
  background: none;
}

.swiper-pagination-bullet-active {
  background: var(--c-text-5, #FFF) !important;
  opacity: 1 !important;
}

.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  height: 100%;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-5, #FFF);
  margin: 0;
}

.swiper-pagination-bullet {
  background: var(--c-text-6, rgba(255, 255, 255, 0.80)) !important;
  opacity: 0.5;
}

.swiper-horizontal.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 24px;
}

.fadeIn1s {
  animation-name: fadeIn1s;
  animation-delay: .3s;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  transform: translateY(-50px);
  opacity: 0;
}

@keyframes fadeIn1s {
  0% {}

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ------------------------------
加工分類
------------------------------ */
.category-content {
  max-width: 1016px;
  margin: 0 auto;
}

table.category {
  margin-top: 24px;
  display: table;
  border-collapse: collapse;
  width: 100%;
}

.category tr {
  display: table-row;
}

table.category th {
  padding: 12px 16px;
  background-color: var(--c-surface-2, rgba(68, 94, 131, 0.05));
  color: var(--c-text-2, rgba(0, 0, 0, 0.72));
  font-size: var(--font-14, 14px);
  line-height: var(--lineheight-14, 22px);
  font-weight: var(--weight-B, 600);
  box-sizing: border-box;
}

th.category,
th.subcategory {
  width: 208px;
}

table.category td {
  padding: 12px 16px;
  color: var(--c-text-2, rgba(0, 0, 0, 0.72));
  font-size: var(--font-14, 14px);
  line-height: var(--lineheight-14, 22px);
  font-weight: var(--weight-R, 400);
  box-sizing: border-box;
  border-bottom: 1px solid var(--c-border-1, rgba(68, 94, 131, 0.16));
  vertical-align: top;
}

p.category-badge {
  display: inline-block;
  color: var(--c-text-5, #FFF);
  font-size: var(--font-12, 12px);
  line-height: var(--lineheight-14, 22px);
  font-weight: var(--weight-B, 600);
  height: 22px;
  padding: 0 12px;
  border-radius: var(--border-radius-round, 100vh);
  text-align: center;
}

p.category-badge.c1 {
  background-color: #5878B8;
}

p.category-badge.c2 {
  background-color: #56B292;
}

p.category-badge.c3 {
  background-color: #A0B256;
}

p.category-badge.c4 {
  background-color: #AD9453;
}

p.category-badge.c5 {
  background-color: #B07B58;
}

p.category-badge.c6 {
  background-color: #B86A67;
}

p.category-badge.c7 {
  background-color: #8C5FB8;
}

/* ------------------------------
製品スペック
------------------------------ */
.service-spec table {
  display: table;
  border-collapse: collapse;
  width: 100%;
}

.service-spec tr {
  display: table-row;
}

.service-spec tr:last-child {
  border-bottom: 1px solid var(--c-border-1, rgba(68, 94, 131, 0.16));
}

.service-spec th {
  font-weight: var(--weight-B, 600);
  padding: 12px 16px;
  background-color: var(--c-surface-3, rgba(68, 94, 131, 0.08));
  border-top: 1px solid var(--c-border-1, rgba(68, 94, 131, 0.16));
  border-left: 1px solid var(--c-border-1, rgba(68, 94, 131, 0.16));
  vertical-align: top;
  width: 200px;
}

.service-spec td {
  font-weight: var(--weight-R, 400);
  padding: 12px 16px;
  background-color: var(--c-surface-1, #FFF);
  border-top: 1px solid var(--c-border-1, rgba(68, 94, 131, 0.16));
  border-right: 1px solid var(--c-border-1, rgba(68, 94, 131, 0.16));
  border-left: 1px solid var(--c-border-1, rgba(68, 94, 131, 0.16));
}

/* ---------------- デスクトップ-Lサイズ（基本はstyle.cssに記述） ----------------- */
@media only screen and (min-width: 1080px) {}

/* --------------------------　デスクトップ-Mサイズ -------------------------- */
@media only screen and (min-width: 744px) and (max-width: 1079px) {
  .productindex-list-btn {
    display: none;
  }
}

/* -------------------------- モバイルサイズ -------------------------- */
@media only screen and (max-width: 743px) {

  .products-tab {
    padding: 0;
  }

  .products-tab a {
    width: 100%;
  }

  /* ------------------------------
  製品一覧
  ------------------------------ */
  .productindex-list {
    flex-direction: column;
    grid-gap: 12px;
    margin-top: 20px;
  }

  .productindex-cover {
    width: 100%;
  }

  .productindex-cover img {
    width: 100%;
    height: 168px;
    object-fit: cover;
    margin-bottom: 0;
  }

  .productindex-info {
    gap: 8px;
    margin-bottom: 4px;
  }

  .productindex-text {
    font-size: var(--font-12, 12px);
    line-height: var(--lineheight-12, 18px);
    -webkit-line-clamp: 4;
  }

  .productindex-list-btn {
    flex-direction: row;
    margin: 4px 0 20px 0;
  }

  .productindex-list-btn a {
    width: auto;
  }


  /* ------------------------------
  製品詳細
  ------------------------------ */
  .content-card {
    margin-bottom: 20px;
  }

  .product-content {
    display: block;
    margin-top: 24px;
  }

  .product-content > *:not(:last-child) {
    margin-bottom: 12px;
  }

  .product-content > h1,
  .product-content > h2,
  .product-content > h3,
  .product-content > h4,
  .product-content > h5,
  .product-content > h6 {
    margin-top: 20px;
    margin-bottom: 8px;
  }

  .product-content > h1:first-child,
  .product-content > h2:first-child,
  .product-content > h3:first-child,
  .product-content > h4:first-child,
  .product-content > h5:first-child,
  .product-content > h6:first-child {
    margin-top: 0;
  }

  /* 本文内見出しのサイズ階層（モバイル） */
  .product-content > h1 {
    font-size: var(--font-20, 20px);
    line-height: var(--lineheight-20, 28px);
  }

  .product-content > h2 {
    font-size: var(--font-16, 16px);
    line-height: var(--lineheight-16, 24px);
  }

  .product-content > h3 {
    font-size: var(--font-14, 14px);
    line-height: var(--lineheight-14, 22px);
  }

  .product-content > h4,
  .product-content > h5,
  .product-content > h6 {
    font-size: var(--font-12, 12px);
    line-height: var(--lineheight-12, 18px);
  }

  .product-vide-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .video-item {
    width: 100%;
  }


  /* ------------------------------
  スライドショー
  ------------------------------ */
  .slide-wrap {
    width: 100%;
  }

  .swiper-wrapper {
    height: 282px;
  }

  .swiper-button-prev {
    height: 282px;
  }

  .swiper-button-next {
    height: 282px;
  }

  .swiper-slide img {
    height: 282px;
    object-fit: cover;
  }

  /* ------------------------------
  加工分類
  ------------------------------ */
  .category-content {
    max-width: 1016px;
    margin: 0 auto;
  }

  table.category {
    display: table;
    border-collapse: collapse;
    width: 100%;
    margin-top: 0;
  }

  .category tr {
    display: flex;
    flex-direction: column;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--c-border-1, rgba(68, 94, 131, 0.16));
  }


  table.category td {
    padding: 0;
    color: var(--c-text-2, rgba(0, 0, 0, 0.72));
    font-size: var(--font-14, 14px);
    line-height: var(--lineheight-14, 22px);
    box-sizing: border-box;
    border-bottom: none;
    vertical-align: top;
  }

  table.category td.subcategory {
    color: var(--c-text-1, rgba(0, 0, 0, 0.88));
    font-weight: var(--weight-B, 600);
    margin-top: 12px;
  }

  p.category-badge {
    display: block;
    margin-top: 20px;
  }

  /* ------------------------------
  製品スペック
  ------------------------------ */
  .service-spec th {
    padding: 12px;
    width: 0;
    white-space: nowrap;
  }

  .service-spec td {
    padding: 12px;
  }


}
