html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

.bold{font-weight:bold;}

body{
	background: #290b15;
	line-height:1.5em;
	font-size:16px;
	font-family:'Hiragino Kaku Gothic ProN',Meiryo, sans-serif;
}

#container{
	max-width:1100px;
	background: #290b15;
	margin:20px auto;
	position:relative;
	width: 95%;
	z-index:10;
}

#header{
	background: #290b15;
	margin: 0 auto 40px;
}

#header img{
	display: block;
	width: 100%;
}

#toptext{
	padding: 1px 20px 20px;
}

#toptext .wrapper{
	background: #fff;
	border-radius: 5px;
	color: #333;
	padding: 20px;
}

#toptext .caption{
	font-size: 130%;
	font-weight: bold;
	line-height: 1.5em;
	margin: 20px 0 0;
}

#toptext img{
	width: 500px;
}

#toptext .caption:first-of-type{
	margin: 0;
}

#header ul{
	margin-left: 20px;
}

#toptext .vote{
	background: #ea023e;
	border-radius: 5px;
	color: #fff;
	display:block;
	font-size: 20px;
	height: 46px;
	line-height: 46px;
	margin: 10px auto;
	position: relative;
	text-align: center;
	text-decoration: none;
	transition : all 0.5s ease 0s;
	width: 100%;
}

#toptext .vote:after{
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	right: 20px;
	width: 9px;
	height: 9px;
	margin: auto;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
	box-sizing: border-box;
}

.backlink{
	display: flex;
	margin-bottom: 40px;
	padding: 0 20px 20px;
}

.backlink a{
	background: #fff;
	border-radius: 5px;
	color: #ea023e;
	display: block;
	font-size: 16px;
	height: 2.6em;
	line-height: 2.6em;
	text-align: center;
	text-decoration: none;
	transition : all 0.5s ease 0s;
	width: 49%;
}

.backlink a:first-of-type{
	margin-right: 2%;
}

.backlink a:hover{
	opacity: 0.75;
}

.list_wrapper{
	padding: 0 20px;
}

.list_wrapper ul{
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
}

.list_wrapper ul li{
	display:flex;
	flex-direction:column;
	margin-bottom: 40px;
	margin-right: 2%;
	width: 32%;
}

.list_wrapper ul li:nth-of-type(3n){
	margin-right: 0;
}

.list_wrapper .image{
	display: block;
	margin: 0 0 10px;
	overflow: hidden;
	position:relative;
}

.list_wrapper .image img{
	width: 100%;
	transition: 0.5s;
}

.list_wrapper .image img:hover{
	transform: scale(1.1,1.1);
}

.list_wrapper ul .name{
	background: #ea023e;
	border-radius: 5px;
	color: #fff;
	display: block;
	height: 30px;
	line-height: 30px;
	margin: 0 0 10px;
	text-align: center;
	text-decoration: none;
}

#copyright{
	font-size: 10px;
	padding:10px;
	color:#FFF;
	background:#000;
	text-align:center;
	margin: 0 0 40px;
}

#back-top{
	display:block;
	width:80px;
	height:80px;
	position:fixed;
	bottom:50px;
	left:50%;
	margin-left:470px;
	z-index: 1000;
}
#back-top a{
	display:block;
	width:80px;
	height:80px;
	border-radius:10px;
	background: rgba(0,0,0,0.8);
	border:solid rgba(0,0,0,0.8) 1px;
	position:relative;
}
#back-top a:hover{
	opacity: 0.75;
}
#back-top a span{
	display:block;
	width: 20px;
	height: 20px;
	border-top: 3px solid #fff;
	border-left: 3px solid #fff;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	margin:35px auto;
}
#close{
	background-color:#ccc;
	border-radius: 5px;
	padding:5px;
	display:block;
	font-size: 12px;
	margin:0px auto 20px;
	width: 120px;
	text-align:center;
	color:#333;
	text-decoration:none;
}
#close:hover{
	opacity: 0.75;
}

@media screen and (max-width:800px) {
#toptext img{
	width: 100%;
}

.list_wrapper ul li{
	margin-right: 3%;
	width: 48.5%;
}

.list_wrapper ul li:nth-of-type(3n){
	margin-right: auto;
}

.list_wrapper ul li:nth-of-type(2n){
	margin-right: 0;
}
}

@media screen and (max-width:600px) {
#toptext{
	padding: 1px 0 20px;
}

.backlink{
	display: flex;
	margin-bottom: 40px;
	padding: 0 0 10px;
}

.list_wrapper{
	padding: 0;
}

.list_wrapper ul li{
	margin-right: 0;
	width: 100%;
}
}