/* ========== Online Consult Page ========== */
/* スリーケのデザイン（ダークヒーロー＋ライト本文＋ブルーアクセント）に準拠 */

body.ths-online-page,
html.ths-online-page { background-color: #f6f9ff !important; }

/* ----- 共通CTAボタン ----- */
.ths-online-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 36px;
	padding: 16px 36px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--ths-accent) 0%, var(--ths-accent-light) 100%);
	color: #ffffff !important;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none !important;
	box-shadow: 0 12px 28px rgba(0, 85, 204, 0.32);
	transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.ths-online-cta-btn:hover { transform: translateY(-3px); color: #fff !important; box-shadow: 0 18px 38px rgba(51, 136, 238, 0.45); }

/* ----- 本文ブロック ----- */
.ths-online-block { background: #ffffff; color: var(--ths-text-dark); padding: clamp(64px, 9vw, 116px) 0; }
.ths-online-block--alt {
	background:
		radial-gradient(ellipse 70% 55% at 50% 0%, rgba(51, 136, 238, 0.10) 0%, transparent 65%),
		linear-gradient(180deg, #eef3fb 0%, #f6f9ff 100%);
}
.ths-online-block .ths-container,
.ths-online-cta .ths-container { max-width: 1080px; }
.ths-online-head { text-align: center; margin-bottom: clamp(40px, 5vw, 60px); }
.ths-online-head .ths-eyebrow { display: inline-flex; justify-content: center; }
.ths-online-title {
	font-size: clamp(1.7rem, 3vw, 2.5rem);
	font-weight: 800;
	letter-spacing: 0.05em;
	color: var(--ths-text-dark);
	margin: 14px 0 0;
}
.ths-online-sub {
	margin: 14px 0 0;
	font-size: clamp(1rem, 1.2vw, 1.14rem);
	color: var(--ths-text-dark-sub);
	letter-spacing: 0.04em;
}

/* ----- わかること（ポイント） ----- */
.ths-online-points {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(16px, 2vw, 26px);
}
.ths-online-point {
	background: #f5f8fd;
	border: 1px solid rgba(0, 30, 90, 0.06);
	border-radius: 18px;
	padding: clamp(24px, 2.6vw, 32px);
	transition: transform 0.3s, box-shadow 0.3s;
}
.ths-online-point:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(15, 30, 70, 0.1); }
.ths-online-point-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; border-radius: 16px;
	background: linear-gradient(135deg, var(--ths-accent) 0%, var(--ths-accent-light) 100%);
	color: #fff; font-size: 1.5rem; margin-bottom: 18px;
}
.ths-online-point h3 { font-size: 1.12rem; font-weight: 800; color: var(--ths-text-dark); margin: 0 0 10px; letter-spacing: 0.03em; }
.ths-online-point p { margin: 0; font-size: 0.95rem; line-height: 1.85; color: var(--ths-text-dark-sub); }

/* ----- 流れ（ステップ） ----- */
.ths-online-steps {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 36px);
	counter-reset: none;
}
.ths-online-step {
	position: relative;
	background: #ffffff;
	border: 1px solid rgba(0, 30, 90, 0.08);
	border-radius: 18px;
	padding: clamp(30px, 3vw, 40px) clamp(22px, 2.4vw, 32px);
	text-align: center;
	box-shadow: 0 12px 32px rgba(15, 30, 70, 0.06);
}
.ths-online-step-num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 50%;
	background: linear-gradient(135deg, var(--ths-accent) 0%, var(--ths-accent-light) 100%);
	color: #fff; font-family: "Outfit", sans-serif; font-size: 1.4rem; font-weight: 800;
	margin-bottom: 18px;
}
.ths-online-step h3 { font-size: 1.16rem; font-weight: 800; color: var(--ths-text-dark); margin: 0 0 10px; letter-spacing: 0.03em; }
.ths-online-step p { margin: 0; font-size: 0.96rem; line-height: 1.9; color: var(--ths-text-dark-sub); }
/* ステップ間の矢印 */
.ths-online-step:not(:last-child)::after {
	content: "\F285"; /* bi-chevron-right */
	font-family: "bootstrap-icons";
	position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
	color: var(--ths-accent-light); font-size: 1.4rem; z-index: 2;
}

/* ----- FAQ ----- */
.ths-online-faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.ths-faq-item {
	background: #f5f8fd; border: 1px solid rgba(0, 30, 90, 0.06);
	border-radius: 14px; padding: 22px 26px;
}
.ths-faq-q, .ths-faq-a { display: flex; gap: 14px; align-items: flex-start; line-height: 1.8; }
.ths-faq-q { font-weight: 700; color: var(--ths-text-dark); font-size: 1.02rem; }
.ths-faq-a { margin-top: 10px; color: var(--ths-text-dark-sub); font-size: 0.97rem; }
.ths-faq-q span, .ths-faq-a span {
	flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	font-family: "Outfit", sans-serif; font-weight: 800; font-size: 0.9rem;
}
.ths-faq-q span { background: var(--ths-accent); color: #fff; }
.ths-faq-a span { background: rgba(0, 85, 204, 0.1); color: var(--ths-accent); }

/* ----- CTA ----- */
.ths-online-cta {
	background: linear-gradient(110deg, #14205a 0%, var(--ths-accent) 70%, #2eb6e8 130%);
	color: #fff; text-align: center; padding: clamp(64px, 9vw, 110px) 0;
}
.ths-online-cta-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: 0.04em; margin: 0 0 16px; color: #fff; }
.ths-online-cta-lead { font-size: clamp(0.98rem, 1.15vw, 1.1rem); line-height: 1.9; color: rgba(255, 255, 255, 0.9); margin: 0 0 34px; }
.ths-online-cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 0; }
.ths-online-cta .ths-online-cta-btn { margin-top: 0; background: #ffffff; color: var(--ths-accent) !important; box-shadow: 0 12px 28px rgba(8, 20, 60, 0.25); }
.ths-online-cta .ths-online-cta-btn:hover { color: var(--ths-navy, #14205a) !important; }
.ths-online-cta .ths-online-cta-btn--ghost { background: transparent; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.6); box-shadow: none; }
.ths-online-cta .ths-online-cta-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff !important; }

/* ----- Responsive ----- */
@media (max-width: 880px) {
	.ths-online-points { grid-template-columns: 1fr 1fr; }
	.ths-online-steps { grid-template-columns: 1fr; gap: 28px; max-width: 460px; margin: 0 auto; }
	.ths-online-step:not(:last-child)::after { content: "\F282"; right: 50%; top: auto; bottom: -24px; transform: translateX(50%); }
}
@media (max-width: 520px) {
	.ths-online-points { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
