:root {
    --primary-color: #34C759; /* iOS Green like */
    --primary-dark: #248A3D;
    --secondary-color: #007AFF; /* iOS Blue */
    --text-color: #1C1C1E;
    --text-light: #8E8E93;
    --bg-color: #F2F2F7;
    --white: #FFFFFF;
    --max-width: 1100px;
    --radius: 20px;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Base Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    padding-top: 70px !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

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

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 固定ヘッダー - 最優先で適用 */
header,
body > header {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 70px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 999999 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* admin-barがある場合の調整 */
.admin-bar header,
.admin-bar body > header {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    .admin-bar header,
    .admin-bar body > header {
        top: 46px !important;
    }
}

body {
    padding-top: 70px !important;
    margin-top: 0 !important;
}

.admin-bar body {
    padding-top: 102px !important; /* 70px + 32px (admin-bar) */
}

@media screen and (max-width: 782px) {
    .admin-bar body {
        padding-top: 116px !important; /* 70px + 46px (admin-bar mobile) */
    }
}




