/* ==============================================
   BowNow Webinar LP - Style Sheet (Full Pastel)
   元の構造を100%維持し、色指定のみを置換
   ============================================== */

/* ----- リセット & ベース設定 ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット：強弱のあるパステル・モダンに変更 */
    --primary-color: #fb7185;     /* ローズコーラル */
    --primary-dark: #e11d48;      /* 締めの赤 */
    --primary-light: #fff1f2;     /* 背景用パステルピンク */
    --secondary-color: #475569;   /* ブルーグレー */
    --accent-color: #f59e0b;      /* ゴールド */
    --text-dark: #1e293b;         /* 視認性の高い濃いネイビー */
    --text-light: #64748b;
    --text-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #1e293b;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #fb7185;
    
    /* タイポグラフィ (オリジナル維持) */
    --font-main: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Inter', sans-serif;
    
    /* スペーシング (オリジナル維持) */
    --section-padding: 120px;
    --container-max-width: 1200px;
    
    /* シャドウ (オリジナル維持) */
    --shadow-sm: 0 1px 3px rgba(30, 41, 59, 0.05);
    --shadow-md: 0 4px 6px rgba(30, 41, 59, 0.08);
    --shadow-lg: 0 10px 30px rgba(30, 41, 59, 0.12);
    --shadow-xl: 0 20px 50px rgba(30, 41, 59, 0.18);
    
    /* トランジション (オリジナル維持) */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: #ffffff;
}

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

/* ----- ヘッダー (構造100%維持) ----- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-accent);
    color: var(--text-dark);
    text-decoration: none;
}

.logo-icon { font-size: 32px; }
.logo-accent { color: var(--primary-color); }

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover { color: var(--primary-color); }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
}

.nav-link:hover::after { width: 100%; }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none; border: none;
    cursor: pointer; padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px; height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.mobile-menu {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: white; padding: 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-link {
    display: block; padding: 15px;
    color: var(--text-dark); text-decoration: none;
    font-weight: 500; border-bottom: 1px solid var(--border-color);
}

/* --- ハンバーガーボタンの動き（追加分） --- */

/* activeクラスがついたとき、1本目（上）を45度傾ける */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

/* activeクラスがついたとき、2本目（真ん中）を消す */
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

/* activeクラスがついたとき、3本目（下）を-45度傾ける */
.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ----- ボタン (構造100%維持) ----- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 30px; border: none; border-radius: 50px;
    font-size: 16px; font-weight: 600; text-decoration: none;
    cursor: pointer; transition: all var(--transition-normal);
    font-family: var(--font-main);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(251, 113, 133, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 113, 133, 0.4);
}

/* ★ 重要：パステル赤背景内で目立たせるための強弱調整 ★ */
.traps-cta .btn-danger {
    background: #ffffff;
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.traps-cta .btn-danger:hover {
    background: #fff1f2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color); color: white;
}

.btn-large { padding: 18px 40px; font-size: 18px; }
.btn-full { width: 100%; justify-content: center; }
.btn-pulse { animation: pulse 2s infinite; }

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(251, 113, 133, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(251, 113, 133, 0.5); }
}

/* ----- ヒーローセクション (構造100%維持) ----- */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    padding-top: 100px; padding-bottom: 60px;
    overflow: hidden;
    /* 指定の画像を背景にセット */
    background-image: url('https://vn.bow-now.com/dcms_media/image/a6087d015325dc7b8534.jpg');
    background-size: cover;    /* 画面全体を覆う */
    background-position: center; /* 中央に配置 */
    background-repeat: no-repeat;
    
}
.hero-title {
    line-height: 1.5 !important; /* 行間を文字の1.5倍に広げる */
    margin-bottom: 20px;         /* 下のサブテキストとの間隔も調整 */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* 背景画像の上に白を少し被せて、文字（ローズコーラルなど）をハッキリさせます */
    background: rgba(255, 255, 255, 0.7); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; 
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-background {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #fff1f2 100%);
    z-index: -1;
}

.hero-background::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(251, 113, 133, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* ----- レスポンシブ対応：ヒーロー背景 ----- */

@media (max-width: 768px) {
    .hero {
        /* スマホでは高さを画面の80%程度に抑えるか、コンテンツ量に合わせる */
        min-height: 80vh;
        padding-top: 120px; /* ヘッダーとの距離 */
        padding-bottom: 40px;
        
        /* 画像の配置をスマホに最適化 */
        background-position: 70% center; /* 人物やメインの被写体が右寄りの場合、位置をずらして中央へ */
    }

    .hero::before {
        /* スマホは画面が小さく背景と文字が混ざりやすいため、白幕を少し濃くする */
        background: rgba(255, 255, 255, 0.85);
    }

    .hero-title {
        font-size: 28px; /* 文字サイズをスマホ用に縮小 */
        line-height: 1.4;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
}

/* 非常に小さい画面（iPhone SE等）用 */
@media (max-width: 480px) {
    .hero {
        background-attachment: scroll; /* スマホでの挙動を安定させる */
    }
    
    .hero-title {
        font-size: 24px;
    }
}

.hero-content { text-align: center; max-width: 900px; margin: 0 auto; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white; border-radius: 50px; font-size: 14px; font-weight: 600;
    margin-bottom: 30px; box-shadow: 0 4px 15px rgba(251, 113, 133, 0.3);
}

.hero-title {
    font-size: 56px; font-weight: 900; line-height: 1.2;
    margin-bottom: 30px; color: var(--text-dark);
}

.hero-title-main { display: block; }
.hero-title-highlight {
    display: block; background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 22px; color: var(--text-light);
    margin-bottom: 40px; line-height: 1.6;
}

.hero-benefits { display: flex; justify-content: center; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-benefit { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--text-dark); }
.hero-benefit i { color: var(--success-color); font-size: 20px; }

.hero-cta { margin-bottom: 60px; }
.hero-cta-note { margin-top: 15px; font-size: 14px; color: var(--text-light); }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 700px; margin: 0 auto; }
.hero-stat { text-align: center; }
.hero-stat-number {
    font-size: 48px; font-weight: 900; color: var(--primary-color);
    font-family: var(--font-accent); margin-bottom: 10px;
}
.stat-percent { font-size: 32px; }
.hero-stat-label { font-size: 14px; color: var(--text-light); font-weight: 600; }

.hero-scroll-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: var(--text-light); font-size: 14px; animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ----- アニメーション (構造100%維持) ----- */
.fade-in { animation: fadeIn 0.8s ease; }
.fade-in-delay-1 { animation: fadeIn 0.8s ease 0.2s both; }
.fade-in-delay-2 { animation: fadeIn 0.8s ease 0.4s both; }
.fade-in-delay-3 { animation: fadeIn 0.8s ease 0.6s both; }
.fade-in-delay-4 { animation: fadeIn 0.8s ease 0.8s both; }
.fade-in-delay-5 { animation: fadeIn 0.8s ease 1s both; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll { opacity: 0; transform: translateY(50px); transition: all 0.6s ease; }
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }

/* ----- セクション共通 (構造100%維持) ----- */
section { padding: var(--section-padding) 0; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-badge {
    display: inline-block; padding: 8px 20px;
    background: var(--bg-light); color: var(--primary-color);
    border-radius: 50px; font-size: 14px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
}
.section-badge-white { background: rgba(255, 255, 255, 0.2); color: white; }
.section-badge-danger { background: rgba(251, 113, 133, 0.1); color: var(--danger-color); }

.section-title { font-size: 48px; font-weight: 900; line-height: 1.3; margin-bottom: 20px; color: var(--text-dark); }
.section-header-white .section-title { color: white; }
.section-subtitle { font-size: 18px; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-header-white .section-subtitle { color: rgba(255, 255, 255, 0.8); }

.text-highlight { color: var(--primary-color); }
.text-danger { color: var(--danger-color); }
.mobile-break { display: none; }

/* ----- 課題セクション (構造100%維持) ----- */
.problems { background: var(--bg-light); }
.problems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 60px; }

.problem-card {
    background: white; padding: 40px; border-radius: 20px;
    box-shadow: var(--shadow-md); transition: var(--transition-normal);
    border: 2px solid transparent;
}
.problem-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--primary-color); }

.problem-icon {
    width: 80px; height: 80px; background: linear-gradient(135deg, #fff1f2, #fecaca);
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 25px; font-size: 36px; color: var(--danger-color);
}
.problem-title { font-size: 24px; font-weight: 700; margin-bottom: 15px; color: var(--text-dark); }
.problem-description { color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }

.problems-summary {
    background: linear-gradient(135deg, var(--secondary-color), #475569);
    padding: 50px; border-radius: 20px; display: flex; gap: 30px;
    align-items: flex-start; color: white;
}
.summary-icon {
    width: 80px; height: 80px; background: rgba(255, 255, 255, 0.1);
    border-radius: 15px; display: flex; align-items: center; justify-content: center;
    font-size: 36px; flex-shrink: 0;
}
.summary-content h3 { font-size: 24px; font-weight: 700; margin-bottom: 20px; }
.summary-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.summary-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.summary-list i { color: var(--danger-color); font-size: 18px; flex-shrink: 0; }

/* ----- ソリューションセクション (構造100%維持) ----- */
.solution {
    background: linear-gradient(135deg, var(--secondary-color), #475569);
    color: white; position: relative; overflow: hidden;
}
.solution::before {
    content: ''; position: absolute; top: -300px; right: -300px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(251, 113, 133, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; z-index: 1; }
.solution-card {
    background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px);
    padding: 40px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}
.solution-card:hover {
    transform: translateY(-10px); background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color); box-shadow: 0 20px 40px rgba(251, 113, 133, 0.3);
}

.solution-visual { position: relative; margin-bottom: 30px; }
.solution-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    font-size: 36px; color: white; position: relative; z-index: 2;
}
.solution-effect {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100px; height: 100px; background: var(--primary-color);
    border-radius: 50%; opacity: 0.2; filter: blur(20px);
    animation: pulse-effect 3s infinite;
}
@keyframes pulse-effect {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.1; }
}

.solution-title { font-size: 22px; font-weight: 700; margin-bottom: 15px; color: white; }
.solution-description { color: rgba(255, 255, 255, 0.8); line-height: 1.8; margin-bottom: 20px; }
.solution-benefits { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 25px; }
.solution-benefits li { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.9); font-size: 15px; }
.solution-benefits i { color: var(--success-color); font-size: 16px; flex-shrink: 0; }

/* ----- 手動運営の罠セクション (構造100%維持) ----- */
.traps { background: var(--bg-light); }
.traps-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-bottom: 60px; }

.trap-item {
    background: white; padding: 35px; border-radius: 15px;
    box-shadow: var(--shadow-md); display: flex; gap: 20px;
    align-items: flex-start; border-left: 4px solid var(--danger-color);
    transition: var(--transition-normal);
}
.trap-item:hover { transform: translateX(5px); box-shadow: var(--shadow-lg); }

.trap-icon {
    width: 60px; height: 60px; background: linear-gradient(135deg, #fff1f2, #fecaca);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--danger-color); flex-shrink: 0;
}
.trap-content { flex: 1; }
.trap-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.trap-description { color: var(--text-light); line-height: 1.7; font-size: 15px; }
.trap-impact { text-align: right; flex-shrink: 0; }
.trap-time { display: block; font-size: 28px; font-weight: 900; color: var(--danger-color); font-family: var(--font-accent); margin-bottom: 5px; }
.trap-label { font-size: 12px; color: var(--text-light); font-weight: 600; }

/* 罠CTAエリアの色味修正 */
.traps-cta {
    background: linear-gradient(135deg, #fff1f2, #ffe4e6);
    padding: 60px; border-radius: 20px; text-align: center;
    box-shadow: var(--shadow-lg); border: 1px solid #fecaca;
}
.traps-cta-content h3 { font-size: 28px; font-weight: 700; color: var(--text-dark); margin-bottom: 30px; line-height: 1.5; }

/* ----- 特徴セクション (構造100%維持) ----- */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.feature-card {
    background: white; padding: 50px; border-radius: 20px;
    box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
    border: 2px solid transparent; transition: var(--transition-normal);
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 6px; background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); border-color: var(--primary-color); }

.feature-number {
    position: absolute; top: 20px; right: 20px; font-size: 80px; font-weight: 900;
    color: rgba(251, 113, 133, 0.05); font-family: var(--font-accent); line-height: 1;
}
.feature-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    font-size: 36px; color: white; margin-bottom: 25px;
}
.feature-title { font-size: 24px; font-weight: 700; margin-bottom: 15px; color: var(--text-dark); }
.feature-description { color: var(--text-light); line-height: 1.8; margin-bottom: 25px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 25px; }
.feature-list li { display: flex; align-items: center; gap: 10px; color: var(--text-dark); font-size: 15px; }
.feature-list i { color: var(--success-color); font-size: 16px; flex-shrink: 0; }

.feature-metric {
    padding: 20px; background: linear-gradient(135deg, #fff1f2, #fecaca);
    border-radius: 15px; text-align: center; border: 2px solid var(--primary-color);
}
.metric-value { font-size: 42px; font-weight: 900; color: var(--primary-color); font-family: var(--font-accent); margin-bottom: 5px; }
.metric-label { font-size: 14px; color: var(--text-light); font-weight: 600; }

/* --- CTAセクション本体 --- */
.traps-cta {
    background: linear-gradient(135deg, var(--secondary-color), #334155);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: none;
    margin-top: 50px;
}

/* タイトル：白文字 */
.traps-cta-content h3 {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 35px;
}

/* --- ボタン：最初からアカ（赤グラデーション × 白文字） --- */
.traps-cta .btn-danger {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    color: #ffffff !important;
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(251, 113, 133, 0.4);
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* 透けを完全に防止 */
    opacity: 1 !important;
}

/* --- マウスカーソル時（ホバー）：不透明なまま色味を「濃く」して強調 --- */
.traps-cta .btn-danger:hover {
    transform: translateY(-3px) scale(1.02);
    /* 薄くせず、より「濃く・深い赤」にすることでクリック感を出す */
    background: linear-gradient(135deg, var(--primary-dark), #be123c) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.5);
    /* マウスが乗っても絶対に透けない設定 */
    opacity: 1 !important;
}

/* アイコン：白に固定 */
.traps-cta .btn-danger i {
    color: #ffffff !important;
}




/* ----- サポートフローセクション (構造100%維持) ----- */
.flow { background: var(--bg-light); }
.flow-timeline { position: relative; }
.flow-phase { margin-bottom: 60px; position: relative; }
.flow-phase:last-child { margin-bottom: 0; }

.flow-phase-number {
    position: absolute; left: -80px; top: 0; width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700; font-family: var(--font-accent);
    box-shadow: var(--shadow-md); z-index: 2;
}

.flow-phase-content {
    background: white; padding: 40px; border-radius: 20px;
    box-shadow: var(--shadow-md); margin-left: 40px;
    border-left: 4px solid var(--primary-color);
}
.flow-phase-header { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid var(--border-color); }
.flow-phase-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 15px; display: flex; align-items: center; justify-content: center;
    font-size: 32px; color: white;
}
.flow-phase-title { font-size: 28px; font-weight: 700; color: var(--text-dark); }
.flow-phase-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }

.flow-category { padding: 25px; background: var(--bg-light); border-radius: 15px; }
.flow-category-title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 15px; }
.flow-category-title i { color: var(--primary-color); }
.flow-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.flow-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-light); font-size: 14px; line-height: 1.6; }
.flow-list i { color: var(--success-color); font-size: 14px; margin-top: 2px; flex-shrink: 0; }

.flow-highlight {
    margin-top: 25px; padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white; border-radius: 10px; display: flex; align-items: center;
    gap: 15px; font-weight: 600;
}
.flow-highlight i { font-size: 24px; flex-shrink: 0; }



/* ----- 実績セクション (構造100%維持) ----- */
.results { background: linear-gradient(135deg, var(--secondary-color), #475569); color: white; position: relative; overflow: hidden; }
.results::before {
    content: ''; position: absolute; bottom: -200px; left: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(251, 113, 133, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.results-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; margin-bottom: 80px; position: relative; z-index: 1; }
.result-stat {
    text-align: center; padding: 40px; background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px); border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}
.result-stat:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.08); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); }
.result-stat-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 36px; color: white; margin: 0 auto 25px;
}
.result-stat-number { font-size: 64px; font-weight: 900; color: var(--primary-color); font-family: var(--font-accent); margin-bottom: 10px; line-height: 1; }
.result-stat-label { font-size: 18px; font-weight: 700; color: white; margin-bottom: 10px; }
.result-stat-description { font-size: 14px; color: rgba(255, 255, 255, 0.7); }

.results-clients {
    text-align: center; padding: 60px; background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px); border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative; z-index: 1;
}
.results-clients-title { font-size: 24px; font-weight: 700; margin-bottom: 40px; color: white; }
.results-clients-grid { display: flex; justify-content: center; align-items: center; gap: 60px; margin-bottom: 30px; }
.client-logo { font-size: 32px; font-weight: 900; color: rgba(255, 255, 255, 0.8); font-family: var(--font-accent); letter-spacing: 2px; }
.results-clients-note { font-size: 14px; color: rgba(255, 255, 255, 0.6); }

/* ----- フォームセクション (構造100%維持) ----- */
.form-section { background: var(--bg-light); }
.form-wrapper { max-width: 1200px; margin: 0 auto; background: white; padding: 60px; border-radius: 20px; box-shadow: var(--shadow-lg); }
.form-header { text-align: center; margin-bottom: 50px; }
.form-title { font-size: 32px; font-weight: 900; color: var(--text-dark); margin-bottom: 15px; }
.form-description { color: var(--text-light); font-size: 16px; }

.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; margin-bottom: 25px; }
.form-group { margin-bottom: 25px; }
.form-label { display: block; font-weight: 600; color: var(--text-dark); margin-bottom: 10px; }
.form-required { color: var(--danger-color); font-size: 12px; margin-left: 5px; }
.form-optional { color: var(--text-light); font-size: 12px; margin-left: 5px; }



/* ----- フッター (構造100%維持) ----- */
.footer { background: #475569; color: rgba(255, 255, 255, 0.8); padding: 80px 0 30px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; margin-bottom: 50px; }
.footer-logo { margin-bottom: 20px; }
.footer-description { margin-bottom: 25px; line-height: 1.8; }
.footer-social { display: flex; gap: 15px; }
.footer-social-link {
    width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: white; transition: var(--transition-fast);
}
.footer-social-link:hover { background: var(--primary-color); transform: translateY(-3px); }

.footer-title { font-size: 18px; font-weight: 700; color: white; margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: var(--transition-fast); }
.footer-links a:hover { color: var(--primary-color); padding-left: 5px; }

.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.footer-contact li { display: flex; align-items: center; gap: 12px; }
.footer-contact i { color: var(--primary-color); width: 20px; }
.footer-bottom { padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; font-size: 14px; }

/* --- フッターリンクのスタイル修正 --- */
.footer-title a, 
.footer-title a,
.footer-title li {
    color: #ffffff !important;   /* 文字色を白に強制 */
    text-decoration: none !important; /* 下線を消す */
    opacity: 0.8;                /* 通常時は少しだけ透過させて馴染ませる */
    transition: var(--transition-fast);
}

/* --- マウスオン（ホバー）時の設定 --- */
.footer-title a:hover, 
.footer-title a:hover {
    color: #ffffff !important;   /* ホバー時も白を維持 */
    text-decoration: none !important; /* ホバー時も下線を出さない */
    opacity: 1;                  /* マウスが乗った時だけハッキリ光らせる */
    padding-left: 0;             /* もし横に動く動きがあればリセット */
}

/* ----- スクロールトップボタン (構造100%維持) ----- */
.scroll-top {
    position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
    background: var(--primary-color); color: white; border: none; border-radius: 50%;
    font-size: 20px; cursor: pointer; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transition: all var(--transition-normal); z-index: 999;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-5px); }

/* ----- レスポンシブ (構造100%維持) ----- */
@media (max-width: 1024px) {
    :root { --section-padding: 80px; }
    .section-title { font-size: 40px; }
    .hero-title { font-size: 48px; }
    .problems-grid, .solution-grid, .results-stats, .traps-container { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
}


@media (max-width: 768px) {
    /* --- 既存の設定は維持 --- */

    /* 課題まとめセクションのスマホ調整 */
    .problems-summary {
        flex-direction: column; /* 縦並びにして横幅を確保 */
        padding: 30px 20px;     /* パディングをスマホ用に狭める */
        align-items: center;    /* 中央揃え（お好みで） */
        text-align: left;       /* テキストは左揃えが見やすい */
    }

    /* アイコンを非表示にする */
    .summary-icon {
        display: none;
    }

    /* コンテンツの余白をリセット */
    .summary-content {
        width: 100%;
    }

    .summary-content h3 {
        font-size: 20px;        /* スマホ用に少し小さく */
        margin-bottom: 15px;
        text-align: center;     /* タイトルだけ中央に */
    }
}

@media (max-width: 768px) {
    :root { --section-padding: 60px; }
    .nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    .mobile-break { display: inline; }
    .hero { min-height: auto; padding-top: 100px; padding-bottom: 40px; }
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 18px; }
    .hero-stats { grid-template-columns: 1fr; gap: 30px; }
    .section-title { font-size: 32px; }
    .form-row, .form-checkboxes { grid-template-columns: 1fr; }
    .form-wrapper { padding: 40px 25px; }
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
    .hero-benefits { flex-direction: column; gap: 15px; }
    .flow-phase-number { position: static; margin-bottom: 20px; }
    .flow-phase-content { margin-left: 0; }
    .flow-phase-body { grid-template-columns: 1fr; }
    .results-clients-grid { flex-direction: column; gap: 30px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .section-title { font-size: 28px; }
    .hero-stat-number { font-size: 36px; }
    .result-stat-number { font-size: 48px; }
}

@media screen and (max-width: 768px) {
    /* ボタンの枠組みを中身に合わせて伸縮させる設定 */
    .btn.btn-danger.btn-large,
    .btn.btn-primary.btn-large,
    .traps-cta .btn,
    .hero-cta .btn {
        /* 文字がはみ出さないための重要設定 */
        width: 90% !important;           /* 画面幅の90%を基本とする */
        max-width: none !important;      /* 最大幅の制限を解除して文字に合わせる */
        min-width: 0 !important;         /* 最小幅の固定を解除 */
        
        /* 形状を維持するための設定 */
        height: auto !important;          
        aspect-ratio: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        /* 余白とフォントの調整 */
        padding: 14px 15px !important;    /* 上下左右に適度な余白を確保 */
        white-space: normal !important;   /* ← ここをnowrapからnormalに変更：長い場合にボタン内で改行を許可 */
        font-size: 15px !important;       /* 文字を読みやすいサイズに */
        line-height: 1.3 !important;
        text-align: center !important;
        border-radius: 50px !important;   /* 角丸 */
    }

    /* アイコンの位置を調整 */
    .btn.btn-large i {
        margin-left: 8px !important;
        flex-shrink: 0;                   /* アイコンが潰れないように固定 */
    }
}

