/* =============================================================
   LAVERITE（teradamary.com）サイト共通の部品
   置き場所：SWELLの子テーマの css/lv-site.css
   読み込み：すべてのページ（WPCodeのスニペット。TOPとお客様の声のテンプレートからも）

   ・色と書体は、追加CSSの先頭（:root）が正です。下の :root は、追加CSSにないときの予備です
   ・子テーマのテンプレート（TOP・お客様の声）の土台：段・見出し・ボタン・いちばん下の案内
   ・お客様の声の部品：大きく見せる事例（言葉 → 受講前・気づき・受講後）と、声のカード
   ・お客様の声のページ
   ・サービスページの本文に [lv_case] で入れる事例の段
   ============================================================= */

/* ---------- 色と書体（予備。正は追加CSSの先頭） ---------- */
:root {
	--lv-ink: #1B2A3A;
	--lv-sub: #586675;
	--lv-mute: #687684;
	--lv-deep: #0E3A5F;
	--lv-night: #0B2F4D;
	--lv-blue: #006FB0;
	--lv-sky: #8CC4EA;
	--lv-pale: #E6F0F7;
	--lv-mist: #EEF3F7;
	--lv-line: #D3DEE7;
	--lv-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Segoe UI", Roboto, Arial, sans-serif;
	--lv-serif: "Noto Serif JP", "游明朝", serif;
}

/* ---------- テンプレートのページだけ、SWELLの余白を消す ---------- */
.lv-template #body_wrap,
body:has(.lv-embed) #body_wrap {
	overflow-x: clip;
}

.lv-template #content {
	display: block;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* SWELLの「コンテンツ上」のタイトルは使わない（テンプレートが見出しを出すため） */
.lv-template #top_title_area,
.lv-template .l-topTitleArea {
	display: none !important;
}

/* ---------- 土台 ---------- */
.lv {
	--lv-wrap: 1120px;
	--lv-narrow: 760px;
	--lv-gutter: 32px;
	--lv-gap: 80px;
	--lv-sec: 128px;
	--lv-radius: 6px;

	display: block;
	margin-inline: calc(50% - 50vw);
	color: var(--lv-ink);
	font-family: var(--lv-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 2;
	letter-spacing: 0.04em;
	line-break: strict;
	overflow-wrap: anywhere;
	-webkit-font-smoothing: antialiased;
}

/* サービスページの本文に入れたとき（[lv_case]）、SWELLの本文の余白を足さない */
.lv.lv-embed {
	margin-block: 0;
}

.lv *,
.lv *::before,
.lv *::after {
	box-sizing: border-box;
}

.lv p,
.lv h1,
.lv h2,
.lv h3,
.lv dl,
.lv dt,
.lv dd,
.lv li,
.lv figure,
.lv blockquote {
	margin: 0;
	padding: 0;
}

.lv h1,
.lv h2,
.lv h3 {
	border: 0;
	background: none;
	color: inherit;
	font-family: inherit;
}

.lv h1::before,
.lv h1::after,
.lv h2::before,
.lv h2::after,
.lv h3::before,
.lv h3::after,
.lv blockquote::before,
.lv blockquote::after,
.lv ol > li::before,
.lv ul > li::before {
	content: none;
}

.lv blockquote {
	border: 0;
	background: none;
	color: inherit;
	quotes: none;
	font-style: normal;
}

.lv ol,
.lv ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lv img {
	display: block;
	max-width: 100%;
	height: auto;
}

.lv a {
	color: inherit;
}

.lv a:focus-visible,
.lv summary:focus-visible {
	outline: 2px solid var(--lv-blue);
	outline-offset: 4px;
}

/* ---------- 段と並び ---------- */
.lv .lv-sec {
	padding-block: var(--lv-sec);
	padding-inline: 0;
	background: #fff;
	color: inherit;
	font-family: inherit;
	line-height: inherit;
}

.lv .lv-sec--mist {
	background: var(--lv-mist);
}

.lv .lv-wrap {
	width: 100%;
	max-width: calc(var(--lv-wrap) + var(--lv-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--lv-gutter);
}

.lv .lv-wrap--narrow {
	max-width: calc(var(--lv-narrow) + var(--lv-gutter) * 2);
}

.lv .lv-wrap--voices,
.lv .lv-wrap--embed {
	max-width: calc(960px + var(--lv-gutter) * 2);
}

/* 左に見出し、右に中身 */
.lv .lv-split {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	column-gap: var(--lv-gap);
	align-items: start;
}

/* ---------- 見出し（下層ページの見出しと同じ大きさ・太さ） ---------- */
.lv .lv-title {
	color: var(--lv-ink);
	font-size: 30px;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: 0.04em;
	font-feature-settings: "palt" 1;
}

.lv .lv-lead {
	margin-top: 20px;
	color: var(--lv-sub);
	font-size: 15px;
	line-height: 2;
}

/* 見出しを中央に置く段 */
.lv .lv-sec--center .lv-head {
	margin-bottom: 56px;
	text-align: center;
}

.lv .lv-sec--center > .lv-wrap > .lv-more {
	text-align: center;
}

/* 文の折り返し：見出しと短い引用は言葉の切れ目で。説明文は、行の端まで詰めて流す */
.lv .lv-title,
.lv .lv-quote p,
.lv .lv-voice__quote,
.lv .lv-cta__title {
	word-break: auto-phrase;
}

.lv .lv-title,
.lv .lv-quote p,
.lv .lv-cta__title {
	text-wrap: balance;
}


/* ---------- ボタン（深い青の丸いボタン。触れると青） ---------- */
.lv .lv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 0 40px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.06em;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lv .lv-btn--fill {
	border-color: var(--lv-deep);
	background: var(--lv-deep);
	color: #fff;
}

.lv .lv-btn--fill:hover {
	border-color: var(--lv-blue);
	background: var(--lv-blue);
	color: #fff;
}

.lv .lv-btn--line {
	border-color: var(--lv-deep);
	background: transparent;
	color: var(--lv-deep);
}

.lv .lv-btn--line:hover {
	background: var(--lv-deep);
	color: #fff;
}

.lv .lv-btn--white {
	border-color: #fff;
	background: #fff;
	color: var(--lv-deep);
}

.lv .lv-btn--white:hover {
	background: transparent;
	color: #fff;
}

.lv .lv-btn--white:focus-visible {
	outline-color: #fff;
}

/* 文字のリンク（矢印は付けない） */
.lv .lv-link {
	color: var(--lv-blue);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 7px;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.lv .lv-link:hover {
	color: var(--lv-deep);
	text-decoration-color: transparent;
}

.lv .lv-more {
	margin-top: 48px;
}

.lv .lv-more--side {
	margin-top: 32px;
}

/* =============================================================
   お客様の声：大きく見せる事例
   ============================================================= */
.lv .lv-story {
	padding: 80px 88px 72px;
	border-radius: var(--lv-radius);
	background: var(--lv-mist);
	text-align: center;
}

/* うすい青灰の段の上では、白い面にする */
.lv .lv-sec--mist .lv-story {
	background: #fff;
}

.lv .lv-quote p {
	color: var(--lv-ink);
	font-size: 26px;
	font-weight: 600;
	line-height: 1.8;
	letter-spacing: 0.04em;
	font-feature-settings: "palt" 1;
}

/* お名前・お仕事 */
.lv .lv-who {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 24px;
}

.lv .lv-who__photo {
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
}

.lv .lv-who__name {
	margin-right: 14px;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.lv .lv-who__meta {
	color: var(--lv-sub);
	font-size: 13px;
	letter-spacing: 0.04em;
}

.lv .lv-who--stack {
	align-items: flex-start;
	justify-content: flex-start;
	margin-top: 0;
	text-align: left;
}

.lv .lv-who--stack .lv-who__photo {
	width: 64px;
	height: 64px;
}

.lv .lv-who--stack .lv-who__name,
.lv .lv-who--stack .lv-who__meta {
	display: block;
	margin-right: 0;
	line-height: 1.7;
}

/* 受講前 → 気づき（その人の分岐点。ひし形） → 受講後 */
.lv .lv-flow {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 48px;
	margin-top: 72px;
	text-align: left;
}

.lv .lv-flow::before {
	content: "";
	position: absolute;
	top: 11px;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--lv-line);
}

.lv .lv-flow__step {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.lv .lv-flow__step::before {
	content: none;
}

.lv .lv-flow__mark {
	position: relative;
	z-index: 1;
	display: block;
	width: 11px;
	height: 11px;
	margin-block: 6px 5px;
	border-radius: 50%;
	background: var(--lv-ink);
}

.lv .lv-flow__step--turn .lv-flow__mark {
	width: 22px;
	height: 22px;
	margin-block: 0;
	border-radius: 0;
	background: var(--lv-blue);
	box-shadow: 0 0 0 9px rgba(0, 111, 176, 0.12);
	transform: rotate(45deg);
}

.lv .lv-flow__label {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-top: 28px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.08em;
}

/* 番号は、下層ページの数字と同じ書体 */
.lv .lv-flow__no {
	color: var(--lv-sub);
	font-family: var(--lv-serif);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0;
}

.lv .lv-flow__step--turn .lv-flow__label,
.lv .lv-flow__step--turn .lv-flow__no {
	color: var(--lv-blue);
}

.lv .lv-flow__text {
	margin-top: 12px;
	font-size: 15px;
	line-height: 2;
}

/* 感想からの抜粋 */
.lv .lv-excerpt {
	max-width: 680px;
	margin: 64px auto 0;
	padding-top: 56px;
	border-top: 1px solid var(--lv-line);
}

.lv .lv-excerpt p {
	font-size: 19px;
	font-weight: 500;
	line-height: 2;
	letter-spacing: 0.03em;
}

.lv .lv-excerpt figcaption {
	margin-top: 16px;
	color: var(--lv-sub);
	font-size: 13px;
	letter-spacing: 0.06em;
}

.lv .lv-story__more {
	margin-top: 32px;
}

/* 感想の全文（お客様の声のページ） */
.lv .lv-fulltext {
	max-width: 680px;
	margin: 64px auto 0;
	padding-top: 56px;
	border-top: 1px solid var(--lv-line);
	text-align: left;
}

.lv .lv-fulltext__label {
	margin-bottom: 32px;
	color: var(--lv-sub);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-align: center;
}

.lv .lv-fulltext__body p {
	font-size: 16px;
	line-height: 2.1;
}

.lv .lv-fulltext__body p + p {
	margin-top: 1.4em;
}

/* =============================================================
   お客様の声：カード
   ============================================================= */
.lv .lv-voice {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	column-gap: 48px;
	padding: 48px 56px;
	border: 1px solid var(--lv-line);
	border-radius: var(--lv-radius);
	background: #fff;
	text-align: left;
}

/* 大きく見せる事例のすぐ下に添えるとき（TOP） */
.lv .lv-story + .lv-voice {
	margin-top: 24px;
}

.lv .lv-voice__quote {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.9;
	letter-spacing: 0.03em;
}

.lv .lv-voice__comment p {
	font-size: 15.5px;
	line-height: 2.05;
}

.lv .lv-voice__comment p + p {
	margin-top: 1em;
}

.lv .lv-voice__ba {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 24px;
	margin-top: 24px;
	border-top: 1px solid var(--lv-line);
}

.lv .lv-voice__ba > div {
	padding-top: 18px;
}

.lv .lv-voice__ba dt {
	color: var(--lv-blue);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.lv .lv-voice__ba dd {
	margin-top: 4px;
	font-size: 15px;
	line-height: 1.9;
}

.lv .lv-voice__more {
	margin-top: 28px;
}

/* =============================================================
   お客様の声のページ
   ============================================================= */
.lv .lv-pagehead {
	padding: 72px 0 64px;
	background: #fff;
}

.lv .lv-pagehead__title {
	color: var(--lv-ink);
	font-size: 26px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.06em;
}

.lv .lv-pagehead__lead {
	margin-top: 16px;
	color: var(--lv-sub);
	font-size: 15px;
	line-height: 2;
}

.lv .lv-voices {
	display: grid;
	gap: 24px;
}

.lv .lv-voices__note {
	margin-top: 56px;
	color: var(--lv-sub);
	font-size: 15px;
	line-height: 2;
	text-align: center;
}

/* TOPなどから #voice-○○ で飛んだとき、ヘッダーの下に隠れないように */
.lv [id^="voice-"] {
	scroll-margin-top: 96px;
}

/* =============================================================
   いちばん下の案内（TOP・お客様の声）
   ============================================================= */
.lv .lv-cta {
	padding-block: var(--lv-sec);
	background: var(--lv-deep);
	color: #fff;
	text-align: center;
}

.lv .lv-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* 分岐点のひし形 */
.lv .lv-cta__mark {
	display: block;
	width: 18px;
	height: 18px;
	background: var(--lv-sky);
	box-shadow: 0 0 0 9px rgba(140, 196, 234, 0.18);
	transform: rotate(45deg);
}

.lv .lv-cta__title {
	margin-top: 48px;
	color: #fff;
	font-size: 30px;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: 0.06em;
	font-feature-settings: "palt" 1;
}

.lv .lv-cta__lead {
	margin-top: 24px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 16px;
	line-height: 2.1;
}

.lv .lv-cta .lv-btn {
	min-width: 320px;
	margin-top: 48px;
}

/* =============================================================
   タブレット（959px以下）
   ============================================================= */
@media screen and (max-width: 959px) {
	.lv {
		--lv-gap: 48px;
		--lv-sec: 104px;
	}

	.lv .lv-split {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 40px;
	}

	.lv .lv-story {
		padding: 64px 48px 56px;
	}

	.lv .lv-flow {
		column-gap: 32px;
	}

	.lv .lv-voice {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 24px;
		padding: 40px 48px;
	}
}

/* =============================================================
   スマホ（767px以下）
   ============================================================= */
@media screen and (max-width: 767px) {
	/* スマホでは、説明文の手動の改行を外す（PCの幅で入れた改行が、短い行を作るため） */
	.lv .lv-lead br,
	.lv .lv-excerpt p br,
	.lv .lv-cta__lead br,
	.lv .lv-pagehead__lead br {
		display: none;
	}

	.lv {
		--lv-gutter: 20px;
		--lv-sec: 80px;
		font-size: 15px;
	}

	.lv .lv-title {
		font-size: 22px;
	}

	.lv .lv-lead {
		margin-top: 14px;
		font-size: 14px;
	}

	.lv .lv-sec--center .lv-head {
		margin-bottom: 40px;
	}

	.lv .lv-btn {
		width: 100%;
		padding: 0 20px;
	}

	/* 大きく見せる事例 */
	.lv .lv-story {
		padding: 48px 20px 44px;
	}

	.lv .lv-quote p {
		font-size: 18px;
	}

	/* スマホでは入力した改行を使わず、2行に収める */
	.lv .lv-quote br {
		display: none;
	}

	.lv .lv-who__name {
		display: block;
		margin-right: 0;
	}

	.lv .lv-who__text {
		line-height: 1.7;
		text-align: center;
	}

	.lv .lv-who--stack .lv-who__text {
		text-align: left;
	}

	/* 受講前・気づき・受講後を、縦に並べる */
	.lv .lv-flow {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 32px;
		margin-top: 48px;
		padding-left: 44px;
	}

	.lv .lv-flow::before {
		display: none;
	}

	.lv .lv-flow__step::before {
		content: "";
		position: absolute;
		top: 15px;
		left: -33px;
		width: 1px;
		height: calc(100% + 32px);
		background: var(--lv-line);
	}

	.lv .lv-flow__step:last-child::before {
		display: none;
	}

	.lv .lv-flow__mark {
		position: absolute;
		top: 9px;
		left: -38.5px;
		margin: 0;
	}

	.lv .lv-flow__step--turn .lv-flow__mark {
		top: 4px;
		left: -44px;
	}

	.lv .lv-flow__label {
		margin-top: 0;
		font-size: 17px;
	}

	.lv .lv-flow__text {
		margin-top: 6px;
		font-size: 14.5px;
	}

	.lv .lv-excerpt,
	.lv .lv-fulltext {
		margin-top: 48px;
		padding-top: 40px;
	}

	.lv .lv-excerpt p {
		font-size: 16px;
		text-align: left;
	}

	.lv .lv-fulltext__body p {
		font-size: 15px;
		line-height: 2.05;
	}

	/* カード */
	.lv .lv-voice {
		padding: 32px 20px;
	}

	.lv .lv-voice__quote {
		font-size: 16px;
	}

	.lv .lv-voice__comment p {
		font-size: 15px;
	}

	.lv .lv-voice__ba {
		grid-template-columns: minmax(0, 1fr);
	}

	/* お客様の声のページ */
	.lv .lv-pagehead {
		padding: 48px 0 40px;
	}

	.lv .lv-pagehead__title {
		font-size: 22px;
	}

	.lv .lv-pagehead__lead {
		font-size: 14px;
	}

	.lv .lv-voices__note {
		margin-top: 40px;
		font-size: 14px;
		text-align: left;
	}

	.lv .lv-voices__note br {
		display: none;
	}

	/* いちばん下の案内 */
	.lv .lv-cta__title {
		margin-top: 40px;
		font-size: 22px;
	}

	.lv .lv-cta__lead {
		font-size: 15px;
	}

	.lv .lv-cta .lv-btn {
		min-width: 0;
		margin-top: 40px;
	}
}
