@charset "utf-8";

/* =================================================================
   トップページ専用スタイル
   index にて使用
================================================================= */

/* ========================================
トップページ - レイアウト
=========================================== */

/* トップページ 告知 */
.fs-body-top .fs-p-messageBoard {
  margin: 24px 16px;
}
@media screen and (min-width: 768px) {
  .fs-body-top .fs-p-messageBoard {
    margin: 24px 0;
  }
}

/* トップページ コラム余白 */

/* 1カラム */
.fs-pt-column--1 {
  margin: 0 8px;
}
@media screen and (min-width: 768px) {
  .fs-pt-column--1 {
    margin: 0;
  }
}

/* 実店舗バナー */
.shop-banner {
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  .shop-banner {
    margin-top: 40px;
  }
}

/* PayPay祭バナー */
.paypay-banner {
  margin: 20px 8px 40px;
}
@media screen and (min-width: 768px) {
  .paypay-banner {
    margin: 80px 0;
  }
}

/* トップページ コラム 余白なし */
.no-margin > * {
  padding: 0;
}

/* トップページ コラム 余白広め */
.wide-margin > * {
  padding: 16px;
}
@media screen and (min-width: 1280px) {
  .wide-margin {
    grid-column-gap: 32px;
    grid-row-gap: 32px;
  }
  .wide-margin > * {
    padding: 0;
  }
}

/* トップページ コラム 下部のみ余白広め */
.bottom-margin {
  padding-bottom: 24px;
}


/* ========================================
トップページ - ランキング
=========================================== */

/* ランキング 更新日 */
.gg-itemRankingDate {
  text-align: center;
  margin: -2rem 0 3rem;
}

/* ランキング 全体レイアウト */
.gg-itemRanking {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  line-height: 1;
  padding: 0 16px;
}
.rank1 { grid-area: 1 / 1 / 3 / 4; }
.rank2 { grid-area: 1 / 4 / 3 / 7; }
.rank3 { grid-area: 3 / 1 / 5 / 3; }
.rank4 { grid-area: 3 / 3 / 5 / 5; }
.rank5 { grid-area: 3 / 5 / 5 / 7; }

@media screen and (min-width: 768px) {
  .gg-itemRanking {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 24px;
    grid-row-gap: 24px;
    padding: 0 16px;
  }
  .rank1 { grid-area: 1 / 1 / 3 / 3; }
  .rank2 { grid-area: 1 / 3 / 2 / 4; }
  .rank3 { grid-area: 1 / 4 / 2 / 5; }
  .rank4 { grid-area: 2 / 3 / 3 / 4; }
  .rank5 { grid-area: 2 / 4 / 3 / 5; }
}

@media screen and (min-width: 1280px) {
  .gg-itemRanking {
    grid-column-gap: 48px;
    grid-row-gap: 48px;
    padding: 0 48px;
  }
}

/* ランキング リンクhover時 */
.gg-itemRanking a:hover img {
  opacity: 0.7;
}

/* ランキング 順位アイコン */
.gg-itemRanking > div {
  position: relative;
}
.gg-itemRanking > div::before {
  background: #3e3e3e;
  color: #fff;
  content: "";
  display: block;
  font-size: 2rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .gg-itemRanking > div::before {
    font-size: 2.4rem;
    width: 48px;
    height: 48px;
    line-height: 48px;
  }

}

/* ランキング 順位アイコン 1位 */
.gg-itemRanking > div.rank1::before {
  content: "1";
}
/* ランキング 順位アイコン 1位だけ大きくする */
@media screen and (min-width: 768px) {
  .gg-itemRanking > div.rank1::before {
    font-size: 4rem;
    width: 64px;
    height: 64px;
    line-height: 64px;
  }
}

/* ランキング 順位アイコン 2-5位 */
.gg-itemRanking > div.rank2::before {
  content: "2";  
}
.gg-itemRanking > div.rank3::before {
  content: "3";  
}
.gg-itemRanking > div.rank4::before {
  content: "4";  
}
.gg-itemRanking > div.rank5::before {
  content: "5";  
}


/* ========================================
トップページ - カテゴリ一覧
=========================================== */

/* カテゴリ一覧 スタートアップテーマ上書き */
.gg-topCatMenu .fs-pt-menu a {
  margin: 0;
  padding: 0;
}

/* カテゴリ一覧 */
.gg-topCatMenu__list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  padding: 0 8px;
}
@media screen and (min-width: 768px) {
  .gg-topCatMenu__list {
    flex-direction: row;
    padding: 0;
  }
}

/* カテゴリ一覧 リスト */
.gg-topCatMenu__list > li {
  font-size: 1.3rem;
  padding: 0 8px 48px;
  min-height: 288px;
}
@media screen and (min-width: 768px) {
  .gg-topCatMenu__list > li {
    flex-basis: 50%;
    font-size: 1.6rem;
    padding: 0 16px 64px;
    min-height: auto;
  }
}

/* 特定のカテゴリのみ最小の高さを指定しない */
.gg-topCatMenu__list > li.fs-pt_menu__item--pet {
  min-height: auto;
}

/* カテゴリ一覧 リスト 特定の箇所だけ余白削除 */
@media screen and (min-width: 768px) {
  .gg-topCatMenu__list > li:last-child {
    padding-bottom: 0;
  }
}

/* カテゴリ一覧 リスト アニメーション削除 */
.gg-topCatMenu__list.fs-pt-menu * {
  transition-property: none;
  transition-duration: 0;
  transition-timing-function: ease;
  transition-delay: 0;
}

/* カテゴリ一覧 リスト 親 */
.gg-topCatMenu .fs-pt-menu__heading--lv1 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 16px;
}
@media screen and (min-width: 768px) {
  .gg-topCatMenu .fs-pt-menu__heading--lv1 {
    font-size: 2rem;
    margin-bottom: 24px;
  }
}

/* カテゴリ一覧 リスト 親リンク */
.gg-topCatMenu .fs-pt-menu__heading--lv1 > a {
  display: block;
  position: relative;
}
.gg-topCatMenu .fs-pt-menu__heading--lv1 > a:hover {
  opacity: 0.7;
  transition: all 0.3s;
}

/* カテゴリ一覧 リスト 親サムネイル画像 */
.gg-topCatMenu .fs-pt-menu__heading--lv1 > a::before {
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 33%;
  display: block;
  margin: 0 0 16px;
  background: center center / cover no-repeat;
}
.gg-topCatMenu .fs-pt-menu__heading--lv1 > a::after {
  position: absolute;
  content: "";
  top: 0;
  left:0;
  display: block;
  width: 100%;
  height: 200px;/*どれだけデカくなってもはみ出ないであろう高さを指定*/
  background-size: contain;
  background-repeat: no-repeat;
}

/* カテゴリ一覧 子リスト */
.gg-topCatMenu .fs-pt-menu--lv2 {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -4px;
}
@media screen and (min-width: 768px) {
  .gg-topCatMenu .fs-pt-menu--lv2 {
    margin: 0 -16px;
  }
}

/* カテゴリ一覧 子リスト 特定の箇所だけ枠線追加 */
.gg-topCatMenu .fs-pt-menu--lv2 > li:nth-child(1),
.gg-topCatMenu .fs-pt-menu--lv2 > li:nth-child(2) {
  border-top: 1px solid #ddd;
}

/* カテゴリ一覧 子リスト リンク部分 */
.gg-topCatMenu .fs-pt-menu__item--lv2 {
  flex-basis: calc(50% - 8px);
  border-bottom: 1px solid #ddd;
  margin: 0 4px;
  padding: 8px 4px;
}
@media screen and (min-width: 768px) {
  .gg-topCatMenu .fs-pt-menu__item--lv2 {
    flex-basis: calc(50% - 32px);
    margin: 0 16px;
    padding: 16px 4px;
  }
}

/* カテゴリ一覧 リスト 親サムネイル画像URL */
.gg-topCatMenu .fs-pt_menu__item--circlemat a::after {
  background-image: url("https://ggumbi.itembox.design/item/banner/top-cat-circlemat.jpg");
}
.gg-topCatMenu .fs-pt_menu__item--guard a::after {
  background-image: url("https://ggumbi.itembox.design/item/banner/top-cat-guard.jpg");
}
.gg-topCatMenu .fs-pt_menu__item--playmat a::after {
  background-image: url("https://ggumbi.itembox.design/item/banner/top-cat-playmat.jpg");
}
.gg-topCatMenu .fs-pt_menu__item--goods a::after {
  background-image: url("https://ggumbi.itembox.design/item/banner/top-cat-goods.jpg");
}
.gg-topCatMenu .fs-pt_menu__item--pet a::after {
  background-image: url("https://ggumbi.itembox.design/item/banner/top-cat-pet.jpg");
}

/* さらに見るボタン */
.gg-more-link {
  text-align: center;
  margin: 24px 0 0;
}
@media screen and (min-width: 768px) {
  .gg-more-link {
    margin: 48px 0 0;
  }
}

/* さらに見るボタン 装飾 */
.gg-more-link a.fs-c-button--secondary {
  border: 1px solid #515151;
  border-radius: 100px;
  color: #515151;
  font-size: 1.4rem;
  margin: 0 auto;
  padding: 12px;
}
@media screen and (min-width: 768px) {
  .gg-more-link a.fs-c-button--secondary {
    font-size: 1.8rem;
    padding: 24px 12px;
    min-width: 480px;
  }
}

/* さらに見るボタン 下にPRバナーを入れる際の余白調整 */
.gg-more-link + .fs-pt-column {
    margin: 32px 8px 0;
}

/* ========================================
トップページ - スライドショー
=========================================== */

/* スライド設定 */
.swiper-slide {
  position: relative;
}

/* スライド リンク設定 */
.swiper-slide a {
  display: block;
  width: 100%;
  height: 100%
}

.swiper-slide a,
.swiper-slide a:active,
.swiper-slide a:hover {
  color: #222;
}

/* スライド 画像にテキストを被せる */
.swiper-bannerTextContainer {
  position: absolute;
  top: 0;
  left: 5%;
  width: 100%;
  height: 100%;
}
@media screen and (min-width: 768px) {
  .swiper-bannerTextContainer {
    left: 10%;
  }
}
@media screen and (min-width: 1024px) {
  .swiper-bannerTextContainer {
    left: 50%;
    transform: translateX(-50%);
    width: 860px;
  }
}
@media screen and (min-width: 1280px) {
  .swiper-bannerTextContainer {
    width: 1200px;
  }
}

/* PC用スライド 中央寄せ */
.swiperTopKeyVisual {
  max-width: 1920px;
  margin: 0 auto;
}

/* PC用スライド バナーテキスト位置 */
.swiperTopKeyVisual .swiper-bannerText {
  position: absolute;
  left: 0;
  top: 48%;
  transform: translateY(-50%);
}

/* SP用スライド バナーテキスト位置 */
.swiperTopKeyVisualSp .swiper-bannerText {
  position: absolute;
  left: 0;
  top: 5%;
}

/* スライド バナーテキストサイズ */
.swiper-bannerTextTitle {
 font-size: 3.4rem;
 line-height: 1.3;
}
swiper-bannerTextCaption {
 font-size: 1.6rem;
}
@media screen and (min-width: 768px) {
  .swiper-bannerTextTitle {
    font-size: 4.6rem;
  }
  .swiper-bannerTextCaption {
    font-size: 2rem;
    margin: 2rem 0;
  }
}
@media screen and (min-width: 1024px) {
  .swiper-bannerTextTitle {
    font-size: 6.2rem;
  }
  .swiper-bannerTextCaption {
    font-size: 2.4rem;
  }
}