/* ---------------------------------------------
*   Custom Properties
--------------------------------------------- */
:root {
    --design-width: 1600;
    --contents-width: 1376;
    --contents-side-padding: 112;
    --minwidth: calc(var(--contents-width) + var(--contents-side-padding) * 2);
    --fixed-header-height: 160;
    --root-fz: 16;
    --line-height: 1.5;
    --hover-opacity-ratio: 0.7;
    --hover-duration: .3s;
    --color-base-1: #484848;
    --color-base-1-rgb: 72, 72, 72;
    --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-txt-1: #f7a400;
    --color-txt-1-rgb: 247, 164, 0;
    --color-txt-2: #e50012;
    --color-txt-2-rgb: 229, 0, 18;
    --color-bg-1: #f6f2ee;
    --color-bg-1-rgb: 246, 242, 238;
    --color-gd-1-1: #f7b100;
    --color-gd-1-1-rgb: 247, 177, 0;
    --color-gd-1-2: #fc4804;
    --color-gd-1-2-rgb: 252, 72, 4;
    --color-gd-1-3: #f5a102;
    --color-gd-1-3-rgb: 245, 161, 2;
    --color-gd-1-4: #e54380;
    --color-gd-1-4-rgb: 229, 67, 128;
    --color-gd-1-1: #f7b100;
    --color-gd-1-1-rgb: 247, 177, 0;
    --color-gd-2-1: #f7b100;
    --color-gd-2-1-rgb: 247, 177, 0;
    --color-gd-2-2: #f5a102;
    --color-gd-2-2-rgb: 245, 161, 2;
    --color-gd-2-3: #ffd700;
    --color-gd-2-3-rgb: 255, 215, 0;
    --color-gd-2-2: #f5a102;
    --color-gd-2-2-rgb: 245, 161, 2;
    --color-gd-2-1: #f7b100;
    --color-gd-2-1-rgb: 247, 177, 0;
    --color-gd-3-1: #f5632f;
    --color-gd-3-1-rgb: 245, 99, 47;
    --color-gd-3-2: #f71500;
    --color-gd-3-2-rgb: 247, 21, 0;
    --color-gd-3-3: #f56c72;
    --color-gd-3-3-rgb: 245, 108, 114;
    --color-gd-3-4: #e50012;
    --color-gd-3-4-rgb: 229, 0, 18;
    --color-gd-3-5: #f76841;
    --color-gd-3-5-rgb: 247, 104, 65;
    --ff-root: "Shippori Mincho", serif;
    --ff-gothic: "Zen Kaku Gothic New", sans-serif;
    --ff-ephesis: "Ephesis", cursive;
    --ff-libre: "Libre Baskerville", serif;
}
@media screen and (max-width: 768px) and (orientation: portrait) {
    :root {
        --design-width: 400;
        --contents-width: 360;
        --contents-side-padding: 20;
        --minwidth: 320;
        --fixed-header-height: 80;
        --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: 768px) and (orientation: portrait) {
    html,
    body {
        font-size: calc(var(--root-fz) / var(--design-width) * 100vw);
    }
}
html.is-noscroll,
body.is-noscroll {
    min-height: 100%;
    min-height: 100dvh;
}

body {
    line-height: var(--line-height);
    background-color: var(--color-bg-1);
}
.is-noscroll body {
    position: fixed;
    width: 100%;
    height: 100%;
    height: 100dvh;
}

/* ---------------------------------------------
*   <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: 0;
    border: 0;
    margin: 0;
    background: 0;
    pointer-events: none;
}