@charset "UTF-8";

/* ==========================================================================
   1. Variables & Reset
   ========================================================================== */
:root {
    /* Color Palette */
    --color-brand: #0ea5e9;       /* Main Blue */
    --color-brand-dark: #0284c7;  /* Dark Blue */
    --color-brand-light: #e0f2fe; /* Light Blue */
    --color-text: #334155;        /* Slate 700 */
    --color-text-light: #64748b;  /* Slate 500 */
    --color-bg-alt: #f8fafc;      /* Slate 50 */
    --color-white: #ffffff;
    --color-border: #e2e8f0;
    --color-alert: #ef4444;       /* Error/Attention */

    /* Typography */
    --font-base: "Noto Sans JP", sans-serif;
    
    /* Layout */
    --header-height: 90px;
    --container-width: 1000px; /* 下層は読みやすさ重視で少し狭める */
    --container-width-wide: 1200px; /* TOPやフル幅用 */
    
    /* Animation */
    --transition-base: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--header-height); /* 固定ヘッダー分確保 */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

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

ul, ol {
    list-style: none;
}

/* ==========================================================================
   2. Utility Classes
   ========================================================================== */
.l-container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

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

.l-section {
    padding: 80px 0;
}

.u-text-center { text-align: center; }
.u-text-right { text-align: right; }
.u-font-bold { font-weight: 700; }
.u-mb-10 { margin-bottom: 10px; }
.u-mb-20 { margin-bottom: 20px; }
.u-mb-30 { margin-bottom: 30px; }
.u-mb-40 { margin-bottom: 40px; }
.u-mb-60 { margin-bottom: 60px; }

.u-hidden-pc { display: none; }
.u-hidden-sp { display: block; }

@media (max-width: 768px) {
    .l-section { padding: 50px 0; }
    .u-hidden-pc { display: block; }
    .u-hidden-sp { display: none; }
    
    /* SPでフォントサイズを少し調整 */
    html { font-size: 15px; }
}

/* Animation Utilities (TOP同様) */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Newsカテゴリラベル */
.news-label--common { background:#999; }
.news-label--clinic-01 { background:#2bb0ed; }
.news-label--clinic-02 { background:#4caf50; }