        /* 基本設定 */
        * {
            box-sizing: border-box;
        }

        body {
            font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', '游ゴシック', 'Meiryo', sans-serif;
            line-height: 1.7;
            color: #333;
            background-color: #f9f9f9;
            margin: 0;
            padding: 20px;
        }

        /* ハンバーガーメニュー */
        .hamburger-nav {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1000;
        }

        .hamburger-menu {
            width: 40px;
            height: 40px;
            background-color: #e26f00;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 6px;
            transition: background-color 0.3s ease;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .hamburger-menu:hover {
            background-color: #b85500;
        }

        .hamburger-line {
            width: 20px;
            height: 2px;
            background-color: white;
            border-radius: 1px;
            transition: all 0.3s ease;
        }

        /* オーバーレイ */
        .nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .nav-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* ドロワー */
        .nav-drawer {
            position: fixed;
            top: 0;
            right: -300px;
            width: 280px;
            height: 100%;
            background-color: white;
            z-index: 1001;
            transition: right 0.3s ease;
            box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
            overflow-y: auto;
        }

        .nav-drawer.active {
            right: 0;
        }

        .nav-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            border-bottom: 1px solid #e0e0e0;
            background-color: #fef3e8;
        }

        .nav-header h3 {
            margin: 0;
            color: #2c3e50;
            font-size: 18px;
            font-weight: bold;
        }

        .nav-close {
            background: none;
            border: none;
            font-size: 24px;
            color: #666;
            cursor: pointer;
            padding: 0;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background-color 0.3s ease;
        }

        .nav-close:hover {
            background-color: #e0e0e0;
        }

        .nav-menu {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .nav-menu li {
            border-bottom: 1px solid #f0f0f0;
        }

        .nav-menu a {
            display: block;
            padding: 15px 20px;
            color: #333;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-menu a:hover {
            background-color: #fef3e8;
            color: #e26f00;
        }

        .nav-menu a.active {
            background-color: #e26f00;
            color: white;
        }

        .nav-menu a.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background-color: #b85500;
        }

        /* メインコンテナ */
        .privacy-policy-container,
        .terms-container {
            max-width: 800px;
            margin: 0 auto;
            background-color: #ffffff;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        /* タイトル */
        .privacy-policy-container .title,
        .terms-container .title {
            font-size: 28px;
            font-weight: bold;
            text-align: center;
            color: #2c3e50;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 3px solid #e26f00;
        }

        /* 条項タイトル */
        .privacy-policy-container .clause,
        .terms-container .clause {
            font-size: 18px;
            font-weight: bold;
            color: #2c3e50;
            margin-top: 30px;
            margin-bottom: 15px;
            padding-left: 10px;
            border-left: 4px solid #e26f00;
            background-color: #fef3e8;
            padding-top: 8px;
            padding-bottom: 8px;
        }

        /* 通常のパラグラフ */
        .privacy-policy-container p,
        .terms-container p {
            margin-bottom: 15px;
            padding: 0;
            text-align: justify;
        }

        /* 番号付きリスト */
        .privacy-policy-container .steps-list {
            margin: 20px 0;
            padding-left: 0;
            counter-reset: step-counter;
            list-style: none;
            /* デフォルトの番号を非表示 */
        }

        .privacy-policy-container .steps-list li {
            margin-bottom: 12px;
            padding: 12px 15px 12px 50px;
            background-color: #fef3e8;
            border-radius: 5px;
            border-left: 4px solid #e26f00;
            position: relative;
            counter-increment: step-counter;
        }

        .privacy-policy-container .steps-list li:before {
            content: counter(step-counter);
            position: absolute;
            left: 15px;
            top: 12px;
            background-color: #e26f00;
            color: white;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 14px;
        }

        /* 重要な注意事項 */
        .privacy-policy-container .important-notice {
            background-color: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 5px;
            padding: 15px;
            margin: 20px 0;
        }

        .privacy-policy-container .important-notice p {
            margin: 0;
            color: #856404;
        }

        /* リスト */
        .privacy-policy-container ul,
        .terms-container ul {
            margin: 15px 0;
            padding-left: 25px;
            list-style: none;
        }

        .privacy-policy-container ul li,
        .terms-container ul li {
            margin-bottom: 8px;
            padding-left: 15px;
            position: relative;
        }

        .privacy-policy-container ul li:before,
        .terms-container ul li:before {
            content: "•";
            color: #333;
            font-weight: bold;
            position: absolute;
            left: 0;
        }

        /* 順序付きリスト（terms.htmlでの使用） */
        .terms-container ol {
            margin: 15px 0;
            padding-left: 25px;
            list-style: decimal;
        }

        .terms-container ol li {
            margin-bottom: 8px;
            color: #333;
        }

        .terms-container ol li::marker {
            color: #333;
        }

        /* リンクスタイル */
        .privacy-policy-container a,
        .terms-container a {
            color: #e26f00;
            text-decoration: none;
            font-weight: 500;
        }

        .privacy-policy-container a:hover,
        .terms-container a:hover {
            color: #b85500;
            text-decoration: underline;
        }

        /* フッター */
        .privacy-policy-footer,
        .terms-footer {
            margin-top: 40px;
            padding: 20px;
            border-top: 1px solid #e0e0e0;
        }

        .privacy-policy-footer {
            background-color: #fff;
            margin-top: 70px;
        }

        .terms-footer {
            background-color: #fff;
            margin-top: 70px;
            padding-top: 30px;
        }

        .privacy-policy-footer p,
        .terms-footer p {
            margin-bottom: 10px;
        }

        .terms-footer .enactment-date {
            letter-spacing: 0.05em;
        }


        .privacy-policy-footer p:first-child {
            font-weight: bold;
            color: #2c3e50;
        }

        /* 会社情報ページ */
        .company-container .company-intro {
            font-size: 16px;
            margin-bottom: 25px;
        }

        .company-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .company-card {
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            padding: 18px;
            background-color: #fefefe;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        }

        .company-card h3 {
            margin-top: 0;
            margin-bottom: 10px;
            font-size: 18px;
            color: #2c3e50;
        }

        .company-card p {
            margin: 4px 0;
        }

        .company-details {
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            padding: 20px;
            background-color: #fffdfa;
        }

        .company-details dl {
            display: grid;
            grid-template-columns: 120px 1fr;
            row-gap: 12px;
            column-gap: 20px;
            margin: 0;
        }

        .company-details dt {
            font-weight: bold;
            color: #444;
        }

        .company-details dd {
            margin: 0;
        }

        .company-timeline {
            margin-top: 30px;
            padding-left: 20px;
            border-left: 3px solid #e26f00;
        }

        .company-timeline li {
            list-style: none;
            margin-bottom: 15px;
            position: relative;
            padding-left: 15px;
        }

        .company-timeline li::before {
            content: '';
            position: absolute;
            left: -12px;
            top: 6px;
            width: 8px;
            height: 8px;
            background-color: #e26f00;
            border-radius: 50%;
        }

        /* marked.js レンダリング（利用規約） */
        #terms-content h1 {
            font-size: 28px;
            font-weight: bold;
            text-align: center;
            color: #2c3e50;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 3px solid #e26f00;
        }

        #terms-content h2 {
            font-size: 18px;
            font-weight: bold;
            color: #2c3e50;
            margin-top: 30px;
            margin-bottom: 15px;
            padding: 8px 10px;
            border-left: 4px solid #e26f00;
            background-color: #fef3e8;
        }

        #terms-content p {
            margin-bottom: 15px;
            text-align: justify;
        }

        #terms-content ul {
            margin: 15px 0;
            padding-left: 25px;
            list-style: none;
        }

        #terms-content ul li {
            margin-bottom: 8px;
            padding-left: 15px;
            position: relative;
        }

        #terms-content ul li::before {
            content: "•";
            color: #333;
            font-weight: bold;
            position: absolute;
            left: 0;
        }

        #terms-content ol {
            margin: 15px 0;
            padding-left: 25px;
            list-style: decimal;
        }

        #terms-content ol li {
            margin-bottom: 8px;
            color: #333;
        }

        .terms-loading {
            color: #aaa;
            text-align: center;
            padding: 40px 0;
        }

        .terms-load-error {
            color: #c00;
            text-align: center;
            padding: 40px 0;
        }

        /* 連絡先情報 */
        .privacy-policy-container p br,
        .terms-container p br {
            margin-bottom: 5px;
        }

        /* 制定日 */
        .enactment-date {
            font-size: 14px;
            color: #666;
            text-align: right;
            margin-top: 30px;
            margin-bottom: 15px;
            padding-right: 10px;
        }

        /* レスポンシブデザイン */
        @media (max-width: 768px) {
            body {
                padding: 10px;
            }

            .privacy-policy-container,
            .terms-container {
                padding: 20px;
            }

            .privacy-policy-container .title,
            .terms-container .title {
                font-size: 24px;
            }

            .privacy-policy-container .clause,
            .terms-container .clause {
                font-size: 16px;
            }

            .privacy-policy-container .steps-list li {
                padding-left: 45px;
            }

            .privacy-policy-container .steps-list li:before {
                width: 20px;
                height: 20px;
                font-size: 12px;
            }

            .hamburger-nav {
                top: 15px;
                right: 15px;
            }

            .nav-drawer {
                width: 250px;
            }

            .enactment-date {
                font-size: 12px;
                text-align: center;
                padding-right: 0;
            }

            .company-details dl {
                grid-template-columns: 1fr;
            }

            #terms-content h1 {
                font-size: 24px;
            }

            #terms-content h2 {
                font-size: 16px;
            }

        }

        @media (max-width: 480px) {
            .nav-drawer {
                width: 100%;
                right: -100%;
            }
        }

        /* terms.html 内インラインスタイルの上書き */
        body .terms-container p {
            margin-bottom: 15px;
            padding: 0;
            text-align: justify;
        }

        body .terms-container ul {
            margin: 15px 0;
            padding-left: 25px;
            list-style: none;
        }

        body .terms-container ul li {
            margin-bottom: 8px;
            padding-left: 15px;
            position: relative;
        }

        body .terms-container ul li:before {
            content: "•";
            color: #333;
            font-weight: bold;
            position: absolute;
            left: 0;
        }

        /* スクロールバーのスタイル */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        ::-webkit-scrollbar-thumb {
            background: #e26f00;
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #b85500;
        }