@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
    --color-primary: #17ADC9;
    --color-primary-light: #4ECFDF;
    --color-primary-dark: #0E8FA3;
    --color-secondary: #5A7A9A;

    --color-text: #151C4B;
    --color-text-light: #5A6B8A;
    --color-background: #FFFFFF;
    --color-container: #DFE7E7;
    --color-border: #C5D1D1;

    --color-stable: #6DAF7B;
    --color-error: #AF6D6E;
    --color-warning: #C9A817;

    --color-alpha: #B8B200;
    --color-bravo: #4000B8;

    --font-main: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
    --font-english: 'Inter', 'Helvetica Neue', sans-serif;

    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.5rem;
    --font-size-h4: 1.25rem;
    --font-size-body: 1rem;
    --font-size-small: 0.875rem;
    --font-size-tiny: 0.75rem;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    --line-height-tight: 1.3;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.8;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(21, 28, 75, 0.05);
    --shadow-md: 0 4px 12px rgba(21, 28, 75, 0.1);
    --shadow-lg: 0 8px 24px rgba(21, 28, 75, 0.15);
    --shadow-xl: 0 16px 48px rgba(21, 28, 75, 0.2);

    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

    --z-base: 1;
    --z-dropdown: 100;
    --z-header: 500;
    --z-overlay: 800;
    --z-modal: 1000;
    --z-toast: 1200;

    --header-height: 72px;
    --container-width: 1200px;
}

@media (max-width: 768px) {
    :root {
        --font-size-h1: 1.75rem;
        --font-size-h2: 1.5rem;
        --font-size-h3: 1.25rem;
        --font-size-h4: 1.125rem;
        --font-size-body: 0.9375rem;
        --header-height: 64px;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

h3 {
    font-size: var(--font-size-h3);
}

h4 {
    font-size: var(--font-size-h4);
}

p {
    margin: 0 0 var(--space-md);
}

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

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
    cursor: pointer;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

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

.is-hidden {
    display: none !important;
}

.is-visible {
    display: block !important;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

.text-light {
    color: var(--color-text-light);
}

.text-english {
    font-family: var(--font-english);
}