/******************************/
/* 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-free img{
  margin-bottom: 20px;
}
/***** カテゴリ一覧 *****/
.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: 10px;
}
@media screen and (max-width: 767px) {
  .p-category-list__img {
    margin-right: 10px;
    margin-bottom: 0;
    width: 250px;
  }
}
.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;
}
/*カテゴリフリーテーブル*/

.l-contents-main div.buresu table{
 width:100%;
margin-top: 2px;
margin-bottom: 10px;

}

.l-contents-main div.buresu td{
padding: 10px 20px 10px 10px; 
vertical-align: top;
}
.l-contents-main div.buresu td img{
 width:100%;}
/******************************/
/* TOP BANNER */
/******************************/
.p-bnr {
  box-sizing: border-box;
  padding-left: 20px;
  padding-right: 20px;
}
@media screen and (max-width: 1030px) {
  .p-bnr {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.p-bnr-list {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
@media screen and (max-width: 767px) {
  .p-bnr-list {
    display: block;
  }
}
.p-bnr-list__item {
  box-sizing: border-box;
  padding-left: 20px;
  padding-right: 20px;
  width: 40%;
}
@media screen and (max-width: 1030px) {
  .p-bnr-list__item {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media screen and (max-width: 767px) {
  .p-bnr-list__item {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 10px;
    width: auto;
    text-align: center;
  }
}

/******************************/
/*ストーンカード */
/******************************/
/* コンテナ */
.p-link-card-container {
  display: flex;
  flex-wrap: wrap; /* 追加：折り返し有効 */
  justify-content: flex-start; /* 全体左寄せ */
  gap: 15px;
  padding: 10px 0;
  overflow-x: visible; /* 横スクロール無効に */
  scroll-snap-type: none; /* スナップ無効化 */
}

/* カード */
.p-link-card {
  flex: 0 0 220px;
  margin-bottom: 15px; /* 行間を空ける */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-decoration: none;
  color: #333;
  overflow: hidden;   /* はみ出し防止 */
 align-items: center; /* 画像を中央寄せ */
  scroll-snap-align: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.p-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 画像 */
.p-link-card img {
  width: 100% !important;
  height: auto;
  border-radius: 8px; /* 画像の角丸 */
  display: block;
  margin: 0 auto; /* 横中央寄せ */
  object-fit: contain;
  max-width: 160px;
  object-fit: cover;
}

/* タイトルと説明 */
.p-link-card-content {
  padding: 10px;
}
.p-link-card-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 6px;
  color: #d36b82; /* ピンク系タイトル色 */
}
.p-link-card-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .p-link-card-container {
    gap: 10px;
    padding: 8px 0;
    display: block; /* 横スクロール解除して縦並び */
    overflow-x: visible;
  }
.p-link-card {
  flex: none;
  width: 100%;
  max-width: 320px;
  margin-bottom: 15px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-radius: 12px;
  display: block;             /* 追加 */
  align-items: flex-start;  /* 画像とテキストの縦位置調整 */
  gap: 10px;                /* 画像とテキスト間の余白 */
  padding: 10px;            /* カード内余白 */
  box-sizing: border-box;   /* 余白込みでサイズ計算 */
}
  .p-link-card img {
    width: auto;       /* 幅を自動に */
    max-width: 160px;  /* 画像最大幅 */
    height: auto;
    display: block;
    margin-left: 0;    /* 左寄せ */
    margin-right: auto;
  }
}
.p-link-card-content {
  flex: 1;            /* 画像横の余白を確保 */
  padding-left: 10px; /* 画像とのスペース */
}