/* 料金ページ専用CSS */

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 6px -1px rgba(255, 255, 255, 0.1);
    }
}

/* メインコンテンツ */
.main-pricing {
    min-height: 100vh;
    padding-top: 100px;
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
}

/* ヒーローセクション */
.pricing-hero {
    text-align: center;
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.pricing-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.025em;
}

.pricing-hero p {
    font-size: 1.2rem;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 料金セクション */
.pricing-section {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: 1px solid #4b5563;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.pricing-section:nth-child(1) { animation-delay: 0.1s; }
.pricing-section:nth-child(2) { animation-delay: 0.2s; }
.pricing-section:nth-child(3) { animation-delay: 0.3s; }
.pricing-section:nth-child(4) { animation-delay: 0.4s; }

.pricing-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: #ffffff;
}

.pricing-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: center;
}

.pricing-section p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 32px;
    text-align: center;
}

/* 料金テーブル */
.pricing-table {
    margin: 32px 0;
    overflow-x: auto;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    background: #2d2d2d;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.pricing-table:hover table {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transform: scale(1.02);
}

.pricing-table th {
    background-color: #1a1a1a;
    color: #d1d5db;
    font-weight: 600;
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #4b5563;
    font-size: 14px;
}

.pricing-table td {
    padding: 16px;
    border-bottom: 1px solid #4b5563;
    color: #ffffff;
    font-size: 14px;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr {
    transition: all 0.2s ease;
}

.pricing-table tr:hover {
    background-color: #333333;
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

/* ビジネス機能テーブル */
.business-features {
    margin: 32px 0;
}

.feature-table {
    width: 100%;
    border-collapse: collapse;
    background: #2d2d2d;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.feature-table td {
    padding: 16px;
    border-bottom: 1px solid #4b5563;
    vertical-align: top;
    color: #ffffff;
}

.feature-table td:first-child {
    background-color: #1a1a1a;
    color: #d1d5db;
    font-weight: 600;
    width: 200px;
    border-right: 1px solid #4b5563;
}

.feature-table tr:last-child td {
    border-bottom: none;
}

/* 料金ノート */
.pricing-notes {
    background-color: #2d2d2d;
    border-radius: 8px;
    padding: 24px;
    margin-top: 32px;
}

.pricing-notes h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.pricing-notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-notes li {
    color: #d1d5db;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.pricing-notes li:before {
    content: "•";
    color: #ffffff;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.pricing-note {
    background-color: #2d2d2d;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 16px;
    margin: 24px 0;
}

.pricing-note p {
    color: #f59e0b;
    margin: 0;
    font-weight: 500;
}

/* CTAセクション */
.pricing-cta {
    text-align: center;
    padding: 60px 0;
    background: #1a1a1a;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: 1px solid #4b5563;
}

.pricing-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.pricing-cta p {
    font-size: 1.2rem;
    color: #d1d5db;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
}

/* アクティブナビゲーション */
.nav-link.active {
    color: #ffffff !important;
    font-weight: 600;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .pricing-hero h1 {
        font-size: 2.5rem;
    }
    
    .pricing-hero p {
        font-size: 1.1rem;
    }
    
    .pricing-section {
        padding: 24px;
        margin-bottom: 24px;
    }
    
    .pricing-section h2 {
        font-size: 1.5rem;
    }
    
    .pricing-cta h2 {
        font-size: 2rem;
    }
    
    .pricing-cta p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    .pricing-table,
    .feature-table {
        font-size: 12px;
    }
    
    .pricing-table th,
    .pricing-table td,
    .feature-table td {
        padding: 12px 8px;
    }
    
    .feature-table td:first-child {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .main-pricing {
        padding-top: 80px;
    }
    
    .pricing-hero {
        padding: 40px 0;
    }
    
    .pricing-hero h1 {
        font-size: 2rem;
    }
    
    .pricing-section {
        padding: 20px;
    }
    
    .pricing-cta {
        padding: 40px 20px;
    }
    
    .pricing-cta h2 {
        font-size: 1.8rem;
    }
    
    .pricing-table th,
    .pricing-table td,
    .feature-table td {
        padding: 8px 4px;
        font-size: 11px;
    }
}

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

.pricing-section {
    animation: fadeInUp 0.6s ease-out;
}

.pricing-section:nth-child(2) {
    animation-delay: 0.1s;
}

.pricing-section:nth-child(3) {
    animation-delay: 0.2s;
}

.pricing-cta {
    animation: fadeInUp 0.6s ease-out;
    animation-delay: 0.3s;
}

/* ホバー効果 */
.pricing-table tr:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* スクロールバーのスタイリング */
.pricing-table::-webkit-scrollbar {
    height: 8px;
}

.pricing-table::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.pricing-table::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.pricing-table::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
