/* リンクインバイオ（プロフィール）ページ */

body.p-profile-page {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	background: #111;
	color: #111;
	font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	-webkit-font-smoothing: antialiased;
}

body.p-profile-page #fix_bottom_menu,
body.p-profile-page .p-fixBtnWrap,
body.p-profile-page .c-fixBtn,
body.p-profile-page .l-header,
body.p-profile-page .p-spHead,
body.p-profile-page #footer {
	display: none !important;
}

.p-profile {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
}

.p-profile__bg {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: auto;
	pointer-events: none;
}

.p-profile__inner {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(420px, calc(100% - 32px));
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0 auto;
	padding: 36px 0 28px;
	padding-top: calc(36px + env(safe-area-inset-top, 0px));
	padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
}

.p-profile__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	margin-bottom: 28px;
	text-align: center;
}

.p-profile__logo-link {
	display: block;
	margin: 0 0 18px;
	color: inherit;
	text-decoration: none;
}

.p-profile__logo-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 152px;
	height: 152px;
	margin: 0;
	padding: 18px;
	background: #fff;
	border-radius: 50%;
}

.p-profile__logo {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

.p-profile__name {
	margin: 0 0 8px;
	color: #111;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.4;
	-webkit-text-stroke: 3px #f0f0f0;
	paint-order: stroke fill;
	text-shadow:
		-1px -1px 0 #f0f0f0,
		1px -1px 0 #f0f0f0,
		-1px 1px 0 #f0f0f0,
		1px 1px 0 #f0f0f0;
}

.p-profile__lead {
	margin: 0;
	color: #222;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.7;
	-webkit-text-stroke: 2px #f0f0f0;
	paint-order: stroke fill;
	text-shadow:
		-1px -1px 0 #f0f0f0,
		1px -1px 0 #f0f0f0,
		-1px 1px 0 #f0f0f0,
		1px 1px 0 #f0f0f0;
}

.p-profile__nav,
.p-profile__list {
	width: 100%;
}

.p-profile__list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.p-profile__btn,
.p-profile__btn:visited,
.p-profile__btn:focus {
	position: relative;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 76px;
	padding: 12px 16px 12px 14px;
	overflow: hidden;
	color: #111;
	text-decoration: none;
	border: 4px solid transparent;
	border-radius: 20px;
	background:
		linear-gradient(#fff, #fff) padding-box,
		linear-gradient(
			90deg,
			#1f2d4d 0%,
			#3f8fd6 16%,
			#ef9a2a 34%,
			#f6d34a 50%,
			#ef9a2a 66%,
			#3f8fd6 84%,
			#1f2d4d 100%
		) border-box;
	background-origin: border-box;
	background-size: auto, 200% 100%;
	background-position: 0 0, 0% 50%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition: background-position 0.35s ease;
}

.p-profile__btn:hover,
.p-profile__btn:focus-visible {
	background-position: 0 0, 100% 50%;
}

.p-profile__btn:focus-visible {
	outline: 2px solid #1a1a1a;
	outline-offset: 3px;
}

.p-profile__icon {
	display: flex;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
}

.p-profile__icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.p-profile__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	text-align: left;
}

.p-profile__title {
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.4;
}

.p-profile__text {
	display: block;
	color: #333;
	font-size: 0.68rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.55;
}

.p-profile__copy {
	margin: auto 0 0;
	padding-top: 28px;
	color: #fff;
	font-size: 0.7rem;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-align: center;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

@media (min-width: 768px) {
	.p-profile__inner {
		width: min(460px, calc(100% - 48px));
		padding-top: 48px;
	}

	.p-profile__logo-wrap {
		width: 168px;
		height: 168px;
		padding: 20px;
	}

	.p-profile__name {
		font-size: 1.4rem;
	}

	.p-profile__lead {
		font-size: 0.85rem;
	}

	.p-profile__btn {
		min-height: 82px;
		padding: 14px 20px 14px 16px;
		border-width: 5px;
		border-radius: 22px;
	}

	.p-profile__icon {
		flex-basis: 48px;
		width: 48px;
		height: 48px;
	}

	.p-profile__title {
		font-size: 1.02rem;
	}

	.p-profile__text {
		font-size: 0.74rem;
	}
}
