@charset "utf-8";
/* ===========================
   色・変数定義
=========================== */
:root {
	--c-primary: #0B3D91;
	--c-primary-dark: #072a6a;
	--c-primary-mid: #3a6bbf;
	--c-primary-light: #e8eef8;
	--c-primary-muted: rgba(11, 61, 145, 0.08);

	--c-bg: #ffffff;
	--c-bg-alt: #f7f9fc;
	--c-border: #e4e9f0;

	--c-text: #1a2340;
	--c-text-header: rgba(255, 255, 255, 0.85);
	--c-text-body: #374151;
	--c-text-muted: #6b7280;

	--c-footer-bg: #072a6a;
	--c-footer-text: rgba(255, 255, 255, 0.78);

	--container: 1120px;
	--radius: 6px;
	--radius-lg: 14px;

	--shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.07);
	--shadow-md: 0 8px 24px rgba(7, 42, 106, 0.12);
	--shadow-lg: 0 16px 48px rgba(7, 42, 106, 0.16);

	--font-jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
	--font-en: "Kanit", sans-serif;

	--ease: 0.25s ease;
	--header-h: 76px;
}

/* ===========================
   ベース
=========================== */
body {
	font-family: var(--font-jp);
	color: var(--c-text-body);
	background: var(--c-bg);
	line-height: 1.75;
	font-size: 16px;
}

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

main {
	display: block;
}

.section {
	padding: 96px 0;
}

.section-white {
	background: var(--c-bg);
}

.section-gray {
	background: var(--c-bg-alt);
}

.section-accent {
	background: var(--c-primary);
}

/* ===========================
   英字＋日本語 二段タイトル
=========================== */
.title-area {
	text-align: center;
	margin-bottom: 56px;
}

.title-area .en-title {
	font-family: var(--font-en);
	font-weight: 300;
	font-size: clamp(2.4rem, 5vw, 3.6rem);
	line-height: 1;
	letter-spacing: 0.02em;
	color: var(--c-primary);
}

.title-area .ja-subtitle {
	margin-top: 14px;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--c-text-muted);
}

.title-area .lead {
	margin-top: 20px;
	font-size: 1rem;
	color: var(--c-text-body);
}

.title-area--light .en-title {
	color: #ffffff;
}

.title-area--light .ja-subtitle {
	color: rgba(255, 255, 255, 0.75);
}

.title-area--left {
	text-align: left;
	margin-bottom: 0;
}

/* ===========================
   ピルボタン
=========================== */
.btn-pill {
	display: inline-flex;
	align-items: center;
	position: relative;
	padding: 15px 44px 15px 28px;
	border: 1px solid var(--c-primary);
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--c-primary);
	background: #ffffff;
	transition: background var(--ease), color var(--ease), transform var(--ease);
}

.btn-pill::after {
	content: "";
	position: absolute;
	right: 22px;
	top: 50%;
	width: 7px;
	height: 7px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: translateY(-65%) rotate(45deg);
}

.btn-pill:hover {
	background: var(--c-primary);
	color: #ffffff;
	transform: translateY(-1px);
}

.btn-pill--solid {
	background: var(--c-primary);
	color: #ffffff;
	box-shadow: var(--shadow-md);
}

.btn-pill--solid:hover {
	background: var(--c-primary-dark);
	border-color: var(--c-primary-dark);
}

.btn-pill--light {
	border-color: #ffffff;
	color: #ffffff;
	background: transparent;
}

.btn-pill--light:hover {
	background: #ffffff;
	color: var(--c-primary);
}

/* ===========================
   角丸カード
=========================== */
.round-card {
	background: #ffffff;
	border: 1px solid var(--c-border);
	border-radius: 20px 20px 48px 48px;
	padding: 32px 28px 40px;
	transition: box-shadow var(--ease), transform var(--ease);
}

.round-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-4px);
}

.round-card.fixed:hover {
	box-shadow: none;
	transform: none;
}

.round-card-num {
	font-family: var(--font-en);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: #ffffff;
	background: var(--c-primary);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.round-card-icon {
	color: var(--c-primary);
	display: flex;
	align-items: center;
}

.round-card-top {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.round-card h3 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--c-text);
	margin-bottom: 8px;
}

.round-card .tagline {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--c-primary);
	margin-bottom: 12px;
}

.round-card p {
	font-size: 0.875rem;
	color: var(--c-text-muted);
	line-height: 1.85;
}

/* ===========================
   ヘッダー / ナビゲーション
=========================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--c-primary);
	transition: box-shadow var(--ease);
}

.site-header.is-scrolled {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
}

.logo {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.logo .logo-en {
	font-family: var(--font-en);
	font-weight: 300;
	font-size: 1.3rem;
	color: #ffffff;
	letter-spacing: 0.03em;
}

.logo .logo-ja {
	font-size: 0.62rem;
	color: rgba(255, 255, 255, 0.7);
	letter-spacing: 0.08em;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.nav-list a {
	display: flex;
	align-items: center;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.85);
	font-weight: 500;
	white-space: nowrap;
	position: relative;
	padding-bottom: 4px;
}

.nav-list a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1px;
	background: #ffffff;
	transition: width var(--ease);
}

.nav-list a:hover,
.nav-list a:focus,
.nav-list a[aria-current="page"] {
	color: #ffffff;
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
	width: 100%;
}

/* ---------- ドロップダウン（特設ページ） ---------- */
.has-dropdown {
	position: relative;
}

.dropdown-toggle {
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.85);
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 6px;
	padding-bottom: 4px;
}

.dropdown-toggle-icon {
	flex-shrink: 0;
	width: 10px;
	height: 10px;
	transition: transform var(--ease);
}

.dropdown-toggle[aria-expanded="true"] .dropdown-toggle-icon {
	transform: rotate(180deg);
}

.dropdown-toggle:hover {
	color: #ffffff;
}

.dropdown-menu {
	position: absolute;
	top: calc(100% + 16px);
	left: 50%;
	transform: translateX(-50%) translateY(-6px);
	min-width: 260px;
	background: var(--c-primary-dark);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	padding: 10px;
	opacity: 0;
	pointer-events: none;
	/* transition: opacity var(--ease), transform var(--ease); */
	z-index: 1001;
}

.has-dropdown.is-open .dropdown-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

@media (hover: hover) and (pointer: fine) and (min-width: 769px) {
	/* ボタン下端の隙間をパディングで埋め、ホバーが途切れないようにする（見た目の高さはネガティブマージンで相殺） */
	.has-dropdown {
		padding-bottom: 16px;
		margin-bottom: -16px;
	}

	.has-dropdown .dropdown-menu {
		top: 100%;
	}

	.has-dropdown:hover .dropdown-menu,
	.has-dropdown:focus-within .dropdown-menu {
		opacity: 1;
		pointer-events: auto;
		transform: translateX(-50%) translateY(0);
	}

	.has-dropdown:hover .dropdown-toggle-icon,
	.has-dropdown:focus-within .dropdown-toggle-icon {
		transform: rotate(180deg);
	}
}

.dropdown-menu a {
	display: block;
	padding: 12px 14px;
	font-size: 0.82rem;
	color: var(--c-text-header);
	border-radius: var(--radius);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
}

.nav-toggle {
	display: none;
	width: 32px;
	height: 22px;
	position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: #ffffff;
	transition: transform var(--ease), opacity var(--ease), top var(--ease);
}

.nav-toggle span {
	top: 10px;
}

.nav-toggle span::before {
	top: -8px;
}

.nav-toggle span::after {
	top: 8px;
}

.nav-toggle.is-active span {
	background: transparent;
}

.nav-toggle.is-active span::before {
	top: 0;
	transform: rotate(45deg);
}

.nav-toggle.is-active span::after {
	top: 0;
	transform: rotate(-45deg);
}

/* ===========================
   パンくず
=========================== */
.pan-navi {
	border-bottom: 2px solid var(--c-primary);
	background: var(--c-bg-alt);
}

.pan-navi ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 16px 0;
	font-size: 0.78rem;
	color: var(--c-text-muted);
}

.pan-navi li:not(:last-child)::after {
	content: "/";
	margin-left: 6px;
	color: var(--c-border);
}

.pan-navi a {
	color: var(--c-primary);
}

.pan-navi a:hover {
	text-decoration: underline;
}

/* ===========================
   下層ページ用ヒーロー
=========================== */
.page-hero {
	background: var(--c-bg-alt);
	padding: 72px 0 64px;
	text-align: center;
}

/* ===========================
   フッター
=========================== */
.site-footer {
	background: var(--c-footer-bg);
	color: var(--c-footer-text);
	padding-top: 72px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand .logo-en {
	color: #ffffff;
}

.footer-brand .logo-ja {
	color: rgba(255, 255, 255, 0.7);
}

.footer-brand p {
	margin-top: 20px;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.9;
}

.footer-col-title {
	font-family: var(--font-en);
	font-size: 0.78rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 18px;
}

.footer-nav li {
	margin-bottom: 12px;
	font-size: 0.85rem;
}

.footer-nav a:hover {
	opacity: 0.7;
	text-decoration: underline;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 0;
}

.footer-copy {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.6);
}

/* ===========================
   会社概要テーブル
=========================== */
.about-table-wrap {
	max-width: 800px;
	margin: 0 auto;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.about-table {
	width: 100%;
	border-collapse: collapse;
}

.about-table th,
.about-table td {
	padding: 18px 24px;
	border-bottom: 1px solid var(--c-border);
	font-size: 0.95rem;
	text-align: left;
	vertical-align: top;
}

.about-table tr:last-child th,
.about-table tr:last-child td {
	border-bottom: none;
}

.about-table th {
	width: 170px;
	font-weight: 700;
	color: var(--c-primary);
	white-space: nowrap;
	background: var(--c-bg-alt);
}

.about-table td {
	color: var(--c-text-body);
	line-height: 1.85;
	background: #ffffff;
}

.about-table h4 {
	font-size: 0.85rem;
	color: var(--c-text-muted);
	margin-bottom: 4px;
}

.table-link {
	color: var(--c-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.table-link:hover {
	opacity: 0.75;
}

/* ===========================
   レスポンシブ
=========================== */
@media (max-width: 900px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	:root {
		--header-h: 64px;
	}

	.section {
		padding: 64px 0;
	}

	.nav-toggle {
		display: block;
	}

	.nav-list {
		position: fixed;
		top: var(--header-h);
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--c-primary-dark);
		max-height: 0;
		overflow: hidden;
		transition: max-height var(--ease);
		z-index: 999;
	}

	.nav-list.is-open {
		max-height: 480px;
	}

	.nav-list a {
		width: 100%;
		padding: 16px 24px;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}

	.nav-list a::after {
		display: none;
	}

	.has-dropdown {
		width: 100%;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}

	.dropdown-toggle {
		width: 100%;
		padding: 16px 24px;
		color: rgba(255, 255, 255, 0.85);
		justify-content: space-between;
	}

	.dropdown-menu,
	.has-dropdown.is-open .dropdown-menu {
		position: static;
		transform: none;
		min-width: 0;
		max-height: 0;
		overflow: hidden;
		opacity: 1;
		visibility: visible;
		pointer-events: none;
		background: rgba(0, 0, 0, 0.12);
		border-radius: 0;
		box-shadow: none;
		padding: 0;
		transition: max-height var(--ease);
	}

	.has-dropdown.is-open .dropdown-menu {
		max-height: 320px;
		pointer-events: auto;
	}

	.dropdown-menu li + li {
		border-top-color: rgba(255, 255, 255, 0.12);
	}

	.dropdown-menu a {
		color: rgba(255, 255, 255, 0.85);
		padding: 12px 24px 12px 36px;
	}

	.dropdown-menu a:hover {
		background: rgba(255, 255, 255, 0.08);
		color: #ffffff;
	}

	.about-table th {
		width: 110px;
		font-size: 0.85rem;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}
}

@media (max-width: 480px) {
	.about-table th,
	.about-table td {
		padding: 12px 14px;
		font-size: 0.85rem;
	}

	.about-table th {
		width: 92px;
	}
}
