/* ---------------------------------------------
*   Custom Properties
--------------------------------------------- */
:root {
    --design-width: 1200;
    --contents-width: 950;
    --contents-side-padding: 20;
    --minwidth: 320;
    --fixed-header-height: 122;
    --root-fz: 16;
    --line-height: 1.5;
    --hover-opacity-ratio: 0.8;
    --hover-duration: .3s;
    --color-base-1: #181A24;
    --color-base-1-rgb: 24, 26, 36;
    --color-black-1: #181A24;
    --color-black-1-rgb: 24, 26, 36;
    --color-gray-1: #F5F5F5;
    --color-gray-1-rgb: 245, 245, 245;
    --color-gray-2: #A8A8A8;
    --color-gray-2-rgb: 168, 168, 168;
    --color-gray-3: #CECECE;
    --color-gray-3-rgb: 206, 206, 206;
    --color-white-1: #fff;
    --color-white-1-rgb: 255, 255, 255;
    --color-blue-1: #004098;
    --color-blue-1-rgb: 0, 64, 152;
    --color-blue-2: #3359cc;
    --color-blue-2-rgb: 51, 89, 204;
    --color-blue-3: #edeefa;
    --color-blue-3-rgb: 237, 238, 250;
}
@media screen and (max-width: 750px) {
    :root {
        --design-width: 375;
        --contents-width: 335;
        --contents-side-padding: 20;
        --fixed-header-height: 78;
        --root-fz: 16;
        --line-height: 1.5;
    }
}

/* ---------------------------------------------
*   Universal selector
--------------------------------------------- */
/* ---------------------------------------------
*   html, body
--------------------------------------------- */
#contents {
    color: var(--color-base-1);
    font-size: calc(var(--root-fz) * 1px);
    font-weight: 400;
    -webkit-text-size-adjust: 100%;
    min-width: calc(var(--minwidth) * 1px);
    line-height: var(--line-height);
}
@media screen and (max-width: 750px) {
    #contents {
        font-size: calc(var(--root-fz) / var(--design-width) * 100vw);
    }
}
#contents *, #contents *::before, #contents *::after {
    box-sizing: border-box;
}

/* ---------------------------------------------
*   <a> tag
--------------------------------------------- */
#contents a {
    cursor: pointer;
}

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

/* ---------------------------------------------
*   <hr> tag as anchor target
--------------------------------------------- */
#contents hr[id^=anchor-] {
    display: block;
    width: auto;
    height: 0;
    margin: 0;
    border: 0;
    background: 0;
    pointer-events: none;
}