/* ---------------------------------------------
*   Custom Properties
--------------------------------------------- */
:root {
    --design-width: 1366;
    --contents-width: 980;
    --tab-width: 1100;
    --contents-side-padding: 60;
    --minwidth: 320;
    --fixed-header-height: 0;
    --root-fz: 16;
    --line-height: 1.5;
    --hover-opacity-ratio: 0.8;
    --hover-duration: .3s;
    --color-base-1: #060001;
    --color-base-1-rgb: 6, 0, 1;
    --color-black-1: #000;
    --color-black-1-rgb: 0, 0, 0;
    --color-white-1: #fff;
    --color-white-1-rgb: 255, 255, 255;
    --color-red-1: #FF2828;
    --color-red-1-rgb: 255, 40, 40;
    --color-red-2: #FF7E7E;
    --color-red-2-rgb: 255, 126, 126;
    --color-red-3: #FFBEBE;
    --color-red-3-rgb: 255, 190, 190;
    --color-blue-1: #0A82FF;
    --color-blue-1-rgb: 10, 130, 255;
    --color-blue-2: #6CB4FF;
    --color-blue-2-rgb: 108, 180, 255;
    --color-blue-3: #B5D9FF;
    --color-blue-3-rgb: 181, 217, 255;
    --color-gray-1: #B2B2B2;
    --color-gray-1-rgb: 178, 178, 178;
    --color-shadow-1: #835700;
    --color-shadow-1-rgb: 131, 87, 0;
    --ff-root: "Noto Sans JP", sans-serif;
}
@media screen and (max-width: 750px) {
    :root {
        --design-width: 375;
        --contents-width: 320;
        --tab-width: 345;
        --contents-side-padding: 15;
        --root-fz: 16;
        --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);
    font-weight: 700;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: calc(var(--minwidth) * 1px);
    line-height: var(--line-height);
}

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

/* ---------------------------------------------
*   <img> tag
--------------------------------------------- */
img {
    display: block;
    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;
}