/* ============================================================
   ISHIKEN TOP PAGE CSS v2
   ============================================================ */

/* ─── ロゴ ─── */
.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; }

/* ─── セクション共通余白 ─── */
.c-section { margin-bottom: 56px; }
.p-section-gap { margin-top: 32px; margin-bottom: 32px; }

/* ─── スライダー ─── */
#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;
  font-family: 'Montserrat', sans-serif;
}
.p-news__label::before { content: '-'; }
.p-news__content { line-height: 1.6; margin: 5px 0 20px 10px; }
.p-news__content p:nth-child(1) { margin-top: 0; }
.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; }

/* ─── ブランドセクション ─── */
#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;
}

/* ─── バナーカラム ─── */
.banner-column-box {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: auto;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.banner-column-box a.banner-column {
  width: 100%;
  display: block;
  overflow: hidden;
}
.banner-column-box a.banner-column img {
  width: 100%;
  display: block;
  transition: opacity .2s;
}
.banner-column-box a.banner-column:hover img { opacity: .88; }

/* ─── インフォカード（羽毛が使えない方へ 3ボックス） ─── */
.p-info-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 40px auto;
  padding: 0 20px;
  max-width: 1200px;
  box-sizing: border-box;
}
.p-info-card {
  flex: 1 1 260px;
  max-width: 360px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 24px 20px;
  background: #fff;
  text-align: center;
  box-sizing: border-box;
}
.p-info-card h4 {
  font-size: 1rem;
  color: #2e7d32;
  margin: 0 0 10px;
  font-weight: bold;
}
.p-info-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #555;
  margin: 0 0 14px;
}
.p-info-card__link {
  display: inline-block;
  padding: 7px 18px;
  border: 1px solid #2e7d32;
  border-radius: 4px;
  color: #2e7d32;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.p-info-card__link:hover {
  background: #2e7d32;
  color: #fff;
}

/* ─── PC / SP 画像切り替え ─── */
.sp_none { display: block; }
.pc_none { display: none; }

@media screen and (min-width: 600px) {
  .sp_none { display: none !important; }
  .pc_none { display: block !important; }
}
/* ─── ランキング グリッド ─── */
@media (max-width: 599px) {
  .c-product-list--ranking .c-product-list__item {
    width: 50%; flex: 0 0 50%; max-width: 50%;
  }
}

/* ─── makuake (非表示管理) ─── */
.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 (min-width: 501px) and (max-width: 1040px) { .makuake iframe:nth-child(2) { display: block; } }
@media screen and (min-width: 351px) and (max-width: 500px) { .makuake iframe:nth-child(3) { display: block; } }
@media screen and (min-width: 200px) and (max-width: 350px) { .makuake iframe:nth-child(4) { display: block; } }

/* ============================================================
   PC（600px以上）
   ============================================================ */
@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 img,
  #service-search .c-product-list__item img { height: 11vw; max-height: 150px; }

  /* バナーカラム */
  .banner-column-box a.banner-column { width: calc(50% - 8px); }

  /* ブランド */
  #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; }

  /* インフォカード */
  .p-info-card { flex: 1 1 200px; }
}

/* ─── タブレット ─── */
@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%;
  }
}

/* ─── PC ─── */
@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; }

  .c-product-list--ranking .c-product-list__item {
    width: 25%; flex: 0 0 25%; max-width: 25%;
  }
  #brand-search .brand_sub-content li img { height: 13vw; }
}