/* =========================================================
   sology 公式ストア オリジナルCSS
   ---------------------------------------------------------
   1. 共通：告知バー
   2. 共通：ヘッダー（ロゴ・検索窓・アイコン・カートバッジ）
   3. メインビジュアル（カルーセル）
   4. アプリ紹介
   5. 2カラム（サイドバー＋メイン）
   6. サイドバー：SNS・LINE
   7. サイドバー：Category
   8. セクション見出し（共通）
   9. ランキング：タブ
   10. ランキング・新商品 共通（商品名・価格）
   11. ランキング：5列・順位バッジ
   12. 新商品
   13. ブランド紹介
   14. みんなの投稿
   15. お知らせ
   16. スマホ
   ========================================================= */


/* =========================================================
   1. 共通：告知バー（2つの文言を自動で切り替え）
   ========================================================= */
.info-bar {
  background: #C66C38;
  padding: 16px;
}
/* 1行分だけ見せる窓 */
.info-bar__viewport {
  height: 24px;
  overflow: hidden;
}
/* 文言を縦に並べて、上へスライドさせる */
.info-bar__track {
  margin: 0;
  padding: 0;
  list-style: none;
  animation: info-bar-slide 8s ease-in-out infinite;
}
.info-bar__text {
  height: 24px;
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 24px;
  letter-spacing: 0.08em;
  text-align: center;
}
/* 表示 → 切り替え → 表示 → 切り替え（最初に戻る） */
@keyframes info-bar-slide {
  0%, 42%   { transform: translateY(0); }
  50%, 92%  { transform: translateY(-24px); }
  100%      { transform: translateY(-48px); }
}
/* 動きを減らす設定の人には、切り替えずに1つ目だけ表示 */
@media (prefers-reduced-motion: reduce) {
  .info-bar__track {
    animation: none;
  }
}


/* =========================================================
   2. 共通：ヘッダー
   ========================================================= */
/* スクロールしても上に残す（告知バー＋ヘッダー） */
.site-top {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eee;
}

/* ヘッダー全体 */
.site-header {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
  box-sizing: border-box;
}

/* 並び順と幅（ロゴ → 検索窓 → アイコン） */
.site-header > :has(.site-logo),
.site-header > .site-logo {
  order: 1;
  flex: 0 0 auto !important;
  margin-right: auto !important;
}
.site-header > :has(.fs-p-searchForm),
.site-header > .fs-p-searchForm {
  order: 2;
  flex: 0 0 340px !important;
  width: 340px !important;
  max-width: 340px !important;
}
.site-header .fs-p-searchForm {
  width: 100% !important;
}
.site-header > :has(.header-icons),
.site-header > .header-icons {
  order: 3;
  flex: 0 0 auto !important;
}

/* ロゴ＋「公式ストア」 */
.site-logo {
  display: flex !important;
  align-items: flex-end;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 14px;
  white-space: nowrap;
  color: #333;
}
.site-logo img {
  display: block;
  flex-shrink: 0;
  height: 60px;
  width: auto;
}
.site-logo__sub {
  font-size: 16px;
  letter-spacing: 0.05em;
  padding-bottom: 6px;
  color: #333 !important;
}
/* ロゴに下線を出さない */
.site-logo,
.site-logo:hover,
.site-logo:focus,
.site-logo * {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* 検索窓 */
.site-header .fs-p-searchForm form {
  margin: 0;
}
.site-header .fs-p-searchForm__inputGroup {
  display: flex !important;
  align-items: center;
  width: 100%;
  border: 1.5px solid #333 !important;
  border-radius: 8px !important;
  overflow: hidden;
  background: #fff;
}
.site-header .fs-p-searchForm__input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 12px !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none;
  background: none !important;
  font-size: 14px;
}
.site-header .fs-p-searchForm__button {
  flex-shrink: 0;
  width: 44px !important;
  height: 40px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") center / 22px no-repeat !important;
  font-size: 0 !important;
  color: transparent !important;
  cursor: pointer;
}
.site-header .fs-p-searchForm__button::before,
.site-header .fs-p-searchForm__button::after {
  display: none !important;
}
.site-header .fs-p-searchForm__button:hover {
  opacity: 0.6;
}

/* アイコン（マイページ・お気に入り・カート） */
.header-icons {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-icons a {
  position: relative;
  display: block;
  color: #333;
}
.header-icons a:hover {
  opacity: 0.6;
}
/* カーソルを合わせると出る吹き出し */
.header-icons a::after {
  content: attr(data-label);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, -4px);
  padding: 4px 8px;
  border-radius: 4px;
  background: #333;
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 10;
}
.header-icons a:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* カートの個数バッジ */
.header-cart__count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #e05a3a;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  line-height: 18px;
  text-align: center;
  box-sizing: border-box;
}
/* 数字が入るまで・空・0個のときは隠す */
.header-cart__count:not(.is-ready),
.header-cart__count:empty,
.header-cart__count.is-zero {
  display: none;
}


/* =========================================================
   3. メインビジュアル（カルーセル）
   ========================================================= */
/* スライドの間の隙間 */
.top-mv .slick-slide {
  padding: 0 8px;
  box-sizing: border-box;
}
/* 画像：表示サイズを固定・角丸 */
.top-mv .fs-pt-carousel__slide img {
  display: block;
  width: min(960px, 80vw) !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  transition: filter 0.4s;
}
/* 左右のスライドを暗く（中央を目立たせる） */
.top-mv .slick-slide:not(.slick-center) img {
  filter: brightness(0.6);
}

/* 左右の矢印：白い線の「く」の字 */
.top-mv .slick-arrow {
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  font-size: 0 !important;
  color: transparent !important;
  z-index: 2;
}
.top-mv .slick-arrow::before,
.top-mv .slick-arrow > * {
  display: none !important;
}
.top-mv .slick-arrow::after {
  content: "" !important;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5));
}
.top-mv .slick-next::after {
  transform: translate(-70%, -50%) rotate(45deg);
}
.top-mv .slick-prev::after {
  transform: translate(-30%, -50%) rotate(-135deg);
}
.top-mv .slick-prev {
  left: 24px !important;
}
.top-mv .slick-next {
  right: 24px !important;
}
.top-mv .slick-arrow:hover::after {
  opacity: 0.7;
}

/* ドット */
.top-mv .slick-dots {
  margin-top: 16px !important;
}
.top-mv .slick-dots li {
  margin: 0 5px !important;
}
.top-mv .slick-dots li button {
  width: 10px !important;
  height: 10px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  background: #ccc !important;
  font-size: 0 !important;
}
.top-mv .slick-dots li button::before {
  display: none !important;
}
.top-mv .slick-dots li.slick-active button {
  background: #333 !important;
}


/* =========================================================
   4. アプリ紹介（コラムパーツ×2）
   ========================================================= */
/* 外側の括り：ただの箱に戻す */
.top-apps {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-self: stretch !important;
  background: none !important;
}
.top-apps::before {
  content: none !important;
}
/* 帯（画面の端から端まで色を付ける） */
.top-apps__list {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 200px));
  justify-content: center;
  gap: 20px;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  align-self: stretch !important;
  padding: 56px 24px 64px !important;
  background: #F2EFEA;
  box-shadow: 0 0 0 100vmax #F2EFEA;
  clip-path: inset(0 -100vmax);
  box-sizing: border-box;
}
/* 見出し */
.top-apps__list::before {
  content: "商品と一緒に使えるブラウザアプリが登場";
  grid-column: 1 / -1;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 12px;
}
/* 2つのコラムパーツをまとめて横5列に */
.top-apps__list .fs-pt-column {
  display: contents !important;
}
/* カード（白） */
.top-apps__list .fs-pt-column__item {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 28px 16px 24px;
  background: #fff;
  border-radius: 16px;
  text-align: center;
  box-sizing: border-box;
}
/* アイコン */
.top-apps__list .fs-pt-column__image img {
  display: block;
  width: 120px !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  margin: 0 auto 16px;
  border-radius: 24px;
  object-fit: cover;
}


/* =========================================================
   5. 2カラム（サイドバー＋メイン）
   ========================================================= */
.top-2col {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  width: 100% !important;
  max-width: 1200px;
  margin: 48px auto;
  padding: 0 16px;
  box-sizing: border-box;
  align-self: center !important;
}
.top-main {
  min-width: 0;
}
.top-side {
  align-self: start;
}
/* サイドバーの枠
   ・まとめ用パーツを使っているページ → まとめ用パーツに枠
   ・個別のパーツを置いているトップページ → サイドバー全体に枠 */
.side-common,
.top-side:not(:has(.side-common)) {
  border: 1px solid #333;
  padding: 16px 12px;
  box-sizing: border-box;
}


/* =========================================================
   6. サイドバー：SNS・LINE
   ========================================================= */
.side-block {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #999;
}
.side-title {
  font-size: 14px;
  margin: 0 0 8px;
}
.side-banner {
  display: block;
  width: 100%;
  height: auto;
}
/* SNSアイコン（中央寄せ・間隔を狭く） */
.sns-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.sns-icons img {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.sns-icons a:hover img {
  opacity: 0.7;
}

.side-block a:hover .side-banner {
  opacity: 0.85;
}

/* =========================================================
   7. サイドバー：Category（メニューパーツ）
   ========================================================= */
.side-category {
  list-style: none;
  margin: 0;
  padding: 0;
}
/* 見出し「Category」 */
.side-category::before {
  content: "Category";
  display: block;
  font-size: 14px;
  margin-bottom: 16px;
}
/* 1段目（product / new）を隠す */
.side-category > .fs-pt-menu__item--lv1 {
  list-style: none;
}
.side-category .fs-pt-menu__heading--lv1,
.side-category > .fs-pt_menu__item--new {
  display: none !important;
}
/* 2段目 = 親カテゴリー */
.side-category .fs-pt-menu--lv2 {
  display: block !important;
  list-style: none;
  margin: 0;
  padding: 0;
}
.side-category .fs-pt-menu__item--lv2 {
  list-style: none;
  margin-bottom: 24px;
}
.side-category .fs-pt-menu__link--lv2 {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 4px 0 !important;
  margin: 0 !important;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  border: none;
  background: none;
}
/* 親カテゴリーのアイコン（四角・角丸） */
.side-category .fs-pt-menu__link--lv2::before {
  content: "" !important;
  display: block !important;
  position: static !important;
  flex-shrink: 0;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 6px;
  background: transparent center / cover no-repeat;
  transform: none !important;
}
/* 名前のすぐ横の誘導マーク */
.side-category .fs-pt-menu__link--lv2::after {
  content: "" !important;
  display: inline-block !important;
  position: static !important;
  flex-shrink: 0;
  width: 6px !important;
  height: 6px !important;
  margin: 0 0 0 2px !important;
  border: none !important;
  border-top: 1.5px solid #333 !important;
  border-right: 1.5px solid #333 !important;
  transform: rotate(45deg) !important;
  background: none !important;
}
/* 3段目 = 子カテゴリー */
.side-category .fs-pt-menu--lv3 {
  display: block !important;
  list-style: none;
  margin: 8px 0 0 !important;
  padding: 0 0 0 46px !important;
}
.side-category .fs-pt-menu--lv3 a {
  display: block;
  padding: 7px 0 !important;
  line-height: 1.5;
  font-size: 12px;
  color: #555;
  text-decoration: none;
}
.side-category a:hover {
  opacity: 0.7;
}
/* 親カテゴリーのアイコン画像（画像URLを入れる） */
.side-category .fs-pt_menu__item--kitchen .fs-pt-menu__link--lv2::before { background-image: url("https://dish.itembox.cloud/item/top/category/top_cg_icon1.png?t=20261201144902"); }
.side-category .fs-pt_menu__item--kitichen_goods .fs-pt-menu__link--lv2::before { background-image: url("https://dish.itembox.cloud/item/top/category/top_cg_icon2.png?t=20261201144902"); }
.side-category .fs-pt_menu__item--lifestyle .fs-pt-menu__link--lv2::before { background-image: url("https://dish.itembox.cloud/item/top/category/top_cg_icon3.png?t=20261201144902"); }
.side-category .fs-pt_menu__item--goods .fs-pt-menu__link--lv2::before { background-image: url("https://dish.itembox.cloud/item/top/category/top_cg_icon4.png?t=20261201144902"); }
.side-category .fs-pt_menu__item--stationery .fs-pt-menu__link--lv2::before { background-image: url("https://dish.itembox.cloud/item/top/category/top_cg_icon5.png?t=20261201144902"); }
.side-category .fs-pt_menu__item--medical_healthcare .fs-pt-menu__link--lv2::before { background-image: url("https://dish.itembox.cloud/item/top/category/top_cg_icon6.png?t=20261201144902"); }
.side-category .fs-pt_menu__item--brand .fs-pt-menu__link--lv2::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M3 12V4h8l10 10-8 8L3 12z'/%3E%3Ccircle cx='7.5' cy='8.5' r='1.5'/%3E%3C/svg%3E");
  background-size: 24px;
}


/* =========================================================
   8. セクション見出し（共通）
   ========================================================= */
.top-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: bold;
}
.top-heading__icon {
  flex-shrink: 0;
}
/* 中央寄せの見出し（みんなの投稿など） */
.top-heading--center {
  justify-content: center;
  margin-bottom: 28px;
}

/* 見出しの下に黒い横線（中央寄せの見出しは除く） */
.top-heading:not(.top-heading--center) {
  padding-bottom: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid #222;
}

/* =========================================================
   9. ランキング：タブ
   ========================================================= */
.rank-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.rank-tabs input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
/* タブボタン：ピル型・黒の枠線 */
.rank-tabs label {
  display: block;
  padding: 7px 4px;
  border: 2px solid #222;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.rank-tabs label:hover {
  background: #f2f2f2;
}
/* 選ばれているタブ：黒く塗りつぶし */
.rank-tabs input:checked + label {
  background: #222;
  color: #fff;
}
/* 選ばれていないランキングは隠す */
.top-ranking .rank-panel {
  height: 0;
  overflow: hidden;
  visibility: hidden;
}
.top-ranking:has(#rank-all:checked) .rank-all,
.top-ranking:has(#rank-kitchen:checked) .rank-kitchen,
.top-ranking:has(#rank-lifestyle:checked) .rank-lifestyle,
.top-ranking:has(#rank-goods:checked) .rank-goods,
.top-ranking:has(#rank-stationery:checked) .rank-stationery,
.top-ranking:has(#rank-health:checked) .rank-health {
  height: auto;
  overflow: visible;
  visibility: visible;
}


/* =========================================================
   10. ランキング・新商品 共通（商品名・価格）
   ========================================================= */
/* サムネイルの角丸 */
:is(.top-ranking, .top-new) img {
  border-radius: 8px;
}
/* キャッチコピーを消す */
:is(.top-ranking, .top-new) [class*="productName__copy"],
:is(.top-ranking, .top-new) [class*="productName"] [class*="copy"],
:is(.top-ranking, .top-new) [class*="productName"] [class*="Copy"],
:is(.top-ranking, .top-new) [class*="catchCopy"],
:is(.top-ranking, .top-new) [class*="CatchCopy"] {
  display: none !important;
}
/* 商品名：黒字・2行まで */
:is(.top-ranking, .top-new) [class*="productName"],
:is(.top-ranking, .top-new) [class*="productName"] * {
  color: #222 !important;
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none !important;
}
:is(.top-ranking, .top-new) [class*="productName"],
:is(.top-ranking, .top-new) [class*="productName__name"] {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
/* 「当店特別価格」の文字を消す */
:is(.top-ranking, .top-new) [class*="productPrice"] [class*="label"],
:is(.top-ranking, .top-new) [class*="productPrice"] [class*="Label"] {
  display: none !important;
}
/* 金額：黒・太字 */
:is(.top-ranking, .top-new) [class*="productPrice"],
:is(.top-ranking, .top-new) [class*="productPrice"] * {
  color: #222 !important;
}
:is(.top-ranking, .top-new) [class*="price__value"],
:is(.top-ranking, .top-new) [class*="currencyMark"] {
  font-size: 20px !important;
  font-weight: bold !important;
}
/* （税込）：小さく表示 */
:is(.top-ranking, .top-new) [class*="productPrice"] [class*="addon"],
:is(.top-ranking, .top-new) [class*="productPrice"] [class*="tax"] {
  font-size: 12px !important;
  font-weight: normal !important;
  margin-left: 4px;
}
:is(.top-ranking, .top-new) [class*="productPrice"] [class*="addon"] [class*="label"],
:is(.top-ranking, .top-new) [class*="productPrice"] [class*="addon"] [class*="Label"],
:is(.top-ranking, .top-new) [class*="productPrice"] [class*="tax"] [class*="label"],
:is(.top-ranking, .top-new) [class*="productPrice"] [class*="tax"] [class*="Label"] {
  display: inline !important;
  font-size: 12px !important;
  font-weight: normal !important;
}
/* お気に入りのハートを消す */
:is(.top-ranking, .top-new) .fs-c-button--addToWishList--icon {
  display: none !important;
}


/* =========================================================
   11. ランキング：5列（スライダーなし）・順位バッジ
   ========================================================= */
.top-ranking .rank-panel .slick-list {
  overflow: visible !important;
  height: auto !important;
  padding: 0 !important;
}
.top-ranking .rank-panel .slick-track {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: auto !important;
  transform: none !important;
}
/* スライダー用の飾り・複製・矢印・ドットを消す */
.top-ranking .rank-panel .slick-track::before,
.top-ranking .rank-panel .slick-track::after,
.top-ranking .rank-panel .slick-cloned,
.top-ranking .rank-panel .slick-arrow,
.top-ranking .rank-panel .slick-dots {
  display: none !important;
}
/* 6位以降は表示しない */
.top-ranking .rank-panel .slick-slide:not([data-slick-index="0"]):not([data-slick-index="1"]):not([data-slick-index="2"]):not([data-slick-index="3"]):not([data-slick-index="4"]) {
  display: none !important;
}
/* 各商品：間隔（左16px・右12px）とバッジ用のスペース */
.top-ranking .rank-panel .slick-slide {
  position: relative;
  width: auto !important;
  float: none !important;
  padding: 16px 12px 0 16px !important;
  box-sizing: border-box;
  overflow: hidden;
}
/* 中身を列の幅に収める */
.top-ranking .rank-panel .slick-slide,
.top-ranking .rank-panel .slick-slide * {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
.top-ranking .rank-panel .slick-slide > div,
.top-ranking .rank-panel .slick-slide > div > * {
  width: 100% !important;
}
.top-ranking .rank-panel .slick-slide img {
  width: 100% !important;
  height: auto !important;
}
/* 順位バッジ（丸・画像の左上の角に重ねる） */
.top-ranking .rank-panel .slick-slide::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #a2b7bd;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  line-height: 32px;
  text-align: center;
}
.top-ranking .rank-panel .slick-slide[data-slick-index="0"]::before { content: "1"; background: #c9a038; }
.top-ranking .rank-panel .slick-slide[data-slick-index="1"]::before { content: "2"; background: #939393; }
.top-ranking .rank-panel .slick-slide[data-slick-index="2"]::before { content: "3"; background: #a67b62; }
.top-ranking .rank-panel .slick-slide[data-slick-index="3"]::before { content: "4"; }
.top-ranking .rank-panel .slick-slide[data-slick-index="4"]::before { content: "5"; }


/* =========================================================
   12. 新商品（スライダー）
   ---------------------------------------------------------
   各商品の幅を、ランキングの画像の実際の幅（133px）に固定する。
   ランキングの画像の大きさが変わったら、133px を変える。
   ========================================================= */
.top-new {
  margin-top: 56px;
}
.top-new .fs-c-productListCarousel__list__item {
  width: 133px !important;
  max-width: none !important;
  margin-right: 28px;
}
.top-new .fs-c-productListItem__image,
.top-new .fs-c-productListItem__image a,
.top-new .fs-c-productListItem__image__image {
  display: block;
  width: 100% !important;
  height: auto !important;
}

/* =========================================================
   13. ブランド紹介（縦に並べる：左に画像・右に説明）
   ========================================================= */
.top-brand {
  margin-top: 56px;
}
/* 縦1列に並べる */
section.top-brand .fs-pt-column {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 20px !important;
  padding: 0 12px 0 16px !important;
  box-sizing: border-box;
}
/* 1ブランド：左に画像、右に見出しと説明（上下中央） */
section.top-brand .fs-pt-column__item {
  display: grid !important;
  grid-template-columns: 26% 1fr;
  grid-template-rows: 1fr auto auto 1fr;
  column-gap: 32px;
  width: auto !important;
  min-width: 0;
}
section.top-brand .fs-pt-column__item > * {
  grid-column: 2;
  margin: 0;
}
/* 画像 */
section.top-brand .fs-pt-column__image {
  display: block;
  grid-column: 1 !important;
  grid-row: 1 / -1;
  width: 100% !important;
}
section.top-brand .fs-pt-column__image img {
  display: block;
  width: 100% !important;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 16px;
}

/* 見出し（ブランド名）：2段目 */
section.top-brand .fs-pt-column__item > [class*="title"],
section.top-brand .fs-pt-column__item > [class*="heading"] {
  grid-row: 2 !important;
  margin-bottom: 16px;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
}
/* 説明：3段目（画像・見出し以外のすべて） */
section.top-brand .fs-pt-column__item > *:not(.fs-pt-column__image):not([class*="title"]):not([class*="heading"]) {
  grid-row: 3 !important;
  font-size: 13px;
  line-height: 1.8;
}
/* 読み仮名 */
section.top-brand .brand-kana {
  margin-left: 12px;
  font-size: 14px;
  font-weight: normal;
}
/* 文字はすべて黒・下線なし（カーソルを合わせても） */
section.top-brand .fs-pt-column__item,
section.top-brand .fs-pt-column__item a,
section.top-brand .fs-pt-column__item a:hover,
section.top-brand .fs-pt-column__item a * {
  color: #222 !important;
  text-decoration: none !important;
  border-bottom: none !important;
}
/* カーソルを合わせたときは、画像を少し薄くするだけ */
section.top-brand .fs-pt-column__item:hover img {
  opacity: 0.8;
}

/* =========================================================
   14. みんなの投稿
   ========================================================= */
/* ベージュの帯（画面いっぱい） */
.top-ugc {
  width: 100% !important;
  max-width: none !important;
  align-self: stretch !important;
  margin: 64px 0 0 !important;
  padding: 56px 24px 64px;
  background: #F2EFEA;
  box-shadow: 0 0 0 100vmax #F2EFEA;
  clip-path: inset(0 -100vmax);
  box-sizing: border-box;
}
/* カルーセル全体の幅 */
.ugc-carousel {
  max-width: 880px;
  margin: 0 auto;
}
/* カードの間隔 */
.ugc-carousel .slick-slide {
  padding: 0 8px;
  box-sizing: border-box;
}
/* 画像：縦長・角丸 */
.ugc-carousel .fs-pt-carousel__slide img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 12px;
}
.ugc-carousel a:hover img {
  opacity: 0.85;
}
/* 矢印（濃い色の線） */
.ugc-carousel .slick-arrow {
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  font-size: 0 !important;
  color: transparent !important;
  z-index: 2;
}
.ugc-carousel .slick-arrow::before,
.ugc-carousel .slick-arrow > * {
  display: none !important;
}
.ugc-carousel .slick-arrow::after {
  content: "" !important;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
}
.ugc-carousel .slick-next::after {
  transform: translate(-70%, -50%) rotate(45deg);
}
.ugc-carousel .slick-prev::after {
  transform: translate(-30%, -50%) rotate(-135deg);
}
.ugc-carousel .slick-prev { left: -44px !important; }
.ugc-carousel .slick-next { right: -44px !important; }
/* ドット */
.ugc-carousel .slick-dots {
  margin-top: 16px !important;
}
.ugc-carousel .slick-dots li button {
  width: 8px !important;
  height: 8px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  background: #bbb !important;
  font-size: 0 !important;
}
.ugc-carousel .slick-dots li button::before {
  display: none !important;
}
.ugc-carousel .slick-dots li.slick-active button {
  background: #333 !important;
}


/* =========================================================
   15. お知らせ
   ========================================================= */
/* 2カラムと同じ幅で中央に */
.top-news {
  width: 100%;
  max-width: 1200px;
  margin: 48px auto;
  padding: 0 16px;
  box-sizing: border-box;
  align-self: center;
}
/* お知らせ本体を横いっぱいに */
.top-news .fs-p-dateList {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* お知らせ（箇条書きパーツ）：3枚目のデザイン */
.top-news .fs-p-dateList {
  list-style: none !important;
  padding: 0 !important;
  border-top: 1px solid #999 !important;
}
.top-news .fs-pt-list__item {
  margin: 0 !important;
  padding: 16px 24px !important;
  border-top: none !important;
  border-bottom: 1px solid #999 !important;
}
.top-news .fs-pt-list__item a {
  color: #222 !important;
  text-decoration: none !important;
}
/* ラベル（新商品・重要など） */
.top-news .news-label {
  display: inline-block;
  width: 140px;
  margin-right: 32px;
  padding: 6px 0;
  background: #111;
  color: #fff !important;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-align: center;
  vertical-align: middle;
}
/* 日付：薄いグレーの文字（テーマの背景色を消す） */
.top-news .news-date {
  display: inline-block;
  width: 110px;
  margin-right: 24px;
  padding: 0 !important;
  background: none !important;
  color: #bbb !important;
  font-size: 15px;
  vertical-align: middle;
}
/* タイトル */
.top-news .news-title {
  color: #222;
  font-size: 16px;
  vertical-align: middle;
}
.top-news a:hover .news-title {
  text-decoration: underline;
}
/* スマホ：タイトルを2段目に */
@media (max-width: 767px) {
  .top-news .fs-pt-list__item {
    padding: 14px 8px !important;
  }
  .top-news .news-label {
    width: 80px;
    margin-right: 12px;
    font-size: 12px;
  }
  .top-news .news-title {
    display: block;
    margin-top: 8px;
    font-size: 14px;
  }
}

/* =========================================================
   フッター
   ========================================================= */
/* 一番上の線を消す */
.fs-l-footer,
.fs-p-footerPageTop,
.fs-l-footer__contents {
  border-top: none !important;
}
.fs-p-footerPageTop {
  border-bottom: none !important;
}
/* 背景色（コピーライト以外） */
.fs-l-footer,
.fs-l-footer__contents,
.fs-l-footer__utility {
  background-color: #F2EFEA !important;
}
/* 一番下のコピーライトの帯：太く */
.fs-p-footerCopyright {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}
/* フッターのロゴ */
.footer-logo {
  padding-top: 64px;
  margin-bottom: 48px;
}
.footer-logo a {
  display: inline-block;
}
.footer-logo img {
  display: block;
  height: 64px;
  width: auto;
}
.footer-logo a:hover img {
  opacity: 0.7;
}

/* =========================================================
   16. スマホ（画面幅767px以下）
   ========================================================= */
@media (max-width: 767px) {
  /* ヘッダー */
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
  }
  .site-logo img {
    height: 32px;
  }
  .site-header > :has(.fs-p-searchForm),
  .site-header > .fs-p-searchForm {
    order: 4;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: none !important;
  }
  .header-icons a::after {
    display: none;
  }

  /* アプリ紹介：横スクロール */
  .top-apps__list {
    grid-template-columns: repeat(5, 160px);
    overflow-x: auto;
    padding: 40px 16px 48px !important;
  }
  .top-apps__list::before {
    position: sticky;
    left: 0;
  }

  /* 2カラム：サイドバーをメインの下へ */
  .top-2col {
    grid-template-columns: 1fr;
  }
  .top-side {
    order: 2;
  }

  /* ランキングのタブ：3列×2段 */
  .rank-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  /* ブランド紹介：画像を上、説明を下に */
  section.top-brand .fs-pt-column__item {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 12px;
  }
  section.top-brand .fs-pt-column__item > *,
  section.top-brand .fs-pt-column__image {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  /* みんなの投稿：矢印を内側に */
  .ugc-carousel .slick-prev { left: 0 !important; }
  .ugc-carousel .slick-next { right: 0 !important; }
}

