/**
 * 在庫切れレコメンドの CSS
 */

.out-of-stock-recommend .jln-out-of-stock__notes {
  font-size: 12px;
  color: #3b1800;
  font-weight: normal;
  position: absolute;
  right: 0;
  bottom: 0;
}

/* 「他の条件で検索する」枠 */
.out-of-stock-recommend .jln-other-condition {
  margin-top: 25px;
}

.out-of-stock-recommend .jln-other-condition .dn {
  display: none;
}

.out-of-stock-recommend .jln-other-condition__title {
  color: #3b1800;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  padding-left: 14px;
  border-left: 3px solid #e77611;
  text-align: left;
  margin-bottom: 12px;
  position: relative;
}

.out-of-stock-recommend .jln-other-condition__recommend {
  margin-top: 10px;
}

/* 「条件をクリアして再検索」と「別の日程だと空室があります」枠 */
.out-of-stock-recommend .jln-research-without-options,
.out-of-stock-recommend .jln-weekly-stock-calendar {
  box-sizing: border-box;
  background-color: #f7f5f2;
  padding: 17px 17px 17px 9px;
  position: relative;
  width: 100%;
  margin-left: 0;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  height: 74px;
}

.out-of-stock-recommend .jln-weekly-stock-calendar {
  min-height: 86px;
  margin-bottom: 12px;
  justify-content: space-between;
}

.out-of-stock-recommend .jln-research-without-options {
  margin-bottom: 10px;
}

.out-of-stock-recommend .jln-research-without-options__notes,
.out-of-stock-recommend .jln-weekly-stock-calendar__notes {
  font-size: 14px;
  color: #3b1800;
  text-align: left;
}

/* 「条件をクリアして再検索」ボタン */
.out-of-stock-recommend .jln-research-without-options__submit {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: 40px;
  width: 280px;
  border: 1px solid #938c89;
  border-radius: 4px;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#ffffff),
    to(#eae6e5)
  );
  background: -webkit-linear-gradient(top, #ffffff 0%, #eae6e5 100%);
  background: linear-gradient(180deg, #ffffff 0%, #eae6e5 100%);
  color: #3b1800;
  font-size: 14px;
  font-weight: bold;
  margin: 0 0 0 auto;
  display: block;
  cursor: pointer;
}

.out-of-stock-recommend .jln-research-without-options__submit:hover {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#f4f0ef),
    to(#ddd6d3)
  );
  background: -webkit-linear-gradient(top, #f4f0ef 0%, #ddd6d3 100%);
  background: linear-gradient(180deg, #f4f0ef 0%, #ddd6d3 100%);
  color: #595656;
}

/* 「別の日程だと空室があります」のカレンダー部分 */
.out-of-stock-recommend .jln-weekly-stock-calendar__calendar {
  margin-left: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .calendar-item {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #bcb6b3;
  border-left: 0;
  background-color: #ffffff;
  width: 82px;
  height: 42px;
  padding: 7px 0 8px;
  cursor: pointer;
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .calendar-item--out-of-stock {
  cursor: auto;
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .calendar-item:last-child {
  border-radius: 0 4px 4px 0;
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .calendar-item:first-child {
  border-left: 1px solid #bcb6b3;
  border-radius: 4px 0 0 4px;
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .calendar-item:only-of-type {
  border-radius: 4px;
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .calendar-date {
  display: block;
  text-align: center;
  font-size: 12px;
  color: #3b1800;
  line-height: 1;
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .is-saturday {
  color: #1094f7;
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .is-sunday,
.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .is-holiday {
  color: #e8104a;
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .calendar-stock {
  display: block;
  font-size: 12px;
  color: #1558ce;
  text-align: center;
  margin-top: 2px;
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .little-1-3-stock {
  display: block;
  line-height: 1;
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .little-4-9-stock {
  display: inline-block;
  position: relative;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 8px 15px 8px;
  border-color: transparent transparent #1558ce transparent
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .in-stock {
  display: inline-block;
  width: 14px;
  height: 14px;
  text-align: center;
  line-height: 18px;
  border-radius: 50%;
  border: solid 1px #1558ce;
}


.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .stock-value {
  font-size: 18px;
  font-weight: bold;
  display: inline !important;
  line-height: 17px;
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .calendar-item:hover {
  background-color: #fef5d8;
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .calendar-item:hover .calendar-stock {
  color: #e77611;
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .calendar-item:hover .in-stock {
  border: solid 1px #e77611;
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .calendar-item:hover .little-4-9-stock {
  border-bottom: solid 15px #e77611;
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .out-of-stock {
  display: block;
  position: relative;
  width: 13px;
  height: 13px;
  margin: 2px auto 0;
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .out-of-stock:before,
.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .out-of-stock:after {
  position: absolute;
  top: 50%;
  left: 0;
  content: '';
  display: block;
  width: 12px;
  border-top: 2px solid #3b1800;
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .out-of-stock:before {
  -webkit-transform: skewY(-45deg);
  transform: skewY(-45deg);
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .out-of-stock:after {
  -webkit-transform: skewY(45deg);
  transform: skewY(45deg);
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .calendar-item .calendar-day {
  display: block;
  font-size: 10px;
  text-align: center;
}

.out-of-stock-recommend .jln-weekly-stock-calendar__calendar .calendar-item--out-of-stock:hover {
  background-color: #fff;
}

/* カレンダーの凡例 */
.out-of-stock-recommend .jln-weekly-stock-calendar .jln-weekly-stock-calendar__legend {
  overflow: hidden;
  color: #3b1800;
  font-size: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;

}

.out-of-stock-recommend .jln-weekly-stock-calendar .jln-weekly-stock-calendar__legend-item {
  float: left;
  white-space: nowrap;
  margin-right: 8px;
}

.out-of-stock-recommend .jln-weekly-stock-calendar .jln-weekly-stock-calendar__legend-item:last-child {
  margin-right: 0;
}

/* 「現在の検索条件に近い宿」枠 */
.out-of-stock-recommend .jln-recommended-hotels {
  margin-top: 25px;
}

.out-of-stock-recommend .jln-recommended-hotels__title {
  color: #3b1800;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  padding-left: 14px;
  border-left: 3px solid #e77611;
  text-align: left;
  margin-bottom: 12px;
  position: relative;
}

.out-of-stock-recommend .jln-recommended-hotels__notes {
  font-size: 12px;
  color: #3b1800;
  font-weight: normal;
  position: absolute;
  right: 0;
  bottom: 0;
}

.out-of-stock-recommend .jln-recommended-hotels__container {
  margin-top: 8px;
  overflow-x: hidden;
  overflow-y: hidden;
}

.out-of-stock-recommend .jln-recommended-hotels__list {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  min-height: 270px;
}

.out-of-stock-recommend .jln-recommended-hotels .hotel-item {
  position: relative;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  min-height: 270px;
  width: 174px;
  border: 1px solid #bcb6b3;
  background-color: #ffffff;
  margin-left: 14px;
}

.out-of-stock-recommend .jln-recommended-hotels .hotel-item:first-child {
  margin-left: 0;
}

.out-of-stock-recommend .jln-recommended-hotels .image-outer {
  position: relative;
  width: 100%;
  height: 129px;
}

.out-of-stock-recommend .jln-recommended-hotels .image-outer .hotel-image {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
}

.out-of-stock-recommend .jln-recommended-hotels .hotel-info {
  padding: 5px 10px 10px;
}

.out-of-stock-recommend .jln-recommended-hotels .hotel-name {
  color: #1558ce;
  font-size: 12px;
  font-weight: bold;
  display: block;
  line-height: 16px;
  word-break: break-all;
}

.out-of-stock-recommend .jln-recommended-hotels .catch-copy {
  margin-top: 4px;
  color: #3b1800;
  font-size: 12px;
  max-height: 48px;
  word-break: break-all;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
  line-height: 16px;
}

.out-of-stock-recommend .jln-recommended-hotels .sample-fee {
  margin-top: 12px;
  color: #3b1800;
  font-size: 14px;
  font-weight: bold;
  text-align: right;
}

.out-of-stock-recommend .jln-recommended-hotels .sample-fee span {
  margin-right: 5px;
  font-size: 10px;
  font-weight: normal;
}

.out-of-stock-recommend .jln-recommended-hotels .hotel-item:hover .hotel-name {
  color: #e77611;
}

.out-of-stock-recommend .jln-recommended-hotels .hotel-item:hover .hotel-image {
  opacity: 0.7;
}

.out-of-stock-recommend .jln-recommended-hotels .dn {
  display: none;
}

.out-of-stock-recommend .jln-recommended-hotels .hotel-link {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  padding: 0 !important;
}

/* 在庫切れレコメンドのローディング */
.out-of-stock-recommend .jln-other-condition__loading {
  background-color: #f7f5f2;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 9;
}

.out-of-stock-recommend .jln-other-condition__loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  background: url('/assets/img/common/icons/icon_loading_gra_no_animation.svg')
    center no-repeat;
  background-size: contain;
  -webkit-animation: spinner 1s linear infinite;
  animation: spinner 1s linear infinite;
}

@-webkit-keyframes spinner {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spinner {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.out-of-stock-recommend .jln-other-condition__loading.dn {
  display: none;
}

.out-of-stock-recommend .jln-recommended-hotels .jln-other-condition__loading {
  background-color: #fff;
}
