/* ---------------------------------------------
*   Custom Properties
--------------------------------------------- */
:root {
    --design-width: 1728;
    --contents-width: 1200;
    --contents-side-padding: 20;
    --fixed-header-height: 132;
    --root-fz: 16;
    --line-height: 1.5;
    --hover-opacity-ratio: 0.7;
    --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: #091521;
    --color-black-2-rgb: 9, 21, 33;
    --color-black-3: #262C2D;
    --color-black-3-rgb: 38, 44, 45;
    --color-black-4: #1B2026;
    --color-black-4-rgb: 27, 32, 38;
    --color-black-5: #05142D;
    --color-black-5-rgb: 5, 20, 45;
    --color-black-6: #000002;
    --color-black-6-rgb: 0, 0, 2;
    --color-black-7: #231D1B;
    --color-black-7-rgb: 35, 29, 27;
    --color-white-1: #fff;
    --color-white-1-rgb: 255, 255, 255;
    --color-white-2: #fefefe;
    --color-white-2-rgb: 254, 254, 254;
    --color-gray-1: #F6F6F6;
    --color-gray-1-rgb: 246, 246, 246;
    --color-gray-2: #F3F5F6;
    --color-gray-2-rgb: 243, 245, 246;
    --color-gray-3: #DEDEDE;
    --color-gray-3-rgb: 222, 222, 222;
    --color-gray-4: #F5F5F5;
    --color-gray-4-rgb: 245, 245, 245;
    --color-blue-1: #0B79D4;
    --color-blue-1-rgb: 11, 121, 212;
    --color-blue-2: #94CFFF;
    --color-blue-2-rgb: 148, 207, 255;
    --color-blue-3: #085A67;
    --color-blue-3-rgb: 8, 90, 103;
    --color-red-1: #EA002A;
    --color-red-1-rgb: 234, 0, 42;
    --color-yellow-1: #F5E42B;
    --color-yellow-1-rgb: 245, 228, 43;
    --color-cat-1: #EAFCFF;
    --color-cat-1-rgb: 234, 252, 255;
    --ff-root: "Noto Sans JP", sans-serif;
    --ff-inter: "Inter", sans-serif;
    --ff-inter_noto: "Inter", "Noto Sans JP", sans-serif;
}
@media screen and (max-width: 750px) {
    :root {
        --design-width: 402;
        --contents-width: 338;
        --contents-side-padding: 28;
        --minwidth: 320;
        --fixed-header-height: 92;
        --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);
    -webkit-text-size-adjust: 100%;
}
@media screen and (max-width: 750px) {
    html,
    body {
        font-size: calc(var(--root-fz) / var(--design-width) * 100vw);
    }
}

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 {
    max-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;
}
@media screen and (max-width: 750px) {
    hr[id^=anchor-] {
        padding: calc(var(--fixed-header-height) / var(--design-width) * 100vw) 0 0 0;
        margin: calc(var(--fixed-header-height) / var(--design-width) * 100vw * -1) 0 0 0;
    }
}