/* ===============================
   SysMLv2 Modeler 製品ページ / アーリーアクセスページ 共通スタイル
   （sm- 接頭辞。スマホでは <html class="sp-custom"> により共通の汎用調整の対象外とし、
     下部のメディアクエリで専用レイアウトにする）
   =============================== */
.sm-page {
	--sm-accent: #483f66;
	--sm-accent-dark: #362f4d;
	--sm-gradient: linear-gradient(120deg, #483f66 0%, #7a6fa0 100%);
	--sm-soft: #f4f3f8;
	--sm-text: #23382A;
	--sm-sub: #555;
	--sm-border: #e1dfea;
	color: #222;
}

.sm-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.sm-container--narrow {
	max-width: 900px;
}

.sm-section {
	padding: 88px 0;
}

.sm-section--soft {
	background: #fcfcfc;
}

/* セクション見出し */
.sm-page h2.sm-heading {
	font-size: 32px;
	font-weight: bold;
	line-height: 1.3;
	text-align: center;
	margin: 0 0 16px;
}

/* リード文 */
.sm-page .sm-lead {
	font-size: 17px;
	font-weight: normal;
	line-height: 1.9;
	text-align: center;
	color: var(--sm-sub);
	margin: 0 auto 48px;
	max-width: 900px;
}

.sm-center {
	text-align: center;
}

/* ---------- アイコン ---------- */
.sm-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--sm-soft);
	color: var(--sm-accent);
	flex-shrink: 0;
}

.sm-icon svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.sm-icon--fill {
	background: var(--sm-gradient);
	color: #fff;
}

.sm-icon--sm {
	width: 40px;
	height: 40px;
	border-radius: 12px;
}

.sm-icon--sm svg {
	width: 22px;
	height: 22px;
}

/* ---------- ボタン ---------- */
.sm-btn {
	display: inline-block;
	padding: 16px 40px;
	border-radius: 999px;
	background: var(--sm-gradient);
	color: #fff !important;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 6px 18px rgba(72, 63, 102, .3);
	transition: transform .2s, box-shadow .2s;
}

.sm-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(72, 63, 102, .4);
}

.sm-btn--outline {
	background: #fff;
	color: var(--sm-accent) !important;
	border: 2px solid var(--sm-accent);
	box-shadow: none;
	font-size: 16px;
	padding: 12px 32px;
}

.sm-btn--outline:hover {
	background: var(--sm-soft);
	box-shadow: none;
}

.sm-btn--sm {
	font-size: 16px;
	padding: 12px 28px;
}

/* ---------- ヒーロー ---------- */
.sm-hero {
	padding: 64px 0 40px;
	text-align: center;
	background: linear-gradient(180deg, var(--sm-soft) 0%, #fcfcfc 100%);
}

.sm-badge {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 999px;
	background: var(--sm-gradient);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .05em;
}

.sm-page .sm-hero h1 {
	font-size: 64px;
	font-weight: 800;
	letter-spacing: .01em;
	margin: 20px 0 12px;
	line-height: 1.15;
}

/* キャッチ */
.sm-page .sm-catch {
	font-size: 24px;
	font-weight: bold;
	line-height: 1.5;
	margin: 0 0 20px;
	color: var(--sm-accent);
}

/* ヒーロー本文 */
.sm-page .sm-hero-text {
	font-size: 17px;
	line-height: 1.9;
	color: var(--sm-sub);
	margin: 0 auto 32px;
	max-width: 880px;
}

.sm-page .sm-hero-note {
	font-size: 13px;
	line-height: 1.7;
	color: #888;
	margin-top: 16px;
}

.sm-hero-image {
	margin: 48px auto 0;
	max-width: 1000px;
}

.sm-hero-image img,
.sm-shot img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
}

/* 左右2カラムのヒーロー（アーリーアクセスページ） */
.sm-hero--split {
	text-align: left;
	padding: 112px 0 80px;
}

.sm-hero-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.sm-page .sm-hero--split h1 {
	text-align: left;
	margin: 20px 0 20px;
}

.sm-hero--split .sm-hero-product {
	display: block;
	font-size: 52px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: .01em;
	color: var(--sm-text-strong, #222);
}

.sm-hero--split .sm-hero-title {
	display: block;
	margin-top: 12px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--sm-accent);
}

.sm-hero--split .sm-hero-text {
	margin: 0 0 28px;
}

.sm-btn-group {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* ---------- ポイント（2カラム） ---------- */
.sm-twocol {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.sm-point {
	background: #fff;
	border: 1px solid var(--sm-border);
	border-radius: 16px;
	padding: 32px;
}

.sm-point-head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}

.sm-point-label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--sm-accent);
	letter-spacing: .08em;
}

.sm-page .sm-point h3 {
	text-align: left;
	font-size: 20px;
	font-weight: 700;
	margin: 2px 0 0;
	line-height: 1.5;
}

.sm-page .sm-point p {
	font-size: 15px;
	line-height: 1.9;
	color: var(--sm-sub);
	margin: 0;
}

/* ---------- 特長カード ---------- */
.sm-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.sm-feature {
	position: relative;
	background: #fff;
	border: 1px solid #e1e5e9;
	border-radius: 24px;
	padding: 36px 28px 28px;
	overflow: hidden;
	transition: transform .3s, box-shadow .3s;
}

.sm-feature::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: var(--sm-gradient);
}

.sm-feature:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 32px rgba(0, 0, 0, .12);
}

.sm-page .sm-feature h3 {
	text-align: left;
	font-size: 19px;
	font-weight: 700;
	color: #1d1d1f;
	margin: 20px 0 12px;
	line-height: 1.4;
}

.sm-page .sm-feature p {
	font-size: 15px;
	line-height: 1.8;
	color: var(--sm-sub);
	margin: 0;
}

/* ---------- 比較表 ---------- */
.sm-table-wrap {
	overflow-x: auto;
	max-width: 860px;
	margin: 0 auto;
}

table.sm-compare {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	font-size: 15px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

table.sm-compare th,
table.sm-compare td {
	padding: 16px 20px;
	border-bottom: 1px solid #eee;
	text-align: left;
	vertical-align: middle;
	line-height: 1.7;
}

table.sm-compare thead th {
	background: #f4f4f6;
	font-weight: 700;
	text-align: center;
}

table.sm-compare thead th.sm-col-modeler {
	background: var(--sm-gradient);
	color: #fff;
}

table.sm-compare tbody th {
	width: 22%;
	font-weight: 700;
	background: #fafafa;
}

table.sm-compare tbody td {
	width: 39%;
	text-align: center;
}

table.sm-compare tbody td.sm-col-modeler {
	background: var(--sm-soft);
	font-weight: 700;
}

/* ---------- ステップ ---------- */
.sm-tint {
	background: var(--sm-soft);
}

.sm-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 0 0 48px;
}

.sm-step {
	background: #fff;
	border-radius: 16px;
	padding: 32px 24px 28px;
	text-align: center;
	border: 1px solid var(--sm-border);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.sm-step-label {
	font-size: 13px;
	font-weight: 800;
	color: var(--sm-accent);
	letter-spacing: .1em;
	margin: 16px 0 4px;
}

.sm-page .sm-step h3 {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 8px;
	line-height: 1.5;
}

.sm-page .sm-step p {
	font-size: 14px;
	line-height: 1.8;
	color: var(--sm-sub);
	margin: 0;
}

.sm-step .sm-step-btn {
	margin-top: 20px;
	padding: 10px 28px;
	font-size: 15px;
}

/* ---------- 注意事項 / フォーム ---------- */
.sm-ea-body {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 32px;
	align-items: start;
}

.sm-notes {
	background: #fff;
	border-radius: 16px;
	padding: 28px;
	border: 1px solid var(--sm-border);
}

.sm-notes-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.sm-page .sm-notes h3 {
	font-size: 18px;
	font-weight: 700;
	margin: 0;
	text-align: left;
}

.sm-notes ul {
	margin: 0;
	padding-left: 1.2em;
}

.sm-notes li {
	font-size: 14px;
	line-height: 1.8;
	color: var(--sm-sub);
	margin-bottom: 8px;
}

.sm-form {
	background: #fff;
	border-radius: 16px;
	padding: 32px;
	box-shadow: 0 8px 28px rgba(72, 63, 102, .12);
}

.sm-page .sm-form h3 {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 16px;
	text-align: center;
}

/* ---------- アーリーアクセスページ：番号付きセクション ---------- */
.sm-sec-head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 12px;
}

.sm-sec-num {
	display: block;
	font-size: 13px;
	font-weight: 800;
	color: var(--sm-accent);
	letter-spacing: .1em;
}

.sm-page h2.sm-sec-title {
	font-size: clamp(1.75rem, 4vw, 2rem);
	font-weight: bold;
	text-align: left;
	margin: 0;
	line-height: 1.4;
}

.sm-page .sm-sec-lead {
	font-size: 16px;
	line-height: 1.9;
	color: #222;
	margin: 0 0 28px;
}

.sm-panel {
	background: #fff;
	border: 1px solid var(--sm-border);
	border-radius: 16px;
	padding: 32px;
}

.sm-install {
	counter-reset: sm-install;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sm-install li {
	counter-increment: sm-install;
	position: relative;
	padding: 0 0 0 48px;
	margin: 0 0 20px;
	font-size: 16px;
	line-height: 1.8;
}

.sm-install li::before {
	content: counter(sm-install);
	position: absolute;
	left: 0;
	top: -2px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--sm-gradient);
	color: #fff;
	font-weight: 800;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sm-install code,
.sm-page code.sm-code {
	background: #f1f1f4;
	border: 1px solid #e3e3e8;
	border-radius: 4px;
	padding: 1px 6px;
	font-size: 14px;
}

.sm-shot {
	margin: 16px 0 8px;
}

/* 手順の中に置くスクリーンショット */
.sm-install .sm-shot img {
	padding: 0; /* 共通CSS（ol img）の余白を打ち消す */
	border-radius: 10px;
	border: 1px solid #e3e3e8;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
}

.sm-shot--wide {
	max-width: 560px;
}

.sm-shot--narrow {
	max-width: 380px;
}

.sm-shot figcaption {
	font-size: 13px;
	color: #777;
	margin-top: 8px;
}

.sm-alert {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: #fff8ec;
	border: 1px solid #f3dcb2;
	border-radius: 12px;
	padding: 16px 20px;
	margin-top: 20px;
	font-size: 15px;
	line-height: 1.8;
	color: #6b4a12;
}

.sm-alert strong {
	white-space: nowrap;
}

.sm-guide {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.sm-guide-item {
	background: #fff;
	border: 1px solid var(--sm-border);
	border-radius: 16px;
	padding: 24px;
}

.sm-page .sm-guide-item h3 {
	font-size: 18px;
	font-weight: 700;
	text-align: left;
	margin: 16px 0 8px;
	line-height: 1.5;
}

.sm-page .sm-guide-item p {
	font-size: 14px;
	line-height: 1.8;
	color: var(--sm-sub);
	margin: 0;
}

.sm-build {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 16px;
}

.sm-anchor {
	scroll-margin-top: 24px;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
	.sm-features {
		grid-template-columns: repeat(2, 1fr);
	}

	.sm-ea-body,
	.sm-hero-split {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.sm-section {
		padding: 56px 0;
	}

	.sm-container {
		padding: 0 16px;
	}

	.sm-hero {
		padding: 40px 0 32px;
	}

	.sm-page .sm-hero h1 {
		font-size: 36px;
	}

	.sm-hero--split .sm-hero-product {
		font-size: 36px;
	}

	.sm-hero--split .sm-hero-title {
		font-size: 18px;
	}

	.sm-page .sm-catch {
		font-size: 18px;
	}

	.sm-page .sm-hero-text,
	.sm-page .sm-lead,
	.sm-page .sm-sec-lead {
		font-size: 15px;
	}

	.sm-page h2.sm-heading {
		font-size: 24px;
	}

	.sm-page h2.sm-sec-title {
		font-size: 22px;
	}

	.sm-hero-image {
		margin-top: 32px;
	}

	.sm-btn {
		display: block;
		padding: 14px 20px;
		font-size: 16px;
		text-align: center;
	}

	.sm-btn-group {
		flex-direction: column;
	}

	.sm-point,
	.sm-feature,
	.sm-notes {
		padding: 24px 20px;
	}

	.sm-alert {
		flex-direction: column;
		gap: 4px;
	}

	.sm-alert strong {
		white-space: normal;
	}

	.sm-page .sm-lead br,
	.sm-page .sm-hero-text br {
		display: none;
	}

	.sm-twocol,
	.sm-features,
	.sm-steps,
	.sm-guide {
		grid-template-columns: 1fr;
	}

	.sm-form,
	.sm-panel {
		padding: 20px 16px;
	}

	table.sm-compare th,
	table.sm-compare td {
		padding: 12px;
		font-size: 14px;
	}
}
