/* ========================================
   ヒーローセクション - テキストスタイル（おしゃれ版）
======================================== */

/* ヒーローコンテンツラッパー */
.hero-content-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
}

/* テキストエリア */
.hero-text-area {
    text-align: center;
    z-index: 100;
    position: relative;
}

/* メインタイトル - 超大型 */
.hero-main-title {
    font-size: 96px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

/* おしゃれな流れるグラデーション（紫〜ブルー） */
.hero-title-highlight,
.hero-title-x,
.hero-title-ai {
    background: linear-gradient(
        120deg,
        #667eea 0%,
        #764ba2 20%,
        #f093fb 40%,
        #4facfe 60%,
        #00f2fe 80%,
        #667eea 100%
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: elegant-flow 8s ease-in-out infinite;
    font-weight: 900;
    filter: drop-shadow(0 6px 16px rgba(102, 126, 234, 0.4));
    position: relative;
}

.hero-title-x {
    margin: 0 12px;
    font-size: 0.9em;
}

/* エレガントな流れるアニメーション */
@keyframes elegant-flow {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

/* バッジ - 大きく目立つデザイン */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
    opacity: 1 !important;
}

.hero-badge {
    display: inline-flex !important;
    align-items: center;
    padding: 18px 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border: none;
    border-radius: 60px;
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 12px 32px rgba(102, 126, 234, 0.45),
        0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: visible; /* 数字がはみ出せるように */
    cursor: default;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 数字を超大きく・おしゃれに */
.hero-number {
    display: inline-block;
    font-size: 2em; /* 2倍の大きさ */
    font-weight: 900;
    line-height: 1;
    margin: 0 4px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.6));
    position: relative;
    top: -2px; /* 少し上に配置 */
    animation: pulse-number 2s ease-in-out infinite;
}

/* 数字のパルスアニメーション */
@keyframes pulse-number {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.6));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.9));
    }
}

/* アイコンのスタイルを調整（HTMLに直接記述済み） */

/* 光るエフェクト */
.hero-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: left 0.7s ease;
    z-index: 1;
}

.hero-badge:hover::after {
    left: 100%;
}

.hero-badge:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 
        0 16px 40px rgba(102, 126, 234, 0.6),
        0 6px 16px rgba(0, 0, 0, 0.2);
}

.hero-badge:hover .hero-number {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 1));
}

/* サービス説明 - 大きめで見やすく */
.hero-services {
    font-size: 20px;
    line-height: 1.8;
    color: #2c3e50;
    margin: 0 0 20px 0;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
}

/* カルーセルエリア */
.hero-carousel-area {
    width: 100%;
    max-width: 100%;
    min-height: 540px;
}

/* レスポンシブ対応 - タブレット */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        gap: 25px;
        padding: 30px 20px;
    }
    
    .hero-carousel-area {
        min-height: 480px;
    }
    
    .hero-main-title {
        font-size: 72px;
        margin-bottom: 25px;
    }
    
    .hero-badges {
        gap: 16px;
        margin-bottom: 25px;
    }
    
    .hero-badge {
        padding: 16px 32px;
        font-size: 20px;
    }
    
    .hero-number {
        font-size: 1.8em; /* タブレットでは1.8倍 */
    }
    
    .hero-services {
        font-size: 18px;
        margin-bottom: 15px;
    }
}

/* レスポンシブ対応 - スマホ */
@media (max-width: 768px) {
    .hero-content-wrapper {
        gap: 20px;
        padding: 25px 15px;
    }
    
    .hero-carousel-area {
        min-height: 430px;
    }
    
    .hero-main-title {
        font-size: 56px;
        margin-bottom: 20px;
    }
    
    .hero-badges {
        gap: 14px;
        margin-bottom: 20px;
    }
    
    .hero-badge {
        font-size: 18px;
        padding: 14px 28px;
    }
    
    .hero-number {
        font-size: 1.7em; /* スマホでは1.7倍 */
    }
    
    .hero-services {
        font-size: 16px;
        margin-bottom: 12px;
    }
}

/* レスポンシブ対応 - 小型スマホ */
@media (max-width: 480px) {
    .hero-content-wrapper {
        gap: 18px;
        padding: 20px 10px;
    }
    
    .hero-carousel-area {
        min-height: 370px;
    }
    
    .hero-main-title {
        font-size: 44px;
        margin-bottom: 18px;
    }
    
    .hero-badges {
        gap: 12px;
        margin-bottom: 18px;
    }
    
    .hero-badge {
        font-size: 16px;
        padding: 12px 24px;
    }
    
    .hero-number {
        font-size: 1.6em; /* 小型スマホでは1.6倍 */
    }
    
    .hero-services {
        font-size: 15px;
        margin-bottom: 10px;
    }
}

/* 超小型デバイス */
@media (max-width: 360px) {
    .hero-main-title {
        font-size: 36px;
    }
    
    .hero-badge {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .hero-services {
        font-size: 14px;
    }
}
