/* ---------------------------------------------
*   Custom Properties
--------------------------------------------- */
:root {
    --design-width: 1280;
    --contents-width: 1000;
    --contents-side-padding: 20;
    --minwidth: 320;
    --fixed-header-height: 120;
    --root-fz: 16;
    --line-height: 1.5;
    --hover-opacity-ratio: 0.8;
    --hover-duration: .3s;
    --color-base-1: #303030;
    --color-base-1-rgb: 48, 48, 48;
    --color-black-1: #000;
    --color-black-1-rgb: 0, 0, 0;
    --color-black-2: #303030;
    --color-black-2-rgb: 48, 48, 48;
    --color-gray-1: #CCC;
    --color-gray-1-rgb: 204, 204, 204;
    --color-white-1: #FFF;
    --color-white-1-rgb: 255, 255, 255;
    --color-beige-1: #F8F5EB;
    --color-beige-1-rgb: 248, 245, 235;
    --color-green-1: #049856;
    --color-green-1-rgb: 4, 152, 86;
    --color-yellow-1: #FFF468;
    --color-yellow-1-rgb: 255, 244, 104;
    --ff-root: "Zen Kaku Gothic New", sans-serif;
    --ff-zenkaku: "Zen Kaku Gothic New", sans-serif;
    --ff-lexend: "Lexend", sans-serif;
}
@media screen and (max-width: 767px) {
    :root {
        --design-width: 360;
        --contents-width: 300;
        --contents-side-padding: 30;
        --fixed-header-height: 100;
    }
}

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

/* ---------------------------------------------
*   html, body
--------------------------------------------- */
html,
body {
    color: var(--color-base-1);
    font-size: calc(var(--root-fz) * 1px);
    font-family: var(--ff-root);
    -webkit-text-size-adjust: 100%;
}
@media screen and (max-width: 767px) {
    html,
    body {
        font-size: calc(var(--root-fz) / var(--design-width) * 100vw);
    }
}

html.is-noscroll {
    min-height: 100%;
    min-height: 100dvh;
}

body {
    min-width: calc(var(--minwidth) * 1px);
    line-height: var(--line-height);
}
.is-noscroll body {
    position: fixed;
    width: 100%;
    height: 100%;
    height: 100dvh;
    box-sizing: border-box;
}

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

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

/* ---------------------------------------------
*   <hr> tag as anchor target
--------------------------------------------- */
hr[id^=anchor-] {
    display: block;
    width: auto;
    height: 0;
    padding: calc(var(--fixed-header-height) * 1px) 0 0 0;
    border: 0;
    margin: calc(var(--fixed-header-height) * -1px) 0 0 0;
    background: 0;
    pointer-events: none;
}