/* ワンポイント & 個人レッスン 縦表示サンプル */
.one-per-vertical {
  width: 100%;
}

.one-per-vertical th {
  text-align: center;
}

.one-per-vertical__date-head {
  width: 120px;
}

.one-per-vertical__slots {
  display: grid;
  grid-template-columns: repeat(6, minmax(92px, 1fr));
  gap: 14px;
  align-items: start;
  padding: 16px;
  text-align: center;
}

.one-per-vertical__slot {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 78px;
  box-sizing: border-box;
  padding: 10px 8px;
  border-bottom: 0;
  line-height: 1.5;
}

.one-per-vertical__staff {
  display: block;
  font-weight: bold;
  text-align: center;
}

.one-per-vertical__time {
  white-space: nowrap;
}

.one-per-vertical__empty {
  color: #999;
}

.one-per-vertical .busy-mark {
  color: #ff4d2d;
  font-size: 0.9em;
  margin-right: 2px;
}

.one-per-vertical .staff-asakawa {
  background: #dff3ec;
}

.one-per-vertical .staff-naito {
  background: #fff3d8;
}

.one-per-vertical .staff-kobayashi {
  background: #f0eaf8;
}

.one-per-vertical .staff-kuroki {
  background: #e5f1d5;
}

.one-per-vertical .staff-aoyagi {
  background: #e1edf7;
}

@media screen and (max-width: 768px) {
  .one-per-vertical__date-head {
    width: 74px;
  }

  .one-per-vertical__slots {
    grid-template-columns: repeat(3, minmax(74px, 1fr));
    gap: 8px;
    padding: 10px 8px;
  }

  .one-per-vertical__slot {
    min-height: 72px;
    padding: 8px 6px;
    font-size: 0.82rem;
  }

  .one-per-vertical__time {
    white-space: normal;
  }
}
