@charset "utf-8";

/* 製品ラインナップ [ /products/ ]
====================================================================== */

/* ===============================================
 pagetitle
=============================================== */

.l-pagetitle {
  padding: 30px 0 50px;
}
.l-pagetitle__title {
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .l-pagetitle {
    padding: 60px 0 35px;
  }
  .l-pagetitle__title {
    font-size: 3.6rem;
  }
}

/* ===============================================
 Product Main Visual
=============================================== */

.product-mv {
  width: 1200px;
  max-width: calc(100% - var(--pc-base-padding) * 2);
  margin-inline: auto;
}
.product-mv__image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}
@media screen and (max-width: 767px) {
  .product-mv {
    max-width: 100%;
  }
}

/* ===============================================
 Product Lead
=============================================== */

.product-lead {
  padding: 60px 0 80px;
}
.product-lead__title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--corp-color);
}
.product-lead__text {
  margin-top: 20px;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--txt-base-color);
}
@media screen and (max-width: 767px) {
  .product-lead {
    padding: 45px 0 60px;
  }
  .product-lead__title {
    font-size: 2.8rem;
  }
}

/* ===============================================
 Product Filter
=============================================== */

.product-filter {
  position: relative;
  background-color: #fff;
}
.product-filter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: var(--bg-base-color);
  z-index: 0;
}
.product-filter__inner {
  position: relative;
  width: 750px;
  max-width: calc(100% - var(--pc-base-padding) * 2);
  margin-inline: auto;
  z-index: 1;
}
.product-filter__search-area {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px 6.666% 30px;
}
.product-filter__heading {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--txt-base-color);
  margin-bottom: 30px;
  text-align: center;
}
.product-filter__groups {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.product-filter__group {
  display: flex;
  align-items: center;
  gap: 30px;
}
.product-filter__group-title {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--corp-color);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 110px;
}
.product-filter__options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 15px;
  flex: 1;
}
.product-filter__option {
  position: relative;
}
.product-filter__checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.product-filter__label {
  display: inline-block;
  padding: 0 20px;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 36px;
  color: var(--txt-base-color);
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 36px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-base);
  white-space: nowrap;
}
.product-filter__checkbox:checked + .product-filter__label {
  background-color: var(--corp-color);
  border-color: var(--corp-color);
  color: #fff;
}
.product-filter__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 30px;
}
.product-filter__btn {
  min-width: 140px;
  height: 40px;
  padding: 0;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 40px;
  cursor: pointer;
  transition: var(--transition-base);
}
.product-filter__btn--clear {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--txt-base-color);
}
.product-filter__btn--submit {
  background-color: var(--corp-color);
  border: 1px solid var(--corp-color);
  border-radius: 6px;
  color: #fff;
}
@media screen and (max-width: 767px) {
  .product-filter__inner {
    max-width: 100%;
    padding-inline: var(--sp-base-padding);
    width: 750px;
  }
  .product-filter__search-area {
    padding: 30px 35px;
  }
  .product-filter__heading {
    font-size: 2rem;
  }
  .product-filter__groups {
    gap: 30px;
  }
  .product-filter__group {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .product-filter__group-title {
    min-width: auto;
  }
  .product-filter__options {
    width: 100%;
    gap: 15px;
  }
}
@media (hover) {
  .product-filter__label:hover {
    border-color: var(--corp-color);
    color: var(--corp-color);
  }
  .product-filter__checkbox:checked + .product-filter__label:hover {
    background-color: var(--corp-color-hover);
    border-color: var(--corp-color-hover);
    color: #fff;
  }
  .product-filter__btn--clear:hover {
    border-color: var(--corp-color);
    color: var(--corp-color);
  }
  .product-filter__btn--submit:hover {
    background-color: var(--corp-color-hover);
    border-color: var(--corp-color-hover);
    color: #d1d1d1;
  }
}

/* ===============================================
 product-index
=============================================== */

.product-index {
  padding: 90px 0;
  background-color: #fff;
}
.product-index__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-index__number {
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--corp-color);
  letter-spacing: 0.4em;
}
@media screen and (max-width: 767px) {
  .product-index {
    padding: 70px 0 60px;
  }
  .product-index__heading {
    display: block;
  }
  .product-index__number {
    font-size: 2rem;
  }
}

/* Product Sort Select */

.product-sort-select {
  position: relative;
  width: 255px;
}
.product-sort-select .custom-select__trigger {
  width: 100%;
  height: 60px;
}
.product-sort-select .custom-select__label-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0 20px;
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-base);
}
.product-sort-select .custom-select__placeholder {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--txt-base-color);
  display: none;
}
.product-sort-select .custom-select__selected {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--txt-base-color);
  display: inline;
}
.product-sort-select .custom-select__arrow {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--corp-color);
  border-bottom: 2px solid var(--corp-color);
  transform: rotate(45deg);
  transition: transform var(--transition-fast);
}
.product-sort-select
  .custom-select__toggle:checked
  ~ .custom-select__trigger
  .custom-select__arrow {
  transform: rotate(-135deg);
}
.product-sort-select .custom-select__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: -1px;
  padding: 10px 0;
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 4px 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--transition-fast), visibility var(--transition-fast),
    transform var(--transition-fast);
  z-index: 100;
  overflow: hidden;
}
.product-sort-select .custom-select__dropdown::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: var(--border-color);
}
.product-sort-select .custom-select__toggle:checked ~ .custom-select__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.product-sort-select .custom-select__option {
  display: block;
  padding: 0 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.product-sort-select .custom-select__option:hover {
  background-color: #f5f5f5;
}
.product-sort-select .custom-select__input {
  display: none;
}
.product-sort-select .custom-select__text {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--txt-base-color);
}
.product-sort-select .custom-select__input:checked + .custom-select__text {
  color: var(--corp-color);
  font-weight: 700;
}
@media screen and (max-width: 767px) {
  .product-sort-select {
    width: 100%;
    margin-top: 20px;
  }
  .product-sort-select .custom-select__trigger {
    height: 84px;
  }
  .product-sort-select .custom-select__label-display {
    padding: 0 25px;
  }
  .product-sort-select .custom-select__placeholder {
    font-size: 1.8rem;
    font-weight: 500;
  }
  .product-sort-select .custom-select__selected {
    font-size: 1.8rem;
    font-weight: 500;
  }
  .product-sort-select .custom-select__arrow {
    width: 12px;
    height: 12px;
    border-right: 3px solid var(--corp-color);
    border-bottom: 3px solid var(--corp-color);
  }
  .product-sort-select .custom-select__dropdown::before {
    left: 25px;
    right: 25px;
  }
  .product-sort-select .custom-select__option {
    padding: 3px 10px;
  }
  .product-sort-select .custom-select__text {
    font-size: 1.8rem;
  }
}

/* .product-index__list */

.product-index__list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px 5%;
}
.product-index__item {
  display: flex;
  flex-direction: column;
}
.product-index__item-image {
  position: relative;
}
.product-index__item-image img {
  width: 100%;
  max-width: 255px;
  margin: auto;
}
.product-index__item-image.fast-delivery::before {
  white-space: pre;
  content: "短納期\A対応";
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  text-align: center;
  background-color: #36b291;
  border-radius: 4px;
}
.product-index__link {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-index__item-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: 20px;
}
.product-index__info-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.6;
  padding-bottom: 5px;
}
.product-index__info-spec {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 15px;
}
.product-index__spec-title {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--txt-base-color);
  padding: 2px 5px;
  border: 1px solid var(--txt-base-color);
  white-space: nowrap;
  min-width: 64px;
  text-align: center;
}
.product-index__spec-value {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--txt-base-color);
  letter-spacing: 0;
}
@media screen and (max-width: 767px) {
  .product-index__list {
    margin-top: 40px;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 10%;
  }
  .product-index__info-title {
    font-size: 1.8rem;
    padding-bottom: 5px;
  }
  .product-index__info-spec {
    margin-top: 10px;
    display: block;
  }
  .product-index__spec-title {
    font-size: 1.3rem;
    padding: 1px 8px;
    text-align: center;
  }
  .product-index__spec-value {
    font-size: 1.6rem;
    text-align: center;
    margin-top: 7px;
  }
}
@media (hover) {
  .product-index__link:hover .product-index__info-title,
  .product-index__link:hover .product-index__spec-value {
    color: var(--corp-color);
  }
  .product-index__link:hover .product-index__spec-title {
    color: var(--corp-color);
    border: 1px solid var(--corp-color);
  }
}

/* --- */
