/**
 * #Message page
 */

.p-message {
	background-color: transparent;
	color: #111;
}

.p-message__main {
	padding: 60px;

	@media (max-width: 768px) {
		padding: 30px 20px;
	}
}

.p-message__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 58px;
	max-width: 1000px;
	margin-inline: auto;

	@media (max-width: 768px) {
		flex-direction: column;
		align-items: center;
		gap: 30px;
	}
}

.p-message__portrait {
	flex-shrink: 0;
	width: 200px;
	height: 200px;
	overflow: hidden;
	border-radius: 50%;

	img {
		display: block;
		width: 100%;
		height: 100%;
		max-width: none;
		object-fit: cover;
		object-position: center top;
	}

	@media (max-width: 768px) {
		margin: 0;
		width: 150px;
		height: 150px;
	}
}

.p-message__content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 34px;

	@media (max-width: 768px) {
		width: 100%;
		gap: 20px;
		align-items: center;
	}
}

.p-message__catch {
	align-self: flex-start;
	width: fit-content;
	max-width: 100%;
	margin: 0;
	color: var(--white);
	font-size: clamp(24px, calc(48 / 1440 * 100vw), 48px);
	font-weight: 900;
	letter-spacing: 0.05em;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	font-feature-settings: "palt";
	.c-mark__text {
		white-space: nowrap;
	}
	@media (max-width: 768px) {
		align-self: flex-start;
		white-space: normal;
		font-size: 23px;
		letter-spacing: 0.05em;
		margin-inline: auto;
	}
}

.p-message__body {
	display: flex;
	flex-direction: column;
	gap: 15px;
	font-size: 20px;
	font-weight: 500;
	line-height: 2;

	p {
		margin: 0;
	}

	@media (max-width: 768px) {
		width: 100%;
		font-size: 16px;
		line-height: 2;
	}
}

.p-message__sign {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 2;
	text-align: right;

	@media (max-width: 768px) {
		width: 100%;
		font-size: 16px;
	}
}
