/*
Theme Name: ITDev Corporate
Theme URI: https://example.com/
Author: ITDev
Description: システム開発・受託開発会社向けのコーポレートサイトテーマ。トップページ・サービス紹介・会社概要・実績（カスタム投稿）・お問い合わせフォームを標準搭載しています。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: itdev
Tags: business, portfolio, custom-colors, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ============================================================
   1. Design tokens
   ============================================================ */

:root {
	--c-bg: #ffffff;
	--c-bg-alt: #f4f7fb;
	--c-bg-deep: #0b1b33;
	--c-ink: #0f1c2e;
	--c-ink-sub: #5b6b80;
	--c-ink-mute: #8b9ab0;
	--c-line: #e2e8f0;
	--c-brand: #1a56db;
	--c-brand-dark: #1441ab;
	--c-accent: #06b6d4;
	--c-danger: #d93838;

	--font-sans: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	--font-en: "Segoe UI", "Helvetica Neue", Arial, sans-serif;

	--w-max: 1120px;
	--w-narrow: 760px;
	--radius: 12px;
	--radius-lg: 20px;
	--shadow-sm: 0 1px 2px rgba(15, 28, 46, .06), 0 2px 8px rgba(15, 28, 46, .04);
	--shadow-md: 0 4px 12px rgba(15, 28, 46, .08), 0 12px 32px rgba(15, 28, 46, .06);
	--shadow-lg: 0 12px 32px rgba(15, 28, 46, .12), 0 32px 64px rgba(15, 28, 46, .08);
	--header-h: 72px;
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* ============================================================
   2. Base
   ============================================================ */

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.9;
	color: var(--c-ink);
	background: var(--c-bg);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--c-brand);
	text-decoration: none;
	transition: color .2s var(--ease), opacity .2s var(--ease);
}

a:hover {
	color: var(--c-brand-dark);
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	line-height: 1.45;
	font-weight: 700;
	letter-spacing: .01em;
}

p {
	margin: 0 0 1.4em;
}

p:last-child {
	margin-bottom: 0;
}

ul, ol {
	margin: 0 0 1.4em;
	padding-left: 1.4em;
}

figure {
	margin: 0;
}

:focus-visible {
	outline: 3px solid var(--c-accent);
	outline-offset: 2px;
}

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

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 999;
	padding: 12px 20px;
	background: var(--c-brand);
	color: #fff;
	border-radius: 0 0 8px 8px;
	transition: top .2s var(--ease);
}

.skip-link:focus {
	top: 0;
	color: #fff;
}

/* ============================================================
   3. Layout helpers
   ============================================================ */

.container {
	width: min(100% - 40px, var(--w-max));
	margin-inline: auto;
}

.container--narrow {
	width: min(100% - 40px, var(--w-narrow));
}

.section {
	padding: 96px 0;
}

.section--alt {
	background: var(--c-bg-alt);
}

.section--deep {
	background: var(--c-bg-deep);
	color: #fff;
}

.section--tight {
	padding: 64px 0;
}

.stack > * + * {
	margin-top: var(--flow, 24px);
}

/* ============================================================
   4. Typography blocks
   ============================================================ */

.eyebrow {
	display: inline-block;
	margin-bottom: 12px;
	font-family: var(--font-en);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--c-brand);
}

.section--deep .eyebrow {
	color: var(--c-accent);
}

.section-head {
	max-width: 680px;
	margin-bottom: 56px;
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
}

.section-title {
	font-size: clamp(26px, 4vw, 36px);
	letter-spacing: .02em;
}

.section-lead {
	margin-top: 16px;
	color: var(--c-ink-sub);
	font-size: 16px;
}

.section--deep .section-lead {
	color: rgba(255, 255, 255, .74);
}

/* ============================================================
   5. Buttons
   ============================================================ */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .04em;
	text-align: center;
	cursor: pointer;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}

.btn:hover {
	transform: translateY(-2px);
}

.btn--primary {
	background: var(--c-brand);
	color: #fff;
	box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
	background: var(--c-brand-dark);
	color: #fff;
	box-shadow: var(--shadow-md);
}

.btn--ghost {
	background: transparent;
	border-color: var(--c-line);
	color: var(--c-ink);
}

.btn--ghost:hover {
	border-color: var(--c-brand);
	color: var(--c-brand);
}

.section--deep .btn--ghost {
	border-color: rgba(255, 255, 255, .32);
	color: #fff;
}

.section--deep .btn--ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, .08);
	color: #fff;
}

.btn--light {
	background: #fff;
	color: var(--c-bg-deep);
}

.btn--light:hover {
	color: var(--c-brand);
}

.btn--lg {
	padding: 17px 40px;
	font-size: 16px;
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.btn-row--center {
	justify-content: center;
}

/* ============================================================
   6. Header
   ============================================================ */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .88);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.site-header.is-stuck {
	border-bottom-color: var(--c-line);
	box-shadow: var(--shadow-sm);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: var(--header-h);
}

.site-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.site-brand__mark {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: linear-gradient(135deg, var(--c-brand), var(--c-accent));
	color: #fff;
	font-family: var(--font-en);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0;
}

.site-brand__text {
	min-width: 0;
}

.site-brand__name {
	display: block;
	font-size: 17px;
	font-weight: 700;
	color: var(--c-ink);
	letter-spacing: .02em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.site-brand__tagline {
	display: block;
	font-size: 11px;
	color: var(--c-ink-mute);
	letter-spacing: .06em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.site-brand__logo img {
	max-height: 40px;
	width: auto;
}

.header-nav {
	margin-left: auto;
}

.header-nav ul {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.header-nav a {
	position: relative;
	display: block;
	padding: 4px 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--c-ink);
	letter-spacing: .04em;
}

.header-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 2px;
	background: var(--c-brand);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .28s var(--ease);
}

.header-nav a:hover::after,
.header-nav .current-menu-item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.header-nav .current-menu-item > a {
	color: var(--c-brand);
}

.header-cta {
	flex-shrink: 0;
	padding: 11px 22px;
	font-size: 14px;
}

.nav-toggle {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.nav-toggle span {
	position: absolute;
	left: 11px;
	width: 22px;
	height: 2px;
	background: var(--c-ink);
	border-radius: 2px;
	transition: transform .3s var(--ease), opacity .2s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* ============================================================
   7. Hero
   ============================================================ */

.hero {
	position: relative;
	padding: 104px 0 96px;
	background: linear-gradient(165deg, #0b1b33 0%, #12305c 52%, #0d2647 100%);
	color: #fff;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse 90% 70% at 70% 30%, #000 20%, transparent 78%);
	-webkit-mask-image: radial-gradient(ellipse 90% 70% at 70% 30%, #000 20%, transparent 78%);
	pointer-events: none;
}

.hero::after {
	content: "";
	position: absolute;
	top: -180px;
	right: -140px;
	width: 620px;
	height: 620px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(6, 182, 212, .28), transparent 68%);
	filter: blur(20px);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	z-index: 1;
	max-width: 720px;
}

.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
	padding: 7px 16px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 999px;
	background: rgba(255, 255, 255, .06);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .08em;
	color: rgba(255, 255, 255, .9);
}

.hero__badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--c-accent);
	box-shadow: 0 0 0 4px rgba(6, 182, 212, .22);
}

.hero__title {
	font-size: clamp(30px, 5.2vw, 52px);
	line-height: 1.34;
	letter-spacing: .01em;
}

.hero__title em {
	font-style: normal;
	background: linear-gradient(100deg, #38bdf8, #06b6d4);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero__lead {
	max-width: 560px;
	margin: 24px 0 36px;
	font-size: 17px;
	line-height: 2;
	color: rgba(255, 255, 255, .8);
}

.hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 48px;
	margin-top: 56px;
	padding-top: 36px;
	border-top: 1px solid rgba(255, 255, 255, .14);
}

.hero__stat-num {
	display: block;
	font-family: var(--font-en);
	font-size: 32px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .01em;
}

.hero__stat-num span {
	font-size: 16px;
	font-weight: 700;
	margin-left: 3px;
	color: var(--c-accent);
}

.hero__stat-label {
	font-size: 12.5px;
	letter-spacing: .08em;
	color: rgba(255, 255, 255, .62);
}

/* ============================================================
   8. Cards / grids
   ============================================================ */

.grid {
	display: grid;
	gap: 24px;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
	padding: 36px 32px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-lg);
	background: var(--c-bg);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.card:hover {
	transform: translateY(-4px);
	border-color: transparent;
	box-shadow: var(--shadow-md);
}

.card__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 22px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(26, 86, 219, .1), rgba(6, 182, 212, .12));
	color: var(--c-brand);
}

.card__icon svg {
	width: 26px;
	height: 26px;
	stroke: currentColor;
	stroke-width: 1.7;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.card__title {
	margin-bottom: 12px;
	font-size: 19px;
}

.card__text {
	color: var(--c-ink-sub);
	font-size: 14.5px;
	line-height: 1.95;
}

/* Service card variant */
.service-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.service-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: auto;
	padding-top: 22px;
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}

.service-card__tags li {
	padding: 4px 10px;
	border-radius: 6px;
	background: var(--c-bg-alt);
	font-family: var(--font-en);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--c-ink-sub);
}

/* ============================================================
   9. Process steps
   ============================================================ */

.steps {
	counter-reset: step;
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	grid-template-columns: repeat(5, 1fr);
}

.step {
	position: relative;
	counter-increment: step;
	padding: 0 16px;
	text-align: center;
}

.step::before {
	content: counter(step, decimal-leading-zero);
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 20px;
	border: 1px solid var(--c-line);
	border-radius: 50%;
	background: var(--c-bg);
	font-family: var(--font-en);
	font-size: 15px;
	font-weight: 800;
	color: var(--c-brand);
	position: relative;
	z-index: 1;
}

.step::after {
	content: "";
	position: absolute;
	top: 28px;
	left: calc(-50% + 28px);
	width: calc(100% - 56px);
	height: 1px;
	background: var(--c-line);
}

.step:first-child::after {
	display: none;
}

.step__title {
	margin-bottom: 8px;
	font-size: 16px;
}

.step__text {
	font-size: 13.5px;
	line-height: 1.85;
	color: var(--c-ink-sub);
}

/* ============================================================
   10. Works (実績)
   ============================================================ */

.works-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.work-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-lg);
	background: var(--c-bg);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.work-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.work-card__thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, #e8eef8, #dce7f5);
}

.work-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--ease);
}

.work-card:hover .work-card__thumb img {
	transform: scale(1.05);
}

.work-card__thumb--empty {
	display: grid;
	place-items: center;
	color: var(--c-ink-mute);
	font-family: var(--font-en);
	font-size: 13px;
	letter-spacing: .1em;
}

.work-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 24px 24px 26px;
}

.work-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.chip {
	padding: 4px 11px;
	border-radius: 999px;
	background: rgba(26, 86, 219, .08);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--c-brand);
}

.work-card__title {
	margin-bottom: 10px;
	font-size: 17.5px;
	line-height: 1.6;
}

.work-card__title a {
	color: var(--c-ink);
}

.work-card__title a:hover {
	color: var(--c-brand);
}

.work-card__excerpt {
	margin-bottom: 18px;
	font-size: 14px;
	line-height: 1.9;
	color: var(--c-ink-sub);
}

.work-card__more {
	margin-top: auto;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: .04em;
}

.work-card__more::after {
	content: " →";
}

/* Works detail */
.work-spec {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 1px;
	margin: 0 0 48px;
	padding: 1px;
	border-radius: var(--radius);
	background: var(--c-line);
	overflow: hidden;
}

.work-spec > div {
	padding: 20px 22px;
	background: var(--c-bg-alt);
}

.work-spec dt {
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	color: var(--c-ink-mute);
}

.work-spec dd {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
}

/* ============================================================
   11. Tech stack
   ============================================================ */

.stack-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1px;
	padding: 1px;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, .1);
	overflow: hidden;
}

.stack-cell {
	padding: 26px 20px;
	background: var(--c-bg-deep);
	text-align: center;
}

.stack-cell__label {
	margin-bottom: 10px;
	font-family: var(--font-en);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--c-accent);
}

.stack-cell__items {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13.5px;
	line-height: 2;
	color: rgba(255, 255, 255, .78);
}

/* ============================================================
   12. Company table
   ============================================================ */

.info-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.info-table th,
.info-table td {
	padding: 20px 8px;
	border-bottom: 1px solid var(--c-line);
	text-align: left;
	vertical-align: top;
}

.info-table th {
	width: 190px;
	font-weight: 700;
	color: var(--c-ink-sub);
	letter-spacing: .04em;
}

.timeline {
	margin: 0;
	padding: 0;
	list-style: none;
}

.timeline li {
	position: relative;
	padding: 0 0 32px 32px;
	border-left: 1px solid var(--c-line);
}

.timeline li:last-child {
	padding-bottom: 0;
	border-left-color: transparent;
}

.timeline li::before {
	content: "";
	position: absolute;
	top: 9px;
	left: -5px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--c-brand);
}

.timeline__year {
	display: block;
	font-family: var(--font-en);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .1em;
	color: var(--c-brand);
}

/* ============================================================
   13. Contact form
   ============================================================ */

.form-notice {
	margin-bottom: 32px;
	padding: 18px 22px;
	border-radius: var(--radius);
	border: 1px solid;
	font-size: 14.5px;
}

.form-notice--ok {
	border-color: rgba(22, 163, 74, .3);
	background: rgba(22, 163, 74, .07);
	color: #15803d;
}

.form-notice--ng {
	border-color: rgba(217, 56, 56, .3);
	background: rgba(217, 56, 56, .06);
	color: var(--c-danger);
}

.form-notice ul {
	margin: 8px 0 0;
	padding-left: 1.2em;
}

.form-field {
	margin-bottom: 26px;
}

.form-label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
}

.form-label .req,
.form-label .opt {
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .06em;
}

.form-label .req {
	background: rgba(217, 56, 56, .1);
	color: var(--c-danger);
}

.form-label .opt {
	background: var(--c-bg-alt);
	color: var(--c-ink-mute);
}

.form-input,
.form-textarea,
.form-select {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--c-line);
	border-radius: 10px;
	background: var(--c-bg);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.7;
	color: var(--c-ink);
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
	outline: none;
	border-color: var(--c-brand);
	box-shadow: 0 0 0 3px rgba(26, 86, 219, .12);
}

.form-textarea {
	min-height: 180px;
	resize: vertical;
}

.form-select {
	appearance: none;
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b80' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
	padding-right: 42px;
}

.form-hint {
	margin: 8px 0 0;
	font-size: 12.5px;
	color: var(--c-ink-mute);
}

.form-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 28px;
	padding: 18px 20px;
	border-radius: var(--radius);
	background: var(--c-bg-alt);
	font-size: 14px;
	line-height: 1.8;
	cursor: pointer;
}

.form-consent input {
	margin-top: 5px;
	width: 17px;
	height: 17px;
	flex-shrink: 0;
	accent-color: var(--c-brand);
}

.form-hp {
	position: absolute !important;
	left: -9999px;
	opacity: 0;
}

.contact-aside {
	padding: 32px;
	border-radius: var(--radius-lg);
	background: var(--c-bg-alt);
}

.contact-aside__item + .contact-aside__item {
	margin-top: 26px;
	padding-top: 26px;
	border-top: 1px solid var(--c-line);
}

.contact-aside__label {
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	color: var(--c-ink-mute);
}

.contact-aside__value {
	font-size: 19px;
	font-weight: 700;
	letter-spacing: .02em;
}

.contact-aside__note {
	margin: 4px 0 0;
	font-size: 12.5px;
	color: var(--c-ink-sub);
}

/* ============================================================
   14. CTA band
   ============================================================ */

.cta-band {
	position: relative;
	padding: 80px 0;
	background: linear-gradient(120deg, var(--c-brand) 0%, #2563eb 48%, var(--c-accent) 130%);
	color: #fff;
	overflow: hidden;
	text-align: center;
}

.cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .18), transparent 42%);
	pointer-events: none;
}

.cta-band__inner {
	position: relative;
	z-index: 1;
}

.cta-band__title {
	font-size: clamp(24px, 3.6vw, 34px);
}

.cta-band__lead {
	max-width: 620px;
	margin: 18px auto 32px;
	color: rgba(255, 255, 255, .88);
	font-size: 15.5px;
}

/* ============================================================
   15. Page header (下層ページ共通)
   ============================================================ */

.page-hero {
	position: relative;
	padding: 72px 0 64px;
	background: linear-gradient(150deg, #0b1b33, #16345f);
	color: #fff;
	overflow: hidden;
}

.page-hero::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -10%;
	width: 460px;
	height: 460px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(6, 182, 212, .22), transparent 68%);
	pointer-events: none;
}

.page-hero__inner {
	position: relative;
	z-index: 1;
}

.page-hero__title {
	font-size: clamp(26px, 4.4vw, 40px);
}

.page-hero__en {
	display: block;
	margin-top: 10px;
	font-family: var(--font-en);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--c-accent);
}

.page-hero__lead {
	max-width: 640px;
	margin: 20px 0 0;
	font-size: 15.5px;
	line-height: 2;
	color: rgba(255, 255, 255, .78);
}

.breadcrumb {
	padding: 16px 0;
	border-bottom: 1px solid var(--c-line);
	font-size: 12.5px;
	color: var(--c-ink-mute);
}

.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.breadcrumb li:not(:last-child)::after {
	content: "/";
	margin-left: 8px;
	color: var(--c-line);
}

/* ============================================================
   16. Article / editor content
   ============================================================ */

.entry-content {
	font-size: 16px;
	line-height: 2;
}

.entry-content > * + * {
	margin-top: 1.6em;
}

.entry-content h2 {
	margin-top: 2.4em;
	padding-bottom: .5em;
	border-bottom: 2px solid var(--c-line);
	font-size: 25px;
}

.entry-content h3 {
	margin-top: 2em;
	padding-left: 14px;
	border-left: 4px solid var(--c-brand);
	font-size: 20px;
}

.entry-content h4 {
	margin-top: 1.8em;
	font-size: 17px;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.6em;
}

.entry-content li + li {
	margin-top: .5em;
}

.entry-content blockquote {
	margin: 0;
	padding: 20px 26px;
	border-left: 3px solid var(--c-brand);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: var(--c-bg-alt);
	color: var(--c-ink-sub);
}

.entry-content code {
	padding: 3px 7px;
	border-radius: 5px;
	background: var(--c-bg-alt);
	font-family: "SFMono-Regular", Consolas, monospace;
	font-size: .88em;
}

.entry-content pre {
	padding: 22px;
	border-radius: var(--radius);
	background: var(--c-bg-deep);
	color: #e2e8f0;
	overflow-x: auto;
	font-size: 13.5px;
	line-height: 1.8;
}

.entry-content pre code {
	padding: 0;
	background: transparent;
	color: inherit;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
}

.entry-content th,
.entry-content td {
	padding: 12px 14px;
	border: 1px solid var(--c-line);
}

.entry-content th {
	background: var(--c-bg-alt);
}

.entry-content img,
.wp-block-image img {
	border-radius: var(--radius);
}

.alignwide {
	width: min(100vw - 40px, 1180px);
	margin-inline: calc(50% - min(50vw - 20px, 590px));
}

.alignfull {
	width: 100vw;
	margin-inline: calc(50% - 50vw);
	max-width: none;
}

.alignleft {
	float: left;
	margin: 0 1.6em 1.2em 0;
}

.alignright {
	float: right;
	margin: 0 0 1.2em 1.6em;
}

.aligncenter {
	margin-inline: auto;
	display: block;
}

.wp-caption-text,
.wp-element-caption {
	margin-top: 10px;
	font-size: 12.5px;
	color: var(--c-ink-mute);
	text-align: center;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: 18px;
	font-size: 13px;
	color: rgba(255, 255, 255, .7);
}

/* ============================================================
   17. Post list / pagination
   ============================================================ */

.post-list {
	display: grid;
	gap: 4px;
}

.post-item {
	display: grid;
	grid-template-columns: 108px 1fr;
	gap: 24px;
	align-items: start;
	padding: 28px 8px;
	border-bottom: 1px solid var(--c-line);
	transition: background-color .2s var(--ease);
}

.post-item:hover {
	background: var(--c-bg-alt);
}

.post-item__date {
	font-family: var(--font-en);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	color: var(--c-ink-mute);
	padding-top: 3px;
}

.post-item__title {
	font-size: 17px;
	line-height: 1.7;
}

.post-item__title a {
	color: var(--c-ink);
}

.post-item__title a:hover {
	color: var(--c-brand);
}

.post-item__excerpt {
	margin: 8px 0 0;
	font-size: 14px;
	color: var(--c-ink-sub);
}

.pagination {
	margin-top: 56px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--c-line);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--c-ink);
}

.pagination .page-numbers:hover {
	border-color: var(--c-brand);
	color: var(--c-brand);
}

.pagination .page-numbers.current {
	border-color: var(--c-brand);
	background: var(--c-brand);
	color: #fff;
}

.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 64px;
	padding-top: 40px;
	border-top: 1px solid var(--c-line);
}

.post-nav a {
	display: block;
	padding: 20px 22px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	font-size: 14.5px;
	font-weight: 700;
	color: var(--c-ink);
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.post-nav a:hover {
	border-color: var(--c-brand);
	box-shadow: var(--shadow-sm);
}

.post-nav__label {
	display: block;
	margin-bottom: 6px;
	font-family: var(--font-en);
	font-size: 11px;
	letter-spacing: .12em;
	color: var(--c-ink-mute);
}

.post-nav__next {
	text-align: right;
}

/* ============================================================
   18. Footer
   ============================================================ */

.site-footer {
	padding: 72px 0 0;
	background: var(--c-bg-deep);
	color: rgba(255, 255, 255, .7);
	font-size: 14px;
}

.footer-top {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 48px;
	padding-bottom: 56px;
}

.footer-brand__name {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
}

.footer-brand__text {
	max-width: 340px;
	font-size: 13.5px;
	line-height: 2;
	color: rgba(255, 255, 255, .6);
}

.footer-col__title {
	margin-bottom: 18px;
	font-family: var(--font-en);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--c-accent);
}

.footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-col li + li {
	margin-top: 12px;
}

.footer-col a {
	color: rgba(255, 255, 255, .7);
	font-size: 13.5px;
}

.footer-col a:hover {
	color: #fff;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 24px 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 12.5px;
	color: rgba(255, 255, 255, .5);
}

.footer-bottom a {
	color: rgba(255, 255, 255, .5);
}

.footer-bottom a:hover {
	color: #fff;
}

/* ============================================================
   19. Reveal animation
   ============================================================ */

.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ============================================================
   20. Responsive
   ============================================================ */

@media (max-width: 1024px) {
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.works-grid { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
	.step:nth-child(4)::after { display: none; }
	.footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
	.section { padding: 72px 0; }

	.nav-toggle { display: block; }

	.header-nav {
		position: fixed;
		inset: var(--header-h) 0 auto;
		max-height: calc(100dvh - var(--header-h));
		overflow-y: auto;
		padding: 8px 20px 28px;
		background: var(--c-bg);
		border-bottom: 1px solid var(--c-line);
		box-shadow: var(--shadow-md);
		transform: translateY(-12px);
		opacity: 0;
		visibility: hidden;
		transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
	}

	.header-nav.is-open {
		transform: none;
		opacity: 1;
		visibility: visible;
	}

	.header-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.header-nav li {
		border-bottom: 1px solid var(--c-line);
	}

	.header-nav a {
		padding: 16px 4px;
		font-size: 15px;
	}

	.header-nav a::after { display: none; }

	.header-cta { display: none; }

	.hero { padding: 72px 0 64px; }
	.hero__stats { gap: 24px 36px; margin-top: 40px; }
	.hero__stat-num { font-size: 26px; }

	.grid--2,
	.grid--3,
	.grid--4 { grid-template-columns: 1fr; }

	.works-grid { grid-template-columns: 1fr; }

	.steps { grid-template-columns: 1fr; row-gap: 28px; }
	.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; text-align: left; }
	.step::before { margin: 0; }
	.step::after { display: none; }

	.contact-layout { grid-template-columns: 1fr !important; }

	.info-table th,
	.info-table td { display: block; width: 100%; }

	.info-table th { padding-bottom: 4px; border-bottom: 0; }
	.info-table td { padding-top: 0; }

	.post-item { grid-template-columns: 1fr; gap: 8px; }

	.post-nav { grid-template-columns: 1fr; }
	.post-nav__next { text-align: left; }

	.footer-top { grid-template-columns: 1fr; gap: 36px; }
	.footer-bottom { justify-content: flex-start; }
}

@media (max-width: 520px) {
	.card { padding: 28px 24px; }
	.contact-aside { padding: 26px 22px; }
	.btn-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}

	.reveal { opacity: 1; transform: none; }
}

/* ============================================================
   21. Print
   ============================================================ */

@media print {
	.site-header,
	.site-footer,
	.cta-band,
	.nav-toggle { display: none; }

	body { color: #000; }
}
