/**
 * 福利厚生費セクションのスタイル
 * モダンでわかりやすいデザインで福利厚生の仕組みを説明
 */

.welfare-benefits {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4fd 100%);
    position: relative;
    overflow: hidden;
}

/* 背景装飾 */
.welfare-benefits::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.welfare-benefits .container {
    position: relative;
    z-index: 2;
}

/* セクションヘッダー */
.welfare-benefits .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.welfare-benefits .header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #dcfce7;
    color: #166534;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 2px solid #bbf7d0;
}

.welfare-benefits .badge-icon {
    font-size: 18px;
}

.welfare-benefits .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 16px;
}

.welfare-benefits .section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 500px;
    margin: 0 auto;
}

/* サブセクションタイトル */
.welfare-benefits .subsection-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #334155;
    text-align: center;
}

/* 負担例セクション */
.burden-example {
    margin-bottom: 60px;
}

.example-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.price-breakdown {
    margin-bottom: 32px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-weight: 600;
}

.price-item.total {
    background: #1e293b;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.price-item.employee {
    background: #fef3c7;
    color: #d97706;
    border: 2px solid #fbbf24;
}

.price-item.company {
    background: #dbeafe;
    color: #2563eb;
    border: 2px solid #60a5fa;
}

.price-value {
    font-size: 1.3rem;
    font-weight: 700;
}

.breakdown-items {
    padding-left: 20px;
    border-left: 3px solid #e2e8f0;
}

/* 福利厚生ルール */
.welfare-rules {
    border-top: 2px solid #e2e8f0;
    padding-top: 24px;
}

.rule-item {
    background: #f1f5f9;
    padding: 16px 20px;
    margin-bottom: 12px;
}

.rule-text {
    font-size: 0.95rem;
    color: #475569;
    font-weight: 500;
}

/* 支払い例セクション */
.payment-examples {
    margin-bottom: 60px;
}

.examples-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.examples-icon {
    font-size: 1.5rem;
}

/* テーブルスタイル */
.examples-table {
    background: white;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    background: #3b82f6;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.header-cell {
    padding: 20px 16px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.header-cell:last-child {
    border-right: none;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    border-bottom: 1px solid #e2e8f0;
}

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

.cell {
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-right: 1px solid #e2e8f0;
}

.cell:last-child {
    border-right: none;
}

.case-text {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.5;
}

.case-detail {
    font-size: 0.85rem;
    color: #6b7280;
}

.amount-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #dc2626;
}

.amount-detail {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 4px;
}

/* コラムセクション */
.column-section {
    background: white;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
}

.column-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.column-icon {
    font-size: 1.5rem;
}

.column-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.column-intro {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* 非課税条件 */
.tax-conditions {
    margin-bottom: 24px;
}

.conditions-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.conditions-icon {
    font-size: 1.2rem;
}

.conditions-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #059669;
    margin: 0;
}

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

.condition-item {
    padding: 12px 16px;
    background: #f0fdf4;
    border-left: 4px solid #10b981;
    margin-bottom: 8px;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    color: #065f46;
}

/* 重要なお知らせ */
.important-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 20px;
}

.notice-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.notice-text {
    margin: 0;
    font-size: 1rem;
    color: #92400e;
    font-weight: 500;
}

.notice-text strong {
    color: #7c2d12;
    font-weight: 700;
}

/* CTAセクション */
.welfare-cta {
    text-align: center;
}

.cta-content {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.cta-text {
    font-size: 1rem;
    margin-bottom: 24px;
    opacity: 0.9;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #3b82f6;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: #1d4ed8;
}

.button-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .button-arrow {
    transform: translateX(4px);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .welfare-benefits {
        padding: 60px 0;
    }

    .welfare-benefits .section-title {
        font-size: 2rem;
    }

    .example-card,
    .column-section {
        padding: 24px;
    }

    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 1px;
    }

    .header-cell,
    .cell {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }

    .header-cell:last-child,
    .cell:last-child {
        border-bottom: none;
    }

    .price-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .breakdown-items {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid #e2e8f0;
        padding-top: 16px;
    }

    .column-header {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .important-notice {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .cta-content {
        padding: 24px;
    }

    .cta-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .welfare-benefits .header-badge {
        padding: 8px 16px;
        font-size: 14px;
    }

    .welfare-benefits .section-title {
        font-size: 1.7rem;
    }

    .subsection-title {
        font-size: 1.3rem;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}