.system { --system-line: #202020; padding: 28px var(--page-gutter) max(80px, calc(env(safe-area-inset-bottom) + 68px)); color: #080808; background: #fff; }
.system [hidden] { display: none !important; }
.system__inner { max-width: 1000px; margin-inline: auto; }
.system__title { margin: 0; font-size: clamp(52px, 15.6vw, 110px); font-weight: 800; line-height: 1; letter-spacing: -.035em; }
.system__subtitle { margin: 2px 0 12px; padding-left: 7px; font-size: 13px; font-weight: 800; line-height: 1.4; }
.system__today { margin: 0 7px 0; font-size: 13px; font-weight: 800; line-height: 1.3; }
.system__entrance { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding-left: 7px; font-size: 13px; line-height: 1.3; font-weight: 800; }
.system__entrance::after { content: ''; flex: 1; border-top: 1px solid var(--system-line); }
.system__prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 18px; padding-bottom: 9px; border-bottom: 1px solid var(--system-line); }
.system__price { min-width: 0; padding-inline: clamp(6px, 1.8vw, 20px); }
.system__price + .system__price { border-left: 1px solid var(--system-line); }
.system__price dt { font-size: 13px; font-weight: 800; line-height: 1.2; }
.system__price dd { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; margin: 3px 0 0; white-space: nowrap; }
.system__amount { font-size: clamp(25px, 7.1vw, 44px); font-weight: 800; line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.system__yen { margin-right: 2px; font-size: .58em; letter-spacing: 0; }
.system__drink { font-size: clamp(13px, 3.6vw, 19px); line-height: 1; }
.system__meta { display: grid; grid-template-columns: 1fr 1.04fr 1.14fr; margin: 4px 14px 10px; font-size: clamp(10px, 2.9vw, 15px); line-height: 1.35; }
.system__meta > * { margin: 0; padding: 4px 5px; }
.system__meta > * + * { border-left: 1px solid var(--system-line); }
.system__hours { display: grid; grid-template-columns: auto auto; column-gap: 6px; justify-content: space-between; align-content: start; }
.system__hours dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.system__age { text-align: center; }
.system__identification { text-align: center; }
.system__link { display: grid; grid-template-columns: 20px minmax(0, 1fr) 20px; align-items: center; gap: 6px; width: 100%; min-height: 36px; padding: 6px 8px; border: 1px solid var(--system-line); text-align: center; text-decoration: none; font-size: clamp(11px, 2.9vw, 15px); line-height: 1.4; }
.system__link > span:first-child { grid-column: 2; }
.system__arrow { grid-column: 3; font-size: 20px; line-height: 1; }
.system__link:hover { color: #fff; background: #111; }
.system__link:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
.system__closed { margin: 18px 7px; font-size: 24px; font-weight: 800; }
@media (min-width: 768px) {
  .system { padding-top: 56px; }
  .system__subtitle { margin-bottom: 24px; font-size: 18px; }
  .system__today, .system__entrance { font-size: 18px; }
  .system__entrance { margin-bottom: 24px; }
  .system__prices { margin-inline: 40px; padding-bottom: 18px; }
  .system__price { padding-inline: 40px; }
  .system__price dt { font-size: 18px; }
  .system__amount { font-size: 54px; }
  .system__drink { font-size: 23px; }
  .system__meta { margin: 12px 36px 24px; font-size: 17px; }
  .system__meta > * { padding: 8px 18px; }
  .system__link { max-width: 680px; min-height: 48px; margin-inline: auto; }
}

/* TOPの料金数字のみKoulen。通貨記号・ドリンク数は既存フォントを維持。 */
.system [data-system-men-price], .system [data-system-women-price] { font-family: "Koulen", sans-serif; font-size: 1.5em; font-weight: 400; letter-spacing: 0; }
@media (max-width: 359px) {
  .system__prices { margin-inline: 8px; }
}

/* Time-band prices (inc/rates.php): weekday or weekend table for today. */
.rate-table__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.system__rates { margin: 0 14px; }
.system__rate-label { margin: 0 0 6px; padding-left: 4px; font-size: 12px; font-weight: 700; line-height: 1.5; }
.system__rate-label span { margin-right: 8px; letter-spacing: .06em; }
.system .rate-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
.system .rate-table th, .system .rate-table td { padding: 7px clamp(4px, 1.8vw, 18px); text-align: left; white-space: nowrap; }
.system .rate-table thead th { padding-block: 0 4px; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.system .rate-table thead th:first-child { width: 32%; }
.system .rate-table tbody > tr > * { border-top: 1px solid var(--system-line); }
.system .rate-table tbody > tr:last-child > * { border-bottom: 1px solid var(--system-line); }
.system .rate-table tbody th { font-size: clamp(12px, 3.4vw, 16px); font-weight: 800; }
.system .rate-table td + td { border-left: 1px solid var(--system-line); }
.system .rate-table__price { font-family: "Koulen", sans-serif; font-size: clamp(22px, 6.4vw, 34px); line-height: 1.1; }
.system .rate-table__yen { margin-right: 1px; font-size: .55em; }
.system .rate-table__drinks { margin-left: 5px; font-size: clamp(11px, 3.2vw, 15px); }
.system .rate-table__note { margin: 4px 0 0; text-align: right; font-size: 11px; opacity: .7; }
@media (min-width: 768px) {
  .system__rates { margin-inline: 40px; }
  .system__rate-label { font-size: 15px; }
  .system .rate-table thead th { font-size: 14px; }
  .system .rate-table th, .system .rate-table td { padding-block: 12px; }
  .system .rate-table__price { font-size: 42px; }
  .system .rate-table__drinks { font-size: 18px; }
}
