/*----- 利用PHP -----*/
/* about.php */
/* privacy_policy.php */
/* howtouse.php */
/* delete_user.php */

/*----- 共通 -----*/
body {
    font-family: "Kiwi Maru", "Zen Kaku Gothic Antique", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    background-color: #edf1f7;
    color: #333333;
    overflow-y: scroll;
}

/***** フォント *****/

h2 {
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    margin: 0px auto 20px;
}

.small_btn{
    font-size: 12px;
    font-weight: 400;
    padding: 7px 12px;
    border-radius: 5px;
    background-color: #888888;
    color: #ffffff;
}

.sub_btn{
    text-align: center;
    border-radius: 5px;
    padding: 10px;
    display: block;
    margin: 30px auto 0;
    width: 170px;
    height: 40px;
    color: #888888;
    background-color: #cccccc;
}

.small_btn:hover, .sub_btn:hover {
    background-color: #333333;
    color: #fdcb6e;
}

/*----- フッター -----*/
.footer_loggedin {
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* プライバシーポリシー等 */
.textpage_inner{
    max-width: 800px;
    min-height: calc(100vh - 30px);
    padding: 50px 25px;
    margin: 0 auto;
}

.tp_h2 {
    font-size: 28px;
    font-weight: 500;
    text-align: center;
    margin: 0 auto 30px;
}

.tp_area{
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    row-gap: 30px;
}

.tp_h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
}

.tp_normal {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

.tp_area .small_btn{
    display: inline-block;  
    margin-top: 10px;
}

.tp_area a:hover {
    color: #30ADD1;
}

.about_sub {
    font-size: 18px;
    font-weight: 500;
    margin: 0 auto 30px;
}

.f_note{
    border: 1px solid #30ADD1;
    border-radius: 10px;
    padding: 20px;
    width: fit-content;
}

/* whyme */
.whyme_area{
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 50px;
    line-height: 1.8;
}

.whyme_medium {
    font-size: 16px;
    font-weight: 500;
}

.whyme_problem{
    display: flex;
    align-items: center;
    column-gap: 20px;
    margin: 20px 0;
}

.whyme_problem img {
    width: 160px;
}

.whyme_moyawrap {
    display: flex;
    flex-direction: column;
    padding: 10px 0px 10px 20px;
}

.whyme_moyawrap img {
    width: 20px;
    margin-right: 5px;
}

.whyme_area .tp_arrow{
    width: 15px;
    display: block;
    margin: 15px auto 10px;
}

/* howtouse */
.howtouse_inner{
    max-width: 750px;
    min-height: calc(100vh - 30px);
    padding: 30px 25px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    row-gap: 30px;
}

.how_h2 {
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    margin: 0 auto;
}

.how_h3 {
    /* 通常のh2と同じ */
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    margin: 0px auto 20px;
}

.how_item{
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    line-height: 1.5;
}

.how_item p.normal{
    font-size: 14px;
    font-weight: 400;
}

.how_item p.bold{
    font-size: 14px;
    font-weight: 500;
}

.how_item .small_btn {
    margin-top: 5px;
    display: flex;
    width: fit-content;
}

.how_center{
   text-align: center;
}

.youtube {
    width: 560px;
    height: 315px;
}

/* アカウント削除 */
.delete_user {
    text-align: center;
    margin: 30px auto 50px;
}

/*----- Pagetop -----*/
.pagetop {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    opacity: 0;
    transform: translateY(100px);
}
  
.pagetop a{
    width: 30px;
    height: 30px;
    border-radius: 5px;
    display: block;
    transition: all 0.3s;
    position: relative;
}
  
.pagetop a::before {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    top: 12px;
    left: 10px;
    transform: rotate(-45deg);
    border-top: 2px solid #333333;
    border-right: 2px solid #333333;
    border-radius: 2px;
}
  
.pagetop a:hover{
    background-color: #97d6e8;
}

.pagetop a:hover::before {
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
}

/*　上に上がる動き　*/
.pagetop.pt-up{
    animation: ptupAnime 1.0s forwards;
}
@keyframes ptupAnime{
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*　下に下がる動き　*/
.pagetop.pt-down{
    animation: ptdownAnime 1.0s forwards;
}
@keyframes ptdownAnime{
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 1;
        transform: translateY(50px);
    }
}

/* --------------------
    for SP size 
-------------------- */
@media screen and (max-width: 768px){

    /*----- 共通 -----*/
    /***** フォント *****/

    h2 {
        font-size: 16px;
        margin: 0px auto 15px;
    }

    .small_btn {
        padding: 6px 10px;
    }

    .sub_btn{
        margin: 20px auto 0;
        width: 150px;
        height: fit-content;
    }

    /*----- フッター -----*/
    .footer_loggedin {
        font-size: 8px;
    }

    /* プライバシーポリシー等 */
    .textpage_inner{
        padding: 30px 25px;
    }

    .textpage_inner .sub_btn{
        font-size: 14px;
    }

    .tp_h2 {
        font-size: 24px;
        margin: 0 auto 20px;
    }

    .tp_area{
        padding: 20px;
        row-gap: 25px;
    }

    .tp_h3 {
        font-size: 18px;
        margin-bottom: 10px;
        line-height: 1.5;
    }

    .tp_normal {
        line-height: 1.6;
    }

    .about_sub {
        font-size: 16px;
        line-height: 1.8;
        margin: 0 auto 20px;
    }

    .f_note{
        padding: 12px 15px;
    }

    /* whyme */
    .whyme_area{
        padding: 20px;
    }

    .whyme_problem{
        flex-direction: column;
        row-gap: 20px;
    }

    .whyme_moyawrap {
        line-height: 2.0;
        padding: 20px 0px 0px 20px;
    }

    .whyme_area .tp_arrow{
        margin: 10px auto 15px;
    }

    /* howtouse */
    .howtouse_inner{
        min-height: calc(var(--vh, 1vh) * 100 - 30px);
        row-gap: 20px;
    }

    .how_h2 {
        font-size: 20px;
    }

    .how_h3 {
        font-size: 16px;
    }

    .how_item p.normal,
    .how_item p.bold {
        font-size: 12px;
    }

    .delete_user {
        line-height: 1.5;
    }

    .youtube {
        width: 325px;
        height: 183px;
    }

    /* ----- Pagetop ----- */
    .pagetop {
        right: 7px;
        bottom: 7px;
    }
    
    .pagetop a{
        width: 24px;
        height: 24px;
    }
    
    .pagetop a::before {
        width: 10px;
        height: 10px;
        top: 9px;
        left: 7px;
    }

}