@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,500;1,700&display=swap');

* {
	margin: 0; padding: 0;
	box-sizing: border-box;
	list-style-type: none;
	word-wrap: break-word;
}
body {
	padding: 30px 0 0;
	background: linear-gradient( #333, #222 );
	color: #fff;
	font-family: sans-serif;
}
h1 {
	width: 100vw;
	margin: 0 0 30px;
	text-align: center; 
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700; font-style: italic;
	font-size: 20px;
}

input { font-size: 16px; }

skin {
	display: block;
	margin: 0 0 30px;
}
reset {
	display: block;
	margin: 120px 0 30px;
}

film > div {
	width: 90%; height: 80px;
	margin: 0 5% 30px;
	position: relative;
}
film > div > input[type="text"] {
	width: calc( 100% - 140px ); height: 40px;
	margin: 0 0 10px 50px;
	font-size: 16px;
	color: #fff;
	background: transparent;
	border: none;
	border-bottom: 1px solid #fff;
}
film > div > input[type="file"] {
	width: calc( 100% - 140px ); height: 30px;
	margin: 0 0 0 50px;
	display: block;
	font-size: 0;
}
film > div > input[type="file"]::file-selector-button {
	opacity: 0;
}
film > div > input[type="file"]::before {
	content: "画像を選択";
	display: block;
	width: 100%; height: 27px;
	padding: 3px 0 0;
	background: #444;
	color: #333;
	font-size: 14px;
	text-align: center;
	border-radius: 800px;
}
film > div > input[type="file"]:hover::before { background: #fff; }
film > div > img {
	width: 80px; height: 80px;
	position: absolute; right: 0; top: 0;
	object-fit: contain;
	background: #444;
	border-radius: 5px;
	overflow: hidden;
}
film > div > a.del {
	width: 80px; height: 80px;
	display: block;
	padding: 32px 0 0;
	position: absolute; right: 0; top: 0;
	border-radius: 5px;
	overflow: hidden;
	opacity: 0;
	font-size: 14px; line-height: 1em;
	text-align: center;
	background: rgb(0 0 0 / .8);
}
film > div > a.del:hover { opacity: 1; }

film > div > a.moveUp {
	display: block;
	width: 40px; height: 40px;
	padding: 8px 0 0;
	background: #444;
	color: #333;
	text-align: center;
	font-size: 24px; line-height: 1em;
	border-radius: 5px 5px 0 0;
	position: absolute; left: 0; top: 0;
}
film > div > a.moveUp:hover { color: #fff; }

film > div > a.moveDown {
	display: block;
	width: 40px; height: 40px;
	padding: 8px 0 0;
	background: #444;
	color: #333;
	text-align: center;
	font-size: 24px; line-height: 1em;
	border-radius: 0 0 5px 5px;
	position: absolute; left: 0; bottom: 0;
}
film > div > a.moveDown:hover { color: #fff; }



#skin {
	width: 90%;
	margin: 0 5%; padding: 8px;
	background: #333;
	color: #fff;
	border: 1px solid #fff;
	border-radius: 4px;
}

#reset {
	width: 90%;
	margin: 0 5%; padding: 8px;
	background: transparent;
	color: #f44;
	border: 1px solid #f44;
	border-radius: 4px;
}

footer > a {
	display: block;
	width: 100%;
	padding: 8px 0;
	background: #fff;
	color: #333;
	text-align: center;
	font-size: 12px;
	text-decoration: none;
}
