@charset "Shift_JIS";

/* 在庫カレンダー枠
   ========================================================================== */

.styleguide-scope .jln-room-calendar {
  padding: 8px 8px 4px;
}

.styleguide-scope .jln-room-calendar__heading {
  position: relative;
  display: -webkit-box;
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 8px;
}

.styleguide-scope .jln-room-calendar__caption {
  color: #3b1800;
  font-size: 12px;
  font-weight: bold;
}

.styleguide-scope .jln-room-calendar__help {
  cursor: pointer;
  font-size: 14px;
  vertical-align: -1px;
}

.styleguide-scope .jln-room-calendar__help-content {
  position: absolute;
  top: 0;
  transform: translateY(calc(-100% - 16px));
  display: none;
  width: 100%;
  padding: 9px;
  border: 1px solid #bcb6b3;
  border-radius: 4px;
  background: #fff;
}

.styleguide-scope .jln-room-calendar__help-content::before,
.styleguide-scope .jln-room-calendar__help-content::after {
  content: '';
  position: absolute;
  left: 41px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 16px 17px 0 17px;
  border-color: transparent;
}

.styleguide-scope .jln-room-calendar__help-content::before {
  bottom: -16px;
  border-top-color: #bcb6b3;
}

.styleguide-scope .jln-room-calendar__help-content::after {
  bottom: -15px;
  border-top-color: #fff;
}

/* カレンダーの凡例 */
.styleguide-scope .jln-room-calendar__legend {
  overflow: hidden;
  color: #3b1800;
  font-size: 12px;
}

.styleguide-scope .jln-room-calendar__legend-item {
  float: left;
  white-space: nowrap;
}

.styleguide-scope .jln-room-calendar__legend-item:not(:last-child) {
  margin-right: 8px;
}

/* カレンダーの注釈 */
.styleguide-scope .jln-room-calendar__notes {
  padding-left: 1em;
  color: #3b1800;
  font-size: 12px;
  text-indent: -1em;
}

.styleguide-scope .jln-room-calendar__nav {
  -webkit-box-flex: 1;
  flex-grow: 1;
  font-size: 12px;
  text-align: right;
}

/* 週間カレンダー
   ========================================================================== */

.styleguide-scope .jln-room-calendar__weekly .calendar-grid {
  display: -webkit-box;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  min-height: 70px;
  border: 1px solid #bcb6b3;
  border-radius: 4px;
}

.styleguide-scope .jln-room-calendar__weekly .calendar-cell {
  -webkit-box-flex: 1;
  flex: 1;
  padding: 7px 0;
  border-left: 1px solid #bcb6b3;
  color: #3b1800;
  font-size: 10px;
  text-align: center;
}

.styleguide-scope .jln-room-calendar__weekly .calendar-cell:first-child {
  border-left: 0;
}

.styleguide-scope .jln-room-calendar__weekly .calendar-cell.has-stock {
  cursor: pointer;
}

.styleguide-scope .jln-room-calendar__weekly .calendar-date {
  display: block;
  line-height: 1.2;
}

.styleguide-scope .jln-room-calendar__weekly .calendar-date br {
  display: none;
}

.styleguide-scope .jln-room-calendar__weekly .calendar-stock {
  display: table;
  width: 100%;
  height: 44px;
  color: #1558ce;
}

.styleguide-scope .jln-room-calendar__weekly .calendar-stock.out-of-stock {
  color: #3b1800;
}

.styleguide-scope .jln-room-calendar__weekly .calendar-icon,
.styleguide-scope .jln-room-calendar__weekly .calendar-rooms {
  display: table-cell;
  vertical-align: middle;
}

.styleguide-scope .jln-room-calendar__weekly .calendar-icon {
  font-size: 18px;
  font-style: normal;
}

.styleguide-scope .jln-room-calendar__weekly .calendar-number {
  font-size: 16px;
  font-weight: bold;
}

.styleguide-scope .jln-room-calendar__weekly .calendar-cell.has-stock:hover {
  background: #fef5d8;
}

.styleguide-scope
  .jln-room-calendar__weekly
  .calendar-cell.has-stock:hover
  .calendar-stock {
  color: #e77611;
}

/* 土曜日  */
.styleguide-scope .jln-room-calendar__weekly .calendar-dow-6 {
  color: #1094f7;
}

/* 日曜日, 祝日 */
.styleguide-scope .jln-room-calendar__weekly .calendar-dow-0,
.styleguide-scope .jln-room-calendar__weekly .calendar-holiday {
  color: #e8104a;
}

@media screen and (max-width: 374px) {
  .styleguide-scope .jln-room-calendar__weekly .calendar-date br {
    display: block;
  }
}

/* 在庫カレンダーモーダル
   ========================================================================== */

.styleguide-scope .jln-room-calendar-modal {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  z-index: 100;
}

.styleguide-scope .jln-room-calendar-modal__overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #000;
  opacity: 0.6;
}

.styleguide-scope .jln-room-calendar-modal__content {
  position: absolute;
  top: 87px;
  right: 16px;
  bottom: auto;
  left: 16px;
  padding: 12px 8px;
  border-radius: 4px;
  background: #fff;
}

.styleguide-scope .jln-room-calendar-modal__caption {
  margin-bottom: 12px;
  padding-right: 20px;
  color: #3b1800;
  font-size: 14px;
  font-weight: bold;
}

.styleguide-scope .jln-room-calendar-modal__close {
  cursor: pointer;
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 12px;
}

.styleguide-scope .jln-room-calendar-modal__monthly-container {
  position: relative;
  margin: 12px 0 8px;
}

.styleguide-scope .jln-room-calendar-modal__loading,
.styleguide-scope .jln-room-calendar-modal__error {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  background: rgba(255, 255, 255, 0.7);
}

.styleguide-scope .jln-room-calendar-modal__loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: url(/assets/img/common/icons/icon_loading_gra.svg) center
    no-repeat;
  background-size: contain;
}

.styleguide-scope .jln-room-calendar-modal__error {
  top: 36px;
}

.styleguide-scope .jln-room-calendar-modal__error-message {
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
  color: #3b1800;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
}

/* カレンダーの凡例 */
.styleguide-scope .jln-room-calendar-modal__legend {
  overflow: hidden;
  margin: 8px 0;
  color: #3b1800;
  font-size: 12px;
}

.styleguide-scope .jln-room-calendar-modal__legend-item {
  float: left;
  white-space: nowrap;
}

.styleguide-scope .jln-room-calendar-modal__legend-item:not(:last-child) {
  margin-right: 8px;
}

/* カレンダーの注釈 */
.styleguide-scope .jln-room-calendar-modal__notes {
  margin-top: 8px;
  padding-left: 1em;
  color: #3b1800;
  font-size: 12px;
  text-indent: -1em;
}

/**
 * 月間カレンダー
 */

/* カレンダーのコントロール  */
.styleguide-scope .jln-room-calendar__monthly .calendar-controls {
  width: 100%;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  margin-bottom: 12px;
}

.styleguide-scope .jln-room-calendar__monthly .calendar-nav {
  flex-basis: 24px;
}

.styleguide-scope .jln-room-calendar__monthly .calendar-month {
  -webkit-box-flex: 1;
  flex-grow: 1;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.styleguide-scope .jln-room-calendar__monthly .calendar-prev,
.styleguide-scope .jln-room-calendar__monthly .calendar-next {
  cursor: pointer;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #918b8a;
  vertical-align: middle;
}

.styleguide-scope .jln-room-calendar__monthly .calendar-prev.inactive,
.styleguide-scope .jln-room-calendar__monthly .calendar-next.inactive {
  display: none;
}

.styleguide-scope .jln-room-calendar__monthly .calendar-prev .ji,
.styleguide-scope .jln-room-calendar__monthly .calendar-next .ji {
  color: #fff;
}

/* カレンダーの本倍 */
.styleguide-scope .jln-room-calendar__monthly .calendar-table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
}

.styleguide-scope .jln-room-calendar__monthly .calendar-cell {
  border: 1px solid #bcb6b3;
  color: #3b1800;
  font-size: 10px;
}

.styleguide-scope .jln-room-calendar__monthly thead .calendar-cell {
  padding: 7px;
  font-size: 12px;
  text-align: center;
}

.styleguide-scope
  .jln-room-calendar__monthly
  thead
  .calendar-cell:nth-child(6) {
  color: #1094f7;
}

.styleguide-scope
  .jln-room-calendar__monthly
  thead
  .calendar-cell:nth-child(7) {
  color: #e8104a;
}

.styleguide-scope .jln-room-calendar__monthly tbody .calendar-cell {
  height: 69px;
  padding: 6px 0;
  text-align: center;
  vertical-align: top;
}

.styleguide-scope .jln-room-calendar__monthly tbody .calendar-cell.inactive,
.styleguide-scope
  .jln-room-calendar__monthly
  tbody
  .calendar-cell.adjacent-month {
  color: #bcb6b3;
  background: #eee;
}

.styleguide-scope .jln-room-calendar__monthly tbody .calendar-cell.has-stock {
  cursor: pointer;
}

.styleguide-scope .jln-room-calendar__monthly tbody .calendar-date {
  display: block;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.2;
}

.styleguide-scope .jln-room-calendar__monthly tbody .calendar-stock {
  display: table;
  width: 100%;
  height: 42px;
  color: #1558ce;
}

.styleguide-scope
  .jln-room-calendar__monthly
  tbody
  .calendar-stock.out-of-stock {
  color: #3b1800;
}

.styleguide-scope .jln-room-calendar__monthly tbody .calendar-icon,
.styleguide-scope .jln-room-calendar__monthly tbody .calendar-rooms {
  display: table-cell;
  vertical-align: middle;
}

.styleguide-scope .jln-room-calendar__monthly tbody .calendar-icon {
  font-size: 18px;
  font-style: normal;
}

.styleguide-scope .jln-room-calendar__monthly tbody .calendar-number {
  font-size: 16px;
  font-style: normal;
  font-weight: bold;
}

.styleguide-scope
  .jln-room-calendar__monthly
  tbody
  .calendar-cell.has-stock:hover {
  background: #fef5d8;
}

.styleguide-scope
  .jln-room-calendar__monthly
  tbody
  .calendar-cell.has-stock:hover
  .calendar-stock {
  color: #e77611;
}

/* 土曜日 */
.styleguide-scope .jln-room-calendar__monthly tbody .calendar-dow-6 {
  color: #1094f7;
}

/* 日曜日, 祝日 */
.styleguide-scope .jln-room-calendar__monthly tbody .calendar-dow-0,
.styleguide-scope .jln-room-calendar__monthly tbody .calendar-holiday {
  color: #e8104a;
}