/*
 * Hephaestusによるハザードマップポータルの美の法典 Ver. 1.0
 */

/* ヘッダー装飾 */
.analysis-header {
    border-left: 8px solid var(--accent-color);
    background: linear-gradient(to right, #fffaf0, #ffffff);
}
.analysis-header h1 { color: #b7791f; }

/* 物語全体のコンテナ */
.hazardmap-story-container {
    max-width: 900px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* 各対話カード */
.story-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #edf2f7;
}

/* info-style.css から拝借し、この聖域専用に再鋳造 */
.commentary { display:flex; align-items:flex-start; gap:15px; margin-bottom:25px; }
.commentary:last-child { margin-bottom:0; }
.commentary img { width:60px; height:auto; flex-shrink:0; }
.commentary .bubble { padding:18px 22px; border-radius:18px; position:relative; line-height:1.8; font-size:1.1em; width:100%; }
.chisamaru-comment .bubble { background-color:#ebf8ff; color:#2c5282; border-bottom:3px solid #63b3ed;}
.chisamaru-comment .bubble::before { content:''; position:absolute; top:20px; left:-8px; width:0; height:0; border:9px solid transparent; border-right-color:#ebf8ff; }
.correct-comment { flex-direction:row-reverse; }
.correct-comment .bubble { background-color:#f7fafc; color:#4a5568; border-bottom:3px solid #a0aec0;}
.correct-comment .bubble::before { content:''; position:absolute; top:20px; right:-8px; width:0; height:0; border:9px solid transparent; border-left-color:#f7fafc; }
.commentary h4 { display: flex; align-items: center; gap: 10px; font-size:1.3em; margin: 0 0 15px 0; color:var(--primary-color); border-bottom: 2px solid #e2e8f0; padding-bottom: 10px; }
.commentary p:last-child { margin-bottom: 0; }
.small-note { font-size: 0.9em; color: #a0aec0; text-align: center; margin-top: 15px !important; }

/* ステップバッジ */
.step-badge {
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1em;
    font-weight: bold;
    flex-shrink: 0;
}
.correct-comment h4 { color: #b7791f; } /* Correctの見出し色を変更 */

/* 最終ステップのボタン */
.action-button-container {
    text-align: center;
    margin: 25px 0;
}
.hazardmap-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    background-color: #2f855a; /* 深い緑 */
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(47, 133, 90, 0.2);
}
.hazardmap-button:hover {
    background-color: #276749;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(47, 133, 90, 0.3);
}