@charset "utf-8";

/* reset */

span.image_frame {
	display: inline-block;
	position: relative;
	padding: 0;
	margin: 0;
	margin-bottom: 0.5em;
}
span.image_frame > img {
	max-width: 100%;
	height:  auto;
}



span.frame_A {
	background-color: #FFF;
	padding: 5px;
	border: 1px solid #DDD;
	box-shadow: 0 0 6px rgba(0,0,0,0.15);
}
span.frame_A > img {
	border: 1px solid #EEE;
}



span.frame_B {
	overflow: visible;
	padding: 14px;
}

span.frame_B > img {
	position: relative;
	width: 100%;
	height: 100%;
	display: block;
	box-shadow: 0 0 1px rgba(0,0,0,1);
	z-index: 3;
	border: 1px solid #DDD;
	box-sizing: border-box;
}

span.frame_B::before,
span.frame_B::after {
	content: "";
	display: block;
	position: absolute;
	top: 14px;
	left: 14px;
	width: calc(100% - 28px);
	height: calc(100% - 28px);
	box-shadow: 0 0 5px rgba(0,0,0,0.15);
	background-color: #FFF;
	border: 1px solid #DDD;
	box-sizing: border-box;
	transform: rotate(3deg);
	z-index: 2;
}

span.frame_B::after {
	display: none;
}

span.frame_B.plus::after {
	z-index: 1;
	transform: rotate(5deg);
	display: block;
}



span.frame_C {
	overflow: visible;
}
span.frame_C > img {
	display: block;
	position: relative;
	z-index: 3;
}
span.frame_C::before {
	content: "";
	display: block;
	position: absolute;
	bottom: 15px;
	right: 10px;
	width: 50%;
	height: 20%;
	box-sizing: border-box;
	box-shadow: 0 15px 10px rgba(0,0,0,0.5);
	transform: rotate(3deg);
	z-index: 2;
}
span.frame_C::after {
	content: "";
	display: block;
	position: absolute;
	bottom: 15px;
	left: 10px;
	width: 50%;
	height: 20%;
	box-sizing: border-box;
	box-shadow: 0 15px 10px rgba(0,0,0,0.5);
	transform: rotate(-3deg);
	z-index: 1;
}


span.frame_D {
	overflow: hidden;
	padding: 8px;
	box-sizing: border-box;
}

span.frame_D::before {
	content: "";
	display: block;
	position: absolute;
	left: -10%;
	top: -5%;
	width: 20%;
	height: 15%;
	transform: rotate(-45deg);
	box-shadow: 0 0 10px rgba(0,0,0,0.8);
	background-color: #FFF;
}

span.frame_D::after {
	content: "";
	display: block;
	position: absolute;
	right: -10%;
	bottom: -5%;
	width: 20%;
	height: 15%;
	transform: rotate(-45deg);
	box-shadow: 0 0 5px rgba(0,0,0,0.6);
	background-color: #FFF;
}


span.frame_E {
	overflow: hidden;
	border: 5px solid #FFF;
	box-shadow: 0 0 5px rgba(0,0,0,0.2);
	transform: rotate(3deg) scale(0.9);
}
span.frame_E.plus {
	transform: rotate(-3deg) scale(0.9);
}
span.frame_E img {
	transform: rotate(-3deg) scale(1.1);
}
span.frame_E.plus img {
	transform: rotate(3deg) scale(1.1);
}


span.frame_F > img {
	border-radius: 10px;
	border: 5px solid #FFF;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
	box-sizing: border-box;
}


span.frame_G {
	box-sizing: border-box;
	padding: 15px;
	box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
	border: 1px solid #DDD;
	background-size: cover;
	background-position: center;
}

span.frame_G > img {
	position: relative;
	border: 1px solid #CCC;
}

span.frame_G::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0.7);
}


