/* ==========================================
   Variables
   ========================================== */
:root {
	--color-main:    #0a192f;
	--color-accent:  #0ea5e9;
	--color-slate:   #334155;
	--color-light:   #f8fafc;
	--color-border:  #e2e8f0;
	--font-sans:     'Noto Sans JP', sans-serif;
	--font-serif:    'Noto Serif JP', serif;
}

/* ==========================================
   Utility
   ========================================== */
.text-corporate-accent { color: var(--color-accent); }
.italic                 { font-style: italic; }
.uppercase              { text-transform: uppercase; }
.text-sm                { font-size: 0.875rem; line-height: 1.25rem; }

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-sans);
	letter-spacing: 0.03em;
	color: var(--color-main);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.section-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.section-label {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--color-accent);
	letter-spacing: 0.5em;
	text-transform: uppercase;
	margin: 0 0 1.5rem;
}

.section-title {
	font-family: var(--font-serif);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	color: var(--color-main);
	margin: 0 0 2rem;
	padding-bottom: 2rem;
	position: relative;
}
.section-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40px;
	height: 1px;
	background: var(--color-accent);
}

/* ==========================================
   Header
   ========================================== */
.site-header {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 50;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(4px);
	border-bottom: 1px solid var(--color-border);
}
.header-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
	height: 6rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.header-logo img {
	height: 3rem;
	width: auto;
	object-fit: contain;
}
.header-nav {
	display: none;
}
@media (min-width: 1024px) {
	.header-nav {
		display: flex;
		align-items: center;
	}
	/* wp_nav_menu の ul をフレックス横並びに */
	.header-nav ul {
		display: flex;
		align-items: center;
		gap: 3rem;
		list-style: none;
		margin: 0;
		padding: 0;
	}
	.header-nav li {
		margin: 0;
		padding: 0;
	}
	.header-nav a {
		font-size: 0.75rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.2em;
		color: var(--color-slate);
		transition: color 0.3s;
	}
	.header-nav a:hover { color: var(--color-main); }
}

/* ==========================================
   Hero
   ========================================== */
.hero-section {
	min-height: 100vh;
	display: flex;
	align-items: center;
	color: #fff;
	padding-top: 6rem;
	overflow: hidden;
}
.hero-section .section-inner { width: 100%; position: relative; z-index: 1; }
.hero-content { max-width: 56rem; }

.hero-eyebrow {
	display: inline-block;
	border-left: 2px solid var(--color-accent);
	padding-left: 1.5rem;
	color: var(--color-accent);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.5em;
	text-transform: uppercase;
	margin-bottom: 3rem;
}
.hero-heading {
	font-family: var(--font-serif);
	font-size: clamp(2rem, 5vw, 3.75rem);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 3rem;
}
.hero-heading span { color: var(--color-accent); }
.hero-body {
	color: #94a3b8;
	font-size: clamp(1rem, 2vw, 1.25rem);
	line-height: 1.8;
	font-weight: 300;
	max-width: 42rem;
	margin: 0 0 3rem;
}
.hero-cta { padding-top: 2rem; }
.hero-cta-link {
	display: inline-flex;
	align-items: center;
	gap: 1.5rem;
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.3em;
	font-size: 0.75rem;
}
.hero-cta-line {
	display: block;
	width: 3rem;
	height: 1px;
	background: var(--color-accent);
	transition: width 0.3s;
}
.hero-cta-link:hover .hero-cta-line { width: 5rem; }

/* ==========================================
   Philosophy
   ========================================== */
.philosophy-section {
	padding: 10rem 0;
	background: #fff;
}
.philosophy-body {
	color: var(--color-slate);
	line-height: 2;
	font-weight: 300;
	font-size: 1.125rem;
}

/* ==========================================
   Services
   ========================================== */
.services-section {
	padding: 10rem 0;
	background: var(--color-light);
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}
.services-heading {
	text-align: center;
	margin-bottom: 6rem;
}
.services-heading .section-title::after {
	left: 50%;
	transform: translateX(-50%);
}
.services-grid {
	display: grid;
	gap: 2rem;
}
@media (min-width: 1024px) {
	.services-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
	background: #fff;
	padding: 3rem;
	border: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
	transition: border-color 0.4s, transform 0.4s;
}
.service-card:hover {
	border-color: var(--color-accent);
	transform: translateY(-4px);
}
.service-card-icon {
	color: var(--color-slate);
	margin-bottom: 2.5rem;
	font-size: 1.875rem;
}
.service-card-title {
	font-family: var(--font-serif);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-main);
	margin: 0 0 1.5rem;
}
.service-card-body {
	font-size: 0.875rem;
	color: var(--color-slate);
	line-height: 2;
	font-weight: 300;
	flex-grow: 1;
	margin: 0 0 3rem;
}
.service-card-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.service-card-list li {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-slate);
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.service-card-list li i { color: var(--color-accent); }

/* ==========================================
   Company
   ========================================== */
.company-section {
	padding: 10rem 0;
	background: #fff;
}
.company-layout {
	display: grid;
	gap: 4rem;
}
@media (min-width: 1024px) {
	.company-layout { grid-template-columns: 1fr 2fr; gap: 6rem; }
}
.company-office {
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--color-border);
	margin-bottom: 2rem;
}
.company-office:last-child { border-bottom: none; margin-bottom: 0; }
.office-label {
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--color-slate);
	margin: 0 0 1rem;
}
.office-address {
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.6;
	margin: 0 0 1rem;
}
.office-tel {
	font-family: var(--font-serif);
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0;
}
.company-table {
	width: 100%;
	border-collapse: collapse;
	border-top: 1px solid var(--color-main);
}
.company-table tr { border-bottom: 1px solid var(--color-border); }
.company-table th,
.company-table td {
	padding: 2rem 0;
	text-align: left;
	vertical-align: top;
}
.company-table th {
	font-size: 0.625rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--color-slate);
	width: 33%;
}
.company-table td {
	font-size: 0.875rem;
	font-weight: 700;
}

/* ==========================================
   Footer
   ========================================== */
.site-footer {
	background: var(--color-main);
	padding: 5rem 0;
}
.footer-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3rem;
}
.footer-name {
	font-family: var(--font-serif);
	font-size: 1.5rem;
	font-weight: 900;
	letter-spacing: -0.05em;
	color: #fff;
}
.footer-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 3rem;
	font-size: 0.625rem;
	font-weight: 700;
	color: #cbd5e1;
	text-transform: uppercase;
	letter-spacing: 0.15em;
}
.footer-nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 3rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-nav li { margin: 0; padding: 0; }
.footer-divider {
	width: 2rem;
	height: 1px;
	background-color: rgb(51 65 85);
}
.footer-nav a { transition: color 0.3s; }
.footer-nav a:hover { color: var(--color-accent); }
.footer-copyright {
	font-size: 0.5625rem;
	font-weight: 700;
	color: #64748b;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	margin: 0;
}
