@charset "UTF-8";

.content-protection-badge {
	align-items: center;
	background: #f8e5e8;
	border: 1px solid rgba(217, 128, 144, .3);
	border-radius: 999px;
	color: #76564c;
	display: inline-flex;
	font-size: .7rem;
	font-weight: 600;
	gap: .35rem;
	letter-spacing: .02em;
	line-height: 1.4;
	margin-left: .65rem;
	padding: .22rem .65rem;
	vertical-align: .15em;
}

.nursery-letter__list .content-protection-badge {
	display: flex;
	font-size: .7rem;
	margin: .65rem auto 0;
	width: max-content;
}

.content-protection-badge__icon,
.content-protection__icon {
	border: 2px solid currentColor;
	border-radius: 2px;
	display: inline-block;
	position: relative;
}

.content-protection-badge__icon {
	height: .55rem;
	margin-top: .18rem;
	width: .65rem;
}

.content-protection-badge__icon::before,
.content-protection__icon::before {
	border: 2px solid currentColor;
	border-bottom: 0;
	border-radius: 999px 999px 0 0;
	content: "";
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
}

.content-protection-badge__icon::before {
	height: .4rem;
	top: -.48rem;
	width: .4rem;
}

.content-protection {
	background: linear-gradient(135deg, #fffdf9, #f8e5e8);
	border: 1px solid rgba(217, 128, 144, .28);
	border-radius: 24px;
	box-shadow: 0 16px 45px rgba(118, 86, 76, .1);
	color: #4f4641;
	margin: 2rem auto;
	max-width: 680px;
	padding: clamp(2rem, 6vw, 3.5rem);
	text-align: center;
}

.content-protection__icon {
	color: #d98090;
	height: 2.25rem;
	margin: 1rem auto 1.4rem;
	width: 2.75rem;
}

.content-protection__icon::before {
	height: 1.8rem;
	top: -1.95rem;
	width: 1.8rem;
}

.content-protection__title {
	color: #76564c;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
	font-size: clamp(1.2rem, 3vw, 1.55rem);
	font-weight: 600;
	line-height: 1.6;
	margin: 0;
}

.content-protection__description {
	font-size: .95rem;
	line-height: 1.8;
	margin: .8rem 0 0;
}

.letter-file-protection {
	background: #fff7f8;
	border: 1px solid rgba(217, 128, 144, .32);
	border-radius: 16px;
	margin: 2rem 0;
	padding: clamp(1.25rem, 4vw, 2rem);
}

.letter-file-protection__title {
	color: #76564c;
	font-size: 1.05rem;
	font-weight: 600;
	margin: 0;
}

.letter-file-protection__error {
	color: #b42318;
	font-size: .9rem;
	font-weight: 600;
	margin: .75rem 0 0;
}

.letter-file-protection .content-protection__form {
	margin-top: 1rem;
}

.content-protection__form {
	margin-top: 1.75rem;
	text-align: left;
}

.content-protection__form label {
	display: block;
	font-size: .85rem;
	font-weight: 600;
	margin-bottom: .5rem;
}

.content-protection__controls {
	display: flex;
	gap: .75rem;
}

.content-protection__controls input {
	background: #fff;
	border: 1px solid rgba(118, 86, 76, .28);
	border-radius: 10px;
	box-sizing: border-box;
	font: inherit;
	min-height: 3.25rem;
	min-width: 0;
	padding: .7rem 1rem;
	width: 100%;
}

.content-protection__controls input:focus {
	border-color: #d98090;
	box-shadow: 0 0 0 3px rgba(217, 128, 144, .2);
	outline: 0;
}

.content-protection__controls button {
	background: #d98090;
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	flex: 0 0 auto;
	font: inherit;
	font-weight: 600;
	min-height: 3.25rem;
	padding: .7rem 1.75rem;
	transition: background-color .2s, transform .2s;
}

.content-protection__controls button:hover,
.content-protection__controls button:focus-visible {
	background: #c96d7d;
	transform: translateY(-2px);
}

@media (max-width: 600px) {
	.content-protection-badge {
		display: flex;
		margin: .65rem 0 0;
		width: max-content;
	}

	.content-protection__controls {
		flex-direction: column;
	}

	.content-protection__controls button {
		width: 100%;
	}
}
