/* AIに詳細を聞くボタン */
.ai-detail-btn {
    display: block;
    margin: 15px 0 10px 0;
    padding: 8px 16px;
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ai-detail-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* モーダルオーバーレイ（背景グレー） */
#ai-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
}

/* モーダルウインドウ本体 */
#ai-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 10001;
}

/* モーダルヘッダー（画像とタイトル） */
#ai-modal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

#ai-modal-icon {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #f9f9f9;
}

#ai-modal-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    flex: 1;
}

/* 閉じるボタン（右上） */
#ai-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #ccc;
    cursor: pointer;
    line-height: 1;
    z-index: 10002;
}

#ai-modal-close:hover {
    color: #333;
}

/* モーダル内のテキスト */
#ai-modal-content {
    margin-top: 10px;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

/* モーダル最下部の注意書き（灰色の小さな文字） */
#ai-modal-footer {
    font-size: 11px;
    color: #999;
    text-align: center;
    border-top: 1px solid #eeeeee;
    padding-top: 10px;
}

/* アフターエイプリルフール用CSS */
.afterred{
    font-size: medium;
    font-weight: bold;
    color: #e92c63;
    margin: 16px 0 4px 0;
    padding: 0 0 0 64px;
}

