/* ---------------------------------------------
*   Custom Properties
--------------------------------------------- */
:root {
    --design-width: 1600;
    --contents-width: 1520;
    --contents-side-padding: 16;
    --minwidth: 320;
    --fixed-header-height: 120;
    --root-fz: 16;
    --line-height: 1.5;
    --hover-opacity-ratio: 0.7;
    --hover-duration: 0.3s;
    --color-base-1: #222;
    --color-base-1-rgb: 34, 34, 34;
    --color-black-1: #000;
    --color-black-1-rgb: 0, 0, 0;
    --color-white-1: #FFF;
    --color-white-1-rgb: 255, 255, 255;
    --color-gray-1: #888;
    --color-gray-1-rgb: 136, 136, 136;
    --color-gray-2: #EBE8E5;
    --color-gray-2-rgb: 235, 232, 229;
    --color-lightgray-1: #F3F2F1;
    --color-lightgray-1-rgb: 243, 242, 241;
    --ff-root: "Noto Sans JP", sans-serif;
    --ff-outfit: "Outfit", sans-serif;
}
@media screen and (max-width: 1300px) {
    :root {
        --fixed-header-height: 70;
    }
}
@media screen and (max-width: 600px) {
    :root {
        --design-width: 375;
        --contents-width: 343;
        --root-fz: 16;
    }
}

/* ---------------------------------------------
*   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: 600px) {
    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;
}