/* ---------------------------------------------
*   Custom Properties
--------------------------------------------- */
:root {
    --design-width: 1920;
    --contents-width: 1120;
    --contents-width-small:980;
    --contents-side-padding: 20;
    --minwidth: 320;
    --fixed-header-height: 190;
    --root-fz: 16;
    --line-height: 1.5;
    --diagnosis-width: 929;
    --diagnosis-content-width: 980;
    --hover-opacity-ratio: 0.7;
    --hover-duration: .3s;
    --color-base-1: #727477;
    --color-base-1-rgb: 114, 116, 119;
    --color-black-1: #000;
    --color-black-1-rgb: 0, 0, 0;
    --color-black-2: #4D4D4D;
    --color-black-2-rgb: 77, 77, 77;
    --color-gray-1: #92a4b7;
    --color-gray-1-rgb: 146, 164, 183;
    --color-gray-2: #b6b6b8;
    --color-gray-2-rgb: 182, 182, 184;
    --color-gray-3: #63615a;
    --color-gray-3-rgb: 99, 97, 90;
    --color-gray-4: #828282;
    --color-gray-4-rgb: 130, 130, 130;
    --color-gray-5: #a8a9ab;
    --color-gray-5-rgb: 168, 169, 171;
    --color-white-1: #fff;
    --color-white-1-rgb: 255, 255, 255;
    --color-white-2: #fcfaf3;
    --color-white-2-rgb: 252, 250, 243;
    --color-white-3: #fefdfa;
    --color-white-3-rgb: 254, 253, 250;
    --color-white-4: #fffdf7;
    --color-white-4-rgb: 255, 253, 247;
    --color-blue-1: #c5dbf2;
    --color-blue-1-rgb: 197, 219, 242;
    --color-blue-2: #7db0df;
    --color-blue-2-rgb: 125, 176, 223;
    --color-blue-3: #E2EDF8;
    --color-blue-3-rgb: 226, 237, 248;
    --color-blue-4: #dde8f0;
    --color-blue-4-rgb: 221, 232, 240;
    --color-blue-5: #bbd0e2;
    --color-blue-5-rgb: 187, 208, 226;
    --color-blue-6: #d4dbe2;
    --color-blue-6-rgb: 212, 219, 226;
    --color-blue-7: #64b0df;
    --color-blue-7-rgb: 100, 176, 223;
    --color-blue-8: #bed7ef;
    --color-blue-8-rgb: 190, 215, 239;
    --color-blue-9: #7c9fcd;
    --color-blue-9-rgb: 124, 159, 205;
    --color-blue-10: #6fbcdc;
    --color-blue-10-rgb: 111, 188, 220;
    --color-blue-11: #a1d3e8;
    --color-blue-11-rgb: 161, 211, 232;
    --color-blue-12: #719bd1;
    --color-blue-12-rgb: 113, 155, 209;
    --color-pink-1: #efd4df;
    --color-pink-1-rgb: 239, 212, 223;
    --color-pink-2: #eaccce;
    --color-pink-2-rgb: 234, 204, 206;
    --color-pink-3: #dda6bc;
    --color-pink-3-rgb: 221, 166, 188;
    --color-pink-4: #e4c0cb;
    --color-pink-4-rgb: 228, 192, 203;
    --color-pink-5: #e698b8;
    --color-pink-5-rgb: 230, 152, 184;
    --color-brown-1: #d3c5b1;
    --color-brown-1-rgb: 211, 197, 177;
    --color-brown-2: #846969;
    --color-brown-2-rgb: 132, 105, 105;
    --color-brown-3: #6f6259;
    --color-brown-3-rgb: 111, 98, 89;
    --color-yellow-1: #fffdee;
    --color-yellow-1-rgb: 255, 253, 238;
    --color-yellow-2: #e7cb69;
    --color-yellow-2-rgb: 231, 203, 105;
    --color-red-1: #c4494d;
    --color-red-1-rgb: 196, 73, 77;
    --color-purple-1: #d2afce;
    --color-purple-1-rgb: 210, 175, 206;
    --color-green-1: #89bac0;
    --color-green-1-rgb: 137, 186, 192;
    --color-green-2: #b2d2be;
    --color-green-2-rgb: 178, 210, 190;
    --color-green-3: #cad87e;
    --color-green-3-rgb: 202, 216, 126;
    --color-beige-1: #f5f4ed;
    --color-beige-1-rgb: 245, 244, 237;
    --color-beige-2: #a19d91;
    --color-beige-2-rgb: 161, 157, 145;
    --color-beige-3: #a09c90;
    --color-beige-3-rgb: 160, 156, 144;
    --ff-root: "noto-sans-cjk-jp", sans-serif;
    --ff-en: "collier", sans-serif;
    --ff-shippori: "shippori-mincho", sans-serif;
    --ff-fot: "fot-klee-pro", sans-serif;
    --ff-zen: "zen-old-mincho", sans-serif;
    --ff-ltc: "ltc-metropolitan-pro", sans-serif;
}
@media screen and (max-width: 1024px) {
    :root {
        --fixed-header-height: 80;
    }
}
@media screen and (max-width: 767px) {
    :root {
        --design-width: 375;
        --contents-width: 355;
        --contents-side-padding: 15;
        --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);
    }
}

body {
    position: relative;
    min-width: calc(var(--minwidth) * 1px);
    line-height: var(--line-height);
    background-color: var(--color-white-3);
}
body::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 1001;
    background-color: var(--color-white-3);
}
.wf-active body::after {
    display: none;
}

@media screen and (min-width: 1025px) {
    body.is-headerSubnav-show {
        --fixed-header-height: 170;
    }
}

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