/* ===== RESET & BASE ===== */
.eso {
	line-height: 1.8;
	color: #333;
}

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

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

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

/* テーマ側の共通CSS（#contRight > article 配下の h3/section/table 等）が
   IDセレクタで優先度が高く、無指定だと打ち消されるため、
   このパーシャル内で明示的に使うプロパティは !important で確定させる。 */

/* ===== SECTION ===== */
.eso-section {
	padding: 40px 0;
	margin: 0 !important;
}

.eso-section+.eso-section {
	border-top: 1px solid #e0e4e8;
}

.eso-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: #1a95d7;
	margin-bottom: 8px;
	line-height: 1.5 !important;
}

.eso-title {
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #0d2340 !important;
	line-height: 1.4 !important;
	margin-bottom: 12px !important;
	padding: 0 !important;
	background: none !important;
	height: auto !important;
}

.eso-body {
	font-size: 14px;
	color: #555;
	line-height: 1.85 !important;
	margin-bottom: 24px;
}

/* ===== OVERVIEW ===== */
.eso-overview {
	background: #0d2340;
	color: #fff;
	border-radius: 8px;
	padding: 32px 28px;
	margin-bottom: 8px;
}

.eso-overview-sub {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	line-height: 1.5 !important;
	margin-bottom: 16px;
}

.eso-overview-lead {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.85 !important;
	margin-bottom: 24px;
}

.eso-overview-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #1a95d7;
	color: #fff !important;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 18px;
	border-radius: 6px;
	margin-bottom: 24px;
	text-decoration: none !important;
}

.eso-overview-cta:hover {
	background: #1580b8;
}

.eso-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.eso-stat {
	flex: 1 1 140px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	padding: 16px;
	text-align: center;
}

.eso-stat-num {
	font-size: 36px;
	font-weight: 700;
	color: #7ec8f0;
	line-height: 1.1;
}

.eso-stat-num sup {
	font-size: 16px;
	vertical-align: super;
}

.eso-stat-unit {
	font-size: 10px;
	color: rgba(255, 255, 255, 0.45);
	letter-spacing: 0.04em;
	margin-top: 2px;
}

.eso-stat-desc {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.65);
	margin-top: 4px;
}

/* ===== VIDEO ===== */
.eso-video-wrap {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	/* 16:9 */
	border-radius: 8px;
	overflow: hidden;
	background: #000;
}

.eso-video-wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* ===== PILLARS ===== */
.eso-pillars {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
}

.eso-pillar {
	background: #f5f7fa;
	border: 1px solid #e0e4e8;
	border-radius: 8px;
	padding: 20px;
	position: relative;
}

.eso-pillar-icon {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: #e8f2fa;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	color: #1a95d7;
}

.eso-pillar-num {
	font-size: 40px;
	font-weight: 700;
	color: #e0e4e8;
	line-height: 1;
	position: absolute;
	top: 12px;
	right: 16px;
}

.eso-pillar-name {
	font-size: 15px;
	font-weight: 700;
	color: #0d2340;
	margin-bottom: 8px;
	line-height: 1.4 !important;
	padding-right: 36px;
}

.eso-pillar-text {
	font-size: 13px;
	color: #555;
	line-height: 1.75 !important;
}

/* ===== TEAM ===== */
.eso-team-cat {
	margin-bottom: 24px;
}

.eso-team-cat:last-child {
	margin-bottom: 0;
}

.eso-team-cat-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: #1a95d7;
	margin-bottom: 10px;
	padding-left: 10px;
	border-left: 3px solid #1a95d7;
	line-height: 1.5 !important;
}

.eso-team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 8px;
}

.eso-member {
	background: #f5f7fa;
	border-radius: 6px;
	padding: 10px 12px;
}

.eso-member-name {
	font-size: 13px;
	font-weight: 700;
	color: #0d2340;
	line-height: 1.4 !important;
}

.eso-member-dept {
	font-size: 11px;
	color: #888;
	line-height: 1.4 !important;
}

.eso-collab-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 8px;
}

.eso-collab {
	background: #f5f7fa;
	border-radius: 6px;
	padding: 8px 12px;
	font-size: 13px;
	color: #333;
	text-align: center;
	min-height: 4rem;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

/* ===== FLOW ===== */
.eso-flow-phase {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: #888;
	margin: 24px 0 12px 40px;
	line-height: 1.5 !important;
}

.eso-flow-phase:first-child {
	margin-top: 0;
}

.eso-flow-step {
	display: flex;
	gap: 12px;
	margin-bottom: 12px;
	align-items: flex-start;
}

.eso-flow-num {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	margin-top: 2px;
}

.eso-flow-content {
	flex: 1;
	border-radius: 8px;
	padding: 12px 16px;
	border: 1px solid transparent;
}

.eso-flow-step-title {
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 4px;
	line-height: 1.4 !important;
}

.eso-flow-step-desc {
	font-size: 12px;
	line-height: 1.65 !important;
	color: #555;
}

.eso-flow-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 6px;
}

.eso-flow-badge {
	font-size: 10px;
	font-weight: 500;
	padding: 2px 8px;
	border-radius: 12px;
	white-space: nowrap;
}

.eso-flow-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #fff8e1;
	border: 1px solid #f5c842;
	border-radius: 4px;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 700;
	color: #7a5200;
	margin-top: 4px;
}

.eso-flow-tag-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #f5c842;
}

/* flow phase colors */
.eso-ph-diag .eso-flow-num {
	background: #dbeeff;
	color: #0c5fa8;
}

.eso-ph-diag .eso-flow-content {
	background: #f3f8ff;
	border-color: #c8dff7;
}

.eso-ph-diag .eso-flow-step-title {
	color: #0c5fa8;
}

.eso-ph-diag .eso-flow-badge {
	background: #dbeeff;
	color: #0c5fa8;
}

.eso-ph-dec .eso-flow-num {
	background: #d0f0e5;
	color: #0a6647;
}

.eso-ph-dec .eso-flow-content {
	background: #f1fbf6;
	border-color: #b2e4d1;
}

.eso-ph-dec .eso-flow-step-title {
	color: #0a6647;
}

.eso-ph-dec .eso-flow-badge {
	background: #d0f0e5;
	color: #0a6647;
}

.eso-ph-surg .eso-flow-num {
	background: #fde9c8;
	color: #7a4600;
}

.eso-ph-surg .eso-flow-content {
	background: #fffaf2;
	border-color: #f5d89a;
}

.eso-ph-surg .eso-flow-step-title {
	color: #7a4600;
}

.eso-ph-surg .eso-flow-badge {
	background: #fde9c8;
	color: #7a4600;
}

.eso-ph-sup .eso-flow-num {
	background: #ebebeb;
	color: #3a3a3a;
}

.eso-ph-sup .eso-flow-content {
	background: #f8f8f7;
	border-color: #dddbd3;
}

.eso-ph-sup .eso-flow-step-title {
	color: #3a3a3a;
}

.eso-ph-sup .eso-flow-badge {
	background: #ebebeb;
	color: #3a3a3a;
}

.eso-ph-emg .eso-flow-num {
	background: #fddede;
	color: #8c1c1c;
}

.eso-ph-emg .eso-flow-content {
	background: #fff5f5;
	border-color: #f5b8b8;
}

.eso-ph-emg .eso-flow-step-title {
	color: #8c1c1c;
}

.eso-ph-emg .eso-flow-badge {
	background: #fddede;
	color: #8c1c1c;
}

/* ===== CHARTS ===== */
.eso-chart-block {
	margin-bottom: 32px;
}

.eso-chart-block:last-child {
	margin-bottom: 0;
}

.eso-chart-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: #1a95d7;
	margin-bottom: 4px;
	line-height: 1.4 !important;
}

.eso-chart-name {
	font-size: 14px;
	font-weight: 700;
	color: #0d2340;
	margin-bottom: 2px;
	line-height: 1.4 !important;
}

.eso-chart-sub {
	font-size: 12px;
	color: #888;
	margin-bottom: 10px;
	line-height: 1.4 !important;
}

.eso-chart-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 10px;
}

.eso-chart-legend-item {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	color: #888;
}

.eso-chart-legend-swatch {
	width: 10px;
	height: 10px;
	border-radius: 2px;
	flex-shrink: 0;
}

.eso-chart-canvas {
	position: relative;
	width: 100%;
}

.eso-metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 12px;
}

.eso-metric {
	background: #f5f7fa;
	border-radius: 8px;
	padding: 10px 14px;
	flex: 1 1 100px;
}

.eso-metric-val {
	font-size: 24px;
	font-weight: 700;
	color: #0d2340;
	line-height: 1.1;
}

.eso-metric-val.accent {
	color: #1a95d7;
}

.eso-metric-val span {
	font-size: 13px;
	color: #888;
	font-weight: 400;
}

.eso-metric-lbl {
	font-size: 11px;
	color: #888;
	margin-top: 2px;
}

.eso-pie-layout {
	display: flex;
	gap: 20px;
	align-items: center;
	flex-wrap: wrap;
}

.eso-pie-wrap {
	width: 160px;
	height: 160px;
	flex-shrink: 0;
}

.eso-pie-legend {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.eso-pie-row {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #333;
}

.eso-pie-swatch {
	width: 10px;
	height: 10px;
	border-radius: 2px;
	flex-shrink: 0;
}

.eso-pie-count {
	margin-left: auto;
	padding-left: 12px;
	color: #888;
	font-size: 11px;
	white-space: nowrap;
}

/* ===== DIRECTOR ===== */
.eso-director {
	background: #0d2340;
	color: #fff;
	border-radius: 8px;
	padding: 32px 28px;
}

.eso-director-inner {
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

.eso-director-photo {
	width: 120px;
	height: 150px;
	border-radius: 8px;
	overflow: hidden;
	border: 2px solid rgba(255, 255, 255, 0.18);
	flex-shrink: 0;
}

.eso-director-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.eso-director-info {
	flex: 1;
}

.eso-director-role {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: #7ec8f0;
	margin-bottom: 6px;
	line-height: 1.4 !important;
}

.eso-director-name {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 16px;
	line-height: 1.3 !important;
}

.eso-director-msg {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.85 !important;
	border-left: 2px solid rgba(126, 200, 240, 0.4);
	padding-left: 16px;
	font-style: italic;
}

.eso-director-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 16px;
}

.eso-director-tag {
	font-size: 11px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: rgba(255, 255, 255, 0.7);
	padding: 3px 10px;
	border-radius: 16px;
}

/* ===== JCOG TABLES ===== */
.eso-table-group {
	margin-bottom: 24px;
}

.eso-table-group:last-child {
	margin-bottom: 0;
}

.eso-table-wrap {
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e0e4e8;
}

.eso-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	background: #fff;
}

.eso-table thead tr {
	background: #e8f2fa;
}

.eso-table thead th {
	padding: 10px 12px !important;
	text-align: left;
	font-size: 12px;
	font-weight: 700;
	color: #0d2340;
	line-height: 1.4 !important;
	background: #e8f2fa !important;
	border: none !important;
	border-bottom: 2px solid #b5d4f4 !important;
}

.eso-table tbody tr {
	border-bottom: 1px solid #e0e4e8;
}

.eso-table tbody tr:last-child {
	border-bottom: none;
}

.eso-table tbody td {
	padding: 10px 12px !important;
	vertical-align: top;
	color: #555;
	line-height: 1.6 !important;
	border: none !important;
}

.eso-table .col-pi {
	width: 90px;
	font-weight: 600;
	color: #0d2340;
	white-space: nowrap;
}

.eso-table .col-link {
	width: 50px;
	text-align: center;
}

.eso-table-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: #e8f2fa;
	color: #1a95d7 !important;
	text-decoration: none !important;
}

.eso-table-link:hover {
	background: #1a95d7;
	color: #fff !important;
}

.eso-table-link svg {
	width: 12px;
	height: 12px;
}

/* ===== CONTACT ===== */
.eso-contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
}

.eso-contact-card {
	background: #f5f7fa;
	border: 1px solid #e0e4e8;
	border-radius: 8px;
	padding: 20px;
}

.eso-contact-card-title {
	font-size: 14px;
	font-weight: 700;
	color: #0d2340;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 8px;
	line-height: 1.4 !important;
}

.eso-contact-card-title svg {
	flex-shrink: 0;
	color: #1a95d7;
}

.eso-contact-info {
	font-size: 13px;
	color: #555;
	line-height: 1.8;
}

.eso-contact-info p {
	line-height: inherit !important;
}

.eso-contact-info strong {
	color: #0d2340;
}

.eso-contact-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #1a95d7;
	color: #fff !important;
	font-size: 13px;
	font-weight: 500;
	padding: 8px 16px;
	border-radius: 6px;
	margin-top: 12px;
	text-decoration: none !important;
}

.eso-contact-btn:hover {
	background: #1580b8;
}

/* ===== RECRUIT ===== */
.eso-recruit {
	background: #0d2340;
	color: #fff;
	border-radius: 8px;
	padding: 32px 28px;
}

.eso-recruit-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4 !important;
	margin-bottom: 12px;
}

.eso-recruit-body {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.85 !important;
	margin-bottom: 24px;
}

.eso-recruit-feats {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 28px;
}

.eso-recruit-feat {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.eso-recruit-feat-icon {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #7ec8f0;
}

.eso-recruit-feat-title {
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 2px;
	line-height: 1.4 !important;
}

.eso-recruit-feat-body {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.62);
	line-height: 1.65 !important;
}

.eso-recruit-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	background: #fff;
	color: #0d2340 !important;
	font-size: 14px;
	font-weight: 700;
	padding: 12px 24px;
	border-radius: 6px;
	text-decoration: none !important;
}

.eso-recruit-cta:hover {
	background: #e8f2fa;
}

.eso-recruit-cta-email {
	font-size: 12px;
	font-weight: 400;
	color: #1a95d7 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
	.eso-overview {
		padding: 24px 20px;
	}

	.eso-stats {
		flex-direction: column;
	}

	.eso-stat {
		flex-basis: 100%;
	}

	.eso-pillars {
		grid-template-columns: 1fr;
	}

	.eso-director-inner {
		flex-direction: column;
	}

	.eso-director-photo {
		width: 100px;
		height: 125px;
	}

	.eso-pie-layout {
		flex-direction: column;
	}

	.eso-pie-wrap {
		width: 140px;
		height: 140px;
		margin: 0 auto;
	}

	.eso-contact-grid {
		grid-template-columns: 1fr;
	}

	.eso-recruit {
		padding: 24px 20px;
	}

	.eso-metrics {
		flex-direction: column;
	}

	.eso-metric {
		flex-basis: 100%;
	}
}