body.page-products-jewelry .jewelry-product-search {
  display: flex;
  flex-direction: column;
  gap: 40rem;
  background: #ffffff;
  border-radius: 0 0 32rem 32rem;
  margin-bottom: 24rem;
  box-shadow: 0 0 0 100vmax #ffffff;
  clip-path: inset(0 -100vmax);
}

body.page-products-jewelry .jewelry-product-search__lead {
  font-family: "Noto Sans JP", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 16rem;
  letter-spacing: 0.64rem;
  line-height: 28.8rem;
  color: rgba(51, 51, 51, 1);
}

body.page-products-jewelry .jewelry-product-search__panel {
  display: flex;
  flex-direction: column;
  gap: 32rem;
  padding: 48rem 56rem;
  background: rgba(245, 242, 240, 1);
  border-radius: 32rem;
  border: 4rem solid #ffffff;
}

body.page-products-jewelry .jewelry-product-search__rows {
  display: flex;
  flex-direction: column;
  gap: 24rem;
}

body.page-products-jewelry .jewelry-product-search__row {
  display: flex;
  align-items: center;
  gap: 40rem;
}

body.page-products-jewelry .jewelry-product-search__label {
  display: flex;
  width: 110rem;
  align-items: center;
  gap: 8rem;
}

body.page-products-jewelry .jewelry-product-search__label-icon {
  width: 8rem;
  height: 8rem;
  border-radius: 2rem;
  background: linear-gradient(90deg, rgba(255, 145, 67, 1) 0%, rgba(255, 98, 67, 1) 100%);
}

body.page-products-jewelry .jewelry-product-search__label-text {
  font-family: "Noto Sans JP", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 18rem;
  line-height: 27rem;
  color: rgba(51, 51, 51, 1);
  white-space: nowrap;
}

body.page-products-jewelry .jewelry-product-search__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10rem;
  flex: 1;
}

body.page-products-jewelry .jewelry-product-search__divider {
  width: 100%;
  height: 1px;
  background: rgba(217, 217, 217, 0.88);
}

body.page-products-jewelry .jewelry-product-search__chip {
  display: inline-flex;
  align-items: center;
  gap: 8rem;
  padding: 10rem 14rem 10rem 12rem;
  background: #ffffff;
  border-radius: 20rem;
  max-width: 100%;
  cursor: pointer;
  border: 2rem solid transparent;
}

body.page-products-jewelry .jewelry-product-search__chip-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body.page-products-jewelry .jewelry-product-search__chip-box {
  width: 16rem;
  height: 16rem;
  border-radius: 2rem;
  background: rgba(245, 242, 240, 1);
  flex: 0 0 auto;
}

body.page-products-jewelry .jewelry-product-search__chip:has(.jewelry-product-search__chip-input:checked) {
  background: rgba(234, 229, 225, 1);
  border-color: #ffffff;
}

body.page-products-jewelry .jewelry-product-search__chip:has(.jewelry-product-search__chip-input:checked) .jewelry-product-search__chip-box {
  background: #ffffff;
}

body.page-products-jewelry .jewelry-product-search__chip:has(.jewelry-product-search__chip-input:checked) .jewelry-product-search__chip-box::after {
  content: '';
  display: block;
  width: 10rem;
  height: 10rem;
  margin: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5l2.5 2.5 4.5-4.5' stroke='%23ff6243' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

body.page-products-jewelry .jewelry-product-search__chip-text {
  font-family: "Noto Sans JP", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 14rem;
  letter-spacing: 0.7rem;
  line-height: 21rem;
  color: rgba(51, 51, 51, 1);
  overflow-wrap: anywhere;
}

body.page-products-jewelry .jewelry-product-search__keyword {
  width: 100%;
  height: 56rem;
  padding: 0 32rem;
  border: 0;
  border-radius: 28rem;
  background: #ffffff;
  font-family: "Noto Sans JP", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 16rem;
}

body.page-products-jewelry .jewelry-product-search__actions {
  display: flex;
  justify-content: center;
  gap: 24rem;
}

body.page-products-jewelry .jewelry-product-search__all {
  display: flex;
  justify-content: center;
  margin-top: 56rem;
  margin-bottom: 96rem;
}

body.page-products-jewelry .jewelry-product-search__all-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8rem;
  height: 56rem;
  padding: 0 40rem;
  border-radius: 32rem;
  border: 2rem solid rgba(255, 98, 67, 1);
  color: rgba(51, 51, 51, 1);
  font-family: "Noto Sans JP", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 16rem;
  letter-spacing: 0.8rem;
  background: #fff;
  text-decoration: none;
}

/* リンク内アイコン（矢印）の基底サイズ。これが無いと PC 幅で画像が原寸表示になり
   矢印が出ない/崩れる（No.20: oem と揃える）。 */
body.page-products-jewelry .jewelry-product-search__all-icon {
  width: 14rem;
  height: 14rem;
  object-fit: contain;
  flex: 0 0 auto;
}

@media screen and (max-width: 1023.98px) {
  body.page-products-jewelry .jewelry-product-search {
    padding: 0 0 40rem;        /* 左右ガターは .container の 16rem で確保（二重ガター解消） */
    border-radius: 0 0 24rem 24rem;
    gap: 32rem;
    margin-bottom: 40rem;
  }

  body.page-products-jewelry .jewelry-product-search__lead {
    font-size: 16rem;
    letter-spacing: 0.8rem;
    line-height: 1.8;
    padding: 0 8rem;
  }

  body.page-products-jewelry .jewelry-product-search__panel {
    padding: 40rem 24rem;
    gap: 32rem;
    border-radius: 24rem;
    border-width: 5rem;
  }

  body.page-products-jewelry .jewelry-product-search__rows {
    gap: 24rem;
  }

  body.page-products-jewelry .jewelry-product-search__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16rem;
  }

  body.page-products-jewelry .jewelry-product-search__row:has(.jewelry-product-search__keyword) .jewelry-product-search__controls {
    width: 100%;
  }

  body.page-products-jewelry .jewelry-product-search__label {
    width: auto;
  }

  body.page-products-jewelry .jewelry-product-search__label-text {
    font-size: 16rem;
    letter-spacing: 0.16rem;
    line-height: 1.5;
  }

  body.page-products-jewelry .jewelry-product-search__chip-text {
    font-size: 12rem;
    letter-spacing: 0.72rem;
  }

  body.page-products-jewelry .jewelry-product-search__keyword {
    padding: 0 24rem;
    font-size: 14rem;
    letter-spacing: 0.7rem;
  }

  body.page-products-jewelry .jewelry-product-search__keyword::placeholder {
    color: rgba(120, 120, 120, 1);
  }

  body.page-products-jewelry .jewelry-product-search__actions {
    flex-direction: row;
    gap: 8rem;
    justify-content: center;
  }

  body.page-products-jewelry .jewelry-product-search__all {
    margin-top: 32rem;
    margin-bottom: 40rem;
  }

  body.page-products-jewelry .jewelry-product-search__all-link {
    padding: 16rem 24rem 16rem 48rem;
    height: auto;
    font-size: 14rem;
    letter-spacing: 0.84rem;
  }

  body.page-products-jewelry .jewelry-product-search__all-icon {
    width: 14rem;
    height: 14rem;
  }
}
