@charset "utf-8"; /* CSS Document */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img{
    width: 100%;
    vertical-align: bottom;
}

#wrapper{
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

@media screen and (max-width: 640px) {

    #wrapper{
        width: 100%;
    }

}

.btn{
    position: absolute;
    aspect-ratio: 675/154;
    width: 84.375%;
    left: 7.8175%;
}

.btn_b{
    position: absolute;
    aspect-ratio: 418/78;
    width: 52.25%;
    left: 23.875%;
}

#cont_a01{
    position: relative;
    aspect-ratio: 800/1519;
}

.a01_btn{
    bottom: 3%;
}

#cont_a03{
    position: relative;
    aspect-ratio: 800/1225;
}

.a03_btn{
    bottom: 8%;
}

#cont_b01{
    position: relative;
    aspect-ratio: 800/1518;
}

.b01_btn_b{
    bottom: 18%;
}

.b01_btn{
    bottom: 4%;
}

#cont_b04{
    position: relative;
    aspect-ratio: 800/3199;
}

.b04_btn{
    bottom: 3%;
}

a:hover{
    opacity: 0.7;
}

@media screen and (max-width: 640px) {



}

@media screen and (max-width:640px){
    .btn_move1{
        animation: 2s btn_move1 infinite;
    }

    @keyframes btn_move1{
    0%{bottom: 3%;}
    20%{bottom: 4%;}
    40%{bottom: 3%;}
    100%{bottom: 3%;}
    }

    .btn_move2{
        animation: 2s btn_move2 infinite;
    }

    @keyframes btn_move2{
    0%{bottom: 8%;}
    20%{bottom: 9%;}
    40%{bottom: 8%;}
    100%{bottom: 8%;}
    }

    .btn_move3{
        animation: 2s btn_move3 infinite;
    }

    @keyframes btn_move3{
    0%{bottom: 18%;}
    20%{bottom: 19%;}
    40%{bottom: 18%;}
    100%{bottom: 18%;}
    }

    .btn_move4{
        animation: 2s btn_move4 infinite;
    }

    @keyframes btn_move4{
    0%{bottom: 4%;}
    20%{bottom: 5%;}
    40%{bottom: 4%;}
    100%{bottom: 4%;}
    }

    .btn_move5{
        animation: 2s btn_move5 infinite;
    }

    @keyframes btn_move5{
    0%{bottom: 3%;}
    20%{bottom: 4%;}
    40%{bottom: 3%;}
    100%{bottom: 3%;}
    }

}

.teiki{
    width: 100%;
    padding: 0 8vw;    
    aspect-ratio: 800/612;
    background-size: 100% auto;
    background-repeat: repeat-y;
    font-size: clamp(1.2vw,1vw,1.2vw);
    line-height: 200%;
    font-feature-settings: "palt";
}

.teiki_1{
    background-image: url("https://img.p-antiaging.com/canadel/img/campaign/premiere_zero/202412/offer1_2.webp");
}

.teiki_2{
    background-image: url("https://img.p-antiaging.com/canadel/img/campaign/premiere_zero/202412/offer2_2.webp");
}

@media screen and (max-width: 640px) {
    .teiki{
        font-size: 3vw;
        line-height: 150%;
    }
}

.teiki p{
    padding-bottom: 1vh;
}

.teiki .bold{
    font-size: clamp(1vw,1.2vw,2vw);
}

@media screen and (max-width: 640px){
.teiki .bold{
    font-size: 3.2vw !important;
}
}

.teiki .red{
    color: #dc143c;
}

.teiki a{
    text-decoration: underline;
}

.block-page-top{
display: none !important;
}

#last{
	width: 100%;
    background-color: #ffe6e9;	
}

#last p{
	width: 800px;
	margin:20px auto 10px;
	padding: 0 5px 20px;
	font-size: 16px;
}

@media screen and (max-width: 640px) {

#last{
    background-color: #ffe6e9;		
}

#last p{
    width: 100%;
    margin: 20px auto 10px;
    padding: 0px 20px 20px;
    font-size: 16px;
}

}

#bunner{
    position: fixed;
    bottom: 3vh;
    right: 5%;
    width: 10%;
    max-width: 150px;
    transition: 1s;
    opacity: 0;
    z-index: 1;
}

.bunner_out{
    transition: 1s;
    opacity: 1!important;
}

.block-page-top{
display: none !important;
}

@media screen and (max-width: 640px) {

    #bunner{
        position: fixed;
        bottom: 2vh;
        right: 5%;
        width: 20%;
    }

}

@keyframes bunner_out{
    100%{opacity: 0;}
}

a, dt {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

a:hover, .con_btn:hover, input:hover {
    filter: alpha(opacity=70);
    -moz-opacity: 0.7;
    opacity: 0.7;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    cursor: pointer;
}

.cam {
    display: block;
    margin-top: -30px;
    padding-top: 30px;
}

@media screen and (max-width: 640px) {
    .cam {
        display: block;
        margin-top: -60px;
        padding-top: 60px;
    }
}
