/* WordPress固定ページ用 料金ページ完全CSS */

/* 料金ページ専用CSS */
.pricing-page-content {
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* ヒーローセクション */
.hero-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    border-radius: 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

/* 料金セクション */
.pricing-section {
    padding: 2rem 0;
}

.pricing-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.pricing-intro p {
    font-size: 1.2rem;
    color: #4a5568;
    line-height: 1.6;
}

/* 料金カード */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.pricing-card.popular {
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 10;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1;
}

.period {
    font-size: 1.2rem;
    color: #718096;
    line-height: 1;
}

.price-note {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.savings {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.original-price {
    font-size: 1rem;
    color: #a0aec0;
    text-decoration: line-through;
}

.savings-amount {
    background: #48bb78;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.card-body {
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f3f4;
    color: #4a5568;
    line-height: 1.5;
}

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

.features-list li.featured {
    color: #667eea;
    font-weight: 500;
}

.features-list svg {
    width: 18px;
    height: 18px;
    color: #48bb78;
    flex-shrink: 0;
}

.features-list li.featured svg {
    color: #667eea;
}

.card-footer {
    text-align: center;
}

.plan-button {
    width: 100%;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
    line-height: 1.4;
}

.plan-button:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.plan-button.popular {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
}

.plan-button.popular:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.billing-info {
    font-size: 0.85rem;
    color: #718096;
    margin: 0;
    line-height: 1.4;
}

/* 料金サマリー */
.pricing-summary {
    margin-top: 4rem;
}

.summary-card {
    background: #f7fafc;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
}

.summary-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.3;
}

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

.feature {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.feature svg {
    width: 40px;
    height: 40px;
    color: #667eea;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.feature p {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* FAQ セクション */
.faq-section {
    background: #f8fafc;
    padding: 4rem 2rem;
    margin: 3rem -2rem 0;
}

.faq-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.2;
}

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.faq-item p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* CTA セクション */
.cta-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    padding: 4rem 2rem;
    text-align: center;
    margin: 3rem -2rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-content>p {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.cta-primary,
.cta-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-width: 200px;
    line-height: 1.4;
    text-decoration: none;
    display: inline-block;
}

.cta-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.cta-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

.cta-secondary:hover {
    background: #667eea;
    color: white;
    text-decoration: none;
}

.cta-note {
    font-size: 0.9rem;
    color: #718096;
    margin: 0;
    line-height: 1.4;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .pricing-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

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

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

    .hero-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .pricing-intro h2 {
        font-size: 2rem;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }

    .amount {
        font-size: 2.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 300px;
    }

    .hero-section,
    .faq-section,
    .cta-section {
        padding: 2rem 1rem;
        margin-left: -1rem;
        margin-right: -1rem;
    }

    .faq-section h2,
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 0 10px;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .amount {
        font-size: 2rem;
    }

    .period {
        font-size: 1rem;
    }

    .faq-item {
        padding: 1.5rem;
    }

    .hero-section {
        padding: 2rem 1rem;
    }

    .pricing-section {
        padding: 1rem 0;
    }

    .summary-card {
        padding: 1.5rem;
    }

    .feature {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .feature svg {
        margin-top: 0;
        align-self: center;
    }

    .savings {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cta-primary,
    .cta-secondary {
        min-width: auto;
        width: 100%;
    }
}

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

    .pricing-intro h2 {
        font-size: 1.8rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .faq-section h2 {
        font-size: 1.8rem;
    }

    .amount {
        font-size: 1.8rem;
    }

    .card-header h3 {
        font-size: 1.3rem;
    }

    .feature h4 {
        font-size: 1rem;
    }

    .faq-item h3 {
        font-size: 1.1rem;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* スクロールアニメーション用クラス */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* プリント用スタイル */
@media print {

    .hero-section,
    .cta-section {
        background: none !important;
        color: #000 !important;
    }

    .pricing-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
        margin-bottom: 1rem;
    }

    .plan-button {
        display: none;
    }

    .cta-buttons {
        display: none;
    }

    .faq-section {
        background: none !important;
    }
}

/* WordPress固有の調整 */
.pricing-page-content * {
    box-sizing: border-box;
}

.pricing-page-content img {
    max-width: 100%;
    height: auto;
}

/* WordPress エディタとの互換性 */
.pricing-page-content .wp-block-group {
    margin: 0;
}

.pricing-page-content .has-text-align-center {
    text-align: center;
}

/* アクセシビリティ向上 */
.plan-button:focus,
.cta-primary:focus,
.cta-secondary:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* 高コントラストモード対応 */
@media (prefers-contrast: high) {
    .pricing-card {
        border-width: 3px;
    }

    .plan-button {
        border-width: 3px;
    }
}