/* AI Ron の AI対応診断 - 専用CSS */

.aicheck-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 10px;
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

/* ヒーローセクション */
.aicheck-hero {
    text-align: center;
    padding: 40px 0 30px;
}
.aicheck-hero h1,
.aicheck-hero .aicheck-h1-style {
    font-size: 36px;
    color: #1a1a2e;
    margin-bottom: 8px;
    font-weight: 700;
}
.aicheck-hero .aicheck-subtitle {
    font-size: 15px;
    color: #555;
    margin-bottom: 24px;
}
.aicheck-hero .aicheck-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #4ecca3;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 20px;
}

/* URL入力フォーム */
.aicheck-form {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}
.aicheck-form input[type="url"] {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    outline: none;
}
.aicheck-form input[type="url"]:focus {
    border-color: #1a73e8;
}
.aicheck-form input[type="url"]::placeholder {
    color: #aaa;
}
.aicheck-form button {
    padding: 14px 28px;
    background: linear-gradient(135deg, #1a73e8, #1557b0);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}
.aicheck-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26,115,232,0.3);
}
.aicheck-form button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* チェック項目一覧（初期表示） */
.aicheck-items-preview {
    margin: 40px 0;
    padding: 30px 10px;
    background: #f8f9fa;
    border-radius: 12px;
}
.aicheck-items-preview h2 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 20px;
    text-align: center;
}
.aicheck-category-preview {
    margin-bottom: 20px;
}
.aicheck-category-preview h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    padding-left: 8px;
    border-left: 3px solid #1a73e8;
}
.aicheck-category-preview ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.aicheck-category-preview li {
    background: #fff;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 13px;
    color: #555;
    border: 1px solid #e0e0e0;
}

/* プログレス表示 */
.aicheck-progress {
    display: none;
    text-align: center;
    padding: 60px 20px;
}
.aicheck-progress.active {
    display: block;
}
.aicheck-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e0e0e0;
    border-top-color: #1a73e8;
    border-radius: 50%;
    animation: aicheck-spin 0.8s linear infinite;
    margin: 0 auto 20px;
}
@keyframes aicheck-spin {
    to { transform: rotate(360deg); }
}
.aicheck-progress-text {
    font-size: 16px;
    color: #555;
}
.aicheck-progress-step {
    font-size: 13px;
    color: #888;
    margin-top: 8px;
}

/* 結果セクション */
.aicheck-results {
    display: none;
    margin-top: 30px;
}
.aicheck-results.active {
    display: block;
}

/* 総合スコア */
.aicheck-overall {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 16px;
    color: #fff;
    margin-bottom: 30px;
}
.aicheck-grade {
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}
.aicheck-grade.grade-S { color: #ffd700; }
.aicheck-grade.grade-A { color: #4ecca3; }
.aicheck-grade.grade-B { color: #7ec8e3; }
.aicheck-grade.grade-C { color: #f0a500; }
.aicheck-grade.grade-D { color: #e94560; }
.aicheck-grade.grade-F { color: #ff4444; }
.aicheck-score-number {
    font-size: 24px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 4px;
}
.aicheck-score-label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}
.aicheck-url-display {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-top: 12px;
    word-break: break-all;
}

/* カテゴリスコアバー */
.aicheck-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
}
.aicheck-cat-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    transition: box-shadow 0.2s;
}
.aicheck-cat-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.aicheck-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.aicheck-cat-name {
    font-size: 15px;
    font-weight: 700;
    color: #333;
}
.aicheck-cat-percent {
    font-size: 22px;
    font-weight: 800;
}
.aicheck-cat-bar {
    height: 8px;
    background: #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}
.aicheck-cat-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-out;
}
.aicheck-cat-desc {
    font-size: 12px;
    color: #888;
}

/* スコア色 */
.score-excellent { color: #4ecca3; }
.score-good { color: #7ec8e3; }
.score-fair { color: #f0a500; }
.score-poor { color: #e94560; }
.bar-excellent { background: #4ecca3; }
.bar-good { background: #7ec8e3; }
.bar-fair { background: #f0a500; }
.bar-poor { background: #e94560; }

/* 詳細チェック項目 */
.aicheck-detail-section {
    margin-bottom: 30px;
}
.aicheck-detail-section h2 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0e0e0;
}
.aicheck-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: border-color 0.2s;
}
.aicheck-item:hover {
    border-color: #1a73e8;
}
.aicheck-item-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}
.aicheck-item-body {
    flex: 1;
}
.aicheck-item-name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}
.aicheck-item-message {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}
.aicheck-item-action {
    font-size: 13px;
    color: #1a73e8;
    margin-top: 6px;
    padding: 6px 10px;
    background: #e8f0fe;
    border-radius: 6px;
    line-height: 1.5;
}
.aicheck-item-action a {
    color: #1557b0;
    text-decoration: underline;
}
.aicheck-item-score {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    background: #f0f0f0;
}

/* アクション優先リスト */
.aicheck-actions {
    background: #fff;
    border: 2px solid #1a73e8;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
}
.aicheck-actions h2 {
    font-size: 18px;
    color: #1a73e8;
    margin-bottom: 16px;
}
.aicheck-action-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}
.aicheck-action-item:last-child {
    border-bottom: none;
}
.aicheck-action-rank {
    background: #1a73e8;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}
.aicheck-action-text {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}
.aicheck-action-text strong {
    color: #1a1a2e;
}
.aicheck-action-text a {
    color: #1557b0;
}

/* CTA: 有料版 */
.aicheck-premium-cta {
    background: linear-gradient(135deg, #f8f9fa, #e8f0fe);
    border: 2px dashed #1a73e8;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin: 30px 0;
}
.aicheck-premium-cta h3 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.aicheck-premium-cta p {
    font-size: 14px;
    color: #555;
    margin-bottom: 16px;
}
.aicheck-premium-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}
.aicheck-premium-features span {
    background: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #1a73e8;
    border: 1px solid #1a73e8;
}
.aicheck-premium-cta .coming-soon {
    display: inline-block;
    padding: 10px 24px;
    background: #1a73e8;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

/* フッター */
.aicheck-footer {
    text-align: center;
    padding: 30px 0;
    color: #888;
    font-size: 13px;
}
.aicheck-footer a {
    color: #1a73e8;
}

/* エラー表示 */
.aicheck-error {
    display: none;
    text-align: center;
    padding: 30px;
    background: #fff5f5;
    border: 1px solid #e94560;
    border-radius: 8px;
    margin-top: 20px;
}
.aicheck-error.active {
    display: block;
}
.aicheck-error-text {
    color: #e94560;
    font-size: 15px;
}

/* FAQ（details/summary）*/
#aicheck-faq {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 30px 20px;
}
#aicheck-faq h2 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 2px solid #1a73e8;
}
#aicheck-faq details {
    margin-bottom: 12px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
#aicheck-faq details:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
#aicheck-faq details[open] {
    border-color: #1a73e8;
}
#aicheck-faq summary {
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    background: #fafafa;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
#aicheck-faq summary::-webkit-details-marker {
    display: none;
}
#aicheck-faq summary::before {
    content: '▶';
    font-size: 11px;
    color: #1a73e8;
    transition: transform 0.2s;
    flex-shrink: 0;
}
#aicheck-faq details[open] summary::before {
    transform: rotate(90deg);
}
#aicheck-faq summary:hover {
    background: #f0f4ff;
}
#aicheck-faq details p {
    padding: 14px 18px;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0;
    border-top: 1px solid #f0f0f0;
}
#aicheck-faq details a {
    color: #1557b0;
}

/* ガイドセクション（集大成コンテンツ） */
.aicheck-guide {
    margin: 40px 0;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}
.aicheck-guide h2 {
    font-size: 22px;
    color: #1a1a2e;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 3px solid #1a73e8;
}
.aicheck-guide h3 {
    font-size: 18px;
    color: #1a1a2e;
    margin: 28px 0 14px;
    padding-left: 12px;
    border-left: 4px solid #4ecca3;
}
.aicheck-guide p {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 14px;
}
.aicheck-guide blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    background: #f0f4ff;
    border-left: 4px solid #1a73e8;
    border-radius: 0 8px 8px 0;
}
.aicheck-guide blockquote p {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}
.aicheck-guide blockquote cite {
    font-size: 13px;
    color: #666;
    font-style: normal;
}
.aicheck-guide blockquote cite a {
    color: #1557b0;
}

/* 5条件 */
.aicheck-conditions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 16px 0;
}
.aicheck-condition {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    transition: border-color 0.2s;
}
.aicheck-condition:hover {
    border-color: #4ecca3;
}
.condition-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #4ecca3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    flex-shrink: 0;
}
.condition-body h4 {
    font-size: 16px;
    color: #1a1a2e;
    margin-bottom: 6px;
}
.condition-body p {
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}
.condition-link {
    font-size: 13px;
    color: #1557b0;
    text-decoration: none;
    font-weight: 700;
}
.condition-link:hover {
    text-decoration: underline;
}

/* やってはいけない */
.aicheck-warnings {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
}
.aicheck-warning {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: #fff5f5;
    border: 1px solid #fdd;
    border-radius: 8px;
}
.warning-icon {
    font-size: 20px;
    color: #e94560;
    font-weight: 900;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}
.aicheck-warning strong {
    font-size: 15px;
    color: #c0392b;
    display: block;
    margin-bottom: 4px;
}
.aicheck-warning p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}
.aicheck-warning a {
    color: #1557b0;
}

/* 実績データ */
.aicheck-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 16px 0;
}
.stat-item {
    text-align: center;
    padding: 16px 8px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 10px;
}
.stat-number {
    font-size: 24px;
    font-weight: 900;
    color: #4ecca3;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

.aicheck-guide-cta {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #1a73e8;
    margin-top: 24px;
    padding: 20px;
    background: #e8f0fe;
    border-radius: 8px;
}

/* CTA ボタン */
.aicheck-cta-area {
    text-align: center;
    margin: 36px 0;
    padding: 28px 20px;
    background: linear-gradient(135deg, #f0f4ff, #e8f0fe);
    border-radius: 12px;
    border: 1px solid #d0dff8;
}
.aicheck-cta-btn {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #1a73e8, #1557b0);
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.aicheck-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26,115,232,0.3);
    color: #fff;
    text-decoration: none;
}
.aicheck-cta-sub {
    margin-top: 10px;
    font-size: 13px;
    color: #888;
}
.aicheck-pagetop {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    color: #1a73e8;
    text-decoration: none;
}
.aicheck-pagetop:hover {
    text-decoration: underline;
}

.aicheck-transparency-note {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: #888;
}
.aicheck-transparency-note strong {
    color: #333;
}

/* 比較テーブル */
.aicheck-comparison-table {
    overflow-x: auto;
    margin: 16px 0 20px;
}
.aicheck-comparison-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 500px;
}
.aicheck-comparison-table th,
.aicheck-comparison-table td {
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    text-align: left;
    vertical-align: top;
}
.aicheck-comparison-table thead th {
    background: #1a1a2e;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}
.aicheck-comparison-table thead th.highlight-col {
    background: #1a73e8;
    color: #fff;
}
.aicheck-comparison-table tbody td {
    background: #fff;
    color: #555;
}
.aicheck-comparison-table tbody td.highlight-col {
    background: #e8f0fe;
    color: #1a1a2e;
    font-weight: 600;
}
.aicheck-comparison-table tbody tr:hover td {
    background: #f8f9fa;
}
.aicheck-comparison-table tbody tr:hover td.highlight-col {
    background: #d6e4f8;
}

/* コードブロック */
.aicheck-code-block {
    margin: 16px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}
.aicheck-code-block .code-label {
    background: #1a1a2e;
    color: #4ecca3;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
}
.aicheck-code-block pre {
    margin: 0;
    padding: 16px;
    background: #1a1a2e;
    overflow-x: auto;
}
.aicheck-code-block code {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    color: #fff;
    line-height: 1.6;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .aicheck-hero .aicheck-subtitle { text-align: left; }
    .aicheck-form { flex-direction: column; }
    .aicheck-form button { width: 100%; }
    .aicheck-categories { grid-template-columns: 1fr; }
    .aicheck-grade { font-size: 56px; }
    .aicheck-overall { padding: 30px 20px; }
    .aicheck-stats { grid-template-columns: repeat(2, 1fr); }
    .aicheck-condition { flex-direction: column; }
}
