/******************************/
/* category */
/******************************/
.p-category__ttl {
  margin: 10px 0 40px 0;
  line-height: 1.4;
  font-size: 30px;
  font-weight: normal;
  text-align: center;
  color: #000000;
  word-break: break-all;
}
@media screen and (max-width: 767px) {
  .p-category__ttl {
    margin-bottom: 30px;
    font-size: 20px;
  }
}

.p-category-free {
  margin-top: 30px;
  margin-bottom: 40px;
  margin-left: 100px;
  margin-right: 100px;
  line-height: 2;
}
@media screen and (max-width: 1023px) {
  .p-category-free {
    margin-left: 15px;
    margin-right: 15px;
  }
}
@media screen and (max-width: 767px) {
  .p-category-free {
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: 0;
    margin-right: 0;
  }
}

.p-category-search {
  margin-bottom: 30px;
}
@media screen and (max-width: 767px) {
  .p-category-search {
    margin-bottom: 20px;
    text-align: center;
  }
}

/***** カテゴリ一覧 *****/
.p-category-list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
  margin-bottom: 60px;
  margin-left: -10px;
  margin-right: -10px;
}
@media screen and (max-width: 767px) {
  .p-category-list {
    margin-left: -10px;
    margin-right: -10px;
  }
}
@media screen and (max-width: 767px) {
  .p-category-list {
    display: block;
    margin-left: 0;
    margin-right: 0;
    border-top: 2px solid #2d2d2d;
  }
}

.p-category-list__item {
  box-sizing: border-box;
  margin-top: -2px;
  padding-left: 10px;
  padding-right: 10px;
  width: 33.3333%;
  word-break: break-all;
}
@media screen and (max-width: 1023px) {
  .p-category-list__item {
    width: 50%;
  }
}
@media screen and (max-width: 767px) {
  .p-category-list__item {
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
    width: auto;
  }
}

.p-category-list__link {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  padding: 14px 35px 14px 25px;
  border-top: 2px solid #2d2d2d;
  border-bottom: 2px solid #2d2d2d;
  min-height: 80px;
}
@media screen and (max-width: 767px) {
  .p-category-list__link {
    padding: 14px 35px 14px 15px;
    border-top: 0;
    min-height: inherit;
  }
}
.p-category-list__link:hover {
  background: #2d2d2d;
  color: #ffffff;
  text-decoration: none;
}
.p-category-list__link:hover:before {
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
}
.p-category-list__link:before {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  margin-top: -7px;
  width: 6px;
  height: 6px;
  border-right: 2px solid #2d2d2d;
  border-bottom: 2px solid #2d2d2d;
  transform: rotate(-45deg);
  transition: all ease 0.2s;
}
@media screen and (max-width: 767px) {
  .p-category-list__link:before {
    margin-top: -4px;
  }
}

.p-category-list__img {
  display: block;
  margin-right: 20px;
  width: 100px;
}
@media screen and (max-width: 1023px) {
  .p-category-list__img {
    width: 50px;
  }
}

.p-category-list__name {
  display: block;
  flex: 1;
  font-size: 18px;
}
@media screen and (max-width: 767px) {
  .p-category-list__name {
    font-size: 16px;
  }
}

/***** 商品件数・ソート *****/
.p-item-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
@media screen and (max-width: 767px) {
  .p-item-list-head {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .p-item-list-num {
    margin-bottom: 15px;
    text-align: center;
  }
}

.p-item-sort {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .p-item-sort {
    display: block;
  }
}

.p-item-sort__ttl {
  white-space: nowrap;
  margin-right: 10px;
}

.p-item-sort__select {
  padding: 10px;
  border: 2px solid #000000;
  border-radius: 0;
  height: auto;
  min-width: 180px;
  line-height: 1.4;
  color: #000000;
}

.p-item-sort-list {
  display: flex;
  flex-wrap: wrap;
}

.p-item-sort-list__item {
  margin-left: 30px;
}
@media screen and (max-width: 767px) {
  .p-item-sort-list__item {
    margin-left: 25px;
  }
}
.p-item-sort-list__item:first-child {
  margin-left: 0;
}
.p-item-sort-list__item span {
  text-decoration: underline;
}

/*続きを読む アコーディオン設定*/
.cp_box1 {
  position: relative;
}
.cp_box1 input {
  display: none;
}
/*開くためのボタンとテキストを隠すグラデーションの設定*/
.cp_box1 label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  bottom: -10px;
  width: 100%;
  height: 140px; /* グラデーションの高さ */
  cursor: pointer;
  text-align: center;
  /* 以下グラデーションは背景を自身のサイトに合わせて設定してください */
  background: linear-gradient(to bottom, rgba(250, 252, 252, 0) 0%, rgba(250, 252, 252, 0.95) 90%);
}
/* 開いた時にグラデーションを消す */
.cp_box1 input:checked + label {
  background: inherit;
}
.cp_box1 input:checked + label {
  /* display: none ; 閉じるボタンを消す場合コメントアウトを外す */
}
.cp_box1 .cp_container {
  overflow: hidden;
  height: 250px; /* 開く前に見えている部分の高さ */
  transition: all 0.5s;
}
/*続きをよむボタン*/
.cp_box1 label:after,
.cp_box1 label::before {
  content: '';
  position: absolute;
  line-height: 2.5rem;
}
.cp_box1 label:after {
  z-index: 2;
  bottom: 20px;
  width: 13em;
  content: '続きを読む';
  color: #ffffff;
  background: #2d2d2d;
  border-radius: 20px;
}
.cp_box1 label::before {
  position: absolute;
  bottom: 38px;
  left: calc(50% - 3.5em);
  z-index: 3;
  width: 10px;
  height: 5px;
  background: #ffffff;
  clip-path: polygon(50% 100%, 0 0, 100% 0)
}
/*閉じるボタン*/
.cp_box1 input:checked + label:after {
  content: '閉じる';
}
.cp_box1 input:checked + label:before {
  left: calc(50% - 2.5em);
  transform: scale(1, -1);
}
.cp_box1 input:checked ~ .cp_container {
  height: auto;
  padding-bottom: 80px; /* 閉じるボタンのbottomからの位置 */
  transition: all 0.5s;
}
/*続きを読む アコーディオン設定 ここまで*/

/* 20250619 G-SHOCKシリーズの説明 */
.p-category-list.retouch {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}
.p-category-list.retouch li {
  width: 50%;
}
.p-category-list.retouch .p-category-list__link {
  border: none;
}
.p-category-list.retouch .p-category-list__link:before {
  display: none;
}
.p-category-list.retouch .p-category-list__name {
  text-align: center;
  margin-top: 20px;
}
@media screen and (max-width: 767px) {
  .p-category-list.retouch {
    width: 100%;
    display: flex;
    border-top: none;
  }
  .p-category-list.retouch li {
    width: 50%;
  }
  .p-category-list.retouch .p-category-list__link {
    padding: 10px;
  }
}
/* 20250904 人気ランキングの追加 */
.g-shock-recommend-item {
  border: 2px solid #d8d8d8;
  margin: 0 auto 30px;
}
.g-shock-recommend-item .c-ttl-bg.is-recommend:before {
  background: url(https://img21.shop-pro.jp/PA01481/465/etc/recommended.jpg) center center no-repeat;
  background-size: cover;
  right: unset;
  transform: translateX(-25px);
  width: 100%;
}
.g-shock-recommend-item .c-item-list {
  justify-content: center;
}
.g-shock-recommend-item .c-item-list__item {
  width: 22%;
}
@media screen and (max-width: 767px) {
  .g-shock-recommend-item .c-item-list__item {
    width: 50%;
  }
}
@media screen and (max-width: 1270px) {
  .g-shock-recommend-item .c-ttl-bg.is-recommend:before {
    transform: unset;
  }
}