/* =========================================================
   SITE 121 — CONCAFE MOBILE FIRST / トップ・下層固有
   ========================================================= */

/* ---------- COMPACT HERO ---------- */
.hero { padding-block: var(--sp-6) var(--sp-7); background: linear-gradient(180deg, var(--c-blue-050), #fff 70%); }
.hero__top { display: flex; align-items: center; gap: 8px; margin-bottom: var(--sp-3); }
.hero__title { font-size: var(--fs-hero); }
.hero__sub { margin-top: 6px; color: var(--c-ink-muted); font-size: var(--fs-body-lg); }
.hero__facts { margin-top: var(--sp-5); display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.hero__fact { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 12px 14px; }
.hero__fact-label { display: block; font-size: var(--fs-note); color: var(--c-ink-muted); font-weight: 700; }
.hero__fact-value { display: block; margin-top: 3px; font-size: var(--fs-body-lg); font-weight: 700; }
.hero__acts { margin-top: var(--sp-5); display: flex; flex-direction: column; gap: 10px; }
.hero__acts .btn { width: 100%; }
@media (min-width: 560px) {
  .hero__acts { flex-direction: row; }
  .hero__acts .btn { width: auto; flex: 1 1 auto; }
}

/* ---------- ステータス帯（本日の状況の1行） ---------- */
.statusbar { background: var(--c-ink-base); color: #fff; }
.statusbar__in { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; padding-block: 10px; }
.statusbar__text { font-weight: 700; font-size: var(--fs-note); }
.statusbar__sep { color: rgba(255,255,255,0.4); }
.statusbar__sub { font-size: var(--fs-note); color: #cfd3e8; }

/* ---------- TODAY（本日の出勤プレビュー） ---------- */
.today__row { display: flex; align-items: center; gap: var(--sp-3); overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.today__row::-webkit-scrollbar { display: none; }
.today__person { flex: none; width: 84px; text-align: center; }
.today__person .ph { width: 72px; height: 72px; border-radius: 50%; margin-inline: auto; }
.today__person-name { display: block; margin-top: 6px; font-size: var(--fs-note); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.today__person-time { display: block; font-size: 0.75rem; color: var(--c-ink-muted); white-space: nowrap; }
.today__empty { padding: var(--sp-4); text-align: center; color: var(--c-ink-muted); background: var(--c-bg-alt); border-radius: var(--r); }

/* ---------- QUICK MENU ---------- */
.qm__chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.qm__chips::-webkit-scrollbar { display: none; }
.qm__chips a.chip { display: inline-flex; white-space: nowrap; }
.qm__grid { margin-top: var(--sp-4); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.qm__item { display: block; }
.qm__item .ph { border-radius: var(--r); }
.qm__item-name { display: block; margin-top: 6px; font-size: var(--fs-note); font-weight: 700; line-height: 1.35; }
.qm__item-price { display: block; margin-top: 2px; font-size: var(--fs-note); color: var(--c-accent-strong); font-weight: 700; }

/* ---------- EVENT カード ---------- */
.event-grid { display: flex; flex-direction: column; gap: var(--sp-4); }
.event-card { display: grid; grid-template-columns: 108px minmax(0,1fr); gap: var(--sp-3); }
.event-card .ph { border-radius: var(--r); }
.event-card__cat { font-size: 0.75rem; font-weight: 700; color: var(--c-accent2-strong); }
.event-card__title { margin-top: 2px; font-size: var(--fs-body-lg); font-weight: 700; }
.event-card__date { margin-top: 4px; font-size: var(--fs-note); color: var(--c-ink-muted); }
.event-card--past { opacity: 0.65; }

.event-hero { display: flex; flex-direction: column; gap: var(--sp-4); }
.event-hero .ph { border-radius: var(--r); }
.event-hero__meta { display: flex; flex-direction: column; gap: 8px; }
.event-hero__cat { font-weight: 700; color: var(--c-accent2-strong); font-size: var(--fs-note); }
.event-hero__title { font-size: var(--fs-h2); }
.event-hero__facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin-top: 6px; }
.event-hero__fact { background: var(--c-bg-alt); border-radius: var(--r); padding: 10px 12px; font-size: var(--fs-note); }
.event-hero__fact b { display: block; font-size: var(--fs-body); }
.event-body p + p { margin-top: 10px; }
.event-related { display: flex; gap: 10px; overflow-x: auto; }

/* ---------- CAST グリッド ---------- */
.cast-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--sp-4); }
.cast-card { display: block; }
.cast-card .ph { border-radius: var(--r); aspect-ratio: 3/4; min-width: 0; }
.cast-card__name { display: block; margin-top: 8px; font-weight: 700; font-size: var(--fs-body-lg); }
.cast-card__role { display: block; font-size: var(--fs-note); color: var(--c-ink-muted); }
.cast-card__tags { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px; }
.cast-card__tags span { font-size: 0.75rem; background: var(--c-bg-alt); border-radius: var(--r); padding: 3px 8px; color: var(--c-ink-muted); }
@media (min-width: 560px) { .cast-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.person-detail { display: flex; flex-direction: column; gap: var(--sp-5); }
.person-detail__media .ph { border-radius: var(--r); aspect-ratio: 3/4; }
.person-detail__name { font-size: var(--fs-h1); }
.person-detail__role { color: var(--c-ink-muted); margin-top: 4px; }
.person-detail__tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.person-detail__tags span { font-size: var(--fs-note); background: var(--c-bg-alt); border-radius: var(--r); padding: 4px 10px; }
.person-week { display: flex; flex-direction: column; gap: 6px; }
.person-week__day { display: grid; grid-template-columns: 4.5rem 1fr auto; align-items: center; gap: var(--sp-3); padding: 10px 12px; border: 1px solid var(--c-line); border-radius: var(--r); }
.person-week__day--today { border-color: var(--c-accent); background: var(--c-blue-050); }
.person-week__time { font-weight: 700; }
.person-week__off { color: var(--c-ink-muted); }

/* ---------- SCHEDULE ---------- */
.sched-summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-4); background: var(--c-bg-alt); border-radius: var(--r); flex-wrap: wrap; }
.sched-summary__count { font-size: var(--fs-h3); font-weight: 700; }
.sched-summary__label { font-size: var(--fs-note); color: var(--c-ink-muted); }
.sched-mini { display: flex; align-items: center; gap: 6px; }
.sched-mini .ph { width: 40px; height: 40px; border-radius: 50%; }
.sched-mini__more { font-size: var(--fs-note); color: var(--c-ink-muted); font-weight: 700; }
.sched-people { display: flex; flex-direction: column; gap: var(--sp-3); }
.sched-people__item { display: grid; grid-template-columns: 52px minmax(0,1fr) auto; align-items: center; gap: var(--sp-3); padding: 10px; border: 1px solid var(--c-line); border-radius: var(--r); }
.sched-people__item .ph { width: 52px; height: 52px; border-radius: 50%; }
.sched-people__name { font-weight: 700; }
.sched-people__role { font-size: var(--fs-note); color: var(--c-ink-muted); }
.sched-people__time { font-weight: 700; white-space: nowrap; }

/* ---------- MENU ---------- */
.menu-tools { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; }
.menu-tools__current { font-size: var(--fs-note); color: var(--c-ink-muted); }
.menu-list { margin-top: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-3); }
.menu-item { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: var(--sp-3); padding: var(--sp-3); border: 1px solid var(--c-line); border-radius: var(--r); }
.menu-item .ph { border-radius: var(--r); aspect-ratio: 1/1; }
.menu-item__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.menu-item__name { font-weight: 700; font-size: var(--fs-body-lg); }
.menu-item__price { font-weight: 700; color: var(--c-accent-strong); white-space: nowrap; }
.menu-item__desc { margin-top: 4px; font-size: var(--fs-note); color: var(--c-ink-muted); }
.menu-item__meta { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.menu-item__meta span { font-size: 0.75rem; background: var(--c-bg-alt); border-radius: var(--r); padding: 2px 8px; color: var(--c-ink-muted); }
.sheet-cat-list { display: flex; flex-direction: column; }
.sheet-cat-item { display: flex; align-items: center; justify-content: space-between; min-height: var(--tap); padding: 12px 6px; border-bottom: 1px solid var(--c-line); font-weight: 700; }
.sheet-cat-item[aria-pressed="true"] { color: var(--c-accent-strong); }
.sheet-cat-item small { font-weight: 400; color: var(--c-ink-muted); }

/* ---------- SYSTEM（料金） ---------- */
.plan-grid { display: flex; flex-direction: column; gap: var(--sp-4); }
.plan { border: 1px solid var(--c-line); border-radius: var(--r); padding: var(--sp-4); }
.plan__name { font-weight: 700; font-size: var(--fs-body-lg); }
.plan__price { margin-top: 6px; font-size: var(--fs-h2); font-weight: 700; color: var(--c-accent-strong); }
.plan__unit { font-size: var(--fs-note); color: var(--c-ink-muted); font-weight: 400; }
.plan__desc { margin-top: 8px; color: var(--c-ink-muted); font-size: var(--fs-note); }
.plan__includes { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.plan__includes span { font-size: var(--fs-note); background: var(--c-bg-alt); border-radius: var(--r); padding: 4px 10px; }
.example-grid { display: flex; flex-direction: column; gap: var(--sp-4); }
.example { border: 1px solid var(--c-line); border-radius: var(--r); padding: var(--sp-4); }
.example__title { font-weight: 700; }
.example__rows { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.example__row { display: flex; justify-content: space-between; font-size: var(--fs-note); }
.example__total { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--c-line-strong); display: flex; justify-content: space-between; font-weight: 700; font-size: var(--fs-h4); }
.example__note { margin-top: 6px; }

/* ---------- CONCEPT ---------- */
.concept-lead { max-width: 46em; }
.term-grid { display: flex; flex-direction: column; gap: var(--sp-3); }
.flow { display: flex; flex-direction: column; gap: var(--sp-4); counter-reset: flow; }
.flow__step { position: relative; padding-left: 44px; }
.flow__step::before { counter-increment: flow; content: counter(flow); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--c-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.flow__step h3 { font-size: var(--fs-body-lg); }
.flow__step p { margin-top: 4px; color: var(--c-ink-muted); font-size: var(--fs-note); }

/* ---------- ACCESS ---------- */
.access-map .ph { border-radius: var(--r); }
.access-grid { margin-top: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-5); }
.route { display: flex; flex-direction: column; gap: var(--sp-3); }
.route__step { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: var(--sp-3); }
.route__num { width: 28px; height: 28px; border-radius: 50%; background: var(--c-bg-alt); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: var(--fs-note); }

/* ---------- NEWS ---------- */
.news-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.news-item { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: var(--sp-3); padding-bottom: var(--sp-4); border-bottom: 1px solid var(--c-line); }
.news-item:last-child { border-bottom: 0; padding-bottom: 0; }
.news-item .ph { border-radius: var(--r); aspect-ratio: 1/1; }
.news-item__date { font-size: var(--fs-note); color: var(--c-ink-muted); }
.news-item__cat { font-size: 0.75rem; font-weight: 700; color: var(--c-accent-strong); background: var(--c-blue-050); border-radius: var(--r); padding: 2px 8px; margin-left: 6px; }
.news-item__title { margin-top: 4px; font-weight: 700; }
.news-item__body { margin-top: 4px; font-size: var(--fs-note); color: var(--c-ink-muted); }

/* ---------- GALLERY ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.gallery-grid button { display: block; width: 100%; }
.gallery-grid .ph { border-radius: var(--r); }
@media (min-width: 560px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* ---------- RECRUIT ---------- */
.role-grid { display: flex; flex-direction: column; gap: var(--sp-4); }
.role-card { border: 1px solid var(--c-line); border-radius: var(--r); padding: var(--sp-4); }
.role-card__name { font-size: var(--fs-body-lg); font-weight: 700; }
.role-card__wage { margin-top: 6px; font-weight: 700; color: var(--c-accent-strong); }
.role-card__wagenote { font-size: var(--fs-note); color: var(--c-ink-muted); }
.role-card__summary { margin-top: 8px; color: var(--c-ink-muted); font-size: var(--fs-note); }
.role-card__items { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.role-card__items span { font-size: 0.75rem; background: var(--c-bg-alt); border-radius: var(--r); padding: 3px 8px; }

/* ---------- 汎用ページ内グリッド調整（PCで中央カラムを少し広げるのみ） ---------- */
@media (min-width: 640px) {
  .qm__grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .hero__facts { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
