/* ============================================
   スッとサイト デザインアップグレード
   優先度順に改善を適用
   ============================================ */

/* ============================================
   1. ヒーローセクション - 背景演出強化
   ============================================ */

/* アニメーショングラデーション背景 */
.hero {
    background: linear-gradient(-45deg, #1e3a8a, #2563eb, #3b82f6, #60a5fa);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* オーバーレイをより洗練 */
.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(30, 58, 138, 0.7) 0%,
        rgba(37, 99, 235, 0.5) 50%,
        rgba(59, 130, 246, 0.6) 100%
    );
}

/* フローティングシェイプ（装飾要素） */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 70%);
    z-index: 1;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(96,165,250,0.2) 0%, transparent 70%);
    z-index: 1;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-3deg); }
}

/* ヒーローコンテンツの強化 */
.hero-content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero-title span {
    display: block;
}

.text-gradient {
    background: linear-gradient(90deg, #fff 0%, #bfdbfe 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.8rem;
    line-height: 1.8;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-note {
    display: inline-block;
    margin-top: 24px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* バッジアニメーション */
.hero-badges {
    justify-content: center;
    margin: 32px 0;
}

.floating-badge {
    animation: badgeFloat 3s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s ease;
}

.floating-badge:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-5px) scale(1.05);
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* CTAボタンの強化 */
.btn-animated {
    position: relative;
    padding: 18px 48px;
    font-size: 1.8rem;
    font-weight: 700;
    background: white;
    color: #2563eb;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.btn-animated:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    background: #f0f9ff;
}

.btn-animated .btn-text {
    position: relative;
    z-index: 1;
}

.btn-animated .btn-arrow {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-animated:hover .btn-arrow {
    transform: translateX(5px);
}


/* ============================================
   2. 料金プランセクション - カード洗練
   ============================================ */

#service {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

#service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 60px auto 0;
}

.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 48px 36px;
    position: relative;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

/* スタンダードプラン */
.pricing-card-standard {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* リッチプラン（推奨） - より強調 */
.pricing-card-rich {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    color: white;
    box-shadow: 0 20px 50px -12px rgba(30, 58, 138, 0.4);
    border: 2px solid transparent;
}

.pricing-card-rich:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -12px rgba(30, 58, 138, 0.5);
    border-color: #60a5fa;
}

.pricing-card-rich .pricing-card-title {
    color: white;
}

.pricing-card-rich .pricing-description {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-card-rich .pricing-features li {
    color: rgba(255, 255, 255, 0.95);
}

.pricing-card-rich .pricing-features li::before {
    color: #60a5fa;
}

.pricing-card-rich .pricing-btn {
    background: white;
    color: #1e3a8a;
}

.pricing-card-rich .pricing-btn:hover {
    background: #f0f9ff;
    transform: translateY(-2px);
}

/* 価格表示の改善 */
.pricing-price-display {
    margin: 24px 0;
    text-align: center;
}

.pricing-main-price {
    font-size: 4rem;
    font-weight: 900;
    color: #2563eb;
    line-height: 1;
}

.pricing-card-rich .pricing-main-price {
    color: white;
}

/* 旧キャンペーン価格（互換性のため残す） */
.pricing-campaign-price {
    margin: 24px 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
}

.pricing-original-price {
    font-size: 1.6rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.pricing-card-rich .pricing-original-price {
    color: rgba(255, 255, 255, 0.5);
}

.pricing-sale-price {
    font-size: 4rem;
    font-weight: 900;
    color: #2563eb;
    line-height: 1;
}

.pricing-card-rich .pricing-sale-price {
    color: white;
}

/* キャンペーンバッジ */
.pricing-campaign-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

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

/* 新登場バッジ */
.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #1e3a8a;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

/* 機能リストの改善 */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 32px 0;
}

.pricing-features li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    font-size: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-card-rich .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 1.4rem;
}

/* ボタンの改善 */
.pricing-btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 12px;
    margin-top: 16px;
    transition: all 0.3s ease;
}


/* ============================================
   3. ヘッダー - グラスモーフィズム
   ============================================ */

.header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* ナビリンクのホバーエフェクト */
.nav-link {
    position: relative;
    padding: 8px 0;
    font-weight: 500;
    color: #334155;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

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


/* ============================================
   4. CTAセクション - グラデーション背景
   ============================================ */

#contact {
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 50%, #2563eb 100%) !important;
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

#contact::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: float 20s ease-in-out infinite;
}

/* CTAボタン（白） */
.cta-button-white {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 48px;
    background: white;
    color: #1e40af;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.cta-button-white:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    background: #f0f9ff;
}

.cta-button-arrow {
    transition: transform 0.3s ease;
}

.cta-button-white:hover .cta-button-arrow {
    transform: translateX(5px);
}


/* ============================================
   5. ポートフォリオ - ホバーエフェクト強化
   ============================================ */

.portfolio {
    background: #f8fafc;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.portfolio-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.08);
}

.portfolio-content {
    padding: 24px;
    position: relative;
}

.portfolio-category {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 12px;
}

.portfolio-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.portfolio-content p {
    font-size: 1.4rem;
    color: #64748b;
    line-height: 1.6;
}

.portfolio-tags {
    margin-top: 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.portfolio-tag {
    padding: 6px 12px;
    background: #f1f5f9;
    color: #475569;
    font-size: 1.2rem;
    border-radius: 6px;
}

.portfolio-tag-rich {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    color: white;
}


/* ============================================
   その他のセクション改善
   ============================================ */

/* セクションタイトルの統一 */
.section-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 16px;
    position: relative;
}

.section-subtitle {
    font-size: 1.6rem;
    color: #64748b;
    margin-bottom: 0;
}

/* AI開発セクション */
.ai-development {
    background: white;
}

.ai-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    font-size: 1.6rem;
    color: #334155;
}

.ai-feature svg {
    color: #10b981;
    flex-shrink: 0;
}

/* ビフォーアフターセクション・テックアイコン */
/* 注：基本スタイルはmodern-design.cssで定義済み。上書き不要 */


/* ============================================
   レスポンシブ対応
   ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-note {
        padding: 12px 24px;
        font-size: 1.3rem;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pricing-card-rich {
        transform: scale(1);
    }

    .pricing-card-rich:hover {
        transform: translateY(-12px);
    }

    .section-title {
        font-size: 2.4rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}
