@import url('https://fonts.googleapis.com/css2?family=Potta+One&family=Zen+Maru+Gothic&display=swap');

body {
	margin: 0px;
	padding: 0px;
	font-size: 2vw;
	background-color: #E3007F;
	font-family: "Zen Maru Gothic";

}

main {
	width: 60vw;
	margin: 5vw auto;
	padding: 5vw;
	background-color: #ffffff;
	border-radius: 5vw;
	box-shadow: 0px 1vw 2vw #ffffff77;
	color: #333333;
}

@media screen and (max-width: 800px) {
	main {
		width: 80vw;
		font-size: 3vw;
	}
}


h2 {
	margin-top: 0px;
	margin-bottom: 2vw;
	padding: 2vw 3vw;
	font-size: 1em;

	/*たてぼう*/
	border-left: 2vw solid #4facfe;

	/*しゃせん*/
	background: repeating-linear-gradient(-45deg,
			#f0f8ff,
			#f0f8ff 1vw,
			#e6f2ff 1vw,
			#e6f2ff 2vw);
	border-radius: 0 1vw 1vw 0;
}

ul {
	list-style: none;
	padding: 0px;
	margin: 0px;
}

li {
	margin-bottom: 3vw;
	font-weight: bold;
	color: #2c3e50;
}


input,
select,
textarea {
	width: 100%;
	box-sizing: border-box;
	margin-top: 1vw;
	padding: 1vw 2vw;
	border: 0.5vw solid #e0e0e0;
	border-radius: 2vw;
	background-color: #fdfdfd;
	transition: all 0.5s ease;
	font-size: 1em;
	font-family: "Zen Maru Gothic";

}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: #4facfe;
	box-shadow: 0 0 0 0.5vw #4facfe93;
	background-color: #ffffff;
}

textarea {
	resize: vertical;
}

select {
	cursor: pointer;
	appearance: none;
	/* 矢印を消す */
	/* SVGでシンプル矢印を背景として配置 */
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 2vw center;
	background-size: 2vw;
	padding-right: 10vw;
}

form span {
	color: #888888;
	font-size: 0.8em;
	display: inline-block;
}

#btns {
	display: flex;
	justify-content: center;
	gap: 2vw;
	margin: 5vw auto 0;
}

button {
	display: block;
	width: 60%;
	padding: 2vw 6vw;
	background-color: #4facfe;
	color: #ffffff;
	font-size: 1.5em;
	font-weight: bold;
	font-family: "Zen Maru Gothic";
	border: none;
	border-radius: 1.5em;
	cursor: pointer;
	box-shadow: 0 1vw 2vw rgba(255, 118, 87, 0.3);
	transition: all 0.3s ease;
}

@media screen and (max-width: 800px) {
	#btns {
		flex-direction: column;
	}

	button {
		width: 100%;
	}
}

h1 {
	margin-top: 3vw;
	font-size: 2vw;
	color: #888888;
	text-align: center;
	font-weight: normal;
}

.err {
	font-size: 1.2em;
	font-family: "Potta One";
	text-align: center;
	color: #E3007F;
}

#fin {
	display: grid;
	align-items: center;
	height: 50vh;
}