/**
 * AI-WORKS Library Styles
 *
 * カラーパレット: AI WORKS.html 準拠
 *   ベース    #0e0e12 (背景1)
 *   セクション #17171f (背景2)
 *   カード    #1f1f2a (背景3)
 *   アクセント #4fffb0 (緑、主)
 *   サブ      #00d4ff (シアン)
 *   ハイライト #ffcc66 (ゴールド)
 *   本文      #e8e8f2
 *   補助文字  #9999aa
 *
 * フォント:
 *   見出し: Shippori Mincho(セリフ)
 *   ラベル: DM Mono(モノスペース)
 *   本文:   Noto Sans JP(サンセリフ)
 */

@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@500;700;800&family=DM+Mono:wght@400;500&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* === 共通変数 === */
:root {
	/* 旧 navy/gold/paper の互換エイリアス(既存コードを壊さないため値だけ更新) */
	--aiworks-navy: #0e0e12;
	--aiworks-gold: #4fffb0;
	--aiworks-gold-light: #ffcc66;
	--aiworks-paper: #17171f;
	--aiworks-rule: rgba(255, 255, 255, 0.07);
	--aiworks-muted: #9999aa;

	/* AI WORKS.html 準拠の新トークン */
	--aiworks-bg-1: #0e0e12;
	--aiworks-bg-2: #17171f;
	--aiworks-bg-3: #1f1f2a;
	--aiworks-wire: rgba(255, 255, 255, 0.07);
	--aiworks-wire-strong: rgba(255, 255, 255, 0.14);
	--aiworks-green: #4fffb0;
	--aiworks-cyan: #00d4ff;
	--aiworks-gold-accent: #ffcc66;
	--aiworks-dim: #6b6b80;
	--aiworks-body: #e8e8f2;

	--aiworks-serif: 'Shippori Mincho', 'Noto Serif JP', serif;
	--aiworks-mono: 'DM Mono', 'SFMono-Regular', ui-monospace, monospace;
	--aiworks-sans: 'Noto Sans JP', system-ui, sans-serif;
}

/* === ライブラリ全体 === */
.aiworks-library {
	max-width: 960px;
	margin: 0 auto;
	padding: 24px 16px;
	font-family: var(--aiworks-sans);
	color: var(--aiworks-body);
	line-height: 1.85;
}

.aiworks-library h2 {
	font-family: var(--aiworks-serif);
	color: var(--aiworks-body);
	border-left: 2px solid var(--aiworks-green);
	padding-left: 16px;
	margin: 40px 0 20px;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.aiworks-library h3 {
	font-family: var(--aiworks-serif);
	color: var(--aiworks-body);
	margin: 32px 0 12px;
	font-size: 20px;
	font-weight: 700;
}

.aiworks-library p {
	color: var(--aiworks-body);
}

.aiworks-library a {
	color: var(--aiworks-green);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}

.aiworks-library a:hover {
	border-bottom-color: var(--aiworks-green);
}

/* === ライブラリトップ:業種カードグリッド === */
.aiworks-library-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 16px;
	margin: 20px 0 32px;
}

.aiworks-library-card {
	display: block;
	padding: 28px 24px;
	background: var(--aiworks-bg-2);
	border: 1px solid var(--aiworks-wire);
	border-radius: 4px;
	text-decoration: none !important;
	color: inherit;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
	position: relative;
	overflow: hidden;
}

.aiworks-library-card::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 1px;
	background: var(--aiworks-green);
}

.aiworks-library-card:hover {
	transform: translateY(-2px);
	border-color: var(--aiworks-wire-strong);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.aiworks-library-card h4 {
	color: var(--aiworks-body);
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 700;
	font-family: var(--aiworks-serif);
}

.aiworks-library-card p {
	color: var(--aiworks-muted);
	font-size: 13px;
	margin: 0;
}

/* === テーマライブラリ:カードグリッド(親+子テーマ) === */
.aiworks-theme-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	margin: 16px 0 32px;
}

.aiworks-theme-card {
	padding: 24px 22px;
	background: var(--aiworks-bg-2);
	border: 1px solid var(--aiworks-wire);
	border-radius: 4px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.aiworks-theme-card-parent {
	background: var(--aiworks-bg-1, #1a1a1f);
}

.aiworks-theme-card h4 {
	color: var(--aiworks-body);
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	font-family: var(--aiworks-serif);
	line-height: 1.5;
}

.aiworks-theme-card p {
	color: var(--aiworks-muted);
	font-size: 13px;
	line-height: 1.7;
	margin: 0;
}

.aiworks-theme-card .aiworks-btn {
	align-self: flex-start;
	margin-top: 4px;
}

/* === ファイルリスト === */
.aiworks-file-list {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}

.aiworks-file-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	background: var(--aiworks-bg-2);
	border: 1px solid var(--aiworks-wire);
	border-radius: 4px;
	margin-bottom: 8px;
	transition: border-color 0.2s ease;
}

.aiworks-file-item:hover {
	border-color: var(--aiworks-wire-strong);
}

.aiworks-file-item strong {
	color: var(--aiworks-body);
	font-size: 15px;
	font-weight: 500;
}

.aiworks-formats {
	display: flex;
	gap: 6px;
}

/* 形式別ボタン */
.aiworks-format-btn {
	display: inline-block;
	padding: 6px 14px;
	background: transparent;
	color: var(--aiworks-green);
	border: 1px solid var(--aiworks-green);
	border-radius: 2px;
	font-size: 12px;
	font-weight: 500;
	font-family: var(--aiworks-mono);
	letter-spacing: 0.04em;
	text-decoration: none !important;
	transition: all 0.2s ease;
}

.aiworks-format-btn:hover {
	background: rgba(79, 255, 176, 0.12);
	box-shadow: 0 0 0 1px var(--aiworks-green), 0 0 18px rgba(79, 255, 176, 0.25);
}

.aiworks-format-pdf {
	background: var(--aiworks-green);
	color: #06121b;
}

.aiworks-format-pdf:hover {
	background: #6effc0;
	color: #06121b !important;
}

/* === ボタン === */
.aiworks-btn {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 2px;
	font-weight: 500;
	text-decoration: none !important;
	transition: all 0.2s ease;
	cursor: pointer;
	border: 1px solid transparent;
	font-size: 14px;
	font-family: var(--aiworks-mono);
	letter-spacing: 0.04em;
}

.aiworks-btn-primary {
	background: var(--aiworks-green);
	color: #06121b !important;
	font-weight: 500;
}

.aiworks-btn-primary:hover {
	background: #6effc0;
	box-shadow: 0 0 24px rgba(79, 255, 176, 0.45);
	transform: translateY(-1px);
}

.aiworks-btn-light {
	background: transparent;
	color: var(--aiworks-body) !important;
	border: 1px solid var(--aiworks-wire-strong);
}

.aiworks-btn-light:hover {
	border-color: var(--aiworks-body);
	background: rgba(255, 255, 255, 0.03);
}

.aiworks-btn-pro {
	background: var(--aiworks-gold-accent);
	color: #1f1f2a !important;
}

.aiworks-btn-pro:hover {
	background: #ffd687;
	box-shadow: 0 0 24px rgba(255, 204, 102, 0.45);
}

.aiworks-btn-large {
	padding: 16px 32px;
	font-size: 14px;
}

/* === 料金テーブル === */
.aiworks-pricing-table {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	margin: 32px 0;
}

.aiworks-pricing-card {
	position: relative;
	padding: 36px 28px;
	background: var(--aiworks-bg-2);
	border: 1px solid var(--aiworks-wire);
	border-radius: 4px;
	text-align: center;
	transition: border-color 0.25s ease;
}

.aiworks-pricing-card:hover {
	border-color: var(--aiworks-wire-strong);
}

.aiworks-pricing-card.aiworks-recommended {
	border: 1px solid var(--aiworks-green);
	background: linear-gradient(180deg, rgba(79, 255, 176, 0.04) 0%, var(--aiworks-bg-2) 100%);
	transform: scale(1.03);
	z-index: 1;
}

.aiworks-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--aiworks-green);
	color: #06121b;
	padding: 4px 16px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	font-family: var(--aiworks-mono);
	letter-spacing: 0.08em;
}

.aiworks-pricing-card h3 {
	font-size: 18px;
	color: var(--aiworks-body);
	margin: 0 0 16px;
	font-family: var(--aiworks-mono);
	letter-spacing: 0.08em;
	font-weight: 500;
	text-transform: uppercase;
}

.aiworks-price {
	font-size: 36px;
	font-weight: 700;
	color: var(--aiworks-body);
	margin: 0 0 4px;
	line-height: 1;
	font-family: var(--aiworks-serif);
}

.aiworks-price span {
	font-size: 14px;
	font-weight: 400;
	color: var(--aiworks-muted);
	font-family: var(--aiworks-sans);
}

.aiworks-yearly {
	font-size: 12px;
	color: var(--aiworks-muted);
	margin: 0 0 24px;
	font-family: var(--aiworks-mono);
	letter-spacing: 0.04em;
}

.aiworks-pricing-card ul {
	list-style: none;
	padding: 0;
	margin: 0 0 28px;
	text-align: left;
}

.aiworks-pricing-card ul li {
	padding: 10px 0;
	padding-left: 22px;
	position: relative;
	font-size: 13.5px;
	color: var(--aiworks-body);
	border-top: 1px dashed var(--aiworks-wire);
}

.aiworks-pricing-card ul li:first-child {
	border-top: none;
}

.aiworks-pricing-card ul li::before {
	content: "▸";
	position: absolute;
	left: 0;
	top: 10px;
	color: var(--aiworks-green);
	font-weight: 500;
}

.aiworks-pricing-note {
	text-align: center;
	color: var(--aiworks-muted);
	font-size: 13px;
	margin-top: 24px;
}

/* === 注意書き === */
.aiworks-note {
	background: var(--aiworks-bg-2);
	border-left: 2px solid var(--aiworks-green);
	padding: 14px 18px;
	color: var(--aiworks-muted);
	font-size: 13px;
	margin: 24px 0;
}

.aiworks-members-only {
	padding: 18px;
	background: var(--aiworks-bg-2);
	border-left: 2px solid var(--aiworks-green);
	color: var(--aiworks-body);
	font-size: 14px;
}

/* === お知らせ(NEWS) === */
.aiworks-news {
	margin: 32px 0 48px;
	padding: 28px 28px 24px;
	background: var(--aiworks-bg-2);
	border: 1px solid var(--aiworks-wire);
	border-radius: 4px;
	position: relative;
	overflow: hidden;
}

.aiworks-news::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 60px;
	height: 2px;
	background: var(--aiworks-green);
	box-shadow: 0 0 12px rgba(79, 255, 176, 0.5);
}

.aiworks-news-head {
	margin-bottom: 18px;
}

.aiworks-news-label {
	display: inline-block;
	font-family: var(--aiworks-mono);
	font-size: 12px;
	color: var(--aiworks-green);
	letter-spacing: 0.08em;
	margin-bottom: 6px;
}

.aiworks-news-title {
	font-family: var(--aiworks-serif);
	font-size: 20px;
	color: var(--aiworks-body);
	margin: 0;
	font-weight: 700;
	border-left: none !important;
	padding-left: 0 !important;
}

.aiworks-news-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.aiworks-news-item {
	border-top: 1px dashed var(--aiworks-wire);
}

.aiworks-news-item:first-child {
	border-top: none;
}

.aiworks-news-link {
	display: grid;
	grid-template-columns: 110px 1fr 20px;
	gap: 18px;
	align-items: center;
	padding: 14px 0;
	color: var(--aiworks-body);
	text-decoration: none !important;
	border-bottom: none !important;
	transition: color 0.2s ease;
}

.aiworks-news-link:hover {
	color: var(--aiworks-green);
}

.aiworks-news-link:hover .aiworks-news-arrow {
	transform: translateX(4px);
}

.aiworks-news-date {
	font-family: var(--aiworks-mono);
	font-size: 12px;
	color: var(--aiworks-muted);
	letter-spacing: 0.04em;
}

.aiworks-news-headline {
	font-size: 14.5px;
	line-height: 1.6;
	color: inherit;
	font-weight: 500;
}

.aiworks-news-arrow {
	font-family: var(--aiworks-mono);
	font-size: 14px;
	color: var(--aiworks-green);
	transition: transform 0.2s ease;
	text-align: right;
}

.aiworks-news-archive-link {
	margin: 20px 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--aiworks-wire);
	text-align: right;
	font-family: var(--aiworks-mono);
	font-size: 12px;
	letter-spacing: 0.04em;
}

.aiworks-news-archive-link a {
	color: var(--aiworks-green);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}

.aiworks-news-archive-link a:hover {
	border-bottom-color: var(--aiworks-green);
}

.aiworks-news-empty {
	color: var(--aiworks-muted);
	font-size: 14px;
	margin: 0;
	padding: 12px 0;
}

@media (max-width: 640px) {
	.aiworks-news {
		padding: 20px 18px 18px;
	}

	.aiworks-news-link {
		grid-template-columns: 1fr;
		gap: 4px;
		padding: 12px 0;
	}

	.aiworks-news-arrow {
		display: none;
	}
}

.aiworks-members-only a {
	color: var(--aiworks-green);
	font-weight: 500;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}

.aiworks-members-only a:hover {
	border-bottom-color: var(--aiworks-green);
}

/* === 販売ページ:ヒーロー / セクション === */
.aiworks-hero {
	background: var(--aiworks-bg-1);
	color: var(--aiworks-body);
	padding: 100px 16px 80px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

/* グリッドBGとスキャンライン */
.aiworks-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(var(--aiworks-wire) 1px, transparent 1px),
		linear-gradient(90deg, var(--aiworks-wire) 1px, transparent 1px);
	background-size: 64px 64px;
	background-position: -1px -1px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
	mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
	opacity: 0.55;
	pointer-events: none;
}

.aiworks-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		to bottom,
		transparent 0px,
		transparent 3px,
		rgba(255, 255, 255, 0.012) 3px,
		rgba(255, 255, 255, 0.012) 4px
	);
	pointer-events: none;
}

.aiworks-hero-inner {
	max-width: 880px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.aiworks-hero h1 {
	font-family: var(--aiworks-serif);
	font-size: 52px;
	margin: 0 0 28px;
	color: var(--aiworks-body);
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.aiworks-hero-sub {
	font-size: 16px;
	margin: 0 auto 36px;
	max-width: 640px;
	color: var(--aiworks-muted);
	line-height: 1.95;
}

.aiworks-section {
	padding: 100px 16px;
	background: var(--aiworks-bg-1);
}

.aiworks-section-alt {
	background: var(--aiworks-bg-2);
	border-top: 1px solid var(--aiworks-wire);
	border-bottom: 1px solid var(--aiworks-wire);
}

.aiworks-section-inner {
	max-width: 960px;
	margin: 0 auto;
}

.aiworks-section h2 {
	font-family: var(--aiworks-serif);
	font-size: 36px;
	text-align: center;
	color: var(--aiworks-body);
	margin: 0 0 56px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.4;
}

.aiworks-feature-grid,
.aiworks-industry-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.aiworks-feature,
.aiworks-industry-card {
	padding: 32px 28px;
	background: var(--aiworks-bg-2);
	border: 1px solid var(--aiworks-wire);
	border-radius: 4px;
	position: relative;
	overflow: hidden;
	transition: border-color 0.25s ease, transform 0.25s ease;
}

.aiworks-feature::after,
.aiworks-industry-card::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 1px;
	background: var(--aiworks-green);
}

.aiworks-industry-card {
	border-top: 1px solid var(--aiworks-wire);
	text-decoration: none !important;
	color: inherit;
	display: block;
}

.aiworks-industry-card:hover,
.aiworks-feature:hover {
	border-color: var(--aiworks-wire-strong);
	transform: translateY(-2px);
}

.aiworks-feature h3,
.aiworks-industry-card h3 {
	font-family: var(--aiworks-serif);
	color: var(--aiworks-body);
	font-size: 20px;
	margin: 0 0 14px;
	font-weight: 700;
	line-height: 1.5;
}

.aiworks-feature p,
.aiworks-industry-card p {
	color: var(--aiworks-muted);
	font-size: 14px;
	line-height: 1.85;
	margin: 0;
}

/* 業種ページ:悩み・特徴・パッケージ */
.aiworks-pain-list {
	list-style: none;
	padding: 0;
	max-width: 680px;
	margin: 0 auto;
}

.aiworks-pain-list li {
	padding: 14px 18px 14px 44px;
	background: var(--aiworks-bg-2);
	border: 1px solid var(--aiworks-wire);
	border-radius: 4px;
	margin-bottom: 8px;
	position: relative;
	color: var(--aiworks-body);
	font-size: 14px;
}

.aiworks-pain-list li::before {
	content: "▸";
	position: absolute;
	left: 18px;
	color: var(--aiworks-green);
	font-weight: 500;
}

.aiworks-package-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.aiworks-package-item {
	padding: 32px 28px;
	background: var(--aiworks-bg-2);
	border: 1px solid var(--aiworks-wire);
	border-radius: 4px;
	transition: border-color 0.25s ease;
}

.aiworks-package-item:hover {
	border-color: var(--aiworks-wire-strong);
}

.aiworks-package-item h3 {
	font-family: var(--aiworks-serif);
	color: var(--aiworks-body);
	font-size: 18px;
	margin: 0 0 14px;
	font-weight: 700;
}

.aiworks-package-item ul {
	margin: 0;
	padding-left: 0;
	list-style: none;
	font-size: 13.5px;
}

.aiworks-package-item ul li {
	padding: 8px 0 8px 20px;
	position: relative;
	border-top: 1px dashed var(--aiworks-wire);
	color: var(--aiworks-body);
}

.aiworks-package-item ul li:first-child {
	border-top: none;
}

.aiworks-package-item ul li::before {
	content: "▸";
	position: absolute;
	left: 0;
	color: var(--aiworks-green);
}

.aiworks-feature-list {
	list-style: none;
	padding: 0;
	max-width: 720px;
	margin: 0 auto;
}

.aiworks-feature-list li {
	padding: 18px 18px 18px 60px;
	background: var(--aiworks-bg-2);
	border: 1px solid var(--aiworks-wire);
	border-left: 2px solid var(--aiworks-green);
	margin-bottom: 12px;
	position: relative;
	border-radius: 0 4px 4px 0;
	color: var(--aiworks-body);
	font-size: 14px;
	line-height: 1.85;
}

.aiworks-feature-list li::before {
	content: "▸";
	position: absolute;
	left: 26px;
	top: 18px;
	color: var(--aiworks-green);
	font-weight: 500;
}

.aiworks-feature-list strong {
	color: var(--aiworks-green);
	font-weight: 500;
}

/* FAQ */
.aiworks-faq-item {
	margin-bottom: 16px;
	padding: 24px 28px;
	background: var(--aiworks-bg-2);
	border: 1px solid var(--aiworks-wire);
	border-radius: 4px;
}

.aiworks-faq-item h3 {
	color: var(--aiworks-body);
	font-size: 16px;
	margin: 0 0 14px;
	font-family: var(--aiworks-sans);
	font-weight: 700;
}

.aiworks-faq-item p {
	margin: 0;
	color: var(--aiworks-muted);
	font-size: 14px;
	line-height: 1.85;
}

.aiworks-faq-item p + p {
	margin-top: 10px;
}

.aiworks-faq-item strong {
	color: var(--aiworks-green);
}

.aiworks-faq-item a {
	color: var(--aiworks-green);
	border-bottom: 1px solid transparent;
}

.aiworks-faq-item a:hover {
	border-bottom-color: var(--aiworks-green);
}

/* テーブル */
.aiworks-compare-table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	font-size: 14px;
	border: 1px solid var(--aiworks-wire);
	background: var(--aiworks-bg-2);
}

.aiworks-compare-table th,
.aiworks-compare-table td {
	padding: 16px 18px;
	border: 1px solid var(--aiworks-wire);
	text-align: center;
	color: var(--aiworks-body);
}

.aiworks-compare-table thead th {
	background: var(--aiworks-bg-3);
	color: var(--aiworks-green);
	font-family: var(--aiworks-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	font-weight: 500;
}

.aiworks-compare-table tbody tr:nth-child(even) {
	background: rgba(255, 255, 255, 0.02);
}

.aiworks-highlight-box {
	background: var(--aiworks-bg-2);
	border: 1px solid var(--aiworks-green);
	border-radius: 4px;
	padding: 28px;
	margin: 24px 0;
	position: relative;
	overflow: hidden;
}

.aiworks-highlight-box::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 60px;
	height: 2px;
	background: var(--aiworks-green);
	box-shadow: 0 0 12px rgba(79, 255, 176, 0.5);
}

.aiworks-highlight-box h3 {
	margin-top: 0;
	color: var(--aiworks-body);
	font-family: var(--aiworks-serif);
	font-weight: 700;
}

.aiworks-highlight-box strong {
	color: var(--aiworks-green);
}

/* === 法務ページ用タイポグラフィ === */
.aiworks-legal {
	line-height: 1.85;
	color: var(--aiworks-body);
}

.aiworks-legal h3 {
	color: var(--aiworks-body);
	font-family: var(--aiworks-serif);
	margin: 32px 0 12px;
	font-size: 20px;
	font-weight: 700;
	border-left: 2px solid var(--aiworks-green);
	padding-left: 14px;
}

.aiworks-legal h3:first-child {
	margin-top: 0;
}

.aiworks-legal h4 {
	color: var(--aiworks-body);
	margin: 24px 0 8px;
	font-size: 17px;
	font-weight: 700;
	font-family: var(--aiworks-sans);
}

.aiworks-legal p {
	margin: 0 0 12px;
	color: var(--aiworks-body);
}

.aiworks-legal ol,
.aiworks-legal ul {
	margin: 12px 0 16px;
	padding-left: 24px;
	color: var(--aiworks-body);
}

.aiworks-legal ol > li,
.aiworks-legal ul > li {
	margin-bottom: 8px;
}

.aiworks-legal ol ol,
.aiworks-legal ul ul {
	margin: 8px 0;
}

.aiworks-legal a {
	color: var(--aiworks-green);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}

.aiworks-legal a:hover {
	border-bottom-color: var(--aiworks-green);
}

.aiworks-legal .aiworks-compare-table th,
.aiworks-legal .aiworks-compare-table td {
	font-size: 14px;
}

.aiworks-legal .aiworks-highlight-box h3 {
	border-left: none;
	padding-left: 0;
	margin-top: 0;
}

/* === レスポンシブ === */
@media (max-width: 640px) {
	.aiworks-library-grid {
		grid-template-columns: 1fr;
	}

	.aiworks-theme-grid {
		grid-template-columns: 1fr;
	}

	.aiworks-pricing-table {
		grid-template-columns: 1fr;
	}

	.aiworks-pricing-card.aiworks-recommended {
		transform: none;
	}

	.aiworks-file-item {
		flex-direction: column;
		align-items: flex-start;
	}

	.aiworks-formats {
		width: 100%;
		justify-content: flex-start;
		flex-wrap: wrap;
	}

	.aiworks-hero {
		padding: 64px 16px 48px;
	}

	.aiworks-hero h1 {
		font-size: 32px;
	}

	.aiworks-section h2 {
		font-size: 26px;
	}

	.aiworks-section {
		padding: 56px 16px;
	}
}
