@charset "UTF-8";

:root {
    --primary: #ff8c42;
    --primary-hover: #ff7315;
    --secondary: #ffc93c;
    --secondary-hover: #ffbc11;
    --background: #fff8f0;
    --surface: #ffffff;
    --text-main: #4a4a4a;
    --text-light: #7a7a7a;
    --border: #f0e6d2;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(255, 140, 66, 0.08);
    --shadow-md: 0 4px 16px rgba(255, 140, 66, 0.12);
    --shadow-lg: 0 8px 32px rgba(255, 140, 66, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'BIZ UDPGothic', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- ヘッダー：PC横並びを絶対維持 --- */
.site-header { background: var(--surface); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--border); }
.top-bar { background-color: #ffe0b2; font-size: 0.9rem; padding: 0.4rem 0; border-bottom: 1px solid rgba(255, 140, 66, 0.2); }
.top-bar-container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; display: flex !important; justify-content: flex-end !important; gap: 1.5rem; }

.header-container { max-width: 1200px; margin: 0 auto; padding: 0.75rem 1rem; display: flex !important; align-items: center !important; justify-content: space-between !important; }
.header-logo { display: flex !important; align-items: center !important; gap: 0.5rem !important; text-decoration: none; min-width: fit-content; }
.header-logo-img { height: 45px; width: auto; }

/* PCナビゲーション */
.header-nav { display: flex !important; align-items: center !important; gap: 1.5rem; }
.nav-item-group { position: relative !important; }
.nav-item { font-weight: 600; color: var(--text-main); text-decoration: none; display: flex; align-items: center; gap: 0.25rem; padding: 0.5rem 0; white-space: nowrap !important; }
.nav-item:hover, .nav-item.active { color: var(--primary); }

/* PCドロップダウン */
.dropdown-menu { position: absolute !important; top: 100% !important; left: 0 !important; background: white !important; min-width: 180px !important; box-shadow: var(--shadow-md) !important; border-radius: var(--radius-sm) !important; padding: 0.5rem 0 !important; z-index: 100 !important; border: 1px solid var(--border) !important; display: none; flex-direction: column !important; }
.nav-item-group:hover .dropdown-menu { display: flex !important; }
.dropdown-item { display: block !important; padding: 0.75rem 1.5rem !important; color: var(--text-main) !important; text-decoration: none !important; }

/* お電話・FAX */
.contact-highlight { display: flex; align-items: center; gap: 1rem; background: white; padding: 0.25rem 1.5rem; border-radius: var(--radius-full); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); }
.contact-label { font-size: 1rem; font-weight: bold; color: var(--primary); }
.contact-number { font-size: 1.8rem; font-weight: 900; color: #333; text-decoration: none; line-height: 1; }

/* --- ★重要：スマホメニューを「PCでは絶対に消す」設定★ --- */
#mobile-menu-overlay, #mobile-sidebar { display: none; } /* PCでは存在ごと消す */

/* --- フッター --- */
.site-footer { background: var(--text-main) !important; color: white !important; padding: 3rem 1rem 1.5rem !important; margin-top: 5rem !important; clear: both; }
.footer-container { max-width: 1200px; margin: 0 auto; display: flex !important; justify-content: space-between !important; align-items: center !important; gap: 1.5rem; }
.site-footer .header-logo { background: none !important; box-shadow: none !important; border: none !important; }
.site-footer .header-logo span { display: block !important; visibility: visible !important; color: white !important; font-size: 1.4rem !important; font-weight: bold !important; position: static !important; }

/* --- スマホ専用設定（ここからスマホ版） --- */
@media (max-width: 1024px) {
    .header-nav, .top-bar { display: none !important; }

    /* スマホメニューを「スマホの時だけ」有効にする */
    #mobile-menu-overlay { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000; opacity: 0; visibility: hidden; transition: 0.3s; }
    #mobile-menu-overlay.active { opacity: 1; visibility: visible; }

    #mobile-sidebar { 
        display: flex; position: fixed; top: 0; right: -300px; 
        width: 280px; height: 100%; background: white; z-index: 2001; 
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); padding: 2rem 1.5rem; 
        box-shadow: -4px 0 15px rgba(0,0,0,0.1); flex-direction: column; gap: 0.5rem; 
    }
    #mobile-sidebar.active { right: 0; }

    /* ロゴの2段組み */
    .header-container .header-logo span { visibility: hidden; position: relative; }
    .header-container .header-logo span::before { content: "特定非営利活動法人"; visibility: visible; font-size: 10px !important; color: #7a7a7a !important; position: absolute; top: -14px; left: 0; }
    .header-container .header-logo span::after { content: "ごきげん"; visibility: visible; position: absolute; left: 0; bottom: -4px; white-space: nowrap; }

    /* フッター：スマホ版 */
    .footer-container { flex-direction: column !important; align-items: center !important; }
    .site-footer .header-logo { flex-direction: row !important; }
    .site-footer .header-logo span { font-size: 1.1rem !important; }
}