/* モダンフライヤーページ - 完全リデザイン */

/* ========== リセットとベース ========== */
* {
    box-sizing: border-box;
}

/* ========== 新しいデザインシステム ========== */
:root {
    /* カラーパレット */
    --primary-color: #FF6B35;      /* エネルギッシュなオレンジ */
    --secondary-color: #004E89;    /* 信頼できるネイビー */
    --accent-color: #00C9A7;       /* 成功を表すターコイズ */
    --danger-color: #FF4444;       /* 緊急性のレッド */
    --warning-color: #FFB800;      /* 注意喚起のイエロー */
    
    /* グレーカラー */
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* タイポグラフィ */
    --font-sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Poppins', var(--font-sans);
    
    /* サイジング */
    --container-max: 1200px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
}

/* ========== ヒーローセクション（完全リデザイン） ========== */
.modern-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #FF8A5A 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="1" fill="white" fill-opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-badge-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    margin: 0 0 30px 0;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-modern {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary-modern {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: var(--primary-color);
}

.btn-outline-modern {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* ========== 価格表示セクション ========== */
.price-showcase {
    background: white;
    padding: 60px 0;
    position: relative;
    margin-top: -30px;
    z-index: 3;
}

.price-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 40px;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    border: 2px solid var(--gray-100);
    position: relative;
}

.price-card::before {
    content: '業界最安値';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--danger-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.price-display {
    margin: 20px 0 30px 0;
}

.price-amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    font-family: var(--font-display);
}

.price-currency {
    font-size: 2rem;
    vertical-align: top;
}

.price-period {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-left: 8px;
}

.price-note {
    color: var(--gray-500);
    font-size: 14px;
    margin: 10px 0;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.features-list li {
    padding: 8px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    font-size: 18px;
}

/* ========== 特徴セクション ========== */
.features-section {
    background: var(--gray-50);
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #FF8A5A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 32px;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: var(--gray-800);
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* ========== プロセスセクション ========== */
.process-section {
    padding: 80px 0;
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px auto;
    font-family: var(--font-display);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: var(--gray-800);
}

.step-description {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.5;
}

/* ========== 信頼性セクション ========== */
.trust-section {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.trust-stat {
    text-align: center;
}

.trust-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    color: var(--accent-color);
    font-family: var(--font-display);
}

.trust-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 8px;
}

/* ========== FAQセクション ========== */
.faq-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    background: none;
    border: none;
    padding: 24px 30px;
    width: 100%;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-800);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-answer {
    padding: 0 30px 24px 30px;
    color: var(--gray-600);
    line-height: 1.6;
    display: none;
}

.faq-answer.active {
    display: block;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* ========== CTA固定バー ========== */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--danger-color);
    color: white;
    padding: 16px 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.sticky-cta-text {
    font-weight: 600;
    font-size: 18px;
}

.sticky-cta-button {
    background: white;
    color: var(--danger-color);
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.sticky-cta-button:hover {
    background: var(--gray-100);
    transform: translateY(-1px);
}

/* ========== セクションタイトル共通 ========== */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin: 0 0 50px 0;
    color: var(--gray-800);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    text-align: center;
    margin: 0 0 60px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* ========== レスポンシブ対応 ========== */
@media (max-width: 768px) {
    .modern-hero {
        padding: 60px 0;
    }
    
    .hero-content {
        padding: 0 16px;
    }
    
    .hero-cta-container {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-modern {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .price-card {
        margin: 0 16px;
        padding: 30px 20px;
    }
    
    .price-amount {
        font-size: 3rem;
    }
    
    .features-grid {
        padding: 0 16px;
        gap: 30px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .process-steps {
        padding: 0 16px;
    }
    
    .trust-stats {
        padding: 0 16px;
        gap: 30px;
    }
    
    .faq-container {
        padding: 0 16px;
    }
    
    .faq-question {
        padding: 20px 20px;
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 20px 20px 20px;
    }
    
    .sticky-cta-content {
        padding: 0 16px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .sticky-cta-button {
        width: 100%;
        max-width: 280px;
    }
}

/* ========== アニメーション ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ========== ユーティリティクラス ========== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-800 { color: var(--gray-800); }