/* WordPress無料診断（/ax-di/）— ax.html と同じトーン */
.axdi { color: #3b3f4f; }
.axdi [hidden] { display: none !important; }
.axdi a { color: #2844e6; }

/* ヒーロー */
.axdi-hero { position: relative; padding: 32px 0 56px; background: radial-gradient(circle at 6% 20%, rgba(251,112,134,.14), transparent 36%), radial-gradient(circle at 94% 70%, rgba(40,68,230,.14), transparent 40%), #f5f7ff; }
@media screen and (min-width: 1200px) { .axdi-hero { padding-top: 140px; } }
.axdi-breadcrumb { font-size: 12px; line-height: 1.6; color: #8a8fa3; margin: 0 0 28px; }
.axdi-breadcrumb a { color: #5c6170; }
.axdi-breadcrumb span { margin: 0 6px; }
.axdi-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.axdi-eyebrow { display: inline-block; font-family: 'europa', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: #fff; padding: 5px 14px; border-radius: 30px; background: linear-gradient(to left, #2844e6 0%, #fb7086 100%); margin-bottom: 18px; }
.axdi-hero h1 { font-size: 40px; line-height: 1.45; font-weight: 700; color: #181b31; margin: 0 0 18px; }
.axdi-lead { font-size: 16px; line-height: 1.9; margin: 0 0 20px; }
.axdi-points { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.axdi-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700 !important; color: #181b31; background: #fff; border-radius: 30px; padding: 8px 16px; box-shadow: 0 8px 24px rgba(40,68,230,.10); }
.axdi-points i { color: #fb7086; }
.axdi-alert { background: #fff; border-radius: 16px; padding: 26px 26px 22px; border-left: 5px solid #fb7086; box-shadow: 0 20px 50px rgba(37,76,142,.10); }
.axdi-alert__label { display: inline-block; font-size: 12px; font-weight: 700; color: #d6264f; background: #ffe8ee; border-radius: 20px; padding: 3px 12px; margin: 0 0 10px !important; }
.axdi-alert p { font-size: 14px; line-height: 1.85; margin: 0 0 12px; }
.axdi-alert a { font-size: 14px; font-weight: 700; }

/* フォーム */
.axdi-main { padding: 0 0 80px; margin-top: -24px; position: relative; }
.axdi-panel { max-width: 860px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 40px 44px; box-shadow: 0 24px 60px rgba(37,76,142,.14); position: relative; overflow: hidden; }
.axdi-panel:before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(to left, #2844e6 0%, #fb7086 100%); }
.axdi-field { margin-bottom: 20px; }
.axdi-field label { display: block; font-size: 15px; font-weight: 700; color: #181b31; margin-bottom: 8px; }
.axdi-req, .axdi-opt { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 4px; padding: 2px 6px; margin-left: 6px; vertical-align: 1px; }
.axdi-req { color: #fff; background: #fb7086; }
.axdi-opt { color: #6b7083; background: #eef0f6; }
.axdi-field input, .axdi-field textarea { width: 100%; font-size: 16px; color: #181b31; background: #f9faff; border: 1px solid #d9ddec; border-radius: 10px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s; }
.axdi-field input:focus, .axdi-field textarea:focus { outline: none; border-color: #2844e6; box-shadow: 0 0 0 3px rgba(40,68,230,.15); background: #fff; }
.axdi-field textarea { resize: vertical; }
.axdi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.axdi-help { font-size: 12px; line-height: 1.7; color: #6b7083; margin: 6px 0 0; }
.axdi-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.axdi-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.8; color: #3b3f4f; background: #f5f7ff; border-radius: 10px; padding: 14px 16px; margin: 4px 0 20px; cursor: pointer; font-weight: 400; }
.axdi-consent input { margin-top: 5px; width: 18px; height: 18px; flex: 0 0 18px; accent-color: #2844e6; }
.axdi-error { color: #b4234a; background: #ffeef2; border-radius: 10px; padding: 12px 16px; font-size: 14px; font-weight: 700; margin: 0 0 16px; }
.axdi-submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; font-size: 18px; font-weight: 700; color: #fff; border: 0; border-radius: 50px; padding: 18px 24px; cursor: pointer; background: linear-gradient(to left, #2844e6 0%, #fb7086 100%); box-shadow: 0 14px 34px rgba(40,68,230,.28); transition: transform .2s, box-shadow .2s, opacity .2s; }
.axdi-submit:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(40,68,230,.34); }
.axdi-submit:disabled { opacity: .6; cursor: wait; transform: none; }
.axdi-note { font-size: 12px; line-height: 1.7; color: #6b7083; text-align: center; margin: 14px 0 0; }

/* 診断中 */
.axdi-progress { text-align: center; padding: 20px 0; }
.axdi-progress__title { font-size: 20px; font-weight: 700; color: #181b31; margin: 0 0 20px; }
.axdi-steps { list-style: none; padding: 0; margin: 0 auto 20px; max-width: 360px; text-align: left; }
.axdi-steps li { position: relative; padding: 8px 0 8px 34px; font-size: 15px; color: #a0a4b5; font-weight: 400 !important; }
.axdi-steps li:before { content: ""; position: absolute; left: 4px; top: 12px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #d9ddec; }
.axdi-steps li.is-active { color: #181b31; font-weight: 700 !important; }
.axdi-steps li.is-active:before { border-color: #2844e6; border-top-color: transparent; animation: axdi-spin .8s linear infinite; }
.axdi-steps li.is-done { color: #1b8a55; }
.axdi-steps li.is-done:before { border-color: #1b8a55; background: #1b8a55; }
@keyframes axdi-spin { to { transform: rotate(360deg); } }
.axdi-bar { height: 6px; background: #eef0f6; border-radius: 6px; overflow: hidden; max-width: 420px; margin: 0 auto 12px; }
.axdi-bar span { display: block; height: 100%; width: 0; background: linear-gradient(to left, #2844e6 0%, #fb7086 100%); transition: width .25s linear; }

/* 結果 */
.axdi-result:focus { outline: none; }
.axdi-result__head { display: flex; gap: 24px; align-items: center; margin-bottom: 22px; }
.axdi-grade { flex: 0 0 104px; height: 104px; border-radius: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #2844e6, #6a7cff); }
.axdi-grade span { font-size: 12px; font-weight: 700; letter-spacing: .1em; opacity: .9; }
.axdi-grade b { font-family: 'europa', sans-serif; font-size: 52px; line-height: 1; }
.axdi-grade--C { background: linear-gradient(135deg, #e08a00, #f5b43b); }
.axdi-grade--D, .axdi-grade--E { background: linear-gradient(135deg, #d6264f, #fb7086); }
.axdi-result__url { font-size: 13px; color: #6b7083; word-break: break-all; margin: 0 0 4px; }
.axdi-result h2 { font-size: 24px; line-height: 1.5; font-weight: 700; color: #181b31; margin: 0 0 4px; }
.axdi-result__env { font-size: 14px; color: #3b3f4f; margin: 0; }
.axdi-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; list-style: none; padding: 0; margin: 0 0 16px; }
.axdi-summary li { text-align: center; border-radius: 12px; padding: 12px 6px; font-size: 13px; font-weight: 700 !important; background: #f5f7ff; color: #3b3f4f; }
.axdi-summary b { display: block; font-family: 'europa', sans-serif; font-size: 28px; line-height: 1.2; }
.axdi-summary .is-danger b { color: #d6264f; }
.axdi-summary .is-warn b { color: #e08a00; }
.axdi-summary .is-unknown b { color: #6b7083; }
.axdi-summary .is-ok b { color: #1b8a55; }
.axdi-mailnote { font-size: 13px; color: #254c8e; background: #eef3ff; border-radius: 10px; padding: 10px 14px; margin: 0 0 22px; }
.axdi-mailnote i { margin-right: 6px; }
.axdi-finding { border: 1px solid #e6e9f5; border-left-width: 5px; border-radius: 12px; padding: 18px 20px 8px; margin-bottom: 14px; }
.axdi-finding--danger { border-left-color: #d6264f; background: #fffafb; }
.axdi-finding--warn { border-left-color: #e08a00; }
.axdi-finding--unknown { border-left-color: #a0a4b5; }
.axdi-finding--ok { border-left-color: #1b8a55; }
.axdi-finding__head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 8px; }
.axdi-finding h3 { font-size: 16px; line-height: 1.6; font-weight: 700; color: #181b31; margin: 0; }
.axdi-finding p { font-size: 14px; line-height: 1.85; margin: 0 0 10px; }
.axdi-advice { color: #254c8e; }
.axdi-badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: #fff; border-radius: 20px; padding: 3px 10px; margin-top: 2px; }
.axdi-badge--danger { background: #d6264f; }
.axdi-badge--warn { background: #e08a00; }
.axdi-badge--unknown { background: #8a8fa3; }
.axdi-badge--ok { background: #1b8a55; }
.axdi-vtable-wrap { overflow-x: auto; margin: 4px 0 10px; }
.axdi-vtable { width: 100%; min-width: 460px; border-collapse: collapse; font-size: 13px; }
.axdi-vtable th { text-align: left; font-weight: 700; color: #fff; background: #254c8e; padding: 8px 10px; }
.axdi-vtable td { padding: 8px 10px; border-top: 1px solid #e6e9f5; vertical-align: top; }
.axdi-sev { font-weight: 700; }
.axdi-sev--critical { color: #b4234a; }
.axdi-sev--high { color: #d6264f; }
.axdi-sev--medium { color: #e08a00; }
.axdi-kev { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: #b4234a; border-radius: 4px; padding: 1px 6px; margin-left: 4px; }
.axdi-more { font-size: 12px; color: #6b7083; }
.axdi-disclaimer { font-size: 12px; line-height: 1.8; color: #6b7083; background: #f9faff; border-radius: 10px; padding: 12px 16px; margin: 18px 0; }
.axdi-result__cta { text-align: center; background: #f5f7ff; border-radius: 14px; padding: 22px; margin-bottom: 14px; }
.axdi-result__cta p { font-size: 14px; margin: 0 0 14px; }
.axdi-again { text-align: center; font-size: 14px; margin: 0; }

/* 診断項目 */
.axdi-section { padding: 90px 0; }
.axdi-section--tint { background: #f5f7ff; }
.axdi-title { text-align: center; margin-bottom: 44px; }
.axdi-title h6 { color: var(--color-primary); font-weight: 700; letter-spacing: .2em; margin-bottom: 12px; }
.axdi-title h2 { font-size: 30px; font-weight: 700; line-height: 1.5; color: #181b31; margin: 0 0 14px; }
.axdi-title p { font-size: 15px; line-height: 1.9; margin: 0; }
.axdi-checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.axdi-check { background: #fff; border-radius: 14px; padding: 26px 24px; box-shadow: 0 12px 32px rgba(37,76,142,.08); }
.axdi-check i { font-size: 28px; margin-bottom: 12px; background: linear-gradient(to left, #2844e6 0%, #fb7086 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.axdi-check h3 { font-size: 17px; font-weight: 700; color: #181b31; margin: 0 0 8px; }
.axdi-check p { font-size: 14px; line-height: 1.85; margin: 0; }
.axdi-source { text-align: center; font-size: 13px; color: #6b7083; margin: 28px 0 0; }

/* CTA */
.axdi-cta { border-radius: 20px; padding: 48px 40px; color: #fff; text-align: center; background: linear-gradient(125deg, #1f2f8f 0%, #2844e6 48%, #a45bd6 78%, #fb7086 100%); }
.axdi-cta__eyebrow { font-family: 'europa', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .25em; opacity: .85; margin: 0 0 10px !important; }
.axdi-cta h2 { color: #fff; font-size: 28px; line-height: 1.5; margin: 0 0 14px; }
.axdi-cta p { color: rgba(255,255,255,.92); font-size: 15px; line-height: 1.9; max-width: 680px; margin: 0 auto 18px; }
.axdi-cta__price { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 24px; }
.axdi-cta__price span { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); border-radius: 30px; padding: 6px 16px; font-size: 14px; font-weight: 700; }
.axdi-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.axdi-btn { display: inline-block; font-weight: 700; text-decoration: none; border-radius: 40px; padding: 14px 30px; transition: transform .2s; }
.axdi-btn:hover { transform: translateY(-2px); text-decoration: none; }
.axdi-btn--white { background: #fff; color: #2844e6 !important; }
.axdi-btn--ghost { border: 1px solid rgba(255,255,255,.7); color: #fff !important; }
.axdi-btn--primary { background: linear-gradient(to left, #2844e6 0%, #fb7086 100%); color: #fff !important; }
.axdi-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.axdi-links a { display: block; font-size: 14px; font-weight: 700; line-height: 1.6; color: #181b31; background: #f5f7ff; border-radius: 12px; padding: 16px 18px; text-decoration: none; }
.axdi-links a:hover { color: #2844e6; }

@media screen and (max-width: 991px) {
	.axdi-hero__grid { grid-template-columns: 1fr; gap: 24px; }
	.axdi-checks { grid-template-columns: 1fr 1fr; }
	.axdi-links { grid-template-columns: 1fr; }
}
@media screen and (max-width: 767px) {
	.axdi-hero { padding: 20px 0 48px; }
	.axdi-hero h1 { font-size: 26px; }
	.axdi-panel { padding: 30px 20px; border-radius: 16px; }
	.axdi-row { grid-template-columns: 1fr; gap: 0; }
	.axdi-submit { font-size: 16px; }
	.axdi-result__head { flex-direction: column; align-items: flex-start; gap: 14px; }
	.axdi-grade { flex-basis: 84px; width: 84px; height: 84px; }
	.axdi-grade b { font-size: 42px; }
	.axdi-result h2 { font-size: 20px; }
	.axdi-summary { grid-template-columns: repeat(2, 1fr); }
	.axdi-section { padding: 64px 0; }
	.axdi-title h2 { font-size: 23px; }
	.axdi-checks { grid-template-columns: 1fr; }
	.axdi-cta { padding: 36px 20px; }
	.axdi-cta h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.axdi-steps li.is-active:before { animation: none; }
	.axdi-bar span { transition: none; }
}
