/* =========================================================
   Guide（制作ガイド）
   ガイド一覧・ガイド詳細ページ共通
========================================================= */

/* ===================================================
   guide.css
   Animede Guide Style

   Version : 1.0
   Created : 2026-07
   Author  : Animede

   共通スタイル
   ・制作ガイド一覧
   ・制作ガイド詳細
   ・FAQ
   ・CTA
=================================================== */

/* =========================================================
   1. 共通設定
========================================================= */

/* 固定ヘッダーに見出しが隠れないようにする */
.guide-card[id] {
	scroll-margin-top: 120px;
}

/* ガイド一覧カード内のリンク表示 */
.guide-card-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	color: var(--accent);
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
}

.guide-card-link::after {
	content: "→";
	display: inline-block;
	transition: transform .2s ease;
}

.guide-card:hover .guide-card-link::after {
	transform: translateX(6px);
}

/* =========================
   Guide：一覧ページ
========================= */

.guide-list {
	padding: 40px 0 80px;
	background: var(--bg);
	color: #2f2f2f;
}


/* -------------------------
   一覧ページのパンくず
------------------------- */

.guide-list .guide-list-breadcrumb {
	margin: 0 0 12px;
	color: #748094;
	font-size: 12px;
}

.guide-list .guide-list-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.guide-list .guide-list-breadcrumb a:hover {
	text-decoration: underline;
}


/* -------------------------
   一覧ページのタイトル
------------------------- */

.guide-list .guide-title {
	margin: 0 0 12px;
	font-size: clamp(26px, 3.6vw, 40px);
	font-weight: 800;
	line-height: 1.45;
}

.guide-list .guide-lead {
	max-width: 820px;
	margin: 0 0 32px;
	color: #566070;
	font-size: 16px;
	line-height: 2;
}


/* -------------------------
   カテゴリーセクション
------------------------- */

.guide-list .guide-section {
	margin-top: 30px;
}

.guide-list .guide-section h2 {
	margin: 0 0 14px;
	font-size: 22px;
	font-weight: 800;
}


/* -------------------------
   記事一覧
------------------------- */

.guide-list .guide-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}


/* -------------------------
   記事カード
------------------------- */

.guide-list .guide-card {
	display: block;
	min-width: 0;
	overflow: hidden;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .04);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
	color: #2f2f2f;
	text-decoration: none;
	transition:
		transform .15s ease,
		box-shadow .15s ease;
}

.guide-list .guide-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .09);
}

.guide-list .guide-card:focus-visible {
	outline: 3px solid rgba(46, 199, 182, .45);
	outline-offset: 3px;
}

.guide-list .guide-card > img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: #f5f5f4;
}

.guide-list .guide-card-body {
	padding: 18px;
}

.guide-list .guide-card .tag {
	display: inline-block;
	margin-bottom: 10px;
	padding: 4px 10px;
	background: #f5f5f4;
	border: 1px solid rgba(46, 199, 182, .35);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
}

.guide-list .guide-card h3 {
	margin: 0 0 8px;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.5;
}

.guide-list .guide-card p {
	margin: 0;
	color: #566070;
	font-size: 14px;
	line-height: 1.85;
}

.guide-list .guide-card-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	color: var(--accent);
	font-size: 13px;
	font-weight: 800;
}


/* -------------------------
   一覧ページの補足
------------------------- */

.guide-list .guide-list-note {
	margin-top: 30px;
	padding: 22px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .04);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.guide-list .guide-list-note h2 {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 800;
}

.guide-list .guide-list-note p {
	margin: 0;
	color: #566070;
	font-size: 14px;
	line-height: 1.95;
}


/* -------------------------
   一覧ページのCTA
------------------------- */

.guide-list .guide-list-cta {
	margin-top: 30px;
	text-align: center;
}

.guide-list .guide-list-cta .btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 22px;
	background: var(--accent);
	border-radius: 999px;
	box-shadow: 0 10px 28px rgba(31, 45, 61, .18);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	transition:
		transform .15s ease,
		box-shadow .15s ease;
}

.guide-list .guide-list-cta .btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 32px rgba(46, 199, 182, .34);
}


/* =========================
   Guide一覧：スマートフォン
========================= */

@media (max-width: 700px) {

	.guide-list .guide-grid {
		grid-template-columns: 1fr;
	}

}

@media (max-width: 640px) {

	.guide-list {
		padding: 30px 0 64px;
	}

	.guide-list .guide-lead {
		font-size: 15px;
	}

	.guide-list .guide-card-body {
		padding: 16px;
	}

}

/* =========================================================
   2. ガイド詳細ページ：基本レイアウト
========================================================= */

.guide-detail {
	padding: 40px 0 80px;
	background: var(--bg);
	color: #2f2f2f;
}

.guide-wrap {
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 16px;
}

.guide-title {
	margin: 0 0 12px;
	color: #2f2f2f;
	font-size: clamp(24px, 3.5vw, 38px);
	font-weight: 800;
	line-height: 1.45;
}

.guide-lead {
	max-width: 780px;
	margin: 24px auto 0;
	font-size: 14px;
	line-height: 1.9;
	text-align: left;
}

.guide-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	margin: 20px 0 24px;
	color: #748094;
	font-size: 12px;
}

.guide-meta .tag {
	display: inline-block;
	padding: 4px 10px;
	background: #f5f5f4;
	border: 1px solid rgba(46, 199, 182, .35);
	border-radius: 999px;
	color: #2f2f2f;
	font-size: 12px;
	font-weight: 700;
}


/* =========================================================
   3. ガイドページ冒頭
   ※旧形式の .guide-hero を使う記事にも対応
========================================================= */

.guide-hero {
	margin-bottom: 36px;
	text-align: center;
}

.guide-label {
	margin: 0 0 10px;
	color: var(--accent);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .14em;
}

.guide-hero h1 {
	margin: 0;
	font-size: clamp(30px, 5vw, 48px);
	line-height: 1.45;
	letter-spacing: .02em;
}

.guide-catch {
	max-width: 780px;
	margin: 30px auto 0;
	padding: 22px 20px;
	border-top: 1px solid rgba(46, 199, 182, .45);
	border-bottom: 1px solid rgba(46, 199, 182, .45);
	color: var(--accent);
	font-size: clamp(19px, 3vw, 26px);
	font-weight: 800;
	line-height: 1.7;
}

.guide-hero-img {
	margin: 24px 0 26px;
	overflow: hidden;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.guide-hero-img img {
	display: block;
	width: 100%;
	height: auto;
}


/* =========================================================
   4. パンくずリスト
========================================================= */

.guide-breadcrumb {
	margin: 0 0 30px;
	color: #777;
	font-size: 13px;
}

.guide-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.guide-breadcrumb li:not(:last-child)::after {
	content: "/";
	margin-left: 7px;
	color: #aaa;
}

.guide-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.guide-breadcrumb a:hover {
	color: var(--accent);
	text-decoration: underline;
}


/* =========================================================
   5. 目次
========================================================= */

.guide-toc {
	margin: 0 0 18px;
	padding: 20px 22px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .04);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.guide-toc-title,
.guide-toc h2 {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 800;
}

.guide-toc ol {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 28px;
	margin: 0;
	padding-left: 24px;
}

.guide-toc li {
	line-height: 1.7;
}

.guide-toc a {
	color: #2f2f2f;
	text-decoration: none;
}

.guide-toc a:hover {
	color: var(--accent);
	text-decoration: underline;
}


/* =========================================================
   6. 本文カード
   一覧ページの .guide-card と競合しないよう詳細ページ内に限定
========================================================= */

.guide-detail .guide-card {
	margin-top: 18px;
	padding: 22px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .04);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.guide-detail .guide-card h2 {
	margin: 0 0 12px;
	color: #2f2f2f;
	font-size: 22px;
	font-weight: 800;
}

.guide-detail .guide-card h3 {
	margin: 20px 0 8px;
	color: #2f2f2f;
	font-size: 17px;
	font-weight: 800;
}

.guide-detail .guide-card p {
	margin: 0 0 12px;
	color: #566070;
	font-size: 14px;
	line-height: 1.95;
}

.guide-detail .guide-card ul {
	margin: 8px 0 0 1.2em;
	padding: 0;
	color: #566070;
	font-size: 14px;
	line-height: 1.9;
}

.guide-section-number {
	margin: 0 0 5px;
	color: var(--accent);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .14em;
}


/* =========================================================
   7. 注釈・ポイント
========================================================= */

.guide-note,
.guide-point-box {
	margin-top: 20px;
	padding: 20px;
	background: #f5f5f4;
	border: 1px solid rgba(31, 45, 61, .14);
	border-radius: 12px;
}

.guide-note {
	margin-top: 18px;
	padding: 18px;
	border-color: rgba(46, 199, 182, .35);
}

.guide-note p {
	margin: 0;
	color: #2f2f2f;
	font-weight: 700;
}

.guide-point-box h3 {
	margin: 0 0 12px;
	font-size: 17px;
}

.guide-check-list {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.guide-check-list li {
	position: relative;
	margin-top: 7px;
	padding-left: 25px;
}

.guide-check-list li:first-child {
	margin-top: 0;
}

.guide-check-list li::before {
	content: "✓";
	position: absolute;
	top: 0;
	left: 0;
	color: var(--accent);
	font-weight: 800;
}


/* =========================================================
   8. 強調メッセージ
========================================================= */

.guide-message-box {
	margin-top: 24px;
	padding: 22px;
	background: #f5f5f4;
	border-left: 5px solid var(--accent);
	border-radius: 0 12px 12px 0;
}

.guide-message-box p {
	margin: 0 !important;
	font-size: clamp(17px, 2.5vw, 21px) !important;
	line-height: 1.9;
}

.guide-message-box strong {
	color: #198f83;
}

.guide-emphasis-box {
	margin-top: 28px;
	padding: 40px 30px;
	background: #eefaf8;
	border: 1px solid #cfeee8;
	border-radius: 16px;
	text-align: center;
}

.guide-emphasis-box h3 {
	margin: 0 0 16px !important;
	color: #2f3b45 !important;
	font-size: clamp(28px, 3vw, 38px) !important;
	font-weight: 800;
	line-height: 1.5;
}

.guide-emphasis-box p {
	margin: 0 !important;
	color: #5c6672 !important;
	font-size: 17px !important;
	line-height: 1.9;
}

.guide-emphasis-box strong {
	color: var(--accent);
	font-weight: 800;
}


/* =========================================================
   9. 3つのポイント
========================================================= */

.guide-three-points {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 20px;
}

.guide-point-item {
	min-width: 0;
	padding: 18px;
	background: #fffcfa;
	border: 1px solid rgba(0, 0, 0, .06);
	border-radius: 12px;
}

.guide-point-number {
	display: block;
	margin-bottom: 8px;
	color: var(--accent);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .1em;
}

.guide-point-item h3 {
	margin: 0 0 8px !important;
	font-size: 16px !important;
	line-height: 1.5;
}

.guide-point-item p {
	margin: 0 !important;
}


/* =========================================================
   10. 2種類の表現比較
========================================================= */

.guide-compare {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	width: 100%;
	margin-top: 18px;
}

.guide-box {
	min-width: 0;
	overflow: hidden;
	padding: 16px;
	background: #fffcfa;
	border: 1px solid rgba(0, 0, 0, .06);
	border-radius: 12px;
}

.guide-box-featured {
	background: #f4fbfa;
	border-color: rgba(46, 199, 182, .5);
}

.guide-box-label {
	margin: 0 0 5px;
	color: var(--accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
}

.guide-box h3 {
	margin: 0 0 14px !important;
	font-size: 19px !important;
}

.guide-box h4 {
	margin: 18px 0 8px;
	font-size: 16px;
}

.guide-box ul {
	margin: 0 !important;
	padding-left: 1.4em !important;
}

.guide-box li {
	margin-top: 5px;
}

.guide-box-image-card {
	padding: 0;
	background: transparent;
	border: 0;
}

.guide-box-image {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border-radius: 10px;
}


/* =========================================================
   11. 比較表
========================================================= */

.guide-table-wrap {
	width: 100%;
	margin-top: 18px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.guide-table {
	width: 100%;
	min-width: 680px;
	margin: 0;
	border-collapse: collapse;
}

.guide-table th,
.guide-table td {
	padding: 15px;
	border: 1px solid rgba(0, 0, 0, .08);
	text-align: left;
	vertical-align: top;
}

.guide-table thead th {
	background: #f5f5f4;
	font-weight: 800;
}

.guide-table tbody th {
	width: 22%;
	background: #fffcfa;
	font-weight: 800;
}


/* =========================================================
   12. 関連記事リンク
========================================================= */

.guide-related-link {
	margin-top: 22px;
	padding: 18px;
	background: #f5f5f4;
	border: 1px solid rgba(31, 45, 61, .14);
	border-radius: 12px;
}

.guide-related-link p {
	margin: 0 0 6px !important;
	font-size: 14px !important;
}

.guide-related-link a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--accent);
	font-weight: 800;
	text-decoration: none;
}

.guide-related-link a:hover {
	text-decoration: underline;
}


/* =========================================================
   13. 関連する制作事例
========================================================= */

.guide-related {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 20px;
}

.related-card {
	display: block;
	min-width: 0;
	overflow: hidden;
	background: #fffcfa;
	border: 1px solid rgba(0, 0, 0, .06);
	border-radius: 12px;
	color: #2f2f2f;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}

.related-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 25px rgba(0, 0, 0, .08);
}

.related-card img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.related-card span {
	display: block;
	padding: 14px 16px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.6;
}


/* =========================================================
   14. メリット一覧
========================================================= */

.merit-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 16px;
}

.merit-item {
	min-width: 0;
	padding: 18px;
	background: #fffcfa;
	border: 1px solid rgba(0, 0, 0, .06);
	border-radius: 12px;
}

.merit-item h3 {
	margin: 10px 0 6px !important;
	font-size: 16px !important;
}

.merit-item p {
	margin: 0 !important;
}

.merit-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	background: #f5f5f4;
	border-radius: 50%;
	color: var(--accent);
	font-weight: 800;
}


/* =========================================================
   15. 課題解決・行動の流れ
========================================================= */

.guide-story {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: stretch;
	gap: 12px;
	margin-top: 22px;
}

.guide-story-item {
	min-width: 0;
	padding: 20px 16px;
	background: #fffcfa;
	border: 1px solid rgba(0, 0, 0, .06);
	border-radius: 12px;
	text-align: center;
}

.guide-story-label {
	margin: 0 0 10px;
	color: var(--accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
}

.guide-story-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 22px auto;
}

.guide-story-icon img {
	display: block;
	width: 300px;
	max-width: 100%;
	height: auto;
}

.guide-story-item h3 {
	margin: 0 0 8px !important;
	font-size: 16px !important;
	line-height: 1.5;
}

.guide-story-item p:last-child {
	margin: 0 !important;
	font-size: 14px !important;
}

.guide-story-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
	font-size: 25px;
	font-weight: 800;
}


/* =========================================================
   16. セクション内の小見出し
========================================================= */

.guide-subsection {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid rgba(0, 0, 0, .08);
}

.guide-subsection h3 {
	margin: 0 0 12px !important;
	font-size: clamp(19px, 3vw, 23px) !important;
}

.guide-subsection p {
	margin: 0 0 14px !important;
}

.guide-subsection p:last-child {
	margin-bottom: 0 !important;
}


/* =========================================================
   17. おすすめ用途・サービス一覧
========================================================= */

.guide-category-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 20px;
}

.guide-category-item {
	min-width: 0;
	padding: 18px;
	background: #fffcfa;
	border: 1px solid rgba(0, 0, 0, .06);
	border-radius: 12px;
}

.guide-category-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 100px;
	margin-bottom: 18px;
}

.guide-category-icon img {
	display: block;
	width: 100px;
	height: 100px;
	object-fit: contain;
}

.guide-category-item h3 {
	margin: 0 0 8px !important;
	font-size: 16px !important;
}

.guide-category-item p:last-child {
	margin: 0 !important;
	font-size: 14px !important;
}


/* =========================================================
   18. 制作事例
========================================================= */

.guide-works-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 20px;
}

.guide-work-item {
	min-width: 0;
	overflow: hidden;
	background: #fffcfa;
	border: 1px solid rgba(0, 0, 0, .06);
	border-radius: 12px;
	transition: transform .2s ease, box-shadow .2s ease;
}

.guide-work-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 25px rgba(0, 0, 0, .08);
}

.guide-work-item a {
	display: block;
	color: inherit;
	text-decoration: none;
}

.guide-work-image {
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #f5f5f4;
}

.guide-work-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.guide-work-item:hover .guide-work-image img {
	transform: scale(1.03);
}

.guide-work-text {
	padding: 18px;
}

.guide-work-category {
	margin: 0 0 6px !important;
	color: var(--accent) !important;
	font-size: 12px !important;
	font-weight: 800;
}

.guide-work-text h3 {
	margin: 0 0 8px !important;
	font-size: 17px !important;
}

.guide-work-text p {
	margin: 0 0 12px !important;
}

.guide-work-more {
	color: var(--accent);
	font-weight: 800;
}


/* =========================================================
   19. アニメデの特徴
========================================================= */

.animede-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 18px;
}

.animede-feature {
	min-width: 0;
	padding: 18px;
	background: #fffcfa;
	border: 1px solid rgba(31, 45, 61, .14);
	border-radius: 12px;
}

.animede-feature h3 {
	margin: 0 0 8px !important;
	font-size: 16px !important;
}

.animede-feature p {
	margin: 0 !important;
}


/* =========================================================
   20. FAQ
========================================================= */

.guide-faq {
	margin-top: 18px;
}

.guide-faq-item {
	border-top: 1px solid rgba(0, 0, 0, .08);
}

.guide-faq-item:last-child {
	border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.guide-faq-item summary {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 20px 4px;
	font-weight: 800;
	line-height: 1.7;
	cursor: pointer;
	list-style: none;
}

.guide-faq-item summary::-webkit-details-marker {
	display: none;
}

.guide-faq-item summary::after {
	content: "＋";
	flex: 0 0 auto;
	margin-left: auto;
	color: var(--accent);
	font-size: 20px;
	line-height: 1.4;
}

.guide-faq-item[open] summary::after {
	content: "－";
}

.guide-faq-q,
.guide-faq-a {
	display: inline-flex;
	flex: 0 0 32px;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-weight: 800;
	line-height: 1;
}

.guide-faq-q {
	background: var(--accent);
	color: #fff;
}

.guide-faq-a {
	background: #f5f5f4;
	color: var(--accent);
}

.guide-faq-answer {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	align-items: start;
	column-gap: 28px;
	padding: 0 28px 22px 4px;
}

.guide-faq-answer > p,
.guide-faq-answer > div {
	min-width: 0;
}

.guide-faq-answer p {
	margin: 0 0 10px !important;
	line-height: 1.9;
}

.guide-faq-answer p:last-child {
	margin-bottom: 0 !important;
}


/* =========================================================
   21. まとめ
========================================================= */

.guide-detail .guide-summary {
	background: #f5f5f4;
}

.guide-summary-message {
	margin: 24px 0 !important;
	padding: 22px;
	background: #fff;
	border-radius: 12px;
	color: var(--accent) !important;
	font-size: clamp(19px, 3vw, 24px) !important;
	font-weight: 800;
	line-height: 1.7 !important;
	text-align: center;
}


/* =========================================================
   22. ページ内CTA
========================================================= */

.guide-inline-cta {
	margin-top: 20px;
	text-align: right;
}

.guide-inline-cta a {
	color: var(--accent);
	font-weight: 800;
	text-decoration: none;
}

.guide-inline-cta a:hover {
	text-decoration: underline;
}


/* =========================================================
   23. ボタン
   MACOTOON
========================================================= */

.guide-button-wrap {
	margin-top: 24px;
	text-align: center;
}

.guide-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 12px 26px;

	border: 2px solid transparent;
	border-radius: 100px;

	font-weight: 800;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;

	transition:
		transform .2s ease,
		background-color .2s ease,
		color .2s ease,
		border-color .2s ease;
}

.guide-button:hover {
	transform: translateY(-2px);
}


/* 通常のメインボタン */

.guide-button-primary {
	background: #1f2d3d;
	border-color: #1f2d3d;
	color: #fff;
}

.guide-button-primary:hover {
	background: #fff;
	color: #1f2d3d;
}


/* ネイビー背景のアウトラインボタン */

.guide-button-outline {
	background: #1f2d3d;
	border-color: #1f2d3d;
	color: #fff;
}

.guide-button-outline:hover {
	background: #fff;
	color: #1f2d3d;
}


/* 白ボタン */

.guide-button-white {
	background: #fff;
	border-color: #fff;
	color: #1f2d3d;
}

.guide-button-white:hover {
	background: #f3f4f6;
	border-color: #f3f4f6;
	color: #1f2d3d;
}

/* =========================================================
   24. 最下部CTA
========================================================= */

.guide-cta {
	margin-top: 36px;
	padding: 42px 36px;
	background: #f5f5f4;
	border: 1px solid rgba(31, 45, 61, .14);
	border-radius: 16px;
	text-align: center;
}

.guide-cta-inner {
	max-width: 760px;
	margin: 0 auto;
}

.guide-cta-label {
	display: none;
}

.guide-cta h2 {
	margin: 0 0 14px;
	color: #2f2f2f;
	font-size: clamp(24px, 3.2vw, 30px);
	font-weight: 800;
	line-height: 1.5;
}

.guide-cta p {
	margin: 0 auto;
	color: #566070;
	line-height: 1.9;
}

.guide-cta-buttons {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: 28px;
}

/* CTA内だけ、白地に落ち着いた枠線へ変更 */
.guide-cta .guide-button-outline {
	background: #fff;
	border-color: rgba(31, 45, 61, .18);
	color: #1f2d3d;
}

.guide-cta .guide-button-outline:hover {
	background: #1f2d3d;
	border-color: #1f2d3d;
	color: #fff;
}

/* 旧CTAクラスを使う記事への互換対応 */
.guide-cta .btn-primary,
.guide-cta .btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 22px;
	border-radius: 999px;
	font-weight: 800;
	text-decoration: none;
}

.guide-cta .btn-primary {
	background: var(--accent);
	box-shadow: 0 10px 28px rgba(31, 45, 61, .18);
	color: #fff;
}

.guide-cta .btn-secondary {
	margin-left: 10px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .08);
	color: #2f2f2f;
}

@media (max-width: 700px) {

	.guide-cta {
		padding: 32px 20px;
	}

	.guide-cta-buttons {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		margin-top: 24px;
	}

	.guide-cta-buttons .guide-button {
		width: 100%;
		box-sizing: border-box;
		justify-content: center;
	}

}

/* =========================================================
   25. タブレット
========================================================= */

@media (max-width: 900px) {

	.guide-three-points,
	.merit-grid,
	.animede-feature-grid,
	.guide-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.guide-story {
		grid-template-columns: 1fr;
	}

	.guide-story-arrow {
		transform: rotate(90deg);
	}

}


/* =========================================================
   26. スマートフォン
========================================================= */

@media (max-width: 780px) {

	.guide-detail {
		padding: 28px 0 60px;
	}

	.guide-wrap {
		padding: 0 14px;
	}

	.guide-hero {
		text-align: left;
	}

	.guide-hero h1 br,
	.guide-title br {
		display: none;
	}

	.guide-lead {
		margin-top: 18px;
	}

	.guide-catch {
		padding-right: 0;
		padding-left: 0;
		text-align: center;
	}

	.guide-toc {
		padding: 20px;
	}

	.guide-toc ol {
		grid-template-columns: 1fr;
	}

	.guide-compare,
	.guide-three-points,
	.merit-grid,
	.animede-feature-grid,
	.guide-category-grid,
	.guide-works-grid,
	.guide-related {
		grid-template-columns: 1fr;
	}

	.guide-message-box,
	.guide-emphasis-box {
		padding: 22px 18px;
	}

	.guide-emphasis-box h3 {
		font-size: clamp(23px, 7vw, 30px) !important;
	}

	.guide-story-item {
		padding: 20px;
	}

	.guide-faq-item summary {
		gap: 9px;
	}

	.guide-faq-q,
	.guide-faq-a {
		flex-basis: 29px;
		width: 29px;
		height: 29px;
	}

	.guide-faq-answer {
		grid-template-columns: 29px minmax(0, 1fr);
		column-gap: 10px;
		padding-right: 4px;
	}

	.guide-cta {
		padding: 34px 20px;
	}

	.guide-cta-buttons {
		flex-direction: column;
	}

	.guide-cta-buttons .guide-button {
		width: 100%;
	}

}


@media (max-width: 600px) {

	.guide-cta .btn-secondary {
		margin-top: 10px;
		margin-left: 0;
	}

}


/* =========================
   アニメーション種類カード内の画像
========================= */

.guide-type-visual {
	width: 100%;
	margin: 18px 0 24px;
	overflow: hidden;
	border: 1px solid rgba(38, 194, 178, 0.22);
	border-radius: 14px;
	background: #f7fbfb;
	aspect-ratio: 16 / 9;
}

.guide-type-visual img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* スマートフォン */
@media screen and (max-width: 767px) {
	.guide-type-visual {
		margin: 16px 0 20px;
	}
}

/* =========================
   アニメーション種類の特徴表
   MACOTOON
========================= */

.guide-type-spec {
	margin: 24px 0 20px;
	overflow: hidden;

	border: 1px solid rgba(31, 45, 61, 0.14);
	border-radius: 12px;

	background: #fff;
}

.guide-type-spec-row {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	align-items: stretch;

	border-bottom: 1px solid rgba(31, 45, 61, 0.10);
}

.guide-type-spec-row:last-child {
	border-bottom: none;
}

.guide-type-spec-label {
	display: flex;
	align-items: center;
	justify-content: center;

	padding: 14px 10px;

	background: #f3f4f6;
	color: #1f2d3d;

	font-size: 14px;
	font-weight: 800;
	line-height: 1.5;
	text-align: center;
}

.guide-type-spec-row p {
	display: flex;
	align-items: center;

	margin: 0;
	padding: 14px 16px;

	color: #475569;
	font-size: 15px;
	line-height: 1.8;
}


/* スマートフォン */

@media screen and (max-width: 767px) {

	.guide-type-spec-row {
		grid-template-columns: 68px minmax(0, 1fr);
	}

	.guide-type-spec-label {
		padding: 12px 8px;
		font-size: 13px;
	}

	.guide-type-spec-row p {
		padding: 12px 14px;
		font-size: 14px;
		line-height: 1.7;
	}

}

.guide-type-plan {
	margin: 20px 0 0;
	padding-top: 18px;
	border-top: 1px dashed rgba(38, 194, 178, 0.3);
	font-weight: 700;
	line-height: 1.8;
}

.guide-type-plan span {
	display: block;
	margin-bottom: 4px;
	color: #159f93;
	font-size: 13px;
	font-weight: 800;
}

/* =========================
   制作方法別の3つの事例
========================= */

.guide-works-grid-three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-works-grid-three .guide-work-text {
	padding: 22px;
}

.guide-works-grid-three .guide-work-text h3 {
	font-size: 20px;
}

.guide-works-grid-three .guide-work-text > p:last-child {
	font-size: 15px;
	line-height: 1.9;
}

/* タブレット以下は1列 */
@media screen and (max-width: 1000px) {
	.guide-works-grid-three {
		grid-template-columns: 1fr;
	}

	.guide-works-grid-three .guide-work-item {
		max-width: 680px;
		margin-inline: auto;
	}
}

.guide-work-movie-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	color: var(--accent);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.guide-work-movie-link span {
	transition: transform 0.2s ease;
}

.guide-work-movie-link:hover span {
	transform: translateX(4px);
}

.guide-work-movie-link{
	display:inline-flex;
	align-items:center;
	gap:8px;

	margin-top:18px;
	padding:10px 16px;

	border-radius:999px;

	background:#f3f4f6;
	color:#1f2d3d;

	font-weight:700;
	font-size:14px;

	text-decoration:none;
	transition:.2s;
}

.guide-work-movie-link:hover{
	background:#1f2d3d;
	color:#fff;
	transform:translateY(-2px);
}

/* =========================
   2カラム用ストーリー
========================= */

.guide-story.guide-story-two {
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
}

.guide-story.guide-story-two .guide-story-item {
	width: 100%;
}

.guide-story.guide-story-two .guide-story-icon img {
	width: 100%;
	max-width: 320px;
	height: auto;
	object-fit: contain;
}

/* スマホ */
@media (max-width: 768px) {
	.guide-story.guide-story-two {
		grid-template-columns: 1fr;
		max-width: 100%;
	}

	.guide-story.guide-story-two .guide-story-arrow {
		transform: rotate(90deg);
		justify-self: center;
	}
}


/* =========================================================
   MACOTOON Guide Theme Override　上書き用
========================================================= */

.guide-page{
	--guide-accent: var(--deep-navy, #1F2D3D);
	--guide-accent-soft: #F5F3EE;
	--guide-line: rgba(31,45,61,.18);
}

/* リンク・小ラベル */
.guide-page .guide-card-link,
.guide-page .guide-label,
.guide-page .guide-section-number,
.guide-page .guide-box-label,
.guide-page .guide-point-number,
.guide-page .guide-story-label,
.guide-page .guide-related-link a,
.guide-page .guide-check-list li::before{
	color: var(--guide-accent);
}

/* タグ・ポイント背景 */
.guide-page .guide-meta .tag,
.guide-page .guide-note,
.guide-page .guide-point-box,
.guide-page .guide-related-link,
.guide-page .merit-icon,
.guide-page .guide-table thead th{
	background:#F5F3EE;
	border-color:var(--guide-line);
}

/* 強調ボックス */
.guide-page .guide-message-box{
	background:#F5F3EE;
	border-left-color:var(--guide-accent);
}

.guide-page .guide-message-box strong,
.guide-page .guide-emphasis-box strong{
	color:var(--guide-accent);
}

.guide-page .guide-emphasis-box{
	background:#F8F7F3;
	border-color:var(--guide-line);
}

/* hover */
.guide-page .guide-breadcrumb a:hover,
.guide-page .guide-toc a:hover{
	color:var(--guide-accent);
}



/* フォーカス */
.guide-page .guide-card:focus-visible{
	outline-color:rgba(31,45,61,.35);
}

/* animation-types.html 内の固有カード */
.guide-page .guide-type-card{
	border-color:rgba(31,45,61,.18);
	box-shadow:0 8px 24px rgba(31,45,61,.06);
}

.guide-page .guide-type-label{
	background:#F5F3EE;
	color:var(--guide-accent);
}

.guide-page .guide-type-plan{
	color:var(--guide-accent);
}

.guide-page .guide-choice-item{
	background:#F8F7F3;
}

.guide-page .guide-choice-item span{
	color:var(--guide-accent);
}
