/* ========================================
   基本スタイル
   ======================================== */

body {
    font-family: 'Noto Sans JP', sans-serif;
}

/* ヒーローセクションの背景 - 画像版 */
section.gradient-bg.hero-pattern {
    background-image: url('images/hero-bg.png') !important;
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #FFF5E6;
    min-height: 500px;
    padding-top: 128px !important;
    padding-bottom: 80px;
}

/* AIカードのホバーエフェクト */
.ai-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.ai-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

/* 統計数値のグラデーション */
.stat-number {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CTAボタン */
.cta-button {
    background: linear-gradient(135deg, #ef4444, #f97316);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

/* セクションフェードインアニメーション */
.section-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* ========================================
   画像サイズ調整 - 全て2倍に
   ======================================== */

/* AI機能カードの画像 (w-20 h-20 → 2倍) */
.ai-card img {
    width: 160px !important;
    height: 160px !important;
}

/* 問題提起セクションの画像 (w-32 h-32 → 2倍) */
section.bg-red-50 .bg-white img {
    width: 256px !important;
    height: 256px !important;
}

/* 職種別カードの画像 (w-24 h-24 → 2倍) */
#benefits .bg-white img {
    width: 192px !important;
    height: 192px !important;
}

/* DX推進の画像 (w-24 h-24 → w-32 h-32に変更) */
.social-impact-gradient img {
    width: 256px !important;
    height: 256px !important;
}

/* DX推進ボックス - 全体を中央揃え */
.bg-gradient-to-r.from-blue-600 .bg-white\/20 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-gradient-to-r.from-blue-600 .bg-white\/20 .flex {
    width: auto;
}

/* お客様の声の画像 (w-10 h-10 → 2倍) */
.border-l-4 img {
    width: 80px !important;
    height: 80px !important;
}

/* CTAセクションの資料・相談画像 (w-20 h-20 → 2倍) */
#contact .grid img {
    width: 160px !important;
    height: 160px !important;
}

/* お急ぎの方はお電話での画像 (w-20 h-20 → 2倍) */
#contact .bg-white\/20 img {
    width: 160px !important;
    height: 160px !important;
}

/* お急ぎの方はお電話で - スマホで縦並びを強制 */
@media (max-width: 768px) {
    #contact .bg-white\/20 > div {
        flex-direction: column !important;
    }
    
    #contact .bg-white\/20 > div > div {
        text-align: center !important;
    }
}

/* PC用は横並び */
@media (min-width: 769px) {
    #contact .bg-white\/20 > div {
        flex-direction: row !important;
    }
    
    #contact .bg-white\/20 > div > div {
        text-align: left !important;
    }
}

/* お客様の声の画像を四角に戻す */
.border-l-4 .rounded-full {
    border-radius: 0.5rem !important; /* 角丸の四角 */
}

/* object-containを維持してアスペクト比を保つ */
img.object-contain {
    object-fit: contain;
}

/* スマホ対応 - 画像サイズを小さく調整 */
@media (max-width: 768px) {
    /* ヒーローセクション */
    section.gradient-bg.hero-pattern {
        background-image: url('images/hero-bg-mobile.png') !important;
        background-size: 100% auto !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
        min-height: calc(100vh - 72px) !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    /* AI機能カード、CTA画像 */
    .ai-card img,
    #contact .grid img,
    #contact .bg-white\/20 img {
        width: 120px !important;
        height: 120px !important;
    }
    
    /* 問題提起、職種別、DX推進の画像 - 全て160pxに統一 */
    section.bg-red-50 .bg-white img,
    #benefits .bg-white img,
    .social-impact-gradient img {
        width: 160px !important;
        height: 160px !important;
    }
    
    /* お客様の声の画像 */
    .border-l-4 img {
        width: 60px !important;
        height: 60px !important;
    }
}

/* 社会的インパクトセクションの背景グラデーション */
.social-impact-gradient {
    background: linear-gradient(135deg, #f59e0b, #fb923c, #fbbf24);
}

/* AI機能カードの交互背景色 - スマホ用 */
@media (max-width: 768px) {
    .ai-card:nth-child(odd) {
        background-color: white !important;
    }
    
    .ai-card:nth-child(even) {
        background-color: #FFFBF0 !important; /* 薄い黄色 */
    }
}

/* AI機能カードの交互背景色 - スマホ用 */
@media (max-width: 768px) {
    .ai-card:nth-child(odd) {
        background-color: white !important;
    }
    
    .ai-card:nth-child(even) {
        background-color: #FFFBF0 !important; /* 薄い黄色 */
    }
    
    /* 薄い黄色背景のカード内の薄いオレンジ部分を白に */
    .ai-card:nth-child(even) .bg-orange-50 {
        background-color: white !important;
    }
}

/* 職種別導入効果 - 数字を大きく目立たせる */
#benefits .font-bold.text-orange-600 {
    font-size: 1.5rem !important; /* 24px */
    font-weight: 800 !important;
}