/* ---------------------------------------------
*   Custom Properties
--------------------------------------------- */
:root {
    --design-width: 1440;
    --contents-width: 1200;
    --contents-side-padding: 120;
    --minwidth: calc(var(--contents-width) + var(--contents-side-padding) * 2);
    --fixed-header-height: 100;
    --root-fz: 16;
    --line-height: 1.5;
    --hover-opacity-ratio: 0.6;
    --hover-duration: .3s;
    --color-base-1: #212121;
    --color-base-1-rgb: 33, 33, 33;
    --color-black-1: #212121;
    --color-black-1-rgb: 33, 33, 33;
    --color-black-2: #333333;
    --color-black-2-rgb: 51, 51, 51;
    --color-black-3: #00003E;
    --color-black-3-rgb: 0, 0, 62;
    --color-black-4: #000000;
    --color-black-4-rgb: 0, 0, 0;
    --color-white-1: #fff;
    --color-white-1-rgb: 255, 255, 255;
    --color-red-1: #FF0033;
    --color-red-1-rgb: 255, 0, 51;
    --color-blue-1: #3873F5;
    --color-blue-1-rgb: 56, 115, 245;
    --color-blue-2: #003E9A;
    --color-blue-2-rgb: 0, 62, 154;
    --color-gray-1: #EAEAEA;
    --color-gray-1-rgb: 234, 234, 234;
    --color-gray-2: #F7F7F7;
    --color-gray-2-rgb: 247, 247, 247;
    --color-gray-3: #DBDBDB;
    --color-gray-3-rgb: 219, 219, 219;
    --ff-root: "LINESeedJPStd Regular", sans-serif;
    --ff-line-regular: "LINESeedJPStd Regular", sans-serif;
    --ff-line-thin: "LINESeedJPStd Thin", sans-serif;
    --ff-line-bold: "LINESeedJPStd Bold", sans-serif;
    --ff-line-extrabold: "LINESeedJPStd ExtraBold", sans-serif;
}
@media screen and (max-width: 1023px) {
    :root {
        --design-width: 375;
        --contents-width: 335;
        --contents-side-padding: 20;
        --minwidth: 320;
        --fixed-header-height: 54;
        --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: 1023px) {
    html,
    body {
        font-size: calc(var(--root-fz) / var(--design-width) * 100vw);
    }
}

html:has(.body-fixed) {
    min-height: 100dvh;
}

body {
    position: relative;
    line-height: var(--line-height);
    background-color: var(--color-gray-1);
}
body.body-fixed {
    position: fixed;
    width: 100%;
}

/* ---------------------------------------------
*   <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;
}