@charset "UTF-8";
/*
 * 店舗ページ（食品館ハーズ・HA-Z Classier）の見た目の磨き上げ（2026-09-15）
 *
 * テスト環境【B】の2ページを PC 1280px / スマホ 375px で撮影して見つけた点を直す。
 * 文言は変えない（改行の位置・揃え・枠・部品の並びだけ）。
 * このCSSは2ページでだけ読み込む（functions.php）。対象は <main class="store-page"> の中。
 */

/* ---------- 1. 日本語の改行（語の途中で折り返さない・最後の1〜2文字だけの行を作らない） ---------- */
.store-page .section-heading__title,
.store-page .section-heading__sub,
.store-page .story-block__title,
.store-page .value-card__title,
.store-page .category-card__title,
.store-page .approach-grid__title,
.store-page .concept-tagline,
.store-page .info-cols__col > p,
.store-page #concept .container--narrow > p,
.store-page #information p,
.store-page .ig-follow__body {
  word-break: auto-phrase;
  text-wrap: balance;
}
.store-page p {
  text-wrap: pretty;
}

/* ---------- 2. 「7つの部門」「7つのカテゴリ」の横スクロール ---------- */
/* 端にいるときは、その側のぼかしを消す（最初のカードの左端が白く抜けていた） */
.store-page .dept-marquee {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.store-page .dept-marquee.is-at-start {
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 40px), transparent 100%);
}
.store-page .dept-marquee.is-at-end {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 100%);
}
.store-page .dept-marquee.is-at-start.is-at-end {
  -webkit-mask-image: none;
  mask-image: none;
}
/* 戻れない／進めない側の矢印は出さない（写真に重なって見えにくかった） */
.store-page .dept-scroller__nav[disabled] {
  opacity: 0;
  pointer-events: none;
}
.store-page .dept-scroller__nav {
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

/* ---------- 3. 「とくべつな日」と「今月のチラシ」（PC） ---------- */
/* カレンダー側が長いので、チラシを画面に残して空白を作らない */
@media (min-width: 1025px) {
  .store-page .info-2col > #flyer {
    position: sticky;
    top: calc(72px + 1.5rem);
  }
}

/* ---------- 4. HA-Z Classier「お知らせ」（狭い列） ---------- */
/* 日付・分類を1行目に、タイトルを2行目に（タイトルが2〜3行に折れていた） */
.store-page .info-2col .news-list__item a {
  grid-template-columns: max-content max-content 1fr;
  column-gap: 0.75rem;
  row-gap: 0.45rem;
  padding: 1.1rem 0.25rem;
}
.store-page .info-2col .news-list__title {
  grid-column: 1 / -1;
}

/* ---------- 5. 食品館ハーズ「贈りものと、お集まりに。」「移動スーパー」 ---------- */
.store-page .info-cols--2 {
  column-gap: 1.5rem;
  align-items: stretch;
}
.store-page .info-cols__col {
  padding: 2.75rem 2.5rem 2.5rem;
  background: #fff;
}
.store-page .info-cols__col + .info-cols__col {
  border-left: 0;
}
.store-page .info-cols__col > p {
  max-width: 34em;
}
/* ボタンを下に揃え、高さを合わせる */
.store-page .info-cols__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
  margin-top: auto;
}
.store-page .info-cols__actions > .pdf-download,
.store-page .info-cols__actions > .btn {
  min-height: 52px;
  margin: 0;
}
@media (max-width: 1024px) {
  .store-page .info-cols--2 {
    row-gap: 1.25rem;
  }
  .store-page .info-cols__col,
  .store-page .info-cols__col:first-child {
    padding: 2.25rem 1.5rem 2rem;
  }
  .store-page .info-cols__col + .info-cols__col {
    border-top: 0;
  }
}
@media (max-width: 768px) {
  /* 狭い幅では手で入れた改行を使わない（「——」だけの行などができていた） */
  .store-page .info-cols__col > p br {
    display: none;
  }
}

/* ---------- 6. 「きちんと」とは（4項目） ---------- */
.store-page .approach-grid__item {
  border-left-width: 2px;
}

/* ---------- 8. とくべつな日：カレンダーの下の一覧（2026-09-15） ---------- */
/* 説明（凡例）と開催日の一覧が別々に2回出ていたのを、1行1件にまとめた */
.special-days {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #dcdcdc;
}
.special-days__item {
  display: grid;
  grid-template-columns: 7.25em minmax(0, 1fr);
  column-gap: 1.25rem;
  align-items: baseline;
  padding: 1rem 0.25rem;
  border-bottom: 1px solid #dcdcdc;
}
.special-days__when {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #222222;
}
.special-days__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.6rem;
  margin: 0;
}
/* 名前はカレンダーの黒いラベルと同じ見た目にして、カレンダーと見比べやすく */
.special-days__name {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  background: #222222;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.special-days__tag {
  font-size: 0.78rem;
  color: #6a6a6a;
  letter-spacing: 0.02em;
}
.special-days__desc {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #2a2a2a;
}
.special-days__note {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  line-height: 1.7;
  color: #767676;
  letter-spacing: 0.02em;
}
@media (max-width: 480px) {
  .special-days__item {
    grid-template-columns: 5.75em minmax(0, 1fr);
    column-gap: 0.85rem;
    padding: 0.9rem 0;
  }
  .special-days__when {
    font-size: 0.74rem;
  }
  .special-days__desc {
    font-size: 0.86rem;
  }
}

/* 定休日（HA-Z Classier の営業カレンダー）は、イベントの黒いラベルと見分けられるよう控えめに */
.event-calendar__badge--closed,
.special-days__name--closed {
  background: #fff;
  color: #4a4a4a;
  box-shadow: inset 0 0 0 1px #bdbdbd;
}

/* ---------- 7. 店舗情報の表 ---------- */
/* グレーの背景の上で、項目名だけ白く浮いてまだらに見えていた → 表全体を白い面に */
.store-page .section--bg .store-info {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-bottom: 0;
}
.store-page .section--bg .store-info dt {
  background: #f6f6f6;
}

/* ============================================================
   STORY（HA-Z Classier）― 恩田さんの書き下ろしを載せる文章の面。
   2026-09-19: クラシエの売り場写真がないため、写真なしで成立させる。
   ============================================================ */
.story-lead {
  text-align: center;
  font-size: 1rem;
  line-height: 2.2;
  letter-spacing: 0.05em;
  color: #4a4a4a;
  margin: 0 0 1.75rem;
}

.story-lead:last-of-type { margin-bottom: 0; }

.story-notes {
  list-style: none;
  margin: 3.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

/* カード本体 */
.story-note {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e4e4e4;
  padding: 2.25rem 2rem;
}

/* 写真は、カードの上辺いっぱいに回り込ませる */
.story-note--photo { padding-top: 0; }

.story-note__media {
  margin: 0 -2rem 1.75rem;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: #f2f2f2;
}

.story-note__no {
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  color: #8a8a8a;
  margin: 0;
}

.story-note__title {
  font-size: 1.0625rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  margin: 0.75rem 0 0;
  font-weight: 500;
}

/* 見出しの下に短い罫。セレクト基準のカードと表情を揃える */
.story-note__title::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: #d4d4d4;
  margin-top: 1rem;
}

.story-note__body {
  font-size: 0.9375rem;
  line-height: 2.1;
  letter-spacing: 0.04em;
  color: #4a4a4a;
  margin: 1rem 0 0;
}

.story-notes__foot {
  margin: 2.5rem 0 0;
  text-align: center;
  font-size: 0.875rem;
  line-height: 2;
  color: #6a6a6a;
  letter-spacing: 0.04em;
}

@media (min-width: 768px) {
  .story-notes { grid-template-columns: 1fr 1fr; }
}

/* リードは行の長さを揃えて、中央寄せでも散らからないようにする */
.story-lead {
  max-width: 46em;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}


@media (max-width: 767px) {
  .story-lead { font-size: 0.9375rem; line-height: 2.1; }
  .story-note { padding: 1.75rem 1.25rem; }
  .story-note--photo { padding-top: 0; }
  .story-note__media { margin: 0 -1.25rem 1.5rem; }
}


/* ============================================================
   CONCEPT（HA-Z Classier）― 写真を持たない中央寄せのリード。
   2026-09-19: 行の長さがばらついて散らかるため、幅を絞って揃える。
   ============================================================ */
.concept-single {
  max-width: 44em;
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
  line-height: 2.3;
  letter-spacing: 0.05em;
  color: #4a4a4a;
  text-wrap: balance;
}

@media (max-width: 767px) {
  .concept-single {
    font-size: 0.9375rem;
    line-height: 2.1;
    text-align: left;
  }
  /* スマホでは <br> を無効にして、画面幅で自然に折り返す */
  .concept-single br { display: none; }
}
