@charset "UTF-8";
/* ショッピングシティベル 子テーマ用スタイル（親テーマのCSSより後に読み込まれる） */

/* ==========================================================================
   共通: 正方形サムネイル
   ========================================================================== */
.p-hero .p-article12__img,
.p-hero .p-article13__img,
.p-index-event .p-article07__img,
.p-article01__img { display: block; position: relative; height: auto; aspect-ratio: 1 / 1; overflow: hidden; }

.p-hero .p-article12__img img,
.p-hero .p-article13__img img,
.p-index-event .p-article07__img img,
.p-article01__img img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 画像に重ねていたグラデーションを外す */
.p-hero .p-article12__img::before,
.p-index-event .p-article07__img::before,
.p-article01__img::before { content: none; }

/* ==========================================================================
   ① トップページ ヒーロー（左: スライダー / 右: 2×2）
   ========================================================================== */
.p-hero--type2 .p-hero__slider,
.p-hero--type2 .p-hero__slider-item,
.p-hero .slick-list,
.p-hero .slick-track { height: auto; }

/* 画像に重ねていた文字を画像の下へ（背景白・文字黒） */
.p-hero .p-article12__content { position: static; width: auto; margin: 0; padding: 20px 6.89655% 24px; background: #fff; color: #000; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; }
.p-hero .p-article12__title a { color: #000; }
.p-hero .p-article12__title a:hover { color: #999; }
.p-hero .p-article12 .p-date { color: #000; }

/* タイトルは2行まで（超えた分は「…」）、抜粋は出さない（2026-10-15 ご依頼。PC・スマホ共通） */
.p-hero .p-article12__title { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.p-hero .p-article12__excerpt { display: none; }

/* 前後ボタンは画像の中央に */
.p-hero__slider .slick-arrow { top: calc(25vw - 30px); bottom: auto; margin: 0; }

/* タブレットでも左右2列を保つ（親テーマは1279px以下で縦積み） */
@media screen and (min-width: 768px) {
  .p-hero { display: -webkit-box; display: -ms-flexbox; display: flex; }
  .p-hero__item { width: 50%; }
  .p-hero__item:only-child { width: 100%; }

  /* 左右の高さを揃える: 左のスライドを列いっぱいに伸ばし、文字欄の白背景で余りを埋める */
  .p-hero--type2 .p-hero__slider,
  .p-hero--type2 .p-hero__slider-item,
  .p-hero--type2 .slick-list,
  .p-hero--type2 .slick-track { height: 100%; }
  .p-hero--type2 .p-hero__slider-item.slick-slide { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; }
  .p-hero--type2 .p-hero__slider-item .p-article12__img { -ms-flex-negative: 0; flex-shrink: 0; }
  .p-hero--type2 .p-hero__slider-item .p-article12__content { -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; }
}

/* 右の2×2の罫線: 親テーマはマイナス余白で線を重ねていて、左のスライドと1px被り左端の線が欠けるため、各カードに左・下の線を持たせる */
.p-hero__post-list { margin-right: 0; border-bottom: 0; }
.p-hero__post-list-item { width: 50%; margin-left: 0; border-bottom: 1px solid #ddd; border-left: 1px solid #ddd; }
@media screen and (max-width: 767px) {
  .p-hero__post-list-item:nth-child(odd) { border-left: 0; }
}

@media screen and (max-width: 767px) {
  .p-hero .p-article12__content { padding: 15px 20px 18px; }

  /* スマホ: 左右のスライドを少し見せ、スライド間に10pxの余白（中央寄せは bell-slider.js の heroPeek） */
  .p-hero__slider .slick-slide { margin: 0 5px; }

  /* スマホ: 右側の4記事（ショップ）に上下左右の余白を入れ、枠線をなくす */
  .p-hero__post-list { gap: 12px; padding: 20px 20px 0; }
  .p-hero__post-list-item,
  .p-hero__post-list-item:nth-child(odd) { width: calc((100% - 12px) / 2); border: 0; }
  .p-hero .p-article13__lower { padding: 8px 0 4px; }
}

/* ==========================================================================
   ②③ トップページ 横スライダー（イベント・ショップ最新情報）
   並び・余白・ループは Swiper（assets/js/bell-slider.js）で制御する
   ========================================================================== */
.bell-slider { margin-bottom: 20px; }

/* 親テーマのグリッド指定を打ち消す（overflow: hidden のままだと横に送ったカードが切れる） */
.bell-slider .p-event-list,
.bell-slider .p-blog-list { -ms-flex-wrap: nowrap; flex-wrap: nowrap; margin: 0; overflow: visible; }
.bell-slider .p-blog-list__item { width: auto; }
.bell-slider .swiper-slide { height: auto; }
.bell-slider .p-event-list__loader { margin: 0 auto; }

/* スライダーにしない件数のとき（bell-slider.js が .is-static を付ける）。スライダーと同じ幅・余白で並べる */
.bell-slider.is-static .swiper-wrapper { -ms-flex-wrap: wrap; flex-wrap: wrap; gap: 20px 3.75%; }
.bell-slider.is-static .swiper-slide { -webkit-box-flex: 0; -ms-flex: 0 0 calc((100% - 7.5%) / 3); flex: 0 0 calc((100% - 7.5%) / 3); }
/* ショップはPC4枚表示（イベントは3枚） */
@media screen and (min-width: 992px) {
  .bell-slider.is-static .p-blog-list .swiper-slide { -ms-flex-preferred-size: calc((100% - 11.25%) / 4); flex-basis: calc((100% - 11.25%) / 4); }
}
@media screen and (max-width: 991px) {
  .bell-slider.is-static .swiper-wrapper { gap: 20px 5%; }
  .bell-slider.is-static .swiper-slide { -ms-flex-preferred-size: calc((100% - 10%) / 3); flex-basis: calc((100% - 10%) / 3); }
}
@media screen and (max-width: 767px) {
  .bell-slider.is-static .swiper-wrapper { gap: 20px 12px; }
  .bell-slider.is-static .swiper-slide { -ms-flex-preferred-size: calc((100% - 12px) / 2); flex-basis: calc((100% - 12px) / 2); }
}

/* イベント欄（2026-10-14 ご依頼）・ショップ欄（2026-10-15 ご依頼）とも前後ボタンを出さない。スワイプ・ドラッグで送る */
.bell-slider-nav { display: none !important; }

/* 前後ボタン */
.bell-slider-nav { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; gap: 12px; margin: 0 0 40px; }
.bell-slider-nav[hidden] { display: none; }
.bell-slider-nav__btn { position: relative; width: 44px; height: 44px; padding: 0; border: 1px solid #ddd; border-radius: 50%; background: #fff; cursor: pointer; -webkit-transition: background-color 0.2s ease, opacity 0.2s ease; transition: background-color 0.2s ease, opacity 0.2s ease; }
.bell-slider-nav__btn::before { position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; border-top: 2px solid #000; border-right: 2px solid #000; content: ""; }
.bell-slider-nav__btn--prev::before { -webkit-transform: translate(-25%, -50%) rotate(-135deg); transform: translate(-25%, -50%) rotate(-135deg); }
.bell-slider-nav__btn--next::before { -webkit-transform: translate(-75%, -50%) rotate(45deg); transform: translate(-75%, -50%) rotate(45deg); }
.bell-slider-nav__btn:hover:not(:disabled) { background: #eee; }
.bell-slider-nav__btn:disabled,
.bell-slider-nav__btn.swiper-button-disabled { opacity: 0.3; cursor: default; }

@media screen and (max-width: 767px) {
  .bell-slider-nav { margin-bottom: 20px; }
  .bell-slider-nav__btn { width: 36px; height: 36px; }
}

/* ==========================================================================
   ② トップページ イベント
   ========================================================================== */
/* 親テーマのフェードイン（inview）は横に隠れたカードで発火しないため、常に表示する */
.p-index-event .p-event-list__item { width: auto; margin: 0; -webkit-transform: none; transform: none; opacity: 1; }

/* 画像に重ねていた日付は出さない（タイトル下の実施期間で代替） */
.p-index-event .p-article07__date { display: none; }

.p-index-event .p-article07__cat { margin-top: 12px; }
.p-index-event .p-article07__title { margin-top: 8px; font-size: 16px; }

.p-article07__period { margin: 6px 0 0; color: #000; font-size: 14px; line-height: 1.6; }

@media screen and (max-width: 767px) {
  .p-index-event .p-article07__cat { margin-top: 8px; }
  .p-index-event .p-article07__title { margin-top: 6px; font-size: 13px; }
  .p-article07__period { font-size: 11px; }
}

/* ==========================================================================
   ③④ ショップ最新情報（トップ・一覧共通のカード）
   ========================================================================== */
/* 画像に重ねていた文字を画像の下へ（背景白・文字黒） */
.p-article01 a { color: #000; }
.p-article01 a:hover { color: #999; }
.p-article01__content { position: static; width: auto; padding: 12px 0 0; background: #fff; color: #000; }
.p-article01__meta { color: #999; }

/* 一覧（④）はスライダーではなく並べて表示。求人情報一覧と同じく、カードの間に上下左右の余白を入れる（2026-10-15 ご依頼。PC・スマホとも） */
.p-blog-list:not(.swiper-wrapper) { width: auto; margin-right: -10px; margin-left: -10px; }
.p-blog-list:not(.swiper-wrapper) .p-blog-list__item { padding: 0 10px; }
.p-blog-list:not(.swiper-wrapper) .p-article01__content { padding: 12px 0 24px; }

@media screen and (max-width: 767px) {
  .p-blog-list:not(.swiper-wrapper) { margin-right: -6px; margin-left: -6px; }
  .p-blog-list:not(.swiper-wrapper) .p-blog-list__item { padding: 0 6px; }
}

@media screen and (max-width: 500px) {
  .p-article01__content { padding: 8px 0 0; }
  .p-blog-list:not(.swiper-wrapper) .p-article01__content { padding: 8px 0 16px; }
}

/* ==========================================================================
   求人情報 一覧（/job/。TCD の「特集」投稿タイプの一覧を流用）
   ショップ一覧（④）と同じく、画像を正方形にし、重ねていた文字を画像の下に黒字で表示する
   ========================================================================== */
.p-special-list .p-article06__img { aspect-ratio: 1 / 1; overflow: hidden; }
.p-special-list .p-article06__img::before { content: none; }
.p-special-list .p-article06__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* カードの間に左右の余白を入れる（2026-10-14 ご依頼。PC・スマホとも） */
.p-special-list { margin-right: -10px; margin-left: -10px; }
.p-special-list__item { padding: 0 10px; }
.p-special-list .p-article06__title,
.p-special-list .p-article06__title:last-child { position: static; padding: 12px 0 24px; background: #fff; color: #000; }
.p-special-list .p-article06 a:hover .p-article06__title { color: #999; }

@media screen and (max-width: 767px) {
  .p-special-list { margin-right: -6px; margin-left: -6px; }
  .p-special-list__item { padding: 0 6px; }
}

@media screen and (max-width: 500px) {
  .p-special-list .p-article06__title,
  .p-special-list .p-article06__title:last-child { padding: 8px 0 16px; }
}

/* ==========================================================================
   イベント一覧（/event/）・過去イベント一覧（/past-event/）・イベントタグ一覧
   スマホは1列 → 2列にし、上下左右に余白を入れる（2026-10-15 ご依頼）。PC・タブレットは変更なし
   ========================================================================== */
@media screen and (max-width: 600px) {
  .p-event-list:not(.swiper-wrapper) { -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; }
  .p-event-list:not(.swiper-wrapper) .p-event-list__item { width: calc((100% - 12px) / 2); margin-bottom: 24px; }
  .p-event-list:not(.swiper-wrapper) .p-article07__cat { margin-top: 8px; }
  .p-event-list:not(.swiper-wrapper) .p-article07__title { margin-top: 6px; font-size: 13px; }
}
