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:#fff;
	font-family: "Helvetica Neue",
	Arial,
	"Hiragino Kaku Gothic ProN",
	"Hiragino Sans",
	Meiryo,
	sans-serif;
}

#container{
	max-width:1100px;
	background:#fff;
	border:solid #fff 1px;
	margin:20px auto;
	position:relative;
	width: 95%;
	z-index:10;
}

a{color:#fb3f6d;}

/*ーーーーーーーーーーヘッダーーーーーーーーーーー*/
#header{
	margin:20px 0;
	position:relative;
	text-align:center;
}

#header img{
	display: block;
	margin: 0 auto 20px;
	width: 100%;
}

#header .wrapper{
	background: #e4ff00;
	border: solid #e4ff00 1px;
	border-radius: 10px;
	padding: 10px;
}

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

.backlink a{
	background: #000;
	border-radius: 5px;
	color: #fff;
	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;
}

#header .wrapper p:first-of-type{
	font-weight: bold;
	font-size: 32px;
	margin: 0;
}

#header ul{
	background: #fff;
	padding: 20px 0 20px 25px;
	text-align: left;
}

#header li{
	font-size: 14px;
}


/*ーーーーーーーーーーリストーーーーーーーーーー*/
ul.list{
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
}

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

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

ul.list .thumbnail{
	display: block;
	margin: 0 0 10px;
	overflow: hidden;
	position:relative;
	width: 100%;
}

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

.thumbnail:hover img{
	opacity: 0.8;
	transform: scale(1.1,1.1);
}

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

.newentry{
	text-align:center;
	color:#f06;
	font-size:16px;
	font-weight:bold;
}

 .caption{
	border-bottom: solid #0c9ff9 2px;
	display: block;
	font-weight:bold;
	font-size:16px;
	color:#fb3f6d;
	line-height: 1.5em;
	padding: 10px 0;
}

.caption span{
	color: #000;
	font-weight: normal;
}

ul.list .honnin{
	background: #e4ff00;
	border-radius: 5px;
	color: #000;
	display: none;
	height: 30px;
	line-height: 30px;
	margin: 0 0 10px;
	text-align: center;
	text-decoration: none;
}

.mail{
	display:inline-block;
	text-decoration: none;
	line-height: 15px;
	margin-top: 5px;
	vertical-align: top;
}

.mail:before{
	content:"";
	display:inline-block;
	height:15px;
	margin-right: 3px;
	width:17px;
	background: url(../../img/imgset.png) -220px -15px no-repeat;
}
.mail:hover{
	text-decoration: underline;
}

/*ーーーーーーーーーー上へ戻るボタンーーーーーーーーーー*/

#back-top{
	display:block;
	width:80px;
	height:80px;
	position:fixed;
	bottom:50px;
	left:50%;
	margin-left:470px;
}
#back-top a{
	display:block;
	width:80px;
	height:80px;
	border-radius:10px;
	background: rgba(0,0,0,0.6);
	border:solid #000 1px;
	position:relative;
}
#back-top a:hover{
	opacity: 0.5;
}
#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;
}

/*ーーーーーーーーーーコピーライトーーーーーーーーーー*/
#copyright{
	background:#fb3f6d;
	color:#FFF;
	font-size: 12px;
	margin:0px 0 40px;
	padding:10px;
	text-align:center;
}

/*ーーーーーーーーーー閉じるーーーーーーーーーー*/
#close{
	background-color:#DDD;
	border-radius: 5px;
	padding:5px 20px;
	border:solid #bbb 2px;
	display:block;
	font-size: 12px;
	margin:0px auto 20px;
	width:80px;
	text-align:center;
	color:#333;
	text-decoration:none;
}
#close:hover{
	opacity: 0.8;
}



@media screen and (max-width:800px) {
ul.list li{
	margin-right: 3%;
	width: 48.5%;
}

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

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



@media screen and (max-width:600px) {
#container{
	margin:0 auto;
}

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

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

.list{
	padding: 0;
}

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