﻿@charset "utf-8";
/*--------------------------------------------------------------------------------
  .time-tbl
--------------------------------------------------------------------------------*/
.time-tbl {
  --tbl-border-color: var(--color-primary-light);
  --tbl-th-bg: var(--color-primary-lighter2);
  --tbl-td-bg: var(--color-primary-lightest);
  line-height: var(--line-height-s);
}
.time-tbl_hours {
  white-space: nowrap;
  font-weight: 700;
  font-size: var(--fs-2l);
}
@media (min-width: 761px) {
  .time-tbl {
    width: 100%;
    border-collapse: collapse;
  }
  .time-tbl th,
  .time-tbl td {
    border: 1px solid var(--tbl-border-color);
    vertical-align: middle;
  }
  .time-tbl thead th {
    background-color: var(--tbl-th-bg);
    padding: var(--box-space-2s);
    font-weight: bold;
    text-align: center;
  }
  .time-tbl thead th:not(:first-of-type) { width: 15%; }
  .time-tbl tbody th,
  .time-tbl tbody td {
    padding: 1.25rem 1rem;
  }
  .time-tbl tbody th,
  .time-tbl tbody td:not(:nth-of-type(1)) { text-align: center; }
  .time-tbl tbody th {
    background-color: var(--tbl-td-bg);
  }
}
@media (max-width: 760px) {
  .time-tbl {
    font-size: var(--fs-s);
    display: grid;
    grid-template-columns: 1fr minmax(min-content, 15%) minmax(min-content, 15%);
    border: 1px solid var(--tbl-border-color);
  }
  .time-tbl thead { display: none; }
  .time-tbl tr,
  .time-tbl tbody {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
  }
  .time-tbl th,
  .time-tbl td {
    height: 100%;
    display: grid;
    align-items: center;
  }
  .time-tbl tbody tr:not(:first-of-type) {
    border-top: 1px solid var(--tbl-border-color);
  }
  .time-tbl tbody th,
  .time-tbl_group:before,
  .time-tbl_group:after {
    font-weight: bold;
    background-color: var(--tbl-th-bg);
    border-bottom: 1px solid var(--tbl-border-color);
    padding: 0.75rem;
  }
  .time-tbl tbody th:first-of-type {
    grid-column: 1 / 2;
  }
  .time-tbl_group:before,
  .time-tbl_group:after {
    text-align: center;
    grid-row: 1 / 2;
  }
  .time-tbl_group:before {
    content: "開 館";
    grid-column: 2 / 3;
  }
  .time-tbl_group:after {
    content: "閉 館";
    grid-column: 3 / 4;
  }
  .time-tbl tbody td { padding: 1rem 0.75rem; }
  .time-tbl_group:before,
  .time-tbl_group:after,
  .time-tbl tbody td:not(:first-of-type) {
    border-left: 1px solid var(--tbl-border-color);
  }
  .time-tbl_hours {
    text-align: center;
  }
}

/*--------------------------------------------------------------------------------
  .nighter-list
--------------------------------------------------------------------------------*/
.nighter-list {
  display: grid;
  row-gap: 0.5rem;
}
.nighter-list li { line-height: var(--line-height-2s); }
.nighter-list .colon { padding: 0 0.25rem; }
@media (min-width: 761px) {
  .nighter-list {
    grid-template-columns: auto auto auto 1fr;
  }
  .nighter-list li {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
  }
  .nighter-list .day_num2 {
    display: inline-block;
    min-width: 1.25em;
    white-space: nowrap;
    text-align: right;
  }
}
