/* ouen-shop.css - カシマアカデミー商店街（応援店）ページ（2026-07-11新設）
   ※店舗データはテスト表示用の仮データ。実装ルールは 00_はじめに.md「サブページ実装の確定ルール」準拠 */

/* ---------- リード：キャッチコピー（events.cssの.ev-catch同形） ---------- */
.os-catch {
  font-family: var(--font-head);
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 36px;
}

.os-catch span {
  color: var(--accent);
}

.os-catch__br {
  display: none;
}

/* リード本文 */
.os-lead {
  max-width: 780px;
  margin: 0 auto;
}

.os-lead p {
  font-size: 15px;
  line-height: 2;
}

.os-lead p + p {
  margin-top: 12px;
}

.os-lead-note {
  max-width: 780px;
  margin: 20px auto 0;
}

/* ---------- 加盟店募集：ページ前半で事業者向け導線を明示 ---------- */
.os-recruit-callout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 48px;
  align-items: end;
  max-width: 1040px;
  margin: 48px auto 0;
  padding: clamp(30px, 5vw, 56px);
  color: #fff;
  background:
    radial-gradient(circle at 92% 12%, rgba(0, 84, 167, 0.72), transparent 42%),
    var(--secondary);
  border-radius: 6px;
  box-shadow: var(--shadow-2);
}

.os-recruit-callout__eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.os-recruit-callout__badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 18px;
  padding: 5px 12px;
  color: var(--secondary);
  background: var(--accent);
  border-radius: 100vmax;
  font-size: 12px;
  font-weight: 700;
}

.os-recruit-callout__title {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.os-recruit-callout__text,
.os-recruit-callout__action p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.9;
}

.os-recruit-callout__text {
  margin: 22px 0 0;
}

.os-recruit-callout__action p {
  margin: 0 0 22px;
}

.os-recruit-callout__action .btn-cta-lg {
  width: 100%;
}

.os-recruit-callout__jump {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- ステップ／メリットカード（events.cssの.ev-feature同形：影付き白箱＋金ラベル） ---------- */
.os-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.os-step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-1);
  padding: 32px 28px;
}

.os-step__label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 12px;
}

.os-step h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.os-step p {
  font-size: 14px;
  line-height: 1.9;
}

.os-step strong {
  color: var(--primary);
}

.os-step-grid + .sec-note {
  margin-top: 24px;
}

/* ---------- 絞り込みUI（consultation.cssのフォーム部品と同形） ---------- */
.os-filter {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr auto;
  gap: 16px;
  align-items: end;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 20px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.form-input,
.form-select {
  width: 100%;
  height: 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.form-input::placeholder {
  color: var(--text-sub);
  opacity: 0.7;
}

.os-filter__submit .btn-std {
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  height: 48px;
}

/* 表示件数（aria-live） */
.os-count {
  font-size: 13px;
  color: var(--text-sub);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

/* ---------- 店舗カード ---------- */
.os-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.os-shop {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.os-shop[hidden] {
  display: none;
}

/* 写真枠：仮データ用のNO IMAGEプレート（濃紺地＋エンブレム）
   ※通常カードなので角丸はカードに従う（border-radius:0の四角ルールはパートナーロゴ枠限定） */
.os-shop__photo {
  position: relative;
  height: 150px;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.os-shop__photo img {
  width: auto;
  height: 84px;
  opacity: 0.9;
}

.os-shop__noimage {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}

.os-shop__body {
  padding: 20px 22px 24px;
}

.os-shop__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.os-shop__tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  border-radius: 2px;
  color: var(--text-inverse);
}

.os-shop__tag--genre {
  background: var(--primary);
}

.os-shop__tag--area {
  background: var(--secondary);
}

.os-shop__name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

/* 特典：「」内に明記（ゼルビ屋型の見せ方） */
.os-shop__benefit {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--primary);
  margin-bottom: 10px;
}

.os-shop__benefit-label {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  margin-right: 8px;
  background: var(--grad-gold);
  color: var(--text-inverse);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
  border-radius: 2px;
  vertical-align: 2px;
}

.os-shop__desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-sub);
}

/* 0件メッセージ */
.os-empty {
  margin-top: 8px;
  padding: 32px 16px;
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-sub);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.os-shops-note {
  margin-top: 24px;
}

/* ---------- JOINセクション ---------- */
.os-join-lead {
  max-width: 780px;
  margin-bottom: 32px;
  font-size: 15px;
  line-height: 2;
}

.os-join-action {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .os-recruit-callout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .os-filter {
    grid-template-columns: 1fr 1fr;
  }

  .os-filter__field--keyword {
    grid-column: 1 / -1;
  }

  .os-filter__submit {
    grid-column: 1 / -1;
  }

  .os-filter__submit .btn-std {
    width: 100%;
    justify-content: space-between;
  }

  .os-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .os-catch {
    text-align: left;
    margin-bottom: 28px;
  }

  .os-catch__br {
    display: inline;
  }

  .os-lead p {
    font-size: 14px;
    line-height: 1.9;
  }

  .os-recruit-callout {
    margin-top: 36px;
    padding: 28px 22px;
  }

  .os-recruit-callout__title {
    font-size: 30px;
  }

  .os-recruit-callout__action .btn-cta-lg {
    min-width: 0;
  }

  .os-step-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .os-filter {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 16px;
  }

  .os-shop-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .os-join-lead {
    font-size: 14px;
    line-height: 1.9;
  }

  .os-join-action .btn-cta-lg {
    width: 100%;
  }
}

/* ---------- タグ色分け（フェーズG 2026-07-26）：業種＝カテゴリ別の淡色バッジ／エリア＝濃紺系で統一（別系統） ----------
   前例＝TOP NEWSバッジのカテゴリ色分け（パートナー金・ジュニアユース青・イベント緑・お知らせ紫）に倣い、
   店舗カードは点数が多いため淡色（薄地＋濃文字）でトーンを抑えている。 */
.os-shop__tag--genre {
  background: var(--surface);
  color: var(--secondary);
}

.os-shop__tag--g-food      { background: #f5edd9; color: #8a6a1f; } /* 飲食＝金系 */
.os-shop__tag--g-shopping  { background: #e2edf8; color: #0054a7; } /* 買い物＝青系 */
.os-shop__tag--g-beauty    { background: #f9e4e9; color: #a83a55; } /* 美容・健康＝ローズ系 */
.os-shop__tag--g-sports    { background: #e1f2e7; color: #187a3e; } /* スポーツ＝緑系 */
.os-shop__tag--g-learning  { background: #ebe5f4; color: #6b4fa0; } /* 学び＝紫系 */
.os-shop__tag--g-life      { background: #dff0ef; color: #1b7672; } /* 暮らし＝青緑系 */

/* エリアは業種と別系統＝濃紺ベタ（従来どおり統一） */
.os-shop__tag--area {
  background: var(--secondary);
  color: var(--text-inverse);
}


/* ---------- 加盟店一覧の準備中ボックス（2026-07-27・events.cssの汎用パターンを移植） ---------- */
.ev-preparing {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-1);
  padding: 40px 28px;
  text-align: center;
}

.ev-preparing__text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-sub);
}

.ev-preparing__action {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}


/* ---------- 公開後イメージのモックアップ（2026-07-27・合成1枚画像方式＝どの幅でも崩れない） ---------- */
.os-mock {
  margin-top: 48px;
}

.os-mock__title {
  text-align: center;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--secondary);
}

.os-mock__stage {
  max-width: 880px;
  margin: 20px auto 0;
}

.os-mock__img {
  display: block;
  width: 100%;
  height: auto;
}

.os-mock .sec-note {
  text-align: center;
  margin-top: 14px;
}
