        /* CSS変数定義 */
        :root {
            --primary-color: #609;
            --secondary-color: #00f;
            --accent-color: #ffc;
            --success-color: #4CAF50;
            --warning-color: #ff9800;
            --danger-color: #f44336;
            --text-color: #333;
            --bg-color: #fff;
            --gray-light: #f5f5f5;
            --gray-medium: #e0e0e0;
            --container-width: 1200px;
            --content-width: calc(100% - 320px);
            --sidebar-width: 300px;
            --transition-speed: 0.3s;
        }

        /* リセット */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* ベース */
        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, -apple-system, BlinkMacSystemFont, sans-serif;
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-color);
            background: #f8f8f8;
        }

        /* リンク */
        a {
            color: var(--secondary-color);
            text-decoration: none;
            transition: all var(--transition-speed);
        }

        a:hover {
            text-decoration: underline;
            opacity: 0.8;
        }

        /* コンテナ */
        .container {
            max-width: var(--container-width);
            margin: 0 auto;
            background: var(--bg-color);
            box-shadow: 0 0 20px rgba(0,0,0,0.05);
        }

        /* ヘッダー */
        .header {
            background: linear-gradient(to bottom, #fff 0%, #f0f0f0 100%);
            border-bottom: 3px solid var(--primary-color);
            padding: 15px 20px;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

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

        .header-right {
            flex: 1;
            max-width: 400px;
        }

        /* 検索フォーム */
        #cse-search-box div {
            display: flex;
            gap: 0;
        }

        #cse-search-box input[type="text"] {
            flex: 1;
            padding: 8px 12px;
            border: 2px solid #ddd;
            border-radius: 4px 0 0 4px;
            font-size: 14px;
            transition: border-color var(--transition-speed);
        }

        #cse-search-box input[type="text"]:focus {
            outline: none;
            border-color: var(--primary-color);
        }

        #cse-search-box input[type="submit"] {
            padding: 8px 20px;
            background: var(--success-color);
            color: white;
            border: none;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            font-weight: bold;
            transition: background var(--transition-speed);
        }

        #cse-search-box input[type="submit"]:hover {
            background: #45a049;
        }

        /* パンくずリスト */
        .breadcrumb {
            background: var(--gray-light);
            padding: 10px 20px;
            border-bottom: 1px solid var(--gray-medium);
        }

        .breadcrumb ol {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            font-size: 14px;
        }

        .breadcrumb li::after {
            content: ">";
            margin: 0 8px;
            color: #999;
        }

        .breadcrumb li:last-child::after {
            content: "";
        }

        .breadcrumb a {
            color: var(--primary-color);
        }

        /* 広告エリア */
        .contentup, .contentdown {
            padding: 20px;
            text-align: center;
            background: #fafafa;
            border-top: 1px solid var(--gray-medium);
            border-bottom: 1px solid var(--gray-medium);
        }

        /* メインレイアウト */
        .main-layout {
            display: flex;
            gap: 20px;
            padding: 20px;
            min-height: 500px;
        }

        /* メインコンテンツ */
        .content {
            flex: 1;
            width: var(--content-width);
            background: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

        /* 見出し */
        h1 {
            font-size: 28px;
            color: var(--primary-color);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 3px solid var(--primary-color);
        }

        h2 {
            font-size: 22px;
            color: #444;
            margin: 30px 0 15px;
            padding: 8px 0 8px 15px;
            border-left: 4px solid var(--primary-color);
            background: linear-gradient(to right, rgba(102,0,153,0.05) 0%, transparent 100%);
        }

        h3 {
            font-size: 18px;
            color: #555;
            margin: 25px 0 10px;
            padding-left: 10px;
            border-left: 3px solid var(--accent-color);
        }

        h4 {
            font-size: 16px;
            color: #666;
            margin: 20px 0 10px;
            font-weight: bold;
        }

        /* 段落 */
        p {
            margin-bottom: 15px;
            line-height: 1.8;
        }

        /* リスト */
        ul, ol {
            margin: 15px 0;
            padding-left: 30px;
        }

        li {
            margin-bottom: 8px;
        }

        /* ボックス装飾 */
        .summary-box {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 30px;
            box-shadow: 0 4px 15px rgba(102,0,153,0.2);
        }

        .summary-box p {
            margin: 0;
            font-size: 16px;
            line-height: 1.6;
        }

        .info-box {
            background: var(--gray-light);
            border-left: 4px solid var(--primary-color);
            padding: 15px;
            margin: 20px 0;
            border-radius: 4px;
        }

        .point-box {
            background: #fff9e6;
            border: 2px solid #ffd700;
            padding: 15px;
            margin: 20px 0;
            border-radius: 8px;
        }

        .point-box h4 {
            color: #ff6b00;
            margin-top: 0;
        }

        /* テーブル */
        .table-wrapper {
            overflow-x: auto;
            margin: 20px 0;
        }

        .data-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
        }

        .data-table caption {
            font-weight: bold;
            margin-bottom: 10px;
            text-align: left;
        }

        .data-table th {
            background: var(--primary-color);
            color: white;
            padding: 12px;
            text-align: left;
            font-weight: normal;
        }

        .data-table td {
            padding: 12px;
            border-bottom: 1px solid var(--gray-medium);
        }

        .data-table tbody tr:hover {
            background: var(--gray-light);
        }

        /* 関連リンク */
        .related-links {
            background: #f9f9f9;
            padding: 20px;
            border-radius: 8px;
            margin-top: 30px;
        }

        .related-links h3 {
            margin-top: 0;
        }

        .related-links ul {
            list-style: none;
            padding: 0;
        }

        .related-links li {
            padding: 8px 0;
            border-bottom: 1px dotted #ddd;
        }

        .related-links li:last-child {
            border-bottom: none;
        }

        .related-links a {
            display: block;
            padding-left: 20px;
            position: relative;
        }

        .related-links a::before {
            content: "▶";
            position: absolute;
            left: 0;
            color: var(--primary-color);
        }

        /* サイドバー */
        .sidebar1 {
            width: var(--sidebar-width);
            flex-shrink: 0;
        }

        /* メニュー */
        .menu1 {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 10px 15px;
            font-weight: bold;
            font-size: 14px;
            border-radius: 4px 4px 0 0;
        }

        .menu_box {
            background: white;
            border: 1px solid var(--gray-medium);
            border-top: none;
            margin-bottom: 20px;
            border-radius: 0 0 4px 4px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

        /* サイドバーナビゲーション */
        .subs {
            list-style: none;
            padding: 0;
        }

        .subs li {
            margin: 0;
        }

        .subs a {
            display: block;
            padding: 10px 15px;
            color: var(--text-color);
            border-bottom: 1px solid var(--gray-light);
            transition: all var(--transition-speed);
        }

        .subs a:hover {
            background: var(--gray-light);
            color: var(--primary-color);
            text-decoration: none;
            padding-left: 20px;
        }

        .subs ul {
            list-style: none;
            padding: 0;
            background: #f9f9f9;
        }

        .subs ul a {
            padding-left: 30px;
            font-size: 14px;
        }

        .subs ul a:hover {
            padding-left: 35px;
        }

        /* フッター */
        .footer {
            background: linear-gradient(to bottom, #f5f5f5 0%, #e0e0e0 100%);
            color: #333;
            padding: 30px 20px 20px;
            margin-top: 40px;
            border-top: 3px solid var(--primary-color);
        }

        .footer-nav ul {
            list-style: none;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
            padding: 0 0 20px;
            border-bottom: 1px solid #ccc;
        }

        .footer-nav a {
            color: var(--primary-color);
            font-weight: 500;
        }

        .footer-nav a:hover {
            color: var(--secondary-color);
            text-decoration: underline;
        }

        .footer-info {
            text-align: center;
            padding: 20px 0;
            font-size: 14px;
            line-height: 1.6;
            color: #666;
        }

        .footer-info p {
            margin: 5px 0;
        }

        .copyright {
            text-align: center;
            padding: 15px;
            background: #ddd;
            font-size: 12px;
            color: #666;
            border-top: 1px solid #bbb;
        }

        .copyright p {
            margin: 3px 0;
        }

        .copyright a {
            color: var(--primary-color);
        }

        /* ページトップボタン */
        .pagetop {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            opacity: 0;
            pointer-events: none;
            transition: all var(--transition-speed);
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            z-index: 1000;
        }

        .pagetop.show {
            opacity: 0.8;
            pointer-events: auto;
        }

        .pagetop:hover {
            opacity: 1;
            transform: scale(1.1);
        }

        /* レスポンシブ - タブレット */
        @media (max-width: 768px) {
            .container {
                width: 100%;
            }

            .main-layout {
                flex-direction: column;
            }

            .content {
                width: 100%;
                padding: 20px;
            }

            .sidebar1 {
                width: 100%;
            }

            h1 {
                font-size: 24px;
            }

            h2 {
                font-size: 20px;
            }

            .header-content {
                flex-direction: column;
                align-items: center;
            }

            .header-right {
                width: 100%;
                max-width: none;
            }
        }

        /* レスポンシブ - スマートフォン */
        @media (max-width: 480px) {
            body {
                font-size: 14px;
            }

            .content {
                padding: 15px;
            }

            h1 {
                font-size: 20px;
            }

            h2 {
                font-size: 18px;
            }

            h3 {
                font-size: 16px;
            }

            .breadcrumb {
                font-size: 12px;
                padding: 8px 15px;
            }

            .footer-nav ul {
                flex-direction: column;
                gap: 10px;
            }

            .data-table {
                font-size: 12px;
            }

            .data-table th,
            .data-table td {
                padding: 8px;
            }

            .pagetop {
                bottom: 20px;
                right: 20px;
                width: 40px;
                height: 40px;
            }
        }
