/* ---------------------------------------------
*   Custom Properties
--------------------------------------------- */
:root {
    --design-width: 1367;
    --contents-width: 1200;
    --contents-side-padding: 10;
    --minwidth: calc(var(--contents-width) + var(--contents-side-padding) * 2);
    --fixed-header-height: 0;
    --root-fz: 16;
    --line-height: 1.5;
    --hover-opacity-ratio: 0.8;
    --hover-duration: .3s;
    --color-base-1: #000;
    --color-base-1-rgb: 0, 0, 0;
    --color-black-1: #000;
    --color-black-1-rgb: 0, 0, 0;
    --color-black-2: #111;
    --color-black-2-rgb: 17, 17, 17;
    --color-white-1: #fff;
    --color-white-1-rgb: 255, 255, 255;
    --color-white-2: #fefefe;
    --color-white-2-rgb: 254, 254, 254;
    --color-bg1-1: #d71e6e;
    --color-bg1-1-rgb: 215, 30, 110;
    --color-gd1-1: #ebc5d2;
    --color-gd1-1-rgb: 235, 197, 210;
    --color-gd1-2: #ffffff;
    --color-gd1-2-rgb: 255, 255, 255;
    --ff-root: "Noto Sans JP", sans-serif;
}
@media screen and (max-width: 768px) {
    :root {
        --design-width: 750;
        --contents-width: 650;
        --contents-side-padding: 50;
        --minwidth: 320;
        --fixed-header-height: 0;
        --root-fz: 32;
        --line-height: 1.5;
    }
}

/* ---------------------------------------------
*   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%;
    overscroll-behavior-y: none;
}
@media screen and (max-width: 768px) {
    html,
    body {
        font-size: calc(var(--root-fz) / var(--design-width) * 100vw);
    }
}

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

body {
    line-height: var(--line-height);
}
@media screen and (max-width: 768px) {
    .is-noscroll body {
        position: fixed;
        width: 100%;
        height: 100%;
        height: 100dvh;
        box-sizing: border-box;
    }
}
@media screen and (max-width: 768px) {
    body.windows.chrome {
        overflow-x: hidden;
    }
}
@media screen and (max-width: 768px) {
    body.windows.edge {
        overflow-x: hidden;
    }
}

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

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

/* ---------------------------------------------
*   <hr> tag as anchor target
--------------------------------------------- */