@charset "utf-8";
/* CSS Document */

/* =========================
  メインビジュアル位置調整
========================= */
.fs-body-category {
  padding-top: 250px;
}

@media (max-width: 435px) {
  .fs-body-category {
    padding-top: 280px;
  }
}


/* =========================================
   商品グループページ 共通CSS
========================================= */

/* PC時の横幅調整 */
.fs-l-main .group-hero,
.fs-l-main .group-lead,
.fs-l-main .group-banners,
.fs-l-main {
  /*max-width: 980px;*/
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------------------------------
   メインビジュアル
--------------------------------- */
.group-hero {
  margin: 0 auto 60px;
}

.group-hero img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------------------------------
   リード文
--------------------------------- */
.group-lead {
  margin: 0 auto 70px;
  text-align: left;
  color: #222;
  font-size: 16px;
  line-height: 2.2;
  font-weight: 500;
}

.group-lead p {
  margin: 0 0 32px;
}

.group-lead p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------
   バナー
--------------------------------- */
.group-banners {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin: 0 auto 80px;
}

.group-banner {
  flex: 0 1 calc((100% - 32px) / 2);
  max-width: 474px;
  display: block;
  transition: opacity .25s ease, transform .25s ease;
}

.group-banner:hover {
  opacity: .85;
  transform: translateY(-2px);
}

.group-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------------------------------
   セクションタイトル
--------------------------------- */
.group-section-title {
  font-family: "游明朝", "Yu Mincho", "游明朝体", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "MS P明朝", "MS 明朝", serif;
  margin: 0 0 40px;
  text-align: center;
  color: #222;
  font-size: 1.6em;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .08em;
}

/* ---------------------------------
   ご利用シーンから探す
--------------------------------- */
.group-scene {
  background: #FBFAF6;
  padding: 60px 20px;
  margin: 0 calc(50% - 50vw) 90px;
}

.group-scene-box {
  max-width: 980px;
  margin: 0 auto;
}

.group-scene-heading {
  margin: 0 0 24px;
  color: #222;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
}

.group-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.group-tag-list li {
  margin: 0;
}

.group-tag-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid #d6d1c6;
  border-radius: 999px;
  background: #fff;
  color: #444;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .04);
  transition:
    background .25s ease,
    border-color .25s ease,
    color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.group-tag-list a:hover {
  background: #f5f8ff;
  border-color: #1d3f82;
  color: #1d3f82;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}

/* ---------------------------------
   新着商品
--------------------------------- */
.group-new-item h2 {
    display: none;
}

/* ---------------------------------
   カテゴリから探す
--------------------------------- */
.group-category {
  margin: 0 auto 40px;
  padding: 0 0 56px 0;
  border-radius: 18px;
}

.group-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 28px;
}

.group-category-card {
  display: grid;
  grid-template-columns: 58px 1fr 16px;
  align-items: center;
  gap: 20px;
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid #e5ddca;
  border-radius: 14px;
  background: #fff;
  color: #222;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .04);
  transition:
    border-color .25s ease,
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.group-category-card:hover {
  opacity: 1;
  background: #f5f8ff;
  border-color: #1d3f82;
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}

.group-category-img {
  display: block;
  width: 70px;
  height: 70px;
  overflow: hidden;
  background: #f8f8f8;
  border-radius: 10px;
}

.group-category-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.group-category-card:hover .group-category-img img {
  transform: scale(1.06);
}

.group-category-name {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  transition: color .25s ease;
}

.group-category-card:hover .group-category-name {
  color: #1d3f82;
}

.group-category-arrow {
  position: relative;
  width: 8px;
  height: 8px;
  justify-self: end;
  transition: transform .25s ease;
}

.group-category-card:hover .group-category-arrow {
  transform: translateX(4px);
}

.group-category-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1.5px solid #333;
  border-right: 1.5px solid #333;
  transform: rotate(45deg);
}

/* ---------------------------------
   タブレット
--------------------------------- */
@media screen and (max-width: 1024px) {
  .fs-l-main .group-hero,
  .fs-l-main .group-lead,
  .fs-l-main .group-banners,
  .fs-l-main .group-category {
    max-width: 100%;
  }

  .group-section-title {
    font-size: 28px;
  }

  .group-category {
    padding: 48px 28px 52px;
  }

  .group-category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 24px;
  }
}

/* ---------------------------------
   スマホ
--------------------------------- */
@media screen and (max-width: 767px) {

  .group-hero {
    margin-bottom: 40px;
  }

  .group-lead {
    margin-bottom: 50px;
    text-align: left;
    font-size: 14px;
    line-height: 2;
  }

  .group-lead br {
    display: none;
  }

  .group-lead p {
    margin-bottom: 24px;
  }

  .group-banners {
    gap: 20px;
    margin-bottom: 50px;
  }

  .group-banner {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .group-section-title {
    margin-bottom: 28px;
    font-size: 24px;
  }

  .group-scene {
    padding: 45px 16px;
    margin-bottom: 60px;
  }

  .group-scene-heading {
    margin-bottom: 18px;
    font-size: 18px;
  }

  .group-tag-list {
    gap: 10px;
  }

  .group-tag-list a {
    min-height: 34px;
    padding: 6px 14px;
    font-size: 12px;
  }

  .group-category {
    padding: 40px 16px 44px;
    border-radius: 14px;
  }

  .group-category-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .group-category-card {
    grid-template-columns: 60px 1fr 16px;
    min-height: 80px;
    padding: 12px 14px;
    margin-bottom: 12px;
  }

  .group-category-card:last-child {
    margin-bottom: 0;
  }

  .group-category-img {
    width: 60px;
    height: 60px;
  }

  .group-category-name {
    font-size: 14px;
  }
}

/* ---------------------------------
   よくある質問
--------------------------------- */
.group-faq {
  margin: 60px 0;
}

.group-faq__title {
  font-family: "游明朝", "Yu Mincho", "游明朝体", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "MS P明朝", "MS 明朝", serif;
  margin-bottom: 30px;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: #000;
}

.group-faq__list {
  border-top: 1px solid #d9c99c;
}

.group-faq__item {
  border-bottom: 1px solid #d9c99c;
}

/* デフォルトマーカーを消す */
.group-faq__question::-webkit-details-marker {
  display: none;
}

.group-faq__question {
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  padding: 20px 50px 20px 20px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  color: #0b2d63;
  transition: .3s;
}

/* 開いている時 */
.group-faq__item[open] .group-faq__question {
  background: #fbf6e8;
}

/* Qアイコン */
.group-faq__question::before {
  content: "Q";
  width: 24px;
  height: 24px;
  margin-right: 14px;
  border-radius: 50%;
  background: #082d63;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

/* ▼ */
.group-faq__question::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #082d63;
  border-bottom: 2px solid #082d63;
  transform: translateY(-70%) rotate(45deg);
  transition: .3s;
}

/* ▲ */
.group-faq__item[open] .group-faq__question::after {
  transform: translateY(-20%) rotate(225deg);
}

/* 回答 */
.group-faq__answer {
  display: flex;
  gap: 14px;
  padding: 0 20px 24px 20px;
  background: #fff;
}

/* Aアイコン */
.group-faq__answer::before {
  content: "A";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ef5b4f;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.group-faq__answer p {
  margin: 0;
  line-height: 1.9;
  color: #35506d;
}

/* スマホ */
@media (max-width: 767px) {
  .group-faq {
    margin: 40px 0;
  }

  .group-faq__title {
    font-size: 24px;
  }

  .group-faq__question {
    font-size: 16px;
    padding: 16px 42px 16px 14px;
  }

  .group-faq__answer {
    padding: 0 14px 18px;
  }
}

/***************************
 ** 商品一覧のシステムパーツを整える
 ****************************/
 .fs-c-sortItems__label {
  margin-right: 5px;
}

/* 商品カード */
.fs-c-productListItem {
  height: 100%;
}

/* カード内のformを縦並びにする */
.fs-c-productListItem > form {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 商品画像エリア */
.fs-c-productListItem__imageContainer {
  width: 100%;
}

/* 商品画像の表示サイズを統一 */
.fs-c-productListItem__image {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 画像を枠内に収める */
.fs-c-productListItem__image__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 商品名エリアを4行分＋少し余裕を持たせて固定 */
.fs-c-productListItem__productName {
  height: 8em;
  min-height: 8em;
  margin: 12px 0 8px;
  padding: 0 0 0.2em;
  box-sizing: border-box;
  line-height: 1.7;
  overflow: hidden;
}

/* 商品名リンク */
.fs-c-productListItem__productName > a {
  display: block;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
}

/* 商品名は最大4行 */
.fs-c-productName__name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-height: 1.7;
}

/* 商品価格エリアの高さを統一 */
.fs-c-productListItem__prices {
  min-height: 70px;
  margin-top: 0;
}

/* 在庫切れ表示などの高さを確保 */
.fs-c-productListItem__notice,
.fs-c-productListItem__outOfStock {
  min-height: 24px;
}

/* ボタンをカードの一番下に揃える */
.fs-c-productListItem__control {
  margin-top: auto;
}

/* カードを縦並び */
.fs-c-productListItem > form {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ボタンを一番下に揃える */
.fs-c-productListItem__control {
  margin-top: auto;
}