@charset "utf-8";
/* ==================================================
   よくある質問ページ
   基本設定 → 画面幅別の調整 → パーツ別の追加調整の順。
   同じ指定が複数ある場合は、後にある条件・指定も確認する。
   読み込み順と編集先の一覧：README.md「CSSの修正方法」
================================================== */
/* File: faq.css | Version: 1.0.0 | Update: 2026-10-20
   Author: https://flowlab.co.jp | (c)2026 Flowlab inc. */
/* --- 導入の見出し・リード文・丸い写真 --- */
.faqIntro {
	position: relative;
	min-height: 620px;
	padding-top: 44px;
}

.introInner {
	position: relative;
	display: flex;
	justify-content: space-between;
	width: var(--content-width);
	margin: 0 auto;
}

.introHeading {
	position: relative;
	z-index: 2;
	padding-top: 78px;
}

.introHeading h1 > span:first-child {
	display: block;
	color: var(--accent);
	font-family: "Fraunces", var(--font-serif);
	font-size: 3.75rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .03em;
}

.introHeading h1 > span:last-child {
	font-family: "Zen Kaku Gothic New", var(--font-jp);
	font-weight: 700;
	display: block;
	padding: 18px 0 0 4px;
	font-size: 1.125rem;
}

.introCopy {
	font-family: "M PLUS 1p", var(--font-jp);
	padding-top: 116px;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.8;
	letter-spacing: .02em;
}

.introPhoto {
	flex: 0 0 46.6%;
	aspect-ratio: 1;
	align-self: flex-start;
	border: 10px solid var(--accent);
	border-radius: 50%;
}

/* --- 背景を流れるピンクの文字 --- */
.introWords {
	position: absolute;
	inset: 0;
	overflow: hidden;
	color: var(--accent);
	opacity: .12;
	font-size: clamp(2.5rem, 5.85vw, 4.75rem);
	font-family: "M PLUS 1p", var(--font-jp);
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1.15;
	white-space: nowrap;
	pointer-events: none;
}

.introWords span {
	position: absolute;
	font-size: var(--word-scale, 1em);
	transform: scaleX(.92);
	transform-origin: left center;
	animation: faqWordFlow 48s linear infinite;
}

.wordExperience {
	--word-scale: 1.12em;
}

.wordLicense {
	--word-scale: .96em;
}

.wordLeave {
	--word-scale: 1.08em;
}

.wordPreparation {
	--word-scale: .88em;
}

.wordFather {
	--word-scale: .9em;
}

.wordCar {
	--word-scale: 1em;
}

.wordWish {
	--word-scale: 1.1em;
}

.wordTransfer {
	--word-scale: .94em;
}

.introWords .wordExperience {
	animation-delay: -36s;
}

.introWords .wordLicense {
	animation-delay: -26s;
}

.introWords .wordLeave {
	animation-delay: -20s;
}

.introWords .wordPreparation {
	animation-delay: -18s;
}

.introWords .wordFather {
	animation-delay: -30s;
}

.introWords .wordCar {
	animation-delay: -24s;
}

.introWords .wordWish {
	animation-delay: -40s;
}

.introWords .wordTransfer {
	animation-delay: -22s;
}

@keyframes faqWordFlow {
	from {
		transform: translateX(100vw) scaleX(.92);
	}

	to {
		transform: translateX(calc(-100vw - 100%)) scaleX(.92);
	}

}

.wordExperience {
	top: 20px;
	left: -40px;
}

.wordLicense {
	top: 95px;
	left: 38%;
}

.wordLeave {
	top: 20px;
	left: 75%;
}

.wordPreparation {
	top: 205px;
	left: 86%;
}

.wordFather {
	top: 255px;
	left: -65px;
}

.wordCar {
	top: 355px;
	left: 32%;
}

.wordWish {
	top: 425px;
	left: -20px;
}

.wordTransfer {
	top: 425px;
	left: 80%;
}

.faqSection {
	width: var(--content-width);
	margin: 0 auto;
	scroll-margin-top: 28px;
}

.faqItem + .faqItem {
	padding-top: 58px;
}

.faqItem dt {
	font-family: "M PLUS 1p", var(--font-jp);
	display: flex;
	align-items: baseline;
	min-height: 78px;
	padding: 17px 30px;
	border: 4px solid #040000;
	border-radius: 48px;
	background: var(--accent);
	font-size: 1.8125rem;
	font-weight: 700;
	line-height: 1.5;
}

.questionMark {
	flex-shrink: 0;
	padding-right: 3px;
	font-family: inherit;
	font-size: 1em;
	font-weight: 700;
}

.faqItem dd {
	padding: 22px 36px 0;
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 2.05;
	overflow-wrap: anywhere;
}

/* 画面幅・操作環境の条件：screen and (min-width: 897px) and (max-width: 1299px) */
@media screen and (min-width: 897px) and (max-width: 1299px) {
	.faqIntro {
		min-height: 48vw;
	}

	.introHeading {
		padding-top: 6vw;
	}

	.introCopy {
		padding-top: 8vw;
	}

	.faqItem dt {
		font-size: 1.8125rem;
	}

	.desktopBreak {
		display: none;
	}

}

/* 画面幅・操作環境の条件：(prefers-reduced-motion: reduce) */
@media (prefers-reduced-motion: reduce) {
	.introWords span {
		animation: none;
	}

}

/* 画面幅・操作環境の条件：screen and (max-width: 896px) */
@media screen and (max-width: 896px) {
	.faqIntro {
		min-height: 390px;
		padding-top: 40px;
	}

	.introInner {
		width: 86%;
	}

	.introHeading {
		flex: 0 0 45%;
		min-width: 0;
		padding-top: 40px;
	}

	.introHeading h1 > span:first-child {
		font-size: 2.875rem;
	}

	.introHeading h1 > span:last-child {
		padding-top: 12px;
		font-size: .875rem;
	}

	.introCopy {
		position: relative;
		width: min(280px, 86vw);
		padding-top: 105px;
		font-size: 1rem;
		line-height: 1.9;
	}

	.introPhoto {
		flex-basis: 49%;
		margin-top: 15px;
		border-width: 5px;
	}

	.introWords {
		font-size: clamp(1.75rem, 5.2vw, 2.75rem);
	}

	.wordExperience {
		top: 22px;
		left: -20px;
	}

	.wordLicense {
		top: 45px;
		left: 44%;
	}

	.wordLeave {
		top: 10px;
		left: 80%;
	}

	.wordPreparation {
		top: 150px;
		left: 82%;
	}

	.wordFather {
		top: 210px;
		left: -20px;
	}

	.wordCar {
		top: 245px;
		left: 48%;
	}

	.wordWish {
		top: 300px;
		left: -10px;
	}

	.wordTransfer {
		top: 300px;
		left: 80%;
	}

	.faqSection {
		width: 88%;
	}

	.faqItem + .faqItem {
		padding-top: 32px;
	}

	.faqItem dt {
		min-height: 50px;
		padding: 8px 18px;
		border-width: 2px;
		border-radius: 30px;
		font-size: 1rem;
		line-height: 1.65;
	}

	.questionMark {
		font-size: 1.3rem;
	}

	.faqItem dd {
		padding: 16px 12px 0;
		font-size: 1rem;
		line-height: 1.9;
	}

	.desktopBreak {
		display: none;
	}

}

/* 文字サイズを保ち、文字だけを横92%へ縮める。 */
.faqCondensedCopy, .faqCondensedQuestion {
	transform: scaleX(.92);
	transform-origin: left center;
}

.faqCondensedCopy {
	display: block;
	letter-spacing: .07em;
}

.faqCondensedQuestion {
	display: flex;
	align-items: baseline;
	width: 100%;
	min-width: 0;
	letter-spacing: .05em;
}

.questionText {
	min-width: 0;
}

/* FAQページの日本語見出し */
.introHeading h1 > span:last-child {
	font-size: 1.2rem;
}

/* バナー以外のコンテンツを初回だけフェードインする。 */
.faqReveal {
	opacity: 0;
	transform: translateY(24px);
}

.faqReveal.isRevealed,
.faqReveal:focus-within {
	opacity: 1;
	transform: translateY(0);
	transition: opacity .75s ease, transform .75s cubic-bezier(.22, 1, .36, 1);
}

/* 画面幅・操作環境の条件：(prefers-reduced-motion: reduce) */
@media (prefers-reduced-motion: reduce) {
	.faqReveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

}

/* 横長の写真を半円の下端に合わせて表示する。 */
.pageFaq .heroPhoto > img {
	top: auto;
	bottom: 0;
	height: auto;
}

/* Keep the photograph at its final size while the circular viewing window expands. */
.introPhoto.faqPhotoRevealReady {
	clip-path: circle(0% at 50% 50%);
}

.introPhoto.faqPhotoRevealReady.isPhotoRevealed {
	animation: faqPhotoExpand .9s cubic-bezier(.22,1,.36,1) both;
}

@keyframes faqPhotoExpand {
	from {
		clip-path: circle(0% at 50% 50%);
	}

	to {
		clip-path: circle(50% at 50% 50%);
	}

}

/* 画面幅・操作環境の条件：(prefers-reduced-motion:reduce) */
@media (prefers-reduced-motion:reduce) {
	.introPhoto.faqPhotoRevealReady {
		clip-path: none;
		animation: none;
	}

}
