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

:root {
    --color-primary: #0d9488;
    --color-primary-light: #2dd4bf;
    --color-primary-dark: #0f766e;
    --color-bg: #f2faf9;
    --color-surface: #ffffff;
    --color-text: #1a2e2b;
    --color-text-secondary: #4a6b65;
    --color-accent: #d97706;
    --color-error: #c42424;
    --color-success: #0d9488;
    --color-footer: #1e3a36;
    --color-border: #cfe8e4;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(13, 148, 136, 0.05);
    --shadow-lg: 0 8px 24px rgba(13, 148, 136, 0.08);
    --shadow-xl: 0 12px 32px rgba(13, 148, 136, 0.12);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
    --font-en: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
    --font-body: var(--font-ja);
    --font-heading: var(--font-en);

    --text-xs: 0.875rem;
    --text-sm: 1rem;
    --text-base: 1.125rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
    --text-2xl: 2rem;
    --text-3xl: 2.5rem;
    --text-4xl: 3rem;
    --text-5xl: 4rem;

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-7: 1.75rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    --header-height: 72px;
    --container-max: 1200px;
    --container-wide: 1440px;

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-base), color var(--transition-base);
}

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

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

ul,
ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
}

h1 { font-size: var(--text-4xl); margin-bottom: var(--space-8); }
h2 { font-size: var(--text-3xl); margin-bottom: var(--space-8); }
h3 { font-size: var(--text-2xl); margin-bottom: var(--space-6); }
h4 { font-size: var(--text-xl); margin-bottom: var(--space-4); }
h5 { font-size: var(--text-lg); margin-bottom: var(--space-4); }
h6 { font-size: var(--text-base); margin-bottom: var(--space-4); }

@media (max-width: 640px) {
    h1 { font-size: var(--text-3xl); }
    h2 { font-size: var(--text-2xl); }
    h3 { font-size: var(--text-xl); }
}

p {
    margin-bottom: var(--space-4);
}

p:last-child {
    margin-bottom: 0;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--space-6);
}

.container--wide {
    max-width: var(--container-wide);
}

.container--narrow {
    max-width: 800px;
}

section {
    padding-block: var(--space-20);
}

section + section {
    padding-top: 0;
}

@media (max-width: 640px) {
    section {
        padding-block: var(--space-12);
    }

    section + section {
        padding-top: 0;
    }
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    background: var(--color-primary);
    color: #fff;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    z-index: 10000;
    font-weight: 600;
    font-size: var(--text-sm);
}

.skip-link:focus {
    top: var(--space-4);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

::selection {
    background-color: var(--color-primary);
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    .header,
    .footer,
    .pagetop,
    .skip-link {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }
}
    background: #fff;
    }
}
