/* ==========================================================================
   Software Kingdom — About page (/about/)
   --------------------------------------------------------------------------
   Only enqueued on the about page template (see sk-about.php).
   base / header / hero / sections / footer は contact.css と同一（意図的に複製）。
   ========================================================================== */

:root {
	--sk-bg: #F5F3EC;
	--sk-ink: #171717;
	--sk-card: #fff;
	--sk-blue: #365CF5;
	--sk-lime: #E5FF7A;
	--sk-muted: #64645f;
	--sk-line: #dedbd1;
	--sk-danger: #B42318;
	--sk-radius: 18px;
}

/* --- base ---------------------------------------------------------------- */

body.sk-about-page {
	margin: 0;
	background: var(--sk-bg);
	color: var(--sk-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN",
		"Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}

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

.sk-about img { max-width: 100%; height: auto; }
.sk-about a { color: inherit; }

.sk-about h1,
.sk-about h2,
.sk-about h3,
.sk-about p,
.sk-about ul,
.sk-about ol { margin-top: 0; }

/* AFFINGER の見出し装飾を打ち消す（このページ内のみ） */
.sk-about h1,
.sk-about h2,
.sk-about h3 {
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: inherit !important;
}

.sk-wrap {
	width: min(1080px, calc(100% - 40px));
	margin-inline: auto;
}

.sk-about :focus-visible {
	outline: 3px solid var(--sk-blue);
	outline-offset: 3px;
	border-radius: 4px;
}

.sk-sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* --- header -------------------------------------------------------------- */

.sk-site-header {
	height: 82px;
	display: flex;
	align-items: center;
	border-bottom: 1px solid rgba(23, 23, 23, .12);
	background: rgba(245, 243, 236, .96);
}

.sk-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.sk-brand {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	text-decoration: none;
}

.sk-brand svg { display: block; width: auto; height: 62px; }

.sk-nav {
	display: flex;
	align-items: center;
	gap: 24px;
	font-size: 14px;
	font-weight: 700;
}

.sk-nav a { text-decoration: none; position: relative; }

.sk-nav a::after {
	content: "";
	position: absolute;
	left: 0; right: 100%; bottom: -5px;
	height: 2px;
	background: var(--sk-blue);
	transition: right .18s ease;
}

.sk-nav a:hover::after,
.sk-nav a:focus-visible::after,
.sk-nav a[aria-current="page"]::after { right: 0; }

.sk-nav .sk-nav-cta {
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--sk-ink);
	color: #fff;
}

.sk-nav .sk-nav-cta::after { display: none; }

/* --- hero ---------------------------------------------------------------- */

.sk-hero {
	position: relative;
	padding: 84px 0 54px;
	overflow: hidden;
}

.sk-hero::after {
	content: "";
	position: absolute;
	right: -8vw;
	top: 24px;
	width: 34vw;
	height: 34vw;
	max-width: 460px;
	max-height: 460px;
	border: 1px solid rgba(23, 23, 23, .12);
	border-radius: 50%;
	pointer-events: none;
}

.sk-kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.sk-kicker::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--sk-lime);
	box-shadow: 0 0 0 4px var(--sk-ink);
}

.sk-hero h1 {
	position: relative;
	z-index: 1;
	max-width: 760px;
	margin-bottom: 22px;
	font-size: clamp(40px, 5.4vw, 64px);
	/* 1.1 だと Latin のディセンダー（g など）と 2 行目の日本語の字面がほぼ接する */
	line-height: 1.22;
	letter-spacing: -.04em;
	font-weight: 900;
}

.sk-lead {
	position: relative;
	z-index: 1;
	max-width: 680px;
	margin-bottom: 12px;
	font-size: clamp(17px, 1.9vw, 21px);
	line-height: 1.72;
	font-weight: 700;
}

.sk-intro {
	position: relative;
	z-index: 1;
	max-width: 660px;
	margin-bottom: 0;
	color: var(--sk-muted);
	font-size: 15px;
}

/* --- sections ------------------------------------------------------------ */

.sk-section { padding: 62px 0; }
.sk-section--white { background: #fff; }
.sk-section--tight { padding-top: 0; }

.sk-eyebrow {
	margin-bottom: 9px;
	color: var(--sk-blue);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.sk-section h2 {
	margin-bottom: 14px;
	font-size: clamp(24px, 2.9vw, 34px);
	line-height: 1.28;
	letter-spacing: -.03em;
	font-weight: 900;
}

.sk-section-lead {
	max-width: 720px;
	margin-bottom: 26px;
	color: var(--sk-muted);
	font-size: 15px;
}

.sk-narrow { max-width: 760px; }

.sk-narrow p { margin-bottom: 18px; }
.sk-narrow p:last-child { margin-bottom: 0; }

.sk-narrow a {
	color: var(--sk-blue);
	font-weight: 700;
	text-underline-offset: 3px;
}

/* --- related links ------------------------------------------------------- */

.sk-links {
	display: grid;
	/* 4 枚（About 追加後）で 2×2 になるよう 2 列。3 列だと最後の 1 枚だけ余る */
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 8px;
}

.sk-link-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	min-height: 84px;
	padding: 20px 22px;
	border: 1px solid var(--sk-line);
	border-radius: 16px;
	background: var(--sk-card);
	text-decoration: none;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.5;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.sk-link-card:hover,
.sk-link-card:focus-visible {
	transform: translateY(-3px);
	border-color: var(--sk-ink);
	box-shadow: 0 12px 26px rgba(23, 23, 23, .10);
}

.sk-link-arrow {
	flex: 0 0 auto;
	color: var(--sk-blue);
	font-size: 18px;
	font-weight: 900;
}

/* --- footer -------------------------------------------------------------- */

.sk-footer {
	padding: 54px 0 32px;
	background: var(--sk-ink);
	color: #fff;
}

.sk-footer-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
	padding-bottom: 36px;
	border-bottom: 1px solid #383838;
}

.sk-footer-logo {
	display: grid;
	width: 190px;
	height: 78px;
	place-items: center;
	padding: 12px 14px;
	border-radius: 10px;
	background: #fff;
	text-decoration: none;
}

.sk-footer-logo svg { width: 100%; height: auto; display: block; }

.sk-footer-brand p {
	max-width: 430px;
	margin: 18px 0 0;
	color: #aaa;
	font-size: 13px;
}

.sk-footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 12px 22px;
	max-width: 500px;
}

.sk-footer-links a {
	color: #ddd;
	font-size: 13px;
	text-decoration: none;
}

.sk-footer-links a:hover,
.sk-footer-links a:focus-visible { color: var(--sk-lime); }

.sk-footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-top: 24px;
	color: #8f8f8f;
	font-size: 12px;
}

/* --- responsive ---------------------------------------------------------- */

@media (max-width: 900px) {
	.sk-nav a:not(.sk-nav-cta) { display: none; }
	.sk-hero { padding: 62px 0 42px; }
	.sk-section { padding: 52px 0; }
	.sk-links { grid-template-columns: 1fr; }
	.sk-footer-top { flex-direction: column; }
	.sk-footer-links { justify-content: flex-start; }
}

@media (max-width: 640px) {
	.sk-wrap { width: min(100% - 28px, 1080px); }
	.sk-site-header { height: 70px; }
	.sk-brand svg { height: 50px; }
	.sk-footer-logo { width: 168px; height: 70px; }
	.sk-nav .sk-nav-cta { padding: 8px 12px; font-size: 12px; }
	.sk-hero h1 { font-size: 38px; }
	.sk-list li { align-items: flex-start; padding: 16px; }
	.sk-footer-links { display: grid; grid-template-columns: 1fr 1fr; }
	.sk-footer-bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 360px) {
	.sk-brand svg { height: 44px; }
	.sk-hero h1 { font-size: 32px; }
	.sk-footer-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.sk-about *,
	.sk-about *::before,
	.sk-about *::after {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
}

/* --- about: layout reset ------------------------------------------------- */

/* AFFINGER は section に margin-bottom:48px を当てる。背景色が同じ帯では見えないが、
   黒い CTA と黒いフッターの間だけ紙色の隙間として出るため、余白は padding 側で持つ。 */
main.sk-about > section { margin-bottom: 0; }

/* --- about: buttons ------------------------------------------------------ */

.sk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 12px 26px;
	border: 2px solid var(--sk-ink);
	border-radius: 12px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.sk-about .sk-btn-primary {
	background: var(--sk-blue);
	border-color: var(--sk-blue);
	color: #fff;
	box-shadow: 5px 5px 0 var(--sk-ink);
}

.sk-btn-primary:hover {
	transform: translate(-2px, -2px);
	box-shadow: 7px 7px 0 var(--sk-ink);
}

.sk-btn-primary:active {
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 var(--sk-ink);
}

/* --- about: hero --------------------------------------------------------- */

.sk-needs {
	display: grid;
	gap: 8px;
	max-width: 660px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.sk-needs li {
	padding: 12px 18px;
	border-left: 3px solid var(--sk-lime);
	border-radius: 0 10px 10px 0;
	background: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.7;
}

.sk-hero-close {
	max-width: 660px;
	margin: 22px 0 0;
	color: var(--sk-muted);
	font-size: 15px;
	line-height: 1.85;
}

/* --- about: two column capability cards ---------------------------------- */

.sk-two-col {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	align-items: start;
}

.sk-cap-card {
	padding: 34px 34px 36px;
	border: 1px solid var(--sk-line);
	border-radius: 22px;
	background: var(--sk-card);
}

.sk-cap-num {
	margin: 0 0 10px;
	color: var(--sk-blue);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .14em;
}

.sk-cap-card h3 {
	margin: 0 0 16px;
	font-size: 22px;
	line-height: 1.4;
	letter-spacing: -.02em;
	font-weight: 900;
}

.sk-cap-card p {
	margin-bottom: 14px;
	font-size: 15px;
	line-height: 1.85;
}

.sk-tool-list {
	display: grid;
	gap: 10px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.sk-tool-list li {
	padding: 12px 16px;
	border: 1px solid var(--sk-line);
	border-radius: 12px;
	background: #fff;
	font-size: 14px;
	line-height: 1.7;
}

.sk-tool-list strong { font-weight: 900; }

.sk-cap-action { margin: 26px 0 0; }

/* --- about: profile card ------------------------------------------------- */

.sk-profile {
	padding: 36px 40px 40px;
	border: 1px solid var(--sk-line);
	border-radius: 24px;
	background: var(--sk-card);
}

.sk-profile-head {
	display: flex;
	align-items: center;
	gap: 20px;
	padding-bottom: 26px;
	border-bottom: 1px solid var(--sk-line);
}

.sk-avatar {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	border-radius: 22px;
	background: var(--sk-ink);
	color: var(--sk-lime);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 44px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -.02em;
}

.sk-avatar-dot { color: #fff; }

.sk-profile-name {
	margin: 0;
	font-size: 24px;
	font-weight: 900;
	letter-spacing: -.02em;
}

.sk-profile-role {
	margin: 6px 0 0;
	color: var(--sk-muted);
	font-size: 13px;
	font-weight: 700;
}

.sk-profile-body {
	max-width: 780px;
	padding-top: 28px;
}

.sk-profile-body h3 {
	margin: 0 0 18px;
	font-size: 20px;
	letter-spacing: -.02em;
}

.sk-profile-body p {
	margin-bottom: 16px;
	font-size: 15px;
	line-height: 1.95;
}

.sk-profile-emphasis {
	padding: 18px 20px;
	border-left: 4px solid var(--sk-blue);
	border-radius: 0 12px 12px 0;
	background: #eef1ff;
	font-weight: 800;
}

.sk-sign {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 28px 0 0;
	padding-top: 22px;
	border-top: 1px solid var(--sk-line);
}

.sk-sign strong { font-size: 18px; }

.sk-sign span {
	color: var(--sk-muted);
	font-size: 12px;
	font-weight: 700;
}

/* --- about: dark testing panel ------------------------------------------- */

.sk-dark-panel {
	padding: 48px 48px 44px;
	border-radius: 28px;
	background: var(--sk-ink);
	color: #fff;
}

.sk-eyebrow--light { color: var(--sk-lime); }

.sk-dark-panel h2 {
	margin-bottom: 16px;
	color: #fff;
}

.sk-dark-lead {
	max-width: 780px;
	margin-bottom: 34px;
	color: #c9c9c4;
	font-size: 15px;
	line-height: 1.9;
}

.sk-dark-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	align-items: start;
}

.sk-dark-block {
	padding: 26px 26px 28px;
	border-radius: 18px;
	background: #242422;
}

.sk-about .sk-dark-block h3 {
	margin: 0 0 14px;
	color: var(--sk-lime) !important;
	font-size: 18px;
	line-height: 1.5;
	letter-spacing: -.01em;
}

.sk-dark-block p {
	margin-bottom: 12px;
	color: #d6d6d1;
	font-size: 14px;
	line-height: 1.9;
}

.sk-dark-block p:last-child { margin-bottom: 0; }

.sk-dark-note {
	margin: 26px 0 0;
	padding-top: 22px;
	border-top: 1px solid #3a3a37;
	color: #9b9b95;
	font-size: 12px;
	line-height: 1.85;
}

/* --- about: editorial principles ----------------------------------------- */

.sk-principles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 8px;
	align-items: stretch;
}

.sk-principle {
	padding: 28px 26px 30px;
	border: 1px solid var(--sk-line);
	border-radius: 18px;
	background: var(--sk-bg);
}

.sk-principle-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0 0 14px;
	border-radius: 10px;
	background: var(--sk-lime);
	color: var(--sk-ink);
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
}

.sk-principle h3 {
	margin: 0 0 12px;
	font-size: 17px;
	line-height: 1.55;
	letter-spacing: -.01em;
}

.sk-principle p {
	margin-bottom: 10px;
	color: var(--sk-muted);
	font-size: 14px;
	line-height: 1.85;
}

.sk-principle p:last-child { margin-bottom: 0; }

.sk-principle a,
.sk-narrow a {
	color: var(--sk-blue);
	font-weight: 700;
	text-underline-offset: 3px;
}

/* --- about: operator info table ------------------------------------------ */

.sk-info-table {
	width: 100%;
	margin-top: 8px;
	border-collapse: collapse;
	border-top: 2px solid var(--sk-ink);
}

.sk-info-table th,
.sk-info-table td {
	padding: 18px 20px;
	border-bottom: 1px solid var(--sk-line);
	text-align: left;
	vertical-align: top;
	font-size: 15px;
	line-height: 1.75;
}

.sk-info-table th {
	width: 200px;
	background: var(--sk-bg);
	font-weight: 800;
	white-space: nowrap;
}

.sk-info-table a {
	color: var(--sk-blue);
	font-weight: 700;
	text-underline-offset: 3px;
	word-break: break-all;
}

/* --- about: contact CTA -------------------------------------------------- */

.sk-cta {
	padding: 72px 0 64px;
	background: var(--sk-ink);
	color: #fff;
}

.sk-cta h2 {
	margin-bottom: 16px;
	color: #fff;
}

.sk-cta p {
	max-width: 760px;
	margin-bottom: 14px;
	color: #c9c9c4;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.9;
}

.sk-cta-action { margin: 28px 0 0; }

.sk-about .sk-btn-lime {
	background: var(--sk-lime);
	border-color: var(--sk-lime);
	color: var(--sk-ink);
	box-shadow: 5px 5px 0 #fff;
}

.sk-btn-lime:hover {
	transform: translate(-2px, -2px);
	box-shadow: 7px 7px 0 #fff;
}

.sk-btn-lime:active {
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 #fff;
}

.sk-cta-related {
	margin-top: 48px;
	padding-top: 26px;
	border-top: 1px solid #383838;
}

.sk-cta-related-label {
	margin: 0 0 12px;
	color: #8f8f8f;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .1em;
}

.sk-cta-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 26px;
}

.sk-cta-links a {
	color: #ddd;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.sk-cta-links a:hover,
.sk-cta-links a:focus-visible { color: var(--sk-lime); }

/* --- about: responsive --------------------------------------------------- */

@media (max-width: 900px) {
	.sk-two-col,
	.sk-dark-grid,
	.sk-principles { grid-template-columns: 1fr; }
	.sk-dark-panel { padding: 34px 26px 30px; border-radius: 22px; }
	.sk-profile { padding: 28px 24px 30px; }
	.sk-info-table th { width: 150px; white-space: normal; }
}

@media (max-width: 640px) {
	.sk-avatar { width: 72px; height: 72px; border-radius: 18px; font-size: 34px; }
	.sk-profile-head { gap: 16px; }
	.sk-profile-name { font-size: 20px; }
	.sk-cap-card { padding: 26px 22px 28px; border-radius: 18px; }
	.sk-cap-card h3 { font-size: 19px; }
	.sk-info-table,
	.sk-info-table tbody,
	.sk-info-table tr,
	.sk-info-table th,
	.sk-info-table td { display: block; width: 100%; }
	.sk-info-table th { padding-bottom: 4px; border-bottom: 0; background: transparent; }
	.sk-info-table td { padding-top: 0; padding-bottom: 18px; }
	.sk-cta { padding: 56px 0 48px; }
	.sk-cta-action .sk-btn { width: 100%; }
	/* タップ領域を 44px 以上に：行間を padding で持たせ、gap を詰める */
	.sk-cta-links { flex-direction: column; gap: 0; }
	.sk-cta-links a { display: block; padding: 12px 0; }
	.sk-footer-links { gap: 0 22px; }
	.sk-footer-links a { display: block; padding: 11px 0; }
}
