/* 2026年最新モダンデザインシステム */
:root {
    --primary-color: #6366f1; /* モダンなインディゴ */
    --secondary-color: #8b5cf6; /* 紫系 */
    --accent-color: #ec4899; /* モダンピンク */
    --text-color: #1f2937; /* 濃いグレー */
    --text-light: #6b7280; /* 中間グレー */
    --bg-color: #f8fafc; /* 非常に薄いグレー */
    --card-bg: #ffffff;
    --card-hover: #f1f5f9;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15), 0 6px 10px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --border-radius: 16px;
    --border-radius-lg: 24px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    margin: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--text-color);
    font-size: 16px;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヒーローセクション */
.hero {
    background: var(--gradient-hero);
    color: white;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero p {
    margin: 24px 0 0;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-weight: 500;
    text-shadow: 0 1px 10px rgba(0,0,0,0.1);
}

/* グリッドレイアウト */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* カードデザイン */
.card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.2);
}

.card:hover::before {
    opacity: 1;
}

.card-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h2 {
    margin: 0 0 16px 0;
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
    position: relative;
    padding-left: 44px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.card-content h2::before {
    content: attr(data-emoji);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.4em;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.card-content p {
    margin: 0 0 24px 0;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
}

/* ボタンデザイン */
.read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    min-height: 48px;
}

.read-more::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;
}

.read-more:hover::before {
    left: 100%;
}

.read-more:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-accent);
}

.read-more:active {
    transform: translateY(0);
}

/* フッター */
footer {
    text-align: center;
    padding: 60px 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    background: white;
    border-top: 1px solid rgba(0,0,0,0.05);
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ナビゲーション */
nav {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

/* パンくずリスト */
.breadcrumb {
    padding: 20px;
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.breadcrumb-list {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb-list a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

.breadcrumb-list .separator {
    color: var(--text-light);
}

/* ランキングデザイン */
.ranking-item {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 32px;
    margin-bottom: 24px;
    position: relative;
    transition: all 0.3s ease;
}

.ranking-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.ranking-number {
    position: absolute;
    top: -20px;
    left: 32px;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
}

.ranking-gold { background: linear-gradient(135deg, #ffd700, #ffed4e); }
.ranking-silver { background: linear-gradient(135deg, #c0c0c0, #e8e8e8); }
.ranking-bronze { background: linear-gradient(135deg, #cd7f32, #daa520); }

/* Q&Aデザイン */
.qa-item {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.qa-item:hover {
    box-shadow: var(--shadow-md);
}

.qa-question {
    background: var(--gradient-primary);
    color: white;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
}

.qa-question::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.qa-item.active .qa-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.qa-answer {
    padding: 24px;
    background: var(--bg-color);
    display: none;
}

.qa-item.active .qa-answer {
    display: block;
}

/* レスポンシブデザイン */
.sp-only-footer-banner { display: none; }
.nav-menu { display: flex; }

/* 追加スタイル */
.qa-section {
    margin-bottom: 48px;
}

.qa-section h2 {
    margin-bottom: 24px;
    font-size: 1.8rem;
    color: var(--primary-color);
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.features {
    margin: 20px 0;
    padding: 20px;
    background: var(--bg-color);
    border-radius: var(--border-radius);
}

.features h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.features ul {
    margin: 0;
    padding-left: 20px;
}

.features li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.steps {
    margin: 20px 0;
}

.steps h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 24px;
    margin-bottom: 12px;
}

.steps p {
    margin-bottom: 16px;
}

.safety-tips {
    margin: 20px 0;
}

.safety-tips h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 24px;
    margin-bottom: 12px;
}

.safety-tips ul {
    margin: 0 0 16px 0;
    padding-left: 20px;
}

.safety-tips li {
    margin-bottom: 8px;
}

.pricing-info {
    margin: 20px 0;
}

.pricing-info h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 24px;
    margin-bottom: 12px;
}

.pricing-info p {
    margin-bottom: 16px;
}

.pricing-info ul {
    margin: 0 0 16px 0;
    padding-left: 20px;
}

.tips {
    margin: 20px 0;
}

.tips h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 24px;
    margin-bottom: 12px;
}

.tips ul {
    margin: 0 0 16px 0;
    padding-left: 20px;
}

.features-list {
    margin: 16px 0;
    padding-left: 20px;
}

.features-list li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 20px 60px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 60px 20px;
    }
    
    .card-content {
        padding: 24px;
    }
    
    .card-content h2 {
        font-size: 1.3rem;
    }
    
    .qa-section h2 {
        font-size: 1.5rem;
        padding: 16px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .sp-only-footer-banner {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    }
    
    .sp-only-footer-banner img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    body {
        padding-bottom: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .content-grid {
        padding: 40px 16px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .ranking-item {
        padding: 20px;
    }
    
    .ranking-number {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        left: 20px;
    }
    
    .qa-section h2 {
        font-size: 1.3rem;
        padding: 12px;
    }
}
