@charset "UTF-8";

html {
    width: 1024px;
    height: auto;
    margin:  0 auto;
    text-align: center;
    animation: loading 1s;
    background-image: url(../img/4262142-[更新済み].jpg);
    background-size: 100%;
}

@keyframes loading {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

body {
    width: 100%;
    background-color: rgb(255, 255, 255, 0.4);
}

header {
    width: 100%;
    height: 130px;
    background-color: rgb(252, 116, 172);
    color: white;
    padding: 40px 0px;
    font-weight: bold;
}

header h1 {
    font-size: 40px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

header h1 span {
    color: rgb(255, 255, 0);
}

.fv {
    background-image: url(../img/fv.png);
    background-image: 100%;
    background-repeat: no-repeat;
    padding-top: 50px;
}

.fv p {
    text-align: left;
}

.fv_bottom {
    width: 100%;
    display: flex;
    padding-bottom: 30px;
}

.left_con {
    width: 35%;
}

.left_con p {
    text-align: center;
    background-color: #ff5252;
    color: white;
    padding: 15px 0px;
    margin-top: 50px;
    font-size: 40px;
    font-weight: bold;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 0 0 3px #FFF, 0 0 0 10px #ff5252;
}

.right_con {
    width: 65%;
}

.massage h1 {
    margin: 50px 0px;
}

.register img {
    margin: 30px 0px;
}

.register p {
    font-size: 30px;
    margin: 30px 0px;
    font-weight: bold;
    color: #433838;
}

.btn {
    width: 80%;
    background-color: #0ed546;
    margin: 0 auto;
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 120px;
    border-bottom: 20px solid gray;
    text-align: center;
    display: flex;
    justify-content: center;
    transition: all 0.3s ease 0s;
}

.btn:hover {
    border-bottom: 20px solid rgb(255, 255, 255);
    transform: translateY(20px);
    background-color: #0ba035;
}

.btn a {
    font-size: 60px;
    padding: 40px 20px;
    font-weight: bold;
    color: white;
    text-shadow: 5px 0px 0px gray;
}

.btn a span{
    color: yellow;
}

.btn h1 {
    font-size: 50px;
    background-color: white;
    color: #ff5252;
    width: 150px;
    height: 150px;
    border-radius: 75px;
    font-weight: bold;
    padding: 15px 0px;
}

.btn h1 span{
    color: rgb(0, 0, 0);
}

.think {
    margin-bottom: 50px;
}

.step {
    background-image: url(../img/step_bg.png);
    padding: 80px 0px;
}

.step img {
    margin-top: 40px;
}

.works {
    padding-top: 50px;
}

.works img{
    margin-top: 100px;
}

.voice {
    background-image: url(../img/voice_bg.png);
    padding: 100px 0px;
}

.voice img {
    margin-bottom: 70px;
}

footer {
    background-color: #fc9999;
    color: white;
    padding-top: 100px;
    padding-bottom: 30px;
    font-size: 25px;
}

#topbutton {
    position: fixed;
    right: 0;
    bottom: 0;
    text-indent: -9999px;
    z-index: 5000;
    margin: 0;
    opacity: 0;
    transition: all 0.65s;
}
#topbutton a {
    position: relative;
    display: block;
    width: 65px;
    height: 65px;
    background: rgba(0,0,0,1);
    transition: opacity .6s ease;
}
#topbutton a:hover {
    opacity: .3;
}
#topbutton a::before {
    position: absolute;
    top: 7px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 14px;
    height: 14px;
    margin: auto;
    content: '';
    transform: rotate(-45deg);
    border-top: 1px solid #FFF;
    border-right: 1px solid #FFF;
}

#topbutton.isActive {
    opacity: 1;
    transition: all 0.65s;
}


@media screen and (max-width: 768px) { /*タブレットサイズ*/

    html {
        width: 100%;
    }

    header {
        padding: 35px 0px;
        height: 100px;
    }

    header h1 {
        font-size: 30px;
    }

    .fv {
        background-size: cover;
        padding-top: 50px;
    }

    .fv .title img {
        width: 55%;
    }

    .left_con p {
        text-align: center;
        background-color: #ff5252;
        color: white;
        padding: 10px 0px;
        margin-top: 40px;
        font-size: 30px;
        font-weight: bold;
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
        box-shadow: 0 0 0 3px #fff, 0 0 0 10px #ff5252;
    }

    .right_con img {
        width: 90%;
    }

    .btn h1 {
        font-size: 40px;
        width: 120px;
        height: 120px;
    }

    .btn a {
        font-size: 40px;
    }

    .register p {
        font-size: 25px;
        margin: 20px 0px;
        font-weight: bold;
        color: #433838;
    }

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

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

    .massage h1 {
        margin: 25px 0px;
    }

    .massage img {
        width: 100%;
    }

    .think img {
        width: 100%;
    }

    .step {
        padding: 40px 0px;
    }

    .step img {
        width: 90%;
        margin-top: 20px;
    }

    .arrow img {
        width: 15%;
    }

    .works .works_h1 img {
        width: 80%;
    }

    .works img {
        width: 100%;
        margin-top: 50px;
    }

    .voice {
        padding: 50px 0px;
    }

    .voice img {
        width: 90%;
    }


}

@media screen and (max-width: 540px){ /*スマホサイズ*/


    header {
        padding: 20px 0px;
        height: 55px;
    }

    header h1 {
        font-size: 14px;
    }

    .fv {
        background-size: cover;
        padding-top: 20px;
    }

    .left_con {
        width: 30%;
    }

    .left_con p {
        text-align: center;
        background-color: #ff5252;
        color: white;
        padding: 5px 0px;
        margin-top: 25px;
        font-size: 15px;
        font-weight: bold;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        box-shadow: 0 0 0 2px #fff, 0 0 0 7px #ff5252;
    }

    .right_con {
        width: 70%;
    }

    .btn {
        width: 90%;
        background-color: #0ed546;
        margin: 0 auto;
        padding-top: 5px;
        padding-bottom: 0px;
        border-radius: 120px;
        border-bottom: 10px solid gray;
        text-align: center;
        display: flex;
        justify-content: center;
        transition: all 0.3s ease 0s;
    }

    .btn h1 {
        font-size: 20px;
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }

    .btn a {
        font-size: 25px;
        padding: 10px;
        text-shadow: 2px 0px 0px grey;
        line-height: 2;
    }

    .register p {
        font-size: 15px;
        margin: 15px 0px;
        font-weight: bold;
        color: #433838;
    }

    .register img {
        margin: 15px 0px;
        width: 70%;
    }

    .step img {
        width: 90%;
        margin-top: 10px;
    }
    
    .arrow img {
        width: 15%;
    }

    .voice {
        padding: 30px 0px;
    }

    .voice img {
        margin-bottom: 35px;
    }

    footer {
        background-color: #fc9999;
        color: white;
        padding-top: 50px;
        padding-bottom: 15px;
        font-size: 12px;
    }

}