main{
	padding-bottom:30px;
}

#back{
	padding: 10px 0 0;
	text-align: right;
}

#back a{
	text-decoration: none;
	color: #333;
	font-size: 30px;
	font-weight: bold;
}

/* プロフィール
---------------------------------------*/

.designerBox{
	padding:0;
	margin:0px 0 30px;
}

h2{
	font-size:20px;
}

.pGroup{
	display:flex;
	align-items:center;
}

@media(max-width:560px){

	.designerBox .pGroup{
		padding:0 20px;
		display:block;
	}

}

.profimage{
	padding:10px;
	margin-right: 30px;
}

.profimage img{
	width:auto;
	height:150px;
	display:block;
	border:1px solid #ccc;
	box-sizing:border-box;
}

.profBox{
	padding:10px 0;
}

#message{
	font-size: 14px;
}

#message span{
	padding:5px 0 0;
	margin: 0;
	line-height: 1.0;
	width: 100%;
	text-align: center;
	font-size: 12px;
}

#message span a{
	color: #00F;
}


.profBox p{
	line-height:1.0;
	margin:5px 0;
	color:#333;
	font-size:16px;
}

.profBox h3{
	margin:0;
	color:#333;
	font-size:24px;
}

.profBox h3 a{
	line-height:1;
	display:inline-block;
	padding:5px 20px;
	border:1px solid #ccc;
	font-size:16px;
	color:#333;
	text-align: center;
	text-decoration: none;
}


/* ワークリスト
---------------------------------------*/
#scroller{
	width: 100%;	
	overflow: auto;
}

.templateList{
	list-style:none;
	width:100%;
	padding:0;
	margin:0;
	display:flex;
	flex-wrap: wrap;
}

.templateList li{
	width:calc((100% / 4 ) - 20px);
	padding:0;
	margin:0 10px 20px;
	text-align: center;
	box-sizing: border-box;
	position: relative;
	display: flex;
	align-items:flex-end;
	padding-bottom: 30px;
	cursor: pointer;
}

.templateList p{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	color:#333;
	text-align:center;
	font-size: 14px;
	margin:5px 0;
}

.templateList img.v0{
	width:154px;
	height:106px;
	margin:0 auto;
	display:block;
	box-shadow: 3px 3px 5px rgba(0,0,0,.2);
	border:1px solid rgba(0,0,0,.1);
}

.templateList img.v1{
	width:106px;
	height:154px;
	margin:0 auto;
	display:block;
	box-shadow: 3px 3px 5px rgba(0,0,0,.2);
	border:1px solid rgba(0,0,0,.1);
}

/*.templateList img.v1{
	width:auto;
	height:100%;
	object-fit: contain;
	margin:0 auto;
	display:block;
}
*/

/* ################# 680 以下 #################### */
@media(max-width: 680px){

.templateList li{
	width:140px;
}

/*	.templateList{
		flex-wrap:nowrap;
		align-items: center;
	}

	.templateList li{
		width:180px;
	}

	.templateList li img{
		height:180px;
		width:180px;
		object-fit: contain;
	}
*/
}

#prev{
	display: none;
}


#prev.active{
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: #000A;
	padding: 0 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

#prev.active #closeBtn{
	position: absolute;
	top: 20px;
	left:20px;
	width:calc(100% - 40px);
	text-align:right;
}

#prev.active #image{
	width: 100%;
	max-width:440px;
	height: 100%;
	max-height: 400px;
	background:none;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#prev.active #image img{
	width:calc(100% - 80px);
	height:100%;
	object-fit: contain;
	margin: 0 auto;
}

#prev.active #image span{
	display: inline-block;
	color: #FFF;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	width: 20px;
}

#prev.active #closeBtn span{
	display: inline-block;
	width: 40px;
	height: 40px;
	font-size: 20px;
	text-align: center;
	line-height: 40px;
	cursor: pointer;
	background: #FFF;
	color: #000;
	font-weight: bold;
	box-sizing: border-box;
	margin: 0 5px;
}

#prev.active #form{
	text-align: center;
	padding: 10px;
}

#prev.active #submit{
	padding: 10px 20px;
	border: 1px solid #333;
	border-radius: 7px;
	cursor: pointer;
}