@charset "utf-8";

/* ===================================
   メンバーページ専用スタイル - 自己紹介ノート風
   =================================== */

/* プロフィール全体 */
#concept {
	max-width: 1400px;
	margin: auto;
	padding: 0 20px;
}

/* 名前（見出し） - ノート風デザイン */
#concept h3 {
	font-size: 28px;
	font-weight: 800;
	color: #1c3177;
	padding: 25px 30px;
	margin-top: 60px;
	margin-bottom: 0;
	background: #ffffff;
	border-left: 8px solid #013682;
	border-radius: 8px 8px 0 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	position: relative;
	line-height: 1.5;  /* 1.6 → 1.5 */
}

/* 最初の見出しのマージン調整 */
#concept h3:first-of-type {
	margin-top: 0;
}

/* ノートの罫線風装飾 */
#concept h3::before {
	content: '';
	position: absolute;
	left: 10px;
	bottom: 8px;
	width: 50%;
	height: 2px;
	background: linear-gradient(to right, #013682 0%, transparent 100%);
	opacity: 0.3;
}

/* リンク（→研究業績一覧） */
#concept h3 dd {
	margin-top: 10px;
	font-size: 18px !important;  /* 16px → 18px, !importantで強制 */
	font-weight: normal;
}

/* プロフィールカード全体 */
.profile-container {
	display: flex;
	align-items: flex-start;
	gap: 40px;
	padding: 40px;
	background: #ffffff;
	border: 1px solid #e9ecef;
	border-top: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	border-radius: 0 0 12px 12px;
	margin-bottom: 60px;
}

/* 写真部分 */
.profile-img {
	width: 280px;
	height: 280px;
	min-width: 280px;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	border: 4px solid #fff;
}

/* 情報部分 */
.profile-info {
	flex: 1;
	min-width: 0;
}

/* セクションタイトル（学歴、職歴など） */
.section-title {
	font-size: 21px !important;
	font-weight: 700;
	color: #013682;
	margin-top: 25px;     /* 前の項目との間隔 */
	margin-bottom: 10px;  /* ★下の表との間隔：この値で調整 (0〜10px) */
	padding-left: 10px;
	margin-left: 5px;  /* ←この行を追加（縦線ごと右に移動） */
	border-left: 4px solid #4a90e2;
	display: block;      /* inline-block → block に変更 */
}

/* セクションタイトルを含むpタグ */
.profile-info > p {
	line-height: 1 !important;
	margin: 0 !important;  /* すべてのマージンを0に */
	padding: 0 !important;  /* すべてのパディングを0に */
}

/* 最初のpタグ */
.profile-info > p:first-child {
	margin-top: 0 !important;
}

/* 最初のセクションタイトル */
.profile-info > p:first-child .section-title,
#concept > p:first-of-type .section-title {
	margin-top: 0;
}

/* ===================================
   経歴テーブル - ノート風リスト
   =================================== */
.member-table0 {
	width: 100%;
	border-collapse: collapse;
	margin-top: 0px !important;   /* 8px → 5px, さらに詰める */
	margin-bottom: 0px !important;  /* 15px → 10px, さらに詰める */
	background: #fafbfc;
	border-radius: 8px;
	overflow: hidden;
}

.member-table0 td {
	padding: 6px 16px !important;
	line-height: 1.5 !important;
	vertical-align: top;
	border-bottom: 1px solid #e9ecef;
	font-size: 18px !important;  /* 16px → 18px, !importantで強制 */
}

/* 最後の行のボーダーを削除 */
.member-table0 tr:last-child td {
	border-bottom: none;
}

/* 日付列 */
.member-table0 .date {
	width: 110px;
	text-align: left;
	color: #013682;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
	font-size: 18px !important;  /* 16px → 18px, !importantで強制 */
	white-space: nowrap;
}

/* 内容列 */
.member-table0 .content {
	text-align: left;
	color: #1c3177;
	font-size: 18px !important;  /* 16px → 18px, !importantで強制 */
}

/* テーブルにホバー効果 */
.member-table0 tr:hover {
	background: #f1f3f5;
	transition: background 0.2s;
}

/* リスト項目 - 箇条書きスタイル */
#concept ul {
	margin-left: 0;
	margin-bottom: 15px;  /* 20px → 15px */
	padding-left: 0;      /* 24px → 0px（マーカー削除のため） */
	list-style: none;     /* disc → none */
}

#concept ul li {
	line-height: 1.5;     /* 1.8 → 1.5 */
	margin-bottom: 4px;   /* 6px → 4px */
	color: #1c3177;
	font-size: 16px;      /* 15px → 16px */
	padding-left: 0;      /* インデント削除 */
}

/* カスタム箇条書きマーカー削除 */
#concept ul li::marker {
	content: none;
}

/* Publication（論文）用のリスト */
.profile-info ul li,
#concept > ul li {
	padding: 4px 0;       /* 6px → 4px */
	border-bottom: 1px dashed #e9ecef;
}

.profile-info ul li:last-child,
#concept > ul li:last-child {
	border-bottom: none;
}

/* hr - 区切り線 */
#concept hr {
	border: none;
	height: 2px;
	background: linear-gradient(to right, #013682, #4a90e2, transparent);
	opacity: 0.3;
	margin: 0 0 60px 0;
}

/* ===================================
   リンク - アクセント
   =================================== */
#concept a {
	text-decoration: none;
	color: #0066cc;
	font-weight: 500;
	transition: all 0.3s;
	font-size: 18px !important;  /* 16px → 18px, !importantで強制 */
}

#concept a:hover {
	color: #004499;
	text-decoration: underline;
}

/* 外部リンクアイコン風 */
#concept h3 a::after {
	content: " →";
	font-size: 0.9em;
}

/* ===================================
   レスポンシブ
   =================================== */
@media (max-width: 900px) {
	.profile-container {
		flex-direction: column;
		gap: 30px;
	}

	/* 顔写真を最初に表示 */
	.profile-img {
		width: 100%;
		max-width: 280px;
		height: 280px;
		min-width: auto;
		margin: 0 auto;
		order: -1;  /* 最初に表示 */
	}

	/* 経歴情報を2番目に表示 */
	.profile-info {
		order: 0;
	}
}

@media (max-width: 768px) {
	#concept {
		padding: 0 10px;
	}

	#concept h3 {
		font-size: 20px !important;  /* 24px → 20px */
		padding: 15px;
	}

	.profile-container {
		padding: 20px 15px;
	}

	.member-table0 .date {
		width: 90px;
		font-size: 13px !important;  /* 14px → 13px */
	}

	.member-table0 .content {
		font-size: 14px !important;  /* 15px → 14px */
	}

	.member-table0 td {
		font-size: 14px !important;  /* 15px → 14px */
		padding: 6px 12px !important;  /* パディングも小さく */
	}

	.section-title {
		font-size: 15px !important;  /* 17px → 16px */
	}

	#concept ul li {
		font-size: 12px !important;
	}

	#concept a {
		font-size: 12px !important;
	}

	#concept h3 dd {
		font-size: 12px !important;
	}
}

@media (max-width: 480px) {
	#concept h3 {
		font-size: 18px !important;  /* 20px → 18px */
		padding: 12px;
	}

	.profile-container {
		padding: 15px 10px;
	}

	.profile-img {
		max-width: 200px;
		height: 200px;
	}

	.member-table0 .date {
		width: 80px;
		font-size: 12px !important;  /* 13px → 12px */
	}

	.member-table0 td {
		font-size: 13px !important;  /* 14px → 13px */
		padding: 5px 10px !important;
	}

	.section-title {
		font-size: 14px !important;  /* 16px → 15px */
	}

	#concept ul li {
		font-size: 12px !important;
	}

	#concept a {
		font-size: 12px !important;
	}

	#concept h3 dd {
		font-size: 12px !important;
	}
}