body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #0d1a2f; /* 深い青の背景 */
    color: #e0e0e0; /* 明るいテキスト色 */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden; /* スクロールバーを非表示 */
}

.container {
    width: 90vw;
    height: 90vh;
    max-width: 1200px;
    max-height: 800px;
    background-color: #1a2a4a; /* コンテナの背景色 */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    position: relative; /* 子要素の絶対配置のため */
}

.radar-map {
    width: 600px; /* レーダーマップのサイズ */
    height: 600px;
    border: 2px solid #00f0ff; /* 明るい青のボーダー */
    border-radius: 50%; /* 円形にする */
    position: relative;
    overflow: hidden; /* はみ出たノードを隠す */
    margin-bottom: 20px;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.1) 0%, rgba(0, 240, 255, 0) 70%); /* 中心にグラデーション */
}

/* レーダーの線をイメージ（仮） */
.radar-map::before,
.radar-map::after {
    content: '';
    position: absolute;
    background-color: rgba(0, 240, 255, 0.3);
}

.radar-map::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.radar-map::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.node {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #00aaff; /* ノードの基本色 */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    text-align: center;
    word-break: break-all;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.7);
    transition: all 0.5s ease-out; /* アニメーションの基本設定 */
    border: 1px solid #ffffff; /* 白い縁取り */
}

.node:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 170, 255, 1);
}

.input-area {
    display: flex;
    gap: 10px;
    width: 80%;
    max-width: 500px;
    margin-top: 20px;
}

#questionInput {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid #00f0ff;
    border-radius: 8px;
    background-color: #0d1a2f;
    color: #e0e0e0;
    font-size: 16px;
    outline: none;
}

#questionInput::placeholder {
    color: #888;
}

#addNodeButton {
    padding: 10px 20px;
    background-color: #007bff; /* ボタンの基本色 */
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#addNodeButton:hover {
    background-color: #0056b3;
}

/* 応答表示エリア（追加予定） */
.response-area {
    width: 80%;
    max-width: 500px;
    background-color: #2a3d5b;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: none; /* 最初は非表示 */
}

.response-area p {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.5;
}

.response-area p:last-child {
    margin-bottom: 0;
}