/* ---------------------------------------------
*   Custom Properties
--------------------------------------------- */
:root {
    --design-width: 1920;
    --contents-width: 940;
    --contents-side-padding: 40;
    --minwidth: 320;
    --fixed-header-height: 80;
    --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-black-3: #222222;
    --color-black-3-rgb: 34, 34, 34;
    --color-gray-1: #717171;
    --color-gray-1-rgb: 113, 113, 113;
    --color-gray-2: #707070;
    --color-gray-2-rgb: 112, 112, 112;
    --color-white-1: #fff;
    --color-white-1-rgb: 255, 255, 255;
    --color-white-2: #F0EEE8;
    --color-white-2-rgb: 240, 238, 232;
    --color-red-1: #CC0033;
    --color-red-1-rgb: 204, 0, 51;
    --color-red-2: #E58C85;
    --color-red-2-rgb: 229, 140, 133;
    --color-brown-1: #5D3B3B;
    --color-brown-1-rgb: 93, 59, 59;
    --color-blue-1: #011EFA;
    --color-blue-1-rgb: 1, 30, 250;
    --color-yellow-1: #F7FF1A;
    --color-yellow-1-rgb: 247, 255, 26;
    --color-yellow-2: #55502D;
    --color-yellow-2-rgb: 85, 80, 45;
    --color-yellow-3: #F5EBCB;
    --color-yellow-3-rgb: 245, 235, 203;
    --color-yellow-4: #FFFA00;
    --color-yellow-4-rgb: 255, 250, 0;
    --ff-root: "Noto Sans JP", sans-serif;
}
@media screen and (max-width: 767px) {
    :root {
        --design-width: 720;
        --contents-width: 670;
        --contents-side-padding: 25;
        --minwidth: 320;
        --fixed-header-height: 90;
        --root-fz: 32;
        --line-height: 1.5;
    }
}

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

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

body {
    min-width: calc(var(--minwidth) * 1px);
    line-height: var(--line-height);
    /*opacity: 0;*/
    opacity: 1;
    transition: opacity 0.5s;
}
body.is-loaded {
    opacity: 1;
}

.ga_delay_inview {
    width: 100%;
    height: 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
--------------------------------------------- */
hr[id^=anchor-] {
    display: block;
    width: auto;
    height: 0;
    border: 0;
    background: 0;
    pointer-events: none;
}
