/* =========================================================
   itdm online clinic — ご利用ガイド (clinic-guide) v1.0.0
   クラス接頭辞: .itdm-guide-
   ========================================================= */

.itdm-guide-wrap {
	--g-primary: #2563eb;
	--g-accent: #06b6d4;
	--g-ink: #0f172a;
	--g-muted: #64748b;
	--g-line: #e5e7eb;
	--g-soft: #f8fafc;
	color: var(--g-ink);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	line-height: 1.8;
}

.itdm-guide-wrap * {
	box-sizing: border-box;
}

/* hero */
.itdm-guide-hero {
	text-align: center;
	padding: 48px 20px;
	color: #fff;
	background: linear-gradient(135deg, #1d4ed8, #2563eb 50%, #06b6d4);
	border-radius: 0 0 24px 24px;
}

.itdm-guide-hero h1 {
	margin: 0 0 10px;
	font-size: 30px;
	font-weight: 900;
}

.itdm-guide-hero p {
	margin: 0 auto;
	max-width: 600px;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.94);
}

/* section */
.itdm-guide-section {
	max-width: 880px;
	margin: 0 auto;
	padding: 44px 20px;
}

.itdm-guide-section--alt {
	max-width: none;
	background: var(--g-soft);
}

.itdm-guide-section--alt > * {
	max-width: 880px;
	margin-left: auto;
	margin-right: auto;
}

.itdm-guide-h2 {
	margin: 0 0 22px;
	font-size: 23px;
	font-weight: 900;
	text-align: center;
}

/* cards */
.itdm-guide-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.itdm-guide-card {
	background: #fff;
	border: 1px solid var(--g-line);
	border-radius: 16px;
	padding: 22px 18px;
	text-align: center;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.itdm-guide-card__icon {
	font-size: 30px;
}

.itdm-guide-card h3 {
	margin: 10px 0 6px;
	font-size: 16px;
	font-weight: 900;
}

.itdm-guide-card p {
	margin: 0;
	font-size: 13.5px;
	color: var(--g-muted);
}

/* steps */
.itdm-guide-steps {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.itdm-guide-steps li {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--g-line);
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.itdm-guide-step__num {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--g-primary), var(--g-accent));
	color: #fff;
	font-size: 18px;
	font-weight: 900;
}

.itdm-guide-steps h3 {
	margin: 4px 0 6px;
	font-size: 16px;
	font-weight: 900;
}

.itdm-guide-steps p {
	margin: 0;
	font-size: 14px;
	color: var(--g-muted);
}

/* notes */
.itdm-guide-note {
	background: #fff;
	border: 1px solid var(--g-line);
	border-radius: 16px;
	padding: 20px 22px;
	margin-bottom: 14px;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.itdm-guide-note h3 {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 900;
}

.itdm-guide-note p {
	margin: 0;
	font-size: 14px;
	color: var(--g-muted);
}

/* alert */
.itdm-guide-alert {
	padding: 18px 22px;
	border: 1px solid #fed7aa;
	border-left: 5px solid #f97316;
	border-radius: 14px;
	background: #fff7ed;
	color: #9a3412;
	margin-bottom: 16px;
}

.itdm-guide-alert strong {
	font-weight: 900;
}

.itdm-guide-alert p {
	margin: 6px 0 0;
	font-size: 13.5px;
}

.itdm-guide-list {
	margin: 0;
	padding-left: 20px;
	font-size: 14px;
	color: var(--g-muted);
}

.itdm-guide-list li {
	margin-bottom: 6px;
}

.itdm-guide-list a {
	color: var(--g-primary);
	font-weight: 700;
}

/* cta */
.itdm-guide-cta {
	text-align: center;
	padding: 48px 20px;
	color: #fff;
	background: linear-gradient(135deg, #1d4ed8, #2563eb 50%, #06b6d4);
}

.itdm-guide-cta h2 {
	margin: 0 0 18px;
	font-size: 22px;
	font-weight: 900;
}

.itdm-guide-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 14px 36px;
	border-radius: 999px;
	background: #fff;
	color: #1d4ed8 !important;
	font-size: 16px;
	font-weight: 900;
	text-decoration: none !important;
	box-shadow: 0 10px 24px rgba(2, 6, 23, 0.18);
}

@media (min-width: 720px) {
	.itdm-guide-hero h1 {
		font-size: 38px;
	}
	.itdm-guide-cards {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 480px) {
	.itdm-guide-cards {
		grid-template-columns: 1fr;
	}
}
