body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #1a1a1a;
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header h1 {
    margin: 0;
    font-size: 2rem;
    text-align: center;
}

header p {
    margin: 0;
    font-size: 1rem;
    text-align: center;
}

nav ul {
    padding: 0;
    list-style-type: none;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

.prediction-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.prediction-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    padding: 25px;
    flex: 1;
    min-width: 250px;
    transition: all 0.3s ease;
}

.prediction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.prediction-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.3em;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.prediction-card p {
    font-size: 0.95em;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.5;
}

.prediction-card .description {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 20px;
    line-height: 1.6;
    padding: 10px;
    background-color: #f9f9f9;
    border-left: 3px solid #3498db;
    border-radius: 0 5px 5px 0;
}

.indicator-container {
    width: 100%;
    height: 30px;
    background-color: #f0f0f0;
    border-radius: 15px;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.indicator {
    height: 100%;
    width: 0%;
    background-color: #3498db;
    position: absolute;
    left: 50%;
    transition: all 0.3s ease;
}

.indicator-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.8em;
    color: #777;
}

.prediction-value {
    text-align: center;
    font-size: 1.8em;
    font-weight: bold;
    margin-top: 15px;
    transition: color 0.5s ease;
    color: #2c3e50;
}

/* レスポンシブ画像のスタイル */
.responsive-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* 画像コンテナのスタイル */
.image-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
    width: 100%;
}

.mascot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 150px;
    cursor: pointer;
    transition: transform 1s ease;
}
.mascot:hover {
    transform: scale(1.1);
}
.speech-bubble {
    position: fixed;
    bottom: 180px;
    right: 20px;
    background-color: #fff;
    border: 2px solid #f5a623;
    border-radius: 10px;
    padding: 10px;
    max-width: 200px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: block; /* 常に表示するように変更 */
    transition: opacity 1s ease; /* フェードエフェクトのためのトランジション */
}
.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 20px;
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #f5a623 transparent;
}

.chart {
    width: 100%;
    height: 200px;
    margin-top: 20px;
}

.market-data {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.data-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px;
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.data-item h3 {
    margin-top: 0;
    color: #2c3e50;
}

/* 説明文のスタイルを変更 */
.performance-metrics .data-item .description {
    font-size: 0.85em; /* フォントサイズを少し小さめに */
    color: #666; /* 色を落ち着いたトーンに */
    line-height: 1.4; /* 行間を調整 */
    margin-top: 10px; /* 上部の余白 */
    background-color: #f9f9f9; /* 背景色を少し明るく */
    border-left: 4px solid #3498db; /* 左側に色付きのボーダー */
    padding: 10px 15px; /* 内側の余白を調整 */
    border-radius: 5px; /* ボーダーを角丸に */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 軽い影を追加 */
    position: relative; /* アイコン追加のため */
    padding-left: 40px; /* アイコンスペースを確保 */
}

.performance-metrics .data-item .description::before {
    content: 'ℹ️'; /* 情報アイコン */
    font-size: 1.2em; /* アイコンサイズ */
    position: absolute; /* アイコン位置調整 */
    left: 10px; /* 左からの距離 */
    top: 50%; /* 縦中央に */
    transform: translateY(-50%); /* 中央揃え */
    color: #3498db; /* アイコンの色 */
}

#analysis {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    margin-top: 20px;
}

footer {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

footer a {
    color: #fff;
    text-decoration: none;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .container {
        width: 95%; /* モバイル表示時はコンテナの幅を広げる */
    }

    .image-container {
        flex-direction: column;
        align-items: center;
    }

    .crypto-girl {
        width: 50%;
        max-width: 200px;
        margin-bottom: 20px;
    }

    .speech-bubble {
        max-width: 100%;
        margin-left: 0;
    }

    .speech-bubble::before,
    .speech-bubble::after {
        display: none;
    }
}