@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: scale(1.0);
    }
    20%{
        opacity: 0;
        transform: scale(1.0);
    }
    30%{
        opacity: 1;
        transform: scale(1.4);
    }
    38%{
        opacity: 1;
        transform: scale(0.8);
    }
    42% {
        opacity: 1;
        transform: scale(1.0);
    }
    80% {
        opacity: 1;
        transform: scale(1.0);
    }
    90% {
        opacity: 0;
        transform: scale(0.6);
    }
    100%{
        display: none;
        opacity: 0;
        transform: scale(1.0);
    }
}

.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;
}

/* 各パズルピースの配置 1--------------------------- */

a.uncollected#puzzle_piece_r1oewjsm {
    top:46px;
    right:0;
}

a.uncollected#puzzle_piece_et4o72y5 {
    bottom: 0;
    left: -8px;
}

a.uncollected#puzzle_piece_di6ch3uo {
    top: -80px;
    right:0;
}

a.uncollected#puzzle_piece_uejf7svr {
    bottom: -105px;
    right: 0;
}

a.uncollected#puzzle_piece_r1oewjsm img:nth-of-type(1) {
    transform: rotate(10deg);
}

a.uncollected#puzzle_piece_et4o72y5 img:nth-of-type(1) {
    transform: rotate(-15deg);
}

a.uncollected#puzzle_piece_di6ch3uo img:nth-of-type(1) {
    transform: rotate(20deg);
}

a.uncollected#puzzle_piece_uejf7svr img:nth-of-type(1) {
    transform: rotate(-25deg);
}

/* --------------------------- */

a.uncollected.got img:nth-of-type(2) {
    animation: get-piece2 forwards 1.5s 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;
}

.is-only--logout-component .puzzle_wrap {
    bottom:calc(67px + 6vw + 4vw);
}

.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 {
    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:7.85vw 0 0 34.96vw;
}

#puzzle_mount {
    position: relative;
    width:16.15vw;
    height:16.15vw;
    display: block;
    z-index: 0;
}

#puzzle_mount img {
    opacity: 0;
    transition-duration: .3s;
    position: absolute;
    width:11.56vw;
    height:11.56vw;
}

#puzzle_mount img.active {
    display: block;
    opacity: 1;
}

#puzzle_mount img#piece_r1oewjsm {
    top:-1.75vw;
    left:-1.75vw;
}

#puzzle_mount img#piece_et4o72y5 {
    top:-1.75vw;
    right:-1.75vw;
}

#puzzle_mount img#piece_di6ch3uo {
    bottom:-1.75vw;
    left:-1.75vw;
}

#puzzle_mount img#piece_uejf7svr {
    bottom:-1.75vw;
    right:-1.75vw;
}

.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:13.5svh;
    left:calc((100vw - 40vh)/2);
    width:40vh;
    height:73vh;
    z-index: 999;
}

a.puzzle_modal_close {
    position: absolute;
    top: 1.84vh;
    right: 1.76vh;
    width:2.6vh;
}

a.puzzle_modal_close img {
    vertical-align: top;
}

.puzzle_modal_inner a {
    position: absolute;
    bottom: 5vh;
    left: 5vh;
    width: 30vh;
}

/* お申込み ここから---------- */

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;
}

.detail_layout .article_contents input[type=checkbox]:checked + label:after {
    content: "";
    position: absolute;
    width: 0.4em;
    height: 0.7em;
    border-right: solid 2px #0081CC;
    border-bottom: solid 2px #0081CC;
    top: 50%;
    left: 1.25em;
    margin-top: -0.4em;
    transform: rotate(45deg);
}

.detail_layout .article_contents input[type=radio] {
    display: none;
}

.detail_layout .article_contents input[type=radio] + label {
    padding-left:30px;
}

.detail_layout .article_contents input[type=radio] + label:before {
    border-radius: 100%;
    width: 18px;
    height: 18px;
    left:0;
    margin-top: -9px;
}

.detail_layout .article_contents input[type=radio]:checked + label:after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 100%;
    background: #0081CC;
    top:50%;
    left:3px;
    margin-top:-6px;
}

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: 29vw;
    height: 29vw;
    max-width: 172px;
    max-height: 172px;
    box-shadow: none;
    background: none;
}

}

@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:240px;
    box-shadow: 0 0 6px 4px rgba(0,0,0,0.1);
    max-width: none;
    max-height: none;
}

.is-only--logout-component .puzzle_wrap {
    bottom:calc(54px + 36px + 16px);
}

.puzzle_wrap.collected a img.sp {
    display:none;
}

.puzzle_wrap.collected a img.pc {
    display: block;
    filter:none;
}

.puzzle_inner {
    padding:16px 0 0 147px;
}

.puzzle_wrap.collected .puzzle_inner {
    display: block;
}

#puzzle_mount {
    width:94px;
    height:94px;
}

#puzzle_mount img {
    width:67px;
    height:67px;
}

#puzzle_mount img#piece_r1oewjsm {
    top:-10px;
    left:-10px;
}

#puzzle_mount img#piece_et4o72y5 {
    top:-10px;
    right:-10px;
}

#puzzle_mount img#piece_di6ch3uo {
    bottom:-10px;
    left:-10px;
}

#puzzle_mount img#piece_uejf7svr {
    bottom:-10px;
    right:-10px;
}

.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));
}

}


