/* 改修対応 */
/* 調整用 */
html {
  scroll-behavior: smooth;
}
.p-sub-category--gaming-device {
  overflow: visible;
}
.p-sub-category__about .c-button {
  width: 100%;
  max-width: 500px;
  color: #484848;
}

/* ナビゲーション */
.nav-box {
  height: 3em;
  background: #000;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 3;
}
.nav-box__list {
  width: 100%;
  height: 100%;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
}
.nav-box__list-item {
  width: calc( 100% / 3);
  border-left: 1px solid #fff;
}
.nav-box__list-item:last-child {
  border-right: 1px solid #fff;
}
.nav-box__list-item a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.25em;
  width: 100%;
  height: 100%;
  line-height: 1.2;
  text-align: center;
  color: #fff;
}
.nav-box__list-item a:hover {
  opacity: 0.7;
}
.fix-anchor {
  margin-top: -80px;
  padding-top: 80px;
}

@media screen and (max-width: 767px) {
  .nav-box {
    height: 12vw;
  }
  .nav-box__list-item:first-child {
    border-left: none;
  }
  .nav-box__list-item:last-child {
    border-right: none;
  }
  .nav-box__list-item a {
    font-size: 2.8vw;
  }
  .fix-anchor {
    margin-top: -18vw;
    padding-top: 18vw;
  }
}

/* ゲーミングデバイスとは */
.p-sub-category__about__title {
  font-size: clamp(22px, 18.4789px + 0.939vw, 32px);
  font-weight: 700;
  color: #001e60;
  text-align: center;
  margin-bottom: 1em;
}
.p-sub-category__about__txt {
  font-size: clamp(16px, 1vw, 20px);
  line-height: 1.4;
  font-weight: 500;
  text-align: center;
  margin-bottom: 2em;
}

/* カテゴリメニュー */
.gaming-device-category {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
}
.gaming-device-category li {
  height: auto;
  padding: 1em;
  background: linear-gradient(to right, #000 0%, #001e60 100%);
  border-radius: 10px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1em;
  flex: 1;
}
.gaming-device-category .gaming-device-category__title {
  font-size: clamp(14px, 12.5915px + 0.3756vw, 18px);
  font-weight: 700;
  line-height: 1.5;
}
.gaming-device-category .gaming-device-category__title small {
  font-size: clamp(12px, 11.2958px + 0.1878vw, 14px);
  color: #c1c1c1;
}
.gaming-device-category .gaming-device-category__txt  {
  font-size: clamp(12px, 11.2958px + 0.1878vw, 14px);
  line-height: 1.2;
}
.gaming-device-category__link {
  margin-top: auto;
}
.gaming-device-category li .c-button::after {
  transform: rotate(45deg);
  transition: 0.3s all;
}
@media screen and (max-width: 767px) {
  .gaming-device-category {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5em;
  }
  .gaming-device-category li {
    gap: 0.5em;
  }
}

/* カテゴリコンテンツ */
.gaming-device-category__category__title {
  margin: 0 0 1em;
  padding: 0.2em 1em 0.6em;
  display: block;
  position: relative;
  z-index: 1;
  font-size: clamp(20px, 17.8873px + 0.5634vw, 26px);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.3));
}
.gaming-device-category__category__title small {
  font-size: clamp(12px, 11.2958px + 0.1878vw, 14px);
  color: #c1c1c1;
}

.gaming-device-category__category__title span {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index:1;
  align-items: center;
  justify-content: center;
}

.gaming-device-category__category__title::before {
  position: absolute;
  top: 0;
  left: -150px;
  z-index: -1;
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  clip-path: polygon(0 0, 66% 0, 70% 100%, 0 100%);
  background: linear-gradient(to right, #001e60 0%, #000 100%);
}

.gaming-device-category__category-warpper {
  display: flex;
  gap: 2em;
}
.gaming-device-category__category-thumb img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
.gaming-device-category__category-body {
  width: 68%;
}
.gaming-device-category__category-title {
  font-size: clamp(18px, 15.8873px + 0.5634vw, 24px);
  font-weight: 700;
  line-height: 1.4;
  padding: 1em 0;
}
.title-point {
  padding: 1em 0 0.5em;
  text-align: center;
  color: #001e60;
}
.gaming-device-category__category-title small {
  font-size: clamp(14px, 12.5915px + 0.3756vw, 18px);
  font-weight: 500;
  line-height: 1.4;
  padding-left: 1em;
}
.gaming-device-category__category-title small::before,
.gaming-device-category__category-title small::after {
  content: "-";
}
.gaming-device-category__category-title small::before {
  padding-right: 0.5em;
}
.gaming-device-category__category-title small::after {
  padding-left: 0.5em;
}

.gaming-device-category__category-link {
  display: flex;
  gap: 1em;
}
.gaming-device-category__category-link li {
  padding: 1em;
  border: 1px solid #ececec;
  display: flex;
  flex-direction: column;
  gap: 1em;
  flex: 1;
}
.category-link-title {
  font-size: clamp(14px, 12.5915px + 0.3756vw, 18px);
  font-weight: 700;
}
.category-link-txt {
  font-size: clamp(12px, 11.2958px + 0.1878vw, 14px);
  line-height: 1.2;
}
.gaming-device-category__category-link .more-link {
  margin-top: auto;
  line-height: 1.4;
}

@media screen and (max-width: 767px) {
  .gaming-device-category__category-body {
    width: 100%;
  }
  .gaming-device-category__category__title {
    padding: 0.2em 1em 0.6em 0;
  }
  .gaming-device-category__category__title::before {
    left: -15px;
    clip-path: polygon(0 0, 94% 0, 98% 100%, 0 100%);
  }

  .gaming-device-category__category-warpper {
    flex-direction: column;
    align-items: center;
    gap: 1em;
  }
  .gaming-device-category__category-thumb {
    width: 60%;
  }
  .gaming-device-category__category-title {
    padding: 0 0 1em;
  }
  .title-point {
    padding: 1em 0 0.5em;
    text-align: left;
  }

  .gaming-device-category__category-link {
    flex-direction: column;
  }
  .gaming-device-category__category-link li {
    gap: 0.5em;
  }
}

.p-sub-category__sub-category-title {
  font-size: clamp(20px, 17.1831px + 0.7512vw, 28px);
  font-weight: 700;
  color: #001e60;
}
.p-sub-category__category-title {
  font-size: clamp(14px, 12.5915px + 0.3756vw, 18px);
  font-weight: 700;
  color: #001e60;
  margin-bottom: 1.4em;
}

/* TOP PICKS */
.p-sub-category section section.top-picks {
  padding-top: 2em;
}
.top-picks .c-include-search-result .productMoreGrid .p-products-all-item__item {
  max-width: 100%;
  margin-top: 0;
}
.top-picks .c-include-search-result .productMoreGrid .p-products-all-item__item:nth-of-type(1)::before {
  background-image: none;
}
.top-picks__title {
  font-size: clamp(14px, 12.5915px + 0.3756vw, 18px);
  font-weight: 700;
  margin-bottom: 1em;
  padding-left: 10px;
  border-left: 4px solid #001e60;
}

@media screen and (max-width: 767px) {
  .top-picks .c-include-search-result .productMoreGrid .p-products-all-item__item {
    padding-bottom: 1em;
  }
  .top-picks .c-include-search-result .p-products-all-item-product {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
  }
  .top-picks .c-include-search-result .productMoreGrid .p-products-all-item-product__image {
    grid-row: 1 / 3;
    padding-right: 1em;
  }
  .top-picks .c-include-search-result .p-products-all-item-product > .p-products-all-item-product__name {
    grid-column: 2;
    grid-row: 1;
  }
  .top-picks .c-include-search-result .p-products-all-item-product > .p-products-all-item-product__price {
    grid-column: 2;
    grid-row: 2;
  }
  .top-picks .c-include-search-result .p-products-all-item-product__image img {
    max-width: 120px;
  }
}

/* RANKING */
.p-sub-category__ranking-tab-item-01,
.p-sub-category__ranking-tab-item-02,
.p-sub-category__ranking-tab-item-03,
.p-sub-category__ranking-tab-item-04 {
  width: 100%;
  height: 100%;
  padding: calc(var(--p-sub-category-gap) / 4);
  border: 1px solid rgba(72, 72, 72, .1);
  border-bottom: 5px solid rgba(72, 72, 72, .1);
  transition: transform .2s;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: calc(var(--p-sub-category-gap) / 4);
}
.p-sub-category__ranking-tab-item-01:hover,
.p-sub-category__ranking-tab-item-02:hover,
.p-sub-category__ranking-tab-item-03:hover,
.p-sub-category__ranking-tab-item-04:hover {
  box-shadow: 0 0 4px 0 rgb(0 162 230 / 70%);
  transform: translateY(-2px);
}
.p-sub-category--gaming-device .p-sub-category__ranking-tab-item-01.is-active,
.p-sub-category--gaming-device .p-sub-category__ranking-tab-item-02.is-active,
.p-sub-category--gaming-device .p-sub-category__ranking-tab-item-03.is-active,
.p-sub-category--gaming-device .p-sub-category__ranking-tab-item-04.is-active {
  border-bottom: 5px solid #001e60;
}
.p-sub-category__ranking-contents-01,
.p-sub-category__ranking-contents-02,
.p-sub-category__ranking-contents-03,
.p-sub-category__ranking-contents-04 {
  display: none;
}
.p-sub-category__ranking-contents-01.is-show,
.p-sub-category__ranking-contents-02.is-show,
.p-sub-category__ranking-contents-03.is-show,
.p-sub-category__ranking-contents-04.is-show {
  display: block;
}
@media screen and (max-width: 767px) {
  .p-sub-category__ranking-tab-item-01,
  .p-sub-category__ranking-tab-item-02,
  .p-sub-category__ranking-tab-item-03,
  .p-sub-category__ranking-tab-item-04 {
    font-size: 2.8vw;
    text-align: center;
  }
}

/* FAQ */
.p-top-faq__list {
  font-weight: normal;
  interpolate-size: allow-keywords;
  display: flex;
  flex-wrap: wrap;
}
.p-top-faq__list-item {
  width: calc(100% - 20px);
  height: 100%;
  padding: 15px 0;
  border-bottom: 1px solid #f1f1f1;
}
.p-top-faq__list .p-top-faq__list-item:first-of-type {
  border-top: 1px solid #f1f1f1;
}
.p-top-faq__list-item details summary {
  cursor: pointer;
  font-size: clamp(0.875rem, 0.83rem + 0.23vw, 1rem);
  list-style: none;
  position: relative;
  display: block;
  align-items: center;
  padding-left: 8px;
}
.p-top-faq__list-item details summary::after {
  position: absolute;
  top: calc((100% - 16px) / 2);
  right: 25px;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  content: "";
  border-right: 2px solid rgb(72, 72, 72);
  border-bottom: 2px solid rgb(72, 72, 72);
  border-color: rgb(72, 72, 72);
  transition: transform 0.4s;
}
.p-top-faq__list-item details[open] summary::after {
  transform: rotate(-135deg);
}
.p-top-faq__list-item details summary::-webkit-details-marker {
  display: none;
}
.p-top-faq__list-item details summary span {
  font-weight: bold;
  font-size: clamp(1.125rem, 1.08rem + 0.23vw, 1.25rem);
  line-height: 1;
  color: #001e60;
  padding-right: 10px;
  position: relative;
  top: 0px;
}
.p-top-faq__list-item details {
  &::details-content {
    transition: height 0.4s, opacity 0.4s, content-visibility 0.4s allow-discrete;
    height: 0;
    opacity: 0;
    overflow: hidden;
  }
  &[open]::details-content {
    opacity: 1;
    height: auto;
  }
}
.p-top-faq__list-item-body {
  margin-top: 20px;
  line-height: 1.8;
}
.p-top-faq__list-item-body div {
  margin: 0;
  background: #e2f5fb;
  padding: 16px;
  border-radius: 8px;
  font-size: 14px;
}
.p-top-faq__list-item-body .qanda-link {
  color: #00a2e6;
  text-decoration: underline;
}
.p-top-faq__list-item-body .qanda-link:hover {
  color: #80d1f3;
}

@media screen and (max-width: 767px) {
  .p-top-faq__list {
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  .p-top-faq__list-item {
    width: 100%;
    font-size: 14px;
    padding: 20px 0px;
  }
  .p-top-faq__list-item details summary {
    font-size: 14px;
    padding-right: 30px;
    grid-template-columns: 36px 1fr;
    text-indent: -40px;
    padding: 0 40px 0;
  }
  details summary span {
    font-size: 24px;
  }
  .p-top-faq__list-item details summary::after {
    right: 10px;
    width: 8px;
    height: 8px;
  }
  .search-result-top-footer-wrapper {
    padding: 20px 0px;
  }
  .p-top-faq__list-item details summary {
    font-size: 14px;
    text-indent: -27px;
    padding: 0 25px 0 30px;
  }
  .p-top-faq__list-item details summary span {
    font-weight: bold;
    font-size: clamp(1.125rem, 1.08rem + 0.23vw, 1.25rem);
    line-height: 1;
    color: #001e60;
    padding-right: 5px;
    position: relative;
    top: 0px;
  }
}

/* 調整用 */
.p-sub-category__more-link .c-button {
  width: 100%;
  max-width: 500px;
  text-align: center;
}