@charset "UTF-8";

:root {
    --color-ink: #29251d;
    --color-text: #49443c;
    --color-muted: #6f695f;
    --color-paper: #f8f1df;
    --color-paper-deep: #e8dfc9;
    --color-green: #1f3a2e;
    --color-green-dark: #172b22;
    --color-gold: #c99b32;
    --color-gold-soft: #efe3c1;
    --color-red: #8d251b;
    --color-border: #d8d0bc;
    --content-wide: 1180px;
    --content-main: 1050px;
    --page-gutter: 20px;
    --shadow-paper: 6px 6px 0 rgba(41, 37, 29, 0.14);
    --font-sans: Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --font-serif: Georgia, "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

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

html {
    width: 100%;
    max-width: 100%;
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: clip;
    background: var(--color-paper-deep);
    color: var(--color-ink);
    font-family: var(--font-sans);
    line-height: 1.8;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

img, picture, video, canvas, svg, iframe {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

button, input, select, textarea {
    max-width: 100%;
    font: inherit;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

p, h1, h2, h3, h4, ul, ol {
    overflow-wrap: anywhere;
}

h1, h2, h3, p {
    margin-top: 0;
}

ul, ol {
    padding-left: 1.5rem;
}

li + li {
    margin-top: 0.45rem;
}

[hidden] {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 3px;
}

@media (max-width: 760px) {
    :root {
        --page-gutter: 14px;
    }

    body {
        line-height: 1.75;
    }
}
