/* カスタムスタイル */
:root {
    --primary-gradient: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 50%, #8b5cf6 100%);
    --secondary-gradient: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
    --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

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

.font-mincho {
    font-family: 'Shippori Mincho B1', serif;
}

/* グラデーション背景 */
.gradient-bg {
    background: var(--primary-gradient);
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse-gentle {
    animation: pulse 2s ease-in-out infinite;
}

/* スクロールでヘッダー背景色を変更 */
.header-scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 25px rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.header-scrolled .logo-text {
    color: #0f172a !important;
}

.header-scrolled .nav-link {
    color: #475569 !important;
}

.header-scrolled .nav-link:hover {
    background: linear-gradient(to right, #0ea5e9, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-scrolled .mobile-menu-btn {
    color: #0f172a !important;
}

/* セクションタイトルの下線 */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    margin-top: 12px;
    border-radius: 2px;
}

/* カード要素の改善 */
.enhanced-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.enhanced-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15), 0 10px 20px rgba(0,0,0,0.1);
}

/* ボタンの改善 */
.enhanced-button {
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
}

.enhanced-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.enhanced-button:hover::before {
    left: 100%;
}

/* スマホでのテーブル表示 */
@media (max-width: 768px) {
    .responsive-table tr {
        border-bottom: 2px solid #e5e7eb;
        margin-bottom: 1rem;
        display: block;
        border-radius: 8px;
        overflow: hidden;
    }
    .responsive-table td {
        display: flex;
        justify-content: space-between;
        padding: 0.75rem 0.5rem;
        text-align: right;
    }
    .responsive-table td::before {
        content: attr(data-label);
        font-weight: 600;
        text-align: left;
        padding-right: 1rem;
    }
    .responsive-table th {
        display: none;
    }
}

/* パララックス効果 */
.parallax {
    transform: translateZ(0);
    will-change: transform;
}

/* スクロールアニメーション用 */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}