/* ---------------------------------------------
*   Custom Properties
--------------------------------------------- */
:root {
    --design-width: 375;
    --contents-width: 335;
    --contents-side-padding: 10;
    --minwidth: 320;
    --root-fz: 16;
    --line-height: 1.5;
    --hover-opacity-ratio: 0.8;
    --hover-duration: .3s;
    --color-base-1: #754c24;
    --color-base-1-rgb: 117, 76, 36;
    --color-base-2: #a67c52;
    --color-base-2-rgb: 166, 124, 82;
    --color-black-1: #12110c;
    --color-black-1-rgb: 18, 17, 12;
    --color-black-2: #2e0b0e;
    --color-black-2-rgb: 46, 11, 14;
    --color-white-1: #FFF;
    --color-white-1-rgb: 255, 255, 255;
    --color-theme-1: #FF9705;
    --color-theme-1-rgb: 255, 151, 5;
    --color-red-1: #eb4b46;
    --color-red-1-rgb: 235, 75, 70;
    --color-red-2: #F56856;
    --color-red-2-rgb: 245, 104, 86;
    --color-red-3: #c10230;
    --color-red-3-rgb: 193, 2, 48;
    --color-red-4: #e93b30;
    --color-red-4-rgb: 233, 59, 48;
    --color-red-5: #ca2030;
    --color-red-5-rgb: 202, 32, 48;
    --color-red-6: #b61c31;
    --color-red-6-rgb: 182, 28, 49;
    --color-beige-1: #e1c59c;
    --color-beige-1-rgb: 225, 197, 156;
    --color-beige-2: #fff1d2;
    --color-beige-2-rgb: 255, 241, 210;
    --color-yellow-1: #f9d87d;
    --color-yellow-1-rgb: 249, 216, 125;
    --color-pink-1: #fdd7d3;
    --color-pink-1-rgb: 253, 215, 211;
    --ff-root: "Noto Sans JP", sans-serif;
    --ff-noto-serif: "Noto Serif JP",serif;
    --ff-zenkaku: "Zen Kaku Gothic New", sans-serif;
    --ff-lato: "Lato",serif;
}
@media screen and (min-width: 751px) {
    :root {
        --contents-width: 430;
        --root-fz: 16;
    }
}

/* ---------------------------------------------
*   Universal selector
--------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

::-moz-selection {
    background-color: var(--color-theme-1);
    color: var(--color-white-1);
}

::selection {
    background-color: var(--color-white-1);
    color: var(--color-red-2);
}

/* ---------------------------------------------
*   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);
        overflow-x: hidden;
    }
}

body {
    min-width: calc(var(--minwidth) * 1px);
    overflow-x: hidden;
    line-height: var(--line-height);
    font-feature-settings: "palt";
}

/* ---------------------------------------------
*   <a> tag
--------------------------------------------- */
a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

/* ---------------------------------------------
*   <img> tag
--------------------------------------------- */
img {
    max-width: 100%;
    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;
}