@charset "UTF-8";

body.is-product-search-open { overflow: hidden; }

.product-search-modal {
  position: fixed;
  top: 200px;
  left: 0;
  z-index: 101;
}
.product-search-modal.is-open {
  z-index: 130;
}
.product-search-modal__overlay[hidden],
.product-search-modal__dialog-wrap[hidden] {
  display: none !important;
}
.product-search-modal__trigger {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: var(--s-8);
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 130px;
  padding: var(--s-8) var(--s-16);
  color: var(--c-white);
  background: var(--c-main);
  border: 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.product-search-modal__trigger::before {
  content: "";
  position: absolute;
  top: 0;
  right: 100%;
  width: 4px;
  height: 100%;
  background: inherit;
}
.product-search-modal__trigger:hover,
.product-search-modal__trigger:focus-visible {
  background: var(--c-sub);
  transform: translateX(2px);
}
.product-search-modal__trigger-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex: none;
  background-color: var(--c-white);
  -webkit-mask-image: url("../../img/common/icon/header/search.svg");
  mask-image: url("../../img/common/icon/header/search.svg");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}
.product-search-modal__trigger-label {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--ff-jp);
  font-size: var(--fz-p-jp);
  font-weight: var(--fw-regular);
  line-height: 1.2;
  letter-spacing: var(--ls-jp);
}
.product-search-modal__overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  padding: 120px 80px;
  background: rgba(51, 51, 51, .7);
}
.product-search-modal__dialog-wrap {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: var(--space-lr-2s);
  pointer-events: none;
}
.product-search-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  max-height: 780px;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  background: transparent;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  pointer-events: none;
}
.product-search-modal.is-open .product-search-modal__dialog {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.product-search-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
}
.product-search-modal__close:hover,
.product-search-modal__close:focus-visible { opacity: .7; }
.product-search-modal__close-icon {
  width: 24px;
  height: 24px;
  display: block;
  background-color: var(--c-white);
  -webkit-mask-image: url("../../img/common/icon/common/close.svg");
  mask-image: url("../../img/common/icon/common/close.svg");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.product-search-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 0 10px 0 0;
  background: transparent;
}

.product-search-modal__panels {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.product-search-modal__bottom-close {
  display: none;
}

.product-search-modal__tabs {
  display: flex;
  gap: 0;
  margin: 0;
}
.product-search-modal__tab {
  min-width: 110px;
  height: auto;
  padding: 12px 24px;
  border: 0;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-family: var(--ff-jp);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: color-mix(in srgb, var(--c-font) 70%, transparent);
  background: var(--c-base2);
}
.product-search-modal__tab.is-active {
  color: var(--c-main);
  background: var(--c-base);
}

.product-search-modal__panel {
  display: none;
  background: transparent;
}
.product-search-modal__panel.is-active { display: block; }

.product-search-modal__content-top,
.product-search-modal__content-bottom {
  background: var(--c-white);
}
.product-search-modal__content-bottom {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  overflow: hidden;
}
.product-search-modal__content-top {
  background: var(--c-base);
  padding-bottom: 24px;
  border-top-right-radius: 8px;
}
#product-search-panel-elecom .product-search-modal__content-top {
  padding-bottom: 0;
}

.product-search-modal__heading {
  display: grid;
  grid-template-columns: 323px 1fr;
  align-items: start;
  column-gap: 56px;
  row-gap: 0;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  margin-bottom: 0;
  padding: 40px 40px 0;
  box-sizing: border-box;
  border-bottom: 2px solid color-mix(in srgb, var(--c-base2) 40%, transparent);
}

.product-search-modal__brand {
  margin: 0;
}
.product-search-modal__brand img {
  display: block;
  width: 100%;
  max-width: 323px;
  height: auto;
}

.product-search-modal__heading-body { min-width: 0; }

.product-search-modal__title {
  margin-bottom: 6px;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--c-main);
}

.product-search-modal__lead {
  margin: 0 0 18px;
  font-family: var(--ff-jp);
  font-size: var(--fz-p-jp);
  font-weight: 400;
  line-height: var(--lh-l);
  letter-spacing: var(--ls-jp);
  color: var(--c-font);
}
.front-page-typo-base .product-search-modal__heading-body > .product-search-modal__lead.t-p-sm-jp {
  font-weight: 400;
}

.search-form--product-modal {
  width: 100%;
  max-width: 1120px;
  padding: 16px 40px 0;
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 8px;
  margin: 0 auto;
  margin-bottom: 0;
  box-sizing: border-box;
}
.search-form--product-modal .search-form__input {
  height: 48px;
  font-size: 14px;
  border: 1px solid var(--c-base2);
}
.search-form--product-modal .search-form__submit {
  width: 160px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--c-white);
  background: var(--c-main);
}
.search-form--product-modal .search-form__submit::after {
  content: "検索";
  font-family: var(--ff-jp);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: var(--ls-jp);
}

.product-search-modal__category-head {
  background: var(--c-main);
  padding: 10px 26px 10px 40px;
}
.product-search-modal__category-head--elecom { background: var(--c-elecom); }

.product-search-modal__category-row {
  display: grid;
  grid-template-columns: 264px 1fr;
  align-items: stretch;
  gap: 0;
  margin-bottom: 0;
  background: var(--c-main);
}
.product-search-modal__category-row--elecom {
  background: var(--c-elecom);
}
.product-search-modal__category-row .product-search-modal__category-head {
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 0 16px 0 40px;
}
.product-search-modal__category-row .product-search-modal__subtabs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: end;
  margin: 0;
  padding: 14px 16px 0 0;
  box-sizing: border-box;
}
.product-search-modal__category-row .product-search-modal__subtab {
  border: 0;
  cursor: pointer;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  gap: 2px;
  padding: 6px 8px 18px;
  color: var(--c-white);
  background: color-mix(in srgb, var(--c-base) 70%, transparent);
  border-radius: 4px 4px 0 0;
}
.product-search-modal__category-row--elecom .product-search-modal__subtabs {
  grid-template-columns: repeat(2, 320px);
  justify-content: end;
}
.product-search-modal__category-row--elecom .product-search-modal__subtab {
  width: 320px;
}
.product-search-modal__category-row .product-search-modal__subtab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  margin: 0;
  background-color: currentColor;
  -webkit-mask-image: url("../../img/common/icon/arrow_down.svg");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-image: url("../../img/common/icon/arrow_down.svg");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}
.product-search-modal__category-row .product-search-modal__subtab.is-active {
  color: var(--c-main);
  background: var(--c-base);
  border: 0;
}

.product-search-modal__sp-break {
  display: none;
}

.product-search-modal__category-title {
  margin: 0;
  font-family: var(--ff-jp);
  font-size: var(--fz-h4);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: var(--ls-jp);
  white-space: nowrap;
  color: var(--c-white);
}
.product-search-modal__category-head--elecom .product-search-modal__category-title {
  color: var(--c-font);
}

.product-search-modal__subtabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 0 8px;
}

.product-search-modal__subtab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 12px;
  font-family: var(--ff-jp);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: var(--ls-jp);
  color: var(--c-white);
  background: var(--c-base2);
}
.product-search-modal__subtab.is-active {
  color: var(--c-main);
  background: var(--c-white);
  border: 1px solid var(--c-base2);
}
.product-search-modal__subtab > span {
  margin-left: 8px;
  font-size: 12px;
  line-height: 1;
}
.product-search-modal__subtabs--elecom .product-search-modal__subtab {
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  line-height: 1;
  color: var(--c-elecom);
  background: color-mix(in srgb, var(--c-base) 70%, transparent);
  border-radius: 4px 4px 0 0;
}
.product-search-modal__subtabs--elecom .product-search-modal__subtab::after {
  content: "";
  width: 12px;
  height: 12px;
  background-color: currentColor;
  -webkit-mask-image: url("../../img/common/icon/arrow_down.svg");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-image: url("../../img/common/icon/arrow_down.svg");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}
.product-search-modal__subtabs--elecom .product-search-modal__subtab.is-active {
  color: var(--c-main);
  background: var(--c-base);
}

.product-search-modal__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
}
.product-search-modal__grid-wrap {
  background: var(--c-base);
  padding: 16px;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}
.product-search-modal__grid-panel[hidden] {
  display: none;
}
.product-search-modal__grid-wrap--dx .product-search-modal__card {
  min-height: 118px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border-radius: 4px;
}
.product-search-modal__grid-wrap--dx .product-search-modal__thumb {
  width: 70px;
  height: 80px;
  background: transparent;
  align-items: center;
}
.product-search-modal__grid-wrap--dx .product-search-modal__card-label {
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}
.product-search-modal__grid--elecom {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.product-search-modal__card {
  min-height: 110px;
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: var(--c-font);
  background: var(--c-white);
  border: 1px solid var(--c-base);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.product-search-modal__card:hover,
.product-search-modal__card:focus-visible {
  border-color: var(--c-sub);
  transform: translateY(-1px);
}

.product-search-modal__thumb {
  width: 64px;
  height: 42px;
  border-radius: 4px;
  background: var(--c-base2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-search-modal__thumb img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-search-modal__grid-wrap--dx .product-search-modal__thumb {
  flex: none;
}
.product-search-modal__grid-wrap--dx .product-search-modal__thumb img {
  width: 70px;
  height: 70px;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.product-search-modal__card-label {
  display: block;
  text-align: center;
  font-family: var(--ff-jp);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--ls-jp);
}

.product-search-modal__grid--elecom .product-search-modal__card {
  min-height: 136px;
  height: 136px;
  padding: 8px 4px;
  border-radius: 4px;
}
.product-search-modal__grid--elecom .product-search-modal__thumb {
  width: 134px;
  height: 64px;
  background: #FFFFFF;
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li .product-search-modal__thumb,
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li .product-search-modal__thumb {
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(1) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/cloud.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(2) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/car.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(3) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/health.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(4) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/network.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(5) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/tablet.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(6) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/monitor.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(7) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/memory.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(8) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/lifestyle.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(9) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/custom-tablet.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(10) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/vr.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(11) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/security.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(12) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/input.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(13) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/tv-meeting.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(14) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/pc-accessories.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(15) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/security-memory.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(16) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/bcp.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(17) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/drive.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(18) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/bag.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(19) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/furniture.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(20) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/storage.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(21) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/oa.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(22) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/video-audio.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(23) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/custom-made.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(24) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/smartphone.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(25) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/cable.png");
}
[data-product-elecom-subpanel="biz"] .product-search-modal__grid > li:nth-child(26) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/digitalcamera.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(1) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-001.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(2) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-002.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(3) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-003.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(4) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-004.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(5) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-005.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(6) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-006.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(7) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-007.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(8) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-008.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(9) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-009.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(10) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-010.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(11) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-011.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(12) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-012.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(13) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-013.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(14) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-014.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(15) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-015.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(16) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-016.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(17) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-017.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(18) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-018.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(19) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-019.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(20) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-020.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(21) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-021.png");
}
[data-product-elecom-subpanel="personal"] .product-search-modal__grid > li:nth-child(22) .product-search-modal__thumb {
  background-image: url("../../img/modal/elecom/personal-022.png");
}
.product-search-modal__grid--elecom .product-search-modal__card-label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.product-search-modal__elecom-head {
  margin-bottom: 0;
  padding: 24px 40px;
  display: grid;
  grid-template-columns: 170px 1fr 240px;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--c-base);
}

.product-search-modal__elecom-logo {
  margin: 0;
}
.product-search-modal__elecom-logo img {
  display: block;
  width: auto;
  height: 36px;
}

.product-search-modal__elecom-note {
  margin: 0;
  font-family: var(--ff-jp);
  font-size: var(--fz-p-jp);
  font-weight: var(--fw-medium);
  line-height: var(--lh-l);
  letter-spacing: var(--ls-jp);
  color: var(--c-font);
}

.product-search-modal__elecom-link {
  width: 240px;
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-family: var(--ff-jp);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: var(--ls-jp);
  color: var(--c-main);
  background: var(--c-elecom);
}
.product-search-modal__elecom-link-icon {
  display: block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  background-color: currentColor;
  -webkit-mask-image: url("../../img/common/icon/new_window.svg");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-image: url("../../img/common/icon/new_window.svg");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

@media (max-width: 1200px) {
  .product-search-modal {
    top: 434px;
    left: 0;
  }

  .product-search-modal__trigger {
    width: 40px;
    height: 118px;
    padding: var(--s-8) var(--s-12);
    gap: var(--s-6);
  }

  .product-search-modal__trigger-icon {
    width: 20px;
    height: 20px;
  }

  .product-search-modal__trigger-label {
    font-size: var(--fz-p-xs-jp);
  }

  .product-search-modal__overlay {
    padding: 0;
  }

  .product-search-modal__dialog-wrap {
    padding: 84px 40px 28px;
  }

  .product-search-modal__dialog {
    max-height: calc(100dvh - 112px);
    border-radius: var(--radius-sm);
  }

  .product-search-modal__top {
    padding-right: 8px;
  }

  .product-search-modal__tab {
    min-width: 0;
    padding: 10px 16px;
    font-size: 13px;
  }

  .product-search-modal__heading {
    grid-template-columns: 1fr;
    row-gap: 16px;
    padding: 20px 16px 0;
  }

  .product-search-modal__brand img {
    max-width: 190px;
  }

  .product-search-modal__title {
    font-size: var(--fz-h4);
  }

  .search-form--product-modal {
    padding: 12px 16px 0;
    grid-template-columns: 1fr 108px;
  }

  .search-form--product-modal .search-form__submit {
    width: 108px;
  }

  .product-search-modal__category-row {
    grid-template-columns: 1fr;
  }

  .product-search-modal__category-row .product-search-modal__category-head {
    min-height: 52px;
    padding: 10px 16px;
  }

  .product-search-modal__category-row .product-search-modal__subtabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 8px 0;
  }

  .product-search-modal__category-row .product-search-modal__subtab {
    width: 100%;
    min-width: 0;
  }

  .product-search-modal__category-row--elecom .product-search-modal__subtabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 8px 0;
  }

  .product-search-modal__category-row--elecom .product-search-modal__subtab {
    width: 100%;
    min-width: 0;
  }

  .product-search-modal__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-search-modal__grid-wrap--dx .product-search-modal__card {
    min-height: 145px;
    height: 145px;
    gap: 12px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 16px;
  }

  .product-search-modal__grid-wrap--dx .product-search-modal__card-label {
    text-align: left;
  }

  .product-search-modal__grid--elecom {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-search-modal__grid--elecom .product-search-modal__card-label {
    font-size: 12px;
  }

  .product-search-modal__elecom-head {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
    padding: 20px 16px 0;
  }

  .product-search-modal__elecom-link {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .product-search-modal {
    --product-modal-sp-bottom-space: calc(84px + env(safe-area-inset-bottom));
  }

  .product-search-modal__trigger-label {
    font-size: 13px;
  }

  .product-search-modal__elecom-note {
    font-size: 12px;
  }

  .product-search-modal__category-head--elecom .product-search-modal__category-title {
    font-size: 18px;
  }

  .product-search-modal__grid--elecom .product-search-modal__card-label {
    font-size: 12px;
  }

  .product-search-modal__category-title {
    font-size: 18px;
  }

  .product-search-modal__category-row .product-search-modal__subtab {
    font-size: 12px;
  }

  .product-search-modal__sp-break {
    display: block;
  }

  .product-search-modal__heading {
    padding: 20px 16px 0;
  }

  .product-search-modal__brand {
    width: 100%;
  }

  .product-search-modal__brand img {
    width: 100%;
    max-width: none;
  }

  .front-page-typo-base .product-search-modal__title.t-h3-jp {
    font-size: 20px;
  }

  .front-page-typo-base .product-search-modal__lead.t-p-sm-jp {
    font-size: 13px;
  }

  .search-form--product-modal {
    grid-template-columns: minmax(0, 1fr) 40px;
  }

  .search-form--product-modal .search-form__input {
    min-width: 0;
    font-size: 12px;
    height: 40px;
    padding: 0 10px;
    line-height: 40px;
  }

  .search-form--product-modal .search-form__input::placeholder {
    font-size: 12px;
    white-space: pre-line;
    line-height: 1.2;
    text-overflow: clip;
  }

  .search-form--product-modal .search-form__submit {
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    gap: 0;
  }

  .search-form--product-modal .search-form__submit::after {
    content: none;
  }

  .product-search-modal__category-row .product-search-modal__subtabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-search-modal__category-row--elecom .product-search-modal__subtabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-search-modal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-search-modal__grid-wrap--dx .product-search-modal__grid > li {
    display: flex;
  }

  .product-search-modal__grid-wrap--dx .product-search-modal__card {
    width: 100%;
    min-height: 196px;
    height: auto;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px 10px;
    box-sizing: border-box;
  }

  .product-search-modal__grid-wrap--dx .product-search-modal__thumb {
    width: 88px;
    height: 112px;
  }

  .product-search-modal__grid-wrap--dx .product-search-modal__card-label {
    text-align: center;
    min-height: calc(1.4em * 2);
  }

  .product-search-modal__grid--elecom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-search-modal__panels {
    border-radius: 0 0 8px 8px;
  }

  .product-search-modal__panel.is-active {
    border-radius: 0 0 8px 8px;
    overflow: hidden;
  }

  .product-search-modal__content-bottom,
  .product-search-modal__grid-wrap {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }

  .product-search-modal__overlay {
    padding: 0;
  }

  .product-search-modal__dialog-wrap {
    padding: 16px 16px var(--product-modal-sp-bottom-space);
  }

  .product-search-modal__dialog {
    height: 100%;
    max-height: calc(100dvh - 32px - var(--product-modal-sp-bottom-space));
    border-radius: 8px;
    overflow: visible;
  }

  .product-search-modal__top .product-search-modal__close {
    display: none;
  }

  .product-search-modal__bottom-close {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    bottom: calc(-1 * var(--product-modal-sp-bottom-space) + env(safe-area-inset-bottom) + 12px);
    transform: translateX(-50%);
    padding: 0;
    background: transparent;
    border-radius: 0;
    z-index: 4;
  }

  .product-search-modal__close--bottom {
    width: auto;
    min-width: 116px;
    height: 40px;
    padding: 0 18px;
    gap: 8px;
    border-radius: 999px;
    color: #FFFFFF;
    background: transparent;
    border: 2px solid #FFFFFF;
  }

  .product-search-modal__close--bottom .product-search-modal__close-icon {
    width: 16px;
    height: 16px;
    background-color: currentColor;
  }

  .product-search-modal__close-label {
    display: block;
    font-family: var(--ff-jp);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: var(--ls-jp);
  }
}
