html, body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: "noto-sans-cjk-jp", sans-serif;
    font-weight: 700;
    font-style: normal;
}

/* header画像 */
.header { 
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.25);
    top: 0;
    left: 0;
    right: 0;
    position: fixed;
    border-radius: 0 2px 2px 0;
    z-index: 100;
}
.header img {
    height: auto;
    width: 100%;
    border-radius: 0 2px 2px 0;
    pointer-events: none;
}
/* ナビゲーション */
nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 49px;
    width: calc(100% - 20px);
    margin: 0;
    padding: 10px 10px 29px 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #FFFAEF;
    box-shadow: 0px -2px 6px rgba(0, 0, 0, 0.25);
    z-index: 100;
}
nav a {
    width: 52px;
    height: 49px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 35%;
}
nav a img {
    width: auto;
    height: 100%;
    pointer-events: none;
}
/* backLink */
#backLink {
    position: fixed;
    width: 43px;
    height: 43px;
    left: 15px;
    top: 80px;
    background: #006D47;
    padding: 10px;
    border-radius: 100%;
}
#backLink img {
    width: 43px;
    height: 43px;
    pointer-events: none;
}
.current {
    opacity: 100%;
}

@media (min-width: 769px) {
    /* スマホより大きい画面で適用されるスタイル */
    html {
        width: 386px;
        margin: 0 calc((100vw - 386px) / 2);
    }
    .header { 
        width: 386px;
        margin: 0 calc((100vw - 386px) / 2);
    }
    nav {
        width: 366px;
        margin: 0 calc((100vw - 386px) / 2);
    }
    .typesbar {
        width: 386px;
        margin: 0 calc((100vw - 386px) / 2);
    }
    #main {
        width: 386px;
    }
    #backLink {
        position: fixed;
        width: 43px;
        height: 43px;
        left: calc((100vw - 386px)/2 + 14px);
        top: 80px;
        background: #006D47;
        padding: 10px;
        border-radius: 100%;
    }
}
