.first-faq.fade,
html.js .first-faq.fade,
.first-faq.fade.is-animation {
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}
.first-faq .fade,
.first-faq .fade.is-animation {
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}
.faq-content,
.faq-category-content {
	display: block !important;
	overflow: hidden;
}
.faq-ttl i {
	pointer-events: none;
}
.faq-ttl .icon {
	transition: transform 0.2s ease;
}
.faq-ttl.open .icon {
	transform: rotate(180deg);
}
.faq-content > span:last-child {
	flex: 1 1 auto;
	display: block; 
}
.faq-content {
	display: grid !important;
	grid-template-columns: var(--faq-badge-size, 2.4rem) 1fr;
	column-gap: 1.75rem;
	align-items: start;
	padding-left: 0 !important;
	text-indent: 0 !important;
}
.faq-content > span:first-child {
	min-width: var(--faq-badge-size, 2.4rem);
	min-height: var(--faq-badge-size, 2.4rem);
	width: var(--faq-badge-size, 4rem);
	height: var(--faq-badge-size, 4rem);
	border-radius: 9999px;
	display: grid !important;
	place-items: center;
	font-size: var(--faq-badge-font, 2rem) !important;
	font-weight: 700;
	line-height: 1 !important;
	color: #fff;
	background: var(--faq-a-bg, #94b48b);
}
.faq-content > span:last-child {
	grid-column: 2;
	min-width: 0; 
	width: 100%;
	margin: 0 !important; 
	display: block !important;
	overflow-wrap: anywhere; 
}
.site-frame footer .fade {
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}
@media (max-width: 640px) {
	.page-ttl {
		position: relative; 
		height: 8rem;
		background-image: url("../img/plan-header-bg_sp.webp"); 
		background-size: cover;
		background-position: center;
		display: flex; 
		justify-content: center;
		align-items: center;
		text-align: center;
		margin-bottom: 2rem;
	}
	.page-ttl::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.4); 
		z-index: 1; 
	}
	.page-ttl h2 {
		position: relative; 
		z-index: 2;
		font-size: 2.6rem;
		font-weight: 800;
		color: #fff; 
		margin: 0;
	}
	.ttl {
		color: #6d558d;
		font-weight: 800;
		font-size: 2.6rem;
		margin: 1rem 16px 0.6rem;
	}
	.heading-2 {
		color: #6d558d;
		font-weight: 800;
		margin: 0.8rem 16px 0.4rem;
	}
	.mb-80 {
		margin-bottom: 1.2rem !important;
	}
	.first-flow .flow-grid {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0.9rem;
		margin: 0 16px 1.2rem;
	}
	.first-flow .flow-grid li {
		display: grid;
		grid-template-columns: 2.8rem 1fr;
		column-gap: 0.8rem;
		align-items: start;
		background: #fff;
		border: 1px solid #eee;
		border-radius: 12px;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
		padding: 0.9rem 0.9rem 1rem;
	}
	.first-flow .num {
		grid-column: 1;
		grid-row: 1;
		align-self: start;
		width: 2.6rem;
		height: 2.6rem;
		border-radius: 9999px;
		display: grid;
		place-items: center;
		background: #6d558d;
		color: #fff;
		font-weight: 800;
		font-size: 1.3rem;
		box-shadow: 0 3px 10px rgba(109, 85, 141, 0.25);
	}
	.first-flow figure {
		grid-column: 1 / -1;
		margin: 0.4rem 0 0.6rem;
	}
	.first-flow figure img {
		width: 100%;
		height: auto;
		border-radius: 10px;
		display: block;
	}
	.first-flow dl {
		grid-column: 2;
		margin: 0;
	}
	.first-flow dt {
		color: #6d558d;
		font-weight: 800;
		font-size: 1.6rem;
		margin: 0.1rem 0 0.2rem;
	}
	.first-flow dd {
		margin: 0;
		font-size: 1.45rem;
		line-height: 1.9;
	}
	.first-flow {
		--accent: #6b67a0;
		--badge: 26px;
		--gutter: 12px;
		--content-left: calc(var(--badge) + var(--gutter));
		--track-x: calc(var(--badge) / 2 - 1px);
		padding: 0 16px 1.2rem;
	}
	.first-flow .ttl {
		color: var(--accent);
		font-weight: 800;
		font-size: 2.6rem;
		margin: 1rem 0 0.6rem;
	}
	.first-flow .flow {
		position: relative;
		list-style: none;
		margin: 0 16px 1rem;
		padding: 0;
		counter-reset: step;
	}
	.first-flow .flow::before {
		content: "";
		position: absolute;
		left: var(--track-x);
		top: 0.4rem;
		bottom: 0.6rem;
		width: 2px;
		background: linear-gradient(#dcddea, #f0f1f7);
		z-index: 0;
	}
	.first-flow .flow li {
		position: relative;
		z-index: 1;
		counter-increment: step;
		padding: 0.25rem 0 0.9rem var(--content-left); 
		margin: 0;
		background: transparent;
		border: 0;
		box-shadow: none;
	}
	.first-flow .flow li::before {
		content: counter(step);
		position: absolute;
		left: 0;
		top: 0.15rem;
		width: var(--badge);
		height: var(--badge);
		border-radius: 9999px;
		display: grid;
		place-items: center;
		background: var(--accent);
		color: #fff;
		font-weight: 800;
		font-size: 1.3rem;
		box-shadow: 0 3px 10px rgba(107, 103, 160, 0.25);
	}
	.first-flow .flow li:not(:last-child)::after {
		content: "";
		position: absolute;
		left: var(--content-left);
		right: 0;
		bottom: 0;
		height: 1px;
		background: linear-gradient(
			90deg,
			rgba(107, 103, 160, 0.1),
			rgba(107, 103, 160, 0.35),
			rgba(107, 103, 160, 0.1)
		);
	}
	.first-flow h4 {
		margin: 0 0 0.25rem;
		color: var(--accent);
		font-size: 1.6rem;
		font-weight: 800;
		letter-spacing: 0.01em;
	}
	.first-flow figure {
		margin: 0.2rem 0 0.45rem;
		border-radius: 10px;
		overflow: hidden;
	}
	.first-flow figure img {
		display: block;
		width: 100%;
		height: auto;
	}
	.first-flow p {
		margin: 0;
		font-size: 1.45rem;
		line-height: 1.9;
	}
	.faq {
		--accent: #6b67a0;
		--green: #498606;
		--ink: #222;
		--badge: 28px;
		--gutter: 10px;
		--content-left: calc(var(--badge) + var(--gutter));
		padding: 0 16px 1.2rem;
	}
	.faq .ttl {
		color: var(--accent);
		font-weight: 800;
		font-size: 2.6rem;
		margin: 1rem 0 0.6rem;
	}
	.faq details {
		margin: 0;
	}
	.faq summary {
		list-style: none;
		cursor: pointer;
	}
	.faq summary::-webkit-details-marker {
		display: none;
	}
	.faq-cat {
		margin: 0 0 1rem;
		border: 1px solid #eee;
		border-radius: 12px;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
		background: #fff;
	}
	.faq-cat > summary {
		font-size: 1.7rem;
		position: relative;
		padding: 0.9rem 2.4rem 0.9rem 2.4rem;
		font-weight: 800;
		color: #444;
		border-radius: 12px;
	}
	.faq-cat > summary::before {
		content: "";
		position: absolute;
		left: 0.8rem;
		top: 50%;
		width: 6px;
		height: 6px;
		border-radius: 999px;
		background: var(--accent);
		transform: translateY(-50%);
	}
	.faq-cat > summary::after {
		content: "＋";
		position: absolute;
		right: 0.9rem;
		top: 50%;
		transform: translateY(-50%);
		color: #777;
		font-weight: 800;
		font-size: 1.4rem;
	}
	.faq-cat[open] > summary::after {
		content: "—";
	} 
	.faq .qa {
		border-top: 1px solid #f0f1f3;
	}
	.faq .qa:first-of-type {
		border-top: 1px solid #eee;
	} 
	.faq .qa > summary {
		font-size: 1.4rem;
		position: relative;
		padding: 0.85rem 2.4rem 0.85rem calc(var(--content-left) + 0.8rem);
		font-weight: 700;
		color: #333;
	}
	.faq .qa > summary::after {
		content: "＋";
		position: absolute;
		right: 0.9rem;
		top: 50%;
		transform: translateY(-50%);
		color: #777;
		font-weight: 800;
		font-size: 1.2rem;
	}
	.faq .qa[open] > summary::after {
		content: "—";
	}
	.faq .badge.q {
		position: absolute;
		left: 0.8rem;
		top: 0.6rem;
		width: var(--badge);
		height: var(--badge);
		border-radius: 9999px;
		display: grid;
		place-items: center;
		background: var(--accent);
		color: #fff;
		font-weight: 800;
		font-size: 1.3rem;
		box-shadow: 0 3px 10px rgba(107, 103, 160, 0.25);
	}
	.faq .answer {
		padding: 0.75rem 1rem 1rem 0.8rem;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}
	.faq .badge.a {
		width: var(--badge);
		height: var(--badge);
		border-radius: 9999px;
		display: grid;
		place-items: center;
		background: var(--green);
		color: #fff;
		font-weight: 800;
		font-size: 1.3rem;
		box-shadow: 0 3px 10px rgba(73, 134, 6, 0.22);
		margin-bottom: 0.6rem;
		flex-shrink: 0;
	}
	.faq .answer .content {
		color: var(--ink);
		font-size: 1.2rem;
		line-height: 1.9;
		width: 100%;
	}
	.faq .answer .content p {
		margin: 0.2rem 0 0.6rem;
	}
	.faq .answer .content p:last-child {
		margin-bottom: 0;
	}
	.faq .qa[open] .answer {
		border-top: 1px solid #eef0f4;
	}
} 
@media (min-width: 641px) {
	.page-ttl {
		position: relative;
		height: clamp(100px, 16vh, 200px);
		display: grid;
		place-items: center;
		margin: 0 0 18px;
		background: center / cover no-repeat
			url("../img/plan-header-bg_pc.webp");
		border-radius: 0;
	}
	.page-ttl::before {
		content: "";
		position: absolute;
		inset: 0;
		background: rgba(0, 0, 0, 0.35); 
	}
	.page-ttl h2 {
		position: relative;
		z-index: 1;
		margin: 0;
		color: #fff; 
		font-weight: 800;
		font-size: clamp(3.2rem, 4.8vw, 5.6rem);
		letter-spacing: 0.06em;
		text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
	}
	.container {
		max-width: 1080px;
		margin: 0 auto 96px;
		padding: 0 24px;
	}
	.first-flow {
		--accent: #6b67a0;
		--badge: 34px;
		--gutter: 24px;
		--content-left: calc(var(--badge) + var(--gutter));
		--track-x: calc(var(--badge) / 2 - 1px);
		padding: 8px 0 80px;
	}
	.first-flow .ttl {
		color: var(--accent);
		font-weight: 800;
		font-size: 3rem;
		margin: 0 0 18px;
		text-align: left;
	}
	.first-flow .flow {
		position: relative;
		list-style: none;
		margin: 0 auto;
		padding: 8px 0 0;
		max-width: 880px; 
		counter-reset: step;
	}
	.first-flow .flow::before {
		content: "";
		position: absolute;
		left: var(--track-x);
		top: 0.6rem;
		bottom: 0.8rem;
		width: 2px;
		background: linear-gradient(#dcddea, #f0f1f7);
		z-index: 0;
	}
	.first-flow .flow li {
		position: relative;
		z-index: 1;
		counter-increment: step;
		padding: 0.35rem 0 1.4rem var(--content-left);
		margin: 0;
	}
	.first-flow .flow li::before {
		content: counter(step);
		position: absolute;
		left: 0;
		top: 0.1rem;
		width: var(--badge);
		height: var(--badge);
		border-radius: 9999px;
		display: grid;
		place-items: center;
		background: var(--accent);
		color: #fff;
		font-weight: 800;
		font-size: 1.5rem;
		box-shadow: 0 3px 10px rgba(107, 103, 160, 0.25);
	}
	.first-flow .flow li:not(:last-child)::after {
		content: "";
		position: absolute;
		left: var(--content-left);
		right: 0;
		bottom: 0;
		height: 1px;
		background: linear-gradient(
			90deg,
			rgba(107, 103, 160, 0.1),
			rgba(107, 103, 160, 0.35),
			rgba(107, 103, 160, 0.1)
		);
	}
	.first-flow h4 {
		margin: 0 0 0.3rem;
		color: var(--accent);
		font-size: 1.9rem;
		font-weight: 800;
		letter-spacing: 0.02em;
	}
	.first-flow figure {
		margin: 0.35rem 0 0.7rem;
		border-radius: 12px;
		overflow: hidden;
	}
	.first-flow figure img {
		display: block;
		width: 100%;
		height: auto;
	}
	.first-flow p {
		margin: 0;
		font-size: 1.5rem;
		line-height: 2;
	}
	.first-flow {
		padding: 40px 0 80px;
	}
	.first-flow .ttl {
		font-size: 2.8rem;
		font-weight: 800;
		color: #6b5b55;
		margin: 0 0 28px;
		text-align: left;
	}
	.first-flow .flow {
		list-style: none;
		margin: 0 auto;
		padding: 0;
		max-width: 1080px;
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 24px;
		row-gap: 32px;
		counter-reset: flow-step;
	}
	.first-flow .flow li {
		position: relative;
		counter-increment: flow-step;
		background: rgba(255, 255, 255, 0.96);
		border-radius: 18px;
		box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
		padding: 40px 16px 22px;
	}
	.first-flow .flow li::before {
		content: counter(flow-step, decimal-leading-zero);
		position: absolute;
		left: 16px;
		top: -22px;
		width: 52px;
		height: 52px;
		border-radius: 999px;
		display: grid;
		place-items: center;
		background: #6d558d; 
		color: #fff;
		font-weight: 700;
		font-size: 1.9rem;
		letter-spacing: 0.08em;
		box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
	}
	.first-flow h4 {
		margin: 0 0 6px;
		font-size: 1.7rem;
		font-weight: 800;
		color: #6b67a0; 
		text-align: center;
	}
	.first-flow figure {
		margin: 8px 0 10px;
		border-radius: 14px;
		overflow: hidden;
		line-height: 0;
	}
	.first-flow figure img {
		display: block;
		width: 100%;
		height: auto;
	}
	.first-flow p {
		margin: 0;
		font-size: 1.4rem;
		line-height: 1.9;
	}
	.faq {
		--accent: #6b67a0;
		--green: #498606;
		--ink: #222;
		--badge: 30px;
		--gutter: 10px;
		--content-left: calc(var(--badge) + var(--gutter));
		max-width: 880px;
		margin: 0 auto 96px;
	}
	.faq .ttl {
		color: var(--accent);
		font-weight: 800;
		font-size: 3rem;
		margin: 0 0 18px;
		text-align: left;
	}
	.faq details {
		margin: 0;
	}
	.faq summary {
		list-style: none;
		cursor: pointer;
	}
	.faq summary::-webkit-details-marker {
		display: none;
	}
	.faq-cat {
		margin: 0 0 1.4rem;
		border: 1px solid #eee;
		border-radius: 12px;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
		background: #fff;
	}
	.faq-cat > summary {
		font-size: 1.7rem;
		position: relative;
		padding: 1rem 2.8rem 1rem 2.8rem;
		font-weight: 800;
		color: #444;
		border-radius: 12px;
	}
	.faq-cat > summary::before {
		content: "";
		position: absolute;
		left: 1rem;
		top: 50%;
		width: 7px;
		height: 7px;
		border-radius: 999px;
		background: var(--accent);
		transform: translateY(-50%);
	}
	.faq-cat > summary::after {
		content: "＋";
		position: absolute;
		right: 1.1rem;
		top: 50%;
		transform: translateY(-50%);
		color: #777;
		font-weight: 800;
		font-size: 1.4rem;
	}
	.faq-cat[open] > summary::after {
		content: "—";
	}
	.faq .qa {
		border-top: 1px solid #f0f1f3;
	}
	.faq .qa:first-of-type {
		border-top: 1px solid #eee;
	}
	.faq .qa > summary {
		font-size: 1.5rem;
		position: relative;
		padding: 1rem 2.8rem 1rem calc(var(--content-left) + 1rem);
		font-weight: 700;
		color: #333;
	}
	.faq .qa > summary::after {
		content: "＋";
		position: absolute;
		right: 1.1rem;
		top: 50%;
		transform: translateY(-50%);
		color: #777;
		font-weight: 800;
		font-size: 1.2rem;
	}
	.faq .qa[open] > summary::after {
		content: "—";
	}
	.faq .badge.q {
		position: absolute;
		left: 1rem;
		top: 0.75rem;
		width: var(--badge);
		height: var(--badge);
		border-radius: 9999px;
		display: grid;
		place-items: center;
		background: var(--accent);
		color: #fff;
		font-weight: 800;
		font-size: 1.4rem;
		box-shadow: 0 3px 10px rgba(107, 103, 160, 0.25);
	}
	.faq .answer {
		padding: 0.9rem 1.4rem 1.2rem 1.1rem;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		border-top: 1px solid #eef0f4;
	}
	.faq .badge.a {
		width: var(--badge);
		height: var(--badge);
		border-radius: 9999px;
		display: grid;
		place-items: center;
		background: var(--green);
		color: #fff;
		font-weight: 800;
		font-size: 1.4rem;
		box-shadow: 0 3px 10px rgba(73, 134, 6, 0.22);
		margin-bottom: 0.7rem;
		flex-shrink: 0;
	}
	.faq .answer .content {
		color: var(--ink);
		font-size: 1.4rem;
		line-height: 2;
		width: 100%;
	}
	.faq .answer .content p {
		margin: 0.3rem 0 0.8rem;
	}
	.faq .answer .content p:last-child {
		margin-bottom: 0;
	}
	.mb-80 {
		margin-bottom: 80px !important;
	}
} 
