/*
 * Base Styles - Takamatsu PC Theme
 * 基本スタイル・リセット・変数定義
 * シンプルで洗練された緑×オレンジのカラーパレット
 * CSS Layers対応
 */

/* CSS Layers定義 - フォールバック対応 */
@supports (at-rule(@layer)) {
    @layer base, layout, components, pages, utilities;
}

/* Base Layer - フォールバック対応 */
@supports (at-rule(@layer)) {
    @layer base {
        /* Layer内容は後続のコードで定義 */
    }
}

/* Base styles - 古いブラウザ用フォールバック */
    /* ========================================
       CSS Reset
    ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
    background-color: #ffffff;
    color: #1e293b;
}

body, 
h1, h2, h3, h4, h5, h6, 
p, ul, ol, li, 
blockquote, figure, 
fieldset, legend {
    margin: 0;
    padding: 0;
}

ul, ol {
    list-style: none;
}

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

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

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========================================
   CSS Variables - 高級感ある白×グリーン配色
   洗練性・自然・技術革新を表現する2024年プレミアムパレット
======================================== */
:root {
    /* 色管理システム: ライトモード固定 */
    color-scheme: light;

    /* メインカラー: インダストリアルグリーン（技術力・信頼性・持続可能性） */
    --primary-color: #059669;       /* フォレストグリーン */
    --primary-light: #10b981;       /* エメラルドグリーン */
    --primary-dark: #047857;        /* ディープフォレストグリーン */
    --primary-rgb: 5, 150, 105;     /* RGB値（透明度用） */
    
    /* アクセントカラー: ティールグリーン（清潔感・精密性・技術革新） */
    --accent-color: #0d9488;        /* ティールグリーン */
    --accent-light: #14b8a6;        /* ライトティール */
    --accent-dark: #0f766e;         /* ディープティール */
    --accent-rgb: 13, 148, 136;     /* RGB値（透明度用） */
    
    /* セカンダリカラー: MI-6スタイル - モダングレー（洗練された背景色） */
    --secondary-color: #64748b;     /* プロフェッショナルスレートグレー */
    --secondary-light: #94a3b8;     /* ライトスレートグレー */
    --secondary-dark: #475569;      /* ダークスレートグレー */
    
    /* ニュートラルカラー */
    --white: #ffffff;               /* 純白 */
    --black: #000000;               /* 純黒 */
    --gray-50: #fafafa;             /* 最薄グレー */
    --gray-100: #f5f5f5;            /* 薄グレー */
    --gray-200: #eeeeee;            /* ライトグレー */
    --gray-300: #e0e0e0;            /* グレー */
    --gray-400: #bdbdbd;            /* ミディアムグレー */
    --gray-500: #9e9e9e;            /* ダークグレー */
    --gray-600: #757575;            /* より濃いグレー */
    --gray-700: #616161;            /* 濃いグレー */
    --gray-800: #424242;            /* 最濃グレー */
    --gray-900: #212121;            /* ほぼ黒 */
    
    /* テキストカラー: MI-6スタイル */
    --text-primary: #1e293b;                  /* プライマリテキスト（ダークスレート） */
    --text-secondary: var(--secondary-color); /* セカンダリテキスト */
    --text-muted: var(--secondary-light);     /* ミューテッドテキスト */
    --text-light: var(--gray-600);            /* ライトテキスト */
    --text-white: var(--white);               /* 白テキスト */
    --text-color: var(--text-primary);        /* 後方互換性 */
    
    /* 背景カラー: MI-6スタイル */
    --bg-primary: var(--white);                /* メイン背景（純白） */
    --bg-secondary: #f8fafc;                   /* セカンダリ背景（極薄スレート） */
    --bg-tertiary: #f1f5f9;                    /* ターシャリ背景（薄スレート） */
    --bg-dark: var(--text-primary);            /* ダーク背景 */
    --bg-accent: var(--accent-color);          /* アクセント背景 */
    
    /* ボーダー・境界線 */
    --border-primary: var(--gray-200);         /* プライマリボーダー */
    --border-secondary: var(--gray-300);       /* セカンダリボーダー */
    --border-light: var(--gray-100);           /* ライトボーダー */
    --border-color: var(--border-primary);     /* 後方互換性 */
    --border-dark: var(--border-secondary);    /* 後方互換性 */
    
    /* セカンダリアクセント: インダストリアルオレンジ（技術的温かみ・エネルギー） */
    --secondary-accent: #ea580c;               /* インダストリアルオレンジ */
    --secondary-accent-light: #fb923c;        /* ライトオレンジ */
    --secondary-accent-dark: #c2410c;         /* ディープオレンジ */
    
    /* 状態カラー（製造業向け調整） */
    --success-color: #198754;                  /* 成功フォレストグリーン */
    --warning-color: #fd7e14;                  /* 警告オレンジ */
    --error-color: #dc3545;                    /* エラーレッド */
    --info-color: var(--accent-color);         /* 情報パープル */
    
    /* モダンシャドウシステム（製造業の立体感表現） */
    --shadow-subtle: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --shadow-steel: 0 4px 12px rgba(var(--primary-rgb), 0.15);
    --shadow-accent: 0 4px 12px rgba(var(--accent-rgb), 0.08);
    --shadow-tech: 0 2px 8px rgba(var(--primary-rgb), 0.1), 0 8px 24px rgba(var(--accent-rgb), 0.05);
    
    /* 8px基準スペーシングシステム（2024年標準） */
    --space-0: 0;                   /* 0px */
    --space-1: 0.5rem;              /* 8px */
    --space-2: 1rem;                /* 16px */
    --space-3: 1.5rem;              /* 24px */
    --space-4: 2rem;                /* 32px */
    --space-5: 2.5rem;              /* 40px */
    --space-6: 3rem;                /* 48px */
    --space-8: 4rem;                /* 64px */
    --space-10: 5rem;               /* 80px */
    --space-12: 6rem;               /* 96px */
    --space-16: 8rem;               /* 128px */
    --space-20: 10rem;              /* 160px */
    
    /* 後方互換性のため既存スペース変数も保持 */
    --space-xs: var(--space-1);     /* 8px */
    --space-sm: var(--space-2);     /* 16px */
    --space-md: var(--space-3);     /* 24px */
    --space-lg: var(--space-4);     /* 32px */
    --space-xl: var(--space-6);     /* 48px */
    --space-2xl: var(--space-8);    /* 64px */
    --space-3xl: var(--space-12);   /* 96px */
    
    /* レスポンシブフォントサイズ: MI-6スタイル - モダンスケール */
    --font-size-xs: clamp(1.2rem, 1rem + 0.3vw, 1.4rem);              /* 12px-14px */
    --font-size-sm: clamp(1.4rem, 1.1rem + 0.4vw, 1.6rem);            /* 14px-16px */
    --font-size-base: clamp(1.6rem, 1.2rem + 0.6vw, 1.8rem);          /* 16px-18px */
    --font-size-lg: clamp(1.8rem, 1.4rem + 0.8vw, 2.2rem);            /* 18px-22px */
    --font-size-xl: clamp(2rem, 1.6rem + 1vw, 2.6rem);                /* 20px-26px */
    --font-size-2xl: clamp(2.4rem, 2rem + 1.2vw, 3.2rem);             /* 24px-32px */
    --font-size-3xl: clamp(3rem, 2.4rem + 1.8vw, 4rem);               /* 30px-40px */
    --font-size-4xl: clamp(3.6rem, 2.8rem + 2.4vw, 4.8rem);           /* 36px-48px */
    --font-size-5xl: clamp(4.8rem, 3.6rem + 3.6vw, 6.4rem);           /* 48px-64px */
    --font-size-6xl: clamp(6rem, 4.4rem + 5vw, 8rem);                 /* 60px-80px */
    
    /* 後方互換性のため既存変数も一時保持（段階的移行用） */
    --font-xs: var(--font-size-xs);
    --font-sm: var(--font-size-sm);
    --font-base: var(--font-size-base);
    --font-lg: var(--font-size-lg);
    --font-xl: var(--font-size-xl);
    --font-2xl: var(--font-size-2xl);
    --font-3xl: var(--font-size-3xl);
    --font-4xl: var(--font-size-4xl);
    --font-5xl: var(--font-size-5xl);
    --font-6xl: var(--font-size-6xl);
    
    /* モダンレイアウトシステム */
    --container-max-width: 1200px;         /* メインコンテナ幅 */
    --container-padding: var(--space-4);   /* コンテナ内側余白 */
    --section-padding: var(--space-16);    /* セクション間隔 */
    --header-height: 70px;                 /* ヘッダー高さ */
    
    /* ボーダーラジアス（高級感のあるミニマルデザイン） */
    --radius-none: 0;
    --radius-sm: 0.25rem;                  /* 4px - 最小限の角丸 */
    --radius-md: 0.5rem;                   /* 8px - 標準角丸 */
    --radius-lg: 0.75rem;                  /* 12px - 大きめ角丸 */
    --radius-xl: 1rem;                     /* 16px - 特別要素のみ */
    --radius-2xl: 1.5rem;                  /* 24px - 特別要素のみ */
    --radius-full: 9999px;                 /* 完全円形 */
    
    /* トランジション（スムーズな動作感） */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-colors: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
    
    /* Z-index レイヤー管理 */
    --z-base: 0;
    --z-dropdown: 10;
    --z-sticky: 20;
    --z-fixed: 30;
    --z-modal: 40;
    --z-popover: 50;
    --z-tooltip: 60;
    
    /* ニュートラルカラーエイリアス（参考サイト風） */
    --color-neutral-50: var(--gray-50);
    --color-neutral-100: var(--gray-100);
    --color-neutral-200: var(--gray-200);
    --color-neutral-300: var(--gray-300);
    --color-neutral-400: var(--gray-400);
    --color-neutral-500: var(--gray-500);
    --color-neutral-600: var(--gray-600);
    --color-neutral-700: var(--gray-700);
    --color-neutral-800: var(--gray-800);
    --color-neutral-900: var(--gray-900);
    
    /* ブランドカラーエイリアス */
    --color-brand-primary: var(--primary-color);
    --color-brand-secondary: var(--accent-color);
    
    /* ガラス効果: MI-6スタイル */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    --glass-blur: blur(10px);
    
    /* モダンボタンスタイル - プレミアムデザイン */
    --btn-padding-y: 1.4rem;
    --btn-padding-x: 2.8rem;
    --btn-border-radius: 0.8rem;
    --btn-font-weight: 700;
    --btn-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* MI-6スタイル エフェクト */
    --subtle-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    
    /* コンテナエイリアス */
    --container-max-width-alt: min(120rem, 90vw);
    --container-padding-alt: clamp(1rem, 2.5vw, 2rem);
    
    /* レイアウト */
    --container-max-width: 1200px;
    --container-padding: 2rem;
    --header-height: 80px;          /* ヘッダー高さ（上部バー削除のため変更） */
    --header-main-height: 80px;     /* メインヘッダーの高さ */
    --footer-height: auto;
    
    /* z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    
    /* トランジション */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* ボーダーラディウス */
    --radius-sm: 0.25rem;           /* 2.5px */
    --radius-md: 0.5rem;            /* 5px */
    --radius-lg: 0.75rem;           /* 7.5px */
    --radius-xl: 1rem;              /* 10px */
    --radius-2xl: 1.5rem;           /* 15px */
    --radius-full: 9999px;          /* 完全な円 */
}

/* ========================================
   Base Typography
======================================== */
body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-md);
    color: var(--text-color);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

/* Mobile Heading Adjustments - フォールバック付きレスポンシブ対応 */
@media (max-width: 768px) {
    h1 { 
        font-size: 3.2rem; /* フォールバック */
        font-size: clamp(2.8rem, 6vw, 4rem);
        line-height: 1.2;
    }
    h2 { 
        font-size: 2.8rem; /* フォールバック */
        font-size: clamp(2.4rem, 5vw, 3.2rem);
        line-height: 1.25;
    }
    h3 { 
        font-size: 2.4rem; /* フォールバック */
        font-size: clamp(2rem, 4vw, 2.6rem);
        line-height: 1.3;
    }
    h4, h5 { 
        font-size: 1.8rem; /* フォールバック */
        font-size: clamp(1.6rem, 3vw, 2rem);
        line-height: 1.4;
    }
    
    /* 本文テキスト安定化 */
    p, li, td, th {
        font-size: 1.6rem; /* フォールバック */
        font-size: clamp(1.5rem, 2.5vw, 1.7rem);
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    h1 { 
        font-size: 2.8rem; /* フォールバック */
        font-size: clamp(2.4rem, 7vw, 3.2rem);
        margin-bottom: var(--space-md);
    }
    h2 { 
        font-size: 2.4rem; /* フォールバック */
        font-size: clamp(2rem, 6vw, 2.8rem);
        margin-bottom: var(--space-md);
    }
    h3 { 
        font-size: 2rem; /* フォールバック */
        font-size: clamp(1.8rem, 5vw, 2.4rem);
        margin-bottom: var(--space-sm);
    }
    h4, h5 { 
        font-size: 1.8rem; /* フォールバック */
        font-size: clamp(1.6rem, 4vw, 2rem);
        margin-bottom: var(--space-sm);
    }
    
    /* 小画面での本文安定化 */
    p, li, td, th {
        font-size: 1.6rem !important; /* 確実な16px確保 */
        line-height: 1.65 !important;
    }
}

/* Text Elements */
p {
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

strong, b {
    font-weight: 700;
}

em, i {
    font-style: italic;
}

small {
    font-size: var(--font-sm);
    color: var(--text-muted);
}

/* Lists */
ul, ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

ul {
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}

li {
    margin-bottom: var(--space-xs);
    line-height: 1.6;
}

/* Links - 全状態を明示的に指定 */
a:link {
    color: var(--primary-color);
    transition: var(--transition-base);
}

a:visited {
    color: var(--primary-color);
}

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

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

/* 電話番号リンクの専用スタイル */
a[href^="tel:"] {
    color: var(--primary-color) !important;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a[href^="tel:"]:visited {
    color: var(--primary-color) !important;
}

a[href^="tel:"]:hover {
    color: var(--primary-dark) !important;
}

a[href^="tel:"]:active {
    color: var(--primary-dark) !important;
}

/* Modern Button System: Premium Industrial Design */
.c-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--btn-padding-y) var(--btn-padding-x);
    font-size: var(--font-size-base);
    font-weight: var(--btn-font-weight);
    text-decoration: none;
    border-radius: var(--btn-border-radius);
    transition: var(--btn-transition);
    cursor: pointer;
    border: 2px solid transparent;
    min-height: 4.8rem;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.c-button--primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.2);
}

.c-button--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.3);
}

.c-button--outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    position: relative;
}

.c-button--outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.2);
}

.c-button--secondary {
    background: var(--secondary-accent);
    color: white;
    border-color: var(--secondary-accent);
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.2);
}

.c-button--secondary:hover {
    background: var(--secondary-accent-dark);
    border-color: var(--secondary-accent-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.3);
}

/* Button states and effects */
.c-button:active {
    transform: translateY(0);
}

.c-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.3);
}

.c-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ========================================
   Utility Classes
======================================== */
.u-text-center { text-align: center; }
.u-text-left { text-align: left; }
.u-text-right { text-align: right; }

.u-font-bold { font-weight: 700; }
.u-font-medium { font-weight: 500; }
.u-font-normal { font-weight: 400; }

.u-text-primary { color: var(--primary-color); }
.u-text-accent { color: var(--accent-color); }
.u-text-muted { color: var(--text-muted); }
.u-text-white { color: var(--text-white); }

.u-bg-primary { background-color: var(--primary-color); }
.u-bg-accent { background-color: var(--accent-color); }
.u-bg-white { background-color: var(--bg-primary); }
.u-bg-gray { background-color: var(--bg-secondary); }

.u-hidden { display: none; }
.u-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;
}

/* ========================================
   Unified Text Classes - 全ページ統一
======================================== */

/* セクションヘッダーのグローバル統一 */
.c-section-header {
    text-align: center !important;
}

.c-section-header__subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 基本テキストクラス */
.intro-text {
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
}

.section-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-lg);
    line-height: 1.4;
}

.description-text {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-600);
    margin-bottom: var(--space-md);
}

.subtitle-text {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: var(--space-md);
}

.small-text {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    line-height: 1.5;
}

.large-text {
    font-size: var(--font-size-lg);
    line-height: 1.6;
    color: var(--gray-700);
}

/* 見出しクラス - レスポンシブ対応 */
.heading-primary {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: var(--space-xl);
}

.heading-secondary {
    font-size: var(--font-size-3xl);
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.3;
    margin-bottom: var(--space-lg);
}

.heading-tertiary {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

/* ========================================
   Responsive Typography
   モバイルでのhtml font-size縮小を削除
   rem基準を10pxで固定、サイズ可変はclampに任せる
======================================== */
@media (max-width: 768px) {
    /* html font-size縮小を削除（rem基準を保持） */
    /* 以前: html { font-size: 56.25%; } */
    /* body font-size縮小も削除（clampで自動調整） */
}

@media (max-width: 480px) {
    /* html font-size縮小を削除（rem基準を保持） */
    /* 以前: html { font-size: 50%; } */
}

/* ========================================
   Accessibility
======================================== */
@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;
    }
}

/* Focus styles */
:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* ========================================
   WordPress Compatibility
======================================== */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: var(--font-sm);
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--space-xs);
}

.alignleft {
    float: left;
    margin-right: var(--space-md);
    margin-bottom: var(--space-md);
}

.alignright {
    float: right;
    margin-left: var(--space-md);
    margin-bottom: var(--space-md);
}

.aligncenter {
    display: block;
    margin: 0 auto var(--space-md);
}

.alignwide,
.alignfull {
    width: 100%;
    max-width: none;
}

/* WordPress ギャラリー */
.gallery {
    margin-bottom: var(--space-md);
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item { max-width: 50%; }
.gallery-columns-3 .gallery-item { max-width: 33.33%; }
.gallery-columns-4 .gallery-item { max-width: 25%; }

/* Block Editor */
.has-text-align-center { text-align: center; }
.has-text-align-left { text-align: left; }
.has-text-align-right { text-align: right; }

/* カスタム投稿タイプのアイコン（管理画面用） */
#adminmenu #menu-posts-technology .wp-menu-image:before {
    content: '\f111';
}

#adminmenu #menu-posts-works .wp-menu-image:before {
    content: '\f322';
}

/* End of base styles */

/* ========================================
   Utilities Layer - 最高優先度でのタイポグラフィ統一
======================================== */
@supports (at-rule(@layer)) {
    @layer utilities {
        /* Utilities layer content */
    }
}

/* Utilities - 古いブラウザ用フォールバック */
    /* 本文テキストの完全統一（rem基準破綻対策） */
    body p,
    body li,
    main p,
    main li,
    article p,
    article li,
    .l-article__content,
    .l-article__content p,
    .l-article__content li {
        font-size: var(--font-base);
        line-height: 1.8;
    }

    /* 見出しの最小サイズ保証 */
    body h2,
    main h2,
    article h2,
    .l-article__content h2 {
        font-size: var(--font-3xl);
    }

    body h3,
    main h3,
    article h3,
    .l-article__content h3 {
        font-size: var(--font-2xl);
    }

    body h4,
    main h4,
    article h4,
    .l-article__content h4 {
        font-size: var(--font-lg);
    }

    /* テーブルの統一 */
    table td,
    table th {
        font-size: var(--font-base);
    }

    /* 小さなテキストは明示的にクラス指定時のみ */
    .meta,
    .caption,
    .note,
    .small-text {
        font-size: var(--font-sm);
    }

    /* アクセシビリティ: 最小タップ領域確保（必要な要素のみ個別設定） */
    button,
    input,
    select,
    textarea {
        min-height: 44px;
    }

    /* フォーカス可視化 */
    button:focus-visible,
    a:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }

/* ========================================
   Legacy Button Class Aliases
   .c-btn inherits from .c-button for backward compatibility
======================================== */
.c-btn,
.c-btn--primary,
.c-btn--outline, 
.c-btn--secondary,
.c-btn--small,
.c-btn--large {
    /* These classes inherit from their .c-button equivalents */
    /* Base styles are in .c-button above */
}

/* End of utilities */ 