/* 解決策セクション用スタイル */
.solution {
    padding: 80px 0 230px;
    background: #1e3c72;
    /* 深いネイビーの単色背景 */
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* 背景装飾エフェクト - 微細なドットパターン */
.solution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Ccircle cx='1' cy='1' r='0.3' fill='rgba(255, 255, 255, 0.05)'/%3E%3C/svg%3E");
    background-size: 12px 12px;
    opacity: 1;
    z-index: 0;
}

/* 上から下へのグラデーション効果 */
.solution::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(30, 60, 114, 0) 0%,
            rgba(30, 60, 114, 0.3) 30%,
            rgba(30, 60, 114, 0.7) 70%,
            rgba(30, 60, 114, 0.9) 100%);
    z-index: 0;
}

/* 上部の光の粒子効果 */
.solution .background-light {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
    z-index: 0;
    pointer-events: none;
}

/* ゴールドの光の粒子エフェクト - 右上 */
.solution .container::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, rgba(212, 175, 55, 0) 70%);
    z-index: 0;
}

/* 白の光の粒子エフェクト - 左下 */
.solution .container::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

/* 右下の小さな光の粒子 */
.solution-content::after {
    content: '';
    position: absolute;
    bottom: 30px;
    right: 10%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
}

.solution .container {
    position: relative;
    z-index: 1;
    max-width: calc(var(--container-max-width) + 85px);
}

/* ゴールドのアクセントライン */
.solution h2 {
    text-align: center;
    margin-bottom: 60px;
    font-weight: bold;
    font-size: 2.2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-bottom: 15px;
}

.solution h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0) 0%, rgba(212, 175, 55, 0.8) 50%, rgba(212, 175, 55, 0) 100%);
}

.solution-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
}

.solution-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 0;
    width: 100%;
}

.solution-feature-item {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 25px 20px;
    flex: 1 1 calc(33.333% - 20px);
    min-width: 250px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* カードの幾何学的装飾 */
.solution-feature-item::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0) 70%);
    border-radius: 50px 0;
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.solution-feature-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 30%;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0) 0%, rgba(212, 175, 55, 0.3) 50%, rgba(212, 175, 55, 0) 100%);
    transition: all 0.5s ease;
}

.solution-feature-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.solution-feature-item:hover,
.solution-feature-item.hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.solution-feature-item:hover::before,
.solution-feature-item.hover::before {
    transform: rotate(45deg) scale(1.2);
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0) 70%);
}

.solution-feature-item:hover::after,
.solution-feature-item.hover::after {
    width: 60%;
    left: 20%;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0) 0%, rgba(212, 175, 55, 0.5) 50%, rgba(212, 175, 55, 0) 100%);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0);
    transition: all 0.3s ease;
}

.solution-feature-item:hover .feature-icon::after,
.solution-feature-item.hover .feature-icon::after {
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: #d4af37;
    opacity: 0.9;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.solution-content a.btn-primary {
    margin-top: 20px;
    display: inline-block;
    padding: 12px 30px;
    background-color: #d4af37;
    color: #1a2942;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-content a.btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.solution-content a.btn-primary:hover {
    background-color: #e6c14f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.solution-content a.btn-primary:hover::before {
    left: 100%;
    opacity: 1;
}

.solution-content.animated a.btn-primary {
    opacity: 1;
    transform: translateY(0);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .solution {
        padding: 60px 0 230px;
    }

    .solution h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .solution-feature-item {
        flex: 1 1 100%;
        min-width: auto;
    }

    .custom-shape-divider-bottom-1747784788 svg {
        height: 100px;
        /* モバイル表示時の高さを調整 */
    }
}

/* シェイプディバイダー */
.custom-shape-divider-bottom-1747784788 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
    /* 背景要素よりも前面に表示 */
}

.custom-shape-divider-bottom-1747784788 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
    /* 高さを増加 */
    /* ネイビー背景に対して自然な青みがかった影 */
    filter: drop-shadow(0px -10px 8px rgba(0, 10, 30, 0.25)) drop-shadow(0px -5px 4px rgba(0, 5, 20, 0.15));
    transform-origin: bottom center;
    /* 拡大時の基準点を設定 */
}

/* ワークショップ紹介セクションの背景色に合わせて調整 */
.custom-shape-divider-bottom-1747784788 .shape-fill {
    fill: #FFFFFF;
    /* 白色 */
}

/* 円形タイムラインアニメーション */
.timeline-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
}

.timeline-comparison {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.timeline-chart {
    position: relative;
    width: 160px;
    height: 160px;
    margin-top: 10px;
}

.timeline-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    overflow: visible;
}

.timeline-bg-circle {
    fill: rgba(255, 255, 255, 0.05);
    stroke: rgba(212, 175, 55, 0.2);
    stroke-width: 2px;
    filter: drop-shadow(0px 0px 5px rgba(212, 175, 55, 0.3));
}

.timeline-inner-circle {
    fill: rgba(30, 60, 114, 0.8);
    stroke: rgba(212, 175, 55, 0.4);
    stroke-width: 1px;
}

.timeline-arc-old {
    fill: none;
    stroke: rgba(212, 175, 55, 0.7);
    stroke-width: 8px;
    stroke-linecap: round;
    filter: drop-shadow(0px 0px 3px rgba(212, 175, 55, 0.5));
    /* 初期状態で見えないように設定 */
    stroke-dasharray: 0 502.4;
    stroke-dashoffset: 0;
    transition: stroke-dasharray 1.5s ease-in-out;
}

.timeline-arc-new {
    fill: none;
    stroke: rgba(255, 255, 255, 0.9);
    stroke-width: 8px;
    stroke-linecap: round;
    filter: drop-shadow(0px 0px 8px rgba(255, 255, 255, 0.6));
    /* 初期状態で見えないように設定 */
    stroke-dasharray: 0 502.4;
    stroke-dashoffset: 0;
    transition: stroke-dasharray 1.5s ease-in-out;
}

.timeline-center-text {
    fill: #ffffff;
    text-anchor: middle;
    font-size: 12px;
    transform: rotate(90deg);
    transform-origin: center;
    font-weight: 500;
}

.timeline-title {
    fill: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.timeline-value {
    fill: #d4af37;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

.timeline-comparison-label {
    margin-top: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.timeline-label {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    gap: 5px;
    white-space: nowrap;
}

.timeline-label-spacer {
    display: inline-block;
    width: 15px;
}

.timeline-label-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.timeline-label-dot.old {
    background-color: rgba(212, 175, 55, 0.7);
    box-shadow: 0 0 4px rgba(212, 175, 55, 0.5);
}

.timeline-label-dot.new {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
}

.timeline-label-text {
    font-size: 11px;
    letter-spacing: 0.5px;
}

/* タイムラインが入ったカードの追加スタイル */
.solution-feature-item:nth-child(1) {
    padding-top: 15px;
}

/* コスト削減グラフ */
.cost-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    height: auto;
    /* 高さを自動調整 */
}

/* 金額とラベルをまとめて配置するコンテナ */
.cost-labels-container {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
}

/* 金額とラベルのグループ */
.cost-label-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
}

.cost-label-group.traditional {
    color: #d4af37;
}

.cost-label-group.ai {
    color: #ffffff;
}

/* 金額表示 */
.cost-value {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

/* ラベル表示 */
.cost-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* グラフ部分 */
.cost-graph {
    position: relative;
    width: 100%;
    height: 140px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
}

.cost-bar {
    position: relative;
    width: 60px;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.8) 0%, rgba(212, 175, 55, 0.4) 100%);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transition: height 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: visible;
}

.cost-bar.traditional {
    height: 0;
    max-height: 120px;
}

.cost-bar.ai {
    height: 0;
    max-height: 10px;
}

.cost-bar-animated.traditional {
    height: 120px;
}

.cost-bar-animated.ai {
    height: 10px;
}

.cost-coin {
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #d4af37 0%, #b39030 100%);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.7);
    font-size: 14px;
    transform: scale(0);
    transition: transform 0.5s ease-out;
    z-index: 2;
    top: -15px;
}

.cost-coin-animated {
    transform: scale(1);
}

.cost-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.05) 10px,
            rgba(255, 255, 255, 0.1) 10px,
            rgba(255, 255, 255, 0.1) 20px);
    z-index: 1;
    border-radius: 6px 6px 0 0;
}

/* スキルチャート */
.skill-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    padding: 10px;
}

.skill-comparison {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.skill-chart {
    position: relative;
    width: 160px;
    height: 160px;
    margin-top: 10px;
}

.skill-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.skill-bg {
    fill: rgba(255, 255, 255, 0.05);
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1px;
}

.skill-traditional {
    fill: rgba(212, 175, 55, 0.2);
    stroke: rgba(212, 175, 55, 0.6);
    stroke-width: 2px;
    /* アニメーション開始前は非表示 */
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
    /* 点を確実につなぐために閉じたパスを明示 */
    stroke-linejoin: round;
    stroke-linecap: round;
}

.skill-ai {
    fill: rgba(73, 151, 224, 0.2);
    stroke: rgba(73, 151, 224, 0.8);
    stroke-width: 2px;
    /* アニメーション開始前は非表示 */
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
    /* 点を確実につなぐために閉じたパスを明示 */
    stroke-linejoin: round;
    stroke-linecap: round;
}

.skill-center-circle {
    fill: rgba(30, 60, 114, 0.8);
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 1px;
}

.skill-line {
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 1px;
}

.skill-point {
    fill: #d4af37;
    r: 3;
    transition: r 0.5s ease-out;
}

.skill-point.animated {
    r: 5;
}

.skill-label {
    fill: rgba(255, 255, 255, 0.7);
    font-size: 8px;
    text-anchor: middle;
}

.skill-center-text {
    fill: #ffffff;
    text-anchor: middle;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.skill-comparison-label {
    margin-top: 15px;
    width: 100%;
}

.skill-status {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.skill-status-item {
    display: flex;
    align-items: center;
    margin: 0 5px;
}

.skill-status-color {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
}

.skill-status-color.traditional {
    background-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 4px rgba(212, 175, 55, 0.3);
}

.skill-status-color.ai {
    background-color: rgba(73, 151, 224, 0.8);
    box-shadow: 0 0 4px rgba(73, 151, 224, 0.3);
}

.skill-status-text {
    font-size: 11px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.8);
}

/* レスポンシブ対応 - モバイル用に円グラフサイズを調整 */
@media (max-width: 768px) {
    .timeline-chart {
        width: 120px;
        height: 120px;
    }

    .skill-chart {
        width: 120px;
        height: 120px;
    }

    .timeline-comparison,
    .skill-comparison {
        gap: 15px;
    }
}

/* タイムラインチャートコンテナ */
.timeline-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
}

/* 単一のタイムラインラベル */
.timeline-label-single {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    white-space: nowrap;
}

/* スキルチャートコンテナ */
.skill-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
}

/* 単一のスキルステータスラベル */
.skill-status-single {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    white-space: nowrap;
}

/* タイムラインラベルとスキルステータスのドットとテキスト共通スタイル */
.timeline-label-single .timeline-label-dot,
.skill-status-single .skill-status-color {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
}

.timeline-label-single .timeline-label-text,
.skill-status-single .skill-status-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}