/* KYABEL v6 / SITE 104 — pages.css
   トップ固有（HERO / MONTH STATUS / CALENDAR / EVENT）と下層固有のレイアウト。 */

/* ---------- ページヘッド（下層共通） ---------- */
.page-head { padding: var(--sp-6) 0 var(--sp-5); border-bottom: 1px solid var(--c-line); }
.page-head__title { font-size: var(--fs-h1); }
.page-head__lead { margin-top: var(--sp-3); color: var(--c-ink-soft); max-width: 640px; }

/* ---------- ヒーロー ---------- */
.hero { padding: var(--sp-6) 0 var(--sp-7); background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-deep) 100%); }
.hero__inner { display: flex; flex-direction: column-reverse; gap: var(--sp-6); }
.hero__title-sub { display: block; font-size: 0.8125rem; letter-spacing: var(--ls-label); color: var(--c-gold-tx); margin-bottom: var(--sp-2); font-family: var(--f-sans); font-weight: 700; }
.hero__title { font-size: var(--fs-h1); }
.hero__text { margin-top: var(--sp-4); color: var(--c-ink-soft); max-width: 56ch; }
.hero__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); margin-top: var(--sp-5); }
.hero__fact { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r); padding: var(--sp-3) var(--sp-4); }
.hero__fact dt { font-size: 0.75rem; color: var(--c-ink-mute); }
.hero__fact dd { font-weight: 700; margin-top: 2px; }
.hero__fact .unit { font-weight: 400; font-size: var(--fs-small); color: var(--c-ink-soft); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
.hero__media { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; border: 1px solid var(--c-line); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
  .hero__inner { flex-direction: row; align-items: center; }
  .hero__body { flex: 1.1; }
  .hero__media { flex: 1; }
}

/* ---------- MONTH STATUS（トップ最上段の営業案内） ---------- */
.mstatus { padding: var(--sp-5) 0; background: var(--c-bg-deep); border-bottom: 1px solid var(--c-line); }
.mstatus__grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); align-items: center; }
.mstatus__today { display: flex; flex-direction: column; gap: var(--sp-1); }
.mstatus__date { font-size: var(--fs-small); color: var(--c-ink-mute); }
.mstatus__headline { font-family: var(--f-display); font-size: 1.15rem; font-weight: 700; display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.mstatus__sub { font-size: var(--fs-small); color: var(--c-ink-soft); }
.mstatus__next { display: flex; align-items: center; gap: var(--sp-3); background: var(--c-surface); border: 1px solid var(--c-gold); border-radius: var(--r); padding: var(--sp-3) var(--sp-4); }
.mstatus__next-label { font-size: 0.6875rem; letter-spacing: var(--ls-label); color: var(--c-gold-tx); }
.mstatus__next-title { font-weight: 700; }
.mstatus__next-date { font-size: var(--fs-small); color: var(--c-ink-soft); }
.mstatus__tel { display: flex; align-items: center; gap: var(--sp-2); font-weight: 700; color: var(--c-gold-tx); white-space: nowrap; }

@media (min-width: 900px) {
  .mstatus__grid { grid-template-columns: 1.3fr 1.4fr auto; }
}

/* ---------- カレンダー ---------- */
.cal { display: flex; flex-direction: column; gap: var(--sp-5); }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; }
.cal__month { font-size: var(--fs-h3); }
.cal__nav { display: flex; align-items: center; gap: var(--sp-2); }
.cal__nav button { min-width: var(--h-tap); min-height: var(--h-tap); border: 1px solid var(--c-line); border-radius: var(--r-sm); padding: 0 var(--sp-3); font-weight: 700; font-size: var(--fs-small); }
.cal__nav button:disabled { opacity: 0.35; }
.cal__nav button[data-cal-today] { color: var(--c-gold-tx); border-color: var(--c-gold); }

.cal__legend { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-5); font-size: var(--fs-small); color: var(--c-ink-soft); }
.cal__legend li { display: flex; align-items: center; gap: var(--sp-2); }
.cal__swatch { width: 14px; height: 14px; border-radius: 4px; flex: none; border: 1px solid var(--c-line); }
.cal__swatch.is-open { background: rgba(111, 174, 126, 0.28); }
.cal__swatch.is-closed { background: rgba(230, 138, 124, 0.22); }
.cal__swatch.is-private { background: var(--c-gold-wash); }
.cal__swatch.is-special { background: rgba(220, 192, 127, 0.3); border-style: dashed; }
.cal__swatch.is-today { background: transparent; border: 2px solid var(--c-gold); }
.cal__swatch.is-event { background: var(--c-accent); border: none; }

.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow { text-align: center; font-size: 0.75rem; color: var(--c-ink-mute); padding: var(--sp-2) 0; }
.cal__dow.is-sun { color: var(--c-accent-tx); }
.cal__dow.is-sat { color: var(--c-gold-tx); }
.cal__cell {
  aspect-ratio: 1 / 1; min-width: 0; min-height: 0; width: 100%;
  border: 1px solid var(--c-line); border-radius: var(--r-sm);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: var(--c-surface); position: relative; padding: 2px;
}
.cal__cell.is-empty { border: none; background: transparent; }
.cal__cell.is-btn { cursor: pointer; }
.cal__cell.is-btn:hover { border-color: var(--c-gold); }
.cal__day { font-weight: 700; font-size: 0.9375rem; }
.cal__mark { font-size: 0.625rem; color: var(--c-ink-mute); line-height: 1.2; text-align: center; }
.cal__cell.is-closed { background: rgba(230, 138, 124, 0.08); }
.cal__cell.is-closed .cal__mark { color: var(--c-accent-tx); }
.cal__cell.is-private { background: var(--c-gold-wash); }
.cal__cell.is-private .cal__mark { color: var(--c-gold-tx); }
.cal__cell.is-special .cal__mark { color: var(--c-gold-tx); }
.cal__cell.is-special { border-style: dashed; border-color: var(--c-gold); }
.cal__cell.is-past { opacity: 0.5; }
.cal__cell.is-today { border: 2px solid var(--c-gold); box-shadow: 0 0 0 3px var(--c-gold-wash); }
.cal__cell.is-selected { outline: 2px solid var(--c-accent-tx); outline-offset: 1px; }
.cal__dot { position: absolute; bottom: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }

.cal__list { display: none; flex-direction: column; gap: var(--sp-2); }
.cal__list-item { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3); border: 1px solid var(--c-line); border-radius: var(--r-sm); background: var(--c-surface); width: 100%; text-align: left; }
.cal__list-item.is-today { border-color: var(--c-gold); }
.cal__list-date { flex: none; width: 3.6em; font-weight: 700; }
.cal__list-dow { font-size: var(--fs-small); color: var(--c-ink-mute); }
.cal__list-body { flex: 1; min-width: 0; }
.cal__list-title { font-size: var(--fs-small); color: var(--c-ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cal--list-active .cal__grid, .cal--list-active .cal__legend { display: none; }
.cal--list-active .cal__list { display: flex; }

.cal__panel { border: 1px solid var(--c-line); border-radius: var(--r); padding: var(--sp-5); background: var(--c-surface); }
.cal__panel-date { font-family: var(--f-display); font-size: 1.05rem; margin-bottom: var(--sp-3); }
.cal__panel-empty { color: var(--c-ink-mute); }
.cal__panel-people { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }
.cal__panel-people li { background: var(--c-surface-alt); border: 1px solid var(--c-line); border-radius: var(--r-pill); padding: 4px var(--sp-3); font-size: var(--fs-small); }

/* ---------- イベント一覧 / 詳細 ---------- */
.event-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.event-card { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-4); border: 1px solid var(--c-line); border-radius: var(--r); background: var(--c-surface); }
.event-card__top { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.event-card__date { font-weight: 700; color: var(--c-gold-tx); }
.event-card__title { font-size: 1.05rem; font-weight: 700; }
.event-card__body { color: var(--c-ink-soft); font-size: var(--fs-small); }
.event-card__actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-top: var(--sp-1); }
.event-card.is-finished { opacity: 0.7; }

.event-detail__badges { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-3); }
.event-detail__dates { font-weight: 700; margin-bottom: var(--sp-3); }
.event-detail__media { aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; margin-bottom: var(--sp-4); }
.event-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.event-detail__body p { margin-bottom: var(--sp-3); }
.event-detail__notice { font-size: var(--fs-small); color: var(--c-gold-tx); background: var(--c-gold-wash); border: 1px solid var(--c-gold); border-radius: var(--r-sm); padding: var(--sp-3); margin-bottom: var(--sp-3); }

.share-row { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px dashed var(--c-line); }
.share-row__url { font-size: var(--fs-small); color: var(--c-ink-mute); word-break: break-all; }
.share-btn[data-copied="true"] { background: var(--c-ok); border-color: var(--c-ok); color: #0F1D14; }

/* ---------- ママ挨拶 ---------- */
.mama { display: flex; flex-direction: column; gap: var(--sp-5); }
.mama__media { aspect-ratio: 3 / 4; max-width: 320px; border-radius: var(--r); overflow: hidden; }
.mama__media img { width: 100%; height: 100%; object-fit: cover; }
.mama__name { font-family: var(--f-display); font-size: 1.15rem; font-weight: 700; margin-top: var(--sp-3); display: flex; flex-direction: column; }
.mama__name span { font-size: var(--fs-small); font-weight: 400; color: var(--c-ink-mute); }
.mama__lead { font-size: var(--fs-lead); color: var(--c-gold-tx); font-weight: 700; margin-bottom: var(--sp-3); }
.mama__body p { margin-bottom: var(--sp-3); }
.mama__sign { margin-top: var(--sp-3); color: var(--c-ink-soft); }

@media (min-width: 800px) {
  .mama { flex-direction: row; align-items: flex-start; }
  .mama > div:first-child { flex: none; width: 260px; }
  .mama > div:last-child { flex: 1; }
}

/* ---------- はじめての方 / ガイド ---------- */
.guide { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
.guide__item { padding: var(--sp-4); border: 1px solid var(--c-line); border-radius: var(--r); background: var(--c-surface); }
.guide__icon { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; background: var(--c-gold-wash); color: var(--c-gold-tx); border-radius: var(--r-sm); margin-bottom: var(--sp-3); }
.guide__icon svg { width: 22px; height: 22px; }
.guide__title { font-size: 1.0625rem; margin-bottom: var(--sp-2); }
.guide__body { color: var(--c-ink-soft); font-size: var(--fs-small); }

.flow { display: flex; flex-direction: column; gap: var(--sp-4); }
.flow__item { display: flex; gap: var(--sp-4); align-items: flex-start; }
.flow__num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--c-accent); color: #FBF3EE; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.flow__title { font-size: 1.0625rem; margin-bottom: var(--sp-1); }
.flow__body { color: var(--c-ink-soft); font-size: var(--fs-small); }

@media (min-width: 700px) {
  .guide { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .guide { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 料金 ---------- */
.price-hero { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
.price-hero__item { padding: var(--sp-4); border: 1px solid var(--c-line); border-radius: var(--r); background: var(--c-surface); }
.price-hero__item.is-main { border-color: var(--c-gold); background: var(--c-gold-wash); }
.price-hero__name { font-size: var(--fs-small); color: var(--c-ink-soft); margin-bottom: var(--sp-1); }
.price-hero__price { font-family: var(--f-display); font-size: var(--fs-price); font-weight: 700; color: var(--c-gold-tx); }
.price-hero__note { font-size: var(--fs-small); color: var(--c-ink-soft); margin-top: var(--sp-2); }
@media (min-width: 700px) { .price-hero { grid-template-columns: repeat(3, 1fr); } }

.bill { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
.bill__item { padding: var(--sp-4); border: 1px solid var(--c-line); border-radius: var(--r); background: var(--c-surface); }
.bill__title { margin-bottom: var(--sp-2); }
.bill__meta { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-3); }
.bill__lines { display: flex; flex-direction: column; gap: var(--sp-1); font-size: var(--fs-small); border-bottom: 1px dashed var(--c-line); padding-bottom: var(--sp-3); margin-bottom: var(--sp-3); }
.bill__line { display: flex; justify-content: space-between; gap: var(--sp-3); }
.bill__line dt { color: var(--c-ink-soft); }
.bill__total { display: flex; justify-content: space-between; font-weight: 700; }
.bill__total dd { color: var(--c-gold-tx); font-size: 1.1rem; }
@media (min-width: 900px) { .bill { grid-template-columns: repeat(3, 1fr); } }

/* ---------- メニュー ---------- */
.menu-group { margin-bottom: var(--sp-6); }
.menu-group__title { font-size: 1.1rem; margin-bottom: var(--sp-3); padding-bottom: var(--sp-2); border-bottom: 1px solid var(--c-line); }
.menu-list { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
.menu-item { padding: var(--sp-3) var(--sp-4); border: 1px solid var(--c-line); border-radius: var(--r-sm); background: var(--c-surface); }
.menu-item__name { font-weight: 700; }
.menu-item__price { color: var(--c-gold-tx); font-weight: 700; margin-top: 2px; }
.menu-item__desc { font-size: var(--fs-small); color: var(--c-ink-soft); margin-top: var(--sp-1); }
.menu-item__meta { font-size: 0.75rem; color: var(--c-ink-mute); margin-top: var(--sp-1); }
.is-nonalc { color: var(--c-ok-tx); margin-right: var(--sp-2); }
@media (min-width: 700px) { .menu-list { grid-template-columns: repeat(2, 1fr); } }

/* ---------- お知らせ ---------- */
.news-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.news-item { display: flex; gap: var(--sp-4); padding: var(--sp-4); border: 1px solid var(--c-line); border-radius: var(--r); background: var(--c-surface); }
.news-item__media { flex: none; width: 120px; aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; }
.news-item__media img { width: 100%; height: 100%; object-fit: cover; }
.news-item__meta { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-small); color: var(--c-ink-mute); margin-bottom: var(--sp-1); flex-wrap: wrap; }
.news-item__title a { font-weight: 700; }
.news-item__summary { font-size: var(--fs-small); color: var(--c-ink-soft); margin-top: var(--sp-1); }
.article__title { font-size: var(--fs-h2); margin: var(--sp-2) 0 var(--sp-4); }
.article__media { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; margin-bottom: var(--sp-4); }
.article__media img { width: 100%; height: 100%; object-fit: cover; }
.article__body p { margin-bottom: var(--sp-3); }
@media (max-width: 560px) {
  .news-item { flex-direction: column; }
  .news-item__media { width: 100%; }
}

/* ---------- 店内ギャラリー ---------- */
.gal__grid { display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, 1fr); }
.gal__item { display: block; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--c-line); text-align: left; background: var(--c-surface); }
.gal__media { display: block; aspect-ratio: 4 / 3; }
.gal__media img { width: 100%; height: 100%; object-fit: cover; }
.gal__cap { display: block; padding: var(--sp-2) var(--sp-3); }
.gal__cat { display: block; font-size: 0.6875rem; color: var(--c-gold-tx); }
.gal__text { display: block; font-size: var(--fs-small); color: var(--c-ink-soft); }
@media (min-width: 700px) { .gal__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- アクセス ---------- */
.access { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
.access__map { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; border: 1px solid var(--c-line); }
.access__map img { width: 100%; height: 100%; object-fit: cover; }
.access__mapnote { font-size: 0.75rem; color: var(--c-ink-mute); margin-top: var(--sp-2); }
.walk { display: flex; flex-direction: column; gap: var(--sp-3); counter-reset: walk; }
.walk li { position: relative; padding-left: 2.4em; }
.walk li::before { counter-increment: walk; content: counter(walk); position: absolute; left: 0; top: 0; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--c-gold); color: #241C0E; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: var(--fs-small); }
@media (min-width: 900px) { .access { grid-template-columns: 1.1fr 1fr; } }

/* ---------- 出勤・営業日 ---------- */
.weekgrid { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
.weekday { padding: var(--sp-4); border: 1px solid var(--c-line); border-radius: var(--r); background: var(--c-surface); }
.weekday__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-3); flex-wrap: wrap; }
.weekday__date { font-weight: 700; }
.weekday__person { display: flex; gap: var(--sp-2); padding: var(--sp-1) 0; font-size: var(--fs-small); }
@media (min-width: 900px) { .weekgrid { grid-template-columns: repeat(2, 1fr); } }

.shift { display: flex; flex-direction: column; gap: var(--sp-3); }
.shift__row { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2) 0; border-bottom: 1px solid var(--c-line-soft); }
.shift__thumb { flex: none; width: 52px; aspect-ratio: 3 / 4; border-radius: var(--r-sm); overflow: hidden; }
.shift__thumb img { width: 100%; height: 100%; object-fit: cover; }
.shift__name { font-weight: 700; }
.shift__role { font-size: 0.75rem; color: var(--c-ink-mute); }
.shift__time { margin-left: auto; font-weight: 700; color: var(--c-gold-tx); white-space: nowrap; }
.shift__time.is-off { color: var(--c-ink-mute); font-weight: 400; }

/* ---------- 求人 ---------- */
.role__head { margin-bottom: var(--sp-4); }
.role__name { font-size: 1.15rem; margin-bottom: var(--sp-1); }
.role__wage { color: var(--c-gold-tx); font-weight: 700; margin-top: var(--sp-2); }
.role__duties { display: flex; flex-direction: column; gap: var(--sp-2); margin-top: var(--sp-2); }
.role__duties li { padding-left: 1.2em; position: relative; font-size: var(--fs-small); }
.role__duties li::before { content: "\2022"; position: absolute; left: 0; color: var(--c-gold); }
.day { display: flex; flex-direction: column; gap: var(--sp-3); }
.day__item { display: flex; gap: var(--sp-4); }
.day__time { flex: none; width: 4.5em; font-weight: 700; color: var(--c-gold-tx); }

/* ---------- CTA ブロック ---------- */
.cta-block { text-align: center; padding: var(--sp-4) 0; }
.cta-block__title { font-size: var(--fs-h2); margin-bottom: var(--sp-3); }
.cta-block p { color: var(--c-ink-soft); max-width: 56ch; margin: 0 auto var(--sp-5); }
.cta-block__row { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }

/* ---------- 求人ページ:トップ要約 ---------- */
.recruit-summary { display: flex; flex-direction: column; gap: var(--sp-3); }
.recruit-summary__item { display: flex; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-3); border: 1px solid var(--c-line); border-radius: var(--r-sm); background: var(--c-surface); }
