/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9ff;
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #64748b;
    opacity: 0.9;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #fed6e3 0%, #a8edea 100%) !important;
    transition: all 0.3s ease;
    padding: 0.1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #00d4ff 0%, #74b9ff 100%);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #2c3e50 !important; /* フォールバック用 */
}

.nav-link {
    font-weight: 500;
    color: #2c3e50 !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #4ecdc4 !important;
}

/* Hero Section - Fresh Sky グラデーション */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 50%, #a29bfe 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-hero {
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Features Section - ファングラデーション */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.features-section .container {
    position: relative;
    z-index: 2;
}

.features-section .section-title,
.features-section .section-subtitle {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature-description {
    color: #64748b;
    line-height: 1.6;
}

/* Demo Section - オレンジ背景 */
.demo-section {
    padding: 5rem 0;
    background: #fab91f;
    position: relative;
}

/* Value Proposition - ウォームグラデーション */
.value-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    position: relative;
}

.value-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.value-section .container {
    position: relative;
    z-index: 2;
}

.value-section .section-title,
.value-section .section-subtitle {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.value-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.value-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.value-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Stats Section - ウォームピーチ */
.stats-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

.stats-section .section-title {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stats-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ff6b9d 0%, #4ecdc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #64748b;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* キャンペーン専用スタイル - メイン配置 */
.trial-campaign-main {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 30px;
    color: #1f2937;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.campaign-badge-large {
    display: inline-block;
    background: rgba(31, 41, 55, 0.1);
    color: #1f2937;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
    border: 2px solid rgba(31, 41, 55, 0.2);
}

.campaign-title-main {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1f2937;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.campaign-subtitle {
    font-size: 1.3rem;
    margin-bottom: 0;
    color: #374151;
    font-weight: 500;
}

.btn-trial {
    background: #1f2937;
    border: none;
    color: white;
    font-size: 1.2rem;
    padding: 18px 35px;
    box-shadow: 0 6px 20px rgba(31, 41, 55, 0.3);
}

.btn-trial:hover {
    background: #111827;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(31, 41, 55, 0.4);
    color: white;
}

/* 区切り線 */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 30px 0;
}

/* お問い合わせ部分 */
.contact-info {
    color: white;
}

.contact-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.contact-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section,
    .features-section,
    .demo-section,
    .value-section,
    .stats-section,
    .cta-section {
        padding: 3rem 0;
    }
    
    .campaign-title-main {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .btn-hero {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .cta-card {
        padding: 40px 20px;
    }
    
    .campaign-title-main {
        font-size: 2rem;
    }
    
    .trial-campaign-main {
        padding: 30px 20px;
    }
    
    .contact-title {
        font-size: 1.5rem;
    }
    
    .btn-trial {
        font-size: 1rem;
        padding: 15px 25px;
    }
}


/* ヒーローセクションに動画背景を追加 */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 50%, #a29bfe 100%);
    position: relative;
    overflow: hidden;
}

/* 動画背景用のコンテナ */
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* 動画要素のスタイル */
.hero-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* うっすら半透明 */
}

/* 既存のbefore疑似要素を調整 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 2; /* 動画の上に重ねる */
}

/* コンテンツのz-indexを調整 */
.hero-section .container {
    position: relative;
    z-index: 3; /* 動画とオーバーレイの上に表示 */
}

/* レスポンシブ対応 - モバイルでの動画表示を最適化 */
@media (max-width: 768px) {
    .hero-video-background video {
        opacity: 0.2; /* モバイルでは少し薄く */
    }
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 1.5rem 0 0.5rem;
    margin-top: 0;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-logo {
    width: 120px;
    height: auto;
    margin-bottom: 0.5rem;
}

.footer-description {
    color: #bdc3c7;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-contact {
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-contact-item {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-contact-item a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: #5dade2;
}

.footer-divider {
    border-color: #34495e;
    margin: 1rem 0 0.5rem;
}

.footer-bottom {
    text-align: center;
}

.footer-copyright {
    color: #95a5a6;
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Footer レスポンシブ対応 */
@media (max-width: 768px) {
    .footer {
        padding: 1rem 0 0.5rem;
    }
    
    .footer-logo {
        width: 100px;
    }
    
    .footer-brand,
    .footer-contact {
        margin-bottom: 0.8rem;
        text-align: center;
    }
    
    .footer-description {
        font-size: 0.85rem;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}