/* ---------------------------------------------
*   Custom Properties
--------------------------------------------- */
:root {
    --design-width: 1366;
    --contents-width: 1366;
    --contents-side-padding: 10;
    --minwidth: calc(var(--contents-width) + var(--contents-side-padding) * 2);
    --fixed-header-height: 80;
    --root-fz: 16;
    --line-height: 1.5;
    --hover-opacity-ratio: 0.8;
    --hover-duration: .3s;
    --color-base-1: #663510;
    --color-base-1-rgb: 102, 53, 16;
    --color-black-1: #000;
    --color-black-1-rgb: 0, 0, 0;
    --color-black-2: #0b0909;
    --color-black-2-rgb: 11, 9, 9;
    --color-white-1: #fff;
    --color-white-1-rgb: 255, 255, 255;
    --color-white-2: #fefefe;
    --color-white-2-rgb: 254, 254, 254;
    --color-orange-1: #f7b52c;
    --color-orange-1-rgb: 247, 181, 44;
    --color-orange-2: #f6b42c;
    --color-orange-2-rgb: 246, 180, 44;
    --ff-root: "Noto Sans JP", sans-serif;
}
@media screen and (max-width: 750px) {
    :root {
        --design-width: 375;
        --contents-width: 355;
        --contents-side-padding: 10;
        --minwidth: 320;
        --fixed-header-height: 60;
        --root-fz: 16;
        --line-height: 1.5;
    }
}
@media screen and (max-width: 750px) {
    :root .windows.chrome,
    :root .windows.edge {
        --design-width: 385;
    }
}

/* ---------------------------------------------
*   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: 750px) {
    html,
    body {
        font-size: calc(var(--root-fz) / var(--design-width) * 100vw);
    }
}

body {
    line-height: var(--line-height);
}
@media screen and (max-width: 750px) {
    body {
        min-width: calc(var(--minwidth) * 1px);
    }
}

/* ---------------------------------------------
*   <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
--------------------------------------------- */