/* ---------------------------------------------
*   Custom Properties
--------------------------------------------- */
:root {
    --design-width: 1280;
    --contents-width: 976;
    --contents-side-padding: 20;
    --minwidth: 320;
    --fixed-header-height: 0;
    --root-fz: 16;
    --line-height: 1.7;
    --hover-opacity-ratio: 0.8;
    --hover-duration: .3s;
    --color-base-1: #1A1A1A;
    --color-base-1-rgb: 26, 26, 26;
    --color-black-1: #000;
    --color-black-1-rgb: 0, 0, 0;
    --color-black-2: #4D4D4D;
    --color-black-2-rgb: 77, 77, 77;
    --color-gray-1: #666666;
    --color-gray-1-rgb: 102, 102, 102;
    --color-gray-2: #999999;
    --color-gray-2-rgb: 153, 153, 153;
    --color-gray-3: #CCCCCC;
    --color-gray-3-rgb: 204, 204, 204;
    --color-gray-4: #E5E5E5;
    --color-gray-4-rgb: 229, 229, 229;
    --color-gray-5: #F2F2F2;
    --color-gray-5-rgb: 242, 242, 242;
    --color-white-1: #fff;
    --color-white-1-rgb: 255, 255, 255;
    --color-red-1: #BF4840;
    --color-red-1-rgb: 191, 72, 64;
    --color-blue-1: #0041C0;
    --color-blue-1-rgb: 0, 65, 192;
    --color-blue-2: #0057B7;
    --color-blue-2-rgb: 0, 87, 183;
    --color-purple-1: #6A0DAD;
    --color-purple-1-rgb: 106, 13, 173;
    --color-green-1: #007E33;
    --color-green-1-rgb: 0, 126, 51;
    --color-yellow-1: #966E09;
    --color-yellow-1-rgb: 150, 110, 9;
    --ff-root: "Noto Sans JP", sans-serif;
}
@media screen and (max-width: 767px) {
    :root {
        --design-width: 400;
        --contents-width: 368;
        --contents-side-padding: 16;
        --minwidth: 320;
        --root-fz: 16;
    }
}

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

/* ---------------------------------------------
*   html, body
--------------------------------------------- */
body {
    color: var(--color-base-1);
    font-size: calc(var(--root-fz) * 1px);
    font-family: var(--ff-root);
    -webkit-text-size-adjust: 100%;
    background-color: var(--color-gray-5);
    min-width: calc(var(--minwidth) * 1px);
    line-height: var(--line-height);
}

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

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

/* ---------------------------------------------
*   <hr> tag as anchor target
--------------------------------------------- */
body hr[id^=anchor-]:not(.c-border) {
    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;
}
body hr.c-border {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--color-gray-3);
}