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

/* ----------------
     THUMBNAIL
----------------- */
.listthumb {
    position: relative;
	overflow: hidden;
	border: none;
	text-align: center;
	width: 100%;
	height: 100%;
	box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
/* box-shadow: 0 1px 5px rgba(0,0,0,0.2); */
.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;
}
.itemContainer::after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.itemContainer .photobox {
	width: 45%;
	max-width: 510px;
	display: block !important;
	float: right !important;
	text-align: center;
	margin: 0 0 1em 1.5em;
	z-index: 10;
}

#basicblog a.photo {
	display: block;
	position: relative;
	margin-bottom: 0.5em;
}
#basicblog 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: 1.4rem;
	color: #444;
	word-break: break-all;
}
#basicblog .boxcontainer {
	margin-bottom: 2em;
}

/* simplephoto */
.simplephcontainer {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	margin-bottom: 1em;
}
.sbox {
	width: 24%;
	margin-bottom: 1.6em;
}
.sbox.hidden {
}
.sbox.hidden hr {
	display: none;
}

/* ----------------------
	tenpu file
---------------------- */
.tenpu {
	background: #FDF5D4 url(../images/bg-kago.jpg) left top no-repeat;
	background-size: cover;
	margin: 2em 2em 3em;
	padding: 2em 2em 4em;
	border-radius: 8px;
	line-height: normal;
	position: relative;
	box-shadow: 0 2px 8px rgb(0, 0, 0, 0.1);

}
.tenpu::before {
	display: block;
	content: '';
	background: url(../images/corner-rb.png) no-repeat right bottom;
	background-size: contain;
	position: absolute;
	bottom: -60px;
	right: -5%;
	width: 40%;
	height: auto;
	padding-top: 33%;
	z-index: 2;
}
.tenpu p {
	margin: 0 0 0.5em;
	text-align: center;
}
.tenpu ul {
	margin-right: 10%;
}
.tenpu li a {
	display: block;
	background: rgb(255,255,255,0.6);
	padding: 3px;
	text-decoration: none;
}


/* ----------------------
	youtube
---------------------- */
.movie {
	text-align: center;
	margin-bottom:1em;
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}
.movie iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#itemfooter {
	margin-bottom: 2em;
}

/* --------------------------------
     CUSTUM
--------------------------------- */


@media screen and (max-width:979px){
.sbox {
	width: 23%;
}
}

@media screen and (max-width:699px){
.itemContainer .photobox {
	width: 50%;
	margin: 0 0 10px 1em;
}
.sbox {
	width: 48%;
}
.tenpu {
	margin: 1em 1em 3em;
	padding: 1em 1em 3em;
}
.tenpu::before {
	bottom: -50px;
	width: 50%;
	height: auto;
	padding-top: 42%;
}
}

@media screen and (max-width:449px){
.itemContainer .photobox {
	width: 100%;
	float: none;
	margin: 0 0 1em;
}
}
