@charset "euc-jp";
/* CSS Document */

/* ----------------
     THUMBNAIL
----------------- */
.listthumb {
	background: #FFF;
    position: relative;
	overflow: hidden;
	border: none;
	text-align: center;
	width: 100%;
	height: 100%;
}
.listthumb:after {
    padding-top: 100%;
    display: block;
    content: "";
}
.listthumb > .content {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	margin: 0;
	text-align: center;
}
.listthumb img {
	max-width: 100%;
	max-height: 100%;
	text-align: center;
	position: absolute;
	margin: auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

/* ----------------
     SETTING
----------------- */
.date {
	text-align: right;
	color: #666;
	margin: 0 0 1em !important;
}

.itemContainer {
	margin-bottom: 2em;
	word-break: break-all;
}
.itemContainer::after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.itemContainer .photobox {
	width: 45%;
	display: block !important;
	float: right !important;
	text-align: center;
	margin: 0 0 1em 1.5em;
	z-index: 10;
}

#basicblog a.photo, 
.bfraft_con a.photo {
	display: block;
	position: relative;
	margin-bottom: 0.5em;
}
#basicblog a.photo::after, 
.bfraft_con a.photo::after {
	position: absolute;
	bottom: 0;
	right: 0;
	margin: 0;
	content:"";
	display:inline-block;
	width: 20px;
	height: 20px;
	background: url(../images/zoom.png) no-repeat; 
	background-size: contain;
}
.phototxt {
	display: block;
	font-size: .875em;
	color: #444;
	word-break: break-all;
}
#basicblog .boxcontainer {
	margin-bottom: 2em;
}
#basicblog .boxcontainer .listthumb {
	border: solid 1px #DDD;
	background: #EEE url(../images/imgbg_w.png) center top;
}

/* ----------------------
	2022.1 BEFORE AFTER
---------------------- */
@media print {
	#bread, #preview_ms, #tenpu, .movie {
		display: none;
	}
	#basicblog .box4 {
		width: 33%;
	}
	#sec_af .bawrap {
		page-break-inside: avoid;
	}
}
#sec_af .bawrap {
	margin-bottom: 2em;
	word-break: break-all;
}
.bfraft_con {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	padding-bottom: 1em;
	border-bottom: solid 1px #999;
}
.bfraft_box {
	width: 47%;
	word-break: break-all;
}
.bfraft_box.arrow {
	width: 4%;
	background: none;
	border: none;
	border-radius: 0;
	padding: 0;
	align-self: center;
}
.bfraft_box .listthumb {
	background: #EEE url(../images/imgbg_w.png) center;
}
.bfraft_box .listthumb > .content {
	border: solid 4px #999;
}
.bfraft_box.aftr .listthumb > .content {
	border-color: #72D5E2;
	background-color: #FFF;
}
.bfraft_con a.photo::after {
	bottom: 4px;
	right: 4px;
}
.bfraft_box h3 {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	font-size: 3.2rem;
	color: #FFF;
	text-shadow: 0 2px 4px #333;
	line-height: 1;
	z-index: 10;
}
.bfraft_box p {
	margin: .5em 0;
}


/* ----------------------
	tenpu file
---------------------- */
#tenpu {
	background: #FFF;
	margin: 2em;
	padding: 2em;
	border-radius: 8px;
	line-height: normal;
}
#tenpu p {
	margin: 0 0 0.5em;
}

/* ----------------------
	youtube
---------------------- */
.movie {
	text-align: center;
	margin: 0 1em 1em;
}

#itemfooter {
	margin-bottom: 2em;
}

@media screen and (min-width:980px){
#maintxt1 {
	font-size: 1.125em;
}
}

@media screen and (max-width:979px){
.contents h1 {
	margin-top: .5em;
}
.bfraft_box h3 {
	font-size: 2.4rem;
}
/* ----------------------
	youtube
---------------------- */
.movie {
	position: relative;
	padding-top: 30px;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}
.movie iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
}

@media screen and (max-width:699px){
.itemContainer .photobox {
	width: 100%;
	float: none !important;
	margin: 0 auto 1em;
}
/* ----------------------
	Before After
---------------------- */
.bfraft_box, .bfraft_box.arrow {
	width: 100%;
}
.bfraft_box.arrow {
	text-align: center;
}
.bfraft_box.arrow img {
	width: 50px;
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}
.bfraft_box h3 {
	font-size: 2rem;
}
#tenpu {
	margin: 1em;
	padding: 1em;
}
}
