/******************************/
/* category */
/******************************/
.p-category__ttl {
  margin: 10px 0 30px 0;
  line-height: 1.4;
  font-size: 30px;
  font-weight: normal;
}
.p-category-free {
  margin-bottom: 60px;
  line-height: 2;
}
/***** カテゴリ一覧 *****/
.p-category-list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 60px;
  margin-bottom: 60px;
  margin-left: -15px;
  margin-right: -15px;
}
@media screen and (max-width: 767px) {
  .p-category-list {
    display: block;
    margin-left: 0;
    margin-right: 0;
  }
}
.p-category-list__item {
  box-sizing: border-box;
  margin-bottom: 60px;
  padding-left: 15px;
  padding-right: 15px;
  width: 33.3333%;
  font-size: 16px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-category-list__item {
    margin-bottom: 15px;
    padding-left: 0;
    padding-right: 0;
    width: auto;
    text-align: left;
  }
}
.p-category-list__link {
  position: relative;
}
@media screen and (max-width: 767px) {
  .p-category-list__link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
}
.p-category-list__link:hover {
  text-decoration: none;
}
@media screen and (max-width: 767px) {
  .p-category-list__link:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 5px;
    margin-top: -6px;
    width: 8px;
    height: 8px;
    border-right: 1px solid #aaaaaa;
    border-bottom: 1px solid #aaaaaa;
    transform: rotate(-45deg);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
}
.p-category-list__img {
  display: block;
  margin-bottom: 30px;
}
@media screen and (max-width: 767px) {
  .p-category-list__img {
    margin-right: 10px;
    margin-bottom: 0;
    width: 75px;
  }
}
.p-category-list__name:hover {
  text-decoration: underline;
}
@media screen and (max-width: 767px) {
  .p-category-list__name:hover {
    text-decoration: none;
  }
}
@media screen and (max-width: 767px) {
  .p-category-list__name {
    flex: 1;
  }
}
/***** 商品件数・ソート *****/
.p-item-list-head {
  display: flex;
  justify-content: space-between;
  padding: 30px;
  border-top: 1px solid #7d7d7d;
}
@media screen and (max-width: 767px) {
  .p-item-list-head {
    padding: 30px 0;
  }
}
.p-item-list-num {
  font-size: 16px;
}
@media screen and (max-width: 767px) {
  .p-item-list-num {
    font-size: 14px;
  }
}
.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;
}


.midashi_2 {
    position: relative;
    padding: 0.6em;
    background: -webkit-repeating-linear-gradient(-45deg, #fff5df, #fff5df 4px, #ffe4b1 3px, #ffe4b1 8px);
    background: repeating-linear-gradient(-45deg, #fff5df, #fff4e4 4px, #fad4af 3px, #ffe5b6 8px);
    border-radius: 7px;
}

@media screen and (max-width: 767px) {

  
  .c-item-list__img {
    margin-bottom: 0;
}
}

/* 対象の文字にアンダーラインを引く */
/* デフォルト：アンダーラインなし */
.c-item-list__ttl a {
  text-decoration: none;
}

/* ホバー時のみアンダーライン */
.c-item-list__ttl a:hover {
  text-decoration: underline;
}

/* 常時アンダーライン用クラス */
.underline-always {
  text-decoration: underline !important;
}

/* 特定商品の説明文だけに背景色をつける */
.c-item-list__expl.underline-highlight {
  background-color: #fff5d1;
  padding: 12px;
  border-radius: 8px;
  line-height: 1.6;
  margin-top: 10px;
}

/* 特定商品の画像を大きく */
.c-item-list__item.wide-item {
  width: 50% !important;
}

/* 商品詳細を見るボタン---------------------------- */
.detail-button-wrap {
  margin: 10px 0;
  text-align: center;
}

.detail-button {
  display: inline-block;
  padding: 3px 105px;
  background-color: #f58601;
  color: #fff;
  border-radius: 20px;
  font-size: 16px;
  text-decoration: none;
  transition: 0.3s ease;
}

.detail-button:hover {
  color: #fff;
  background-color: #fec179;
}

@media screen and (max-width: 767px) {
  .detail-button {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 12px 0;
    box-sizing: border-box;
  }

  .detail-button-wrap {
    text-align: center;
    padding: 0 10px;
  }
}
/* 詳細はこちらボタンここまで---------------------------- */

/* スコーンバナー */
.p-banner {
  margin: 0 auto;
  text-align: center;
}

.p-banner img {
  max-width: 70%;
  height: auto;
}

.c-item-list__item:last-child {
  margin-bottom: 0 !important;
}

.recently-viewed,  /* ←実際のクラス名に置き換える */
.p-recently-viewed {
  margin-top: 10px !important;
  padding-top: 0 !important;
}

@media screen and (max-width: 767px) {
 .c-item-list__ttl,
.c-item-list__price {
  margin:5px 0 10px 15px ;
}
  
  .c-item-list {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .c-item-list__item {
    width: 100% !important;       /* または max-width: 480px; にしてもOK */
    margin-bottom: 20px;          /* 適度な余白 */
    box-sizing: border-box;
  }
  
  .c-item-list__item.wide-item {
    width: 100% !important;
  }

  .detail-button-wrap {
   margin: 0;
   text-align: center;
  }
  
  .p-banner img {
    max-width: 100%;
    height: auto;
    margin-top: 15px;
   }
}

/* ギフトに人気ページ修正-------------------------------------------- */
/* gid=3058353 ページだけで .wide-item を縮小 */
.gid-3058353 .c-item-list__item.wide-item { width:25% !important; padding:0px 35px !important; }
.gid-3058353 .c-item-list__item.wide-item .c-item-list__img { aspect-ratio:1/1 !important; overflow:hidden !important; }
.gid-3058353 .c-item-list__item.wide-item .c-item-list__img img { width:100% !important; height:100% !important; object-fit:cover !important; }
.gid-3058353 .c-item-list__item.wide-item .detail-button-wrap { display:none !important; }
.gid-3058353 .c-item-list__item.wide-item .c-item-list__ttl { margin:0 0 8px !important; font-weight:700 !important; line-height:1.4 !important; }
.gid-3058353 .c-item-list__item.wide-item .c-item-list__ttl a { text-decoration: underline !important; }
.gid-3058353 .c-item-list__item.wide-item .c-item-list__price { color:#f58601 !important; font-weight:700 !important; margin:8px 0 6px !important; }
.gid-3058353 .c-item-list__item.wide-item .underline-highlight { background:none !important; padding:0 !important; border-radius:0 !important; margin-top:6px !important; }
.gid-3058353 .c-item-list__item.wide-item .c-item-list__expl { font-size:14px !important; line-height:1.8 !important; color:#333 !important; }

/* バナー非表示も同じく */
.gid-3058353 .group-bottom-banner,
.gid-3058353 .c-group-bnr,
.gid-3058353 .c-series-banner,
.gid-3058353 .group-bnr,
.gid-3058353 .group-banner,
.gid-3058353 .c-special-bnr,
.gid-3058353 .item_group_banner { display:none !important; }
.gid-3058353 .l-contents > *:last-child a[href*="product"] img { display:none !important; }


  /* 指定ページバナー非表示 */
  .gid-3058353 .p-banner {
  display: none !important;
}

/* gid=3058353 ページのみ、wide-item の商品タイトルリンクの下線を消す */
.gid-3058353 .c-item-list__item.wide-item .c-item-list__ttl a {
  text-decoration: none !important;
}

@media screen and (max-width: 767px) {
  .gid-3058353 .c-item-list__item.wide-item {
    width: 100% !important;
    box-sizing: border-box;
  }
｝
/* ギフトに人気ページ修正ここまで-------------------------------------------- */