/* 料金について Section */
.pricing-section {
    padding: 80px 20px;
    background: #FFFFFF;
}

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

.pricing-title {
    font-family: 'Zen Antique', serif;
    font-size: 3.6rem;
    font-weight: 700;
    color: #155D8C;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.05em;
}

/* Plans Header */
.plans-header {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-bottom: 40px;
    border: 1px solid #E0E0E0;
}

.plan-card {
    background: #FFFFFF;
    border-right: 1px solid #E0E0E0;
    overflow: hidden;
}

.plan-card:last-child {
    border-right: none;
}

.plan-color-bar {
    height: 8px;
    width: 100%;
}

.plan-color-bar.blue {
    background: linear-gradient(90deg, #4A90E2 0%, #5BA3F5 50%, #4A90E2 100%);
}

.plan-color-bar.red {
    background: linear-gradient(90deg, #E74C3C 0%, #F55A6D 50%, #E74C3C 100%);
}

.plan-color-bar.purple {
    background: linear-gradient(90deg, #9B59B6 0%, #B370CF 50%, #9B59B6 100%);
}

.plan-color-bar.black {
    background: linear-gradient(90deg, #2C3E50 0%, #34495E 50%, #2C3E50 100%);
}

.plan-content {
    padding: 30px 20px;
    text-align: center;
}

.plan-name {
    font-family: 'Zen Antique', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.plan-price {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
    margin-bottom: 5px;
}

.price-currency {
    font-size: 2rem;
    font-weight: 500;
}

.price-period {
    font-family: 'Zen Antique', serif;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 15px;
}

.plan-link {
    font-family: 'Zen Antique', serif;
    font-size: 1.3rem;
    color: #4A90E2;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.plan-link:hover {
    color: #2C5AA0;
    text-decoration: underline;
}

.plan-button {
    font-family: 'Zen Antique', serif;
    width: 100%;
    max-width: 200px;
    padding: 12px 24px;
    font-size: 1.6rem;
    font-weight: 600;
    color: #FFFFFF;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-button.blue {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
}

.plan-button.blue:hover {
    background: linear-gradient(135deg, #357ABD 0%, #2C5AA0 100%);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.plan-button.red {
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
}

.plan-button.red:hover {
    background: linear-gradient(135deg, #C0392B 0%, #A93226 100%);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.plan-button.purple {
    background: linear-gradient(135deg, #9B59B6 0%, #8E44AD 100%);
}

.plan-button.purple:hover {
    background: linear-gradient(135deg, #8E44AD 0%, #7D3C98 100%);
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.3);
}

.plan-button.black {
    background: linear-gradient(135deg, #2C3E50 0%, #1A252F 100%);
}

.plan-button.black:hover {
    background: linear-gradient(135deg, #1A252F 0%, #0F1419 100%);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

/* Comparison Section */
.comparison-section {
    margin-top: 60px;
}

.comparison-title {
    font-family: 'Zen Antique', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #E0E0E0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comparison-table tbody tr {
    border-bottom: 1px solid #E0E0E0;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

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

.comparison-table td {
    padding: 20px;
    text-align: center;
    font-family: 'Zen Antique', serif;
    font-size: 1.4rem;
    color: #333;
}

.comparison-table td.feature-name {
    text-align: left;
    font-weight: 600;
    color: #555;
    width: 40%;
}

.comparison-table td.feature-value {
    width: 15%;
    font-weight: 500;
}

.comparison-table td.feature-value svg {
    margin: 0 auto;
    display: block;
}

/* Tablet Responsive */
@media screen and (max-width: 1024px) {
    .plans-header {
        grid-template-columns: repeat(2, 1fr);
    }

    .plan-card {
        border-right: none;
        border-bottom: 1px solid #E0E0E0;
    }

    .plan-card:nth-child(odd) {
        border-right: 1px solid #E0E0E0;
    }

    .plan-card:last-child,
    .plan-card:nth-last-child(2) {
        border-bottom: none;
    }

    .pricing-title {
        font-size: 3rem;
        margin-bottom: 40px;
    }

    .comparison-table td {
        padding: 15px 10px;
        font-size: 1.3rem;
    }

    .comparison-table td.feature-name {
        width: 35%;
    }
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .pricing-section {
        padding: 60px 15px;
    }

    .pricing-title {
        font-size: 2.4rem;
        margin-bottom: 30px;
    }

    .plans-header {
        grid-template-columns: 1fr;
    }

    .plan-card {
        border-right: none;
        border-bottom: 1px solid #E0E0E0;
    }

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

    .plan-content {
        padding: 25px 15px;
    }

    .plan-name {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .plan-price {
        font-size: 3.2rem;
    }

    .price-currency {
        font-size: 1.6rem;
    }

    .plan-button {
        max-width: 180px;
        font-size: 1.4rem;
        padding: 10px 20px;
    }

    .comparison-section {
        margin-top: 40px;
    }

    .comparison-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .comparison-table {
        display: block;
        overflow-x: auto;
    }

    .comparison-table td {
        padding: 12px 8px;
        font-size: 1.2rem;
    }

    .comparison-table td.feature-name {
        font-size: 1.3rem;
        min-width: 180px;
    }

    .comparison-table td.feature-value svg {
        width: 16px;
        height: 16px;
    }
}

@media screen and (max-width: 480px) {
    .pricing-section {
        padding: 40px 10px;
    }

    .pricing-title {
        font-size: 2rem;
    }

    .plan-price {
        font-size: 2.8rem;
    }

    .price-currency {
        font-size: 1.4rem;
    }

    .plan-link {
        font-size: 1.2rem;
    }

    .comparison-title {
        font-size: 1.8rem;
    }

    .comparison-table td {
        padding: 10px 6px;
        font-size: 1.1rem;
    }

    .comparison-table td.feature-name {
        font-size: 1.2rem;
        min-width: 150px;
    }
}

/* =========================================
   スマホ版（768px以下）の表示調整
   ========================================= */
@media screen and (max-width: 768px) {

    /* 「詳しくはこちら」リンクを非表示 */
    .plan-link {
        display: none;
    }

    /* 「はじめる」ボタンを中央配置 */
    .plan-button {
        display: block;
        /* ブロック要素に変更 */
        margin-left: auto;
        /* 左の余白を自動調整 */
        margin-right: auto;
        /* 右の余白を自動調整 */
    }
}