@charset "UTF-8";

html{
    height: 100%;
    scroll-behavior: smooth;
    overflow: auto;
}

body{
    width: 100%;
    background-image: url(../img/mebg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center
}

#main{
    min-height: 100%;
}

.me1{
    width: 30vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 自身のサイズの半分だけ移動して完全中央に */
}

header{
    width: 100%;
    z-index: 999;
    max-width: 500px;
    margin: auto;
    top: 0;
    position: fixed;
}

.page{
    position:absolute;
    display: inline-block;
    width: 15.3px;
    height: 26.6px;
}

.page::before,
.page::after {
    content: "";
    position: absolute;
    top: calc(50% - 2px);
    width: 20px;
    height: 3px;
    background-color: #ffffff;
    transform-origin: 1px 50%;
    }

.page::before {
    transform: rotate(45deg);
}

.page::after {
    transform: rotate(-45deg);
}

#wapper{
    width: 30vw;
    margin: 100px auto 0 auto;
}

#wapper img{
    width: 100%;
}

@media print, screen and (min-width: 701px) {
    .page{
        top:40px;
        left:5vw;
    }

    #page-top {
        position: fixed;
        bottom: 24px;
        right: 24px;
        width: 48px;
        height: 48px;
        text-decoration: none;
        background-color: rgba(0, 0, 0, 0.402);
        border: #fff solid 2px;
        display: block;
        text-align: center;
        border-radius: 24px;
        opacity: 0;
        transition: opacity 0.4s ease-in;
    }
    
    .pagetop__arrow {
        height: 20px;
        width: 20px;
        border-top: 3px solid #ffffff;
        border-right: 3px solid #ffffff;
        transform: translateX(60%) translateY(80%) rotate(-45deg);
    }
    
      /* fadeinクラスがついた時だけ表示する */
    #page-top.fadein {
        opacity: 1;
    }
}

@media screen and (max-width: 700px) {
    .page{
        top:40px;
        left:5vw;
    }

    #page-top {
        position: fixed;
        bottom: 19px;
        right: 19px;
        width: 43px;
        height: 43px;
        text-decoration: none;
        background-color: rgba(0, 0, 0, 0.402);
        border: #fff solid 2px;
        display: block;
        text-align: center;
        border-radius: 24px;
        opacity: 0;
        transition: opacity 0.4s ease-in;
    }
    
    .pagetop__arrow {
        height: 15px;
        width: 15px;
        border-top: 3px solid #ffffff;
        border-right: 3px solid #ffffff;
        transform: translateX(80%) translateY(100%) rotate(-45deg);
    }
    
      /* fadeinクラスがついた時だけ表示する */
    #page-top.fadein {
        opacity: 1;
    }
}