/*
 * フロントページ・ヒーロー直下のセクション群スタイル。
 * ヒーローと同じトーン (ダーク基調 + アクセントブルー + Outfit/Noto Sans JP) を踏襲。
 * .ths- プレフィックスで Lightning 既存スタイルと干渉しないようスコープ。
 */

:root {
	--ths-dark: #0d0d1a;
	--ths-dark-mid: #141428;
	--ths-dark-surface: #1a1a32;
	--ths-dark-deep: #08081a;
	--ths-border: rgba(255, 255, 255, 0.08);
	--ths-border-strong: rgba(255, 255, 255, 0.16);
	--ths-text: #ffffff;
	--ths-text-sub: rgba(255, 255, 255, 0.65);
	--ths-text-mute: rgba(255, 255, 255, 0.4);
	--ths-text-dark: #111111;
	--ths-text-dark-sub: #555555;
	--ths-accent: #0055cc;
	--ths-accent-light: #3388ee;
	--ths-accent-glow: rgba(51, 136, 238, 0.25);
	--ths-light-bg: #fafafa;
	--ths-light-bg-mid: #f3f4f8;
}

.ths-section {
	position: relative;
	padding: clamp(80px, 10vw, 140px) 0;
	overflow: hidden;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

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

/* Lightning 親テーマが h2 等に当てている背景・余白・ボーダー・下線等を打ち消す */
.ths-section h1,
.ths-section h2,
.ths-section h3,
.ths-section h4 {
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0;
	text-decoration: none;
	box-shadow: none;
}
.ths-section h1::before, .ths-section h1::after,
.ths-section h2::before, .ths-section h2::after,
.ths-section h3::before, .ths-section h3::after,
.ths-section h4::before, .ths-section h4::after {
	content: none;
}
.ths-section :is(h1, h2, h3, h4) span,
.ths-section :is(h1, h2, h3, h4) u,
.ths-section :is(h1, h2, h3, h4) strong {
	text-decoration: none;
	border-bottom: 0;
	background: transparent;
}

.ths-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 clamp(24px, 4vw, 60px);
	position: relative;
	z-index: 2;
}

/* ========== Eyebrow / Headline ========== */
.ths-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: "Outfit", sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ths-accent-light);
	margin-bottom: 24px;
}
.ths-eyebrow span {
	display: inline-block;
	padding: 4px 10px;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 0.7rem;
}
.ths-eyebrow--light { color: var(--ths-accent); }

.ths-headline {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: clamp(1.9rem, 4.2vw, 3.2rem);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.02em;
	color: var(--ths-text);
	margin: 0 auto 28px;
	text-align: center;
}
.ths-headline--light { color: var(--ths-text-dark); }

.ths-headline-accent {
	color: var(--ths-accent-light);
	position: relative;
}
.ths-headline--light .ths-headline-accent { color: var(--ths-accent); }

.ths-lead {
	font-size: clamp(1.05rem, 1.3vw, 1.2rem);
	line-height: 2.15;
	color: var(--ths-text-sub);
	max-width: 760px;
	margin: 0 auto 72px;
	text-align: center;
}
.ths-lead--dark { color: var(--ths-text-dark-sub); }

/* ========== Reveal animation ========== */
[data-reveal] {
	opacity: 0;
	transform: translateY(40px) scale(0.97);
	transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
		transform 1s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}
[data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}

/* タイトル文字単位のフェードイン */
.ths-headline,
.ths-cta-headline {
	overflow: hidden;
}
.ths-headline > br + *,
.ths-headline {
	display: block;
}

@media (prefers-reduced-motion: reduce) {
	[data-reveal] {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* ========== SECTION 00: Intro / Who we are ========== */
.ths-section--intro {
	background:
		radial-gradient(ellipse 70% 55% at 50% 0%, rgba(51, 136, 238, 0.12) 0%, transparent 65%),
		radial-gradient(ellipse 60% 50% at 100% 100%, rgba(0, 85, 204, 0.08) 0%, transparent 65%),
		linear-gradient(180deg, #fafcff 0%, #eef3fb 100%);
	color: var(--ths-text-dark);
	padding: clamp(110px, 14vw, 200px) 0 clamp(60px, 8vw, 100px);
	text-align: center;
	overflow: visible;
}

.ths-section--intro .ths-container {
	max-width: 1180px;
}

.ths-section--intro .ths-eyebrow {
	justify-content: center;
	display: inline-flex;
	margin-bottom: 40px;
	color: var(--ths-accent);
}

.ths-intro-glow {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 18% 28%, rgba(51, 136, 238, 0.10), transparent 40%),
		radial-gradient(circle at 82% 72%, rgba(0, 85, 204, 0.10), transparent 42%);
	filter: blur(6px);
}

.ths-intro-grid {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(0, 30, 90, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 30, 90, 0.045) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 25%, transparent 85%);
	-webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 25%, transparent 85%);
	animation: ths-grid-drift 28s linear infinite;
}

.ths-intro-headline {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	font-weight: 800;
	font-size: clamp(2rem, 5.4vw, 4.4rem);
	line-height: 1.55;
	letter-spacing: 0.02em;
	color: var(--ths-text-dark);
	margin: 0 auto;
	max-width: 1080px;
	text-wrap: balance;
}

.ths-section--intro .ths-intro-headline .ths-intro-mark {
	position: relative;
	display: inline-block;
	color: var(--ths-text-dark);
	padding: 0 0.12em;
	background: linear-gradient(transparent 62%, rgba(51, 136, 238, 0.35) 62%, rgba(0, 85, 204, 0.35) 100%);
	border-radius: 2px;
}

.ths-section--intro .ths-intro-headline .ths-intro-strong {
	font-weight: 900;
	letter-spacing: 0.04em;
	background: linear-gradient(135deg, #1f6fe0 0%, #0055cc 50%, #003a99 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

/* Fallback: もし background-clip: text が効かない/打ち消された場合に備えてテキストが見えるよう色を残す */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
	.ths-section--intro .ths-intro-headline .ths-intro-strong {
		background: none;
		color: var(--ths-accent);
		-webkit-text-fill-color: currentColor;
	}
}

.ths-intro-divider {
	margin: 56px auto 0;
	width: min(220px, 40%);
	display: flex;
	justify-content: center;
}
.ths-intro-divider span {
	display: block;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, transparent 0%, var(--ths-accent-light) 50%, transparent 100%);
	border-radius: 2px;
}

/* ----- Worries ("こんなお悩みありませんか？") ----- */
.ths-intro-worries {
	margin: 64px auto 0;
	max-width: 900px;
	text-align: center;
}

.ths-section--intro .ths-intro-worries-title {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: clamp(1.8rem, 3.4vw, 2.8rem);
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: 0.04em;
	color: var(--ths-text-dark);
	margin: 0 0 40px;
	text-align: center;
	position: relative;
	padding-bottom: 22px;
}
.ths-section--intro .ths-intro-worries-title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 64px;
	height: 4px;
	border-radius: 4px;
	background: var(--ths-accent);
}
.ths-section--intro .ths-intro-worries-title .ths-intro-worries-accent {
	color: var(--ths-accent);
	font-weight: 800;
}

.ths-intro-worries-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

.ths-intro-worry {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 12px;
	padding: 24px 18px 22px;
	background: #ffffff;
	border: 1px solid rgba(0, 30, 90, 0.08);
	border-top: 4px solid var(--ths-accent);
	border-radius: 12px;
	box-shadow: 0 4px 18px rgba(15, 30, 70, 0.05);
	transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
	flex: 0 1 calc(25% - 12px);
	min-width: 220px;
}
.ths-intro-worry:hover {
	background: #ffffff;
	border-color: rgba(51, 136, 238, 0.4);
	border-top-color: var(--ths-accent);
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(0, 85, 204, 0.14);
}

.ths-intro-worry-tag {
	display: inline-flex;
	align-items: center;
	padding: 7px 16px;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: clamp(0.88rem, 1vw, 1rem);
	font-weight: 800;
	letter-spacing: 0.03em;
	color: #ffffff;
	background: linear-gradient(135deg, var(--ths-accent) 0%, var(--ths-accent-light) 100%);
	border-radius: 999px;
	box-shadow: 0 4px 12px rgba(0, 85, 204, 0.3);
	white-space: nowrap;
}

.ths-intro-worry-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: 100%;
}

.ths-intro-worry-icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ths-accent) 0%, var(--ths-accent-light) 100%);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(0, 85, 204, 0.4);
}
.ths-intro-worry-icon i { line-height: 1; }

.ths-intro-worry p {
	margin: 0;
	font-size: clamp(0.95rem, 1.1vw, 1.05rem);
	line-height: 1.85;
	color: var(--ths-text-dark);
	text-align: center;
}
.ths-intro-worry p strong {
	color: var(--ths-accent);
	font-weight: 700;
	background: linear-gradient(transparent 65%, rgba(51, 136, 238, 0.22) 65%);
	padding: 0 2px;
}

/* ----- Resolve pill ("そんな悩みを改善します") ----- */
.ths-intro-worries-resolve {
	margin: 28px auto 0;
	text-align: center;
	position: relative;
	z-index: 3;
}
.ths-intro-worries-resolve::before {
	content: "";
	display: block;
	width: 2px;
	height: 24px;
	margin: 0 auto 14px;
	background: linear-gradient(to bottom, transparent 0%, var(--ths-accent) 100%);
}
.ths-intro-worries-resolve-text {
	display: inline-block;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: clamp(1.6rem, 2.6vw, 2.2rem);
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: 0.04em;
	color: #ffffff;
	padding: 22px 56px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--ths-accent) 0%, var(--ths-accent-light) 100%);
	border: none;
	box-shadow: 0 18px 40px rgba(0, 85, 204, 0.35), 0 0 0 6px rgba(255, 255, 255, 0.8);
	position: relative;
	z-index: 4;
}
.ths-intro-worries-resolve-text strong {
	color: #ffffff;
	font-weight: 900;
	background: linear-gradient(transparent 62%, rgba(255, 255, 255, 0.35) 62%);
	padding: 0 4px;
}

/* ----- Down arrow connector (pill → statement) ----- */
.ths-intro-statement-wrap {
	margin: 36px auto 0;
	text-align: center;
	position: relative;
}
.ths-intro-arrow {
	width: 64px;
	height: 64px;
	margin: 0 auto 28px;
	background: linear-gradient(135deg, var(--ths-accent) 0%, var(--ths-accent-light) 100%);
	clip-path: polygon(50% 100%, 0 0, 100% 0);
	box-shadow: 0 14px 28px rgba(0, 85, 204, 0.3);
	animation: ths-arrow-bounce 1.8s ease-in-out infinite;
}
@keyframes ths-arrow-bounce {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(6px); }
}

/* ----- Statement (title-level message) ----- */
.ths-intro-statement {
	max-width: 1000px;
	margin: 0 auto;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: clamp(1.6rem, 2.6vw, 2.4rem);
	font-weight: 800;
	line-height: 1.75;
	letter-spacing: 0.04em;
	color: var(--ths-text-dark);
	text-align: center;
	position: relative;
	padding: 0 16px;
}
.ths-intro-statement strong {
	color: var(--ths-accent);
	font-weight: 900;
	background: linear-gradient(transparent 62%, rgba(51, 136, 238, 0.28) 62%);
	padding: 0 4px;
}
.ths-intro-statement-brand {
	display: inline-block;
	font-family: "Outfit", "Noto Sans JP", sans-serif;
	font-size: 1.15em;
	font-weight: 900;
	color: var(--ths-accent);
	letter-spacing: 0.06em;
	background: linear-gradient(transparent 60%, rgba(51, 136, 238, 0.22) 60%);
	padding: 0 6px;
}

/* ----- Topic break (statement → about transition) ----- */
.ths-intro-topic-break {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 14px;
	margin: 72px auto 0;
	padding: 0;
	position: relative;
}
.ths-intro-topic-break::before,
.ths-intro-topic-break::after {
	content: "";
	display: block;
	flex: 1;
	max-width: 180px;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, rgba(0, 30, 90, 0.18) 50%, transparent 100%);
}
.ths-intro-topic-break-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ths-accent) 0%, var(--ths-accent-light) 100%);
	display: inline-block;
	box-shadow: 0 4px 10px rgba(0, 85, 204, 0.3);
}
.ths-intro-topic-break-dot:nth-child(2) {
	width: 12px;
	height: 12px;
	box-shadow: 0 6px 14px rgba(0, 85, 204, 0.4);
}

/* ----- About merged block ("なぜ選ばれるのか") ----- */
.ths-intro-about {
	position: relative;
	margin: 56px auto 0;
	max-width: 1100px;
	text-align: center;
}

/* Eyebrow label above the about headline */
.ths-intro-about-eyebrow {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-bottom: 36px;
	padding: 22px 48px;
	background: linear-gradient(135deg, rgba(51, 136, 238, 0.08) 0%, rgba(51, 136, 238, 0.02) 100%);
	border-radius: 999px;
	border: 1px solid rgba(51, 136, 238, 0.2);
	position: relative;
}
.ths-intro-about-eyebrow::before,
.ths-intro-about-eyebrow::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--ths-accent);
	transform: translateY(-50%);
	box-shadow: 0 0 0 5px rgba(51, 136, 238, 0.15);
}
.ths-intro-about-eyebrow::before { left: -5px; }
.ths-intro-about-eyebrow::after { right: -5px; }
.ths-intro-about-eyebrow-en {
	font-family: "Outfit", sans-serif;
	font-size: clamp(1rem, 1.2vw, 1.15rem);
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ths-accent);
}
.ths-intro-about-eyebrow-jp {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: clamp(1.15rem, 1.4vw, 1.35rem);
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--ths-text-dark);
}

/* ----- Bottom connector (arrow + line) to next section ----- */
.ths-intro-connector {
	margin: 56px auto 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	z-index: 5;
}
.ths-intro-connector-line {
	width: 4px;
	height: 60px;
	background: linear-gradient(to bottom, var(--ths-accent) 0%, var(--ths-accent-light) 100%);
	border-radius: 4px;
}
.ths-intro-connector-arrow {
	margin-top: -4px;
	width: 72px;
	height: 72px;
	background: linear-gradient(135deg, var(--ths-accent) 0%, var(--ths-accent-light) 100%);
	clip-path: polygon(50% 100%, 0 0, 100% 0);
	box-shadow: 0 18px 40px rgba(0, 85, 204, 0.35);
	animation: ths-arrow-bounce 1.8s ease-in-out infinite;
}
.ths-intro-about-headline {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: clamp(1.7rem, 2.8vw, 2.6rem);
	font-weight: 800;
	line-height: 1.6;
	letter-spacing: 0.05em;
	color: var(--ths-text-dark);
	margin: 0 0 24px;
	position: relative;
	padding-bottom: 22px;
}
.ths-intro-about-headline::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 64px;
	height: 4px;
	background: var(--ths-accent);
	border-radius: 4px;
}
.ths-intro-about-accent {
	color: var(--ths-accent);
}
.ths-intro-about-lead {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: clamp(1rem, 1.2vw, 1.15rem);
	font-weight: 500;
	line-height: 2;
	letter-spacing: 0.04em;
	color: var(--ths-text-dark);
	max-width: 820px;
	margin: 0 auto 48px;
}
.ths-intro-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.ths-intro-feature {
	position: relative;
	background: #ffffff;
	border: 1px solid rgba(0, 30, 90, 0.08);
	border-radius: 14px;
	padding: 36px 28px 32px;
	text-align: center;
	box-shadow: 0 6px 20px rgba(15, 30, 70, 0.06);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s, border-color 0.4s;
}
.ths-intro-feature:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 36px rgba(0, 85, 204, 0.14);
	border-color: rgba(51, 136, 238, 0.4);
}
.ths-intro-feature-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 18px;
	font-family: "Outfit", sans-serif;
	font-size: 1.2rem;
	font-weight: 800;
	color: #ffffff;
	background: linear-gradient(135deg, var(--ths-accent) 0%, var(--ths-accent-light) 100%);
	border-radius: 12px;
	box-shadow: 0 6px 14px rgba(0, 85, 204, 0.3);
}
.ths-intro-feature h3 {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: clamp(1.15rem, 1.4vw, 1.35rem);
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: 0.03em;
	color: var(--ths-text-dark);
	margin: 0 0 14px;
}
.ths-intro-feature p {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: 0.98rem;
	font-weight: 500;
	line-height: 1.9;
	color: #4a5568;
	margin: 0;
}

@media (max-width: 768px) {
	.ths-section--intro { padding: 96px 0; text-align: center; }
	.ths-section--intro .ths-eyebrow { justify-content: center; }
	.ths-intro-headline { line-height: 1.7; }
	.ths-intro-divider { margin-left: auto; }
	.ths-intro-worries { margin-top: 48px; }
	.ths-section--intro .ths-intro-worries-title { text-align: center; }
	.ths-section--intro .ths-intro-worries-title::after { left: 50%; transform: translateX(-50%); }
	.ths-intro-worries-list { gap: 12px; }
	.ths-intro-worry { padding: 20px 16px 18px; gap: 10px; flex: 0 1 calc(50% - 6px); min-width: 200px; }
	.ths-intro-worry-tag { font-size: 0.95rem; padding: 6px 16px; letter-spacing: 0.03em; }
	.ths-intro-worry-body { gap: 10px; }
	.ths-intro-worry-icon { width: 38px; height: 38px; font-size: 1.3rem; }
	.ths-intro-worry p { font-size: 0.98rem; line-height: 1.8; }
	.ths-intro-worries-resolve { margin-top: 36px; }
	.ths-intro-worries-resolve-text { font-size: 1.2rem; padding: 14px 24px; }
	.ths-intro-statement-wrap { margin-top: 28px; }
	.ths-intro-arrow { width: 44px; height: 44px; margin-bottom: 18px; }
	.ths-intro-statement { font-size: 1.2rem; line-height: 1.85; }
	.ths-intro-statement br { display: none; }
	.ths-intro-topic-break { margin-top: 56px; gap: 10px; }
	.ths-intro-topic-break::before,
	.ths-intro-topic-break::after { max-width: 80px; }
	.ths-intro-about { margin-top: 40px; text-align: center; }
	.ths-intro-about-eyebrow { padding: 16px 32px; margin-bottom: 28px; gap: 6px; }
	.ths-intro-about-eyebrow-en { font-size: 0.9rem; letter-spacing: 0.18em; }
	.ths-intro-about-eyebrow-jp { font-size: 1.05rem; }
	.ths-intro-about-headline { text-align: center; padding-bottom: 18px; }
	.ths-intro-about-headline::after { left: 50%; transform: translateX(-50%); }
	.ths-intro-about-lead { margin-bottom: 36px; }
	.ths-intro-about-lead br { display: none; }
	.ths-intro-feature-grid { grid-template-columns: 1fr; gap: 16px; }
	.ths-intro-feature { padding: 26px 22px 24px; }
	.ths-intro-feature h3 br { display: none; }
}

/* ========== SECTION 01: Concept ========== */
.ths-section--concept {
	background:
		radial-gradient(ellipse 60% 50% at 80% 0%, rgba(0, 60, 180, 0.18) 0%, transparent 60%),
		radial-gradient(ellipse 70% 40% at 0% 100%, rgba(0, 60, 180, 0.12) 0%, transparent 60%),
		linear-gradient(180deg, var(--ths-dark) 0%, var(--ths-dark-mid) 100%);
	color: var(--ths-text);
	padding-top: clamp(140px, 16vw, 220px);
	text-align: center;
	overflow: visible;
}
.ths-section--concept .ths-container { text-align: center; }
.ths-section--concept .ths-eyebrow { color: var(--ths-accent-light); }

/* Glow halo at top to receive the connector arrow */
.ths-section--concept::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	transform: translate(-50%, -40%);
	width: 360px;
	height: 360px;
	background: radial-gradient(circle, rgba(51, 136, 238, 0.42) 0%, transparent 65%);
	pointer-events: none;
	z-index: 0;
}

.ths-bg-grid {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 90%);
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 90%);
	animation: ths-grid-drift 24s linear infinite;
}
@keyframes ths-grid-drift {
	from { background-position: 0 0, 0 0; }
	to   { background-position: 64px 64px, 64px 64px; }
}

.ths-keyword-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 64px;
	perspective: 1200px;
}
.ths-keyword-card {
	position: relative;
	padding: 40px 30px 34px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
	border: 1px solid var(--ths-border);
	border-radius: 14px;
	backdrop-filter: blur(8px);
	transition: border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
		background 0.5s, box-shadow 0.5s;
	overflow: hidden;
}
.ths-keyword-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 0%, rgba(51, 136, 238, 0.25), transparent 60%);
	opacity: 0;
	transition: opacity 0.5s;
	pointer-events: none;
}
.ths-keyword-card:hover {
	border-color: var(--ths-accent-light);
	transform: translateY(-8px);
	background: linear-gradient(180deg, rgba(51, 136, 238, 0.10), rgba(51, 136, 238, 0.02));
	box-shadow: 0 24px 50px rgba(0, 30, 90, 0.35);
}
.ths-keyword-card:hover::before { opacity: 1; }
.ths-keyword-card:hover .ths-keyword-en {
	background: linear-gradient(135deg, var(--ths-accent-light), #ffffff);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.ths-keyword-en {
	transition: filter 0.4s;
}
.ths-keyword-num {
	font-family: "Outfit", sans-serif;
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	color: var(--ths-text-mute);
	margin-bottom: 28px;
}
.ths-keyword-en {
	font-family: "Outfit", sans-serif;
	font-size: clamp(1.9rem, 2.6vw, 2.3rem);
	font-weight: 700;
	color: var(--ths-text);
	letter-spacing: 0.02em;
	margin-bottom: 8px;
}
.ths-keyword-jp {
	font-size: 1.1rem;
	color: var(--ths-text-sub);
	letter-spacing: 0.1em;
}

.ths-converge {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
}
.ths-converge-line {
	width: 1px;
	height: 56px;
	background: linear-gradient(180deg, transparent, var(--ths-accent-light));
	position: relative;
	overflow: hidden;
}
.ths-converge-line::after {
	content: "";
	position: absolute;
	top: -50%;
	left: 0;
	width: 100%;
	height: 50%;
	background: linear-gradient(180deg, transparent, var(--ths-accent-light));
	animation: ths-line-flow 2.2s ease-in-out infinite;
}
@keyframes ths-line-flow {
	0%   { top: -50%; }
	100% { top: 100%; }
}
.ths-converge-pill {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 22px 56px;
	background: linear-gradient(135deg, var(--ths-accent) 0%, var(--ths-accent-light) 100%);
	border-radius: 999px;
	box-shadow: 0 12px 40px var(--ths-accent-glow);
	animation: ths-pill-float 5s ease-in-out infinite;
	position: relative;
}
.ths-converge-pill::after {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: 999px;
	box-shadow: 0 0 0 0 rgba(51, 136, 238, 0.55);
	animation: ths-pill-pulse 3s ease-out infinite;
	pointer-events: none;
}
@keyframes ths-pill-float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-6px); }
}
@keyframes ths-pill-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(51, 136, 238, 0.5); }
	100% { box-shadow: 0 0 0 24px rgba(51, 136, 238, 0); }
}
.ths-converge-en {
	font-family: "Outfit", sans-serif;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
}
.ths-converge-jp {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ths-text);
	letter-spacing: 0.08em;
}

/* ========== SECTION 03: Solution ========== */
.ths-section--solution {
	background:
		radial-gradient(ellipse 70% 55% at 50% 0%, rgba(51, 136, 238, 0.10) 0%, transparent 65%),
		radial-gradient(ellipse 60% 50% at 0% 100%, rgba(0, 85, 204, 0.06) 0%, transparent 65%),
		linear-gradient(180deg, #ffffff 0%, #f4f8fd 100%);
	color: var(--ths-text-dark);
	text-align: center;
}
.ths-section--solution .ths-container { text-align: center; }
.ths-section--solution .ths-eyebrow { color: var(--ths-accent); }
.ths-section--solution .ths-headline { color: var(--ths-text-dark); }
.ths-section--solution .ths-headline-accent { color: var(--ths-accent); }
.ths-section--solution .ths-lead { color: var(--ths-text-dark-sub); }
.ths-bg-glow {
	position: absolute;
	top: 30%;
	right: -10%;
	width: 50%;
	height: 70%;
	z-index: 1;
	pointer-events: none;
	background: radial-gradient(circle, rgba(51, 136, 238, 0.22) 0%, transparent 70%);
	filter: blur(60px);
	animation: ths-glow-drift 12s ease-in-out infinite alternate;
}
@keyframes ths-glow-drift {
	0%   { transform: translate(0, 0) scale(1); opacity: 0.85; }
	100% { transform: translate(-12%, 8%) scale(1.15); opacity: 1; }
}

.ths-merit-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}
.ths-merit-card {
	flex: 0 1 calc(25% - 12px);
	min-width: 230px;
}
.ths-merit-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 8px 22px rgba(8, 20, 56, 0.18);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
	--merit-color: #2b4f7c;
}
.ths-merit-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 36px rgba(8, 20, 56, 0.28);
}

/* Header bar */
.ths-merit-head {
	background: var(--merit-color);
	color: #ffffff;
	padding: 14px 18px;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 56px;
}
.ths-merit-num {
	font-family: "Outfit", sans-serif;
	font-size: 0.9rem;
	font-weight: 700;
	opacity: 0.85;
	letter-spacing: 0.08em;
	padding: 3px 8px;
	background: rgba(255, 255, 255, 0.18);
	border-radius: 4px;
}
.ths-merit-card h3 {
	margin: 0;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.45;
	letter-spacing: 0.02em;
	color: #ffffff;
}

/* Illustration */
.ths-merit-illust {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 22px 0 10px;
	color: var(--merit-color);
}
.ths-merit-illust svg {
	width: 72px;
	height: 72px;
	display: block;
}

/* Description */
.ths-merit-card p {
	margin: 0;
	padding: 14px 22px 26px;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: 0.95rem;
	font-weight: 500;
	color: #2d3a52;
	line-height: 1.85;
	letter-spacing: 0.01em;
	flex: 1;
	text-align: center;
}

/* Per-card colors */
.ths-merit-card--c1 { --merit-color: #2b4f7c; }
.ths-merit-card--c2 { --merit-color: #4a82c0; }
.ths-merit-card--c3 { --merit-color: #3aa0a0; }
.ths-merit-card--c4 { --merit-color: #5fa9d4; }
.ths-merit-card--c5 { --merit-color: #4fb0b6; }
.ths-merit-card--c6 { --merit-color: #e89657; }
.ths-merit-card--c7 { --merit-color: #e07a4d; }

/* Title card (center block) */
.ths-merit-card--title {
	background: transparent;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 16px 8px;
	text-align: center;
}
.ths-merit-card--title:hover {
	transform: none;
	box-shadow: none;
}
.ths-merit-title-en {
	font-family: "Outfit", sans-serif;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	color: rgba(255, 255, 255, 0.55);
	text-transform: uppercase;
	margin-bottom: 8px;
}
.ths-merit-title-jp {
	margin: 0;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: clamp(1.4rem, 2.2vw, 1.9rem);
	font-weight: 800;
	line-height: 1.55;
	letter-spacing: 0.04em;
	color: var(--ths-text);
}
.ths-merit-title-jp span {
	display: inline-block;
}
.ths-merit-title-jp em {
	font-family: "Outfit", sans-serif;
	font-style: normal;
	font-size: 1.6em;
	font-weight: 900;
	color: var(--ths-accent-light);
	margin: 0 4px;
	line-height: 1;
	vertical-align: -0.05em;
}

/* ========== SECTION 04: About ========== */
.ths-section--about {
	background: var(--ths-light-bg-mid);
	color: var(--ths-text-dark);
}
.ths-section--about::before {
	content: "ABOUT";
	position: absolute;
	top: -10px;
	left: -10px;
	font-family: "Outfit", sans-serif;
	font-size: clamp(8rem, 18vw, 16rem);
	font-weight: 800;
	letter-spacing: 0.05em;
	color: rgba(0, 0, 0, 0.04);
	pointer-events: none;
	line-height: 1;
	animation: ths-watermark-drift-r 22s ease-in-out infinite alternate;
}
@keyframes ths-watermark-drift-r {
	from { transform: translate(0, 0); }
	to   { transform: translate(40px, -10px); }
}

.ths-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	perspective: 1400px;
}
.ths-feature {
	position: relative;
	padding: 44px 36px 40px;
	background: #ffffff;
	border-radius: 16px;
	border: 1px solid rgba(0, 0, 0, 0.05);
	box-shadow: 0 4px 24px rgba(0, 30, 90, 0.04);
	transition: transform 0.4s, box-shadow 0.4s;
}
.ths-feature:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 60px rgba(0, 30, 90, 0.12);
}
.ths-feature-num {
	font-family: "Outfit", sans-serif;
	font-size: 2.8rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--ths-accent);
	line-height: 1;
	margin-bottom: 28px;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.ths-feature:hover .ths-feature-num {
	transform: translateY(-4px);
}
.ths-feature-num::after {
	content: "";
	display: block;
	width: 32px;
	height: 2px;
	background: var(--ths-accent);
	margin-top: 16px;
	transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.ths-feature:hover .ths-feature-num::after {
	width: 56px;
}
.ths-feature h3 {
	font-size: 1.45rem;
	font-weight: 700;
	color: var(--ths-text-dark);
	line-height: 1.55;
	margin: 0 0 18px;
}
.ths-feature p {
	font-size: 1.05rem;
	color: var(--ths-text-dark-sub);
	line-height: 2;
	margin: 0;
}

/* ========== SECTION 05: CTA ========== */
.ths-section--cta {
	background:
		radial-gradient(ellipse 60% 60% at 50% 0%, rgba(51, 136, 238, 0.18) 0%, transparent 60%),
		linear-gradient(180deg, var(--ths-dark) 0%, var(--ths-dark-deep) 100%);
	color: var(--ths-text);
	text-align: center;
}
.ths-container--cta {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.ths-cta-eyebrow {
	font-family: "Outfit", sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ths-accent-light);
	margin-bottom: 24px;
	padding: 6px 16px;
	border: 1px solid currentColor;
	border-radius: 999px;
}
.ths-cta-headline {
	font-size: clamp(2rem, 5vw, 3.6rem);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.02em;
	color: var(--ths-text);
	margin: 0 0 28px;
}
.ths-section--cta .ths-headline-accent {
	color: var(--ths-accent-light);
}
.ths-cta-lead {
	font-size: 1.2rem;
	line-height: 2.1;
	color: var(--ths-text-sub);
	margin: 0 0 56px;
}

.ths-cta-actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 40px;
}
.ths-cta-btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 22px 48px;
	border-radius: 12px;
	text-decoration: none;
	transition: transform 0.3s, background 0.3s, box-shadow 0.3s, border-color 0.3s;
	min-width: 240px;
}
.ths-cta-btn-en {
	font-family: "Outfit", sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}
.ths-cta-btn-jp {
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.05em;
}
.ths-cta-btn--primary {
	background: linear-gradient(135deg, var(--ths-accent) 0%, var(--ths-accent-light) 100%) !important;
	color: #ffffff !important;
	box-shadow: 0 12px 40px var(--ths-accent-glow);
	position: relative;
	overflow: hidden;
	border: 2px solid transparent;
}
.ths-cta-btn--primary::before {
	content: "";
	position: absolute;
	top: 0;
	left: -120%;
	width: 60%;
	height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
	transform: skewX(-20deg);
	transition: left 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.ths-cta-btn--primary > * { position: relative; z-index: 1; }
.ths-cta-btn--primary .ths-cta-btn-en { color: rgba(255, 255, 255, 0.75) !important; }
.ths-cta-btn--primary .ths-cta-btn-jp { color: #ffffff !important; }
.ths-cta-btn--primary:hover,
.ths-cta-btn--primary:focus,
.ths-cta-btn--primary:active {
	transform: translateY(-4px);
	background: linear-gradient(135deg, #4ea3ff 0%, #7fc3ff 100%) !important;
	color: #ffffff !important;
	box-shadow: 0 22px 60px rgba(78, 163, 255, 0.55), 0 0 0 4px rgba(255, 255, 255, 0.95), 0 0 0 6px rgba(78, 163, 255, 0.4);
	border-color: rgba(255, 255, 255, 0.4);
	text-decoration: none !important;
}
.ths-cta-btn--primary:hover .ths-cta-btn-jp,
.ths-cta-btn--primary:focus .ths-cta-btn-jp,
.ths-cta-btn--primary:active .ths-cta-btn-jp { color: #ffffff !important; }
.ths-cta-btn--primary:hover .ths-cta-btn-en,
.ths-cta-btn--primary:focus .ths-cta-btn-en,
.ths-cta-btn--primary:active .ths-cta-btn-en { color: rgba(255, 255, 255, 0.85) !important; }
.ths-cta-btn--primary:hover::before { left: 130%; }
.ths-cta-btn--ghost {
	background: transparent;
	color: var(--ths-text) !important;
	border: 1px solid var(--ths-border-strong);
}
.ths-cta-btn--ghost .ths-cta-btn-en { color: var(--ths-text-mute) !important; }
.ths-cta-btn--ghost .ths-cta-btn-jp { color: var(--ths-text) !important; }
.ths-cta-btn--ghost:hover,
.ths-cta-btn--ghost:focus,
.ths-cta-btn--ghost:active {
	border-color: var(--ths-accent-light);
	background: rgba(51, 136, 238, 0.15) !important;
	color: #ffffff !important;
	box-shadow: 0 12px 30px rgba(51, 136, 238, 0.25), inset 0 0 0 1px var(--ths-accent-light);
	transform: translateY(-2px);
	text-decoration: none !important;
}
.ths-cta-btn--ghost:hover .ths-cta-btn-en,
.ths-cta-btn--ghost:focus .ths-cta-btn-en { color: var(--ths-accent-light) !important; }
.ths-cta-btn--ghost:hover .ths-cta-btn-jp,
.ths-cta-btn--ghost:focus .ths-cta-btn-jp { color: #ffffff !important; }

.ths-cta-meta {
	display: flex;
	gap: 32px;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	font-family: "Outfit", sans-serif;
	font-size: 0.95rem;
	letter-spacing: 0.12em;
	color: var(--ths-text-mute);
}
.ths-cta-hours {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	letter-spacing: 0.05em;
}
.ths-cta-badge {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	padding: 8px 18px;
	border: 1px solid var(--ths-border-strong);
	border-radius: 999px;
	color: var(--ths-text-sub);
	letter-spacing: 0.08em;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
	.ths-keyword-grid { grid-template-columns: repeat(2, 1fr); }
	.ths-merit-card { flex: 0 1 calc(50% - 8px); }
	.ths-feature-grid { grid-template-columns: 1fr; }
	.ths-intro-feature-grid { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 640px) {
	.ths-section { padding: 64px 0; }
	.ths-keyword-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.ths-intro-worries-list .ths-intro-worry { flex: 0 1 100%; }
	.ths-merit-card { flex: 0 1 100%; }
	.ths-converge-pill { padding: 18px 36px; }
	.ths-cta-btn { width: 100%; min-width: 0; }
}

/* ========== Custom Front-page Footer ========== */
.ths-footer {
	background:
		radial-gradient(ellipse 60% 50% at 80% 0%, rgba(0, 60, 180, 0.18) 0%, transparent 60%),
		linear-gradient(180deg, var(--ths-dark-mid) 0%, var(--ths-dark) 100%);
	color: var(--ths-text-sub);
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	padding: 32px 16px;
	border: none;
	margin: 0;
	width: 100%;
}
.ths-footer-copyright {
	max-width: 1180px;
	margin: 0 auto;
	text-align: center;
	font-family: "Outfit", "Noto Sans JP", sans-serif;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	color: var(--ths-text-mute);
}
.ths-footer-copyright a,
.ths-footer-copyright a:visited {
	color: var(--ths-text-sub);
	text-decoration: none;
	transition: color 0.3s;
}
.ths-footer-copyright a:hover { color: var(--ths-accent-light); }

/* ========== Site Footer (Lightning parent theme override - aggressive) ========== */
.site-footer,
.site-footer * {
	border-color: transparent !important;
}
.site-footer {
	background:
		radial-gradient(ellipse 60% 50% at 80% 0%, rgba(0, 60, 180, 0.18) 0%, transparent 60%),
		linear-gradient(180deg, var(--ths-dark-mid) 0%, var(--ths-dark) 100%) !important;
	color: var(--ths-text-sub) !important;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif !important;
	border-top: 1px solid var(--ths-border) !important;
	padding-top: 48px !important;
	text-align: center !important;
}
/* Remove parent theme's pink/green underlines and decorations */
.site-footer .site-footer-title::after,
.site-footer .sub-section-title::after,
.site-footer h2::after,
.site-footer h3::after,
.site-footer h4::after,
.site-footer .site-footer-content h3::after { display: none !important; }

/* Force dark on all child blocks: widgets, nav, content, copyright */
.site-footer .site-footer-content,
.site-footer .footer-nav,
.site-footer .footer-nav-list,
.site-footer .container,
.site-footer .row,
.site-footer .col-lg-12,
.site-footer .col-lg-6,
.site-footer .col-lg-4,
.site-footer .col-lg-3,
.site-footer .col-md-6,
.site-footer .widget,
.site-footer .widget-area {
	background: transparent !important;
	color: var(--ths-text-sub) !important;
}
.site-footer .footer-nav { padding: 18px 0; margin-bottom: 32px; border-bottom: 1px solid var(--ths-border) !important; }
.site-footer .footer-nav-list li,
.site-footer .footer-nav-list li:first-child { border: none !important; padding: 0 18px; }
.site-footer .footer-nav-list li a,
.site-footer a,
.site-footer a:visited {
	color: var(--ths-text) !important;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	letter-spacing: 0.06em;
	transition: color 0.3s;
	text-decoration: none;
}
.site-footer .footer-nav-list li a:hover,
.site-footer a:hover { color: var(--ths-accent-light) !important; }

.site-footer .site-footer-title,
.site-footer .widgettitle,
.site-footer .widget-title,
.site-footer h2,
.site-footer h3,
.site-footer h4 {
	color: var(--ths-text) !important;
	background: transparent !important;
	border: none !important;
	padding: 0 0 14px !important;
	margin: 0 0 16px !important;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif !important;
	font-weight: 800 !important;
	font-size: 1.1rem !important;
	letter-spacing: 0.04em !important;
	position: relative;
}
.site-footer .site-footer-title::before,
.site-footer .widget-title::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 36px;
	height: 3px;
	background: var(--ths-accent);
	border-radius: 3px;
}

.site-footer-copyright {
	background: rgba(0, 0, 0, 0.4) !important;
	color: var(--ths-text-mute) !important;
	padding: 22px 16px !important;
	font-size: 0.85rem !important;
	letter-spacing: 0.08em !important;
	text-align: center !important;
	border-top: 1px solid var(--ths-border) !important;
	font-family: "Outfit", "Noto Sans JP", sans-serif !important;
	margin-top: 32px;
}
.site-footer-copyright a,
.site-footer-copyright a:visited { color: var(--ths-text-sub) !important; }
.site-footer-copyright a:hover { color: var(--ths-accent-light) !important; }

/* Body / wrap background sanity (in case pink shows through any gap) */
body.home,
body { background-color: var(--ths-dark-mid) !important; }

/* Hide default WordPress home page content area
   (front-page sections.php already provides all content) */
body.home .siteContent,
body.home article.post,
body.home article.page,
body.home article.type-page,
body.home article[id^="post-"],
body.home .entry-body,
body.home .mainSection > article,
body.home .mainSection .postList {
	display: none !important;
}

/* Override any wp-block-cover decorations inside footer */
.site-footer .wp-block-cover,
.site-footer .wp-block-cover__background,
.site-footer [class*="has-background"],
.site-footer [class*="background-dim"] {
	background: transparent !important;
	background-color: transparent !important;
}

/* Force layout-wrap and any ancestor wrapper between content and footer to be transparent */
.site-content,
.entry-body,
#main,
#contents,
.l-container,
.wrap {
	background-color: transparent !important;
}

/* Page-top button override */
.page_top_btn,
#page_top,
.page-top,
.scroll-up,
.return-top {
	background: linear-gradient(135deg, var(--ths-accent) 0%, var(--ths-accent-light) 100%) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 999px !important;
	box-shadow: 0 8px 20px rgba(0, 85, 204, 0.35) !important;
}
.page_top_btn:hover,
#page_top:hover { transform: translateY(-2px); }
.site-footer-content {
	padding-bottom: 48px;
}
.site-footer .site-footer-content .widget {
	color: var(--ths-text-sub);
}
.site-footer .site-footer-content .widget a,
.site-footer .site-footer-content .widget a:visited {
	color: var(--ths-text);
	text-decoration: none;
	transition: color 0.3s;
}
.site-footer .site-footer-content .widget a:hover {
	color: var(--ths-accent-light);
}
.site-footer .site-footer-content .widgettitle,
.site-footer .site-footer-content .widget-title,
.site-footer .site-footer-content h2,
.site-footer .site-footer-content h3,
.site-footer .site-footer-content h4 {
	color: var(--ths-text) !important;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	font-weight: 800;
	letter-spacing: 0.04em;
	border: none !important;
	padding-bottom: 14px !important;
	margin-bottom: 18px !important;
	position: relative;
}
.site-footer .site-footer-content .widgettitle::after,
.site-footer .site-footer-content .widget-title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 40px;
	height: 3px;
	background: var(--ths-accent);
	border-radius: 3px;
}
.site-footer .site-footer-content ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.site-footer .site-footer-content ul li {
	padding: 6px 0;
	border: none;
}
.site-footer-copyright {
	background: rgba(0, 0, 0, 0.35);
	color: var(--ths-text-mute);
	padding: 22px 16px;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-align: center;
	border-top: 1px solid var(--ths-border);
	font-family: "Outfit", "Noto Sans JP", sans-serif;
}
.site-footer-copyright a,
.site-footer-copyright a:visited {
	color: var(--ths-text-sub);
}
.site-footer-copyright a:hover {
	color: var(--ths-accent-light);
}

/* ===== VALUES / 価値観 ===== */
.ths-section--values {
	background: #ffffff;
	color: var(--ths-text-dark);
	padding: clamp(56px, 7vw, 92px) 0 clamp(20px, 3vw, 36px);
	overflow: hidden;
}
.ths-section--values .ths-container { max-width: 1180px; }
.ths-values-head { text-align: center; margin-bottom: clamp(8px, 1.5vw, 18px); }
.ths-values-head .ths-eyebrow { justify-content: center; display: inline-flex; }
.ths-values-title {
	font-size: clamp(1.9rem, 3.4vw, 2.8rem);
	font-weight: 800;
	letter-spacing: 0.05em;
	color: var(--ths-text-dark);
	margin: 16px 0 0;
}
.ths-values-sub {
	margin: 16px 0 0;
	font-size: clamp(1.05rem, 1.3vw, 1.22rem);
	color: var(--ths-text-dark-sub);
	letter-spacing: 0.04em;
	font-weight: 600;
}
/* ビルドアップ：6つの価値観が1つずつ大きく現れ、中心の丸に吸収されて丸が育つ */
.ths-build {
	position: relative;
	width: min(94vw, 940px);
	height: clamp(360px, 54vw, 500px);
	margin: 0 auto;
}
.ths-build-core {
	position: absolute; top: 50%; left: 50%;
	width: clamp(206px, 42vw, 304px); aspect-ratio: 1;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(circle at 38% 34%, var(--ths-accent-light) 0%, var(--ths-accent) 58%, #003a99 100%);
	color: #ffffff;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	text-align: center;
	box-shadow: 0 22px 54px rgba(0, 85, 204, 0.42);
	z-index: 1;
}
.ths-build-core-en { font-family: "Outfit", sans-serif; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.2em; opacity: 0.85; }
.ths-build-core-jp { font-weight: 800; font-size: clamp(1.55rem, 3.4vw, 2.2rem); letter-spacing: 0.03em; line-height: 1.28; }

.ths-build-card {
	position: absolute; top: 50%; left: 50%;
	width: clamp(208px, 32vw, 296px);
	transform: translate(-50%, -50%) scale(0.7);
	opacity: 0;
	background: #ffffff;
	border: 1px solid rgba(0, 30, 90, 0.08);
	border-radius: 36px;
	box-shadow: 0 22px 56px rgba(15, 30, 70, 0.18);
	padding: clamp(22px, 2.6vw, 32px);
	text-align: center;
	z-index: 2;
}
.ths-build-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 62px; height: 62px; border-radius: 16px;
	background: linear-gradient(135deg, var(--ths-accent) 0%, var(--ths-accent-light) 100%);
	color: #fff; font-size: 1.65rem; margin-bottom: 16px;
}
.ths-build-card h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 800; color: var(--ths-text-dark); margin: 0 0 12px; letter-spacing: 0.04em; }
.ths-build-card p { margin: 0; font-size: clamp(0.95rem, 1.15vw, 1.1rem); line-height: 1.95; color: var(--ths-text-dark-sub); }

/* 最後に現れる文字（中央・特別であたたかい雰囲気） */
.ths-build-finale {
	position: absolute; top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: min(92%, 720px);
	text-align: center;
	opacity: 0;
	z-index: 4;
}
.ths-build-finale::before {
	content: "";
	position: absolute;
	top: 50%; left: 50%;
	width: 130%; height: 240%;
	transform: translate(-50%, -50%);
	background: radial-gradient(ellipse at center, rgba(46, 182, 232, 0.20) 0%, rgba(51, 136, 238, 0.10) 40%, transparent 72%);
	pointer-events: none;
	z-index: -1;
}
.ths-build-finale-text {
	margin: 0;
	font-size: clamp(1.5rem, 3.4vw, 2.7rem);
	font-weight: 800;
	line-height: 1.75;
	letter-spacing: 0.06em;
	color: var(--ths-text-dark);
}
.ths-build-finale-em {
	background: linear-gradient(135deg, var(--ths-accent) 0%, var(--ths-accent-light) 55%, #2eb6e8 100%);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
	/* 1回だけ：左から転がって中央へ → 6つ吸収（グロー） → 拡大して消える */
	.ths-build-core {
		animation:
			ths-roll-in 2.2s cubic-bezier(0.34, 0.78, 0.3, 1) both,
			ths-build-glow 21s ease-in-out 2.2s 1 both,
			ths-build-finale 2s ease-in 23.4s 1 forwards;
	}
	/* カードは転がり込みの後に1つずつ（繰り返さない） */
	.ths-build-card {
		animation: ths-build-card 21s ease-in-out 1 both;
		animation-delay: calc(2.2s + var(--i) * 3.5s);
	}
	/* 最後に現れる文字 */
	.ths-build-finale { animation: ths-build-text-in 1.3s ease-out 24.6s 1 both; }
	/* スクロールで画面に入るまで一時停止（is-inview で再生開始） */
	.ths-build-core,
	.ths-build-card,
	.ths-build-finale { animation-play-state: paused; }
	.ths-build.is-inview .ths-build-core,
	.ths-build.is-inview .ths-build-card,
	.ths-build.is-inview .ths-build-finale { animation-play-state: running; }
}
@keyframes ths-roll-in {
	0% { opacity: 0; transform: translate(calc(-50% - 135vw), -50%) rotate(0deg); }
	12% { opacity: 1; }
	100% { opacity: 1; transform: translate(-50%, -50%) rotate(720deg); }
}
@keyframes ths-build-finale {
	0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
	42% { transform: translate(-50%, -50%) scale(1.55); opacity: 1; }
	100% { transform: translate(-50%, -50%) scale(2.3); opacity: 0; }
}
@keyframes ths-build-text-in {
	0% { opacity: 0; transform: translate(-50%, -44%) scale(0.94); }
	100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes ths-build-card {
	0% { opacity: 0; border-radius: 36px; transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px) + 18px)) scale(0.72); }
	5% { opacity: 1; border-radius: 36px; transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) scale(1); }
	12% { opacity: 1; border-radius: 36px; transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) scale(1); }
	16.5% { opacity: 0; border-radius: 50%; transform: translate(-50%, -50%) scale(0.06); }
	16.6%, 100% { opacity: 0; border-radius: 50%; transform: translate(-50%, -50%) scale(0.06); }
}
/* 吸収のたびに丸が光る（6回） */
@keyframes ths-build-glow {
	0%, 13% { box-shadow: 0 22px 54px rgba(0, 85, 204, 0.42); }
	16.5% { box-shadow: 0 0 0 18px rgba(46, 182, 232, 0.28), 0 22px 70px rgba(46, 182, 232, 0.75); }
	21%, 29% { box-shadow: 0 22px 54px rgba(0, 85, 204, 0.42); }
	33% { box-shadow: 0 0 0 18px rgba(46, 182, 232, 0.28), 0 22px 70px rgba(46, 182, 232, 0.75); }
	37%, 46% { box-shadow: 0 22px 54px rgba(0, 85, 204, 0.42); }
	50% { box-shadow: 0 0 0 18px rgba(46, 182, 232, 0.28), 0 22px 70px rgba(46, 182, 232, 0.75); }
	54%, 62% { box-shadow: 0 22px 54px rgba(0, 85, 204, 0.42); }
	66.5% { box-shadow: 0 0 0 18px rgba(46, 182, 232, 0.28), 0 22px 70px rgba(46, 182, 232, 0.75); }
	70%, 79% { box-shadow: 0 22px 54px rgba(0, 85, 204, 0.42); }
	83% { box-shadow: 0 0 0 18px rgba(46, 182, 232, 0.28), 0 22px 70px rgba(46, 182, 232, 0.75); }
	87%, 97% { box-shadow: 0 22px 54px rgba(0, 85, 204, 0.42); }
	99.5% { box-shadow: 0 0 0 18px rgba(46, 182, 232, 0.28), 0 22px 70px rgba(46, 182, 232, 0.75); }
	100% { box-shadow: 0 22px 54px rgba(0, 85, 204, 0.42); }
}
/* モーション無効時：縦並びで静的に表示 */
@media (prefers-reduced-motion: reduce) {
	.ths-build { height: auto; display: flex; flex-direction: column; gap: 16px; align-items: center; }
	.ths-build-core { position: static; transform: none; margin: 0 auto 8px; }
	.ths-build-card { position: static; transform: none; opacity: 1; width: 100%; max-width: 440px; }
	.ths-build-finale { position: static; transform: none; opacity: 1; margin-top: 8px; }
}

/* スマホ：絶対配置アニメだと6項目が画面外・重なって切れるため、静的に縦並びで全部読めるように */
@media (max-width: 768px) {
	.ths-build { height: auto; display: flex; flex-direction: column; gap: 16px; align-items: center; }
	.ths-build-core,
	.ths-build-card,
	.ths-build-finale {
		position: static;
		transform: none;
		opacity: 1;
		animation: none !important;
	}
	.ths-build-core { margin: 0 auto 8px; }
	.ths-build-card { width: 100%; max-width: 440px; }
	.ths-build-finale { margin-top: 8px; }
}

/* ===== PRODUCTS（サイボウズ風・白カード） ===== */
.ths-section--products {
	position: relative;
	background:
		radial-gradient(ellipse 60% 40% at 50% 18%, rgba(51, 136, 238, 0.10) 0%, transparent 60%),
		linear-gradient(180deg, #ffffff 0%, #f3f7fc 38%, #eef3fb 100%);
	color: var(--ths-text-dark);
	padding: clamp(28px, 4vw, 56px) 0 clamp(70px, 9vw, 120px);
	overflow: visible;
}

.ths-section--products .ths-container { max-width: 1180px; }

/* 価値観 → プロダクトへの視線誘導：細い縦線でつなぐ */
.ths-section--products::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 1px;
	height: clamp(48px, 7vw, 88px);
	background: linear-gradient(180deg, transparent 0%, rgba(51, 136, 238, 0.45) 60%, var(--ths-accent-light) 100%);
	pointer-events: none;
}

/* 見出し帯 */
.ths-products-head {
	position: relative;
	text-align: center;
	padding-bottom: clamp(18px, 2.4vw, 28px);
	margin-bottom: clamp(32px, 5vw, 56px);
}
.ths-products-sub {
	position: relative;
}
.ths-products-sub::after {
	content: "";
	display: block;
	width: clamp(40px, 6vw, 64px);
	height: 2px;
	border-radius: 2px;
	margin: clamp(14px, 1.8vw, 20px) auto 0;
	background: linear-gradient(90deg, var(--ths-accent) 0%, var(--ths-accent-light) 100%);
}
.ths-products-title {
	font-family: "Outfit", sans-serif;
	font-weight: 800;
	font-size: clamp(2rem, 4vw, 2.9rem);
	letter-spacing: 0.04em;
	color: var(--ths-text-dark);
	margin: 0;
	line-height: 1.2;
}
.ths-products-sub {
	margin: 10px 0 0;
	font-size: clamp(0.95rem, 1.1vw, 1.08rem);
	color: var(--ths-text-dark-sub);
	letter-spacing: 0.04em;
}
.ths-products-all {
	position: absolute;
	right: 0;
	bottom: 32px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.98rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--ths-accent);
	text-decoration: none;
	transition: color 0.25s ease;
}
.ths-products-all-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ths-accent) 0%, var(--ths-accent-light) 100%);
	color: #fff;
	font-size: 0.78rem;
	box-shadow: 0 4px 12px rgba(0, 85, 204, 0.3);
	transition: transform 0.25s ease;
}
.ths-products-all:hover { color: var(--ths-accent-light); }
.ths-products-all:hover .ths-products-all-icon { transform: translateX(3px); }

/* カードグリッド */
.ths-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 540px));
	justify-content: center;
	gap: clamp(24px, 3vw, 40px);
}

.ths-product { margin: 0; }
.ths-product-card {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(14px, 1.6vw, 22px) clamp(18px, 2vw, 28px);
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(15, 30, 70, 0.08);
	border: 1px solid rgba(0, 30, 90, 0.05);
	text-decoration: none;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}
.ths-product-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 48px rgba(15, 30, 70, 0.16);
}
.ths-product-logo {
	width: 100%;
	aspect-ratio: 595 / 294;
	object-fit: contain;
	object-position: center;
	display: block;
}
.ths-product-ext {
	position: absolute;
	top: 16px;
	right: 16px;
	color: rgba(0, 30, 90, 0.35);
	font-size: 0.95rem;
	transition: color 0.25s ease;
}
.ths-product-card:hover .ths-product-ext { color: var(--ths-accent); }
.ths-product-desc {
	margin: 20px 4px 0;
	font-size: clamp(1.15rem, 1.6vw, 1.42rem);
	font-weight: 700;
	color: var(--ths-accent);
	letter-spacing: 0.04em;
	text-align: center;
}

@media (max-width: 768px) {
	.ths-products-head { text-align: center; padding-bottom: 64px; }
	.ths-products-all {
		left: 50%;
		right: auto;
		bottom: 18px;
		transform: translateX(-50%);
	}
	.ths-products-grid { grid-template-columns: minmax(0, 420px); }
}

/* ===== CONSULTING / CONTACT（サイボウズ風） ===== */
.ths-section--consulting {
	background: linear-gradient(110deg, #0a4aa8 0%, #2f86d6 55%, #5cb8e0 100%);
	color: #ffffff;
	padding: 0 0 clamp(72px, 9vw, 120px);
	overflow: hidden;
}

.ths-consulting-inner {
	max-width: 1180px;
	padding-top: clamp(56px, 7vw, 96px);
}

/* 見出し（3つの窓口の大元トピック） */
.ths-consulting-head {
	text-align: center;
	margin-bottom: clamp(40px, 5vw, 64px);
}
.ths-consulting-eyebrow {
	justify-content: center;
	color: #ffffff;
	margin-bottom: 22px;
}
.ths-consulting-eyebrow span { border-color: rgba(255, 255, 255, 0.7); }
.ths-consulting-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	font-weight: 800;
	font-size: clamp(1.8rem, 3.6vw, 2.7rem);
	letter-spacing: 0.05em;
	color: #ffffff;
	margin: 0;
	line-height: 1.3;
}
.ths-consulting-title i {
	font-size: 0.86em;
	color: rgba(255, 255, 255, 0.92);
}
.ths-consulting-sub {
	margin: 18px 0 0;
	font-size: clamp(1.02rem, 1.25vw, 1.18rem);
	font-weight: 600;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.92);
}

/* カード3列 */
.ths-consulting-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(24px, 3vw, 48px);
}
.ths-consult-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-decoration: none;
	color: #ffffff;
}
.ths-consult-icon {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(120px, 13vw, 168px);
	height: clamp(120px, 13vw, 168px);
	border-radius: 50%;
	background: #ffffff;
	color: var(--ths-accent-light);
	font-size: clamp(2.4rem, 3.4vw, 3.2rem);
	box-shadow: 0 14px 36px rgba(0, 40, 100, 0.18);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}
.ths-consult-arrow {
	position: absolute;
	right: 6px;
	bottom: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--ths-accent-light);
	color: #ffffff;
	font-size: 0.85rem;
	box-shadow: 0 4px 12px rgba(0, 40, 100, 0.25);
}
.ths-consult-card--link:hover .ths-consult-icon {
	transform: translateY(-6px);
	box-shadow: 0 22px 48px rgba(0, 40, 100, 0.28);
}
.ths-consult-title {
	margin: clamp(20px, 2.4vw, 30px) 0 0;
	font-size: clamp(1.15rem, 1.4vw, 1.32rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #ffffff;
}
.ths-consult-desc {
	margin: 14px 0 0;
	font-size: clamp(0.92rem, 1vw, 1rem);
	line-height: 1.85;
	color: rgba(255, 255, 255, 0.9);
}
.ths-consult-tel {
	display: block;
	font-family: "Outfit", sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-bottom: 6px;
	color: #ffffff;
}

@media (max-width: 860px) {
	.ths-consulting-grid { grid-template-columns: 1fr; gap: 44px; max-width: 420px; margin: 0 auto; }
	.ths-consulting-title { font-size: clamp(1.5rem, 6vw, 2rem); }
}
