/* ---------------------------------------------
*   Custom Properties
--------------------------------------------- */
:root {
    --design-width: 1400;
    --contents-width: 980;
    --contents-side-padding: 10;
    --min-width: calc(var(--contents-width) + var(--contents-side-padding) * 2);
    --fixed-header-height: 45;
    --root-fz: 10;
    --line-height: 1.5;
    --hover-opacity-ratio: 0.8;
    --hover-duration: .3s;
    --color-base-1: #1a1a1a;
    --color-base-1-rgb: 26, 26, 26;
    --color-black-1: #000;
    --color-black-1-rgb: 0, 0, 0;
    --color-black-2: #1a1a1a;
    --color-black-2-rgb: 26, 26, 26;
    --color-white-1: #fff;
    --color-white-1-rgb: 255, 255, 255;
    --color-white-2: #fefefe;
    --color-white-2-rgb: 254, 254, 254;
    --color-sample-1: #9b2019;
    --color-sample-1-rgb: 155, 32, 25;
    --color-sample-2: #223a70;
    --color-sample-2-rgb: 34, 58, 112;
    --color-yellow-1: #ead36a;
    --color-yellow-1-rgb: 234, 211, 106;
    --color-yellow-2: #f9b946;
    --color-yellow-2-rgb: 249, 185, 70;
    --color-red-1: #d1000a;
    --color-red-1-rgb: 209, 0, 10;
    --color-red-2: #ca0a13;
    --color-red-2-rgb: 202, 10, 19;
    --color-red-3: #a7381d;
    --color-red-3-rgb: 167, 56, 29;
    --color-pink-1: #f2e1dd;
    --color-pink-1-rgb: 242, 225, 221;
    --color-pink-2: #F7E4D8;
    --color-pink-2-rgb: 247, 228, 216;
    --color-pink-3: #f4ced0;
    --color-pink-3-rgb: 244, 206, 208;
    --color-blue-1: #eeffff;
    --color-blue-1-rgb: 238, 255, 255;
    --color-blue-2: #043077;
    --color-blue-2-rgb: 4, 48, 119;
    --color-blue-3: #f2fcff;
    --color-blue-3-rgb: 242, 252, 255;
    --color-brown-1: #531c0e;
    --color-brown-1-rgb: 83, 28, 14;
    --color-gray-1: #f2f2f2;
    --color-gray-1-rgb: 242, 242, 242;
    --ff-root: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "meiryo", sans-serif;
    --ff-noto: "Noto Sans JP", sans-serif;
    --ff-roboto: "Roboto Condensed", sans-serif;
}
@media screen and (max-width: 767px) {
    :root {
        --design-width: 375;
        --contents-width: 330;
        --contents-side-padding: 10;
        --min-width: 320;
        --fixed-header-height: 60;
        --root-fz: 20;
        --line-height: 1.5;
    }
}

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

/* ---------------------------------------------
*   html, body
--------------------------------------------- */
body {
    -webkit-text-size-adjust: 100% !important;
}

body.contents-display .contact.has_bg {
    display: none !important;
}

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