@charset "UTF-8";
/**
 * 著者・監修者情報ボックス スタイル
 * 単独CSSとして読み込むか、style.cssに追記してください
 */

.author-supervisor-box {
	margin: 70px 0 40px;
	padding: 32px 28px;
	background: #f8f9fb;
	border: 1px solid #e2e6eb;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.7;
	color: #333;
}

.author-supervisor-box__title {
	font-size: 18px;
	font-weight: bold;
	margin: 0 0 24px;
	padding-bottom: 12px;
	border-bottom: 2px solid #db5c5c;
	color: #1a1a1a;
	text-align: left;
}

.author-supervisor-box__person {
	margin-bottom: 24px;
	padding-bottom: 24px;
	border-bottom: 1px dashed #d0d6de;
}

.author-supervisor-box__person:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.author-supervisor-box__label {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 16px;
}

.author-supervisor-box__role {
	display: inline-block;
	padding: 4px 12px;
	background: #db5c5c;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	border-radius: 4px;
	letter-spacing: 0.05em;
}

.author-supervisor-box__person--author .author-supervisor-box__role {
	background: #2e75b6;
}

.author-supervisor-box__person--default .author-supervisor-box__role {
	background: #6c757d;
}

.author-supervisor-box__reviewed {
	font-size: 12px;
	color: #666;
}

.author-supervisor-box__reviewed time {
	font-weight: bold;
	color: #1a1a1a;
}

.author-supervisor-box__inner {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.author-supervisor-box__image {
	flex-shrink: 0;
	margin: 0;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e2e6eb;
}

.author-supervisor-box__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.author-supervisor-box__info {
	flex: 1;
	min-width: 0;
}

.author-supervisor-box__name {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: bold;
	color: #1a1a1a;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 12px;
}

.author-supervisor-box__name a {
	color: #2e75b6;
	text-decoration: underline;
}

.author-supervisor-box__name a:hover {
	color: #db5c5c;
}

.author-supervisor-box__job-title {
	font-size: 13px;
	font-weight: normal;
	color: #555;
	padding: 2px 10px;
	background: #fff;
	border: 1px solid #e2e6eb;
	border-radius: 3px;
}

.author-supervisor-box__affiliation {
	margin: 0 0 6px;
	font-size: 13px;
	color: #555;
}

.author-supervisor-box__credentials {
	margin: 0 0 10px;
	padding: 6px 10px;
	font-size: 12px;
	background: #fff8e6;
	border-left: 3px solid #ffc107;
	color: #555;
	border-radius: 0 3px 3px 0;
}

.author-supervisor-box__bio {
	margin: 0;
	font-size: 13px;
	color: #444;
	line-height: 1.8;
}

/* スマホ対応 */
@media (max-width: 640px) {
	.author-supervisor-box {
		margin: 40px -10px;
		padding: 24px 18px;
		border-radius: 0;
		border-left: none;
		border-right: none;
	}

	.author-supervisor-box__title {
		font-size: 16px;
		margin-bottom: 20px;
	}

	.author-supervisor-box__inner {
		flex-direction: column;
		gap: 16px;
		align-items: center;
		text-align: center;
	}

	.author-supervisor-box__image {
		width: 80px;
		height: 80px;
	}

	.author-supervisor-box__info {
		width: 100%;
		text-align: left;
	}

	.author-supervisor-box__name {
		justify-content: flex-start;
	}

	.author-supervisor-box__label {
		justify-content: flex-start;
	}
}
