/* ---------------------------------------------
*   Universal selector
--------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

/* ---------------------------------------------
*   html, body
--------------------------------------------- */
html,
body {
    color: #000;
    font-size: 12px;
    font-family: "m-plus-2p", sans-serif;
    -webkit-text-size-adjust: 100%;
}
@media screen and (max-width: 1024px) {
    html,
body {
        font-size: 1rem;
    }
}

@media screen and (max-width: 1024px) {
    html.is-noscroll {
        min-height: 100%;
        min-height: 100dvh;
    }
}

body {
    line-height: 1.5;
}
@media screen and (max-width: 1024px) {
    body {
        line-height: 1.5;
        min-width: 320px;
    }
}
@media screen and (max-width: 1024px) {
    .is-noscroll body {
        position: fixed;
        width: 100%;
        height: 100%;
        height: 100dvh;
        box-sizing: border-box;
    }
}

/* ---------------------------------------------
*   <a> tag
--------------------------------------------- */
a {
    color: inherit;
    text-decoration: none;
    outline: none;
}

/* ---------------------------------------------
*   <img> tag
--------------------------------------------- */
img {
    max-width: 100%;
    vertical-align: bottom;
    width: 100%;
    height: auto;
}

/* ---------------------------------------------
*   <hr> tag as anchor target
--------------------------------------------- */
hr[id^=anchor-] {
    display: block;
    width: auto;
    height: 0;
    padding: 100px 0 0 0;
    border: 0;
    margin: -100px 0 0 0;
    background: 0;
    pointer-events: none;
}
@media screen and (max-width: 1024px) {
    hr[id^=anchor-] {
        padding-top: 55px;
        margin-top: -55px;
    }
}

button {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline: none;
}