/* ==========================================================
   Startline 公式サイト(リニューアル版)
   トーンは旧サイトを継承: モノクロ / 明朝の見出し / 金は控えめ
   ========================================================== */

:root {
	--black: #111;
	--dark-gray: #333;
	--gray: #767676;
	--light-gray: #f2f2f2;
	--off-white: #f7f6f4;
	--stone: #8a8478;
	--label: #6b665c; /* 小さいラベル用。stone だと白地で読みにくい */
	--fog: #e7e3da;
	--ember: #b08a3e;
	--white: #fff;

	--mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

	--content: 1120px;
	--narrow: 760px;
	--gutter: 24px;
	--header-h: 76px;
	--arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 8'%3E%3Cpath d='M0 4H22.5M18.5 1l4 3-4 3' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--white);
	color: var(--black);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.9;
	letter-spacing: 0.04em;
	-webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.2em; }

.container { width: min(100% - var(--gutter) * 2, var(--content)); margin-inline: auto; }
.container--narrow { width: min(100% - var(--gutter) * 2, var(--narrow)); margin-inline: auto; }

/* 写真はセピア寄りのモノクロ(旧サイトの is-style-mono-photo と同じ値) */
.mono { filter: grayscale(65%) sepia(22%) contrast(1.08) brightness(0.97); }

/* 日本語の改行位置を文節で整える */
.wbr { word-break: keep-all; overflow-wrap: anywhere; }
.br-sp { display: none; }
.nowrap { white-space: nowrap; }
@media (max-width: 600px) {
	.br-pc { display: none; }
	.br-sp { display: inline; }
}

/* 改行位置: 文章は文節で折り返す(対応ブラウザのみ。非対応は通常の折り返し) */
h1, h2, h3, p, th, td, dt, dd, li, summary, .btn,
.section-lead, .cstep__title, .cstep__out, .plan__note, .flow6 p, .process p,
.features p, .tr-issues p, .pkg dd, .qa td, .ba td {
	word-break: auto-phrase;
	text-wrap: pretty;
}

/* ---------------------------------------------------------- 見出し */

.eyebrow {
	display: block;
	font-family: var(--sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.24em;
	color: var(--label);
	text-transform: uppercase;
}

.section-title {
	margin: 10px 0 0;
	font-family: var(--mincho);
	font-weight: 700;
	font-size: clamp(1.7rem, 3.4vw, 2.5rem);
	line-height: 1.5;
	letter-spacing: 0.06em;
}

.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; }
.section-head .rule {
	display: block;
	width: 48px;
	height: 2px;
	margin-top: 20px;
	background: var(--ember);
}
.section-head--center .rule { margin-inline: auto; }

.lead {
	font-size: 1.05rem;
	line-height: 2.1;
	color: var(--dark-gray);
}

/* ---------------------------------------------------------- ボタン */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 16px 36px;
	border: 1px solid var(--black);
	background: var(--black);
	color: var(--white);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-decoration: none;
	transition: background 0.3s, color 0.3s;
}
.btn::after {
	content: "";
	width: 24px;
	height: 8px;
	background: currentColor;
	-webkit-mask: var(--arrow) no-repeat center / contain;
	mask: var(--arrow) no-repeat center / contain;
	transition: transform 0.3s;
}
.btn:hover { background: var(--white); color: var(--black); }
.btn:hover::after { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--white); }
.btn--light { border-color: var(--white); background: var(--white); color: var(--black); }
.btn--light:hover { background: transparent; color: var(--white); }

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 4px;
}

/* ---------------------------------------------------------- ヘッダー */

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	height: var(--header-h);
	border-bottom: 1px solid var(--light-gray);
}
/* すりガラスは疑似要素に置く(ヘッダー本体に backdrop-filter を付けると、スマホのメニューが高さ0になって背景が透ける) */
.site-header::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(8px);
	content: "";
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	width: min(100% - var(--gutter) * 2, 1240px);
	margin-inline: auto;
}
.site-logo img { width: auto; height: 46px; }

.global-nav ul {
	display: flex;
	align-items: center;
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.global-nav a {
	font-size: 0.88rem;
	font-weight: 500;
	text-decoration: none;
	letter-spacing: 0.08em;
}
.global-nav a:not(.btn):hover { color: var(--stone); }
.global-nav .btn { padding: 10px 22px; font-size: 0.85rem; }
.global-nav .btn::after { display: none; }

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
	display: block;
	width: 24px;
	height: 1.5px;
	margin: auto;
	background: var(--black);
	transition: transform 0.3s, background 0.3s;
	content: "";
}
.nav-toggle span::before { transform: translateY(-8px); }
.nav-toggle span::after { transform: translateY(6.5px); }
.is-nav-open .nav-toggle span { background: transparent; }
.is-nav-open .nav-toggle span::before { transform: translateY(0) rotate(45deg); }
.is-nav-open .nav-toggle span::after { transform: translateY(-1.5px) rotate(-45deg); }

@media (max-width: 900px) {
	:root { --header-h: 64px; }
	.site-logo img { height: 38px; }
	.nav-toggle { display: block; }
	.global-nav {
		position: fixed;
		inset: var(--header-h) 0 0;
		padding: 32px var(--gutter);
		background: var(--white);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s, visibility 0.3s;
	}
	.is-nav-open .global-nav { opacity: 1; visibility: visible; }
	.global-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.global-nav li { border-bottom: 1px solid var(--light-gray); }
	.global-nav a { display: block; padding: 18px 4px; font-size: 1rem; }
	.global-nav li:last-child { border: 0; margin-top: 24px; }
	.global-nav .btn { display: flex; justify-content: center; padding: 16px; }
}

main { padding-top: var(--header-h); }

/* ---------------------------------------------------------- セクション共通 */

.section { padding: 120px 0; }
.section--tint { background: var(--off-white); }
.section--dark { background: var(--black); color: var(--white); }
.section--dark .eyebrow { color: var(--fog); }
@media (max-width: 600px) {
	.section { padding: 80px 0; }
	.section-head { margin-bottom: 40px; }
}

/* ---------------------------------------------------------- TOP: ヒーロー */

.hero {
	position: relative;
	display: grid;
	place-items: center;
	min-height: calc(100svh - var(--header-h));
	overflow: hidden;
	color: var(--white);
	text-align: center;
	background: var(--black);
}
.hero__media,
.hero__media video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}
.hero__body { position: relative; padding: 0 var(--gutter); }
.hero__title {
	margin: 0;
	font-family: var(--mincho);
	font-weight: 700;
	font-size: clamp(2rem, 5.4vw, 4rem);
	line-height: 1.55;
	letter-spacing: 0.08em;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 44px; }
.hero__actions .btn--ghost { border-color: var(--white); color: var(--white); }
.hero__actions .btn--ghost:hover { background: var(--white); color: var(--black); }
.hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 28px;
	width: 1px;
	height: 56px;
	background: rgba(255, 255, 255, 0.5);
	overflow: hidden;
}
.hero__scroll::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--white);
	animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
	0% { transform: translateY(-100%); }
	100% { transform: translateY(100%); }
}

/* ---------------------------------------------------------- TOP: 私たちについて */

.intro {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 72px;
	align-items: center;
}
.intro__img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (max-width: 900px) {
	.intro { grid-template-columns: 1fr; gap: 40px; }
	.intro__img { aspect-ratio: 16 / 10; }
}

/* ---------------------------------------------------------- 事業(2本柱) */

.business {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
}
.business-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	text-decoration: none;
	transition: transform 0.4s;
}
.business-card:hover { transform: translateY(-4px); }
.business-card__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.business-card__body { padding: 36px 36px 40px; flex: 1; display: flex; flex-direction: column; }
.business-card__title { margin: 8px 0 16px; font-family: var(--mincho); font-size: 1.6rem; font-weight: 700; }
.business-card p { color: var(--dark-gray); font-size: 0.95rem; }
.business-card .text-link { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) {
	.business { grid-template-columns: 1fr; gap: 28px; }
	.business-card__body { padding: 28px 24px 32px; }
}

/* ---------------------------------------------------------- ブログ */

.posts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.post-card a { display: block; text-decoration: none; }
.post-card__img {
	aspect-ratio: 16 / 10;
	width: 100%;
	object-fit: cover;
	background: var(--light-gray);
	transition: opacity 0.3s;
}
.post-card a:hover .post-card__img { opacity: 0.85; }
.post-card__meta { display: flex; gap: 12px; align-items: center; margin-top: 16px; font-size: 0.78rem; color: var(--gray); }
.post-card__cat { padding: 2px 10px; background: var(--black); color: var(--white); letter-spacing: 0.08em; }
.post-card__title { margin: 10px 0 0; font-size: 1rem; font-weight: 500; line-height: 1.7; }
.section-foot { margin-top: 48px; text-align: center; }
@media (max-width: 900px) {
	.posts { grid-template-columns: 1fr; gap: 28px; }
	.post-card a { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: start; }
	.post-card__meta { margin-top: 0; }
	.post-card__title { font-size: 0.92rem; margin-top: 6px; }
}

/* ---------------------------------------------------------- MVV */

.mvv { display: grid; grid-template-columns: 220px 1fr; row-gap: 0; }
.mvv dt, .mvv dd { margin: 0; padding: 32px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.mvv dt { font-size: 0.8rem; letter-spacing: 0.24em; color: var(--fog); font-weight: 600; }
.mvv dd { font-family: var(--mincho); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.8; }
.mvv dd ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 6px 48px; }
@media (max-width: 600px) {
	.mvv { grid-template-columns: 1fr; }
	.mvv dt { padding: 24px 0 4px; border: 0; }
	.mvv dd { padding: 0 0 24px; }
	.mvv dd ul { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------- 問い合わせ帯 */

.cta {
	position: relative;
	padding: 120px 0;
	color: var(--white);
	text-align: center;
	overflow: hidden;
	background: var(--black);
}
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.cta .container { position: relative; }
.cta__title { margin: 12px 0 20px; font-family: var(--mincho); font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.cta .eyebrow { color: var(--fog); }
.cta p { margin-bottom: 40px; }
@media (max-width: 600px) { .cta .btn { padding: 16px 24px; gap: 10px; } }

/* ---------------------------------------------------------- 下層ページ見出し */

.page-hero {
	position: relative;
	padding: 140px 0 100px;
	color: var(--white);
	overflow: hidden;
	background: var(--black);
}
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.page-hero .container { position: relative; }
.page-hero .eyebrow { color: var(--fog); }
.page-hero__title { margin: 12px 0 0; font-family: var(--mincho); font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.5; }
.page-hero__lead { margin: 24px 0 0; font-size: 1.02rem; max-width: 640px; }
@media (max-width: 600px) { .page-hero { padding: 96px 0 72px; } }

.breadcrumb { padding: 16px 0; font-size: 0.78rem; color: var(--gray); border-bottom: 1px solid var(--light-gray); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.breadcrumb a { text-decoration: none; }

/* ---------------------------------------------------------- 営業支援: 伴走の図 */

.runmap__svg { display: block; width: 100%; height: auto; margin-inline: auto; overflow: visible; }
.runmap__svg--pc { max-width: 1000px; }
.runmap__svg--sp { display: none; max-width: 360px; }
@media (max-width: 600px) {
	.runmap__svg--pc { display: none; }
	.runmap__svg--sp { display: block; }
}
.runmap svg text { text-anchor: middle; dominant-baseline: central; font-family: var(--mincho); font-weight: 700; font-size: 17px; fill: var(--black); }
.runmap__thin { stroke: var(--fog); stroke-width: 1; }
.runmap__feed { stroke: var(--stone); stroke-width: 1; }
.runmap__mesh { stroke: var(--stone); stroke-width: 1; stroke-dasharray: 2 4; opacity: 0.7; }
.runmap__partner circle { fill: var(--white); stroke: var(--stone); stroke-width: 1; }
.runmap__partner .runmap__partner-core { fill: var(--ember); stroke: none; }
.runmap__node circle { fill: var(--white); stroke: var(--black); stroke-width: 1; }
.runmap__track { fill: none; stroke-width: 3; stroke-linejoin: round; }
.runmap__track--client { stroke: var(--black); }
.runmap__track--sl { stroke: var(--ember); }
.runmap__chev { fill: none; stroke: var(--ember); stroke-width: 2; stroke-linejoin: round; }
.runmap__client-node { fill: var(--black); }
.runmap__sl-node { fill: var(--ember); }
.runmap svg .runmap__label { font-size: 18px; }
.runmap svg .runmap__label--en { font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; fill: var(--ember); }
.runmap svg .runmap__label--side { text-anchor: end; }
.runmap svg .runmap__label--side-r { text-anchor: start; }
.runmap svg .runmap__mid { font-size: 19px; letter-spacing: 0.12em; }
.runmap svg .runmap__mid--sp { font-size: 15px; }
.runmap svg .runmap__mid--side { text-anchor: start; }
.runmap__ring { fill: none; stroke: var(--black); stroke-width: 1; }
.runmap__ring--0 { stroke: var(--stone); stroke-dasharray: 2 5; }
.runmap__ring--2 { stroke: var(--ember); stroke-width: 1.5; }
.runmap__core { fill: var(--black); }
.runmap svg .runmap__goal-en { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: 0.3em; fill: var(--ember); }
.runmap svg .runmap__goal-ja { font-size: 18px; }
.runmap svg .runmap__goal-ja--sp { text-anchor: start; font-size: 16px; }
.runmap svg .runmap__cap { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: 0.12em; fill: var(--stone); }
.runmap__body { max-width: 760px; margin: 56px auto 0; }
.runmap__body .lead { text-wrap: pretty; }
@media (max-width: 600px) { .runmap__body { margin-top: 32px; } }

/* ---------------------------------------------------------- 営業支援: 進め方 */

.steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}
.steps li { position: relative; padding: 0 24px 0 0; counter-increment: step; }
.steps li::before {
	content: "STEP " counter(step, decimal-leading-zero);
	display: block;
	padding-bottom: 16px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--black);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.2em;
}
.steps h3 { margin: 0 0 10px; font-family: var(--mincho); font-size: 1.2rem; }
.steps p { font-size: 0.92rem; color: var(--dark-gray); margin: 0; }
@media (max-width: 900px) {
	.steps { grid-template-columns: 1fr; gap: 32px; }
	.steps li { padding: 0; }
}

/* ---------------------------------------------------------- 営業支援: 実績 */

.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.results li { padding: 32px; background: var(--white); border-top: 2px solid var(--black); }
.results__tag { display: inline-block; padding: 2px 10px; border: 1px solid var(--stone); font-size: 0.75rem; color: var(--stone); letter-spacing: 0.1em; }
.results h3 { margin: 16px 0 20px; font-family: var(--mincho); font-size: 1.15rem; line-height: 1.7; }
.results dl { display: grid; grid-template-columns: 5em 1fr; gap: 8px 12px; margin: 0; font-size: 0.9rem; }
.results dt { color: var(--gray); }
.results dd { margin: 0; }
@media (max-width: 900px) { .results { grid-template-columns: 1fr; } }
.results-soon { max-width: 560px; margin: 0 auto; padding: 48px 32px; background: var(--white); border-top: 2px solid var(--black); text-align: center; color: var(--dark-gray); text-wrap: balance; }
.results-soon p { margin: 0; }
.results-soon__label { margin-bottom: 12px !important; font-family: var(--mincho); font-size: 1.4rem; letter-spacing: 0.08em; color: var(--black); }

/* ---------------------------------------------------------- 研修ページ */

.section-lead { max-width: 760px; margin: -24px auto 48px; text-align: center; color: var(--dark-gray); text-wrap: balance; }
.section--dark .section-lead { color: #b9b4a9; }

/* 冒頭 */
.tr-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.tr-intro__catch { margin: 0 0 20px; padding-left: 20px; border-left: 2px solid var(--ember); font-family: var(--mincho); font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.8; }
.tr-intro__sub { color: var(--dark-gray); }
.tr-intro__meta { display: inline-block; margin: 8px 0 0; padding: 6px 14px; border: 1px solid var(--black); font-size: 0.85rem; }
.tr-intro__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tr-intro__body { margin-top: 72px; }
@media (max-width: 900px) {
	.tr-intro { grid-template-columns: 1fr; gap: 40px; }
	.tr-intro__body { margin-top: 48px; }
}

/* ISSUE */
.tr-issues { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: issue; }
.tr-issues li { position: relative; padding: 36px 32px 32px; background: var(--white); border-top: 2px solid var(--black); counter-increment: issue; }
.tr-issues li::before { content: counter(issue, decimal-leading-zero); display: block; margin-bottom: 10px; font-family: var(--mincho); color: var(--ember); letter-spacing: 0.1em; }
.tr-issues h3 { margin: 0 0 12px; font-family: var(--mincho); font-size: 1.2rem; }
.tr-issues p { margin: 0; font-size: 0.92rem; color: var(--dark-gray); }
@media (max-width: 600px) { .tr-issues { grid-template-columns: 1fr; } }

/* 表の共通 */
.qa table, .ba table, .cond table, .sess table { width: 100%; border-collapse: collapse; }

/* Q&A: 不安(左) → 研修での扱い(右) */
.qa th { padding: 0 24px 14px 0; text-align: left; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em; color: var(--label); border-bottom: 1px solid var(--black); }
.qa td { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--fog); vertical-align: top; }
.qa__q { width: 44%; font-family: var(--mincho); font-weight: 700; font-size: 1.05rem; }
.qa__a { position: relative; padding-left: 56px !important; color: var(--dark-gray); }
.qa__a::before { content: ""; position: absolute; left: 0; top: calc(28px + 1em - 4px); width: 36px; height: 8px; background: var(--ember); -webkit-mask: var(--arrow) no-repeat right center / auto 8px; mask: var(--arrow) no-repeat right center / auto 8px; }
.qa__a::after { content: ""; position: absolute; left: 0; top: calc(28px + 1em - 0.5px); width: 14px; height: 1px; background: var(--ember); }
@media (max-width: 760px) {
	.qa thead { display: none; }
	.qa tr, .qa td { display: block; width: auto; }
	.qa td { border: 0; padding: 0; }
	.qa tr { padding: 24px 0; border-bottom: 1px solid var(--fog); }
	.qa__a { margin-top: 12px; padding-left: 28px !important; }
	.qa__a::before { top: calc(1em - 4px); width: 18px; }
	.qa__a::after { display: none; }
}

/* APPROACH: これまで → 研修後 */
.ba th { padding: 0 20px 14px; text-align: left; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em; color: var(--fog); border-bottom: 1px solid var(--gray); }
.ba td { padding: 28px 20px; border-bottom: 1px solid #333; vertical-align: middle; }
.ba__scene { width: 19%; font-family: var(--mincho); font-weight: 700; font-size: 1.1rem; }
.ba__before { width: 35%; color: #b9b4a9; position: relative; padding-right: 56px !important; }
.ba__before::after { content: ""; position: absolute; right: 14px; top: calc(50% - 4px); width: 26px; height: 8px; background: var(--ember); -webkit-mask: var(--arrow) no-repeat center / contain; mask: var(--arrow) no-repeat center / contain; }
/* 「▶ 」の幅だけぶら下げて、2行目以降を▶の下に回さない */
.ba__after, .cstep__out { --hang: 1.32em; text-indent: calc(-1 * var(--hang)); }
.ba__after { padding-left: calc(28px + var(--hang)) !important; color: var(--white); border-left: 2px solid var(--ember); background: rgba(176, 138, 62, 0.12); }
.ba__after::first-letter { color: var(--ember); }
.ba__note { margin-top: 28px; font-size: 0.85rem; color: #b9b4a9; }
@media (max-width: 760px) {
	.ba thead { display: none; }
	.ba tr, .ba td { display: block; width: auto; }
	.ba tr { padding: 24px 0; border-bottom: 1px solid #333; }
	.ba td { border-bottom: 0; padding: 0; }
	.ba__before { margin: 10px 0 0; padding: 0 0 18px !important; }
	.ba__before::after { right: auto; left: -9px; top: auto; bottom: 2px; transform: rotate(90deg); width: 20px; }
	.ba__after { padding: 12px 16px 12px calc(16px + var(--hang)) !important; }
}

/* 線と節点で並べるステップ(共通6ステップ・導入までの流れ) */
.flow6, .process { display: grid; margin: 0; padding: 0; list-style: none; }
.flow6 { grid-template-columns: repeat(3, 1fr); row-gap: 56px; }
.process { grid-template-columns: repeat(5, 1fr); }
.flow6 li, .process li { position: relative; padding: 40px 28px 0 0; border-top: 1px solid var(--black); }
.flow6__no, .process__no {
	position: absolute; top: -21px; left: 0;
	display: grid; place-items: center;
	width: 42px; height: 42px; border: 1px solid var(--ember); border-radius: 50%;
	background: var(--white); font-family: var(--mincho); font-weight: 700; color: var(--ember);
}
.flow6 h3, .process h3 { margin: 0 0 10px; font-family: var(--mincho); font-size: 1.15rem; }
.flow6 p, .process p { margin: 0; font-size: 0.9rem; color: var(--dark-gray); }
@media (max-width: 900px) {
	.flow6, .process { grid-template-columns: 1fr; row-gap: 0; }
	.flow6 li, .process li { padding: 0 0 36px 64px; border-top: 0; border-left: 1px solid var(--black); margin-left: 21px; }
	.flow6 li:last-child, .process li:last-child { border-left-color: transparent; }
	.flow6__no, .process__no { top: -4px; left: -22px; }
}

/* 共通の3つの特長 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 72px 0 0; padding: 0; list-style: none; }
.features li { padding: 36px 28px; border: 1px solid var(--fog); text-align: center; }
.tr-icon { width: 44px; height: 44px; fill: none; stroke: var(--ember); stroke-width: 1.5; stroke-linejoin: round; }
.feature__title { margin: 16px 0 8px; font-family: var(--mincho); font-weight: 700; font-size: 1.1rem; }
.features li p:last-child { margin: 0; font-size: 0.88rem; color: var(--dark-gray); }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

/* パッケージ一覧 */
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.pkg { background: var(--white); }
.pkg__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pkg__body { padding: 28px; }
.pkg__name { margin: 0; font-family: var(--mincho); font-size: 1.35rem; }
.pkg__meta { margin: 6px 0 20px; font-size: 0.82rem; color: var(--gray); }
.pkg dl { margin: 0; }
.pkg dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; color: var(--label); }
.pkg dd { margin: 4px 0 16px; font-size: 0.92rem; }
.pkgs__note { margin-top: 32px; font-size: 0.85rem; color: var(--dark-gray); }
.pkgs__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.pkgs__links p { margin: 0; font-size: 0.9rem; }
.pkgs__links ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pkgs__links a { display: inline-block; padding: 10px 20px; border: 1px solid var(--black); text-decoration: none; font-size: 0.9rem; transition: background .2s, color .2s; }
.pkgs__links a:hover { background: var(--black); color: var(--white); }
@media (max-width: 900px) { .pkgs { grid-template-columns: 1fr; } }

/* コース詳細 */
.course + .course { border-top: 1px solid var(--fog); }
.course { scroll-margin-top: var(--header-h); }
.course__head { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.course__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.course__name { margin: 0; font-family: var(--mincho); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.course__meta { margin: 8px 0 0; font-size: 0.82rem; color: var(--gray); }
.course__catch { margin: 24px 0; padding-left: 18px; border-left: 2px solid var(--ember); font-family: var(--mincho); font-weight: 700; font-size: 1.1rem; line-height: 1.9; }
.course__target { margin: 0; }
.course__target dt, .course__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; color: var(--label); }
.course__target dd { margin: 4px 0 0; }
.course__label { margin: 0 0 32px; }
.course__skills { margin-top: 64px; }
@media (max-width: 900px) { .course__head { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; } }

/* 研修ステップと成果物: 1本の線の上にひし形の節点 */
.cstep { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; list-style: none; }
.cstep li { position: relative; padding: 28px 16px 0 0; border-top: 1px solid var(--black); }
.cstep li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--ember); transform: rotate(45deg); }
.cstep li:last-child::after { content: ""; position: absolute; top: -5px; right: 0; border: 4.5px solid transparent; border-left: 8px solid var(--black); margin-right: -8px; }
.cstep__no { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; color: var(--ember); }
.cstep__title { margin: 6px 0 12px; font-family: var(--mincho); font-weight: 700; font-size: 1rem; line-height: 1.6; }
.cstep__out { display: inline-block; margin: 0; padding: 4px 10px 4px calc(10px + var(--hang)); background: var(--off-white); font-size: 0.8rem; line-height: 1.6; }
@media (max-width: 900px) {
	.cstep { grid-template-columns: 1fr; }
	.cstep li { padding: 0 0 28px 36px; border-top: 0; border-left: 1px solid var(--black); margin-left: 6px; }
	.cstep li::before { top: 2px; left: -6px; }
	.cstep li:last-child { border-left-color: transparent; }
	.cstep li:last-child::after { display: none; }
}

/* 得られるスキル */
.skills { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 40px; margin: 0; padding: 0; list-style: none; }
.skills li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--fog); font-size: 0.95rem; }
.skills li::before { content: ""; position: absolute; left: 4px; top: 1.3em; width: 12px; height: 6px; border-left: 2px solid var(--ember); border-bottom: 2px solid var(--ember); transform: rotate(-45deg); }
@media (max-width: 760px) { .skills { grid-template-columns: 1fr; } }

/* セッション詳細(開閉) */
.sess { margin-top: 48px; border: 1px solid var(--black); }
.sess summary { position: relative; padding: 18px 56px 18px 24px; cursor: pointer; list-style: none; font-weight: 500; }
.sess summary::-webkit-details-marker { display: none; }
.sess summary::before, .sess summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 14px; height: 1px; background: var(--black); transition: transform .2s; }
.sess summary::after { transform: rotate(90deg); }
.sess[open] summary::after { transform: rotate(0deg); }
.sess__scroll { overflow-x: auto; border-top: 1px solid var(--black); }
.sess table { min-width: 880px; font-size: 0.85rem; }
.sess th { padding: 12px 16px; background: var(--black); color: var(--white); text-align: left; font-weight: 500; }
.sess td { padding: 16px; border-bottom: 1px solid var(--fog); vertical-align: top; line-height: 1.8; }
.sess__no { font-family: var(--mincho); font-weight: 700; }

/* 日程プラン: 12時間を何回に分けるかを帯で見せる */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.plan { padding: 40px 28px 36px; background: var(--white); border-top: 2px solid var(--black); text-align: center; }
.plan__key { margin: 0; font-family: var(--mincho); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--ember); }
.plan__time { margin: 14px 0 20px; font-family: var(--mincho); font-weight: 700; font-size: 1.4rem; }
.plan__bar { display: block; width: 100%; max-width: 240px; height: auto; margin: 0 auto; fill: var(--black); }
.plan__days { margin: 16px 0 8px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.15em; color: var(--label); }
.plan__note { margin: 0; font-size: 0.9rem; color: var(--dark-gray); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* 実施条件 */
.cond { margin-top: 56px; background: var(--white); padding: 8px 40px; }
.cond th { width: 11em; padding: 22px 24px 22px 0; text-align: left; font-family: var(--mincho); font-weight: 700; border-bottom: 1px solid var(--fog); vertical-align: top; }
.cond td { padding: 22px 0; border-bottom: 1px solid var(--fog); }
.cond tr:last-child th, .cond tr:last-child td { border-bottom: 0; }
.cond__fee { font-family: var(--mincho); font-weight: 700; font-size: 1.3rem; }
.cond__note { display: block; margin-top: 6px; font-family: var(--sans); font-weight: 400; font-size: 0.82rem; color: var(--gray); }
@media (max-width: 760px) {
	.cond { padding: 8px 20px; }
	.cond tr, .cond th, .cond td { display: block; width: auto; }
	.cond th { padding: 20px 0 4px; border-bottom: 0; }
	.cond td { padding: 0 0 20px; }
}

/* 締め */
.tr-closing { max-width: 760px; margin: 72px auto 0; text-align: center; }
.tr-closing p { color: var(--dark-gray); line-height: 2; }
.tr-closing .btn { margin-top: 24px; }

/* ---------------------------------------------------------- 定義の表(会社概要・研修の実施形式) */

.dtable { display: grid; grid-template-columns: 13em 1fr; margin: 0; border-top: 1px solid var(--black); }
.dtable dt, .dtable dd { margin: 0; padding: 24px 0; border-bottom: 1px solid var(--fog); line-height: 1.9; }
.dtable dt { font-weight: 600; font-size: 0.92rem; padding-right: 24px; }
.dtable dd small { display: block; margin-top: 4px; color: var(--gray); font-size: 0.82rem; }
.dtable .text-link { margin-top: 6px; }
@media (max-width: 600px) {
	.dtable { grid-template-columns: 1fr; }
	.dtable dt { padding: 20px 0 0; border: 0; color: var(--label); font-size: 0.82rem; }
	.dtable dt br { display: none; }
	.dtable dd { padding: 4px 0 20px; }
}

/* 代表挨拶 */
.greeting { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; max-width: 960px; margin: 0 auto; }
.greeting__photo { margin: 0; }
.greeting__photo img { width: 100%; height: auto; }
.greeting__photo figcaption { margin-top: 16px; font-size: 0.8rem; color: var(--label); letter-spacing: 0.1em; }
.greeting__photo figcaption span { display: block; margin-top: 4px; font-family: var(--mincho); font-size: 1.3rem; color: var(--black); letter-spacing: 0.16em; }
.greeting__body p { margin: 0 0 1.4em; line-height: 2.1; color: var(--dark-gray); }
@media (max-width: 760px) {
	.greeting { grid-template-columns: 1fr; gap: 32px; }
	.greeting__photo { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: end; }
	.greeting__photo figcaption { margin: 0; }
}

/* ---------------------------------------------------------- お問い合わせ */

.contact { display: grid; grid-template-columns: 1fr 300px; gap: 80px; align-items: start; }
.form__row { display: grid; gap: 10px; margin: 0 0 28px; padding: 0; border: 0; }
.form label, .form legend { font-weight: 600; font-size: 0.92rem; padding: 0; }
.form__req { margin-left: 10px; padding: 1px 8px; background: var(--black); color: var(--white); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; vertical-align: 2px; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form textarea {
	width: 100%; padding: 14px 16px; border: 1px solid #c9c4b9; border-radius: 0; background: var(--white);
	font: inherit; font-size: 1rem; color: var(--black);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--ember); outline-offset: 0; border-color: var(--ember); }
.form__checks { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 12px 40px; margin-top: 4px; }
.form__checks label { display: flex; gap: 10px; align-items: center; font-weight: 400; cursor: pointer; }
.form__checks input { width: 18px; height: 18px; accent-color: var(--black); }
.form__hp { position: absolute; left: -9999px; }
.form__submit { margin-top: 8px; min-width: 240px; border: 0; cursor: pointer; font: inherit; }
.contact-info { padding: 32px; background: var(--off-white); border-top: 2px solid var(--black); }
.contact-info dl { margin: 0; }
.contact-info dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; color: var(--label); text-transform: uppercase; }
.contact-info dd { margin: 6px 0 24px; line-height: 1.9; font-size: 0.92rem; }
.contact-info dd:last-child { margin-bottom: 0; }
.thanks { text-align: center; }
.thanks .lead { margin: 24px 0 40px; }
@media (max-width: 900px) {
	.contact { grid-template-columns: 1fr; gap: 48px; }
	.form__checks { grid-template-columns: 1fr; }
	.form__submit { width: 100%; }
}

/* ---------------------------------------------------------- ブログ一覧・記事 */

.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 48px; padding: 0; list-style: none; }
.blog-cats a { display: inline-block; padding: 8px 20px; border: 1px solid #c9c4b9; font-size: 0.85rem; text-decoration: none; color: var(--dark-gray); }
.blog-cats a:hover { border-color: var(--black); color: var(--black); }
.blog-cats a.is-current { background: var(--black); border-color: var(--black); color: var(--white); }
.posts--list { row-gap: 56px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 72px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid #c9c4b9; font-size: 0.88rem; text-decoration: none; color: var(--dark-gray); }
.pager .pager__current { background: var(--black); border-color: var(--black); color: var(--white); }
.pager a:hover { border-color: var(--black); }

.article { padding: 72px 0 120px; }
.article__head .post-card__meta { margin: 0; }
.article__title { margin: 20px 0 0; font-family: var(--mincho); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.6; letter-spacing: 0.04em; }
.article__eyecatch { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: 40px 0; }
.article__lead { font-size: 1.05rem; line-height: 2.1; color: var(--dark-gray); }
.toc { margin: 48px 0; padding: 28px 32px; background: var(--off-white); border-left: 2px solid var(--ember); }
.toc__title { margin: 0 0 12px; font-weight: 600; letter-spacing: 0.2em; font-size: 0.85rem; }
.toc ol { margin: 0; padding-left: 1.4em; line-height: 2; }
.toc a { color: var(--dark-gray); }
.article__body h2 { margin: 72px 0 24px; padding-bottom: 14px; border-bottom: 1px solid var(--black); font-family: var(--mincho); font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.6; scroll-margin-top: 100px; }
.article__body h3 { margin: 40px 0 16px; padding-left: 14px; border-left: 3px solid var(--ember); font-size: 1.12rem; line-height: 1.6; }
.article__body p, .article__body li { line-height: 2.1; color: var(--dark-gray); }
.article__body ul { padding-left: 1.4em; }
.article__body figure { margin: 32px 0; }
.article__body figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article__body ol { padding-left: 1.4em; }
.article__author { margin-top: 80px; padding: 32px; border-top: 2px solid var(--black); background: var(--off-white); }
.article__author-name { margin: 0 0 8px; font-family: var(--mincho); font-size: 1.2rem; font-weight: 700; }
.article__author p { margin: 0; color: var(--dark-gray); font-size: 0.92rem; line-height: 1.9; }
.article__author-links { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 16px !important; }
@media (max-width: 600px) {
	.article { padding: 48px 0 80px; }
	.toc { padding: 24px; }
	.article__author { padding: 24px; }
}

/* ---------------------------------------------------------- フッター */

.site-footer { background: var(--black); color: var(--white); padding: 80px 0 32px; font-size: 0.88rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.site-footer__name { font-family: var(--mincho); font-size: 1.4rem; margin: 0 0 20px; }
.site-footer address { font-style: normal; line-height: 2; color: #ccc; }
.site-footer address a { color: #ccc; }
.site-footer h3 { margin: 0 0 16px; font-size: 0.75rem; letter-spacing: 0.24em; color: var(--fog); font-weight: 600; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li a { display: inline-block; padding: 5px 0; color: #ddd; text-decoration: none; }
.site-footer li a:hover { color: var(--white); }
.site-footer__copy { margin-top: 64px; padding-top: 24px; border-top: 1px solid #333; color: var(--gray); font-size: 0.75rem; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------------------------------------------------------- スクロールで表示 */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.hero__scroll::after { animation: none; }
}

/* ---------------------------------------------------------- 試作用: 要確認メモ(本番では消す) */

.todo {
	display: inline;
	padding: 1px 6px;
	background: #fff4c2;
	color: #6b5200;
	font-size: 0.8em;
	font-weight: 500;
	letter-spacing: 0;
}
.todo-block {
	padding: 16px 20px;
	margin: 0 0 24px;
	background: #fff4c2;
	color: #6b5200;
	font-size: 0.88rem;
	border-left: 3px solid #d9b100;
}
