.p-top-logo {
    font-size: 3vw;
    line-height: 1.4;
    max-width: 90%;
    margin: 30px auto;
    text-align: center;
  }
  
  .p-top-logo a {
    display: block;
    transition: opacity .2s;
    text-decoration: none;
    color: #333;
  }
  
  .p-top-logo a:hover {
    opacity: .66;
  }
  
  .p-top-logo a:active {
    opacity: 1;
  }

  .p-page-content {
    max-width: 1500px;
  }

  #keyimg {
    overflow: hidden;
  }

  #keyimg #slider {
    margin-left: 0px !important;
  }
  
  .slider .bx-controls-direction a {
    z-index: 100;
  }
  
  .slider .bx-wrapper .bx-viewport {
    
    top: 0;
    left: 0;
    border: 0;
    background: transparent !important;
    box-shadow: none;
    overflow: visible !important;
  }

  #keyimg .bx-wrapper {
    margin: 0 auto;
    border: none !important;
    box-shadow: none !important;
    left: 0 !important;
    background: transparent !important;
  }
  
  .slider .bx-wrapper img {
    margin: 0 auto;
    width: 80%  !important;
    border: 1px solid #e9e9e9;
  }
  
  .slider .bx-caption {
    top: 0;
    bottom: auto;
    background: rgba(0, 0, 0, .3);
  }
  
  .slider .bx-caption span {
    padding: 1.5em;
  }

  #keyimg .bx-wrapper .bx-pager {
    position: static;
  }
  
  .slider .bx-pager a {
    background: #fff;
  }
  
  .slider .bx-pager a:hover,
  .slider .bx-pager a.active {
    background: #fd7f23;
  }

  #keyimg .bx-wrapper .bx-prev {
    left: -50px !important;
    z-index: 1;
  }
  #keyimg .bx-wrapper .bx-next {
    right: -50px !important;
    z-index: 1;
  }
  
  .p-news {
    line-height: 1.5;
    margin: 0;
  }
  
  .p-news::after {
    display: block;
    clear: both;
    content: '';
  }
  
  .p-news__label {
    font-size: 14px;
    font-weight: normal;
    line-height: 1.6;
    width: 180px;
    margin: 0;
    letter-spacing: 1px;
  }
  
  .p-news__content {
    line-height: 1.6;
    margin: 5px 0 20px 10px;
  }
  
  .p-news__content p:nth-child(1) {
    margin-top: 0;
  }
  
  .p-news__label {
    font-family: 'Montserrat', sans-serif;
  }
  
  .p-news__label::before {
    content: '-';
  }
  
  .p-info {
    line-height: 1.5;
  }
  
  .p-contents {
    line-height: 1.5;
    margin-bottom: 40px;
  }
  
  .p-contents__list {
    margin: 0 0 20px;
    padding: 0;
    list-style-type: none;
  }
  
  .p-contents__list::after {
    display: block;
    clear: both;
    content: '';
  }
  
  .p-contents__list li {
    position: relative;
    box-sizing: border-box;
    padding: 0 2em 0 1em;
  }
  
  .p-contents__list li::before {
    position: absolute;
    top: .5em;
    left: 0;
    content: '-';
  }
  
  .p-contents__list a {
    display: block;
    max-width: 100%;
    padding: .5em 0;
    transition: opacity .2s;
    text-decoration: none;
    color: #333;
  }
  
  .p-contents__list a:hover {
    opacity: .66;
  }
  
  .p-contents__list a:active {
    opacity: 1;
  }
  
  #item-search .c-product-list__item,
  #service-search .c-product-list__item {
    padding: 20px 20px 10px;
  }
  
  #item-search h3 {
    margin: 50px 10px 0;
  }
  
  #item-search .c-image-wrap,
  #service-search .c-image-wrap {
    background: none;
  }
  
  #item-search .c-image-wrap::after,
  #service-search .c-image-wrap::after {
    display: none;
  }
  
  #item-search .c-product-list__image-wrap,
  #service-search .c-product-list__image-wrap {
    border: none;
  }
  
  #item-search .c-product-list__item a,
  #service-search .c-product-list__item a {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
    display: block;
    margin-top: 0.5em;
    text-decoration: none;
    transition: all 0.2s;
    color: #333;
  }
  
  #item-search .c-product-list__item img,
  #service-search .c-product-list__item img {
    transition: all 0.2s;
    box-sizing: border-box;
    object-fit: cover;
    width: 100%;
    height: 30vw;
    max-height: 180px;
    background: rgba(0, 0, 0, .03);
    padding: 5%;
  }
  
  #item-search .c-product-list__item a:hover img,
  #service-search .c-product-list__item a:hover img {
    background: rgba(0, 0, 0, .05);
  }
  
  #item-search .c-product-list__item a p,
  #service-search .c-product-list__item a p {
    opacity: 1;
    transition: all 0.2s;
    margin: 15px 0;
  }
  
  #item-search .c-product-list__item a:hover p,
  #service-search .c-product-list__item a:hover p {
    opacity: .66;
  }
  
  #item-search .c-product-list.size .c-product-list__item {
    padding: 15px;
  }
  
  #item-search .c-product-list.size .c-product-list__item a {
    margin: 0;
    padding: 20px;
  }
  
  #item-search .c-product-list.size .c-product-list__item a:hover {
    background: #f7f7f7;
    color: #333333a9;
  }
  #brand-search .catch_txt {
    margin: 0 10px 30px;
    font-size: 5vw;
    letter-spacing: 1.3px;
    line-height: 1.6;
    color: #333;
    text-align: center;
  }
  #brand-search .brand_sub-content {
    display: flex;
    padding: 0;
    flex-wrap: wrap;
  }
  #brand-search .brand_sub-content li {
    list-style: none;
    padding: 0 10px;
    width: 50%;
    box-sizing: border-box;
  }
  #brand-search .brand_sub-content li a {
    text-decoration: none;
    color: #333;
  }
  #brand-search .brand_sub-content li a p {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
  }
  #brand-search .brand_sub-content li img {
    object-fit: cover;
    width: 100%;
    height: 30vw;
    max-height: 180px;
  }
  .pc_none {
    display: none;
  }
  .makuake {
    margin-top: 70px;
  }
  .makuake iframe {
    display: none;
    margin: 0 auto;
  }
  @media screen and (min-width: 1041px) {
    .makuake iframe:first-child {
      display: block;
    }
  }
  @media screen and (max-width: 1040px) and (min-width: 501px) {
    .makuake iframe:nth-child(2) {
      display: block;
    }
  }
  @media screen and (max-width: 500px) and (min-width: 351px) {
    .makuake iframe:nth-child(3) {
      display: block;
    }
  }
  @media screen and (max-width: 350px) and (min-width: 200px) {
    .makuake iframe:nth-child(4) {
      display: block;
    }
  }
  @media screen and (min-width: 600px) {
    .p-top-logo {
      display: none;
    }
    .pc_none {
      display: block;
    }
    .sp_none {
      display: none;
    }

    #keyimg .bx-wrapper #slider img {
      width: 98% !important;
      border-radius: 10px;
    }

    .p-contents__list li::before {
      top: 0;
    }
  
    .p-contents__list li {
      float: left;
      width: 50%;
      margin-bottom: 20px;
    }
  
    .p-contents__list li:nth-child(2n + 1) {
      clear: left;
    }
  
    .p-contents__list a {
      display: inline-block;
      padding: 0;
    }
  
    #item-search h3 {
      margin: 0 10px;
    }
  
    #item-search .c-product-list__item {
      width: 25%;
      padding: 3% 3% 1%;
    }
  
    #item-search .c-product-list__item:nth-child(4n) {
      border-right: 0;
    }
  
    #item-search .c-product-list__item:nth-child(4n + 1) {
      clear: both;
    }
  
    #item-search .c-product-list__item:nth-child(3n) {
      border-right: 1px solid #eaeaea;
    }
  
    #item-search .c-product-list__item:nth-child(4n) {
      border-right: 0;
    }
    #item-search .c-product-list__item img,
    #service-search .c-product-list__item img {
      height: 11vw;
      max-height: 150px;
    }
    #brand-search .catch_txt {
      font-size: 1.5rem;
      margin-bottom: 70px;
    }
    #brand-search .brand_sub-content {
      flex-wrap: nowrap;
    }
    #brand-search .brand_sub-content li img {
      height: 13vw;
    }
  }
  
  @media screen and (min-width: 960px) {
    .p-news__label {
      float: left;
      clear: left;
      margin-right: 20px;
    }
  
    .p-news__content {
      overflow: hidden;
      margin: 0 0 20px;
    }
  }

  .banner-column-box {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    justify-content: space-between;
    gap: 30px;
  }
  .banner-column-box a.banner-column {
    width: 100%;
    @media screen and (min-width: 960px) {
      width: calc(50% - 15px);
    }
  }
  a.banner-column img {
  	width: 100%;
  }
/* ランキングをPCで4列に */
@media (min-width: 960px) {
  .c-product-list--ranking .c-product-list__item {
    width: 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
}
/* タブレット=3列（任意） */
@media (min-width: 600px) and (max-width: 959px) {
  .c-product-list--ranking .c-product-list__item {
    width: 33.3333%;
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}
/* スマホ=2列（任意） */
@media (max-width: 599px) {
  .c-product-list--ranking .c-product-list__item {
    width: 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}
/* ===== カテゴリーバナー（8） ===== */
.p-cat-banners { margin-top: 28px; }
.p-cat-banners .cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 600px) {
  .p-cat-banners .cat-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}
.p-cat-banners .cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #f6f6f6;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
  color: inherit;
}
.p-cat-banners .cat-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3; /* 正方形が良ければ 1 / 1 に */
}
.p-cat-banners .cat-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 12px 14px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 70%);
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  font-weight: 700;
  letter-spacing: .03em;
}
.p-cat-banners .cat-label em {
  font-style: normal;
  font-size: 1rem;
}
.p-cat-banners .cat-label small {
  display: block;
  margin-top: 2px;
  font-size: .8rem;
  font-weight: 600;
  opacity: .95;
}
@media (min-width: 960px) {
  .p-cat-banners .cat-label em { font-size: 1.05rem; }
}
.p-cat-banners .cat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}
.p-cat-banners .cat-card:focus-visible {
  outline: 3px solid #0ea5e9;
  outline-offset: 2px;
}
/* ===== /カテゴリーバナー ===== */
/* ===== 共通：リンクカードのアクセシビリティ ===== */
.p-cat-banners a, .p-brand-banners a, .p-badge-banners a { text-decoration: none; color: inherit; }
.p-cat-banners a:focus-visible, .p-brand-banners a:focus-visible, .p-badge-banners a:focus-visible {
  outline: 3px solid #0ea5e9; outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .p-cat-banners .cat-card, .p-brand-banners .brand-card, .p-badge-banners .badge-card { transition: none !important; }
}

/* ===== カテゴリー（コンパクト・テキスト+イラスト） ===== */
.p-cat-banners { margin-top: 24px; }
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 600px) { .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }

.cat-card { 
  display: flex; align-items: center; gap: 10px;
  border-radius: 12px; background: #f7f7f7; padding: 12px 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,.05); transition: transform .15s ease, box-shadow .15s ease;
}
.cat-card:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.10); }
.cat-card--compact { min-height: 72px; }       /* 従来比 約1/2の高さ */
@media (min-width: 960px) { .cat-card--compact { min-height: 88px; padding: 12px 14px; } }

.cat-illust { 
  width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center;
  border-radius: 10px; background: #ffffff; color: #2e7d32; /* アイコン色 */
  box-shadow: inset 0 0 0 1px rgba(46,125,50,.15);
}
.cat-illust svg { width: 26px; height: 26px; display: block; }
@media (min-width: 960px) {
  .cat-illust { width: 44px; height: 44px; flex-basis: 44px; }
  .cat-illust svg { width: 28px; height: 28px; }
}
.cat-text em { display: block; font-style: normal; font-weight: 700; font-size: 15px; line-height: 1.2; }
.cat-text small { display: block; font-size: 12px; opacity: .8; }

/* ===== ブランド名バナー（等高さ） ===== */
.p-brand-banners { margin-top: 28px; }
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 800px) { .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }

.brand-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-radius: 14px; background: linear-gradient(180deg, #fff, #f3f5f7);
  padding: 14px 16px; min-height: 96px; /* 等高さ */
  box-shadow: 0 1px 6px rgba(0,0,0,.06); transition: transform .15s, box-shadow .15s;
}
.brand-card:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0,0,0,.12); }
.brand-badge { 
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 12px; border-radius: 999px; font-weight: 800; letter-spacing: .02em;
  background: #2e7d32; color: #fff; white-space: nowrap;
}
.brand-card small { font-size: 12px; opacity: .7; }

/* ===== 認定・受賞・返礼・ストーリー ===== */
.p-badge-banners { margin-top: 28px; }
.badge-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
@media (min-width: 700px) { .badge-grid { grid-template-columns: repeat(3,1fr); gap: 12px; } }
@media (min-width: 1024px) { .badge-grid { grid-template-columns: repeat(5,1fr); gap: 14px; } }

.badge-card {
  display: flex; align-items: center; justify-content: center; text-align: center;
  border-radius: 12px; min-height: 84px; padding: 10px;
  background: #ffffff; box-shadow: 0 1px 6px rgba(0,0,0,.06), inset 0 0 0 1px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.badge-card:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.badge-title { font-weight: 700; font-size: 14px; line-height: 1.35; }

/* 色の微調整（任意） */
.p-cat-banners .cat-card:nth-child(1) .cat-illust { color: #2e7d32; }
.p-cat-banners .cat-card:nth-child(2) .cat-illust { color: #0077b6; }
.p-cat-banners .cat-card:nth-child(3) .cat-illust { color: #d97706; }
.p-cat-banners .cat-card:nth-child(4) .cat-illust { color: #4f46e5; }
.p-cat-banners .cat-card:nth-child(5) .cat-illust { color: #16a34a; }
.p-cat-banners .cat-card:nth-child(6) .cat-illust { color: #0ea5e9; }
.p-cat-banners .cat-card:nth-child(7) .cat-illust { color: #9f1239; }
.p-cat-banners .cat-card:nth-child(8) .cat-illust { color: #7c3aed; }
/* ===== TOPカテゴリ（画像対応・コンパクト） ===== */
.p-cat-banners .cat-grid--compact{
  display:grid; gap:clamp(8px,1.6vw,16px);
  grid-template-columns:repeat(4,minmax(0,1fr));
}
@media (max-width: 1024px){ .p-cat-banners .cat-grid--compact{ grid-template-columns:repeat(3,1fr);} }
@media (max-width: 768px){ .p-cat-banners .cat-grid--compact{ grid-template-columns:repeat(2,1fr);} }
@media (max-width: 480px){ .p-cat-banners .cat-grid--compact{ grid-template-columns:1fr;} }

.p-cat-banners .cat-card{
  position:relative; display:block; overflow:hidden; border-radius:16px;
  aspect-ratio: 2 / 1; /* コンパクト比率 */
  background:#f5f5f5; box-shadow:0 2px 10px rgba(0,0,0,.05);
}
.p-cat-banners .cat-media{ position:absolute; inset:0; }
.p-cat-banners .cat-media picture,
.p-cat-banners .cat-media img{ width:100%; height:100%; display:block; object-fit:cover; }
.p-cat-banners .cat-photo{ transition:transform .45s ease; }
.p-cat-banners .cat-card:is(:hover,:focus-visible) .cat-photo{ transform:scale(1.05); }

/* テキスト&アイコンを前面に */
.p-cat-banners .cat-card::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0.0) 25%, rgba(0,0,0,.38) 85%);
}
.p-cat-banners .cat-illust{
  position:absolute; top:10px; right:10px; width:44px; height:44px;
  color:#fff; opacity:.95; filter:drop-shadow(0 1px 2px rgba(0,0,0,.25));
}
.p-cat-banners .cat-text{
  position:absolute; left:12px; bottom:10px; color:#fff; display:flex; flex-direction:column; gap:2px;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
}
.p-cat-banners .cat-text em{ font-style:normal; font-weight:700; line-height:1.15; font-size:clamp(14px,1.7vw,18px); }
.p-cat-banners .cat-text small{ font-size:clamp(11px,1.4vw,13px); opacity:.95; }

