/* ---------------------------------------------
*   Custom Properties
--------------------------------------------- */
:root {
    --design-width: 1440;
    --contents-width: 1180;
    --contents-side-padding: 20;
    --minwidth: calc(var(--contents-width) + var(--contents-side-padding) * 2);
    --fixed-header-height: 84;
    --root-fz: 16;
    --line-height: 1.5;
    --hover-opacity-ratio: 0.5;
    --hover-duration: .3s;
    --color-base-1: #333;
    --color-base-1-rgb: 51, 51, 51;
    --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: #FFF9E9;
    --color-white-2-rgb: 255, 249, 233;
    --color-white-3: #FFF8EF;
    --color-white-3-rgb: 255, 248, 239;
    --color-white-4: #FDF0E5;
    --color-white-4-rgb: 253, 240, 229;
    --color-white-5: #FFF8F2;
    --color-white-5-rgb: 255, 248, 242;
    --color-orange-1: #E76B2B;
    --color-orange-1-rgb: 231, 107, 43;
    --color-orange-2: #F5AB52;
    --color-orange-2-rgb: 245, 171, 82;
    --color-orange-3: #F29400;
    --color-orange-3-rgb: 242, 148, 0;
    --color-orange-4: #FFDDA2;
    --color-orange-4-rgb: 255, 221, 162;
    --color-orange-5: #F18F2A;
    --color-orange-5-rgb: 241, 143, 42;
    --color-orange-6: #F8AD5F;
    --color-orange-6-rgb: 248, 173, 95;
    --color-gray-1: #686362;
    --color-gray-1-rgb: 104, 99, 98;
    --color-gray-2: #555555;
    --color-gray-2-rgb: 85, 85, 85;
    --color-gray-3: #B6B6B6;
    --color-gray-3-rgb: 182, 182, 182;
    --color-gray-4: #676362;
    --color-gray-4-rgb: 103, 99, 98;
    --color-blue-1: #7DA6D5;
    --color-blue-1-rgb: 125, 166, 213;
    --color-blue-2: #E9F4F7;
    --color-blue-2-rgb: 233, 244, 247;
    --color-blue-3: #04F;
    --color-blue-3-rgb: 0, 68, 255;
    --ff-root: "Zen Maru Gothic", sans-serif;
    --ff-noto: "Noto Sans JP", sans-serif;
    --ff-inter: "Inter", sans-serif;
    --ff-poppins: "Poppins", sans-serif;
}
@media screen and (max-width: 1000px) {
    :root {
        --fixed-header-height: 68;
    }
}
@media screen and (max-width: 767px) {
    :root {
        --design-width: 390;
        --contents-width: 342;
        --contents-side-padding: 24;
        --minwidth: 320;
        --fixed-header-height: 80;
        --root-fz: 16;
        --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%;
}

body {
    line-height: var(--line-height);
    background-color: var(--color-white-2);
}
@media screen and (max-width: 767px) {
    body {
        min-width: calc(var(--minwidth) * 1px);
    }
}

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