@charset "Shift_JIS";

/* バナー枠
   ========================================================================== */

.jln-search-by-browsing-history-banner {
  position: fixed;
  left: 10px;
  bottom: 0;
  z-index: 2300;
}

.jln-search-by-browsing-history-banner__close {
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden;
  width: 20px;
  height: 21px;
  background: url(/jalan/doc/top/top_image/icon_tip_close.png) center no-repeat;
  background-size: 8px 9px;
  color: transparent;
  font: 0/0 a;
  text-shadow: none;
}

/* 前回検討したプランバナー
   ========================================================================== */

.jln-latest-browsed-plan-banner {
  cursor: pointer;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 245px;
  padding: 10px;
  border-radius: 5px 5px 0 0;
  background: rgba(51, 51, 51, 0.9);
  color: #fff;
}

.jln-latest-browsed-plan-banner__caption {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.3;
}

.jln-latest-browsed-plan-banner__info {
  overflow: hidden;
  margin: 10px 0 6px;
}

.jln-latest-browsed-plan-banner__photo {
  float: left;
  width: 50px;
  height: 38px;
  margin: 0 4px 0 0;
  text-align: center;
}

.jln-latest-browsed-plan-banner__image {
  max-width: 100%;
  max-height: 100%;
}

.jln-latest-browsed-plan-banner__name-and-tags {
  overflow: hidden;
}

.jln-latest-browsed-plan-banner__name {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.4;
  word-break: break-all;
}

.jln-latest-browsed-plan-banner__tags {
  overflow: hidden;
  margin-top: 4px;
}

.jln-latest-browsed-plan-banner__tags__item {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  min-width: 40px;
  margin-right: 4px;
  padding: 0 4px;
  border: 1px solid #918b8a;
  background: #fff;
  color: #918b8a;
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}

.jln-latest-browsed-plan-banner__tags__item.is-room {
  background: #f2e0c1;
}

.jln-latest-browsed-plan-banner__tags__item.is-meal {
  position: relative;
  padding-left: 18px;
}

.jln-latest-browsed-plan-banner__tags__item.is-meal::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 14px;
  background: #918b8a
    url(https://cdn.jalan.jp/assets/img/common/icons/icon_meallabel_gra.svg)
    center no-repeat;
  background-size: 9px 10px;
}

.jln-latest-browsed-plan-banner__tags__item.is-meal-none {
  padding-left: 4px;
}

.jln-latest-browsed-plan-banner__condition {
  margin: 6px 0 4px;
  font-size: 10px;
  line-height: 1.4;
}

.jln-latest-browsed-plan-banner__fee-and-action {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  margin: 4px 0;
}

.jln-latest-browsed-plan-banner__fee {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.4;
}

.jln-latest-browsed-plan-banner__fee__value {
  color: #e76610;
  font-size: 14px;
  font-style: normal;
  font-weight: bold;
}

.jln-latest-browsed-plan-banner__action {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 72px;
  flex: 0 0 72px;
  padding: 4px;
  border: 1px solid #2171e0;
  border-radius: 4px;
  background: #2297f4;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#38affc),
    to(#0174e7)
  );
  background: -webkit-linear-gradient(#38affc, #0174e7);
  background: linear-gradient(#38affc, #0174e7);
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}

.jln-latest-browsed-plan-banner__notes {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.3;
  text-align: right;
}

.jln-latest-browsed-plan-banner:hover .jln-latest-browsed-plan-banner__action {
  background: #2f5fd9;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#2182e7),
    to(#3844ce)
  );
  background: -webkit-linear-gradient(#2182e7, #3844ce);
  background: linear-gradient(#2182e7, #3844ce);
  color: #cde9f7;
}

/* 最近見た宿バナー
   ========================================================================== */

.jln-browsed-hotels-banner {
  cursor: pointer;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
  width: 245px;
  padding: 8px;
  border-radius: 4px;
  background: rgba(75, 75, 75, 0.95);
  color: #fff;
}

.jln-browsed-hotels-banner__caption {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.3;
}

.jln-browsed-hotels-banner__hotels__item {
  overflow: hidden;
  margin-top: 10px;
}

.jln-browsed-hotels-banner__hotels__item:first-child {
  margin-top: 0;
}

.jln-browsed-hotels-banner__photo {
  float: left;
  width: 50px;
  height: 38px;
  margin: 0 4px 0 0;
  text-align: center;
}

.jln-browsed-hotels-banner__image {
  max-width: 100%;
  max-height: 100%;
}

.jln-browsed-hotels-banner__name {
  overflow: hidden;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.4;
  word-break: break-all;
}

.jln-browsed-hotels-banner__action {
  display: block;
  margin: 10px auto 0;
  padding: 5px;
  border: 1px solid #2171e0;
  border-radius: 4px;
  background: #2297f4;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#38affc),
    to(#0174e7)
  );
  background: -webkit-linear-gradient(#38affc, #0174e7);
  background: linear-gradient(#38affc, #0174e7);
  font-size: 12px;
  font-weight: bold;
  line-height: 1.3;
  text-align: center;
}

.jln-browsed-hotels-banner:hover .jln-browsed-hotels-banner__action {
  background: #2f5fd9;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#2182e7),
    to(#3844ce)
  );
  background: -webkit-linear-gradient(#2182e7, #3844ce);
  background: linear-gradient(#2182e7, #3844ce);
  color: #cde9f7;
}

/* モーダル
   ========================================================================== */

.jln-search-by-browsing-history__overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: auto;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2300;
}

.jln-search-by-browsing-history__modal {
  position: absolute;
  top: 100px;
  left: 50%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 644px;
  padding: 19px 20px 20px;
  border-radius: 4px;
  background: #fff;
  color: #3b1800;
  z-index: 2301;
}

.jln-search-by-browsing-history__modal__close {
  cursor: pointer;
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 16px;
}

.jln-search-by-browsing-history__modal__caption {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
}

.jln-search-by-browsing-history__modal__caption .ji-search {
  color: #e77611;
  font-size: 24px;
  vertical-align: -2px;
}

.jln-search-by-browsing-history__modal__contents {
  position: relative;
  min-height: 80px;
}

.jln-search-by-browsing-history__modal__content {
  position: relative;
  margin-top: 20px;
}

.jln-search-by-browsing-history__modal__sub-caption {
  position: relative;
  margin-bottom: 8px;
  padding-left: 12px;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
}

.jln-search-by-browsing-history__modal__sub-caption::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  display: block;
  width: 3px;
  margin: 2.5px 0;
  background-color: #e77611;
  border-radius: 2px;
}

.jln-search-by-browsing-history__modal__content.is-search-history
  + .jln-search-by-browsing-history__modal__content.is-recommended-hotels {
  margin-top: 32px;
}

.jln-search-by-browsing-history__modal__notes {
  margin-top: 20px;
  font-size: 12px;
}

/* ローディング */
.jln-search-by-browsing-history__modal .is-loading {
  min-height: 40px;
}

.jln-search-by-browsing-history__modal .is-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: loading-spinner 1s linear infinite;
  animation: loading-spinner 1s linear infinite;
}

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

/* 宿一覧 */
.jln-search-by-browsing-history__modal__hotels {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-right: -20px;
}

.jln-search-by-browsing-history__modal__hotels__item {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 142px;
  flex: 0 0 142px;
  margin-right: 12px;
}

.jln-search-by-browsing-history__modal__hotel {
  cursor: pointer;
  display: block;
  height: 100%;
  border: 1px solid #bcb6b3;
}

.jln-search-by-browsing-history__modal__hotel:link,
.jln-search-by-browsing-history__modal__hotel:visited {
  color: #3b1800;
  text-decoration: none;
}

.jln-search-by-browsing-history__modal__hotel:hover
  .jln-search-by-browsing-history__modal__hotel__image {
  opacity: 0.7;
}

.jln-search-by-browsing-history__modal__hotel:hover
  .jln-search-by-browsing-history__modal__hotel__name {
  color: #e77611;
  opacity: 0.7;
}

.jln-search-by-browsing-history__modal__hotel__photo {
  position: relative;
  width: 100%;
  height: 105px;
}

.jln-search-by-browsing-history__modal__hotel__image {
  display: block;
  width: 100%;
  height: 100%;
  background: center no-repeat;
  background-size: contain;
  color: transparent;
  font: 0/0 a;
  text-shadow: none;
}

.jln-search-by-browsing-history__modal__hotel__image.is-no-photo {
  background-image: url(https://cdn.jalan.jp/assets/img/common/nophoto/nophoto_257x193@2x.png);
}

.jln-search-by-browsing-history__modal__hotel__info {
  padding: 4px 5px 9px;
}

.jln-search-by-browsing-history__modal__hotel__name {
  margin-bottom: 4px;
  color: #1558ce;
  font-size: 12px;
  line-height: 1.4;
  word-break: break-all;
}

.jln-search-by-browsing-history__modal__hotel__area {
  margin: 4px 0 8px;
  font-size: 10px;
  line-height: 1.3;
}

.jln-search-by-browsing-history__modal__hotel__fee {
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.2;
  text-align: right;
}

.jln-search-by-browsing-history__modal__hotel__fee__value {
  font-size: 12px;
  font-style: normal;
  font-weight: bold;
}

.jln-search-by-browsing-history__modal__hotels__more {
  margin-top: 10px;
  font-size: 12px;
  font-weight: bold;
  text-align: right;
}

.jln-search-by-browsing-history__modal__hotels__more a {
  text-decoration: none;
}

/* 検索履歴 */
.jln-search-by-browsing-history__modal__history {
  overflow: hidden;
  display: block;
  padding: 11px 9px;
  border: 1px solid #bcb6b3;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jln-search-by-browsing-history__modal__history:link {
  text-decoration: none;
}

.jln-search-by-browsing-history__modal__search-history__item
  + .jln-search-by-browsing-history__modal__search-history__item
  .jln-search-by-browsing-history__modal__history {
  border-top: 0;
}

/* おすすめ宿 */

.jln-search-by-browsing-history__modal__content.is-recommended-hotels
  .is-loading {
  min-height: 245px;
}
