/*
 * ASPRI 団体情報ページ専用スタイル
 * page-about.php / Template Name: ASPRI 団体情報 で使用
 */

/* ---- ヘッダー・共通変数は home.css から継承 ---- */
:root {
	--aspri-blue:   #2056ae;
	--aspri-yellow: #f2ef1d;
	--aspri-ink:    #1a1a1a;
	--aspri-sub:    #555;
	--aspri-maxw:   900px;
}

.aspri-about * { box-sizing: border-box; }
.aspri-about img { max-width: 100%; height: auto; display: block; }
.aspri-about a { text-decoration: none; color: inherit; }

.aspri-about {
	font-family: "Noto Sans JP", -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	color: var(--aspri-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

/* ---- ヘッダー（home.css と同一） ---- */
.aspri-header {
	background: #fff;
	border-bottom: 1px solid #f0f0f0;
}
.aspri-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1040px;
	margin: 0 auto;
	padding: 16px 24px;
}
.aspri-logo { display: inline-flex; flex-direction: column; line-height: 1; }
.aspri-logo .logo-main {
	font-family: "Anton", sans-serif;
	font-size: 34px;
	letter-spacing: 1px;
	color: var(--aspri-blue);
}
.aspri-logo .logo-sub {
	font-size: 8px;
	letter-spacing: 1.5px;
	color: var(--aspri-blue);
	margin-top: 4px;
	font-weight: 700;
}
.aspri-logo img { max-height: 60px; width: auto; display: block; }

.aspri-nav ul {
	display: flex;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.aspri-nav a {
	font-size: 14px;
	font-weight: 700;
	color: var(--aspri-ink);
	letter-spacing: .04em;
	padding: 6px 0;
	border-bottom: 2px solid transparent;
	transition: border-color .2s, color .2s;
}
.aspri-nav a:hover,
.aspri-nav a[aria-current] { color: var(--aspri-blue); border-bottom-color: var(--aspri-yellow); }
/* ---- ドロップダウン ---- */
.aspri-nav .has-dropdown { position: relative; }
.aspri-nav .sub-menu {
	display: flex;
	flex-direction: column;
	gap: 0;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transform: translateX(-50%) translateY(-6px);
	transition: opacity .22s ease, transform .22s ease, visibility .22s;
	position: absolute;
	top: 100%;
	left: 50%;
	padding-top: 12px;
	min-width: 150px;
	z-index: 200;
	white-space: nowrap;
	list-style: none;
	margin: 0;
}
.aspri-nav .sub-menu::after {
	content: '';
	display: block;
	position: absolute;
	inset: 12px 0 0;
	border: 1px solid #e4e4e4;
	box-shadow: 0 6px 20px rgba(0,0,0,.1);
	background: #fff;
	z-index: -1;
	pointer-events: none;
}
.aspri-nav .has-dropdown:hover .sub-menu {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}
.aspri-nav .sub-menu li { margin: 0; position: relative; }
.aspri-nav .sub-menu a {
	display: block;
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 700;
	color: var(--aspri-ink);
	letter-spacing: .04em;
	border-bottom: none;
	transition: background .15s, color .15s;
	position: relative;
	z-index: 1;
}
.aspri-nav .sub-menu a:hover { background: #f5f5f5; color: var(--aspri-blue); border-bottom-color: transparent; }

.aspri-hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px; height: 40px;
	background: none; border: none; cursor: pointer; padding: 0;
}
.aspri-hamburger span { display: block; width: 26px; height: 2px; background: var(--aspri-ink); transition: .3s; }

/* ---- ヒーロー ---- */
.aspri-about-hero { width: 100%; line-height: 0; }
.aspri-about-hero img { width: 100%; height: auto; display: block; }

/* ---- メインコンテンツ ---- */
.aspri-about-content {
	max-width: var(--aspri-maxw);
	margin: 0 auto;
	padding: 64px 24px 80px;
}

/* ページタイトル */
.aspri-about-title {
	font-size: clamp(20px, 3vw, 28px);
	font-weight: 700;
	text-align: center;
	letter-spacing: .05em;
	margin: 0 0 56px;
	line-height: 1.5;
}

/* 人物プロフィール行 */
.aspri-about-profile {
	display: flex;
	align-items: flex-start;
	gap: 32px;
	margin-bottom: 56px;
	justify-content: center;
}
.aspri-about-photo {
	flex: 0 0 auto;
	width: clamp(140px, 18vw, 200px);
}
.aspri-about-photo img {
	width: 100%;
	height: auto;
}
.aspri-about-name {
	padding-top: 8px;
}
.aspri-about-name .role {
	font-size: 12px;
	color: var(--aspri-sub);
	line-height: 1.8;
	margin: 0 0 8px;
}
.aspri-about-name .name-ja {
	font-size: clamp(22px, 3.5vw, 32px);
	font-weight: 900;
	letter-spacing: .06em;
	line-height: 1.2;
	margin: 0 0 4px;
}
.aspri-about-name .name-en {
	font-size: 13px;
	letter-spacing: .08em;
	color: var(--aspri-sub);
	margin: 0;
}

/* 本文 */
.aspri-about-body {
	font-size: 15px;
	line-height: 2.1;
	color: var(--aspri-ink);
}
.aspri-about-body p {
	margin: 0 0 1.8em;
	text-indent: 1em;
}
.aspri-about-body p:last-child { margin-bottom: 0; }

/* 注釈エリア */
.aspri-about-note {
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid #e0e0e0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 40px;
}
.aspri-about-note p {
	font-size: 11px;
	line-height: 1.9;
	color: var(--aspri-sub);
	margin: 0;
}

/* ---- フッター ---- */
.aspri-footer {
	background: #fff;
	text-align: center;
	padding: 28px 0;
	border-top: 1px solid #f0f0f0;
}
.aspri-footer small {
	font-size: 11px;
	letter-spacing: .15em;
	color: #999;
}

/* ---- レスポンシブ ---- */
@media (max-width: 768px) {
	.aspri-hamburger { display: flex; }
	.aspri-nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: 78%;
		max-width: 320px;
		background: #fff;
		box-shadow: -4px 0 24px rgba(0,0,0,.12);
		transform: translateX(100%);
		transition: transform .3s ease;
		z-index: 1000;
		padding: 80px 28px;
	}
	.aspri-nav.is-open { transform: translateX(0); }
	.aspri-nav ul { flex-direction: column; gap: 4px; }
	.aspri-nav a { display: block; padding: 12px 0; border-bottom: 1px solid #eee; }
	/* モバイル ドロップダウン */
	.aspri-nav .sub-menu {
		display: none;
		position: static;
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
		transform: none;
		transition: none;
		box-shadow: none;
		border: none;
		padding: 0;
		background: #f7f7f7;
		margin: 0 0 4px;
	}
	.aspri-nav .sub-menu::after { display: none; }
	.aspri-nav .has-dropdown.is-sub-open .sub-menu { display: block; }
	.aspri-nav .sub-menu a { padding: 10px 0 10px 20px; border-bottom: 1px solid #eee; font-size: 13px; }
	.aspri-nav-overlay {
		display: none;
		position: fixed; inset: 0;
		background: rgba(0,0,0,.4);
		z-index: 999;
	}
	.aspri-nav-overlay.is-open { display: block; }

	.aspri-about-profile { flex-direction: column; align-items: center; }
	.aspri-about-photo { width: clamp(140px, 50vw, 200px); }
	.aspri-about-name { text-align: center; }
	.aspri-about-note { grid-template-columns: 1fr; }
}
