.front-profile {
	position: relative;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
	padding: clamp(72px, 9vw, 128px) max(24px, calc((100vw - 1180px) / 2));
	overflow: hidden;
	background:
		linear-gradient(rgba(255, 253, 251, 0.2), rgba(255, 253, 251, 0.2)),
		url("images/background.webp") center / cover no-repeat,
		#fffdfb;
	color: #3d3330;
}

.front-profile::after {
	position: absolute;
	content: "";
	pointer-events: none;
}

.front-profile::after {
	right: -6vw;
	bottom: -110px;
	width: 54vw;
	height: 240px;
	border-top: 1px solid rgba(207, 156, 72, 0.38);
	border-radius: 50%;
	transform: rotate(-5deg);
}

.front-profile__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr);
	align-items: center;
	gap: clamp(44px, 6vw, 88px);
}

.front-profile__media {
	position: relative;
	filter: drop-shadow(0 18px 32px rgba(73, 52, 48, 0.16));
}

.front-profile__media::before,
.front-profile__media::after {
	position: absolute;
	content: "";
	pointer-events: none;
}

.front-profile__media::before {
	z-index: 1;
	inset: -5% -11% -4% -8%;
	border: 1px solid rgba(207, 156, 72, 0.48);
	border-radius: 48% 52% 46% 54%;
	box-shadow:
		18px 16px 0 -17px rgba(207, 156, 72, 0.62),
		-18px -10px 0 -17px rgba(207, 156, 72, 0.42);
	transform: rotate(-8deg);
}

.front-profile__media::after {
	z-index: 3;
	left: -11%;
	bottom: -1%;
	width: 36%;
	height: 42%;
	background: url("images/profile-ornament.svg") left bottom / contain no-repeat;
	opacity: 0.72;
}

.front-profile__photo-frame {
	position: relative;
	z-index: 2;
	overflow: hidden;
	border-radius: 0;
	-webkit-mask-image: url("images/profile-mask.svg");
	mask-image: url("images/profile-mask.svg");
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
}

.front-profile__photo-frame::before {
	display: none;
}

.front-profile__photo {
	display: block;
	width: 100%;
	aspect-ratio: 0.78;
	object-fit: cover;
	object-position: center;
}

.front-profile__body {
	position: relative;
}

.front-profile__script {
	position: absolute;
	top: -82px;
	left: -28px;
	margin: 0;
	color: rgba(196, 93, 109, 0.18);
	font-family: "Times New Roman", serif;
	font-size: clamp(80px, 11vw, 150px);
	font-style: italic;
	line-height: 1;
}

.front-profile__heading {
	position: relative;
	padding-top: 24px;
}

.front-profile__heading::before,
.front-profile__heading::after {
	display: block;
	width: 100%;
	height: 1px;
	background: linear-gradient(90deg, rgba(207, 156, 72, 0), rgba(207, 156, 72, 0.78), rgba(207, 156, 72, 0));
	content: "";
}

.front-profile__heading::before {
	margin-bottom: 22px;
}

.front-profile__heading::after {
	margin-top: 22px;
}

.front-profile__name {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 28px;
	margin: 0;
	background: transparent;
	color: inherit;
	font-weight: 500;
	line-height: 1.1;
}

.front-profile__name-ja {
	font-size: clamp(42px, 4vw, 56px);
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.front-profile__name-en {
	color: #b54b5d;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(17px, 1.7vw, 27px);
	letter-spacing: 0.18em;
	white-space: nowrap;
}

.front-profile__tagline {
	margin: 28px 0 20px;
	color: #b54b5d;
	font-size: clamp(22px, 2.5vw, 34px);
	letter-spacing: 0.14em;
	line-height: 1.5;
}

.front-profile__text {
	font-size: 16px;
	line-height: 2;
}

.front-profile__text p {
	margin: 0;
}

.front-profile__history {
	margin: 28px 0 0;
	border-top: 1px dotted rgba(181, 75, 93, 0.38);
}

.front-profile__history-row {
	display: grid;
	grid-template-columns: 92px 1fr;
	gap: 18px;
	padding: 14px 0;
	border-bottom: 1px solid rgba(181, 75, 93, 0.16);
	font-size: 15px;
	line-height: 1.8;
}

.front-profile__history dt {
	color: #b54b5d;
	font-weight: 500;
}

.front-profile__history dd {
	margin: 0;
	white-space: nowrap;
}

.front-profile__note {
	margin: 22px 0 0;
	padding: 18px 22px;
	border: 1px solid rgba(207, 156, 72, 0.32);
	background: rgba(255, 255, 255, 0.42);
	font-size: 15px;
	line-height: 1.9;
}

.front-profile__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	min-width: min(420px, 100%);
	margin-top: 36px;
	padding: 15px 30px;
	border: 1px solid rgba(233, 190, 128, 0.8);
	border-radius: 999px;
	background: linear-gradient(90deg, #ca858d, #a8384e);
	box-shadow: 0 8px 18px rgba(112, 45, 55, 0.24), inset 0 0 0 3px rgba(255, 255, 255, 0.18);
	color: #fff;
	font-size: 16px;
	line-height: 1.5;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.front-profile__button:hover,
.front-profile__button:focus-visible {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(112, 45, 55, 0.28), inset 0 0 0 3px rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 960px) {
	.front-profile__inner {
		grid-template-columns: 1fr;
	}

	.front-profile__media {
		width: min(560px, 100%);
		margin: 0 auto;
	}

	.front-profile__script {
		top: -48px;
		left: 0;
	}

	.front-profile__history dd {
		white-space: normal;
	}
}

@media screen and (max-width: 640px) {
	.front-profile {
		padding-top: 72px;
		padding-bottom: 84px;
	}

	.front-profile__name {
		display: block;
	}

	.front-profile__name-en {
		display: block;
		margin-top: 10px;
	}

	.front-profile__tagline {
		letter-spacing: 0.08em;
	}

	.front-profile__history-row {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.front-profile__button {
		width: 100%;
	}
}
