/* ============================================
   リセット & ベーススタイル
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット */
    --primary-color: #FF6B6B;
    --primary-dark: #EE5A52;
    --primary-light: #FF8787;
    --secondary-color: #4ECDC4;
    --secondary-dark: #45B8B0;
    --accent-color: #FFE66D;
    --dark-bg: #1A1A2E;
    --dark-bg-alt: #16213E;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --text-light: #BDC3C7;
    --border-color: #E1E8ED;
    --success-color: #2ECC71;
    --warning-color: #F39C12;
    --gradient-primary: linear-gradient(135deg, #FF6B6B 0%, #FF8787 100%);
    --gradient-secondary: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --gradient-dark: linear-gradient(135deg, #16213E 0%, #1A1A2E 100%);
    
    /* シャドウ */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    
    /* トランジション */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    background-color: #F8F9FA;
    overflow-x: hidden;
}

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

/* ============================================
   ヘッダー
============================================ */
.header {
    background: linear-gradient(135deg, #16213E 0%, #1A1A2E 100%);;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
}

.logo i {
    color: #FF6B6B;
    font-size: 1.75rem;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF6B6B;
    transition: 0.2s ease;
}

.nav a:hover {
    color: #FF6B6B;
}

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

/* ============================================
   ヒーローセクション
============================================ */
.hero {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8787 100%);
    color: #FFFFFF;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero-title .highlight {
    color: #FFE66D;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #FFE66D;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ============================================
   ボタン
============================================ */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cta-button.primary {
    background: #FFFFFF;
    color: #FF6B6B;
}

.cta-button.primary:hover {
    background: #F8F9FA;
    transform: translateY(-3px);
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

.cta-button.secondary {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.cta-button.secondary:hover {
    background: #FFFFFF;
    color: #FF6B6B;
    transform: translateY(-3px);
}

.cta-button.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* ============================================
   セクション共通
============================================ */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #2C3E50;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #7F8C8D;
    margin-bottom: 3rem;
}

/* ============================================
   選ばれる理由セクション
============================================ */
.reasons {
    background: #FFFFFF;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.reason-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: #F8F9FA;
    transition: 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.reason-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8787 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 2rem;
}

.reason-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2C3E50;
}

.reason-card p {
    color: #7F8C8D;
    line-height: 1.8;
}

/* ============================================
   サーバー比較セクション
============================================ */
.comparison {
    background: #F8F9FA;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.server-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.server-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.server-card.featured {
    border-color: #FF6B6B;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
}

.badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8787 100%);
    color: #FFFFFF;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.server-header {
    margin-bottom: 1.5rem;
}

.server-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #2C3E50;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #FFE66D;
}

.rating span {
    margin-left: 0.5rem;
    color: #7F8C8D;
    font-weight: 600;
}

.server-price {
    background: #F8F9FA;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #FF6B6B;
    display: block;
}

.price-note {
    font-size: 0.9rem;
    color: #7F8C8D;
}

.server-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.server-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #E1E8ED;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.server-features i {
    color: #2ECC71;
}

.server-pros {
    background: #F8F9FA;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.server-pros h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #2C3E50;
}

.server-pros ul {
    list-style: none;
}

.server-pros ul li {
    padding: 0.5rem 0;
    color: #7F8C8D;
    font-size: 0.9rem;
}

.server-pros ul li::before {
    content: '✓ ';
    color: #2ECC71;
    font-weight: 700;
    margin-right: 0.5rem;
}

/* ============================================
   比較表
============================================ */
.comparison-table-section {
    background: #FFFFFF;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
}

.comparison-table thead {
    background: linear-gradient(135deg, #16213E 0%, #1A1A2E 100%);;
    color: #FFFFFF;
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem;
    text-align: left;
}

.comparison-table th {
    font-weight: 600;
    font-size: 0.95rem;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #E1E8ED;
    transition: 0.2s ease;
}

.comparison-table tbody tr:hover {
    background: #F8F9FA;
}

.comparison-table tbody tr.highlight-row {
    background: rgba(255, 107, 107, 0.05);
}

.comparison-table .fa-check-circle {
    color: #2ECC71;
    font-size: 1.25rem;
}

/* ============================================
   料金プラン詳細
============================================ */
.pricing-detail {
    background: #F8F9FA;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    background: #FFFFFF;
    border: 2px solid #E1E8ED;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
    color: #2C3E50;
}

.tab-button:hover {
    border-color: #FF6B6B;
    color: #FF6B6B;
}

.tab-button.active {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8787 100%);
    color: #FFFFFF;
    border-color: transparent;
}

.pricing-content {
    position: relative;
}

.pricing-panel {
    display: none;
}

.pricing-panel.active {
    display: block;
}

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.plan-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.plan-card.popular {
    border-color: #FF6B6B;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8787 100%);
    color: #FFFFFF;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.plan-card h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2C3E50;
}

.plan-price {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF6B6B;
}

.plan-price .period {
    font-size: 1rem;
    color: #7F8C8D;
}

.plan-features {
    list-style: none;
}

.plan-features li {
    padding: 0.75rem 0;
    color: #7F8C8D;
    border-bottom: 1px solid #E1E8ED;
}

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

/* ============================================
   選び方ガイド
============================================ */
.guide {
    background: #FFFFFF;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.guide-card {
    background: #F8F9FA;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.guide-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8787 100%);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.guide-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    color: #2C3E50;
}

.guide-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.guide-option {
    background: #FFFFFF;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #FF6B6B;
}

.guide-option h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #2C3E50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guide-option h4 i {
    color: #FF6B6B;
}

.guide-option p {
    color: #7F8C8D;
    margin-bottom: 0.75rem;
}

.recommendation {
    background: rgba(255, 107, 107, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #2C3E50;
}

.recommendation strong {
    color: #FF6B6B;
}

.checklist {
    list-style: none;
}

.checklist li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #7F8C8D;
}

.checklist i {
    color: #2ECC71;
    font-size: 1.25rem;
}

/* ============================================
   FAQ
============================================ */
.faq {
    background: #F8F9FA;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #FFFFFF;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: 0.2s ease;
    user-select: none;
}

.faq-question:hover {
    background: #F8F9FA;
}

.faq-question i.fa-question-circle {
    color: #FF6B6B;
    font-size: 1.5rem;
}

.faq-question h3 {
    flex: 1;
    font-size: 1.1rem;
    color: #2C3E50;
}

.faq-question i.fa-chevron-down {
    color: #7F8C8D;
    transition: 0.2s ease;
}

.faq-item.active .faq-question i.fa-chevron-down {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 4.5rem;
    color: #7F8C8D;
    line-height: 1.8;
}

/* ============================================
   CTAセクション
============================================ */
.cta-section {
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    color: #FFFFFF;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cta-content > p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cta-feature i {
    font-size: 2rem;
    color: #FFE66D;
}

.cta-feature span {
    font-weight: 600;
}

/* ============================================
   フッター
============================================ */
.footer {
    background: #1A1A2E;
    color: #BDC3C7;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section ul {
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #BDC3C7;
    text-decoration: none;
    transition: 0.2s ease;
}

.footer-section a:hover {
    color: #FF6B6B;
}

.disclaimer {
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

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

/* ============================================
   レスポンシブデザイン
============================================ */
@media (max-width: 1024px) {
    .guide-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .comparison-grid,
    .reasons-grid,
    .pricing-plans {
        grid-template-columns: 1fr;
    }
    
    .pricing-tabs {
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button.large {
        width: 100%;
        max-width: 300px;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .server-card,
    .plan-card {
        padding: 1.5rem;
    }
    
    .guide-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}