@charset "UTF-8";

@font-face {
	font-family: "WorksLatinCyrillic";
	src: local("Helvetica Neue"), local("Helvetica"), local("Arial");
	unicode-range: U+0000-024F, U+0300-036F, U+0400-04FF, U+0500-052F, U+2000-206F, U+2DE0-2DFF, U+A640-A69F;
}

/* ページ内ジャンプをスムーズスクロールに */
html { scroll-behavior: smooth; }

/* ===== 担当教員紹介 セクション ===== */
.faculty-list {
	margin-top: 56px;
}

/* ===== 上部テーブル「担当教員」セルのページ内ジャンプリンク ===== */
#Contents #ContentsInner article table.delault-table td a[href^="#"] {
	color: #6c4c99;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	text-decoration-color: #9066cc;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
#Contents #ContentsInner article table.delault-table td a[href^="#"]::after {
	content: "\00a0\25BC"; /* NBSP + ▼ を同一テキスト流として描画し、下線を連続させる */
	font-size: 0.75em;
	color: #9066cc;
}
#Contents #ContentsInner article table.delault-table td a[href^="#"]:hover {
	color: #4a3370;
	text-decoration-color: #4a3370;
}
.faculty-list > h2 {
	position: relative;
	font-size: 2.0rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #2a2030;
	margin: 0 0 32px;
	padding: 0 0 14px 18px;
	border-bottom: 1px solid #e2dbe9;
}
.faculty-list > h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	bottom: 0.4em;
	width: 5px;
	background: linear-gradient(180deg, #9066cc 0%, #6c4c99 100%);
	border-radius: 3px;
}
.faculty-list > h2::after {
	content: "Faculty";
	display: inline-block;
	margin-left: 14px;
	font-size: 1.2rem;
	font-weight: 400;
	letter-spacing: 0.15em;
	color: #9066cc;
	vertical-align: 0.25em;
}

/* ===== カード ===== */
.faculty-card.border_box.key-color {
	/* 共通CSSの border/padding を上書き */
	border: 1px solid #e6dff0;
	background: #ffffff;
	border-radius: 6px;
	padding: 32px 36px 28px;
	margin: 0 0 24px;
	box-shadow: 0 1px 2px rgba(60, 40, 90, 0.04),
							0 8px 24px rgba(60, 40, 90, 0.05);
	position: relative;
	overflow: hidden;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
	scroll-margin-top: 120px; /* 固定ヘッダーに隠れないよう、ページ内ジャンプ時の上方余白 */
}
.faculty-card.border_box.key-color::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, #9066cc 0%, #6c4c99 100%);
}
.faculty-card.border_box.key-color:hover {
	box-shadow: 0 2px 4px rgba(60, 40, 90, 0.06),
							0 14px 32px rgba(60, 40, 90, 0.10);
	transform: translateY(-2px);
}

/* ===== キャッチコピー（氏名・専門分野の後ろに配置） ===== */
#Contents #ContentsInner article .faculty-card .catch {
	position: relative;
	margin: 20px 0 18px;
	padding: 18px 22px 18px 28px;
	background: linear-gradient(90deg, #f4ecff 0%, #fbf7ff 100%);
	border-left: 4px solid #9066cc;
	border-radius: 0 6px 6px 0;
	font-size: 1.9rem;
	font-weight: 600;
	line-height: 1.55;
	color: #5a4080;
	letter-spacing: 0.04em;
	/* 約物の前後アキを詰める（プロポーショナルメトリクス） */
	font-feature-settings: "palt" 1;
	-webkit-font-feature-settings: "palt" 1;
}
#Contents #ContentsInner article .faculty-card .catch::before {
	content: "\201C"; /* “ */
	position: absolute;
	left: 8px;
	top: -2px;
	font-family: "Georgia", "Times New Roman", serif;
	font-size: 3.4rem;
	line-height: 1;
	color: #c4b3e0;
	pointer-events: none;
}

/* ===== 氏名 ===== */
/* 共通CSSの article h3 (margin:45px 0 30px; padding-left:2em; ::before 丸) を打ち消す */
#Contents #ContentsInner article .faculty-card h3.name {
	margin: 0 0 16px;
	padding: 0 0 10px;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 1.8rem;
	font-weight: 600;
	color: #2a2030;
	border-bottom: 1px dashed #d8cee6;
}
#Contents #ContentsInner article .faculty-card h3.name::before {
	content: none;
	display: none;
}
.faculty-card .name .title {
	display: inline-block;
	font-size: 1.1rem;
	font-weight: 500;
	color: #ffffff;
	background: #9066cc;
	padding: 2px 10px;
	border-radius: 999px;
	letter-spacing: 0.05em;
	vertical-align: 0.15em;
}

/* ===== 共通CSSの dl dt/dd を打ち消し =====
   共通CSSが `#Contents #ContentsInner article dl dt/dd` で詳細度が高いため、
   同じID連結でセレクタを強化して上書きする。 */
#Contents #ContentsInner article .faculty-card dl.meta dt,
#Contents #ContentsInner article .faculty-card dl.meta dd,
#Contents #ContentsInner article .faculty-card dl.contact dt,
#Contents #ContentsInner article .faculty-card dl.contact dd {
	float: none;
	width: auto;
	clear: none;
	padding: 0;
	margin: 0;
	border-bottom: none;
}

/* ===== メタ情報（専門分野） ===== */
/* dt と dd を同一行にぴったり詰めて表示 */
#Contents #ContentsInner article .faculty-card dl.meta {
	display: block;
	margin: 0 0 16px;
	line-height: 1.7;
}
#Contents #ContentsInner article .faculty-card dl.meta dt,
#Contents #ContentsInner article .faculty-card dl.meta dd {
	display: inline;
}
#Contents #ContentsInner article .faculty-card dl.meta dt {
	font-size: 1.3rem;
	font-weight: 600;
	color: #6c4c99;
	letter-spacing: 0.04em;
}
.faculty-card dl.meta dt::before {
	content: "◆";
	margin-right: 4px;
	color: #c4b3e0;
	font-size: 0.85em;
}
.faculty-card dl.meta dt::after {
	content: "：";
	color: #9066cc;
	margin-right: 2px;
}
#Contents #ContentsInner article .faculty-card dl.meta dd {
	font-size: 1.4rem;
	color: #3a3040;
}

/* ===== 研究紹介 ===== */
#Contents #ContentsInner article .faculty-card .intro {
	font-size: 1.45rem;
	line-height: 1.85;
	color: #2a2030;
	margin: 0 0 22px;
}

/* ===== 著書・論文 見出し ===== */
/* スクリーンリーダー用テキストを視覚的に隠す共通ユーティリティ */
.faculty-card .visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
/* チップ風ラベル＋右側に伸びる細線でセクション区切りを演出 */
#Contents #ContentsInner article .faculty-card h4 {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 24px 0 12px;
	padding: 0;
	border-left: 0;
	font-size: 1.3rem;
	font-weight: 600;
	color: #6c4c99;
	letter-spacing: 0.08em;
	white-space: nowrap;
}
/* テキストの前: 本のアイコン（絵文字風 SVG を CSS 描画は無理なのでシンプル四角＋背景） */
.faculty-card h4::before {
	content: "BOOKS";
	display: inline-block;
	padding: 3px 10px;
	font-size: 1.05rem;
	font-weight: 700;
	font-family: "Helvetica Neue", "Arial", sans-serif;
	letter-spacing: 0.12em;
	color: #fff;
	background: #9066cc;
	border-radius: 3px;
	line-height: 1.3;
	flex-shrink: 0;
}
/* テキストの後: 細い装飾ライン（不要のため非表示） */
.faculty-card h4::after {
	content: none;
}
#Contents #ContentsInner article .faculty-card ul.works {
	list-style: none;
	padding: 0;
	margin: 0 0 22px;
	border-top: 1px solid #f0eaf7;
}
#Contents #ContentsInner article .faculty-card ul.works li {
	/* WorksLatinCyrillic を先頭に置くと Cyrillic/Latin だけ欧文フォントになる */
	font-family: "WorksLatinCyrillic",
								"Hiragino Sans", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN",
								"游ゴシック", YuGothic, "メイリオ", "Meiryo", sans-serif;
	font-size: 1.35rem;
	font-weight: normal;
	line-height: 1.65;
	color: #000;
	padding: 10px 4px 10px 22px;
	border-bottom: 1px solid #f0eaf7;
	position: relative;
}
.faculty-card ul.works li::before {
	content: "";
	position: absolute;
	left: 6px;
	/* 1 行目テキストの垂直中央に合わせる: padding-top 10px + (line-height ≒ 22.3px)/2 − dot半径3px ≒ 18px */
	top: 18px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #c4b3e0;
}

/* ===== 連絡先（カードフッタ） ===== */
#Contents #ContentsInner article .faculty-card dl.contact {
	display: grid;
	grid-template-columns: 5em 1fr;
	gap: 10px 12px;
	margin: 0;
	padding: 16px 18px;
	background: #fbf7ff;
	border-radius: 4px;
	align-items: start;
}
#Contents #ContentsInner article .faculty-card dl.contact dt {
	font-size: 1.15rem;
	font-weight: 600;
	color: #6c4c99;
	letter-spacing: 0.08em;
	padding-top: 0.2em; /* dd 本文のベースラインと揃える */
}
#Contents #ContentsInner article .faculty-card dl.contact dd {
	font-size: 1.35rem;
	line-height: 1.7;
	color: #2a2030;
	word-break: break-all;
}
.faculty-card dl.contact dd a + br + a {
	margin-top: 4px;
}
.faculty-card dl.contact a {
	color: #6c4c99;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.faculty-card dl.contact a:hover {
	color: #9066cc;
}
/* メール（スパム対策表記 / JavaScript で動的生成） */
.faculty-card dl.contact dd.mail {
	font-family: "Helvetica Neue", "Arial", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
	color: #2a2030;
	line-height: 1.6;
}
/* JS が生成する <a><img></a> のアイコンを、CSS で紫の封筒 SVG に差し替え */
.faculty-card dl.contact dd.mail a {
	display: inline-block;
	width: 18px;
	height: 13px;
	margin-right: 6px;
	vertical-align: -2px;
	text-decoration: none;
	border: 0;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'><rect x='1' y='1' width='22' height='16' rx='2' ry='2' fill='none' stroke='%236c4c99' stroke-width='2'/><path d='M2 3 L12 11 L22 3' fill='none' stroke='%236c4c99' stroke-width='2' stroke-linejoin='round'/></svg>") no-repeat center center;
	background-size: contain;
	transition: opacity .15s;
}
.faculty-card dl.contact dd.mail a:hover {
	opacity: 0.6;
}
/* 元の ar-mail.gif は非表示（HTML 構造は参考ページと同一のまま） */
.faculty-card dl.contact dd.mail a img,
.faculty-card dl.contact dd.mail img.border-none {
	display: none;
}
.faculty-card dl.contact dd.mail .caption {
	display: inline;
	color: #6c4c99;
}
.faculty-card dl.contact dd.mail .caption font {
	font-size: 1.1rem;
}

/* ===== レスポンシブ ===== */
@media (max-width: 640px) {
	.faculty-list { margin-top: 36px; }
	.faculty-list > h2 {
		font-size: 1.7rem;
		margin-bottom: 22px;
	}
	.faculty-list > h2::after {
		display: block;
		margin-left: 0;
		margin-top: 4px;
		font-size: 1.0rem;
	}
	.faculty-card.border_box.key-color {
		padding: 22px 20px 20px;
	}
	.faculty-card .catch { font-size: 1.55rem; }
	.faculty-card .name { font-size: 1.5rem; }
	.faculty-card .intro { font-size: 1.35rem; line-height: 1.75; }
	#Contents #ContentsInner article .faculty-card dl.contact {
		grid-template-columns: 1fr;
		gap: 2px 0;
		padding: 14px 14px;
	}
	#Contents #ContentsInner article .faculty-card dl.contact dt { margin-top: 8px; }
	#Contents #ContentsInner article .faculty-card dl.contact dt:first-of-type { margin-top: 0; }
}
