/******************************/
/* category */
/******************************/
.p-category {
  overflow: hidden;
}
.p-category__ttl {
  margin-top: 0;
  margin-bottom: 30px;
  line-height: 1.4;
  font-size: 28px;
  font-weight: normal;
  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: 30px;
  line-height: 2;
}
@media only screen and (max-width: 767px) {
  .p-category-free {
    margin-bottom: 45px;
  }
}
.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: -5px;
  margin-right: -5px;
}

@media screen and (max-width: 767px) {
  .p-category-list {
    display: flex;
    margin-left: 0;
    margin-right: 0;
  }
}
.p-category-list__item {
  box-sizing: border-box;
  margin-bottom: 10px;
  padding-left: 5px;
  padding-right: 5px;
  width:  25%; /* PC: 4列*/
  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;
    margin-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
    width: 50%;
  }
}
.p-category-list__link {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  padding: 10px;
  min-height: 50px;
  font-size: 16px;
  background: #fff;
  border: 1px solid #ddd; /* 枠線を追加 */
  justify-content: center; /* 横中央揃え */
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-category-list__link {
    min-height: 40px;
    font-size: 14px;
  }
}
.p-category-list__link:hover {
  background: #f0f0f0;
  text-decoration: none;
}
.p-category-list__img {
  display: block;
  margin-right: 20px;
  width: 80px;
}
@media screen and (max-width: 1023px) {
  .p-category-list__img {
    width: 50px;
  }
}
.p-category-list__name {
  display: block;
  flex: 1;
  font-size: 15px;
}
@media screen and (max-width: 767px) {
  .p-category-list__name {
    font-size: 14px;
  }
}
/***** 商品件数・ソート *****/
.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;
  }
}
.p-item-list-num {
  font-size: 16px;
}
@media screen and (max-width: 767px) {
  .p-item-list-num {
    margin-bottom: 15px;
    text-align: center;
  }
}
.p-item-sort {
  display: flex;
  align-items: center;
}
.p-item-sort__ttl {
  white-space: nowrap;
  margin-right: 10px;
}
.p-item-sort__select {
  padding: 10px;
  border: 1px solid #b3b2b2;
  border-radius: 3px;
  height: auto;
  min-width: 180px;
  line-height: 1.4;
  color: #000000;
}
@media only screen and (max-width: 767px) {
  .p-item-sort__select {
    flex: 1;
  }
}
.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;
}

/***** 2025.06 追加分 *****/

/* scroll */
.scroll_content { /* リスト全体のスタイル */
  display: flex;
  max-width: 1000px;
  margin: auto;
  overflow-x: auto;
}
.scroll_content li { /* 各リストのスタイル */
  width: 70%;
  padding: 8px;
  margin: 3px;
  flex-shrink: 0;
  list-style: none;
}
.scroll_content img { /* 画像のスタイル */
  width: 100%;
  max-height: 280px;
  object-fit: cover;
} 
.scroll_content::-webkit-scrollbar {
  height: 12px; /* スクロールバーの高さ */
}
.scroll_content::-webkit-scrollbar-thumb {
  background: #aaa; /* ツマミの色 */
  border-radius: 6px; /* ツマミ両端の丸み */
}
.scroll_content::-webkit-scrollbar-track {
  background: #ddd; /* トラックの色 */
  border-radius: 6px; /* トラック両端の丸み */
} 
@media screen and (min-width: 450px) {
  .scroll_content li {
    width: 45%;
  }
}

/*  見出し  */
.heading04 {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 15px;
	text-align: center;
}

.heading04::before,
.heading04::after {
	content: '';
	width: 3px;
	height: 35px;
	background-color: #e4bbb1;
}

.heading04::before {
	margin-right: 20px;
	transform: rotate(-35deg)
}
.heading04::after {
	margin-left: 20px;
	transform: rotate(35deg)
}

/*バナー4×1列 →スマホ 2×2列　周りの余白指定*/

.bana4_inner {
  max-width: 1395px;
  margin: 0 auto;
}

.bana4_banner {
  padding-bottom: 60px;
  margin: 0 auto;
}

.bana4_banner {
    text-align: center;
    padding: 0 10px 60px;
  }

.bana4_banner li {
    padding: 5px;
  }

/***** トップ・アイコンBOX *****/
/* グリッド配置 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列 */
  gap: 5px;
  max-width: 800px;
  margin: 0 auto;
  padding: 10px;
}

/* ボックスのスタイル */
.feature-box {
  background-color: #fff;
  border-radius: 16px;
  text-align: center;
  padding: 5px 0px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-family: sans-serif;
}

/* アイコン画像 */
.feature-box img {
  width: 40px;
  height: 40px;
  margin-bottom: 0px;
}

/* テキストスタイル */
.feature-box .highlight {
  font-weight: bold;
  color: #d7aea5; /* ピンク系の色に調整 */
  margin-bottom: -5px;
}

.feature-box {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s;
}
.feature-box:hover {
  transform: scale(1.02);
}

/*リンク位置調整*/
a.anchor{
    display: block;
    padding-top: 70px;
    margin-top: -70px;
}

/*ページタイトル*/
#p_title h4 {
  color: #666;
}
#p_title h4 {
  padding-left: 0.5em;
  border-bottom: 3px double #ddd;
  font-size: 1.2em;
}