/* ---------------------------------------------
*   Custom Properties
--------------------------------------------- */
:root {
    --design-width: 1440;
    --contents-width: 1000;
    --contents-side-padding: 25;
    --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.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-white-1: #fff;
    --color-white-1-rgb: 255, 255, 255;
    --color-white-2: #fefefe;
    --color-white-2-rgb: 254, 254, 254;
    --color-primary-1: #007FFF;
    --color-primary-1-rgb: 0, 127, 255;
    --color-accent-1: #ff0000;
    --color-accent-1-rgb: 255, 0, 0;
    --color-shadow-1: #bdbcbc;
    --color-shadow-1-rgb: 189, 188, 188;
    --color-shadow-2: #00dce6;
    --color-shadow-2-rgb: 0, 220, 230;
    --color-shadow-3: #00ff00;
    --color-shadow-3-rgb: 0, 255, 0;
    --color-bg-1: #ffffff;
    --color-bg-1-rgb: 255, 255, 255;
    --color-bg-2: #ebebeb;
    --color-bg-2-rgb: 235, 235, 235;
    --ff-root: "Noto Sans JP", sans-serif;
}
@media screen and (max-width: 767px) {
    :root {
        --design-width: 750;
        --contents-width: 675;
        --contents-side-padding: 37.5;
        --minwidth: 320;
        --fixed-header-height: 105;
        --root-fz: 32;
        --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: 767px) {
    html,
    body {
        font-size: calc(var(--root-fz) / var(--design-width) * 100vw);
    }
}

html.is-noscroll {
    min-height: 100%;
    min-height: 100dvh;
}

body {
    line-height: var(--line-height);
    font-feature-settings: "palt" 1;
}
.is-noscroll body {
    position: fixed;
    width: 100%;
    height: 100%;
    height: 100dvh;
    box-sizing: border-box;
}

/* ---------------------------------------------
*   <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: 767px) {
    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;
    }
}

hr[id^=anchor-1] {
    padding: calc(var(--fixed-header-height) * 1px + 235px) 0 0 0;
    margin: calc(var(--fixed-header-height) * -1px - 235px) 0 0 0;
}
@media screen and (min-width: 1025px) {
    hr[id^=anchor-1] {
        padding: calc(var(--fixed-header-height) * 1px + 235 / var(--design-width) * 100vw) 0 0 0;
        margin: calc(var(--fixed-header-height) * -1px - 235 / var(--design-width) * 100vw) 0 0 0;
    }
}
@media screen and (max-width: 767px) {
    hr[id^=anchor-1] {
        padding: calc(var(--fixed-header-height) / var(--design-width) * 100vw + 122 / var(--design-width) * 100vw) 0 0 0;
        margin: calc(var(--fixed-header-height) / var(--design-width) * 100vw * -1 - 122 / var(--design-width) * 100vw) 0 0 0;
    }
}