@charset "utf-8";

.article_inner {
    position: relative;
}

.detail_layout #tokuten_article p.text {
    position: relative;
}

@keyframes get-piece1 {
    0%{
        display: block;
        opacity: 1;
    }
    20%{
        display: block;
        opacity: 0;
    }
    100%{
        display: none;
        opacity: 0;
    }
}

@keyframes get-piece2 {
    0% {
        opacity: 0;
        transform: rotate(0deg) scale(0.1);
    }
    10%{
        opacity: 1;
    }
    40% {
        opacity: 1;
        transform: rotate(360deg) scale(1.5);
    }
    80% {
        opacity: 1;
        transform: rotate(360deg) scale(1.5);
    }
    95% {
        opacity: 0;
        transform: rotate(360deg) scale(1.5);
    }
    100% {
        display: none;
        opacity: 0;
        transform: rotate(360deg) scale(1.5);
    }
}

.puzzle_pice_wrap {
	position: relative;
	display: block;
}
a.uncollected {
    display: block;
    width:100px;
    height:100px;
    position: absolute;
    /*top:40px;
    right:40px;*/
    z-index: 1;
}

a.uncollected img {
    position: absolute;
    top:0;
    left:0;
    width: 100px;
    height:100px;
}

a.uncollected img:nth-of-type(2) {
    opacity: 0;
    top:10px;
    left:10px;
    width: 80px;
    height:80px;
}

/* 各パズルピースの配置 2--------------------------- */

a.uncollected#puzzle_piece_p725ncv6 {
    top:46px;
    right:0;
}

a.uncollected#puzzle_piece_k872u59q {
    bottom: 0;
    left: -8px;
}

a.uncollected#puzzle_piece_a8478j6j {
    top: -80px;
    right:0;
}

a.uncollected#puzzle_piece_m7tzkx6u {
    bottom: -105px;
    right: 0;
}

a.uncollected#puzzle_piece_p725ncv6 img:nth-of-type(1) {
    transform: rotate(10deg);
}

a.uncollected#puzzle_piece_k872u59q img:nth-of-type(1) {
    transform: rotate(-15deg);
}

a.uncollected#puzzle_piece_a8478j6j img:nth-of-type(1) {
    transform: rotate(20deg);
}

a.uncollected#puzzle_piece_m7tzkx6u img:nth-of-type(1) {
    transform: rotate(-25deg);
}

/* --------------------------- */

a.uncollected.got img:nth-of-type(2) {
    animation: get-piece2 forwards 1.0s 1 ease-in-out 0s normal;
}

a.uncollected.got img:nth-of-type(1)  {
    animation: get-piece1 forwards 1.5s 1 ease-in-out 0s normal;
}

.puzzle_wrap {
    position: fixed;
    right:4vw;
    bottom:4vw;
    width:92vw;
    z-index: 99;
    background: #FFF;
    box-shadow: 0 0 12px 3px rgba(0,0,0,0.3);
    text-align: center;
    display: none;
}

.puzzle_wrap .puzzle_progress {
    z-index: 1;
    position: absolute;
    bottom: 13.5%;
    left: 46%;
    display: flex;
    gap: 1.5vw;
    align-items: center;
}

.detail_layout #tokuten_article .puzzle_wrap .puzzle_progress p, #at_puzzle_wrap .puzzle_wrap .puzzle_progress p {
    line-height: 1.0;
    font-size: 1.6vw;
    font-style: italic;
    width: 1.875em;
}

.puzzle_wrap .puzzle_progress figure {
    width: 38.5vw;
    height: 1.2vw;
    border: solid 1px #e60012;
    border-radius: 6vw;
    position: relative;
}

.puzzle_wrap .puzzle_progress figure span {
    position: absolute;
    top:0;
    left:0;
    height:100%;
    width:0;
    background: #e60012;
    border-radius: 6vw;
    transition-duration: .5s;
}

.puzzle_wrap .puzzle_progress figure span.num1 {
    width:25%;
}

.puzzle_wrap .puzzle_progress figure span.num2 {
    width:50%;
}

.puzzle_wrap .puzzle_progress figure span.num3 {
    width:75%;
}

.puzzle_wrap .puzzle_progress figure span.num4 {
    width:100%;
}

.is-only--logout-component .puzzle_wrap {
    bottom:calc(67px + 6vw + 4vw);
}

.is-only--logout-component .puzzle_wrap a.puzzle_wrap_close {
    position: absolute;
    top: -46px;
    right: 0;
    left: auto;
    background: #C20016;
    width: 40px;
    height: 40px;
    padding: 11px;
    border-radius: 100%;
}

.is-only--logout-component .puzzle_wrap a.puzzle_wrap_close img {
    width: 100%;
    display: block;
}

.puzzle_wrap.collected {
    width:29vw;
    height:29vw;
    max-width: 172px;
    max-height: 172px;
    box-shadow: none;
    background: none;
}

.puzzle_wrap .puzzle_sp {
    display:block;
}

.puzzle_wrap.collected > .puzzle_sp,
.puzzle_wrap.collected .puzzle_inner,
.puzzle_wrap.collected .puzzle_progress {
    display: none;
}

.puzzle_wrap > .puzzle_pc {
    display:none;
}

.puzzle_wrap a {
    display: block;
    margin:0 auto;
    text-decoration: none;
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.is-only--logout-component .puzzle_wrap a {
    position: relative;
}

.puzzle_wrap a img {
    display: none;
}

.puzzle_wrap.collected a img.sp {
    display: block;
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.4));
}

.puzzle_inner {
    position: absolute;
    top:0;
    left:0;
    padding:10.6vw 4.8vw 7.4vw 42.1vw;
    overflow: hidden;
}

@keyframes shiny {
    0% { transform: scale(0) rotate(45deg); opacity: 0; }
    60% { transform: scale(0) rotate(45deg); opacity: 0.5; }
    61% { transform: scale(4) rotate(45deg); opacity: 1; }
    95% { transform: scale(50) rotate(45deg); opacity: 0; }
    100% { transform: scale(50) rotate(45deg); opacity: 0; }
}

.puzzle_inner.piece_getting:before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -256px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #e60012;
    transition: 0s;
    animation: shiny 1.5s ease-in-out normal;
    z-index: 0;
}

#puzzle_mount {
    position: relative;
    width: 45.1vw;
    height: 10.8vw;
    display: block;
    z-index: 0;
}

#puzzle_mount img {
    opacity: 0;
    transition-duration: .3s;
    position: absolute;
    width:10.626vw;
    height:10.8vw;
}

#puzzle_mount img.active {
    display: block;
    opacity: 1;
}

#puzzle_mount img:nth-of-type(1) {
    top:0vw;
    left:0vw;
}

#puzzle_mount img:nth-of-type(2) {
    top:0vw;
    left:11.5vw;
}

#puzzle_mount img:nth-of-type(3) {
    top:0vw;
    right:11.5vw;
}

#puzzle_mount img:nth-of-type(4) {
    top:0vw;
    right:0vw;
}

.puzzle_modal_overlay {
    display: none;
    position: fixed;
    top:0;
    left:0;
    height:100vh;
    width:100vw;
    background: rgba(0,0,0,0.6);
    z-index: 998;
}

.puzzle_modal {
    display: none;
    position: fixed;
    top:17.6325svh;
    left:calc((100vw - 40vh)/2);
    width:40vh;
    height:64.375vh;
    z-index: 999;
}

a.puzzle_modal_close {
    position: absolute;
    top: -3.3vh;
    right: 0;
    width:2.6vh;
}

a.puzzle_modal_close img {
    vertical-align: top;
}

.puzzle_modal_inner a {
    position: absolute;
    bottom: 2.7vh;
    left: 2.7vh;
    width: 34.6vh;
}

/* お申込み ここから---------- */

a#apply_submit.disabled,
a#to_puzzle_apply.disabled {
    opacity: .2;
    pointer-events: none;
}

a#apply_submit {
    display: block;
    width:200px;
    box-sizing: border-box;
    margin:20px auto;
    border-radius:30px;
    padding:15px;
    line-height: 1.0;
    background: #333;
    color:#FFF;
    text-align: center;
    cursor: pointer;
}

form#puzzle_form_step1 button {
    display: block;
    padding: 1em 0;
    border-radius: 8px;
    background: #0081CC;
    margin:0 auto;
    color:#FFF;
}

form#puzzle_form_step1 button:disabled {
    opacity: .4;
}

/* お申込み ここまで---------- */

@media print, screen and (max-width: 680px) {

.is-only--logout-component .puzzle_wrap {
    width: 40vw;
    height: 40vw;
    max-width: 172px;
    max-height: 172px;
    box-shadow: none;
    background: none;
}

.is-only--logout-component .puzzle_wrap a.puzzle_wrap_close {
    top: -34px;
    width: 30px;
    height: 30px;
    padding: 8px;
}

}

@media print, screen and (min-width: 681px) {

.puzzle_wrap .puzzle_sp {
    display:none;
}

.puzzle_wrap .puzzle_pc {
    display:block;
}

.puzzle_wrap,
.puzzle_wrap.collected {
    right:16px;
    bottom:16px;
    width:256px;
    height:256px;
    box-shadow: 0 0 6px 4px rgba(0,0,0,0.1);
    max-width: none;
    max-height: none;
}

.puzzle_wrap .puzzle_progress {
    bottom: 58px;
    left: 20px;
    gap: 8px;
}

.detail_layout #tokuten_article .puzzle_wrap .puzzle_progress p, #at_puzzle_wrap .puzzle_wrap .puzzle_progress p {
    font-size: 9px;
    line-height: 1.0;
}

.puzzle_wrap .puzzle_progress figure {
    width: 193px;
    height: 6px;
    border:solid 1px #e60012;
    border-radius: 2px;
}

.puzzle_wrap .puzzle_progress figure span {
    border-radius: 1px;
}

.is-only--logout-component .puzzle_wrap {
    bottom:calc(54px + 36px + 16px);
}

.puzzle_wrap.collected a img.puzzle_sp {
    display:none;
}

.puzzle_wrap.collected a img.puzzle_pc {
    display: block;
    filter:none;
}

.puzzle_inner {
    padding:130.4px 19px 73.6px 19px;
}

.puzzle_wrap.collected .puzzle_inner {
    display: block;
}

#puzzle_mount {
    width: 218px;
    height: 52px;
}

#puzzle_mount img {
    width:51.16px;
    height:52px;
}

#puzzle_mount img:nth-of-type(1) {
    top:0px;
    left:0px;
}

#puzzle_mount img:nth-of-type(2) {
    top:0px;
    left:55.5px;
}

#puzzle_mount img:nth-of-type(3) {
    top:0px;
    right:55.5px;
}

#puzzle_mount img:nth-of-type(4) {
    top:0px;
    right:0px;
}

.puzzle_point_get_bnrs {
    right:16px;
    bottom:16px;
}

.puzzle_point_get_bnrs li img {
    filter: drop-shadow(0 0 8px rgba(0,0,0,0.3));
}

}


