
@charset "UTF-8";

:root {
	--bg: #f7f8fb;
	--bg-alt: #eef3f8;
	--card: #ffffff;
	--text: #1f2937;
	--muted: #5f6b7a;
	--line: #d8e0ea;
	--primary: #215f8b;
	--primary-dark: #184868;
	--accent: #e8f3fb;
	--shadow: 0 10px 30px rgba(25, 40, 60, 0.08);
	--radius: 18px;
	--max: 1100px;
	--narrow: 820px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.85;
}

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

a {
	color: var(--primary);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.container {
	width: min(92%, var(--max));
	margin: 0 auto;
}

.narrow {
	width: min(92%, var(--narrow));
}

.hero {
	background:
		linear-gradient(135deg, rgba(33,95,139,0.95), rgba(57,122,167,0.85)),
		url("../images/hero.jpg") center center / cover no-repeat;
	color: #fff;
	padding: 40px 0 70px;
}

.hero-inner {
	width: min(92%, var(--max));
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	align-items: center;
}

.hero-logo img {
	width: 220px;
	max-width: 60vw;
	background: rgb(255,255,255);
	border-radius: 14px;
	padding: 12px 16px;
	box-shadow: var(--shadow);
}

.eyebrow {
	margin: 0 0 12px 0;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	font-weight: 700;
	opacity: 0.95;
}

.hero-copy h1 {
	margin: 0 0 18px 0;
	font-size: clamp(2rem, 5vw, 3.6rem);
	line-height: 1.22;
	font-weight: 800;
}

.lead {
	margin: 0;
	font-size: 1.08rem;
	max-width: 760px;
	color: rgba(255,255,255,0.96);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.btn {
	display: inline-block;
	padding: 14px 22px;
	border-radius: 999px;
	font-weight: 700;
	transition: 0.2s ease;
	border: 2px solid transparent;
}

.btn:hover {
	text-decoration: none;
	transform: translateY(-1px);
}

.btn-primary {
	background: #fff;
	color: var(--primary-dark);
}

.btn-secondary {
	background: transparent;
	color: #fff;
	border-color: rgba(255,255,255,0.75);
}

.section {
	padding: 72px 0;
}

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

.section-accent {
	background: linear-gradient(180deg, #f6fbff 0%, #edf6fc 100%);
}

.section-heading {
	margin-bottom: 34px;
}

.section-heading.center {
	text-align: center;
}

.section-label {
	margin: 0 0 10px 0;
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	font-weight: 800;
	color: var(--primary);
}

.section-heading h2,
.contact-card h2 {
	margin: 0;
	font-size: clamp(1.7rem, 3.2vw, 2.5rem);
	line-height: 1.3;
}

.section-subtext {
	margin: 12px auto 0;
	max-width: 800px;
	color: var(--muted);
}

.intro-card,
.message-box,
.contact-card {
	background: var(--card);
	border-radius: var(--radius);
	padding: 30px 28px;
	box-shadow: var(--shadow);
}

.intro-card p,
.message-box p {
	margin: 0 0 1em 0;
}

.intro-card p:last-child,
.message-box p:last-child {
	margin-bottom: 0;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.project-card {
	background: var(--card);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
}

.project-image {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #dfe8ef;
}

.project-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-body {
	padding: 22px 20px 24px;
}

.project-body h3 {
	margin: 0 0 12px 0;
	font-size: 1.2rem;
	line-height: 1.45;
}

.project-body p {
	margin: 0;
	color: var(--muted);
}

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

.feature-box {
	background: var(--card);
	border-radius: var(--radius);
	padding: 26px 22px;
	box-shadow: var(--shadow);
}

.feature-box h3 {
	margin: 0 0 10px 0;
	font-size: 1.15rem;
}

.feature-box p {
	margin: 0;
	color: var(--muted);
}

.contact-list {
	margin-top: 22px;
	display: grid;
	gap: 14px;
}

.contact-row {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.contact-label {
	font-weight: 700;
	color: #334155;
}

.contact-value {
	word-break: break-word;
}

.footer {
	padding: 26px 0 40px;
	text-align: center;
	color: var(--muted);
	font-size: 0.95rem;
}

/* tablet */
@media (max-width: 960px) {
	.project-grid,
	.feature-grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* mobile */
@media (max-width: 640px) {
	.hero {
		padding: 26px 0 48px;
	}

	.hero-logo img {
		width: 180px;
	}

	.lead {
		font-size: 1rem;
	}

	.section {
		padding: 54px 0;
	}

	.intro-card,
	.message-box,
	.contact-card {
		padding: 22px 18px;
	}

	.project-grid,
	.feature-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.project-body {
		padding: 18px 16px 20px;
	}

	.feature-box {
		padding: 20px 16px;
	}

	.contact-row {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}