*,
*:before,
*:after {
  box-sizing: border-box;
  user-select: none;
}

input,
textarea {
  user-select: auto;
}

html,
body {
  height: 100%;
  font-family: "M PLUS 1p", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #000000;
  touch-action: manipulation;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0.5em 1em;
  width: 200px;
  height: 60px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
}

@media screen and (max-width: 445px) {
  .btn {
    height: 40px;
    border-radius: 16px;
    font-size: 18px;
  }
}

.btn:disabled,
.btn_disabled {
  pointer-events: none;
  opacity: 0.6;
}

@media screen and (max-width: 445px) {
  .btn_small_text {
    font-size: 15px;
  }
}

.btn-small {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px auto;
    padding: 0.5em 1em;
    text-decoration: none;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    width: 150px;
    height: 28px;
    font-size: 12px;
    background: #d6000c;color: #ffffff;
    border: solid 2px #000000;
}

/*アニメーション*/
.am_fuwafuwa{
  animation: fuwafuwa 2s linear infinite;
  scale: 1;
}

@keyframes fuwafuwa{
 0%{transform:translateY(0)}
 50%{transform:translateY(-10px)}
 100%{transform:translateY(0)}
}

.am_buruburu{
  animation: buruburu 1s linear infinite;
  scale: 1;
}

@keyframes buruburu{
 0%{transform:translateX(0)}
 7%{transform:translateX(-10px)}
 14%{transform:translateX(10px)}
 20%{transform:translateX(-10px)}
 32%{transform:translateX(10px)}
 40%{transform:translateX(0px)}
}

.am_dokundokun{
  animation: dokundokun 1300ms ease infinite;
}

@keyframes dokundokun {
  0%  { transform: scale(1); }
  15% { transform: scale(1.2); }
  30% { transform: scale(1); }
  45% { transform: scale(1.2); }
  70% { transform: scale(1); }
}

.am_gatagata{
  animation: gatagata .1s infinite;
  scale: 1;
}

@keyframes gatagata{
 0%{transform:translateY(0)}
 25%{transform:translate(0px, 2px) rotateZ(1deg)}
 50%{transform:translate(0px, 2px) rotateZ(0deg)}
 75%{transform:translate(2px, 2px) rotateZ(-1deg)}
 100%{transform:translate(0px, 0px) rotateZ(0deg)}
}

.am_pikapika{
  animation: pikapika 2s linear infinite;
  scale: 1;
}

@keyframes pikapika {
  0% {
    background: #000;
  }
  10% {
    background: #fff;
  }
  20% {
    background: #000;
  }
  30% {
    background: #fff;
  }
  40% {
    background: #000;
  }
  50% {
    background: #fff;
  }
  60% {
    background: #000;
  }
  70% {
    background: #fff;
  }
  80% {
    background: #000;
  }
}

.am_kurukuru{
  animation: kurukuru 4s infinite;
  scale: 1;
}

@keyframes kurukuru{
  35%{ transform: rotateX(360deg); }
  100%{ transform: rotatex(360deg);}
}

.box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .box {
    align-items: center;
  }
}

.info {
  width: 728px;
  margin: 2px 0;
  padding: 8px;
  background-color: #ff3845;
  color: #ffffff;
  font-size: 12px;
}

@media screen and (max-width: 445px) {
  .info {
    width: 375px;
    margin: 2px auto;
  }
}

@media screen and (max-width: 320px) {
  .info {
    width: 320px;
  }
}

.info p {
    margin: 0px;
}

.info-reversal {
    background-color: #ffffff;
    color: #d6000c;
    font-size: 16px;
    border: solid 1px #d6000c;
    width: 728px;
    margin: 2px 0;
    padding: 8px;
}

@media screen and (max-width: 445px) {
    .info-reversal {
        width: 375px;
        margin: 2px auto;
    }
}

@media screen and (max-width: 320px) {
    .info-reversal {
        width: 320px;
    }
}

.info-reversal p {
    margin: 0px;
    text-align: center;
}

.pc {
  display: block;
}

@media screen and (max-width: 445px) {
  .pc {
    display: none;
  }
}

.sp {
  display: none;
}

@media screen and (max-width: 445px) {
  .sp {
    display: inline;
  }
}

/*モーダルを開くボタン*/
.modal-open{
    width: 728px;
    margin: 2px 0;
    padding: 8px;
    background-color: #396bba;
    color: #ffffff;
    font-size: 15px;
    text-align: center;
}
@media screen and (max-width: 445px) {
    .modal-open {
      width: 375px;
      margin: 2px auto;
    }
  }

@media screen and (max-width: 375px) {
    .modal-open {
      width:auto!important;
      max-width:375px!important;
      font-size: 12px;
    }
  }

.modal-open p {
    margin: 0px;
    padding: 0 5px;
    text-align: right;
    font-size: 12px;
}

/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(0,0,0,50%);
    padding: 40px 20px;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    box-sizing: border-box;
}
/*モーダル本体の擬似要素の指定*/
.modal-container:before{
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active{
	opacity: 1;
	visibility: visible;
    z-index: 200;
}
/*モーダル枠の指定*/
.modal-body{
	position: relative;
	display: inline-block;
	vertical-align: middle;
	max-width: 600px;
	width: 90%;
}
/*モーダルを閉じるボタンの指定*/
.modal-close{
	position: absolute;
	display: flex;
    align-items: center;
    justify-content: center;
	top: -25px;
	right: -25px;
	width: 40px;
	height: 40px;
	font-size: 40px;
	color: #fff;
	cursor: pointer;
}
/*モーダル内のコンテンツの指定*/
.modal-content{
	background: #fff;
	text-align: left;
	padding: 30px;
    border-radius: 20px;
}

/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container-ad{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(0,0,0,50%);
    padding: 40px 20px;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    box-sizing: border-box;
}
/*モーダル本体の擬似要素の指定*/
.modal-container-ad:before{
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container-ad.active{
	opacity: 1;
	visibility: visible;
    z-index: 200;
}
/*モーダル枠の指定*/
.modal-body-ad{
	position: relative;
	display: inline-block;
	vertical-align: middle;
	max-width: 600px;
	width: 90%;
    top: -100px;
    left:-200px;
    max-width: 700px;
}

@media screen and (max-width: 445px) {
    .modal-body-ad {
      left:0px;
      top: -160px;
    }
  }

/*モーダルを閉じるボタンの指定*/
.modal-close-ad{
	position: absolute;
	display: flex;
    align-items: center;
    justify-content: center;
	top: -25px;
	right: -25px;
	width: 40px;
	height: 40px;
	font-size: 40px;
	color: #fff;
	cursor: pointer;
}
/*モーダル内のコンテンツの指定*/
.modal-content-ad{
	background: #fff;
	text-align: left;
	padding: 30px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0%);
}

/* コイン */
.coin {
    position: absolute;
    text-align: center;
    width: 40px;
    height: 40px;
    padding-top: 5px;
    background: url('/static/user/images/coin.png?ver=120250415') no-repeat center/contain;
    animation: coinRotate 2s infinite linear;
    z-index: 2;
}

@keyframes coinRotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

/* パイプ */
.pipe_upper, .pipe_lower {
    transition: all 0.3s ease;
}

@keyframes borderColorChange {
    0% { border-color: red; }
    50% { border-color: blue; }
    100% { border-color: green; }
}

@keyframes borderColorglow {
    0% { box-shadow: 0 0 5px #1097e6, 0 0 10px #1097e6, 0 0 15px #1097e6; }
    50% { box-shadow: 0 0 15px #1097e6, 0 0 20px #1097e6, 0 0 25px #1097e6; }
    100% { box-shadow: 0 0 5px #1097e6, 0 0 10px #1097e6, 0 0 15px #1097e6; }
}

.checkin-calendar {
    margin-bottom: 10px;
}

.checkin-calendar-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: #666;
    text-align: center;
}

.checkin-calendar-days {
    display: flex;
    justify-content: space-between;
    margin: 0 10px;
}

.checkin-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 18%;
    padding: 10px 0;
    background-color: #FFF8E1;
    border-radius: 5px;
    border: 1px solid #FFC107;
}

.checkin-day-number {
    font-size: 14px;
    margin-bottom: 5px;
}

.checkin-day-reward {
    font-size: 12px;
    color: #FF9800;
    font-weight: 600;
}

.checkin-day.active {
    background-color: #FFC107;
    border-radius: 5px;
    border: 1px solid #FFC107;
}
.checkin-day-reward.active {
    font-size: 12px;
    color: #ec6433;
    font-weight: 800;
}

.btn-checkin {
    background-color: #fff;
    color: #FF9800;
    border: 1px solid #FF9800;
    height: 40px;
    font-size: 16px;
}

.btn-checkin.disabled {
    background-color: #e2d8d8;
    color: #82807d;
    border: 1px solid #82807d;
}
