/* ---------------------------------------------
*   Custom Properties
--------------------------------------------- */
:root {
    --design-width: 375;
    --contents-width: 375;
    --contents-side-padding: 0;
    --minwidth: 320;
    --root-fz: 16;
    --line-height: 1.5;
    --hover-opacity-ratio: 0.8;
    --hover-duration: .3s;
    --color-base-1: #763b2f;
    --color-base-1-rgb: 118, 59, 47;
    --color-base-2: #a1806d;
    --color-base-2-rgb: 161, 128, 109;
    --color-black-1: #000;
    --color-black-1-rgb: 0, 0, 0;
    --color-white-1: #FFF;
    --color-white-1-rgb: 255, 255, 255;
    --color-red-1: #ef3240;
    --color-red-1-rgb: 239, 50, 64;
    --color-pink-1: #ff9499;
    --color-pink-1-rgb: 255, 148, 153;
    --color-pink-2: #ffede8;
    --color-pink-2-rgb: 255, 237, 232;
    --color-pink-3: #FFDDDA;
    --color-pink-3-rgb: 255, 221, 218;
    --color-yellow-1: #fff6a7;
    --color-yellow-1-rgb: 255, 246, 167;
    --color-green-1: #64b98d;
    --color-green-1-rgb: 100, 185, 141;
    --color-green-2: #2e92a3;
    --color-green-2-rgb: 46, 146, 163;
    --color-green-3: #e5f9eb;
    --color-green-3-rgb: 229, 249, 235;
    --ff-root: "Noto Sans JP", serif;
    --ff-noto-serif: "Noto Serif JP", sans-serif;
    --ff-lato: "Lato",serif;
    --ff-zenkaku: "Zen Kaku Gothic New", 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-green-1);
    color: var(--color-white-1);
}

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

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