/* lightbox
---------------------------------------------*/

#lightbox{
	position: fixed;
	top: 100%;
	left: -200px;
	height:0;
	width:0;
	background:#0009;
	transition-duration:.5s;
	padding: 0 0 120px;
	margin: 0;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

#lightbox.active{
	top: 60px;
	left: 0;
	height:calc(100vh - 60px);
	width: 100%;
	background:#000C;
}

.closebox{
	width: 40px;
	height: 40px;
	margin: 10px 10px 0 auto;
	font-size: 40px;
	color: #ccc;
	padding:0;
	cursor: pointer;
	line-height: 1.0;
	text-align: center;
	/*background: #000;*/
	position:absolute;
	top: 0;
	right: 0;
}

.closebox:hover{
	/*background: #00000033;*/
	color: #FFF;
}

#lightbox figure{
		display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
}

#lightbox #hagaki{
	position: relative;
}


#about{
	padding: 10px 20px;
	border-radius: 10px;
	color: #FFF;
	border: none;
	cursor: pointer;
	border: 1px solid #FFF;
	background:#0000;
	transition-duration: .5s;
}

#about:hover{
	background: #000;
}

#lightbox #hagaki #description{
	display: flex;
	align-items: center;
	transition-duration: .5s;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height:calc(100% - 40px);
	background:linear-gradient(-30deg,#000D 0% ,#005D 50%,#000D 100%);
	padding: 20px 40px;
	color: #FFF;
	box-shadow: 3px 3px 10px #FFF6;
	opacity: 0;
	border-radius: 7px;
	line-height: 2.0;
}

#lightbox #hagaki #description.active{
	opacity: 1;
}

#lightbox #hagaki #description:before{
	content:"✕";
	position: absolute;
	top:10px;
	right:15px;
	cursor: pointer;
}

/*#lightbox #hagaki[aspect="v"] figure{
	max-width:400px;
}
*/
#lightbox figure img{
	width: 100%;
	max-width: 340px;
	height: auto;
	max-height: 340px;
	object-position: 50% 50%;
	object-fit: contain;
}

#lightbox figcaption{
	color: #FFF;
}


#lightbox #hagakiTitle{
	margin-top: 10px;
	text-align: center;
	/*opacity: 1;*/
}

/*#lightbox #start{
	position: absolute;
	bottom: 20px;
	left:0;
	width: 100%;
}
*/
#lightbox #makeBtn{
	position: absolute;
	bottom: 100px;
	left:0;
	width:100%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
}


.hname{
	display: none;
}

#description{
	width: 100%;
	max-width: 400px;
	padding: 0 20px;
	color: #FFF;
	font-size: 14px;
	margin: 0 auto;
	text-align: center;
}

#hagakiTitle{
	display: none;
}


#addFavor,
#start{
	line-height: 1;
	padding: 0;
	margin:0;
	border-radius: 9px;
	cursor: pointer;
	box-shadow: 4px 4px 10px #0009;
	font-weight: bold;
	font-size: 14px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#start{
	background: #F00;
	width:calc(100% - 120px);
	color: #FFF;
	max-width: 300px;
	margin: 0 5px;
	}

#addFavor{
	background:#FAFAD2;
	color: #333;
	width: 60px;
	font-size: 10px;
}

