/* セキュリティ診断（sorabun.com/security/check/）。legal.css と alerts.css の上に重ねる。 */

.alerts-page .scan { background: var(--bg-soft); border: 2px solid #DCE8FB; border-radius: var(--radius); padding: 22px 24px; margin: 0 0 26px; }
.alerts-page .scan label.field { display: block; font-weight: 700; color: var(--navy); font-size: 14.5px; margin-bottom: 6px; }
.alerts-page .scan input[type="url"] {
	width: 100%; font: inherit; font-size: 16px; padding: 12px 14px;
	border: 2px solid #C9D8F5; border-radius: 10px; background: #fff; color: var(--text);
}
.alerts-page .scan input[type="url"]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(78,125,240,.2); }
.alerts-page .scan .agree { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 6px; font-size: 14px; }
.alerts-page .scan .agree input { margin-top: 5px; flex: none; width: 18px; height: 18px; }
.alerts-page .scan #cf { margin: 12px 0 4px; min-height: 0; }
.alerts-page .scan button.btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 16px; margin-top: 10px; }
.alerts-page .scan button.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.alerts-page .scan .msg { min-height: 1.6em; margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.alerts-page .scan .msg.bad { color: #C62828; font-weight: 700; }
.alerts-page .scan .msg.wait { color: var(--blue); }

.alerts-page ul.checks { margin: 8px 0 0 1.2em; font-size: 13.5px; }
.alerts-page .two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; margin: 0 0 22px; }
.alerts-page .two > div { border: 1px solid #E3ECFB; border-radius: 12px; padding: 14px 16px; background: #fff; }
.alerts-page .two h3 { margin: 0 0 6px; font-size: 15px; }
.alerts-page .two ul { margin: 0 0 0 1.2em; font-size: 13.5px; }

/* 結果 */
.alerts-page #result { display: none; margin: 8px 0 18px; scroll-margin-top: 84px; }
.alerts-page .verdict { border-radius: var(--radius); padding: 18px 20px; margin: 0 0 16px; border: 2px solid; }
.alerts-page .verdict h2 { margin: 0 0 6px; padding: 0; border: 0; font-size: 18px; }
.alerts-page .verdict p { margin: 0; font-size: 14px; }
.alerts-page .verdict.bad { background: #FFF1F0; border-color: #F3B8B2; }
.alerts-page .verdict.bad h2 { color: #C62828; }
.alerts-page .verdict.warn { background: #FFF8E6; border-color: #F0C24B; }
.alerts-page .verdict.warn h2 { color: #8A5A00; }
.alerts-page .verdict.ok { background: #EEF9F2; border-color: #A9DEBE; }
.alerts-page .verdict.ok h2 { color: #1a7f37; }
.alerts-page .verdict.info { background: var(--bg-soft); border-color: #DCE8FB; }
.alerts-page .verdict.info h2 { color: var(--navy); }

.alerts-page .vuln { border-top: 1px solid #EEF2F7; padding: 10px 0 2px; }
.alerts-page .vuln:first-of-type { border-top: 0; padding-top: 0; }
.alerts-page .vuln .t { margin: 0 0 4px; font-size: 13.5px; font-weight: 700; overflow-wrap: anywhere; }
.alerts-page .pill { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; border-radius: 999px; padding: 1px 9px; margin-right: 6px; background: #546E7A; }
.alerts-page .pill.critical { background: #C62828; }
.alerts-page .pill.high { background: #B45309; }
.alerts-page .pill.medium { background: #8A6D00; }
.alerts-page .pill.low { background: #546E7A; }
.alerts-page .vuln .m { font-size: 13px; margin: 0 0 4px; color: var(--muted); overflow-wrap: anywhere; }
.alerts-page .vuln .m a { color: var(--blue); }
.alerts-page .okbox { border: 1px solid #E3ECFB; border-radius: 12px; background: #fff; padding: 4px 16px; margin: 0 0 14px; }
.alerts-page .okbox summary { cursor: pointer; padding: 10px 0; font-weight: 700; font-size: 14px; color: var(--navy); }
.alerts-page .okbox ul { margin: 0 0 10px 1.2em; font-size: 13.5px; }
.alerts-page .ver-src { color: var(--muted); font-size: 12px; margin-left: 6px; font-weight: 400; }

@media (max-width: 480px) {
	.alerts-page .scan { padding: 16px 16px; }
	.alerts-page .verdict { padding: 14px 14px; }
}
