@charset "utf-8";
/*-------------------------------------------------------------------
    * modal.css
    * site name : チャンスイットスマホ
    * description : モーダルウィンドウを表示する際に読み込む
-------------------------------------------------------------------*/

/* 懸賞ページ専用
------------------------------------------------ */
.modal_present {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    transform: translate3d(0,0,9999px);
    -webkit-transform: translate3d(0,0,9999px);
}
.modal_present .bg {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9990;
    background-color: rgba(0, 0, 0, 0.7);
}
.modal_present .wrap {
    width: 100%;
    max-width: 700px;
    height: auto;
    max-height: 650px;
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9999;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    background-image: url("../img/present/bg_present_modal02.png");
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
    padding: 0 15px;
    animation: popup1 0.4s cubic-bezier(0.22, 1, 0.36, 1) 1 forwards;
}
@keyframes popup1 {
  0% {
    transform: translate(-50%, -40%) scale(0.4);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.0);
    opacity: 1;
  }
}
.modal_present .wrap::before {
    width: 100%;
    height: 200px;
    content: "";
    position: absolute;
    top: 32%;
    left: 0;
    z-index: 9999;
    background: url("../img/present/img_present_modal01.png") no-repeat 0 0;
    background-size: 100%;
}
.modal_present .wrap .inner {
    width: 100%;
    max-width: 600px;
    height: auto;
    max-height: 650px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    border-radius: 6px;
    background-color: #f9de1f;
    text-align: center;
    animation: popup2 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1 forwards;
}
@keyframes popup2 {
  0% {
    transform: translateY(60px) scale(0.8);
    opacity: 0;
  }
  100% { transform: scale(1.0);}
  80%, 100% { opacity: 1;}
}
.modal_present .wrap .burst {
    width: 1000px;
    height: 1000px;
    position: absolute;
    top: -280px;
    left: 50%;
    margin-left: -500px;
    z-index: 100;
    background-image: url("../img/present/bg_present_modal01.png");
    background-repeat: no-repeat;
    background-position: 0 0;
    opacity: 0.8;
    background-size: 1000px 1000px;
    -webkit-animation: spin 45s linear infinite;
    animation: spin 45s linear infinite;
}
@keyframes spin {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
}
.modal_present .wrap .detail {
    width: 100%;
    max-width: 600px;
    height: auto;
    max-height: 650px;
    box-sizing: border-box;
    position: relative;
    z-index: 200;
    background-image: url("../img/present/bg_present_modal02.png");
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
    margin: 0 auto;
    padding: 15px 0 30px;
    font-weight: bold;
    color: #313131;
}
 .modal_present .wrap .detail .free_txt {
    text-shadow: 0 0 4px #fff, 0 0 4px #fff;
    margin-bottom: 10px;
    font-size: 14px;
}
@media screen and (min-width:480px) {
    .modal_present .wrap .detail .free_txt { font-size: 16px;}
}

@media screen and (min-width:768px) {
    .modal_present .wrap .detail .free_txt { font-size: 22px;}
}
.modal_present .wrap .detail .image {
    width: 55%;
    margin-bottom: 10px;
}
.modal_present .wrap .detail img.image {
    max-width: 100%;
    vertical-align: bottom;
}
.modal_present .wrap .detail .winner {
    text-shadow: 0 0 4px #fff, 0 0 4px #fff;
    margin-bottom: 5px;
    font-size: 18px;
}
@media screen and (min-width:768px) {
    .modal_present .wrap .detail .winner { font-size: 26px;}
}
.modal_present .wrap .detail .winner span { color: #ff5555;}
.modal_present .wrap .detail .winner .num {
    font-size: 30px;
}
@media screen and (min-width:480px) {
    .modal_present .wrap .detail .winner .num { font-size: 45px;}
}
@media screen and (min-width:768px) {
    .modal_present .wrap .detail .winner .num { font-size: 55px;}
}
.modal_present .wrap .detail .company {
    text-shadow: 0 0 4px #fff, 0 0 4px #fff;
    margin-bottom: 10px;
    font-size: 14px;
}
.modal_present .wrap .detail a {
    width: auto;
    display: block;
    border-radius: 6px;
    background: #3dba8f;
    box-shadow: 0px 7px 0 #268262;
    margin-right: 10px;
    margin: 0 30px;
    padding: 10px 0;
    text-decoration: none;
    font-size: 21px;
    color: #fff;
}
.modal_present .modal_present_close {
    width: 100px;
    box-sizing: border-box;
    position: absolute;
    top: 117%;
    left: 50%;
    z-index: 9999;
    transform: translate(-50%, -117%);
    -webkit-transform: translate(-50%, -117%);
    border-radius: 4px;
    border: #d6d6d6 1px solid;
    background-color: rgba(49,49,49,0.5);
    padding: 10px 13px 10px 0;
    cursor: pointer;
    font-size: 17px;
    color: #fff;
}
@media screen and (min-width:768px) {
    .modal_present .modal_present_close {
        top: 113%;
        transform: translate(-50%, -113%);
        -webkit-transform: translate(-50%, -113%);
    }
}
.modal_present .modal_present_close::before,
.modal_present .modal_present_close::after {
    position: absolute;
    top: 47%;
    right: 18px;
    display: block;
    content: '';
    width: 16px;
    height: 3px;
    background: #fff;
    border-radius: 4px;
}
.modal_present .modal_present_close::before {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
.modal_present .modal_present_close::after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}
.fixed {
    position: fixed;
    width: 100%;
    height: 100%;
}

/* クリックポイント未獲得時
------------------------------------------------ */
.modal_clickpt {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    transform: translate3d(0,0,9999px);
    -webkit-transform: translate3d(0,0,9999px);
}
.modal_clickpt .bg {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9990;
    background-color: rgba(0, 0, 0, 0.7);
}
.modal_clickpt .wrap {
    width: 100%;
    max-width: 600px;
    height: auto;
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9999;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    padding: 0 50px;
}
.modal_clickpt .inner {
    width: 100%;
    max-width: 600px;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    padding-bottom: 30px;
    border-radius: 6px;
    background-color: #fff;
    text-align: center;
    animation: scaleUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1 forwards;
}
@keyframes scaleUp {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  100% {
    transform: scale(1.0);
    opacity: 1;
  }
}
.modal_clickpt .image {
    width: 100%;
    margin-bottom: 5px;
    vertical-align: bottom;
}
.modal_clickpt_register {
    width: auto;
    border-radius: 6px;
    background-color: #FFEFCE;
    margin-bottom: 10px;
    padding: 5px 30px 20px;
    text-align: center;
}
.modal_clickpt_register img {
    width: 60%;
}
.modal_clickpt .btn_register {
    width: auto;
    display: block;
    border-radius: 6px;
    background: #FF3D6B;
    box-shadow: 0px 7px 0 #B20C33;
    padding: 10px 0;
    text-decoration: none;
    font-weight: bold;
    font-size: 24px;
    color: #fff;
}
.modal_clickpt .modal_clickpt_login {
    width: auto;
    display: block;
    border-radius: 6px;
    background: #3dba8f;
    box-shadow: 0px 7px 0 #268262;
    margin: 0 30px;
    padding: 10px 0;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    color: #fff;
}
.modal_clickpt .modal_clickpt_close {
    width: 100px;
    box-sizing: border-box;
    position: absolute;
    top: 120%;
    left: 50%;
    z-index: 9999;
    transform: translate(-50%, -125%);
    -webkit-transform: translate(-50%, -125%);
    border-radius: 4px;
    border: #d6d6d6 1px solid;
    background-color: rgba(49,49,49,0.5);
    padding: 10px 13px 10px 0;
    cursor: pointer;
    font-size: 17px;
    color: #fff;
}
@media screen and (min-width:768px) {
    .modal_clickpt .modal_clickpt_close {
        top: 120%;
        transform: translate(-50%, -120%);
        -webkit-transform: translate(-50%, -120%);
    }
}
.modal_clickpt .modal_clickpt_close::before,
.modal_clickpt .modal_clickpt_close::after {
    position: absolute;
    top: 47%;
    right: 18px;
    display: block;
    content: '';
    width: 16px;
    height: 3px;
    background: #fff;
    border-radius: 4px;
}
.modal_clickpt .modal_clickpt_close::before {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
.modal_clickpt .modal_clickpt_close::after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}
.modal_clickpt_fixed {
    position: fixed;
    width: 100%;
    height: 100%;
}
