:root {
    --primary-color: #005A9C;
    --secondary-color: #FF7F00;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --success-color: #28a745;
    --dark-color: #1a202c;
    --light-color: #f7fafc;
    --gray-color: #718096;
    --gradient-primary: linear-gradient(135deg, #005A9C, #0066b3);
    --gradient-danger: linear-gradient(135deg, #dc3545, #e85d6d);
    --gradient-warning: linear-gradient(135deg, #ffc107, #ffcd3a);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

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

/* Hero Section */
.hero-section {
    background: var(--gradient-danger);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.highlight {
    color: var(--secondary-color);
    font-weight: 700;
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.crisis-circle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 300px;
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: pulse 3s infinite;
}

.crisis-circle i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.crisis-number {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
}

.crisis-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ▼▼▼ 新しい、より速い鼓動のアニメーションを定義 ▼▼▼ */
@keyframes pulse-fast {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

/* Section Introduction Text */
.section-intro {
    font-size: 1.3rem;
    color: var(--gray-color);
    max-width: 900px;
    margin: -30px auto 60px auto;
    text-align: center;
    line-height: 1.7;
    font-weight: 500;
}

.section-intro br {
    margin-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Demographic Crisis Section */
.demographic-crisis {
    padding: 100px 0;
    background: white;
}

.demographic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

/* 数字要素のアニメーション初期状態 */
.stat-number,
.amount-number,
.split-percentage,
.impact-number,
.stat-value {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* カード要素のアニメーション初期状態 */
.shift-card,
.burden-card,
.reality-card,
.blindspot-card,
.industry-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* stat-cardのみ、他のカードと初期状態を別に定義 */
.stat-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, box-shadow 0.3s ease;
}


/* is-visibleクラスが付与された時のスタイル（アニメーション後） */
.stat-number.is-visible,
.amount-number.is-visible,
.split-percentage.is-visible,
.impact-number.is-visible,
.stat-value.is-visible,
.shift-card.is-visible,
.burden-card.is-visible,
.reality-card.is-visible,
.blindspot-card.is-visible,
.industry-card.is-visible,
.stat-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.bar-fill, .bar {
    /* アニメーション速度を1.5秒に調整し、両方のクラスに適用 */
    transition: width 1.5s ease-out;
}

/* stat-cardの元々のスタイルを再適用 */
.stat-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 5px solid var(--primary-color);
}


.stat-card:hover {
    transform: translateY(-10px) !important; /* is-visibleのtransformを上書き */
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 2.5rem;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.stat-growth {
    color: var(--danger-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.stat-growth span {
    font-weight: 400;
    font-size: 0.9rem;
    opacity: 0.8;
}

.stat-comparison, .stat-impact {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
}

/* Age Distribution */
.age-distribution {
    background: #f8f9fa;
    padding: 50px;
    border-radius: 20px;
    margin-top: 80px;
}

.age-distribution h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

.age-chart {
    max-width: 600px;
    margin: 0 auto;
}

.age-bar {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.age-label {
    width: 60px;
    font-weight: 600;
    color: var(--dark-color);
}

.bar-fill {
    height: 30px;
    background: var(--gradient-warning);
    border-radius: 15px;
    transition: width 1s ease;
    position: relative;
    min-width: 30px;
}

.bar-fill.danger {
    background: var(--gradient-danger);
}

.percentage {
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    min-width: 50px;
}

.chart-note {
    text-align: center;
    color: var(--gray-color);
    font-style: italic;
    margin-top: 20px;
}

/* Impact Analysis Section */
.impact-analysis {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

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

.impact-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}

.impact-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.impact-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.impact-header h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
}

/* Productivity Gauge */
.productivity-gauge {
    text-align: center;
    margin: 30px 0;
}

.gauge-container {
    position: relative;
    width: 200px;
    height: 100px;
    margin: 0 auto;
}

.gauge-fill {
    width: 200px;
    height: 100px;
    border: 15px solid #e9ecef;
    border-bottom: none;
    border-radius: 100px 100px 0 0;
    position: relative;
    overflow: hidden;
}

.gauge-fill::before {
    content: '';
    position: absolute;
    width: calc(var(--percentage) * 1%);
    height: 100%;
    background: var(--gradient-danger);
    border-radius: 100px 100px 0 0;
    transition: width 2s ease;
}

.gauge-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -25%);
    text-align: center;
}

.gauge-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--danger-color);
    font-family: 'Montserrat', sans-serif;
}

.gauge-label {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.impact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
}

.detail-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Turnover Pyramid */
.turnover-pyramid {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.pyramid-level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    min-width: 200px;
}

.high-risk {
    background: var(--gradient-danger);
    width: 80%;
}

.medium-risk {
    background: var(--gradient-warning);
    width: 90%;
    color: var(--dark-color);
}

.low-risk {
    background: var(--gradient-primary);
    width: 100%;
}

.cost-breakdown {
    margin-top: 30px;
    text-align: center;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 2px solid #e9ecef;
}

.cost-label {
    font-weight: 600;
    color: var(--gray-color);
}

.cost-amount {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--danger-color);
    font-family: 'Montserrat', sans-serif;
}

.cost-components {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Financial Impact */
.financial-breakdown {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 30px 0;
}

.financial-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.financial-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.financial-icon i {
    font-size: 1.5rem;
    color: white;
}

.financial-data {
    display: flex;
    flex-direction: column;
}

.financial-amount {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--danger-color);
    font-family: 'Montserrat', sans-serif;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.financial-label {
    color: var(--gray-color);
    font-weight: 500;
}

.total-impact {
    text-align: center;
    margin-top: 30px;
    padding: 30px;
    background: var(--gradient-danger);
    border-radius: 15px;
    color: white;
}

.total-label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.total-amount {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
}
.gender-gap-section {
    margin-top: 50px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    border-left: 5px solid var(--danger-color);
}

.gender-gap-section h4 {
    text-align: center;
    color: var(--danger-color);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.gender-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.gender-stat {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.gender-stat i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.gender-label {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.gender-data {
    display: flex;
    justify-content: space-around;
}

.data-item {
    display: flex;
    flex-direction: column;
}

.data-value {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.data-value.danger {
    color: var(--danger-color);
}

.data-desc {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.gender-note {
    text-align: center;
    margin-top: 20px;
    color: var(--gray-color);
    font-style: italic;
}

/* Gender Gap Section */
.gender-gap-section {
    margin-top: 50px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    border-left: 5px solid var(--danger-color);
}

.gender-gap-section h4 {
    text-align: center;
    color: var(--danger-color);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.gender-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.gender-stat {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.gender-stat i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.gender-label {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.gender-data {
    display: flex;
    justify-content: space-around;
}

.data-item {
    display: flex;
    flex-direction: column;
}

.data-value {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.data-value.danger {
    color: var(--danger-color);
}

.data-desc {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.gender-note {
    text-align: center;
    margin-top: 20px;
    color: var(--gray-color);
    font-style: italic;
}
.economic-burden {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff5f5, #fed7d7);
}

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

.burden-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(220, 53, 69, 0.1);
    border-top: 4px solid var(--danger-color);
}

.burden-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.burden-header i {
    font-size: 2rem;
    color: var(--danger-color);
}

.burden-header h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin: 0;
}

.burden-amount {
    text-align: center;
    margin-bottom: 25px;
}

.amount-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--danger-color);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 5px;
}

.amount-label {
    color: var(--gray-color);
    font-weight: 500;
}

.burden-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.breakdown-label {
    color: var(--gray-color);
}

.breakdown-value {
    font-weight: 700;
    color: var(--danger-color);
}

.burden-responsibility {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.responsibility-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.responsibility-group {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.responsibility-split {
    display: flex;
    gap: 15px;
}

.split-item {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: white;
    border-radius: 8px;
}

.split-percentage {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
}

.split-label {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.burden-reality {
    margin-top: 15px;
    text-align: center;
    color: var(--danger-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.household-impact {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.impact-stat {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.impact-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--danger-color);
    font-family: 'Montserrat', sans-serif;
    min-width: 60px;
}

.impact-desc {
    color: var(--gray-color);
    font-weight: 500;
}

.income-context {
    text-align: center;
    padding: 15px;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid var(--warning-color);
}

.income-context p {
    margin: 0;
    color: var(--dark-color);
    font-weight: 500;
}

/* Workplace Reality Section */
.workplace-reality {
    padding: 100px 0;
    background: white;
}

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

.reality-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-top: 4px solid var(--primary-color);
}

.reality-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.reality-header h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin: 0;
}

.urgency-badge,
.gap-badge,
.support-badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
}

.urgency-badge {
    background: var(--danger-color);
}

.gap-badge {
    background: var(--warning-color);
    color: var(--dark-color);
}

.support-badge {
    background: var(--gray-color);
}

.stat-big {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--danger-color);
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    text-align: center;
    color: var(--gray-color);
    font-weight: 500;
    margin-bottom: 25px;
}

.breakdown-reasons h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.reason-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.reason-rank {
    background: var(--secondary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.reason-text {
    color: var(--dark-color);
    font-weight: 500;
}

.ideal-reality-comparison {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comparison-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comparison-label {
    font-weight: 600;
    color: var(--dark-color);
}

.comparison-bar {
    position: relative;
    background: #e9ecef;
    height: 30px;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.bar {
    height: 100%;
    border-radius: 15px;
    /* transitionは上記で一括設定したため、ここでは不要 */
}

.bar.ideal {
    background: var(--success-color);
}

.bar.reality {
    background: var(--danger-color);
}

.bar-value {
    position: absolute;
    right: 15px;
    font-weight: 700;
    color: white;
    font-size: 0.9rem;
}

.gap-indicator {
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    background: #fff3cd;
    border-radius: 8px;
}

.gap-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--warning-color);
    font-family: 'Montserrat', sans-serif;
}

.gap-text {
    color: var(--dark-color);
    font-weight: 600;
}

.support-gaps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gap-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.gap-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.gap-item span {
    color: var(--dark-color);
    font-weight: 500;
}

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

.impact-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}

.impact-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.impact-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.impact-header h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
}

/* Productivity Gauge */
.productivity-gauge {
    text-align: center;
    margin: 30px 0;
}

.gauge-container {
    position: relative;
    width: 200px;
    height: 100px;
    margin: 0 auto;
}

.gauge-fill {
    width: 200px;
    height: 100px;
    border: 15px solid #e9ecef;
    border-bottom: none;
    border-radius: 100px 100px 0 0;
    position: relative;
    overflow: hidden;
}

.gauge-fill::before {
    content: '';
    position: absolute;
    width: calc(var(--percentage) * 1%);
    height: 100%;
    background: var(--gradient-danger);
    border-radius: 100px 100px 0 0;
    transition: width 2s ease;
}

.gauge-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -25%);
    text-align: center;
}

.gauge-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--danger-color);
    font-family: 'Montserrat', sans-serif;
}

.gauge-label {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.impact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
}

.detail-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Turnover Pyramid */
.turnover-pyramid {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.pyramid-level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    min-width: 200px;
}

.high-risk {
    background: var(--gradient-danger);
    width: 80%;
}

.medium-risk {
    background: var(--gradient-warning);
    width: 90%;
    color: var(--dark-color);
}

.low-risk {
    background: var(--gradient-primary);
    width: 100%;
}

.cost-breakdown {
    margin-top: 30px;
    text-align: center;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 2px solid #e9ecef;
}

.cost-label {
    font-weight: 600;
    color: var(--gray-color);
}

.cost-amount {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--danger-color);
    font-family: 'Montserrat', sans-serif;
}

.cost-components {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Financial Impact */
.financial-breakdown {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 30px 0;
}

.financial-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.financial-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.financial-icon i {
    font-size: 1.5rem;
    color: white;
}

.financial-data {
    display: flex;
    flex-direction: column;
}

.financial-amount {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--danger-color);
    font-family: 'Montserrat', sans-serif;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.financial-label {
    color: var(--gray-color);
    font-weight: 500;
}

.total-impact {
    text-align: center;
    margin-top: 30px;
    padding: 30px;
    background: var(--gradient-danger);
    border-radius: 15px;
    color: white;
}

.total-label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.total-amount {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
}

/* Industry Comparison Section */
.industry-comparison {
    padding: 100px 0;
    background: white;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.industry-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 5px solid;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.high-impact {
    border-color: var(--danger-color);
}

.medium-impact {
    border-color: var(--warning-color);
}

.low-impact {
    border-color: var(--primary-color);
}

.industry-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.industry-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.industry-header h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    flex-grow: 1;
    margin-left: 15px;
}

.impact-level {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
}

.impact-level.danger {
    background: var(--danger-color);
}

.impact-level.warning {
    background: var(--warning-color);
    color: var(--dark-color);
}

.impact-level.primary {
    background: var(--primary-color);
}

.industry-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.stat {
    text-align: center;
}

.stat-value {
    /* 親要素のスタイル調整 */
    display: block;
    font-weight: 900;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.1; /* 2行表示のための行間調整 */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ▼▼▼ 新しく追加するスタイル ▼▼▼ */
.value-number {
    /* 数値を大きく表示 */
    font-size: 2.4rem;
}

.value-unit {
    /* 単位を小さく表示 */
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-color);
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-top: 5px;
}

.industry-factors {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.factor {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--gray-color);
    border-left: 4px solid var(--secondary-color);
}

/* Solution Necessity Section */
.solution-necessity {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a202c, #2d3748);
    color: white;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--secondary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
    text-align: right;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    text-align: left;
}

.timeline-year {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 2;
    margin: 0 40px;
}

/* ▼▼▼ 新しいwarningクラスのスタイルを定義 ▼▼▼ */
.timeline-item.warning .timeline-year {
    background: var(--gradient-warning); /* オレンジ色のグラデーション */
    color: var(--dark-color);
    animation: pulse 2s infinite; /* 既存のゆっくりな鼓動アニメーション */
}

.timeline-item.current .timeline-year {
    background: var(--gradient-danger);
    animation: pulse-fast 1s infinite; /* 新しい速い鼓動アニメーションを適用 */
}

.timeline-content {
    flex: 1;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.timeline-content p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.timeline-stat {
    font-weight: 700;
    font-size: 1.1rem;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: inline-block;
}

.timeline-stat.danger {
    background: var(--danger-color);
}

.timeline-stat.warning {
    background: var(--warning-color);
    color: var(--dark-color);
}

.action-urgency {
    margin-top: 80px;
    text-align: center;
}

.urgency-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px;
    backdrop-filter: blur(10px);
    border: 2px solid var(--secondary-color);
}

.urgency-icon i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.urgency-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.urgency-card p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.countdown {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
}

.countdown-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--secondary-color);
    font-family: 'Montserrat', sans-serif;
}

.countdown-label {
    font-size: 1.5rem;
    opacity: 0.8;
}

/* Footer */
.report-footer {
    background: var(--dark-color);
    color: white;
    padding: 80px 0;
}

.footer-content {
    /* display: grid;
    grid-template-columns: 1fr 1fr; */
    gap: 60px;
    align-items: start;
}

.report-info h3,
.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.report-info p,
.contact-info p {
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 20px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 90, 156, 0.3);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 90, 156, 0.3);
}

/* Societal Shift Section */
.societal-shift {
    padding: 100px 0;
    background: #f8f9fa;
}

.shift-grid {
    display: grid;
    /* 列数を2に固定し、それぞれが均等な幅を持つように設定 */
    grid-template-columns: repeat(2, 1fr);
    /* 2列表示に適した最大幅に戻す */
    max-width: 900px;
    gap: 40px; /* ギャップを少し広げてバランスを調整 */
    margin: 0 auto;
}

.shift-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 40px;
    border-left: 5px solid var(--secondary-color);
}

.shift-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

.shift-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.shift-content p {
    color: var(--gray-color);
    margin: 0;
    line-height: 1.8;
}

/* Corporate Blindspot Section */
.corporate-blindspot {
    padding: 100px 0;
    background: #f8f9fa; /* 背景を薄いグレーに変更 */
}

.blindspot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blindspot-card {
    text-align: center;
    padding: 40px;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.blindspot-card:hover {
    border-color: var(--danger-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.blindspot-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.blindspot-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.blindspot-card p {
    color: var(--dark-color);
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .crisis-circle {
        width: 250px;
        height: 250px;
    }
    
    .crisis-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .demographic-grid,
    .impact-grid,
    .industry-grid {
        grid-template-columns: 1fr;
    }
    
    .age-bar {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        text-align: left !important;
        padding-left: 80px;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        width: 60px;
        height: 60px;
        font-size: 1rem;
        margin: 0;
    }
    
    .timeline-content {
        margin-left: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .financial-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .industry-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .industry-stats {
        grid-template-columns: 1fr;
    }

    .section-intro {
        font-size: 1.1rem; /* フォントサイズを小さく */
        margin: -20px auto 40px auto;
        padding: 0 15px;
    }
    
    .container {
        padding: 0 15px; /* 左右の余白を確保 */
    }
}

/* 出典リストボタン */
.source-link {
    color: var(--secondary-color);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.source-link:hover {
    color: #fff;
}

/* モーダル背景 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
}

/* モーダルコンテンツ */
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 5px;
}

.close-btn:hover {
    color: #333;
}

.source-list {
    list-style: none;
    padding: 0;
}

.source-item {
    margin-bottom: 12px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.source-number {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 8px;
}

.source-text {
    color: #333;
    line-height: 1.4;
}

.source-link-external {
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-all;
}

.source-link-external:hover {
    text-decoration: underline;
}

/* プロアクティブ支援セクション */
.proactive-need {
    padding-bottom: 80px;
    background:var(--light-color)
}

.approach-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.approach-card {
    padding: 30px;
    border-radius: 12px;
    border: 2px solid;
}

.approach-card.reactive {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

.approach-card.proactive {
    background: rgba(72, 187, 120, 0.1);
    border-color: #48BB78;
}

/* 競合分析セクション */
.competitive-analysis {
    padding-bottom: 80px;
    background: #F7FAFC;
}

.limitation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.limitation-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #E53E3E;
}

/* 障壁詳細 */
.barrier-details p {
    margin: 10px 0;
    font-size: 0.9rem;
}

/* 法改正関連セクションのスタイル */
.legal-changes-crisis {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    padding: 80px 0;
}

.legal-challenge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.legal-challenge-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 5px solid #c53030;
}

.challenge-icon {
    width: 50px;
    height: 50px;
    background: #c53030;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.challenge-icon i {
    color: white;
    font-size: 1.2rem;
}

.legal-challenge-card h3 {
    color: #c53030;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.challenge-content p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.challenge-content p strong {
    color: #c53030;
}

.legal-crisis-summary {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: rgba(197, 48, 48, 0.1);
    border-radius: 12px;
}

/* 法改正機会セクション */
.legal-opportunity {
    background: #f8f9ff;
    padding: 80px 0;
}

.opportunity-transformation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    margin: 40px 0;
}

.transformation-before, .transformation-after {
    padding: 30px;
    border-radius: 12px;
}

.transformation-before {
    background: #fff5f5;
    border: 2px solid #fed7d7;
}

.transformation-after {
    background: #f0fff4;
    border: 2px solid #9ae6b4;
}

.transformation-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

.transformation-arrow span {
    display: block;
    font-size: 0.9rem;
    margin-top: 10px;
}

.market-requirements {
    margin-top: 40px;
}

.requirement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.requirement-card {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.requirement-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.market-demand-summary {
    background: var(--primary-color);
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
    border-left: 4px solid var(--primary-color);
}

@media (max-width: 768px) {
    .legal-challenge-grid {
        grid-template-columns: 1fr;
    }
    
    .opportunity-transformation {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .transformation-arrow {
        transform: rotate(90deg);
    }
    
    .requirement-grid {
        grid-template-columns: 1fr;
    }
}

/* 内訳詳細の折りたたみ機能 */
.collapse-trigger {
    cursor: pointer;
    transition: all 0.3s ease;
}

.collapse-trigger:hover {
    background-color: rgba(var(--primary-rgb), 0.05);
}

.collapse-icon {
    transition: transform 0.3s ease;
    margin-left: 5px;
    font-size: 0.8em;
}

.collapse-trigger.active .collapse-icon {
    transform: rotate(180deg);
}

.breakdown-details {
    display: none;
    margin-top: 10px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.breakdown-details.show {
    display: block;
    animation: slideDown 0.3s ease;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.detail-item:last-of-type {
    border-bottom: none;
}

.detail-label {
    font-size: 0.9em;
    color: #666;
}

.detail-value {
    font-weight: 600;
    color: var(--primary-color);
}

.detail-source {
    margin-top: 10px;
    text-align: center;
    opacity: 0.7;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* スマホ対応を追加 */
@media (max-width: 768px) {
    .shift-grid {
        grid-template-columns: 1fr; /* 1列に変更 */
        gap: 25px;
        max-width: 100%;
    }
    
    .shift-card {
        flex-direction: column; /* 縦並びに変更 */
        text-align: center;
        gap: 20px;
        padding: 25px;
    }
}

/* スマホ対応を追加 */
@media (max-width: 768px) {
    .approach-comparison {
        grid-template-columns: 1fr; /* 1列に変更 */
        gap: 25px;
    }
    
    .approach-card {
        padding: 25px; /* パディングを調整 */
    }
}

/* スマホ対応を追加 */
@media (max-width: 768px) {
    .limitation-grid {
        grid-template-columns: 1fr; /* 1列に変更 */
        gap: 20px;
    }
    
    .limitation-card {
        padding: 25px; /* パディングを調整 */
    }
}

