/* =========================================================
    Foundation
========================================================= */

/* ---------------------------------------------------------
    Variables
--------------------------------------------------------- */
:root {
    --color-primary: #005d36;
    --color-primary-hover: #173b2d;
    --color-text: #222;
    --color-text-sub: #666;
    --color-text-inverse: #fff;
    --color-text-disabled: #aaa;
    --color-border: #d9ddd9;
    --color-bg: #f4f6f5;
    --color-bg-hover: #e4eee8;
    --color-th: #faf8eb;
    --color-surface: #fff;
    --color-overlay: rgb(0 0 0 / 45%);
    --color-error: #c00;
    --color-link: #06c;
    --color-link-hover: #c33;
    --color-favorite: #c99a00;
    --color-placeholder: rgba(0, 0, 0, .45);

    --font-sans:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        "Yu Gothic",
        Meiryo,
        sans-serif;

    --font-size-base: 16px;

    --space-1: .25rem;
    --space-2: .5rem;
    --space-3: .75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-7: 3rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --shadow-sm: 0 1px 3px rgb(0 0 0 / 8%);
    --transition: .2s ease;

    --header-height: 64px;
}

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

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
figure,
dl,
dd {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

ul:not([class]),
ol:not([class]) {
    padding-inline-start: 1.5em;
}

button,
input,
select,
textarea {
    margin: 0;
    font: inherit;
}

img,
picture {
    display: block;
    max-width: 100%;
}

/* ---------------------------------------------------------
    Base
--------------------------------------------------------- */
html {
    overflow-y: auto;
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    line-height: 1.7;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    padding-top: var(--header-height);
    overflow-y: auto;
    background: var(--color-bg);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    color: inherit;
}

button,
select {
    cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    cursor: not-allowed;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    height: auto;
}

[hidden] {
    display: none !important;
}
