/*****************************
Bubutasu Slot
*****************************/
.wrapper {
  background-color: rgba(0,0,0,0.5);
}
.bbSection {
  overflow: hidden;
}
.dialog-bbslot {
  margin: 6px;
}
.dialog-bbslot .dialog-head {
  background-size: cover;
  border-radius: 8px 8px 0 0;
  position: relative;
  z-index: 200;
}
.dialog-bbslot .head-img {
  position: relative;
  width: auto;
  text-align: center;
}
.dialog-bbslot .head-img img {
  width: 200px;
  display: block;
  margin: 0px auto 0;
  pointer-events: none;
  user-select: none;
}
.dialog-bbslot .dialog-main {
  padding-top: 2rem;
  background: repeating-linear-gradient(90deg, transparent, transparent 18px, #fff195 18px, #fff195 48px);
  background-color: #ffdf5e;
  border-radius: 6px;
  margin-top: -28px;
}
.dialog-bbslot .dialog-head .btn-close {
  display: block;
  position: absolute;
  top: 12px;
  right: 0px;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  margin: 0 0.5rem;
  background-color: #fff;
  margin-left: auto;
  box-shadow: 0 0 0 3px #ffde02, 0 3px 0 3px #ffc402;
}
.dialog-bbslot .dialog-head .btn-close:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  border-radius: 2px;
  height: 20px;
  background: #3d3d3d;
  transform: translate(-50%, -50%) rotate(45deg);
}
.dialog-bbslot .dialog-head .btn-close:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  border-radius: 2px;
  height: 20px;
  background: #3d3d3d;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.bbLoading {
  position: relative;
  font-size: 1.4rem;
  padding: 32px 8px;
  top: 100px;
  text-align: center;
}
.bbBannerBox {
  background-position-y: 20px;
  background-size: 100%;
  height: 100vh;
  width: 100%;
}
.bbBanner {
  width: 100%;
  height: 325px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.bbBanner img {
  display: block;
  width: 400px;
  pointer-events: none;
  user-select: none;
}
.bbIntroduce {
  font-size: 1.4rem;
  top: 100px;
  text-align: center;
  color: #fff;
  background-color: rgba(0,0,255,0.7);
}
.bbSlot {
  position: relative;
  top: -4000px;
  background: url("../img/bb_base_slot1.png") center 0 no-repeat, repeating-linear-gradient(90deg, transparent, transparent 18px, #fff195 18px, #fff195 48px);
  background-size: 400px 83px;
  background-color: #ffdf5e;
  padding-top: 83px;
  margin: 0 auto;
  width: 100%;
  animation: fade-in 0.6s;
  animation-fill-mode: forwards;
}
.bbpresent {
  background: url("../img/bb_base_slot5.png") center bottom no-repeat, url("../img/bb_base_slot2.png") center 0 repeat-y;
  background-size: 400px 40px, 400px 20px;
  padding-top: 2px;
  padding-bottom: 3px;
  pointer-events: none;
  user-select: none;
}
.bbimagebox {
  width: 281px;
  margin: 0 auto 6px;
  padding: 2px 2px;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 0 4px rgba(0,0,0,0.5);
}
.bbimagebox img {
  width: 100%;
  box-sizing: border-box;
  border-top: 1px solid #676767;
  border-right: 1px solid #acacac;
  border-bottom: 1px solid #acacac;
  border-left: 1px solid #909090;
}
.bbtextbox {
  color: #fff;
  background: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#0c0c0c));
  border-top: 1px solid #28292c;
  border-right: 1px solid #56585b;
  border-bottom: 1px solid #56585b;
  border-left: 1px solid #2b2c2f;
  border-radius: 3px;
  box-shadow: 0 0 4px rgba(0,0,0,0.5) inset;
  width: 265px;
  margin: 0 auto;
  padding: 4px 10px;
}
.bblanebox {
  width: 320px;
  height: 142px;
  position: relative;
  margin: 0 auto;
}
.bblanebox:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 142px;
  background: url("../img/bb_centerline.png") center center no-repeat;
  background-size: 320px 25px;
  pointer-events: none;
  user-select: none;
}
.bbwindow {
  width: 100%;
  background: url("../img/bb_base_slot3.png") center 0 no-repeat;
  background-size: 400px 142px;
  pointer-events: none;
  user-select: none;
}
.bblane {
  position: absolute;
  width: 85px;
  height: 125px;
}
.bblane:after {
  content: "";
  display: block;
  position: absolute;
  width: 84px;
  height: 125px;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(103,51,0,0.5)), color-stop(0.36, rgba(103,51,0,0.1)), color-stop(0.69, rgba(84,34,0,0)), to(rgba(84,34,0,0.5)));
}
/*スロットの初期位置*/
#lane1 {
  left: 25px;
  top: 8px;
  background: url("../img/bb_slot1.png") 0 190px repeat-y;
  background-size: 84px 480px;
  pointer-events: none;
  user-select: none;
}
#lane2 {
  left: 118px;
  top: 8px;
  background: url("../img/bb_slot2.png") 0 -210px repeat-y;
  background-size: 84px 480px;
  pointer-events: none;
  user-select: none;
}
#lane3 {
  left: 210px;
  top: 8px;
  background: url("../img/bb_slot3.png") 0 30px repeat-y;
  background-size: 84px 480px;
  pointer-events: none;
  user-select: none;
}
.lose #lane1 {
  left: 25px;
  top: 8px;
  background: url("../img/bb_slot1.png") 0 -50px repeat-y;
  background-size: 84px 480px;
  pointer-events: none;
  user-select: none;
}
.lose #lane2 {
  left: 118px;
  top: 8px;
  background: url("../img/bb_slot2.png") 0 -50px repeat-y;
  background-size: 84px 480px;
  pointer-events: none;
  user-select: none;
}
.lose #lane3 {
  left: 210px;
  top: 8px;
  background: url("../img/bb_slot3.png") 0 -130px repeat-y;
  background-size: 84px 480px;
  pointer-events: none;
  user-select: none;
}
.bingo #lane1 {
  left: 25px;
  top: 8px;
  background: url("../img/bb_slot1.png") 0 -50px repeat-y;
  background-size: 84px 480px;
  pointer-events: none;
  user-select: none;
}
.bingo #lane2 {
  left: 118px;
  top: 8px;
  background: url("../img/bb_slot2.png") 0 -50px repeat-y;
  background-size: 84px 480px;
  pointer-events: none;
  user-select: none;
}
.bingo #lane3 {
  left: 210px;
  top: 8px;
  background: url("../img/bb_slot3.png") 0 -50px repeat-y;
  background-size: 84px 480px;
  pointer-events: none;
  user-select: none;
}
.bbbuttonbox {
  background: url("../img/bb_base_slot4.png") center 0 no-repeat;
  background-size: 400px 100px;
  position: relative;
  min-height: 100px;
}
.bbslotButton {
  width: 172px;
  height: 65px;
  background: url("../img/bb_button_start.png") 0 0 no-repeat;
  background-size: 172px auto;
  margin: 0 auto;
}
.bbloginButton {
  width: 172px;
  background-color: #ff0;
  background-size: 172px auto;
  margin: 0 auto;
  text-align: center;
  padding: 16px 0;
  border-radius: 4px;
}
.lose .bbbuttonbox .bbslotButton {
  display: none;
}
.lose .bbbuttonbox:before {
  content: "";
  display: block;
  position: absolute;
  top: -164px;
  width: 100%;
  height: 232px;
  background: url("../img/bb_base_lose.png") center center no-repeat;
  background-size: 320px 232px;
  pointer-events: none;
  user-select: none;
}
.bingo .bbbuttonbox {
  height: 100px;
}
.bingo .bbbuttonbox .bbslotButton {
  display: none;
}
.bingo .bbbuttonbox:before {
  content: "";
  display: block;
  position: absolute;
  top: -164px;
  width: 100%;
  height: 232px;
  background: url("../img/bb_base_bingo.png") center center no-repeat;
  background-size: 320px 232px;
  pointer-events: none;
  user-select: none;
}
.bbPrecautions {
  background-color: #f5a314;
  padding: 1rem 0.5rem;
}
.bbPrecautions .unit {
  margin-bottom: 0.5rem;
  display: flex;
}
.bbPrecautions .unit header {
  width: 14rem;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 0 0 2px #ffde3d;
  border-radius: 0.5rem;
  margin: auto;
  z-index: 1;
  position: relative;
}
.bbPrecautions .unit header h2 {
  color: #3d350c;
  font-size: 1.1rem;
  padding: 0.5rem 0;
}
.bbPrecautions .unit .inner {
  background-color: #fff4c7;
  box-shadow: 0 0 0 2px #ffde3d, 0 4px 0 2px #e17527;
  border-radius: 0.5rem;
  padding: 2rem 1rem 1rem;
  margin-top: -2rem;
}
.bbPrecautions .unit .inner .present-title {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.5rem;
}
.bbPrecautions .unit .inner .present-title span {
  background: linear-gradient(transparent 50%, #ffe14f 50%);
}
.bbPrecautions .unit .inner .present-pic {
  text-align: center;
  margin: 0.5rem 0;
}
.bbPrecautions .unit .inner .present-pic img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  pointer-events: none;
  user-select: none;
}
.bbShare,
.bbShareResults {
  text-align: center;
  background-color: #f5a314;
}
.bbShare .bbxShareButton img,
.bbShareResults .bbxShareButton img {
  width: 50%;
}
.bbShare {
  padding-bottom: 1rem;
  border-radius: 0 0 6px 6px;
}
.bbShareResults {
  display: none;
}
.bbingoGuide {
  background-color: #f5a314;
  padding: 1rem 0.5rem;
  position: relative;
}
.bbingoGuide .inner {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 2px #ffde3d, 0 4px 0 2px #e17527;
  color: #e53003;
  background-color: #fff;
  border-radius: 0.5rem;
  padding: 2rem 1rem;
}
.bbingoGuide .ribbon {
  display: inline-block;
  position: absolute;
  padding: 8px 0;
  width: 120px;
  background: #39c3d4;
  background-image: linear-gradient(0deg, #ffe462, #ffe462 35%, #fff6ca 35% 65%, #ffe462 65% 100%);
}
.bbingoGuide .ribbon.top {
  left: -10px;
  top: 0;
  -webkit-transform: rotate(-20deg);
  transform: rotate(-20deg);
}
.bbingoGuide .ribbon.bottom {
  bottom: 0;
  right: -10px;
  -webkit-transform: rotate(-20deg);
  transform: rotate(-20deg);
}
@-moz-keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-o-keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
