@charset "UTF-8";

/* ==========================================================================
   0. フォント設定
   ========================================================================== */
/* 修正：WEBフォント（Noto Sans JP）の読み込みを廃止し、チラつきを防止します */
/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP... */


/* ==========================================================================
   1. 基本設定・変数
   ========================================================================== */
:root {
    --main-color: #1a2238;   /* 深みのある濃紺 */
    --accent-color: #b8934a; /* 落ち着いたゴールド */
    --text-white: #ffffff;
    --text-gray: #334155;
    --bg-beige: #fffbf0;     
    --danger-color: #ef4444;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    
    /* 角丸の設定 */
    --radius-soft: 8px;
    --radius-btn: 4px;
}

/* 文字サイズの統一・拡大調整 */
html {
    font-size: 17px; 
}

body {
    /* 修正：読み込み遅延のないシステムフォントを優先 */
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    margin: 0;
    color: #111;
    font-weight: 400; /* 修正：標準の太さに固定（500→400） */
    line-height: 1.9;
    background-color: var(--text-white);
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    font-size: 1rem;
}

h1, h2, h3 {
    /* 修正：見出しもシステムフォントで即座に表示 */
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-weight: 700; /* 太字 */
    letter-spacing: 0.1em;
    color: var(--main-color);
    line-height: 1.4;
}

/* --- 共通レイアウト --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* セクションタイトル */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--main-color);
    position: relative;
    padding-bottom: 20px;
    font-weight: 700;
}
.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* 小さく設定されていた箇所をリセットして統一 */
p, li, td, th, dl, dt, dd,
.ins-desc, .check-list li, .step-desc, .case-text, .feature-card p,
.guide-list p, .answer-text, .template-content, .system-card p,
.point-card p, .ng-list li p, .unified-card-desc, .simple-list li,
.footer-content p {
    font-size: 1rem !important;
}

/* 注釈など小さくあるべき箇所 */
.logo-sub, .header-tel-label, .btn-label, .step-badge, 
.price-sub, .mini-sub, .price-unit, .footer-bottom, 
.proposal-meta-print, .breadcrumb, .service-tag {
    font-size: 0.85rem !important;
}

/* ==========================================================================
   2. ヘッダー・ヒーローエリア
   ========================================================================== */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 80px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.logo-sub { 
    font-size: 0.75rem; 
    color: #666; 
    font-weight: 700; /* 修正：bold→700 */ 
    font-family: "Helvetica Neue", Arial, sans-serif; /* 追加 */
}
.logo-main { 
    font-size: 1.4rem; 
    color: var(--main-color); 
    font-weight: 700; /* 修正：900→700 */
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif; /* 追加 */
}

.desktop-nav ul { display: flex; list-style: none; margin: 0; padding: 0; }
.desktop-nav li { margin: 0 15px; }
.desktop-nav a {
    text-decoration: none; color: #333; font-weight: 700; font-size: 0.95rem; transition: color 0.3s;
}
.desktop-nav a:hover { color: var(--accent-color); }

.header-cta { display: flex; align-items: center; gap: 15px; }
.header-tel-box { text-align: right; }
.header-tel-label { display: block; font-size: 0.7rem; color: #333; font-weight: 700; }
.header-tel-number {
    display: block; 
    font-size: 1.4rem; 
    font-weight: 700; /* 修正：900→700 */
    color: #b8934a !important;        /* ゴールド */
    text-decoration: none; 
    line-height: 1; 
    font-family: "Helvetica Neue", Arial, sans-serif; /* 修正 */
}
.header-mail-btn {
    background: var(--main-color); color: white; padding: 10px 20px;
    border-radius: 4px; text-decoration: none; font-weight: 700; font-size: 0.9rem; transition: opacity 0.3s;
}
.header-mail-btn:hover { opacity: 0.8; }

.hero {
    background: linear-gradient(rgba(26, 34, 56, 0.9), rgba(26, 34, 56, 0.9)),url('image/top_Image.jpg') center/cover no-repeat;
    color: var(--text-white);
    padding: 120px 20px;
    text-align: center;
}
.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    color: #fff;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif; /* 追加 */
}
.hero-subtitle {
    color: var(--accent-color);
    font-size: 1rem;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 25px;
    font-weight: 700;
}

.page-hero {
    background-size: cover;
    background-position: center;
    color: #ffffff !important;
    padding: 80px 20px;
    text-align: center;
    border-bottom: 5px solid var(--accent-color);
}
.page-hero h1 {
    font-size: 2.4rem;
    margin: 10px 0 20px;
    color: #fff;
    font-weight: 700; /* 修正：900→700 */
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif; /* 追加 */
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: #cbd5e1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.breadcrumb a { color: #e2e8f0; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-color); text-decoration: underline; }
.breadcrumb .separator { font-size: 0.7rem; opacity: 0.7; }
.service-tag {
    background: var(--accent-color); color: white; padding: 5px 15px;
    font-size: 0.8rem; font-weight: 700; display: inline-block; margin-bottom: 10px;
}
/* ==========================================================================
   3. ボタン・CTA
   ========================================================================== */
.emergency-btn, .cta-btn, .submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #b8934a 0%, #dcc083 100%);
    color: #fff;
    text-decoration: none;
    padding: 18px 50px;
    border-radius: var(--radius-btn);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(184, 147, 74, 0.3);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    line-height: 1.3;
}
.emergency-btn:hover, .cta-btn:hover, .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(184, 147, 74, 0.5);
}

.btn-icon { font-size: 3rem; margin-right: 25px; flex-shrink: 0; }
.btn-text { text-align: left; }
.btn-label { font-size: 0.85rem; display: block; margin-bottom: 5px; font-weight: 500; }
.btn-tel { font-size: 2rem; font-weight: 900; letter-spacing: 0.05em; display: block; }

.read-more-btn {
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: 25px; padding: 12px 30px;
    border: 2px solid var(--main-color);
    color: var(--main-color); text-decoration: none;
    font-size: 0.95rem; font-weight: 700; transition: all 0.3s ease;
    background: white; border-radius: var(--radius-btn);
}
.read-more-btn:hover {
    background-color: var(--main-color); color: white;
    transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ==========================================================================
   4. カード・グリッド
   ========================================================================== */
.features-grid, .columns, .case-grid, .systems-grid, .deliverables, .challenge-grid, .option-list, .point-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card, .case-card, .system-card, .challenge-card, .case-card-item, .point-card, .comp-box {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-soft);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    height: 100%;
    box-sizing: border-box;
}

.feature-card:hover, .case-card:hover, .system-card:hover, .case-card-item:hover, .comp-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon, .col-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 30px;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.comp-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--main-color);
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

/* ==========================================================================
   5. TOPページ特有要素
   ========================================================================== */
.intro-section, .challenge-section { position: relative; }
.intro-section { background-color: var(--bg-beige); }

/* キャラクター配置 */
.char-wrapper {
    position: absolute; z-index: 10; display: none;
}
@media (min-width: 900px) {
    .char-wrapper { display: flex; align-items: flex-end; }
}
.char-img {
    width: 130px; height: 130px; object-fit: cover; border-radius: 50%;
    border: 5px solid white; background: white; box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
.char-balloon {
    position: absolute; background: white; border-radius: 20px; padding: 20px 25px;
    font-size: 0.95rem; font-weight: bold; color: #555; width: 260px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); text-align: left; line-height: 1.6;
    z-index: 11; border: 4px solid #e0c988; 
}
.char-balloon::after { content: ''; position: absolute; border: 12px solid transparent; }

.scene-worry { top: -80px; right: 25px; }
.balloon-worry { top: 20px; right: 150px; }
.balloon-worry::after { right: -24px; top: 30px; border-left-color: #e0c988; }
.scene-memo { bottom: -60px; left: 25px; }
.balloon-memo { bottom: 80px; left: 120px; }
.balloon-memo::after { left: -24px; bottom: 30px; border-right-color: #e0c988; }
.scene-point { top: 200px; left: 25px; }
.balloon-point { top: 30px; left: 150px; }
.balloon-point::after { left: -24px; top: 30px; border-right-color: #e0c988; }

.challenge-section { background-color: #f1f5f9; padding-bottom: 120px; }
.challenge-card { border-top: 5px solid #94a3b8; }
.challenge-num {
    background: #94a3b8; color: white; font-size: 0.8rem; font-weight: 700;
    display: inline-block; padding: 4px 12px; border-radius: 20px; margin-bottom: 20px;
}
.triangle-separator {
    position: absolute; bottom: -1px; left: 50%; transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-top: 50px solid #f1f5f9;
}

.case-card-item { border-left: 5px solid var(--accent-color); height: 100%; box-sizing: border-box; }
.case-role {
    display: flex; align-items: center; margin-bottom: 15px;
    color: var(--main-color); font-weight: 700; font-size: 1.05rem;
}
.case-role::before {
    content: "\f071"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    margin-right: 10px; color: var(--accent-color);
}

.footer-cta {
    background: linear-gradient(180deg, #fff 0%, #fffbf0 100%);
    position: relative; padding-top: 80px; padding-bottom: 80px;
}
.cta-operator-wrapper { width: 140px; height: 140px; margin: 0 auto -70px; position: relative; z-index: 2; }
.cta-operator-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 5px solid white; box-shadow: 0 5px 15px rgba(0,0,0,0.1); background: #eee; }
.cta-message-box {
    background: white; border-radius: 12px; padding: 90px 40px 60px;
    box-shadow: 0 10px 40px rgba(184, 147, 74, 0.15); border-top: 5px solid var(--accent-color);
    position: relative; margin-top: 0; text-align: center;
}
.cta-message-box::before {
    content: ""; position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    border-left: 15px solid transparent; border-right: 15px solid transparent;
    border-bottom: 15px solid var(--accent-color);
}

/* ==========================================================================
   6. 料金表・オプション
   ========================================================================== */
.step-price-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 40px; }
.step-card {
    background: white; padding: 30px 20px; border: 1px solid #ddd;
    border-radius: 8px; text-align: center; position: relative;
}
.step-card.active {
    border: 3px solid var(--accent-color); transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); z-index: 2;
}
.step-badge {
    background: var(--accent-color); color: white; padding: 5px 15px;
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    border-radius: 20px; font-size: 0.8rem; font-weight: bold;
}
.price-highlight { 
    font-size: 3rem; color: var(--accent-color); font-weight: 900; 
    font-family: "Helvetica Neue", sans-serif; letter-spacing: 0.05em;
}
.price-unit { font-size: 1.2rem; color: #666; font-weight: bold; }

.plan-table-wrapper {
    overflow-x: auto; margin-top: 0; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding-top: 20px; margin-bottom: 40px;
}
.plan-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.plan-table th { 
    color: white; padding: 25px 15px; text-align: center; font-weight: bold; 
    position: relative; border: 1px solid rgba(255,255,255,0.2);
    overflow: visible !important; padding-top: 25px !important;
}
.plan-table td { padding: 20px; border: 1px solid #ddd; vertical-align: top; background: white; }

.col-light { background: #64748b; border-color: #64748b; }
.col-std { background: var(--main-color); border-color: var(--main-color); }
.col-pro { background: var(--danger-color); border-color: var(--danger-color); }

.recommend-badge {
    position: absolute; top: -15px !important; right: 10px; z-index: 10;
    background: var(--danger-color); color: white; padding: 5px 15px;
    font-size: 0.8rem; font-weight: bold; border-radius: 4px;
}
.check-list { list-style: none; padding: 0; margin: 0; text-align: left; }
.check-list li { margin-bottom: 10px; padding-left: 20px; position: relative; font-size: 0.95rem; }
.check-list li::before {
    content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900;
    color: var(--accent-color); position: absolute; left: 0; top: 3px; font-size: 0.9rem;
}
.check-list li.mute { color: #ccc;  }
.check-list li.mute::before { content: "-"; color: #ccc; }

.option-item {
    background: white; padding: 20px; border: 2px solid #e2e8f0;
    border-radius: var(--radius-soft); display: flex; align-items: flex-start; cursor: pointer;
}
.opt-check-box {
    width: 24px; height: 24px; border: 2px solid var(--main-color);
    background: white; margin-right: 15px; flex-shrink: 0; margin-top: 2px; border-radius: 4px;
}
.opt-price { color: var(--danger-color); font-weight: bold; font-size: 0.95rem; }

.tab-system { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 20px; }
.tab-radio { display: none; }
.price-tab-label {
    order: 1; background: #f0f0f0; padding: 15px 30px; border-radius: 30px;
    cursor: pointer; font-weight: bold; color: #888; transition: all 0.3s ease;
    border: 2px solid transparent; user-select: none; position: relative; margin-bottom: 20px;
}
.price-tab-label:hover { background: #e0e0e0; color: #555; }
.tab-radio:checked + .price-tab-label {
    background: var(--main-color); color: white; border-color: var(--main-color);
    box-shadow: 0 10px 25px rgba(26, 34, 56, 0.3); transform: scale(1.1); z-index: 5;
}
.tab-radio:checked + .price-tab-label::after {
    content: ""; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
    border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 10px solid var(--main-color);
}
.price-content { order: 2; width: 100%; display: none; animation: fadeIn 0.5s; }
.tab-radio:checked + .price-tab-label + .price-content { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.expense-box {
    background: #fff;
    border: 3px dashed var(--main-color);
    padding: 40px;
    margin-top: 50px;
    border-radius: 8px;
    text-align: left;
}

.price-display {
    display: block; font-size: 2.2rem; font-weight: 900; color: inherit;
    font-family: "Helvetica Neue", sans-serif; line-height: 1.2; letter-spacing: 0.05em;
}

/* ==========================================================================
   7. サブページ要素
   ========================================================================== */
.danger-alert-box {
    background: #fff5f5; border: 2px solid var(--danger-color);
    padding: 40px; border-radius: 8px; text-align: center; max-width: 800px; margin: 0 auto;
}
.email-paper {
    background: white; padding: 40px; max-width: 700px; margin: 0 auto;
    border: 1px solid #ddd; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    font-family: "Yu Mincho", serif; position: relative;
    font-size: 1rem; line-height: 1.8; color: #333;
}
.email-paper::before {
    content: "DRAFT"; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg); font-size: 5rem;
    color: rgba(0,0,0,0.05); font-weight: bold; font-family: sans-serif;
}
.point-card { border: 1px solid var(--border-color); border-top: 4px solid var(--main-color); }
.point-num { font-size: 1.2rem; font-weight: bold; color: var(--accent-color); display: block; margin-bottom: 10px; }

.comparison-box { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 1000px; margin: 0 auto; }
.case-bad { border-top: 5px solid var(--error-color); }
.case-good { border-top: 5px solid var(--main-color); position: relative; overflow: hidden; }
.case-good::before {
    content: "\5f53\793e\306e\5bfe\5fdc"; /* "当社の対応" */
    position: absolute; top: 10px; right: -30px;
    background: var(--accent-color); color: white; padding: 5px 40px;
    transform: rotate(45deg); font-size: 0.8rem; font-weight: bold; box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.case-dialogue { background: #f8fafc; padding: 15px; border-radius: 4px; margin-bottom: 15px; font-size: 0.95rem; line-height: 1.6; }
.dialogue-speaker { font-weight: bold; font-size: 0.8rem; display: block; margin-bottom: 5px; color: #666; }
.result-bad { background: #fee2e2; color: var(--error-color); font-weight: bold; text-align: center; padding: 10px; border-radius: 4px; margin-top:20px;}
.result-good { background: #d1fae5; color: #065f46; font-weight: bold; text-align: center; padding: 10px; border-radius: 4px; margin-top:20px;}

/* ==========================================================================
   8. フロー・ステップ図
   ========================================================================== */
.flow-section { background: var(--main-color); color: white; padding: 80px 20px; }
.flow-section .section-title { color: white; }
.flow-steps { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; max-width: 1100px; margin: 0 auto; }
.step-item { flex: 1; min-width: 220px; text-align: left; position: relative; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2); }
.step-num { display: block; font-size: 3rem; color: var(--accent-color); font-weight: 900; opacity: 0.5; line-height: 1; margin-bottom: 10px; }
.step-title { font-size: 1.3rem; margin-bottom: 15px; color: inherit; }
.step-desc { font-size: 0.95rem; opacity: 0.8; line-height: 1.8; }

.system-diagram {
    display: flex; justify-content: center; align-items: flex-start;
    gap: 20px; flex-wrap: wrap; text-align: center; padding-top: 30px;
}
.diagram-step { flex: 1; min-width: 200px; max-width: 280px; margin: 0 auto; }
.diagram-step i {
    font-size: 3.5rem !important; color: var(--main-color); margin-bottom: 25px;
    display: block; text-align: center; width: 100%;
}
.diagram-step h4 { font-size: 1.2rem; font-weight: bold; margin-bottom: 15px; }
.arrow-icon {
    align-self: center; font-size: 2.5rem; color: var(--accent-color);
    margin: 0 10px; padding-bottom: 60px;
}

/* ==========================================================================
   9. フッター
   ========================================================================== */
.site-footer { background-color: var(--main-color); color: white; padding: 60px 0 20px; font-size: 0.9rem; border-top: 5px solid var(--accent-color); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; letter-spacing: 0.1em; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: white; text-decoration: none; opacity: 0.8; transition: opacity 0.3s; }
.footer-links a:hover { opacity: 1; color: var(--accent-color); text-decoration: underline; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.8rem; opacity: 0.6; }

/* ==========================================================================
   10. レスポンシブ
   ========================================================================== */
.mobile-menu-btn, .mobile-fixed-footer, .mobile-nav-overlay { display: none; } 

@media (max-width: 768px) {
    html { font-size: 16px; }
    
    .features-grid, .columns, .case-grid, .systems-grid, .option-list, .comparison-box, .step-price-grid, .footer-grid, .comparison-grid {
        grid-template-columns: 1fr; gap: 40px;
    }
    .hero h1, .page-hero h1 { font-size: 2rem; }
    
    .site-header { height: 60px; }
    .desktop-nav, .header-cta { display: none; }
    
    .mobile-menu-btn {
        display: block; width: 30px; height: 20px; position: relative; cursor: pointer;
    }
    .mobile-menu-btn span {
        display: block; width: 100%; height: 2px; background: #333; position: absolute; transition: 0.3s;
    }
    .mobile-menu-btn span:nth-child(1) { top: 0; }
    .mobile-menu-btn span:nth-child(2) { top: 9px; }
    .mobile-menu-btn span:nth-child(3) { bottom: 0; }

    .mobile-fixed-footer {
        display: flex; position: fixed; bottom: 0; left: 0; width: 100%; height: 60px; z-index: 1001; box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
    .mobile-footer-btn { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-decoration: none; color: white; }
    .mobile-footer-btn.mail { background: #333; flex: 1; font-size: 0.8rem; }
    .mobile-footer-btn.tel { background: var(--danger-color); flex: 2; }
    .tel-label { font-size: 0.7rem; }
    .tel-num { font-size: 1.3rem; font-weight: bold; font-family: sans-serif; }

    .mobile-nav-overlay {
        display: block; position: fixed; top: 0; right: -100%; width: 80%; height: 100%; background: white; z-index: 2000; transition: 0.3s; box-shadow: -5px 0 15px rgba(0,0,0,0.1); padding: 60px 20px;
    }
    .mobile-nav-overlay.active { right: 0; }
    .mobile-nav-content ul { list-style: none; padding: 0; }
    .mobile-nav-content li { border-bottom: 1px solid #eee; }
    .mobile-nav-content a { display: block; padding: 15px 0; text-decoration: none; color: #333; font-weight: bold; }
    .mobile-nav-close { position: absolute; top: 20px; right: 20px; font-size: 2rem; cursor: pointer; }

    .char-wrapper { display: none; }
    .step-card.active { transform: scale(1); }
    .tab-system { flex-direction: column; gap: 0; }
    .price-tab-label { width: 100%; text-align: center; box-sizing: border-box; margin-bottom: 10px; }
    .tab-radio:checked + .price-tab-label::after { display: none; }
    
    .emergency-btn, .cta-btn { width: 100%; box-sizing: border-box; flex-direction: column; }
    .btn-tel { margin-left: 0; margin-top: 5px; }
    .btn-icon { margin-right: 0; margin-bottom: 10px; }
    
    .system-diagram { flex-direction: column; align-items: center; }
    .arrow-icon { transform: rotate(90deg); margin: 20px 0; padding-bottom: 0; }
    
    .ng-grid { grid-template-columns: 1fr; }
    .sheet-doc { padding: 20px; height: auto; aspect-ratio: auto; }
    .sheet-header-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    .sheet-main-title { font-size: 22px; }
    .sheet-sub-info { text-align: left; }
    .sheet-sub-check-grid, .sheet-sub-check-grid-3col { grid-template-columns: 1fr; }
    .sheet-input-area-grid { flex-direction: column; gap: 10px; }
    
    .manual-layout { flex-direction: column-reverse; gap: 40px; }
    .manual-desc-area { text-align: center; }
    .manual-points { display: inline-block; text-align: left; }
    .manual-cta-box { flex-direction: column; text-align: center; }
    
    .cost-table th, .cost-table td { font-size: 0.85rem; padding: 10px; }
    .pc-br { display: none; }
    
    .message-wrapper { flex-direction: column; align-items: center; gap: 40px; }
    .message-profile { position: static; flex: auto; width: 100%; }
    .message-title { font-size: 1.5rem; text-align: center; }
    .message-text p { font-size: 1rem; text-align: left; }
    

/* インタビューセクションの背景設定 */
.interview-section {
    background-image: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.8)), url('images/interview.jpg');
    
    /* 背景画像をスクロールしても固定する設定（パララックス効果） */
    background-attachment: fixed;

    /* 以下は既存の設定を維持 */
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

    .interview-title { font-size: 1.6rem; text-align: left; }
    .interview-intro { font-size: 0.95rem; text-align: left; }
    .talk-icon { width: 70px; height: 70px; }
    .talk-icon-box { width: 70px; }
    .talk-bubble { padding: 20px; font-size: 1rem; }
    .talk-row { gap: 15px; }
    
    .unified-card-grid { grid-template-columns: 1fr; padding: 0 10px; }
    .sp-only { display: block; }
    
    .mail-layout-container { flex-direction: column; }
    .layout-right-sidebar { width: 100%; min-width: auto; }
    
    .chrome-security-box { flex-direction: column; text-align: center; padding: 20px; }
    .chrome-icon-area { margin-bottom: 10px; }
    .phishing-layout { flex-direction: column; }
    .faq-grid { grid-template-columns: 1fr; }
    .faq-insurance-box { flex-direction: column; text-align: center; padding: 20px; }
    
    .company-wrapper { flex-direction: column; }
    .company-table th { width: auto; white-space: normal; }
    .company-map { height: 300px !important; }
}
@media (min-width: 601px) {
    .sp-only { display: none; }
}

/* ==========================================================================
   その他コンポーネント
   ========================================================================== */
.proposal-header { display: none; }
.proposal-title-print { font-size: 24pt; color: var(--main-color); margin: 0; }
.proposal-meta-print { text-align: right; font-size: 10pt; color: #666; line-height: 1.4; }

.ng-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ng-card {
    background: white; padding: 30px; border-radius: 8px;
    border: 2px solid #fee2e2; box-shadow: 0 5px 15px rgba(239, 68, 68, 0.05);
}
.ng-category {
    font-size: 1.3rem; color: var(--danger-color); border-bottom: 2px solid #fee2e2;
    padding-bottom: 10px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.ng-list { list-style: none; padding: 0; margin: 0; }
.ng-list li { margin-bottom: 20px; }
.ng-list li strong {
    display: block; font-size: 1.05rem; color: #b91c1c; margin-bottom: 5px;
    border-left: 4px solid var(--danger-color); padding-left: 10px;
}
.ng-list li p { font-size: 0.9rem; color: #555; margin: 0; padding-left: 14px; line-height: 1.6; }

/* ポケットカード */
.card-visual-area-v3 {
    padding: 40px 20px 60px; text-align: center; perspective: 1000px;
}
.pocket-card-v3 {
    display: inline-block; background: white; width: 320px; height: 453px;
    padding: 25px 20px; box-sizing: border-box; box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    position: relative; text-align: left; text-decoration: none; color: #333;
    transform: rotate(-5deg); transition: all 0.4s; border: 1px solid #ddd;
}
.pocket-card-v3:hover {
    transform: rotate(0deg) translateY(-20px) scale(1.05); box-shadow: 0 30px 60px rgba(0,0,0,0.25); z-index: 10;
}
.card-hole {
    position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    width: 10px; height: 10px; background: #333; border-radius: 50%;
    box-shadow: 0 1px 0 rgba(255,255,255,0.5);
}
.mini-header {
    border-bottom: 2px solid var(--main-color); padding-bottom: 8px; margin-bottom: 15px; margin-top: 10px;
}
.mini-sub { font-size: 0.6rem; color: var(--accent-color); font-weight: bold; display: block; }
.mini-title { margin: 0; font-size: 1.1rem; color: var(--main-color); line-height: 1.2; font-weight: 900; }
.mini-box { border-radius: 6px; padding: 12px 10px 10px; margin-bottom: 15px; position: relative; font-size: 0.8rem; }
.blue-box { border: 1px solid var(--main-color); margin-top: 20px; }
.blue-label {
    background: var(--main-color); color: white; font-size: 0.7rem; font-weight: bold;
    padding: 2px 8px; border-radius: 10px; position: absolute; top: -10px; left: 8px;
}
.red-box { background: #fff5f5; border: 1px solid var(--danger-color); }
.mini-alert-title { color: var(--danger-color); font-weight: bold; font-size: 0.85rem; margin-bottom: 5px; }
.mini-list { list-style: none; padding: 0; margin: 0; font-weight: bold; color: #444; }
.mini-list li { margin-bottom: 3px; line-height: 1.3; }
.red-list { color: var(--danger-color); }
.click-hint {
    text-align: center; font-size: 0.75rem; color: var(--accent-color);
    margin-top: 15px; font-weight: bold; opacity: 0; transition: opacity 0.3s;
}
.pocket-card-v3:hover .click-hint { opacity: 1; animation: blink 1.5s infinite; }

/* マニュアルレイアウト */
.manual-layout { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.manual-desc-area { flex: 1; max-width: 600px; text-align: center; }
.manual-points { display: inline-block; text-align: left; list-style: none; padding: 0; margin-bottom: 40px; }
.manual-points li { font-size: 1.05rem; margin-bottom: 15px; display: flex; align-items: center; }
.manual-points li i { color: var(--accent-color); font-size: 1.4rem; margin-right: 15px; }
.manual-visual-area { flex: 1; display: flex; justify-content: center; position: relative; }
.card-shadow-bg {
    position: absolute; top: 20px; left: 55%; transform: translateX(-50%) rotate(5deg);
    width: 300px; height: 425px; background: white; border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); z-index: -1; opacity: 0.6;
}

/* 保険・比較テーブル */
.cost-table { width: 100%; border-collapse: collapse; margin: 20px 0; background: white; }
.cost-table th, .cost-table td { border: 1px solid #ddd; padding: 15px; text-align: left; }
.cost-table th { background: #f4f4f4; color: var(--main-color); white-space: nowrap; }
.cost-price { color: var(--danger-color); font-weight: bold; font-size: 1.1rem; white-space: nowrap; }

.insurance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.insurance-card {
    background: white; border: 1px solid #ddd; border-radius: 8px; padding: 30px;
    transition: 0.3s; position: relative; overflow: visible !important; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: block; text-decoration: none; color: inherit; margin-top: 20px !important; padding-top: 30px !important;
}
.insurance-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-color: var(--accent-color); }
.insurance-card h3 {
    color: var(--main-color); margin-bottom: 5px; font-size: 1.3rem; padding-bottom: 5px;
    border-bottom: 2px solid var(--accent-color); display: inline-block;
}
.ins-plan-name { font-weight: bold; margin-bottom: 15px; font-size: 0.95rem; color: #555; }
.ins-desc { font-size: 0.95rem; line-height: 1.6; color: #333; }
.insurance-card .recommend-badge { top: -12px !important; right: 20px !important; }
.search-icon-inline { margin-left: 8px; font-size: 1.1em; color: #ccc; transition: color 0.3s ease; vertical-align: middle; }
.insurance-card:hover .search-icon-inline { color: var(--accent-color); }
.pros-cons { background: #f9f9f9; border-radius: 8px; padding: 10px; margin-top: 10px; font-size: 0.9rem; line-height: 1.5; }
.pros { color: #2e7d32; margin-bottom: 6px; display: flex; align-items: flex-start; }
.cons { color: #c62828; margin-bottom: 6px; display: flex; align-items: flex-start; }
.pros i, .cons i { margin-right: 6px; margin-top: 3px; flex-shrink: 0; }

/* プライバシーポリシー */

.privacy-scroll-box p,
.privacy-scroll-box li,
.privacy-scroll-box h4 {
    font-size: 0.95rem !important; /* ここで強制的に小さく上書きします */
    line-height: 1.6;
}
.privacy-scroll-box {
    height: 200px; overflow-y: scroll; border: 1px solid #ccc; background: #f9f9f9;
    padding: 20px; font-size: 0.85rem; color: #555; border-radius: 4px; margin-bottom: 15px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}
.privacy-scroll-box h3 { font-size: 1rem; margin-top: 0; margin-bottom: 15px; color: var(--main-color); }
.privacy-scroll-box h4 { font-size: 0.9rem; margin-top: 15px; margin-bottom: 5px; color: #333; border-bottom: 1px dashed #ccc; }
.privacy-scroll-box ul { padding-left: 20px; margin: 5px 0; }
.privacy-check { text-align: center; padding: 10px; }
.privacy-check label { cursor: pointer; font-size: 1.1rem; display: inline-flex; align-items: center; gap: 10px; }
.privacy-check input[type="checkbox"] { transform: scale(1.5); accent-color: var(--accent-color); }

/* メッセージセクション */
.message-wrapper { display: flex; justify-content: center; gap: 10px; align-items: flex-start; }
.message-profile { flex: 0 0 300px; text-align: center; position: sticky; top: 100px; }
.profile-img-box {
    width: 260px; height: 320px; background: #ccc; margin: 0 auto 25px; position: relative;
    box-shadow: 20px 20px 0px rgba(184, 147, 74, 0.2);
}
.profile-img { width: 100%; height: 100%; object-fit: cover; filter: sepia(10%); }
.profile-role { display: block; font-size: 0.8rem; color: #666; margin-bottom: 5px; font-weight: bold; line-height: 1.6; }
.profile-name { font-size: 1.6rem; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; margin: 0; color: var(--main-color); }
.message-body { flex: 1; max-width: 600px; }
.message-tag {
    display: inline-block; font-family: "Helvetica Neue", sans-serif; font-size: 0.8rem;
    letter-spacing: 0.2em; color: var(--accent-color); border-bottom: 1px solid var(--accent-color); margin-bottom: 20px;
}
.message-title {
    font-size: 1.8rem; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; line-height: 1.5;
    margin-bottom: 40px; color: var(--main-color); font-weight: 900;
}
.message-text p {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 1.2rem;
    line-height: 2.2; color: #333; margin-bottom: 30px; text-align: justify;
}
.message-text2 p {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 1.2rem;
    line-height: 2.2; color: #333; margin-bottom: 30px; text-align: right;
}
.message-text strong { background: linear-gradient(transparent 60%, #ffeeba 60%); font-weight: bold; }
.message-sign { margin-top: 50px; text-align: right; }

.sys-icon {
    font-size: 2.5rem; color: var(--main-color); margin-bottom: 20px;
    display: inline-block; width: 100%; text-align: center;
}

.company-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--main-color); }
.company-table th, .company-table td {
    padding: 15px; border-bottom: 1px solid #e2e8f0; font-size: 0.95rem; text-align: left; vertical-align: top;
}
.company-table th { width: 30%; background-color: #f8fafc; color: var(--main-color); font-weight: 700; white-space: nowrap; }

.story-text strong {
    background: linear-gradient(transparent 60%, #ffeeba 60%); font-weight: 900; color: inherit; padding: 0 4px;
}

/* インタビューセクション */
.interview-section {
    background-color: #fdfcf8; padding: 100px 20px; font-family: "Noto Sans JP", "Yu Gothic", sans-serif; border-top: 1px solid #e2e8f0;
}
.interview-header { text-align: center; margin-bottom: 60px; }
.interview-subtitle {
    display: block; color: var(--accent-color); font-weight: bold; letter-spacing: 0.1em;
    font-size: 0.9rem; margin-bottom: 10px;
}
.interview-title {
    font-size: 2.2rem; color: var(--main-color); line-height: 1.4; margin-bottom: 30px; font-family: "Yu Mincho", serif;
}
.interview-intro { font-size: 1.1rem; line-height: 2; color: #555; }
.talk-room {
    max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px;
    padding: 10px 20px; width: 100%; box-sizing: border-box;
}
.talk-row { display: flex; gap: 30px; align-items: flex-start; }
.talk-row.interviewer { flex-direction: row; }
.talk-row.guest { flex-direction: row-reverse; }
.talk-icon-box { text-align: center; flex-shrink: 0; width: 110px; }
.talk-icon {
    width: 110px; height: 110px; border-radius: 50%; object-fit: cover;
    border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.1); background: #e2e8f0;
}
.talk-name { display: block; font-size: 0.85rem; font-weight: bold; color: #888; margin-top: 10px; }
.talk-bubble {
    position: relative; background: #fff; border-radius: 20px; padding: 0px 20px;
    font-size: 1.1rem; line-height: 1.9; color: #333; width: 100%; box-shadow: 0 2px 15px rgba(0,0,0,0.03);
}
.talk-row.interviewer .talk-bubble::after {
    content: ''; position: absolute; top: 35px; left: -12px;
    border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-right: 12px solid #fff;
}
.talk-row.guest .talk-bubble::after {
    content: ''; position: absolute; top: 35px; right: -12px;
    border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-left: 12px solid #fffbf0;
}
.talk-row.guest .talk-bubble { background: #fffbf0; border: 1px solid #f0e6d2; }
.interview-footer { text-align: center; margin-top: 60px; padding-top: 40px; border-top: 1px dashed #ccc; }
.interview-footer p { font-size: 1.2rem; font-weight: bold; margin-bottom: 30px; color: var(--main-color); }
.talk-room.is-collapsed {
    max-height: 500px; overflow: hidden; position: relative; transition: max-height 0.5s ease-in-out;
}
.talk-room.is-collapsed::after {
    content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 200px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 90%); pointer-events: none;
}
.read-more-btn-area { text-align: center; margin-top: 20px; }
.read-more-trigger {
    background-color: var(--main-color); color: #fff; border: none; padding: 12px 40px;
    font-size: 1rem; border-radius: 30px; cursor: pointer; transition: background 0.3s;
    font-weight: bold; box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.read-more-trigger:hover { background-color: var(--accent-color); transform: translateY(-2px); }
.read-more-trigger i { margin-left: 8px; }

/* 統一カードデザイン */
.unified-card-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px; justify-content: center;
}
.unified-card {
    background: #fff; border: 1px solid #eee; border-radius: 12px;
    padding: 35px 30px 0 30px; position: relative; box-shadow: 0 5px 10px rgba(0,0,0,0.03);
    display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; overflow: hidden;
}
.unified-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
.unified-badge {
    position: absolute; top: -1px; right: 25px; padding: 8px 18px;
    background: var(--accent-color); color: #fff; font-size: 0.9rem; font-weight: bold;
    border-radius: 0 0 6px 6px; box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.unified-card-title {
    font-size: 1.4rem; color: var(--main-color); margin-bottom: 5px; font-weight: bold;
    display: inline-block; padding-bottom: 5px; margin-top: 15px;
}
.unified-card-sub { font-size: 0.9rem; color: #888; margin-bottom: 25px; }
.unified-card-desc { font-size: 1.05rem; line-height: 1.7; color: #333; margin-bottom: 30px; flex-grow: 1; }
.simple-list { list-style: none; padding: 0; margin: 0 0 30px 0; flex-grow: 1; }
.simple-list li {
    font-size: 1.0rem; margin-bottom: 10px; padding-left: 18px; position: relative; color: #444;
}
.simple-list li::before {
    content: "●"; font-size: 0.7rem; position: absolute; left: 0; top: 5px; color: var(--accent-color);
}
.card-map-frame {
    width: 100%; height: 170px; background: #eee; margin-bottom: 30px; border-radius: 6px; flex-grow: 1;
}
.unified-card-footer {
    background: #fff; margin: 0 -30px; padding: 20px 20px; border-top: 1px solid #eee;
}
.footer-icon { font-size: 1.1rem; margin-top: 3px; margin-right: 10px; color: var(--accent-color); }
.footer-content strong {
    display: block; color: var(--main-color); font-size: 0.9rem; margin-bottom: 3px; line-height: 1.4; white-space: nowrap;
}
.footer-content p {
    color: #444; font-size: 0.9rem; margin: 0; line-height: 1.5; white-space: nowrap; letter-spacing: -0.02em; 
}
.unified-card-footer .footer-content p[style*="danger"],
.unified-card-desc a[style*="danger"] { color: var(--accent-color) !important; }

/* メールテンプレートセクション */
.mail-template-section {
    font-family: "Helvetica Neue", Arial, sans-serif; background-color: #f4f7f9;
    padding: 60px 20px; color: #333;
}
.mail-layout-container {
    display: flex; gap: 40px; max-width: 1000px; margin: 0 auto; align-items: flex-start;
}
.mail-window-area { flex: 2; min-width: 0; }
.gmail-window-single {
    background: #fff; border: 1px solid #d0d0d0; border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); overflow: hidden; display: flex; flex-direction: column;
}
.gmail-header {
    background: #f2f2f2; color: #202124; padding: 10px 15px; display: flex;
    justify-content: space-between; font-size: 14px; font-weight: bold; border-bottom: 1px solid #e0e0e0;
}
.gmail-meta { background: #fff; padding: 10px 15px; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
.gmail-input { margin-bottom: 8px; color: #5f6368; }
.gmail-input strong { color: #5f6368; margin-right: 10px; display: inline-block; width: 40px; font-weight: normal; }
.gmail-input span { color: #202124; font-weight: 500; }
.gmail-body { padding: 20px; white-space: pre-wrap; font-size: 14px; line-height: 1.6; color: #202124; min-height: 350px; }
.gmail-footer {
    padding: 10px 15px; border-top: 1px solid #f0f0f0; background: #fff; display: flex; justify-content: space-between; align-items: center;
}
.btn-send {
    background: #0b57d0; color: white; border: none; padding: 8px 24px;
    border-radius: 18px; font-weight: bold; cursor: pointer; font-size: 14px;
}
.btn-send:hover { background: #0947a8; }
.gmail-icons { letter-spacing: 10px; color: #5f6368; cursor: pointer; }
.btn-copy {
    background: #fff; border: 1px solid #dadce0; padding: 6px 12px; border-radius: 4px;
    cursor: pointer; font-size: 12px; color: #202124; display: flex; align-items: center; gap: 5px;
}
.btn-copy:hover { background-color: #f1f3f4; }
.mail-footer-note { font-size: 12px; color: #666; margin-top: 10px; line-height: 1.4; }
.layout-right-sidebar { flex: 1; display: flex; flex-direction: column; gap: 20px; min-width: 300px; }
.mail-steps-area { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.mail-capsule-step {
    background: #fff; border: 1px solid #e0e0e0; border-radius: 50px; padding: 10px 15px;
    width: 100%; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,0.05); box-sizing: border-box;
    display: flex; flex-direction: column; align-items: center;
}
.mail-capsule-label {
    display: block; font-size: 13px; color: #0b57d0; font-weight: bold;
    margin-bottom: 2px; letter-spacing: 1px; text-transform: uppercase;
}
.mail-capsule-text { font-size: 13px; font-weight: bold; color: #333; }
.mail-step-triangle { color: #ccc; font-size: 10px; line-height: 1; }
.warning-box {
    background-color: #fff4f4; border: 1px solid #ffcccc; border-radius: 8px; padding: 20px; box-sizing: border-box;
}
.warning-title {
    color: #d32f2f; font-size: 14px; margin: 0 0 15px 0; font-weight: bold; display: flex; align-items: center; gap: 8px;
}
.warning-list { margin: 0; padding-left: 0; list-style: none; font-size: 13px; color: #333; }
.warning-list li { margin-bottom: 12px; line-height: 1.5; }
.warning-solution {
    background: #fff4f4; padding: 15px; border-radius: 4px; border: 1px dashed #ffcccc; margin-top: 15px;
}

/* Google推奨セクション */
.google-section-bg {
    background: linear-gradient(rgba(26, 34, 56, 0.95), rgba(26, 34, 56, 0.9)), url('https://placehold.co/1600x600/4285f4/FFF?text=Security+Standard');
    background-size: cover; background-attachment: fixed; color: white; padding: 60px 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
}
.google-intro-text { text-align: center; max-width: 800px; margin: 0 auto 40px auto; }
.reason-box {
    background: white; color: #333; border-radius: 8px; padding: 30px;
    margin-bottom: 30px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); border-left: 5px solid #ea4335;
    font-size: 1.1rem; line-height: 1.6;
}
.table-scroll-container { overflow-x: auto; width: 100%; margin-top: 15px; padding-top: 20px; padding-bottom: 5px; }
.compare-table-visual { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1rem; table-layout: fixed; min-width: 600px; }
.compare-table-visual th, .compare-table-visual td { padding: 10px; vertical-align: middle; line-height: 1.3; }
.feature-col { width: 20%; background: #fff; color: #444; font-weight: bold; text-align: center; border-bottom: 1px solid #ccc; border-right: 1px solid #ddd; }
.feature-name { background: #fff; font-weight: bold; text-align: center; border-bottom: 1px solid #ccc; border-right: 1px solid #ddd; }
.bad-col { background-color: #e0e0e0; color: #333; text-align: center; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; border-right: 1px solid #ddd; }
.bad-cell { background-color: #f5f5f5; color: #555; text-align: center; border-bottom: 1px solid #ccc; border-right: 1px solid #ddd; }
.good-col {
    background-color: #e8f0fe; color: #1967d2; text-align: center; border-top: 3px solid #4285f4;
    border-left: 3px solid #4285f4; border-right: 3px solid #4285f4; border-bottom: 1px solid #cce5ff;
    position: relative; border-radius: 6px 6px 0 0;
}
.good-cell {
    background-color: #f0f8ff; color: #333; text-align: center; border-left: 3px solid #4285f4; border-right: 3px solid #4285f4; border-bottom: 1px solid #ccc;
}
.compare-table-visual tr:last-child .good-cell { border-bottom: 3px solid #4285f4; border-radius: 0 0 6px 6px; }
.icon-bad, .icon-good { display: block; font-size: 1.8rem; margin: 0 auto 5px auto; }
.icon-bad { color: #aaa; }
.icon-good { color: #34a853; }
.cell-text { font-weight: bold; font-size: 1rem; }
.col-sub { font-size: 0.8rem; display: block; margin-bottom: 2px; color: #666; font-weight: normal; }
.warning-tag { background: #d93025; color: white; padding: 2px 6px; font-size: 0.8rem; border-radius: 3px; vertical-align: middle; margin-right: 4px; }
.chrome-security-box { background: #f8f9fa; border: 1px solid #ddd; border-radius: 8px; padding: 25px; display: flex; gap: 20px; align-items: center; }
.chrome-icon-area { font-size: 3.5rem; color: #4285f4; min-width: 80px; text-align: center; }

/* フィッシングセクション */
.phishing-layout { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.phishing-guide { flex: 1; min-width: 300px; }
.guide-title { font-size: 1.4rem; color: var(--main-color); border-bottom: 2px solid var(--accent-color); padding-bottom: 10px; margin-bottom: 20px; }
.guide-list { list-style: none; padding: 0; margin: 0; }
.guide-list li { margin-bottom: 25px; }
.guide-list strong {
    display: block; color: var(--danger-color); font-size: 1.1rem; margin-bottom: 5px; position: relative; padding-left: 20px;
}
.guide-list strong::before {
    content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: 0;
}
.guide-list p { margin: 0; font-size: 0.95rem; color: #555; padding-left: 20px; }
.guide-alert {
    background: #fff5f5; border: 1px dashed var(--danger-color); padding: 15px;
    border-radius: 8px; font-size: 0.9rem; color: #b91c1c; margin-top: 20px;
}
.phishing-template-box {
    flex: 1; min-width: 300px; background: #fff; border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); overflow: hidden; border: 1px solid #ccc;
}
.browser-header { background: #e2e8f0; padding: 10px 15px; display: flex; align-items: center; border-bottom: 1px solid #ccc; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }
.url-bar {
    background: #fff; flex-grow: 1; margin-left: 15px; border-radius: 3px;
    font-size: 0.8rem; color: #666; padding: 2px 10px; font-family: monospace;
}
.template-content {
    padding: 30px; white-space: pre-wrap; font-size: 0.95rem; line-height: 1.7;
    color: #333; font-family: "Yu Gothic", sans-serif; min-height: 300px;
}
.copy-btn-large {
    width: 100%; padding: 15px; background: var(--main-color); color: white;
    border: none; font-size: 1rem; font-weight: bold; cursor: pointer; transition: background 0.3s;
}
.copy-btn-large:hover { background: #2d3748; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; margin-bottom: 40px; }
.faq-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column;
}
.faq-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--accent-color); }
.faq-header { padding: 25px 30px; background: #fff; display: flex; align-items: center; border-bottom: 1px dashed #e2e8f0; }
.faq-icon-circle {
    width: 60px; height: 60px; background: var(--bg-beige); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
    color: var(--main-color); margin-right: 20px; flex-shrink: 0;
}
.faq-q-text { font-size: 1.15rem; font-weight: bold; color: var(--main-color); line-height: 1.4; margin: 0; }
.faq-body { padding: 25px 30px; background: #fdfdfd; flex-grow: 1; }
.faq-conclusion { color: var(--danger-color); font-weight: bold; font-size: 1.1rem !important; margin-bottom: 10px; display: block; }
.faq-detail { color: #555; font-size: 1rem !important; line-height: 1.8; margin: 0; }
.faq-insurance-box {
    background: #f0f9ff; border: 2px solid #bae6fd; border-radius: 12px; padding: 30px;
    display: flex; align-items: flex-start; gap: 25px; margin-top: 40px;
}
.ins-icon-area { font-size: 3rem; color: #0284c7; padding-top: 5px; }
.ins-text-area h3 {
    margin-top: 0; margin-bottom: 10px; font-size: 1.2rem; color: #0c4a6e; display: flex; align-items: center;
}
.q-badge { background: #0284c7; color: white; font-size: 0.8rem; padding: 2px 8px; border-radius: 4px; margin-right: 10px; }
.ins-text-area p { margin: 0; line-height: 1.8; color: #334155; }

/* 危機対応シート(Web表示用) */
#emergency-sheet-section { background: #e2e8f0; padding: 60px 0; }
.sheet-intro { text-align: center; margin-bottom: 40px; }
.sheet-intro p { font-size: 1.1rem; line-height: 1.8; }
.sheet-intro .note { font-size: 0.9rem; color: #666; }
.sheet-split-wrapper { display: flex; justify-content: center; gap: 20px; padding: 0 20px; align-items: flex-start; flex-wrap: wrap; }
.sheet-doc-half {
    background: white; flex: 1; min-width: 300px; max-width: 550px; padding: 30px;
    box-sizing: border-box; box-shadow: 0 10px 30px rgba(0,0,0,0.15); color: #333;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
    font-size: 16px; line-height: 1.5; border: 1px solid #ddd;
}
.sheet-header-row { border-bottom: 3px solid var(--main-color); margin-bottom: 20px; padding-bottom: 10px; }
.sheet-main-title { font-size: 22px; font-weight: 900; color: var(--main-color); margin: 0 0 5px 0; }
.sheet-sub-info { font-size: 14px; text-align: left; line-height: 1.4; color: #444; }
.alert-text { color: #d32f2f; font-weight: bold; }
.sheet-section-box { border: 2px solid #333; margin-bottom: 0; }
.sheet-section-title-bar { background: #333; color: white; padding: 8px 10px; font-weight: bold; font-size: 18px; }
.color-decision { background: #b45309; }
.sheet-item-row { display: flex; border-bottom: 1px dashed #ccc; padding: 15px 10px; }
.sheet-item-row:last-child { border-bottom: none; }
.sheet-checkbox { font-size: 24px; font-weight: bold; width: 35px; color: #333; padding-top: 0; line-height: 1; }
.sheet-content { flex: 1; font-size: 16px; }
.sheet-content strong { display: block; font-size: 17px; margin-bottom: 5px; color: #000; }
.sheet-content p { margin: 0; line-height: 1.6; color: #333; }
.text-red { color: #d32f2f !important; }
.mt-5 { margin-top: 5px !important; }
.input-line { border-bottom: 2px solid #333; display: inline-block; min-width: 180px; padding: 0 5px; font-weight: bold; }
.input-line-short { border-bottom: 2px solid #333; display: inline-block; min-width: 120px; padding: 0 5px; font-weight: bold; }
.sheet-input-area { margin-top: 5px; background: #f4f4f4; padding: 5px 10px; display: block; font-weight: bold; border-radius: 4px; }
.sheet-input-area-grid { display: flex; flex-direction: column; gap: 5px; margin-top: 5px; font-weight: bold; }
.sheet-sub-check-grid { display: grid; grid-template-columns: 1fr; gap: 5px; padding: 10px; background: #f9f9f9; margin-top: 5px; border-radius: 4px; }
.sheet-sub-check-grid label { font-size: 15px; font-weight: bold; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.sheet-sub-check-grid input[type="checkbox"] { transform: scale(1.3); }
.sheet-em { background: #eee; padding: 10px; display: block; margin: 5px 0; font-style: normal; font-size: 0.95rem; }
.sheet-alert-box-inner { background: #FFF5F5; border: 1px solid #ffcccc; padding: 10px; margin-top: 10px; border-radius: 4px; }
.sheet-alert-box-inner .title { display: block; font-size: 1rem; margin-bottom: 3px; }
.sheet-info-box-inner { background: #f0f9ff; border: 1px solid #bae6fd; padding: 10px; margin-top: 10px; border-radius: 4px; }
.sheet-info-box-inner .title { color: #0369a1; display: block; margin-bottom: 5px; font-size: 1rem; }
.sheet-info-box-inner .desc { font-size: 0.95rem; display: block; line-height: 1.6; }
.sheet-print-area { margin-top: 40px; text-align: center; }
.sheet-print-btn { background: #333; font-size: 1.3rem; padding: 20px 50px; box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.sheet-print-area p { margin-top: 15px; font-size: 1rem; color: #666; }


/* ==========================================================================
   印刷フローボタン
   ========================================================================== */

/* 右下固定の印刷ボタン */
.fixed-print-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    
    /* ボタン本体の色（そのまま） */
    background-color: #1A2238; 
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    
    /* 形と余白 */
    padding: 15px 30px;
    border-radius: 5px;
    
    /* --- 変更点：明るい色のグロー設定 --- */
    /* 白い光をぼかして周囲に広げる設定です */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    /* ------------------------------------ */
    
    /* アニメーションと配置 */
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

/* マウスを乗せたときの動き */
.fixed-print-btn:hover {
    background-color: #555555; /* ボタン自体も少し明るく */
    transform: translateY(-3px);
    
    /* --- 変更点：ホバー時はさらに強く光らせる --- */
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.9);
    /* ------------------------------------------ */
}

/* スマホでの調整 */
@media (max-width: 768px) {
    .fixed-print-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 14px;
        /* スマホでは光を少し抑えめにする場合 */
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    }
}


/* ==========================================================================
   印刷フローボタン　ここまで
   ========================================================================== */
   
   
   /* ▼▼▼ スマホ表示の修正用コード（既存のCSSの最後に追加） ▼▼▼ */

@media (max-width: 768px) {

    /* 1. 印刷ボタンの重なり解消 */
    .fixed-print-btn {
        position: static; /* 固定配置を解除 */
        display: block;
        width: 90%;       /* 画面幅いっぱいにしない */
        margin: 30px auto 80px auto; /* 上に30px、下に80px(フッターとかぶらないよう)余白 */
        text-align: center;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* 光る演出を少し抑えめに */
        transform: none !important; /* ホバー動作などを無効化 */
    }

    /* 2. 見積書エリアのスマホ最適化 */
    .paper-sheet {
        padding: 15px; /* 余白を狭くする */
    }

    /* 宛名書きの線をスマホ幅に合わせる */
    .client-entry {
        flex-wrap: wrap; /* 名前が長ければ改行 */
    }
    .client-name-line {
        min-width: unset; /* 固定幅を解除 */
        width: 100%;      /* 画面幅いっぱいに線を引く */
        margin-right: 0;
        margin-bottom: 5px;
    }
    .intro-display {
        font-size: 0.8rem;
        margin-left: 0;
        margin-top: 5px;
    }

    /* 表のレイアウト調整 */
    .estimate-table th, 
    .estimate-table td {
        padding: 8px 4px; /* セル内の余白を詰める */
        font-size: 0.85rem; /* 文字を少し小さく */
    }
    
    /* 金額欄の改行を防ぐ */
    .col-total {
        font-size: 0.9rem;
        white-space: nowrap; 
    }

    /* 合計金額ボックスを画面幅に合わせる */
    .total-box {
        max-width: 100%;
        margin-top: 10px;
    }
    
    /* 3. 固定フッター（電話・メール）がある分、一番下に余白を作る */
    body {
        padding-bottom: 80px; 
    }
}


/* ==========================================================================
   メールテンプレートセクションの文字サイズ統一修正
   ========================================================================== */

/* 本文・ラベル・注釈などの文字サイズを1rem(17px)に統一 */
.gmail-header,
.gmail-meta,
.gmail-body,
.gmail-input,
.btn-send,
.btn-copy,
.mail-footer-note,
.mail-capsule-label,
.mail-capsule-text,
.warning-list,
.warning-list li {
    font-size: 1rem !important;
}

/* 警告エリアのタイトル（h3）が本文より小さくならないよう調整 */
.warning-title {
    font-size: 1rem !important;
}

/* ステップ間の▼マークの調整 */
.mail-step-triangle {
    font-size: 1rem !important;
}

/* ==========================================================================
   プランのCSS
   ========================================================================== */
    
    /* 表のスタイル調整 */
    .detail-table {
        width: 100%;
        border-collapse: collapse;
        min-width: 900px; /* スマホではスクロールさせる */
    }
    .detail-table th, .detail-table td {
        border: 1px solid #e2e8f0;
        padding: 15px 10px;
        vertical-align: middle;
        text-align: center;
    }
    
    /* ヘッダー固定色 */
    .detail-table thead th {
        color: #fff;
        font-weight: bold;
        position: relative;
    }
    .th-item { background: #EEF2F6; width: 30%; text-align: left !important; padding-left: 20px !important;}

/* --- 危機対応パック（表のヘッダー）のデザイン変更 --- */
.th-basic {
    /* 1. 上品なゴールドのグラデーション（光沢感） */
    background: linear-gradient(135deg, #b8934a 0%, #e0c988 100%) !important;
    
    /* 2. 文字色を白にする */
    color: #ffffff !important;
    
    /* 3. 文字が見やすいように薄く影をつける */
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    
    /* 4. 枠線の色を背景に馴染ませる */
    border-color: #b8934a !important;

    /* ★追加：上部に薄い光沢線を入れる */
    border-top: 1px solid #ffeabc !important;
    
    /* 5. 角は丸くしない */
    border-radius: 0 !important;
}

/* HTML内のフォントタグ等の色指定を強制的に白で上書き */
.th-basic font,
.th-basic span {
    color: #ffffff !important;
    font-weight: bold;
}

/* --- 「一番おすすめ」バッジのデザイン調整 --- */
.th-basic .recommend-badge {
    background-color: #ffffff !important; /* 背景を白に */
    color: #b8934a !important;            /* 文字をゴールドに */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: none;
}


    .th-light { background: #64748b; width: 15%; }
    .th-std { background: #1a2238; width: 18%; }
    .th-pro { background: #ef4444; width: 18%; border-bottom: none; }

    /* カテゴリ行 */
    .category-row {
        background-color: #f1f5f9;
        font-weight: bold;
        color: #1a2238;
        text-align: left !important;
        padding-left: 15px !important;
        font-size: 0.9rem;
    }

    /* プロフェッショナル列の強調 */
    .col-pro-bg {
        background-color: #fff5f5; /* 薄い赤 */
        font-weight: bold;
        color: #b91c1c;
    }
    
    /* 記号の色 */
    .mark-circle { color: #10b981; font-weight: bold; font-size: 1.2rem; } /* 緑の丸 */
/* パターンC：ゴールドで発光させる */
.mark-double { 
    color: #b8934a; 
    font-weight: 900; 
    font-size: 1.4rem; 
}    .mark-hyphen { color: #cbd5e0; }

    /* 注釈バッジ */
    .pro-badge {
        display: inline-block;
        background: #ef4444;
        color: white;
        font-size: 0.7rem;
        padding: 2px 6px;
        border-radius: 4px;
        margin-left: 5px;
        vertical-align: text-bottom;
    }

    /* 詳細説明エリア */
    .detail-desc-box {
        background: #fff;
        padding: 40px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        margin-top: 50px;
    }
    .desc-block {
        margin-bottom: 40px;
        border-bottom: 1px solid #eee;
        padding-bottom: 30px;
    }
    .desc-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
    
    .desc-title {
        font-size: 1.4rem;
        color: #1a2238;
        border-left: 5px solid #b8934a;
        padding-left: 15px;
        margin-bottom: 20px;
        font-weight: bold;
    }
    .desc-title.is-pro {
        border-left-color: #ef4444;
        color: #ef4444;
    }
    
    .desc-list {
        list-style: none;
        padding: 0;
    }
    .desc-list li {
        position: relative;
        padding-left: 25px;
        margin-bottom: 15px;
        line-height: 1.7;
    }
    .desc-list li::before {
        content: "\f00c";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        left: 0;
        top: 3px;
        color: #b8934a;
    }
    .desc-list.is-pro li::before {
        color: #ef4444;
    }
    
    .back-btn-area {
        text-align: center;
        margin-top: 60px;
    }

/* --- 新しい詳細エリアのデザイン --- */

/* 外枠のリセット */
.detail-desc-box {
    background: transparent;
    padding: 0;
    box-shadow: none;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* カード共通設定 */
.desc-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
}
.desc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* スマホ対応：縦並びにする */
@media (max-width: 768px) {
    .desc-card { flex-direction: column; }
    .desc-icon-area { min-height: 100px; width: 100% !important; flex-direction: row !important; gap: 20px; }
    .step-label { margin-top: 0 !important; }
}

/* 左側のアイコンエリア */
.desc-icon-area {
    width: 120px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 20px;
}
.desc-icon-area i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.step-label {
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    opacity: 0.9;
    border: 1px solid rgba(255,255,255,0.5);
    padding: 2px 8px;
    border-radius: 10px;
}

/* 右側のテキストエリア */
.desc-text-area {
    padding: 30px;
    flex-grow: 1;
}

.desc-card-title {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.target-plan {
    font-size: 0.85rem;
    font-weight: normal;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 4px;
    color: #64748b;
}
.target-plan.pro-color {
    background: #fff1f2;
    color: #e11d48;
    font-weight: bold;
}

.desc-lead {
    font-weight: bold;
    color: #334155;
    margin-bottom: 20px;
    line-height: 1.6;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
}

/* ポイント箇条書きエリア */
.desc-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.point-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.point-row i {
    color: #cbd5e0;
    font-size: 1.2rem;
    margin-top: 4px;
    width: 20px;
    text-align: center;
}
/* 各フェーズごとのアイコン色変更 */
.phase-basic .point-row i { color: #64748b; }
.phase-std .point-row i { color: #1a2238; }
.phase-pro .point-row i { color: #ef4444; }

.point-row strong {
    display: block;
    color: #1e293b;
    font-size: 1.05rem;
    margin-bottom: 5px;
}
.point-row p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* --- フェーズ別の色設定（グラデーションなし・単色版） --- */

/* Basic/Light (グレー・青系) */
.phase-basic { border-left: 5px solid #64748b; }
.phase-basic .desc-icon-area { 
    background: #64748b; /* 単色に変更 */
}
.phase-basic .desc-card-title { color: #475569; }


/* Standard (紺色系) */
.phase-std { border-left: 5px solid #1a2238; }
.phase-std .desc-icon-area { 
    background: #1a2238; /* 単色に変更 */
}
.phase-std .desc-card-title { color: #1a2238; }


/* Pro (赤系) - 強調 */
.phase-pro { 
    border: 2px solid #ef4444; 
    /* 修正：赤いにじみをなくし、ほんの少しの影に変更 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}
.phase-pro .desc-icon-area { 
    background: #ef4444; /* 単色に変更 */
}
.phase-pro .desc-card-title { color: #b91c1c; }



/* Proプランのおすすめバッジ */
.badge-recommend {
    position: absolute;
    top: 0;
    right: 0;
    background: #b8934a; /* ゴールド */
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 0 0 0 10px;
    z-index: 2;
}

/* =========================================
   危機対応パンフレット・セクション用CSS
   ========================================= */

.emergency-pamphlet-section {
    background: #f8fafc;
    padding-bottom: 80px;
    font-family: "Noto Sans JP", sans-serif;
}

/* --- 1. ヒーローエリア --- */
.pamphlet-hero {
    background: linear-gradient(rgba(26, 34, 56, 0.9), rgba(26, 34, 56, 0.8)), url('image/top_Image.jpg') center/cover;
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: -50px; /* カードを少し被せる */
}
.ph-tag {
    background: #ef4444;
    color: white;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}
.ph-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 20px;
}
.highlight-red {
    color: #ef4444;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
    border-bottom: 3px solid #ef4444;
}
.ph-lead {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.8;
}

/* --- 2. 基本パックカード --- */
.basic-pack-card {
    background: white;
    max-width: 800px;
    margin: 0 auto 60px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 50px 40px;
    position: relative;
    border-top: 5px solid #1a2238;
    text-align: center;
}
.card-header-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #b8934a;
    color: white;
    font-weight: bold;
    padding: 8px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    white-space: nowrap;
}
.pack-title {
    font-size: 2rem;
    color: #1a2238;
    margin: 10px 0 5px;
    font-weight: 900;
}
.pack-sub {
    color: #64748b;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    font-weight: bold;
    margin-bottom: 30px;
}

.price-area {
    background: #f1f5f9;
    padding: 20px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 40px;
    border: 1px solid #e2e8f0;
}
.price-label {
    display: block;
    font-weight: bold;
    color: #1a2238;
    margin-bottom: 5px;
}
.price-num {
    font-size: 3rem;
    font-weight: 900;
    color: #ef4444;
    line-height: 1;
    font-family: "Helvetica Neue", sans-serif;
    letter-spacing: -0.05em;
}
.price-unit {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}
.price-note {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
}

.pack-content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    text-align: left;
}
.pack-feature {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}
.pf-icon {
    font-size: 2rem;
    color: #1a2238;
    margin-bottom: 10px;
}
.pack-feature h3 {
    font-size: 1.1rem;
    color: #1a2238;
    margin-bottom: 10px;
    font-weight: bold;
}
.pack-feature p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.pack-message {
    background: #fffbf0;
    border: 2px solid #b8934a;
    padding: 20px;
    border-radius: 8px;
    color: #555;
    margin-bottom: 30px;
    text-align: left;
}
.pack-message strong {
    color: #b8934a;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.pack-cta {
    margin-top: 20px;
}
.cta-tel-btn {
    display: block;
    background: #ef4444;
    color: white;
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
    padding: 15px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
    transition: transform 0.2s;
    line-height: 1.2;
}
.cta-tel-btn:hover {
    transform: translateY(-3px);
    background: #dc2626;
}
.cta-tel-btn .sub {
    display: block;
    font-size: 0.9rem;
    font-weight: normal;
    opacity: 0.9;
}
.cta-note {
    margin-top: 10px;
    color: #666;
    font-size: 0.9rem;
}

/* --- 3. フローエリア --- */
.flow-area {
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
}
.section-heading {
    font-size: 1.8rem;
    color: #1a2238;
    margin-bottom: 40px;
    font-weight: bold;
}
.flow-steps-visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
}
.flow-step {
    flex: 1;
    background: white;
    padding: 20px 10px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    position: relative;
    border: 1px solid #e2e8f0;
}
.flow-step.highlight {
    border: 2px solid #ef4444;
    background: #fff5f5;
}
.step-num {
    display: block;
    font-size: 0.8rem;
    color: #ccc;
    font-weight: bold;
    margin-bottom: 5px;
}
.flow-step i {
    font-size: 2rem;
    color: #1a2238;
    margin-bottom: 10px;
}
.highlight i { color: #ef4444; }
.flow-step h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #1a2238;
}
.flow-step p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}
.flow-arrow {
    padding-top: 40px;
    color: #cbd5e0;
    font-size: 1.2rem;
}

/* --- 4. 次のステージ --- */
.next-stage-section {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.next-lead {
    margin-bottom: 40px;
    line-height: 1.8;
}
.next-options-grid {
    display: flex;
    gap: 20px;
}
.next-card {
    flex: 1;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: left;
}
.card-basic-end { border-top: 4px solid #94a3b8; }
.card-investigate { border-top: 4px solid #1a2238; }
.card-restore { border-top: 4px solid #ef4444; }

.nc-header {
    font-size: 0.8rem;
    color: #888;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}
.next-card h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #1a2238;
}
.next-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 60px;
}
.nc-price, .nc-link a {
    font-weight: bold;
    font-size: 0.95rem;
}
.nc-price { color: #64748b; }
.nc-link a { color: #1a2238; text-decoration: none; }
.nc-link a:hover { text-decoration: underline; color: #ef4444; }
.card-restore .nc-link a { color: #ef4444; }

/* スマホ対応 */
@media (max-width: 768px) {
    .ph-title { font-size: 1.6rem; }
    .pack-content-grid { grid-template-columns: 1fr; }
    .flow-steps-visual { flex-direction: column; gap: 0; }
    .flow-arrow { transform: rotate(90deg); padding: 10px 0; }
    .next-options-grid { flex-direction: column; }
    .price-num { font-size: 2.5rem; }
}

/* =========================================
   危機対応パンフレット（文字サイズ統一版）
   ========================================= */

.pamphlet-section {
    background-color: #f4f7f9; /* 淡いグレーブルー */
    padding: 100px 0;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
}

/* --- 文字サイズの統一設定 --- */
/* タイトル以外はすべて「1rem（標準サイズ）」に固定 */
.pamphlet-lead,
.pack-feature-card p,
.flow-step-card p,
.next-opt-card p,
.next-opt-card .opt-header,
.next-opt-card .opt-price,
.pack-message-box span,
.band-title span {
    font-size: 1rem !important; /* 全て同じ大きさ */
    line-height: 1.8;
    font-weight: 400; /* 少ししっかりめの太さ */
}

/* --- ヘッダーエリア --- */
.pamphlet-header {
    text-align: center;
    margin-bottom: 60px;
}
.pamphlet-tag {
    background: var(--accent-color);
    color: #fff;
    font-size: 1rem; /* ここも小さくしない */
    font-weight: bold;
    padding: 6px 15px;
    border-radius: 4px;
    letter-spacing: 0.1em;
    display: inline-block;
    margin-bottom: 20px;
}
.pamphlet-main-title {
    font-size: 2.2rem; /* タイトルだけ大きく */
    color: var(--main-color);
    font-weight: 700;
    margin-bottom: 30px;
}

/* --- 帯（バンド）見出し --- */
.band-container {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}
.band-title {
    display: inline-block;
    background: var(--main-color);
    color: #fff;
    padding: 15px 60px;
    font-size: 1.3rem; /* 見出しなので少し大きく */
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(26, 34, 56, 0.2);
}
.band-title span {
    background: var(--accent-color);
    color: #fff;
    padding: 2px 12px;
    border-radius: 20px;
    margin-right: 15px;
    vertical-align: middle;
}
/* 横線（PCのみ） */
@media (min-width: 769px) {
    .band-container::before {
        content: ""; position: absolute; top: 50%; left: 0; right: 0;
        height: 2px; background: #cbd5e0; z-index: -1;
    }
}

/* --- カード共通（文字サイズ統一） --- */
.pack-content-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
}
.pack-feature-card {
    background: #fff; padding: 40px 30px; /* 余白ゆったり */
    border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center; border-bottom: 4px solid transparent;
}
.pf-icon-circle {
    width: 90px; height: 90px; background: #f0f4f8; color: var(--main-color);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 25px; font-size: 2.5rem;
}
.pack-feature-card h3 {
    font-size: 1.4rem; margin-bottom: 20px; color: var(--main-color);
}

/* --- フローチャート --- */
.flow-steps-visual {
    display: flex; justify-content: center; align-items: stretch; gap: 20px;
}
.flow-step-card {
    background: #fff; flex: 1; padding: 30px 20px; border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05); text-align: center;
    position: relative; border: 1px solid #e2e8f0;
}
.flow-step-card.highlight-step {
    border: 3px solid var(--danger-color); background: #fffafa;
}
.step-num-badge {
    position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
    background: var(--main-color); color: #fff; width: 40px; height: 40px;
    line-height: 40px; border-radius: 50%; font-weight: bold; font-size: 1rem;
}
.step-num-badge.red { background: var(--danger-color); }
.step-icon {
    font-size: 2.5rem; color: var(--main-color); margin: 20px 0 15px; display: block;
}
.step-icon.red-icon { color: var(--danger-color); }
.flow-step-card h4 {
    font-size: 1.2rem; margin-bottom: 15px; font-weight: bold; color: var(--main-color);
}
.flow-arrow-icon {
    display: flex; align-items: center; color: #cbd5e0; font-size: 2rem;
}

/* --- 選択肢カード --- */
.next-options-grid { display: flex; gap: 30px; }
.next-opt-card {
    flex: 1; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px;
    padding: 35px; box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.opt-basic { border-top: 6px solid #94a3b8; }
.opt-investigate { border-top: 6px solid var(--main-color); }
.opt-restore { border-top: 6px solid var(--danger-color); }

.opt-header {
    font-weight: bold; margin-bottom: 15px; display: block; color: #999;
}
.next-opt-card h4 {
    font-size: 1.3rem; margin-bottom: 20px; color: var(--main-color);
}
.opt-link {
    font-weight: bold; font-size: 1rem; color: var(--main-color); margin-top: 20px; display: block;
}
.opt-link.link-red { color: var(--danger-color); }

/* --- メッセージ枠 --- */
.pack-message-box {
    background: #fff; border: 3px solid var(--accent-color); border-radius: 12px;
    padding: 30px 50px; margin-top: 80px; text-align: center;
    max-width: 100%; margin-left: auto; margin-right: auto;
}
.pack-message-box p {
    margin: 0; font-weight: bold; color: var(--main-color); font-size: 1.2rem;
}
.pack-message-box i { color: var(--accent-color); margin-right: 15px; font-size: 1.5rem; }

/* スマホ対応 */
@media (max-width: 768px) {
    .pack-content-grid { grid-template-columns: 1fr; }
    .flow-steps-visual { flex-direction: column; }
    .flow-arrow-icon { transform: rotate(90deg); justify-content: center; padding: 15px 0; }
    .next-options-grid { flex-direction: column; }
    .band-container::before { display: none; }
    .pamphlet-main-title { font-size: 1.8rem; }
}

/* 連絡体制シートの電話番号を適切に大きくする */
.emergency-tel-sheet {
    font-size: 1.8rem; /* 1.0rem（17px）の約1.8倍に設定 */
    font-weight: 900;
    letter-spacing: 0.05em;
}

/* --- ヘッダー用・見積ボタンの追加スタイル --- */
.header-estimate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff; /* 背景は白 */
    color: var(--main-color); /* 文字は紺色 */
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    border: 2px solid var(--main-color); /* 枠線をつける */
    transition: all 0.3s;
    margin-right: 10px; /* メールボタンとの隙間 */
    white-space: nowrap;
}

.header-estimate-btn:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

/* スマホでは見積ボタンを隠す（ヘッダーが狭いため） */
@media (max-width: 1000px) {
    .header-estimate-btn {
        display: none;
    }
}




/* =========================================================
   ▼▼▼ 追従型サブナビゲーション用CSS（白ベース修正版） ▼▼▼
   ========================================================= */

/* サブナビバー本体 */
.sticky-sub-nav {
    position: fixed;
    top: 80px; /* PCヘッダーの高さ分下げる */
    left: 0;
    width: 100%;
    
    /* ★変更：白背景で清潔感重視 */
    background-color: #ffffff; 
    border-bottom: 2px solid #b8934a; /* 下にゴールドのラインで引き締め */
    
    z-index: 990;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* ほんのり影をつける */
    
    /* アニメーション用設定 */
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
    pointer-events: none;
}

/* 表示時のクラス */
.sticky-sub-nav.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* 中身のレイアウト */
.sub-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 60px; /* 操作しやすい高さ */
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
}

/* タイトル部分 */
.sub-nav-title {
    font-weight: bold;
    color: var(--main-color); /* 濃紺文字 */
    font-size: 0.9rem;
    padding-right: 15px;
    border-right: 1px solid #eee; /* 薄いグレーの区切り線 */
    margin-right: 5px;
}

/* リンクのデザイン（白背景用） */
.sub-nav-link {
    text-decoration: none;
    color: #555; /* 濃いグレーで読みやすく */
    font-size: 0.9rem;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sub-nav-link i {
    color: #b8934a; /* アイコンはゴールド */
}

/* ホバー時 */
.sub-nav-link:hover {
    background-color: #fcf8e3; /* 薄いベージュ（ハイライト） */
    color: var(--main-color);
}

/* PDF印刷ボタンの強調 */
.sub-nav-link.highlight {
    background: var(--main-color); /* 濃紺ボタン */
    color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    margin-left: auto; /* 右端に寄せる */
}
.sub-nav-link.highlight i {
    color: #fff;
}
.sub-nav-link.highlight:hover {
    background: #2d3748; /* ホバー時は少し明るく */
    transform: translateY(-2px);
    color: #fff;
}

/* 閉じるボタン */
.sub-nav-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #ccc;
    padding: 0 15px;
    line-height: 1;
    transition: color 0.3s;
}
.sub-nav-close:hover {
    color: var(--danger-color); /* ホバー時は赤く */
}

/* スマホ対応 */
@media (max-width: 768px) {
    .sticky-sub-nav {
        top: 60px; /* スマホヘッダーの高さ */
    }
    .sub-nav-container {
        padding-right: 50px;
        gap: 5px;
    }
    .sub-nav-title {
        display: none;
    }
    .sub-nav-link {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    .sub-nav-link.highlight {
        margin-left: 0;
    }
    .sub-nav-close {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        background: rgba(255, 255, 255, 0.95);
        border-left: 1px solid #eee;
        color: #999;
    }
}

/* =========================================================
   ▼▼▼ ページ内リンクのズレ（被り）解消用CSS ▼▼▼
   ========================================================= */

html {
    /* PC用：ヘッダー(80px) + サブナビ(60px) + 余白(20px) = 160px */
    scroll-padding-top: 60px;
}

@media (max-width: 768px) {
    html {
        /* スマホ用：ヘッダー(60px) + サブナビ(60px) + 余白(10px) = 130px */
        scroll-padding-top: 40px;
    }
}



/* --- 見積アイコンのホバー吹き出し（左下方向に表示） --- */
.header-estimate-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 吹き出し本体：アイコンの左下に配置 */
.header-estimate-btn::after {
    content: "見積シミュレーター";
    position: absolute;
    top: 130%;          /* アイコンの下端からさらに下へ */
    right: 20%;         /* アイコンの中心より左側へ寄せる */
    background-color: #1e293b; /* 紺色 */
    color: #ffffff;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* 少し弾むような動き */
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    pointer-events: none;
}

/* 吹き出しの三角形（右上向き） */
.header-estimate-btn::before {
    content: "";
    position: absolute;
    top: 100%;          /* 本体のすぐ上 */
    right: 50%;
    transform: translateX(50%);
    border: 8px solid transparent;
    border-bottom-color: #1e293b; /* 上（アイコン側）を指す三角形 */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

/* マウスを乗せた時の動作：ふわっと斜め下に出る */
.header-estimate-btn:hover::after {
    opacity: 1;
    visibility: visible;
    top: 145%; /* 少しだけ下にスライド */
}

.header-estimate-btn:hover::before {
    opacity: 1;
    visibility: visible;
    top: 110%;
}
/* モバイルナビのベース（style.cssに記述があるか確認） */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%; /* 最初は画面の右に隠す */
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: right 0.3s ease; /* スライドのアニメーション */
}

/* ボタンを押したとき（activeが付いたとき） */
.mobile-nav-overlay.active {
    right: 0; /* 画面内に戻す */
}


/* --- ◆◆◆◆◆◆◆◆◆◆◆◆◆ここから◆◆◆◆◆◆◆◆◆◆◆◆◆ --- */
        /* --- パステルカラー定義（目に優しい色合い） --- */
        :root {
            --p-bg: #f4efff;       /* 全体背景：クリームホワイト */
            --p-blue: #a2d2ff;     /* 矢印・枠線：空色 */
            --p-purple: #cdb4db;   /* アクセント：藤色 */
            --p-pink: #ffc8dd;     /* 壁・注意：桜色 */
            --p-green: #bde0fe;    /* ゴール：薄い青緑 */
            --p-text: #333;        /* 文字色：濃いグレー（読みやすく） */
            --rpg-border: 3px solid var(--p-blue);
            --rpg-shadow: 4px 4px 0px rgba(200, 220, 255, 0.4);
        }

        #ff-quest-section {
            background: var(--p-bg);
            padding: 80px 0;
            border-top: 4px solid var(--p-blue);
            border-bottom: 4px solid var(--p-blue);
            font-family: "Noto Sans JP", sans-serif;
            color: var(--p-text);
        }

        /* --- RPGウィンドウ風カード --- */
        .quest-card {
            background: #fff;
            border: var(--rpg-border);
            border-radius: 12px;
            padding: 25px;
            position: relative;
            box-shadow: var(--rpg-shadow);
            transition: transform 0.2s;
            z-index: 2;
            height: 100%; /* 高さ揃え */
            box-sizing: border-box;
        }
        .quest-card:hover { transform: translateY(-3px); }

        /* --- グリッドレイアウト（Z型配置） --- */
        .quest-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr; /* 3列 */
            gap: 40px; /* カード間の隙間 */
            max-width: 1100px; /* 少し幅広に */
            margin: 40px auto;
            position: relative;
        }

        /* --- 矢印コネクタ --- */
        .arrow-right::after {
            content: '\f061'; /* 右矢印 */
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            position: absolute;
            right: -35px; top: 50%; transform: translateY(-50%);
            font-size: 2rem; color: var(--p-blue); z-index: 1;
        }
        .arrow-down::after {
            content: '\f063'; /* 下矢印 */
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            position: absolute;
            bottom: -40px; left: 50%; transform: translateX(-50%);
            font-size: 2rem; color: var(--p-blue); z-index: 1;
        }

        /* バッジ（番号） */
        .q-badge {
            position: absolute; top: -20px; left: 20px;
            background: #fff; border: 2px solid var(--p-purple); color: var(--p-purple);
            width: 40px; height: 40px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-weight: bold; font-size: 1.1rem;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        /* タイトル・アイコン */
        .q-title {
            font-size: 1.15rem; font-weight: bold; margin: 10px 0 15px 0;
            color: #6a7abb; display: flex; align-items: center; gap: 10px;
            border-bottom: 2px dotted #eee; padding-bottom: 10px;
        }
        .q-title i { font-size: 1.3rem; color: var(--p-purple); }

        /* 中身のリスト（詳細版） */
        .q-list { list-style: none; padding: 0; margin: 0; }
        .q-list li {
            font-size: 0.95rem; line-height: 1.6;
            margin-bottom: 8px; color: #444;
            padding-left: 5px;
        }
        /* 項目強調 */
        .q-list strong { color: #d65db1; background: #fff0f5; padding: 0 4px; border-radius: 4px; }

        /* 特別なカードの色変更 */
        .card-start { border-color: #ffd166; }
        .card-start .q-badge { border-color: #ffd166; color: #e6a800; }
        .card-start .q-title i { color: #ffd166; }

        .card-barrier { border-color: var(--p-pink); background: #fffafa; }
        .card-barrier .q-badge { border-color: var(--p-pink); color: #ff8fab; }
        .card-barrier .q-title i { color: #ff8fab; }

        .card-goal { border-color: #06d6a0; background: #f0fffa; }
        .card-goal .q-badge { border-color: #06d6a0; color: #06d6a0; }
        .card-goal .q-title i { color: #06d6a0; }

        /* --- スマホ対応 --- */
        @media (max-width: 900px) {
            .quest-grid { grid-template-columns: 1fr; gap: 60px; padding: 0 20px; }
            .arrow-right::after { content: none; }
            .quest-card::after {
                content: '\f063'; font-family: "Font Awesome 5 Free"; font-weight: 900;
                position: absolute; bottom: -45px; left: 50%; transform: translateX(-50%);
                font-size: 2rem; color: var(--p-blue);
            }
            .quest-card:last-child::after { content: none; }
        }
/* --- ◆◆◆◆◆◆◆◆◆◆◆◆◆ここまで◆◆◆◆◆◆◆◆◆◆◆◆◆ --- */
    