:root {
            --bg-dark: #0a1128;
            --bg-light: #f8fafc;
            --primary: #006eee;
            --primary-hover: #0056b3;
            --accent: #db3229;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --text-white: #ffffff;
            --border-color: #e2e8f0;
            --form-border: #cbd5e1;
        }

        /* 共通スタイル */
        * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', sans-serif; }
        body { color: var(--text-main); line-height: 1.7; background-color: #ffffff; }
        .section-padding { padding: 60px 5%; }
        .bg-gray { background-color: var(--bg-light); }
        .container { max-width: 1200px; margin: 0 auto; }
        
        .section-title { text-align: center; font-size: 2.2rem; font-weight: bold; margin-bottom: 15px; letter-spacing: 0.05em; }
        .section-subtitle { text-align: center; color: var(--text-muted); font-size: 1rem; margin-bottom: 40px; }
        .section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--primary); margin: 15px auto 0; }

        /* ボタン */
        .btn { display: inline-block; text-align: center; padding: 14px 28px; border-radius: 6px; text-decoration: none; font-weight: bold; font-size: 0.95rem; transition: all 0.3s ease; border: none; cursor: pointer; }
        .btn-primary { background: var(--primary); color: var(--text-white); box-shadow: 0 4px 14px rgba(0, 118, 254, 0.3); }
        .btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
        .btn-outline { border: 2px solid var(--text-white); color: var(--text-white); }
        .btn-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
        .btn-accent { background: var(--accent); color: var(--text-white); box-shadow: 0 4px 14px rgba(255, 59, 48, 0.3); }
        .btn-accent:hover { background: #e03126; transform: translateY(-2px); }

        /* ヘッダー・ナビゲーション */
        header { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: #ffffff; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; }
        .logo { display: flex; align-items: center; gap: 12px; color: var(--bg-dark); text-decoration: none; cursor: pointer; }
        .logo-text-wrapper { display: flex; flex-direction: column; justify-content: center; }
        .logo-title { font-weight: bold; font-size: 1.3rem; line-height: 1.2; letter-spacing: 0.05em; }
        .logo-sub { font-size: 0.75rem; color: var(--text-muted); font-weight: normal; margin-top: 2px; }
        
        /* 保護サークル（丸い切り抜き） */
        .logo-svg-container { 
            width: 44px; 
            height: 44px; 
            display: flex; 
            align-items: center; 
            justify-content: center;
            background: rgba(241, 245, 249, 0.6); 
            border-radius: 50%;
            padding: 5px;
        }
        
        .nav-menu { display: flex; align-items: center; gap: 20px; list-style: none; }
        .nav-menu li { cursor: pointer; padding: 8px 12px; font-weight: 600; font-size: 0.95rem; color: var(--text-main); transition: color 0.2s; border-bottom: 2px solid transparent; }
        .nav-menu li:hover { color: var(--primary); }
        .nav-menu li.active-tab { color: var(--primary); border-bottom: 2px solid var(--primary); }
        .nav-menu li.nav-btn-accent { background: var(--accent); color: var(--text-white) !important; border-radius: 6px; padding: 8px 16px; border-bottom: none; }
        .nav-menu li.nav-btn-accent:hover { background: #e03126; }

        /* 下層ページ用ヘッダー */
        .page-header { background: linear-gradient(135deg, var(--bg-dark) 0%, #162447 100%); color: #fff; padding: 50px 5%; text-align: center; }
        .page-header h1 { font-size: 2.2rem; font-weight: bold; margin-bottom: 10px; }

        /* HEROセクション */
        .hero { 
            background: 
                linear-gradient(135deg, rgba(10,17,40,0.68) 0%, rgba(22,36,71,0.58) 55%, rgba(29,48,84,0.62) 100%),
                url('https://images.unsplash.com/photo-1668687106962-94abc2f5b02e?auto=format&fit=crop&q=45&w=60') no-repeat center center / cover;
            color: var(--text-white); 
            padding: 100px 5%; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            min-height: 55vh; 
        }
        .hero-title, .hero-tagline, .hero-desc { text-shadow: 0 2px 10px rgba(0,0,0,0.55); }
        .hero .container { width: 100%; max-width: 900px; margin: 0 auto; text-align: left; }
        .hero-content { width: 100%; }
        .hero-tagline { color: #38bdf8; font-weight: bold; font-size: 1.2rem; margin-bottom: 15px; letter-spacing: 0.1em; }
        .hero-title { font-size: 3rem; font-weight: bold; line-height: 1.3; margin-bottom: 25px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
        .hero-desc { font-size: 1.2rem; color: #cbd5e1; margin-bottom: 40px; text-shadow: 0 1px 5px rgba(0,0,0,0.5); line-height: 1.8; }
        .hero-btns { display: flex; gap: 15px; }

        /* 各種コンテンツパーツ */
        .grid-3col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
        .card { background: var(--text-white); padding: 40px 30px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); border: 1px solid var(--border-color); }
        .pain-list { list-style: none; margin-top: 15px; }
        .pain-list li { position: relative; padding-left: 25px; margin-bottom: 12px; color: #475569; }
        .pain-list li::before { content: '×'; position: absolute; left: 0; color: var(--accent); font-weight: bold; }

        /* 業務フロー */
        .flow-container { background: var(--bg-dark); color: #fff; padding: 40px; border-radius: 12px; text-align: center; margin-bottom: 40px; }
        .flow-title { font-size: 1.2rem; font-weight: bold; margin-bottom: 25px; }
        .flow-steps { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
        .flow-step { background: rgba(255,255,255,0.1); padding: 15px; border-radius: 6px; font-weight: bold; font-size: 0.9rem; text-align: center; flex: 1; min-width: 130px; border: 1px solid rgba(255,255,255,0.2); }
        .flow-arrow { color: var(--primary); font-weight: bold; }

        /* 事業内容内パーツ */
        .service-detail-box { background: #fff; padding: 40px; border-radius: 8px; border: 1px solid var(--border-color); margin-bottom: 40px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
        .service-num { color: var(--primary); font-size: 1.2rem; font-weight: bold; margin-bottom: 5px; display: block; }
        .service-h3 { font-size: 1.8rem; font-weight: bold; margin-bottom: 20px; color: var(--bg-dark); border-left: 5px solid var(--primary); padding-left: 15px; }
        .grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 25px; }
        .detail-list { list-style: none; }
        .detail-list li { position: relative; padding-left: 20px; margin-bottom: 10px; }
        .detail-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

        /* 実績グリッド */
        .case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; margin-top: 20px; }
        .case-card { background: #fff; border-radius: 8px; border: 1px solid var(--border-color); overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.02); display: flex; flex-direction: column; }
        .case-img { width: 100%; height: 220px; object-fit: cover; border-bottom: 1px solid var(--border-color); }
        .case-body { padding: 25px; flex: 1; }
        .case-tag { display: inline-block; background: rgba(0, 118, 254, 0.08); color: var(--primary); padding: 4px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; margin-bottom: 12px; }
        .case-h3 { font-size: 1.25rem; font-weight: bold; margin-bottom: 15px; color: var(--bg-dark); }
        .case-meta { font-size: 0.9rem; color: #475569; margin-bottom: 15px; background: var(--bg-light); padding: 12px; border-radius: 6px; }

        /* 会社概要テーブル */
        .profile-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border-color); }
        .profile-table th, .profile-table td { padding: 18px 20px; border-bottom: 1px solid var(--border-color); text-align: left; }
        .profile-table th { width: 25%; background: var(--bg-light); font-weight: bold; }

        /* メリットテーブル */
        .table-container { width: 100%; overflow-x: auto; background: var(--text-white); border-radius: 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.04); border: 1px solid var(--border-color); }
        table.benefit-table { width: 100%; border-collapse: collapse; text-align: left; min-width: 700px; }
        table.benefit-table th, table.benefit-table td { padding: 20px 25px; border-bottom: 1px solid var(--border-color); }
        table.benefit-table th { background-color: #f1f5f9; font-weight: bold; }
        table.benefit-table td:first-child { font-weight: bold; background: #f8fafc; }
        table.benefit-table td:nth-child(3) { background-color: rgba(0, 118, 254, 0.02); font-weight: bold; color: var(--primary); }

        /* お問い合わせフォーム */
        .form-box { background: #ffffff; padding: 40px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.06); border: 1px solid var(--border-color); max-width: 800px; margin: 0 auto; }
        .form-group { margin-bottom: 22px; display: flex; flex-direction: column; text-align: left; }
        .form-label { font-weight: bold; margin-bottom: 8px; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; }
        .required { background: var(--accent); color: #fff; font-size: 0.75rem; padding: 2px 6px; border-radius: 3px; }
        input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; padding: 12px; border: 1px solid var(--form-border); border-radius: 6px; font-size: 1rem; }
        textarea { resize: vertical; min-height: 140px; }
        .radio-group { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 5px; }
        .radio-label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
        .privacy-box { text-align: center; margin: 30px 0 20px; font-size: 0.9rem; }

        /* CTA */
        .cta-section { background: var(--bg-dark); color: #fff; text-align: center; padding: 60px 5%; margin-top: 40px; border-radius: 8px; }

        /* LINE関連 */
        .line-contact{background:#fff;padding:40px;border-radius:16px;border:1px solid #e5e7eb;margin-bottom:40px;text-align:center;box-shadow:0 5px 20px rgba(0,0,0,.05);}
        .line-contact h2{font-size:28px;margin-bottom:15px;}
        .line-contact p{max-width:650px;margin:auto;line-height:1.8;color:#475569;margin-bottom:25px;}
        .line-btn{display:inline-block;background:#06C755;color:#fff;padding:15px 35px;border-radius:10px;font-weight:bold;text-decoration:none;}
        .floating-line{position:fixed;right:30px;bottom:30px;background:#06C755;color:#fff;padding:16px 28px;border-radius:50px;font-weight:bold;text-decoration:none;z-index:9999;box-shadow:0 10px 30px rgba(0,0,0,.2);}

        footer { background: var(--bg-dark); color: rgba(255,255,255,0.5); text-align: center; padding: 30px; font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.1); }

        /* 画像バナー（日本国内写真） */
        .photo-banner { width: 100%; height: 320px; object-fit: cover; border-radius: 8px; margin-bottom: 40px; box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
        .photo-caption { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin-top: -30px; margin-bottom: 40px; }
        .split-media { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 40px; }
        .split-media img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.08); }

        /* FAQアコーディオン */
        .faq-item { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; margin-bottom: 15px; overflow: hidden; }
        .faq-item summary { list-style: none; cursor: pointer; padding: 20px 25px; font-weight: bold; font-size: 1.05rem; color: var(--bg-dark); display: flex; justify-content: space-between; align-items: center; }
        .faq-item summary::-webkit-details-marker { display: none; }
        .faq-item summary::after { content: '+'; color: var(--primary); font-size: 1.4rem; font-weight: bold; margin-left: 15px; }
        .faq-item[open] summary::after { content: '－'; }
        .faq-item summary::before { content: 'Q'; background: var(--primary); color: #fff; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem; margin-right: 12px; flex-shrink: 0; }
        .faq-answer { padding: 0 25px 22px 63px; color: #475569; }

        /* 対応エリア一覧 */
        .area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 20px; }
        .area-card { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 22px; }
        .area-card h2 { color: var(--primary); font-size: 1rem; margin-bottom: 10px; border-bottom: 2px solid var(--bg-light); padding-bottom: 8px; }
        .area-card p { font-size: 0.9rem; color: #475569; }

        /* モバイル固定CTAバー */
        .mobile-cta-bar { display: none; }
        @media (max-width: 768px) {
            .mobile-cta-bar { display: flex; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 1001; box-shadow: 0 -4px 15px rgba(0,0,0,0.1); padding-bottom: env(safe-area-inset-bottom, 0); }
            .mobile-cta-bar a { flex: 1; text-align: center; padding: 16px 5px; font-weight: bold; text-decoration: none; font-size: 0.8rem; min-height: 48px; display: flex; align-items: center; justify-content: center; }
            .mobile-cta-bar .cta-tel { background: var(--primary); color: #fff; }
            .mobile-cta-bar .cta-line { background: #06C755; color: #fff; }
            .mobile-cta-bar .cta-form { background: var(--accent); color: #fff; }
            body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0)); }
            .floating-line { display: none; }
            .split-media { grid-template-columns: 1fr; }
        }

        /* ハンバーガーメニュー（デフォルト非表示・PC） */
        .nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px 8px; }
        .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
            display: block; width: 24px; height: 2px; background: var(--bg-dark); position: relative; transition: 0.2s;
        }
        .nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
        .nav-toggle span::before { top: -7px; }
        .nav-toggle span::after { top: 7px; }
        .nav-toggle.open span { background: transparent; }
        .nav-toggle.open span::before { transform: rotate(45deg); top: 0; }
        .nav-toggle.open span::after { transform: rotate(-45deg); top: 0; }

        /* タブレット〜スマホ横幅 */
        @media (max-width: 992px) {
            header { flex-wrap: wrap; padding: 12px 5%; position: relative; }
            .nav-toggle { display: block; }
            .nav-menu {
                width: 100%; flex-direction: column; align-items: stretch; gap: 0;
                max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
                order: 3; margin-top: 0;
            }
            .nav-menu.open { max-height: 500px; margin-top: 14px; }
            .nav-menu li { width: 100%; padding: 14px 6px; border-bottom: 1px solid var(--bg-light); }
            .nav-menu li.nav-btn-accent { text-align: center; border-radius: 6px; margin: 10px 0 4px; }
            .nav-menu li a { display: block; }
            .hero { text-align: center; padding: 50px 6%; min-height: auto; }
            .hero .container { text-align: center; }
            .hero-title { font-size: 2rem; }
            .hero-desc { font-size: 1.05rem; }
            .hero-btns { justify-content: center; flex-wrap: wrap; flex-direction: column; }
            .hero-btns .btn { width: 100%; }
            .grid-2col { grid-template-columns: 1fr; gap: 20px; }
            .flow-steps { flex-direction: column; }
            .flow-arrow { transform: rotate(90deg); margin: 5px 0; }
            .section-padding { padding: 45px 5%; }
            .section-title { font-size: 1.7rem; }
        }


        /* スマホ縦向け（狭幅端末） */
        @media (max-width: 480px) {
            .hero-title { font-size: 1.6rem; line-height: 1.4; }
            .hero-tagline { font-size: 1rem; }
            .hero-desc { font-size: 0.95rem; }
            .section-title { font-size: 1.4rem; }
            .card { padding: 28px 20px; }
            .btn { width: 100%; padding: 14px 20px; min-height: 48px; }
            .service-detail-box { padding: 25px 20px; }
            .service-h3 { font-size: 1.4rem; }
            .form-box { padding: 25px 18px; }
            .page-header { padding: 40px 5%; }
            .page-header h1 { font-size: 1.6rem; }
            .photo-banner { height: 200px; }
            .cta-section { padding: 40px 5%; }
            table.benefit-table th, table.benefit-table td { padding: 14px 15px; font-size: 0.9rem; }
            .profile-table th, .profile-table td { padding: 14px 12px; font-size: 0.92rem; }
            .profile-table th { width: 32%; }
        }

        /* スマホ縦向け（狭幅端末） */
        @media (max-width: 640px) {
            .table-container { overflow-x: visible; box-shadow: none; border: none; background: none; }
            table.benefit-table { min-width: 0; }
            table.benefit-table thead { display: none; }
            table.benefit-table, table.benefit-table tbody, table.benefit-table tr, table.benefit-table td { display: block; width: 100%; }
            table.benefit-table tr { margin-bottom: 16px; background: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 4px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
            table.benefit-table td { border-bottom: 1px solid var(--bg-light); padding: 12px 18px; }
            table.benefit-table td:last-child { border-bottom: none; }
            table.benefit-table td::before { content: attr(data-label); display: block; font-size: 0.75rem; font-weight: bold; color: var(--text-muted); margin-bottom: 4px; }
            table.benefit-table td:first-child { background: none; }
            table.benefit-table td:nth-child(3) { background: rgba(0,118,254,0.04); }
        }

        /* タップ領域の確保（全端末共通） */
        a, button { -webkit-tap-highlight-color: rgba(0,118,254,0.15); }
        img { max-width: 100%; height: auto; }
