/* レンタル選択画面の開閉ボタン */
.apc-rental-open {
	display: inline-block;
	font-weight: bold;
	cursor: pointer;
	border: 1px solid;
	border-radius: 10px;
	padding: 10px;
	color: #0691e3;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.apc-rental-open::after {
	content: ' +';
}
.apc-rental-open.active::after  {
	content: ' -';
}

/* ナンバースピナ */
#rental-choice .spinner-container {
  display: flex;
  justify-content: center;
  user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
#rental-choice .spinner-container .spinner {
  text-align: center;
  background: none;
  outline: none;
  pointer-events: none;
  border: none;
  width: 50px;
  padding: 0;
}
.spinner::-webkit-inner-spin-button,
.spinner::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
.spinner-sub,
.spinner-add {
  display: block;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  text-align: center;
  border: 1px solid #000;
  border-radius: 50%;
  cursor: pointer;
  line-height: 33px;
  font-size: 20px;
  user-select: none;
}

.spinner-sub.disabled,
.spinner-add.disabled {
  opacity: .5;
  pointer-events: none;
  cursor: default;
}

/* レンタル選択画面の各要素 */
#rental-choice {
 display: none;
}
#rental-choice #renta_choice_terminal {
 display: block;
 width: 100%;
 height: 2px;
}
#rental-choice h2 {
 margin-bottom: 20px;
}
#rental-choice .tebura-set-items-container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
#rental-choice .tebura-set-item {
    width: 100%;
}
#rental-choice h3 {
    border-left: none!important;
}
#rental-choice .set-main .right-info {
    width: 100%;
}
#rental-choice .tebura-set-item .set-main .price {
 margin-bottom: 5px;
}
#rental-choice.staycamp .nights {
 display: inline;
}
#rental-choice.daycamp .nights {
 display: none;
}
#rental-choice.staycamp span.daycamp-msg {
 display: none;
}
#rental-choice.daycamp span.daycamp-msg {
 display: inline;
 font-weight: bold;
}
#rental-choice .tebura-set-item .set-main .left-info {
    width: 100%;
    max-width: 400px;
    margin-right: 20px;
}
#rental-choice .tebura-set-item .set-main .left-info img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    object-position: center;
}
#rental-choice .specification {
    max-width: 410px;
    padding: 5px 10px;
    border: solid 2px #fff;
    border-radius: 10px;
    margin-bottom: 10px;
}
#rental-choice .set-choice_btn {
  display: block;
  width: 100px;
  height: 25px;
  margin-bottom: 5px;
  text-align: center;
  border: 1px solid #000;
  cursor: pointer;
  user-select: none;
}
#rental-choice .specification .tebura_set_release_btn,
#rental-choice .boxset-item .single_release_btn {
  display: none;
}
#rental-choice .specification.choiced .tebura_set_release_btn,
#rental-choice .boxset-item.choiced .single_release_btn {
    display: block;
    position: absolute;
    right: 3px;
    top: 3px;
    width: 25px;
    height: 23px;
    font-size: 25px;
    line-height: 20px;
    text-align: center;
    color: #fff;
    background: #0691e3;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
}
#rental-choice .set-choice_btn.choiced {
   background: #0691e3;
   border: none;
   color: #fff;
}
#rental-choice .specification.choiced {
   position: relative;
   border-color: #0691e3;
}
#rental-choice .specification.nostock {
  pointer-events: none;
  cursor: default;
}
#rental-choice .specification.nostock .set-choice_btn {
  border:none;
}
#rental-choice .boxset-item {
    border: 2px solid #fff;
    border-radius: 10px;
    padding: 10px;
}
#rental-choice .boxset-item.choiced {
    border-color: #0691e3;
    position: relative;
}
#rental-choice .boxset-item.choiced:before{
    content: '選択中';
    color: #fff;
    background: #0691e3;
    padding: 2px 5px;
    border-radius: 5px;
    display: block;
    position: absolute;
    top: -5px;
    left: -5px;
}
#rental-choice .boxset-item img {
    object-fit: contain;
}

/* Hbookの標準コントロールのポップアップ化 */
.popup_hb-options-total-price {
    position: fixed!important;
    width: 340px;
    left: auto;
    right: -10px;
    z-index: 9999;
    background: #fdf9ef;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px;
    padding-bottom: 80px;
    animation: popanime .5s ease-out forwards;
}
.popup_hb-next-step-2 {
    position: fixed!important;
    max-width: 180px;
    left: auto;
    right: 0;
    z-index: 9999;
    padding: 20px 10px;
    animation: popanime .5s ease-out forwards;
}
.popup_hb-next-step-2 input{
    background: #93484b!important;
    font-size: 1.1em;
}
@keyframes popanime {
  from {
    bottom: -100px;
  }
  to {
    bottom: -20px;
  }
}

/* その他要素 */
#rental-choice .rental-kiyaku {
    max-width: 700px;
    position: relative;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    border:1px solid #ccc;
    padding:15px;
    margin-bottom: 30px;
    box-shadow: 5px 5px #aaa;
}
#rental-choice .rental-kiyaku span.doui {
	color: #f08080;
	font-weight: bold;
}
#rental-choice .to-single {
    text-align: center;
    margin-bottom: 20px;
}
#rental-choice .to-tebura-set-detail {
    font-size: .8em;
}
#rental-choice .fa-custom {
    padding-right:3px;
    vertical-align:1px;
}
#rental-choice .badge, #rental-choice .badge2 {
    color: #fff;
    background: #f08080;
    padding: 2px 5px;
    border-radius: 5px;
}
#rental-choice .badge2 {
    background: #ffa500;
}
#rental-choice .subtotal {
    font-weight: bold;
    font-size: 1.3em;
    margin-right: 3px;
}
#rental-choice .renpaku {
    font-size: .9em;
    line-height: 1.4em;
    margin-bottom: 5px;
}
#rental-choice .renpaku.n1 {
    display: none;
}
#rental-choice .renpaku .discount {
    font-weight: bold;
    font-size: 1.2em;
}

/* レスポンシブ */
@media screen and (min-width: 768px) {
#rental-choice .tebura-set-item {
    width: calc(100% - 2%);
    margin: 1%;
}
#rental-choice .boxset-item {
    width: calc(25% - 2%);
}
#rental-choice .to-single {
    display: none;
}
}
@media screen and (min-width: 1024px) {
#rental-choice .tebura-set-item {
    width: calc(50% - 2%);
    margin: 1%;
}
#rental-choice .boxset-item {
    width: calc(20% - 2%);
}
}