/* ==========================================================
   Trineed Kaigo — sections.css
   追加セクション（数字・判定・比較・業務・用語・コラム）
   ========================================================== */

/* ---------- Numbers ---------- */
.numbers { position: relative; background: var(--navy-950); color: #fff; padding: 44px 0 40px; border-top: 1px solid rgba(201, 161, 74, .35); }
.numbers__title { text-align: center; font-family: var(--font-serif); font-weight: 800; font-size: 19px; letter-spacing: .06em; margin-bottom: 26px; }
.numbers__title span { display: block; font-family: var(--font-sans); font-size: 12px; font-weight: 700; color: var(--gold-light); letter-spacing: .2em; margin-bottom: 4px; }
.numbers__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.num { padding: 16px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.num:last-child { grid-column: 1 / -1; }
.num__val { margin: 0 0 4px; font-weight: 700; color: var(--gold-light); font-size: 15px; }
.num__val b { font-family: var(--font-en); font-weight: 600; font-size: 48px; line-height: 1; color: #fff; margin-right: 4px; }
.num__label { margin: 0; font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, .78); }
.numbers__src { margin: 18px 0 0; font-size: 11.5px; color: rgba(255, 255, 255, .55); text-align: center; }

/* ---------- Checker ---------- */
.checker {
	position: relative; border-radius: var(--radius); padding: 26px 22px; color: #fff;
	background: linear-gradient(150deg, var(--navy-800), var(--navy-700));
	box-shadow: 0 24px 60px rgba(11, 26, 51, .28); scroll-margin-top: calc(var(--header-h) + 16px);
}
.checker__label { font-family: var(--font-serif); font-weight: 800; font-size: 21px; margin-bottom: 6px; }
.checker__tag { display: inline-block; vertical-align: middle; margin-right: 10px; padding: 2px 10px; border-radius: 4px; background: var(--gold); color: var(--navy-950); font-family: var(--font-sans); font-size: 12px; letter-spacing: .08em; }
.checker__help { font-size: 13.5px; color: rgba(255, 255, 255, .75); margin-bottom: 16px; }
.checker__form { display: grid; gap: 10px; }
.checker__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.checker__q { font-weight: 700; font-size: 14.5px; line-height: 1.5; }
.checker__q small { display: block; font-weight: 400; font-size: 11.5px; color: rgba(255, 255, 255, .65); }
.checker__input { display: flex; align-items: center; gap: 6px; flex: none; }
.checker__input input {
	width: 76px; padding: 8px 10px; border-radius: 8px; border: 2px solid transparent; background: #fff; color: var(--navy-900);
	font-family: var(--font-en); font-weight: 600; font-size: 22px; text-align: right;
}
.checker__input input:focus { outline: none; border-color: var(--gold); }
.checker__result { margin-top: 16px; padding: 18px; border-radius: 12px; background: #fff; color: var(--text); min-height: 86px; transition: box-shadow .3s ease; }
.checker__result.is-need { box-shadow: inset 6px 0 0 var(--cta); }
.checker__result.is-ok { box-shadow: inset 6px 0 0 #3c8a5c; }
.checker__verdict { margin: 0; font-weight: 700; font-size: 16px; color: var(--navy-800); }
.checker__result.is-need .checker__verdict { color: var(--cta-dark); }
.checker__detail { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.checker__note { margin: 14px 0 0; font-size: 11.5px; line-height: 1.7; color: rgba(255, 255, 255, .62); }

/* ---------- Compare ---------- */
.compare { background: var(--navy-50); }
.compare__grid { display: grid; gap: 14px; align-items: stretch; }
.compare__col { border-radius: var(--radius); padding: 26px 22px; }
.compare__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.compare__col li { position: relative; padding-left: 30px; font-size: 14.5px; line-height: 1.75; }
.compare__head { font-weight: 700; font-size: 17px; margin-bottom: 16px; padding-bottom: 12px; }
.compare__col--before { background: #fff; border: 1px solid var(--line); color: #4a5568; }
.compare__col--before .compare__head { color: var(--muted); border-bottom: 2px solid var(--line); }
.compare__col--before li::before { content: "×"; position: absolute; left: 4px; top: 0; color: #a0aec0; font-weight: 700; }
.compare__col--after { background: var(--navy-800); color: #fff; box-shadow: var(--shadow); }
.compare__col--after .compare__head { color: var(--gold-light); border-bottom: 2px solid rgba(201, 161, 74, .5); }
.compare__col--after li::before {
	content: "✓"; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--gold); color: var(--navy-950); font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}
.compare__arrow { display: flex; justify-content: center; transform: rotate(90deg); }

/* ---------- Duties ---------- */
.duty-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.duty {
	position: relative; padding: 20px 20px 20px 74px; border-radius: 12px; background: #fff;
	border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(11, 26, 51, .05); overflow: hidden;
}
.duty::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 56px; background: var(--navy-800); }
.duty__no { position: absolute; left: 0; top: 50%; width: 56px; transform: translateY(-50%); text-align: center; font-family: var(--font-en); font-weight: 600; font-size: 24px; color: var(--gold-light); }
.duty__title { font-weight: 700; color: var(--navy-800); font-size: 16px; margin-bottom: 4px; }
.duty__text { font-size: 14px; color: #3b4658; line-height: 1.75; }
.duties__src { margin-top: 18px; font-size: 12.5px; color: var(--muted); }
.duties__cta,
.columns__cta { margin-top: 28px; text-align: center; }

/* ---------- Glossary ---------- */
.glossary { background: var(--navy-50); }
.glossary__list { margin: 0; display: grid; gap: 16px; }
.term { background: #fff; border-radius: var(--radius); border-top: 4px solid var(--navy-700); padding: 24px 22px; box-shadow: var(--shadow); }
.term__name { font-family: var(--font-serif); font-weight: 800; font-size: 21px; color: var(--navy-800); margin-bottom: 10px; }
.term__def { margin: 0; font-size: 14.5px; }
.term__src { margin-top: 10px; font-size: 12px; color: var(--muted); }
.term__src::before { content: "根拠："; font-weight: 700; }
.glossary__note { margin-top: 24px; text-align: center; font-size: 15px; color: var(--navy-800); }
.glossary__note strong { color: var(--cta-dark); }

/* ---------- Columns (tabs)：JSなしでは全テーマを縦に並べる ---------- */
.tabs__list { display: none; }
.tabs__panel + .tabs__panel { margin-top: 26px; }
.tabs__panel-title { font-weight: 700; color: var(--navy-800); margin-bottom: 10px; }
.js .tabs__list { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 18px; padding-bottom: 2px; scrollbar-width: none; }
.js .tabs__btn {
	flex: none; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
	color: var(--navy-700); font: 700 14px/1.4 var(--font-sans); cursor: pointer; transition: background-color .25s ease, color .25s ease;
}
.js .tabs__btn[aria-selected="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.js .tabs__panel[hidden] { display: none; }
.js .tabs__panel + .tabs__panel { margin-top: 0; }
.js .tabs__panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.col-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.col-item a {
	display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; border-radius: 12px; text-decoration: none;
	background: #fff; border: 1px solid var(--line); color: var(--text); transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.col-item a:hover { border-color: var(--navy-600); box-shadow: var(--shadow); transform: translateY(-2px); }
.col-item__cat { align-self: flex-start; font-size: 11.5px; font-weight: 700; color: var(--gold); letter-spacing: .06em; }
.col-item__title { font-weight: 700; font-size: 15px; line-height: 1.7; color: var(--navy-800); }
.col-item__more { margin-top: auto; font-size: 13px; color: var(--cta-dark); font-weight: 700; }

@media (min-width: 768px) {
	.numbers__list { grid-template-columns: repeat(5, 1fr); gap: 14px; }
	.num:last-child { grid-column: auto; }
	.numbers__title { font-size: 22px; }
	.checker { padding: 32px 30px; }
	.compare__grid { grid-template-columns: 1fr 56px 1fr; }
	.compare__arrow { transform: none; align-items: center; }
	.compare__col { padding: 32px 30px; }
	.duty-list { grid-template-columns: 1fr 1fr; }
	.glossary__list { grid-template-columns: repeat(3, 1fr); }
	.col-list { grid-template-columns: 1fr 1fr; }
	.js .tabs__list { justify-content: center; }
}

@media (min-width: 1024px) {
	.duty-list { grid-template-columns: repeat(3, 1fr); gap: 16px; }
	.col-list { grid-template-columns: repeat(4, 1fr); }
	.law__grid { grid-template-columns: 1fr 1.15fr; }
}

@media (prefers-reduced-motion: reduce) {
	.col-item a,
	.js .tabs__btn,
	.checker__result { transition: none; }
}

/* ---------- Hero（クライアント支給の一文 2026-10-30） ---------- */
.hero__sub { font-family: var(--font-serif); font-weight: 700; font-size: clamp(18px, 4.6vw, 24px); letter-spacing: .08em; color: var(--gold-light); margin: -4px 0 14px; }

/* ---------- Message ---------- */
.message { background: var(--navy-50); position: relative; overflow: hidden; }
.message::before {
	content: "\201C"; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
	font-family: var(--font-en); font-size: 220px; line-height: 1; color: rgba(201, 161, 74, .18); pointer-events: none;
}
.message__inner { position: relative; max-width: 820px; }
.message__body { font-family: var(--font-serif); font-weight: 600; font-size: 16.5px; line-height: 2.1; color: var(--navy-900); }
.message__body p { margin: 0 0 1.4em; }
.message__sign { margin-top: 2em !important; text-align: right; font-size: 22px; font-weight: 800; letter-spacing: .12em; }
.message__sign span { display: block; font-family: var(--font-sans); font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .1em; }

/* ---------- Profile（代表の写真・資格者証・数字） ---------- */
.profile__pic { position: relative; z-index: 0; max-width: 380px; margin: 0 auto; }
.profile__pic::after {
	content: ""; position: absolute; inset: -12px 12px 12px -12px; z-index: -1;
	border: 1px solid var(--gold); border-radius: var(--radius);
}
.profile__pic-frame { display: block; position: relative; padding-top: 125%; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.profile__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.profile__cert { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; margin: 0 0 26px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.profile__cert img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 6px 16px rgba(11, 26, 51, .14); }
.profile__cert figcaption { font-size: 14px; font-weight: 700; color: var(--navy-800); line-height: 1.7; }
.profile__cert small { display: block; margin-top: 4px; font-weight: 400; font-size: 11.5px; color: var(--muted); }
.profile__stats { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.profile__stats li { text-align: center; padding: 14px 6px 12px; border-radius: 12px; background: var(--navy-800); color: #fff; }
.profile__stats b { font-family: var(--font-en); font-weight: 600; font-size: 34px; line-height: 1; }
.profile__stats span { font-weight: 700; font-size: 13px; color: var(--gold-light); margin-left: 2px; }
.profile__stats small { display: block; margin-top: 6px; font-size: 11px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.profile__lead { font-weight: 700; color: var(--navy-800); margin-bottom: 26px; }

@media (min-width: 768px) {
	.message__body { font-size: 18px; }
	.profile__stats b { font-size: 44px; }
	.profile__stats small { font-size: 12.5px; }
}
