/* ---------------------------------------------
*   Custom Properties
--------------------------------------------- */
:root {
    --design-width: 375;
    --contents-width: 345;
    --contents-side-padding: 30;
    --minwidth: 320;
    --root-fz: 16;
    --line-height: 1.5;
    --fixed-header-height: -2;
    --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: #000526;
    --color-black-3-rgb: 0, 5, 38;
    --color-white-1: #fff;
    --color-white-1-rgb: 255, 255, 255;
    --color-white-2: #fefefe;
    --color-white-2-rgb: 254, 254, 254;
    --color-navy-1: #0B196E;
    --color-navy-1-rgb: 11, 25, 110;
    --color-navy-2: #5C6183;
    --color-navy-2-rgb: 92, 97, 131;
    --color-navy-3: #101D70;
    --color-navy-3-rgb: 16, 29, 112;
    --color-gray-1: #F6F6F6;
    --color-gray-1-rgb: 246, 246, 246;
    --color-gray-2: #D3D3D3;
    --color-gray-2-rgb: 211, 211, 211;
    --color-gray-3: #E7E7E7;
    --color-gray-3-rgb: 231, 231, 231;
    --color-red-1: #C22D3B;
    --color-red-1-rgb: 194, 45, 59;
    --color-red-2: #E94554;
    --color-red-2-rgb: 233, 69, 84;
    --color-brown-1: #9E9653;
    --color-brown-1-rgb: 158, 150, 83;
    --color-brown-2: #B7AF6D;
    --color-brown-2-rgb: 183, 175, 109;
    --color-green-1: #026B6D;
    --color-green-1-rgb: 2, 107, 109;
    --color-green-2: #07787A;
    --color-green-2-rgb: 7, 120, 122;
    --color-green-3: #289395;
    --color-green-3-rgb: 40, 147, 149;
    --color-orange-1: #F7A316;
    --color-orange-1-rgb: 247, 163, 22;
    --color-blue-1: #91D7F3;
    --color-blue-1-rgb: 145, 215, 243;
    --color-purple-1: #9C7BAC;
    --color-purple-1-rgb: 156, 123, 172;
    --color-purple-2: #A36A77;
    --color-purple-2-rgb: 163, 106, 119;
    --color-yellow-1: #F6DB55;
    --color-yellow-1-rgb: 246, 219, 85;
    --ff-root: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "meiryo", sans-serif;
    --ff-noto: "Noto Sans JP", sans-serif;
    --ff-inter: "Inter", sans-serif;
}
@media screen and (min-width: 751px) and (max-width: 1349px) {
    :root {
        --contents-width: calc(500 * 100vw / 1350px);
        --root-fz: calc(16 * 100vw / 1350px);
        --fixed-header-height: -2;
    }
}
@media screen and (min-width: 1350px) {
    :root {
        --contents-width: 500;
        --root-fz: 16;
        --fixed-header-height: -2;
    }
}
: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 {
    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;
}