/* =========================================
   Aixis AI診断結果ページ デザイン（Ver.2.0 Pro）
   ========================================= */

/* コンテナ（カード本体） */
.aixis-result-container {
    max-width: 680px;
    margin: 40px auto;
    background: #fff;
    border-radius: 16px; /* 丸みを少し抑えてシャープに */
    box-shadow: 0 4px 30px rgba(0,0,0,0.06); /* 影を上品に */
    overflow: hidden;
    font-family: "Helvetica Neue", Arial, sans-serif;
    text-align: center;
    color: #333;
    line-height: 1.8;
}

/* ヘッダーエリア */
.aixis-result-header {
    background: linear-gradient(180deg, #f8fafd 0%, #eef6ff 100%); /* 薄いブルーグレーで知的に */
    padding: 50px 20px;
    border-bottom: 1px solid #e0e6ed;
}

/* 診断結果バッジ（サイズアップ） */
.aixis-type-badge {
    display: inline-block;
    background: #fff;
    padding: 8px 24px; /* 余白を拡大 */
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem; /* 文字サイズアップ */
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    letter-spacing: 0.05em;
    border: 1px solid #eaedf2;
}

/* タイプ名タイトル（H2廃止・特大化） */
.aixis-type-title {
    font-size: 2.8rem; /* インパクト重視で大きく */
    font-weight: 800;
    margin: 5px 0 0 0;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

/* 円グラフの枠 */
.score-circle-wrap {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 30px auto 0;
    border-radius: 50%;
    background: #e0e0e0; /* 未到達部分をグレーに */
}

/* 円グラフのバー */
.score-circle-bar {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    /* backgroundはJSで指定 */
}

/* 円グラフの中身 */
.score-circle-inner {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 130px; 
    height: 130px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
}
.score-num { font-size: 2.4rem; font-weight: bold; line-height: 1; color: #2c3e50; }
.score-label { font-size: 0.75rem; color: #94a3b8; margin-top: 5px; font-weight: bold; }

/* ボディエリア */
.aixis-result-body { padding: 40px; text-align: left; }
.result-desc { font-size: 1.1rem; margin-bottom: 40px; text-align: center; color: #475569; font-weight: 500; }

/* リスク・対策ボックス（脱ブログ・テック風） */
.result-box {
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 6px; /* 角を四角く */
    background: #fff;
    border: 1px solid #e2e8f0; /* 薄いグレーの枠線 */
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
}

/* 左側のアクセントライン */
.result-box::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 4px;
    border-radius: 6px 0 0 6px;
}

.result-box h3 {
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* リスク（警告色：ダークレッド） */
.result-box.risk::before { background: #dc2626; }
.result-box.risk h3 { color: #dc2626; }

/* 対策（推奨色：Aixisブルー） */
.result-box.advice::before { background: #2563eb; }
.result-box.advice h3 { color: #2563eb; }

/* ボタンエリア */
.btn-group {
    display: flex; gap: 15px; justify-content: center; margin-top: 40px; flex-wrap: wrap;
}
.aixis-btn {
    padding: 14px 32px;
    border-radius: 4px; /* ボタンも少しスクエアに */
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.05em;
}
.aixis-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

/* 再診断ボタン */
.btn-retry { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
.btn-retry:hover { background: #e2e8f0; }

/* シェアボタン（ブランド黒） */
.btn-share { background: #0f172a; color: #fff; }
.btn-share:hover { background: #1e293b; }

/* 法人CTAエリア（ネイビー） */
.b2b-cta-area {
    margin-top: 50px;
    background: #1e293b; /* ダークネイビー */
    color: #fff;
    padding: 35px;
    border-radius: 8px;
    text-align: left;
    border: 1px solid #334155;
}
.b2b-cta-head {
    font-size: 0.75rem;
    color: #38bdf8; /* 明るいシアン */
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.b2b-cta-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
    line-height: 1.4;
}
.b2b-cta-text {
    font-size: 0.9rem;
    color: #cbd5e1; /* 薄いグレー */
    margin-bottom: 25px;
    line-height: 1.7;
}
.b2b-link {
    display: inline-block;
    color: #fff;
    background: transparent;
    border: 1px solid #38bdf8;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: bold;
}
.b2b-link:hover { background: #38bdf8; color: #0f172a; }

/* 出典エリア */
.diagnosis-source-block {
    margin-top: 40px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    font-size: 0.85rem;
    color: #64748b;
    text-align: left;
}
.diagnosis-source-block ul { margin: 10px 0; padding-left: 20px; }
.source-title { font-weight: bold; margin-bottom: 5px; color: #334155; }
.disclaimer { margin-top: 15px; font-size: 0.75rem; color: #94a3b8; line-height: 1.5; }

/* スマホ対応 */
@media(max-width: 480px){
    .aixis-result-container { margin: 20px 0; border-radius: 0; box-shadow: none; border: none; }
    .aixis-result-header { padding: 40px 15px; }
    .aixis-type-title { font-size: 2.2rem; }
    .aixis-result-body { padding: 30px 20px; }
    .btn-group { flex-direction: column; }
    .aixis-btn { width: 100%; }
}