body {
    background-color: #f7f7f7;
    color: #333;
    font-family: "Yusei magic", sans-serif;
    margin: 0;
    padding: 0;
    overflow: auto;
    width: 100vw;
    overflow-x: hidden;
    background-image: url("../images/background_img3.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.main{
    width: 100vw;
    overflow-x: hidden;
}

.hakase {
    margin-top: 2rem;
}

.pc-header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 14px 30px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    display: flex;
    border-radius: 32px;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
    overflow-x: hidden;
    width: 97%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.85);
}

header .headernav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

header .navicon img {
    margin-top: 6px;
    width: 40px;
    margin-left: 10px;
    margin-right: 10px;
}

header .sns-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}


header .logo {
    font-size: 24px;
    margin: 0;
    position: fixed;
    z-index: 999;
    & img {
        width: 141px;
    }
}

nav ul {
    list-style: none;
    margin-right: 20px;
    padding: 0;
}

nav ul li {
    display: inline;
    text-emphasis: none;
    margin: 0 15px;
    font-size: 30px;
    font-weight: 1000;
    font-family: "Anta", sans-serif;

}

nav ul li a {
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: 0.25s;
}

nav ul li a:hover {
    text-decoration: none;
    color: #ffb2dc;
}

main {
    margin-top: 1em;

    & hr {
        border-style: none;
        border-top: 10px solid red;
    }
}

footer {
    bottom: 0;
    width: 100%;
    background-color: #fFEAF6;
    color: #474747;
    padding: 147px 0;
    font-size: 15px;
    display: flex;
    justify-content: center;
    position: relative;

    & a {
        text-decoration: none;
        color: inherit;
    }
}

footer .description-footer {
    position: absolute;
    bottom: 0;
    right: 0;
    text-align: right;
}

.sp-nav {
    display: none;
}
#hamburger{
    display: none;
}

/* 990px */
@media screen and (max-width:0px) {
    /*スマホ用デザイン*/
    body {
        background-image: none;
    }

    .pc-header {
        display: none;
    }

    .sp-header {
        position: fixed;
        top: 0;
        margin: 0 auto;
        padding: 14px 28px;
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: space-between;
        align-items: center;
        white-space: nowrap;
        overflow-x: hidden;
        width: 100%;
        z-index: 100;
        background-color: rgba(255, 255, 255, 0.85);
    }

    .sp-logo {
        & img {
            width: 25%;
            margin-top: -3%;
            margin-left: -1%;
        }
    }

    #hamburger {
        position: relative;
        display: block;
        width: 10%;
        margin: 0 0 0 auto;
        right: 4%;
        margin-top: 3%;
    }

    #hamburger span {
        & img {
            width: 100%;
        }
    }

    .sp-nav {
        z-index: 999;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        display: block;
        width: 100%;
        background: rgba(255, 208, 251, 0.459);
        transition: all .2s ease-in-out;
        opacity: 0;
        transform: translateY(-100%);
    }

    .sp-nav ul {
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .sp-nav li {
        margin: 0;
        padding: 0;
    }

    .sp-nav li span {
        font-size: 15px;
        color: #fff;
    }

    .sp-nav li a,
    .sp-nav li span {
        display: block;
        padding: 20px 0;
    }

    /*基準となるli要素*/
    .sp-nav .close {
        position: relative;
        padding-left: 20px;
    }

    /*バツ印線1*/
    .sp-nav .close::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 16px;
        height: 1px;
        background: #fff;
        transform: rotate(45deg);
    }

    /*バツ印線2*/
    .sp-nav .close::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 16px;
        height: 1px;
        background: #fff;
        transform: rotate(-45deg);
    }

    .toggle {
        transform: translateY(0);
        opacity: 1;
    }

    .main-visual {
        padding: 0 4%;
    }

    h2 {
        line-height: 1.6;
        text-align: center;
    }
}