@charset "UTF-8";

/* =========================================================
   AI評価用スタイル（ai_score.css）
   テーマ：プレミアム・ネイビー × リッチゴールド
========================================================= */

.ai-container {
    max-width: 100%;
    margin: 20px auto;
    font-family: 'Hiragino Kaku Gothic ProN', 'Helvetica Neue', Arial, sans-serif;
    color: #333;
}

.ai-table-header { margin-bottom: 15px; }

.ai-main-title {
    text-align: center;
    color: #1A2B4C; /* ディープネイビーに変更 */
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.ai-sub-title {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    text-align: left;
    line-height: 1.5;
}

.ai-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    background: #fff;
    border: 1px solid #e5e7eb;
}

.ai-score-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    font-size: 13px;
    text-align: center;
}

.ai-score-table th {
    background-color: #1A2B4C; /* ディープネイビーに変更 */
    color: #ffffff;
    padding: 12px 8px;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border-right: 1px solid #2c447a; /* 境界線を少し明るいネイビーに */
}
.ai-score-table th:last-child { border-right: none; }

.ai-score-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #f3f4f6;
    vertical-align: middle;
}
.ai-score-table tbody tr:nth-child(even) { background-color: #f9fafb; }

.ai-score-table th.ai-th-app {
    position: sticky; left: 0; z-index: 2;
    background-color: #1A2B4C;
    border-right: 2px solid #D4AF37; /* ゴールドのラインでリッチに */
    width: 120px; min-width: 120px;
}
.ai-td-app {
    position: sticky; left: 0; z-index: 1;
    background-color: #ffffff;
    text-align: left !important;
    border-right: 2px solid #e5e7eb !important;
    width: 120px; min-width: 120px; max-width: 120px;
    padding: 8px 6px !important; box-sizing: border-box;
}
.ai-score-table tbody tr:nth-child(even) .ai-td-app { background-color: #f9fafb; }

.ai-td-app a {
    display: flex; align-items: center; gap: 6px;
    color: #1A2B4C; text-decoration: none; font-weight: bold; font-size: 11px;
    line-height: 1.3; white-space: normal;
}
.ai-td-app img {
    width: 30px; height: 30px; border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1); flex-shrink: 0;
}

.ai-td-total { font-weight: bold; }
.ai-score-badge {
    background: #D4AF37; /* リッチゴールドに変更 */
    color: #fff; padding: 4px 12px; border-radius: 12px;
    font-size: 14px; text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.ai-max-score {
    color: #c99306 !important; /* ゴールド系の文字色 */
    font-weight: 900 !important; background-color: #fffaf0 !important;
}

.ai-footer-note { font-size: 11px; color: #6b7280; margin-top: 8px; margin-bottom: 25px; text-align: left; }
.ai-table-wrapper::-webkit-scrollbar { height: 6px; }
.ai-table-wrapper::-webkit-scrollbar-track { background: #f3f4f6; }
.ai-table-wrapper::-webkit-scrollbar-thumb { background: #9ca3af; border-radius: 4px; }

.ai-explanation-box {
    background: #ffffff; border: 2px solid #e5e7eb; border-radius: 8px;
    padding: 20px; margin-bottom: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.ai-box-title {
    text-align: center; font-size: 16px; color: #1A2B4C; font-weight: bold;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    cursor: pointer; list-style: none;
}
.ai-box-title::-webkit-details-marker { display: none; }
.ai-explanation-box[open] .ai-box-title {
    margin-bottom: 15px; padding-bottom: 12px; border-bottom: 1px dashed #cbd5e1;
}
.ai-lead-text { font-size: 13.5px; line-height: 1.8; color: #374151; margin-bottom: 20px; text-align: left; }

.ai-marker {
    background: linear-gradient(transparent 60%, #fbe8a6 60%); /* ゴールドのマーカー */
    font-weight: bold; color: #1A2B4C;
}

.ai-criteria-list {
    display: flex; flex-direction: column; gap: 12px;
    background: #f8fafc; padding: 15px; border-radius: 6px;
}
.ai-criteria-item { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; line-height: 1.6; }
.ai-criteria-label {
    background: #1A2B4C; color: #ffffff; padding: 4px 10px;
    border-radius: 4px; font-weight: bold; font-size: 11px; white-space: nowrap;
    min-width: 85px; text-align: center; flex-shrink: 0;
}
.ai-criteria-desc { color: #4b5563; text-align: left; }

@media screen and (max-width: 480px) {
    .ai-criteria-item { flex-direction: column; gap: 6px; }
    .ai-criteria-label { display: inline-block; min-width: auto; }
}