@charset "UTF-8";
*,
*::before,
*::after {
	padding: 0;
	margin: 0;
    box-sizing: border-box;
}
html {
	height: 100%;
}
body {
	font-family: sans-serif;
	height: 100%;
	display: flex;
	flex-direction: column;
}
header {
	flex: 0 0 auto;
	position: relative;
}
#alert,
#notice {
	display: none;
	position: absolute;
	top: 3.5rem;
	right: 1rem;
	color: #ffffff;
	background-color: #ee6e73;
	padding: 0.25rem 0.5rem;
	margin: 0;
	max-width: calc(100vw - 2rem);
}
#notice {
	background-color: #26a69a;
}
#alert::after,
#notice::after {
	content: '';
	position: absolute;
	top: -0.5rem;
	right: 2rem;
	width: 0;
	height: 0;
	border-bottom: 0.5rem solid #ee6e73;
	border-left: 0.25rem solid transparent;
	border-right: 0.25rem solid transparent;
}
#notice::after {
	border-bottom: 0.5rem solid #26a69a;
}
h1 {
	font-size: 1.5rem;
	text-align: center;
	line-height: 2;
	color: #ffffff;
	background-color: #ee6e73;
}
h1 span {
	font-size: smaller;
}
footer {
	flex: 0 0 auto;
	font-size: 0.875rem;
	text-align: center;
	line-break: 1.5;
	color: #ffffff;
	background-color: #ee6e73;
}
main {
	flex: 1 1 auto;
	overflow-y: auto;
}
article {
	max-width: 37.5rem;
	margin: 0 auto;
	padding: 2rem;
}
p {
	margin: 1em 0;
}
label {
	display: block;
	margin-bottom: 0.5rem;
}
p.warn {
	font-size: 0.875rem;
	color: #f44336;
	margin: 0;
}
p.warn:empty {
	display: none;
}
input {
	font: inherit;
	width: 100%;
	padding: 0.5em;
	background-color: #ede7f6;
	border: none;
}
p.warn:not(:empty) + input {
	outline: 2px solid #ee6e73;
}
button[type="submit"] {
	font-size: 0.875rem;
	width: 100%;
	line-height: 3;
	color: #ffffff;
	background-color: #ee6e73;
	border: none;
	margin: 1em 0;
	cursor: pointer;
}
aside {
	max-width: 40rem;
	margin: 0 auto;
	padding: 2rem;
}
/*

        COUTION

*/
#caution {
	color: white;
	background-color: red;
	padding: 1px 1em;
	margin: 1em 0;
}
