/* ===================================
新しいセクションのCSS
=================================== */

/* プラン比較表セクション */
.plan-comparison-section {
    padding: 60px 20px;
    background: white;
    margin: 40px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.comparison-table-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

.comparison-table thead {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #d4af37;
}

.comparison-table th {
    padding: 20px 15px;
    font-size: 1.1rem;
    font-weight: 900;
    text-align: left;
}

.comparison-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
}

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

.plan-icon {
    font-size: 1.5rem;
    margin-right: 5px;
}

.tax-note {
    font-size: 0.85rem;
    color: #888;
}

.highlight-badge {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5);
    }
}

/* モバイル用プランカード（デフォルトは非表示） */
.mobile-plan-cards {
    display: none;
}

.mobile-plan-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.mobile-plan-header {
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 900;
}

.mobile-plan-card.plan-x .mobile-plan-header {
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
}

.mobile-plan-card.plan-l .mobile-plan-header {
    background: linear-gradient(135deg, #FF9500 0%, #FF6500 100%);
}

.mobile-plan-card.plan-m .mobile-plan-header {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
}

.mobile-plan-card.plan-s .mobile-plan-header {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.mobile-plan-body {
    padding: 20px;
}

.mobile-plan-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 10px;
}

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

.mobile-plan-label {
    font-weight: 700;
    color: #666;
    font-size: 0.95rem;
    flex-shrink: 0;
    min-width: 100px;
}

.mobile-plan-value {
    text-align: right;
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.mobile-plan-value strong {
    font-size: 1.4rem;
    color: #d4af37;
    font-weight: 900;
}

.mobile-plan-value .tax-note {
    font-size: 0.8rem;
    color: #999;
    font-weight: 400;
}

/* 料金比較結果セクション */
.price-comparison-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
}

.price-comparison-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px;
    flex-wrap: wrap;
}

.price-box {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.current-price {
    border: 3px solid #ff6b6b;
}

.new-price {
    border: 3px solid #4caf50;
}

.price-header {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.price-label {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.price-details {
    text-align: left;
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.details-title {
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.price-details ul {
    list-style: none;
    padding-left: 0;
}

.price-details li {
    padding: 5px 0;
    color: #666;
    font-size: 0.95rem;
}

.price-details li:before {
    content: "• ";
    color: #d4af37;
    font-weight: bold;
    margin-right: 8px;
}

.annual-cost {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.annual-label {
    font-weight: 700;
    color: #666;
}

.annual-amount {
    font-size: 1.5rem;
    font-weight: 900;
    color: #333;
}

.vs-divider {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.vs-icon {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.arrow-down {
    font-size: 2rem;
    color: #d4af37;
}

.savings-result {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 40px;
    flex-wrap: wrap;
}

.savings-item {
    flex: 1;
    min-width: 200px;
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px solid #f0f0f0;
}

.savings-item.highlight {
    border: 3px solid #d4af37;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}

.savings-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.savings-label {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
}

.savings-value {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.loss-warning {
    max-width: 800px;
    margin: 40px auto;
    background: linear-gradient(135deg, #fff0f0 0%, #ffffff 100%);
    border: 3px solid #ff6b6b;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.loss-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ff6b6b;
    margin-bottom: 15px;
}

.loss-amount {
    font-size: 4rem;
    font-weight: 900;
    color: #ff6b6b;
    margin-bottom: 10px;
}

.loss-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

.warning-box {
    background: white;
    border-left: 5px solid #ff6b6b;
    padding: 20px;
    text-align: left;
    border-radius: 10px;
    margin-top: 20px;
}

.warning-box i {
    color: #ff6b6b;
    font-size: 1.5rem;
    margin-right: 10px;
}

/* dmobileでこんな素敵な毎日が待ってる！ */
.lifestyle-benefits-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #d4af37;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 10px;
}

.benefit-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
}

.benefit-quantity {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.benefit-note {
    font-size: 0.9rem;
    color: #888;
}

/* dmobile切り替えメリット */
.switching-merits-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.switching-merits-section .section-title {
    color: #d4af37;
    background: none;
    -webkit-text-fill-color: #d4af37;
}

.switching-merits-section .section-subtitle {
    color: #ccc;
}

.merits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.merit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #d4af37;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.merit-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.merit-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.merit-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #d4af37;
    margin-bottom: 10px;
}

.merit-description {
    font-size: 1rem;
    color: #ccc;
}

/* MNP予約番号取得方法 */
.mnp-guide-section {
    padding: 60px 20px;
    background: white;
}

.mnp-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.mnp-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 3px solid;
    transition: all 0.3s ease;
}

.mnp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.mnp-docomo {
    border-color: #e60012;
}

.mnp-au {
    border-color: #ff6600;
}

.mnp-softbank {
    border-color: #1e88e5;
}

.mnp-carrier-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.mnp-carrier {
    font-size: 1.8rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 20px;
}

.mnp-method {
    text-align: left;
}

.mnp-item {
    margin-bottom: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
}

.mnp-label {
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.mnp-item p {
    margin: 5px 0;
    color: #666;
}

.mnp-warning {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    border: 3px solid #d4af37;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
}

.mnp-warning i {
    color: #d4af37;
    font-size: 2rem;
    margin-right: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .price-comparison-container {
        flex-direction: column;
    }

    .vs-divider {
        flex-direction: row;
        transform: rotate(90deg);
    }

    /* モバイルではテーブルを非表示、カードを表示 */
    .comparison-table {
        display: none;
    }

    .mobile-plan-cards {
        display: block;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .loss-amount {
        font-size: 3rem;
    }

    .benefits-grid,
    .merits-grid,
    .mnp-cards {
        grid-template-columns: 1fr;
    }
}

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

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

    .price-amount {
        font-size: 2rem;
    }

    .loss-amount {
        font-size: 2.5rem;
    }

    .benefit-icon,
    .merit-icon,
    .mnp-carrier-icon {
        font-size: 2.5rem;
    }

    .comparison-table-wrapper {
        overflow-x: scroll;
    }

    .mobile-plan-header {
        font-size: 1.3rem;
        padding: 15px;
    }

    .mobile-plan-body {
        padding: 15px;
    }

    .mobile-plan-row {
        padding: 12px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .mobile-plan-label {
        min-width: auto;
        font-size: 0.85rem;
    }

    .mobile-plan-value {
        text-align: left;
        align-items: flex-start;
        font-size: 0.95rem;
    }

    .mobile-plan-value strong {
        font-size: 1.2rem;
    }

    .highlight-badge {
        font-size: 0.85rem;
        padding: 5px 12px;
    }
}
