/* cboxClose */
#cboxClose {
  width: 60px !important;
  height: 73px !important;
  top: 50px !important;
  right: 80px !important;
}
@media screen and (max-width: 767px) {
  #cboxClose {
    width: 40px !important;
    height: 55px !important;
    right: 30px !important;
    top: 30px !important;
  }
}

@media screen and (min-width: 768px) {
  #cboxContent {
    padding: 20px !important;
  }
}

#cboxClose:before {
  background-image: url(/common/img/tenpo/hc/icon_close.png) !important;
  width: 60px !important;
  height: 73px !important;
  right: 0px !important;
  top: 0px !important;
}
@media screen and (max-width: 767px) {
  #cboxClose:before {
    width: 40px !important;
    height: 55px !important;
  }
}


/* overlay */
#colorbox, #cboxOverlay, #cboxWrapper {
  z-index: 10000 !important;
}

#cboxOverlay {
  background: #ffffff !important;
}

/* modal-flow */
.genre-contents #modal-flow {
  display: none;
}

#modal-flow .catch__title {
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
#modal-flow .catch__text {
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}
#modal-flow .catch__item {
  -webkit-box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.15);
          box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.15);
}
@media screen and (min-width: 768px) {
  #modal-flow .catch__item {
    width: 33.3333333333%;
    max-width: 247px;
  }
}
#modal-flow .catch__item:nth-of-type(1) .item__number {
  max-width: 26px;
}
@media screen and (min-width: 768px) {
  #modal-flow .catch__item:nth-of-type(1) .item__number {
    max-width: 33px;
  }
}
#modal-flow .catch__item:nth-of-type(2) .item__number {
  max-width: 32px;
}
@media screen and (min-width: 768px) {
  #modal-flow .catch__item:nth-of-type(2) .item__number {
    max-width: 42px;
  }
}
#modal-flow .catch__item:nth-of-type(3) .item__number {
  top: 34px;
  max-width: 33px;
}
@media screen and (min-width: 768px) {
  #modal-flow .catch__item:nth-of-type(3) .item__number {
    max-width: 40px;
  }
}
@media screen and (min-width: 768px) {
  #modal-flow .catch__item .item__icon {
    min-height: 120px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}
#modal-flow .catch .item {
  position: relative;
  background: rgb(250, 245, 234);
  background: linear-gradient(-45deg, rgb(250, 245, 234) 0%, rgb(255, 254, 250) 100%);
}
#modal-flow .catch .item__number {
  position: absolute;
  top: 24px;
  left: 26px;
  width: 100%;
}
@media screen and (min-width: 768px) {
  #modal-flow .catch .item__number {
    top: 27px;
    left: 18px;
  }
}
#modal-flow .catch__item .item__title {
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
#modal-flow .catch__item .item__text {
  color: #303030;
}
#modal-flow .catch .hr {
  border-top: 1px solid #38251c;
  border-bottom: none;
}

.modal_flow_bg {
  background-image: url(/common/img/tenpo/hc/waku_middle.png);
  background-repeat: repeat-y;
  background-position: center;
}
@media screen and (max-width: 767px) {
  .modal_flow_bg {
    background-image: url(/common/img/tenpo/hc/waku_middle_sp.png);
    background-size: contain;
  }
}

.modal_flow_bg-inner {
  position: relative;
}
.modal_flow_bg-inner:before {
  content: "";
  position: absolute;
  background-image: url(/common/img/tenpo/hc/waku_top.png);
  background-repeat: no-repeat;
  display: inline-block;
  width: 887px;
  height: 25px;
  left: 0px;
  right: 0px;
  top: 0;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 767px) {
  .modal_flow_bg-inner:before {
    background-image: url(/common/img/tenpo/hc/waku_top_sp.png);
    width: 100%;
    height: 22px;
    background-size: contain;
  }
}

.modal_flow_bg-inner:after {
  content: "";
  position: absolute;
  background-image: url(/common/img/tenpo/hc/waku_bottom.png);
  background-repeat: no-repeat;
  display: inline-block;
  width: 887px;
  height: 25px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 767px) {
  .modal_flow_bg-inner:after {
    background-image: url(/common/img/tenpo/hc/waku_bottom_sp.png);
    width: 100%;
    height: 22px;
    background-size: contain;
  }
}

/* tenpo-btn */
.tenpo-btn-bopis {
  background-color: #c05100;
}

.tenpo-mark {
  background-color: #5ea36b;
}
