@media screen and (max-width: 750px) {
    .windows.chrome,
    .windows.edge {
        --vw-factor: 97vw;
    }
}

/* ---------------------------------------------
*   Custom Properties
--------------------------------------------- */
:root {
    --design-width: 375;
    --contents-width: 335;
    --contents-side-padding: 10;
    --minwidth: 320;
    --root-fz: 16;
    --line-height: 1.5;
    --vw-factor: 100vw;
    --hover-opacity-ratio: 0.8;
    --hover-duration: .3s;
    --color-base-1: #fff;
    --color-base-1-rgb: 255, 255, 255;
    --color-black-1: #000;
    --color-black-1-rgb: 0, 0, 0;
    --color-black-2: #12110c;
    --color-black-2-rgb: 18, 17, 12;
    --color-black-3: #2e0b0e;
    --color-black-3-rgb: 46, 11, 14;
    --color-white-1: #FFF;
    --color-white-1-rgb: 255, 255, 255;
    --color-theme-1: #86095f;
    --color-theme-1-rgb: 134, 9, 95;
    --color-purple-1: #79357c;
    --color-purple-1-rgb: 121, 53, 124;
    --color-purple-2: #a146a7;
    --color-purple-2-rgb: 161, 70, 167;
    --color-purple-3: #a356a5;
    --color-purple-3-rgb: 163, 86, 165;
    --color-purple-4: #ffdfec;
    --color-purple-4-rgb: 255, 223, 236;
    --color-purple-5: #ffe4f1;
    --color-purple-5-rgb: 255, 228, 241;
    --ff-root: "Noto Serif JP", serif;
    --ff-noto-sans: "Noto Sans JP", serif;
    --ff-lato: "Lato",serif;
    --ff-zenkaku: "Zen Kaku Gothic New", serif;
}
@media screen and (min-width: 751px) {
    :root {
        --contents-width: 430;
        --root-fz: 16;
    }
}

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

::-moz-selection {
    background-color: var(--color-theme-1);
    color: var(--color-white-1);
}

::selection {
    background-color: var(--color-theme-1);
    color: var(--color-white-1);
}

/* ---------------------------------------------
*   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: 750px) {
    html,
    body {
        font-size: calc(var(--root-fz) / var(--design-width) * var(--vw-factor));
        overflow-x: hidden;
    }
}

body {
    width: 100%;
    min-width: calc(var(--minwidth) * 1px);
    overflow-x: hidden;
    line-height: var(--line-height);
    font-feature-settings: "palt";
}

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

/* ---------------------------------------------
*   <img> tag
--------------------------------------------- */
img {
    max-width: 100%;
    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;
}