@charset "UTF-8";

.diaryrow a{
	display:block;
	color:#000;
	
	box-sizing: border-box;
	padding:5px;
}

.diaryrow a:hover{
	text-decoration: none;
	opacity: 0.8;
}

.diaryrow div.inner{
	box-sizing: border-box;
	padding:10px;
	
	background-color:#fff;
	color:#000;
	
	position: relative;
}

.diaryrow div.inner span.ol_top_left{
	position: absolute;
	top:0;
	left:0;
}

.diaryrow div.inner span.ol_top_left:before{
	display:block;
	content:"";
	
	width:30px;
	height:1px;
	
	background-color:#444;
	position: absolute;
	top:0;
	left:0;
}

.diaryrow div.inner span.ol_top_left:after{
	display:block;
	content:"";
	
	width:1px;
	height:30px;
	
	background-color:#444;
	position: absolute;
	top:0;
	left:0;
}

.diaryrow div.inner span.ol_top_right{
	position: absolute;
	top:0;
	right:0;
	
	/*width:50px;
	height:50px;
	
	background-color:#000;*/
}

.diaryrow div.inner span.ol_top_right:before{
	display:block;
	content:"";
	
	width:30px;
	height:1px;
	
	background-color:#444;
	position: absolute;
	top:0;
	right:0;
}

.diaryrow div.inner span.ol_top_right:after{
	display:block;
	content:"";
	
	width:1px;
	height:30px;
	
	background-color:#444;
	position: absolute;
	top:0;
	right:0;
}

.diaryrow div.inner span.ol_bottom_left{
	position: absolute;
	bottom:0;
	left:0;
}

.diaryrow div.inner span.ol_bottom_left:before{
	display:block;
	content:"";
	
	width:30px;
	height:1px;
	
	background-color:#444;
	position: absolute;
	bottom:0;
	left:0;
}

.diaryrow div.inner span.ol_bottom_left:after{
	display:block;
	content:"";
	
	width:1px;
	height:30px;
	
	background-color:#444;
	position: absolute;
	bottom:0;
	left:0;
}

.diaryrow div.inner span.ol_bottom_right{
	position: absolute;
	bottom:0;
	right:0;
}

.diaryrow div.inner span.ol_bottom_right:before{
	display:block;
	content:"";
	
	width:30px;
	height:1px;
	
	background-color:#444;
	position: absolute;
	bottom:0;
	right:0;
}

.diaryrow div.inner span.ol_bottom_right:after{
	display:block;
	content:"";
	
	width:1px;
	height:30px;
	
	background-color:#444;
	position: absolute;
	bottom:0;
	right:0;
}

.diaryrow p.thumbnail{
	width:100%;
	position: relative;
}

.diaryrow p.thumbnail:before{
	display:block;
	content:"";
	
	width:100%;
	box-sizing: border-box;
	padding-top:100%;
}

.diaryrow p.thumbnail img{
	width:100%;
	height:100%;
	vertical-align: bottom;
	
	position: absolute;
	top:0;
	left:0;
	
	object-fit: cover;
	object-position: center;
}

.diaryrow div.text{
	font-size:0.8rem;
	line-height:1.75em;
	
	text-align: center;
	
	box-sizing: border-box;
	padding-top:5px;
}

.diaryrow div.text h4{
	font-weight:bold;
}

.diaryrow div.text p.author{
	font-size:0.6rem;
	line-height:1.75em;
}

/*//////////----- DIARY -----//////////*/

#diary div.content{
	box-sizing: border-box;
	padding:5px;
	
	display:flex;
	flex-flow: row wrap;
	align-items: stretch;
	justify-content: flex-start;
	
	width:100%;
}

#diary article{
	width:50%;
}

@media only screen and (min-width: 720px){
	
	#diary article{
		width:25%;
	}
	
}

@media only screen and (min-width: 960px){
	
	#diary article{
		width:20%;
	}
	
}

/*//////////----- DIARY-SHOW -----//////////*/

#diary-show div.summary{
	margin-bottom:10px;
	
	box-sizing: border-box;
	padding:10px;
	border-radius:5px;
	
	background-color:#fff;
	color:#000;
}

#diary-show div.summary p.update{
	font-size:0.8rem;
	line-height:20px;
	color:#444;
	
	margin-bottom:5px;
}

#diary-show div.summary p.update:before{
	content:"投稿日：";
}

#diary-show div.summary h4{
	font-size:1.5rem;
	line-height:1.5em;
	font-weight:bold;
	
	margin-bottom:5px;
	
	box-sizing: border-box;
	padding-left:15px;
	
	position: relative;
}

#diary-show div.summary h4:before{
	display:block;
	content:"";
	
	width:5px;
	height:25px;
	
	background-color:#000;
	
	position: absolute;
	top:5px;
	left:2.5px;
}

#diary-show div.summary p.author{
	display:flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: flex-start;
	
	width:100%;
}

#diary-show div.summary p.author img{
	display:inline-block;
	
	width:50px;
	height:50px;
	
	object-fit: cover;
	object-position: center;
	
	border-radius:50px;
	margin-right:5px;
}

#diary-show div.summary p.author span.note{
	display:inline-block;
	
	font-size:0.8rem;
	line-height:20px;
}

#diary-show div.post-content{
	box-sizing: border-box;
	padding:10px;
	border-radius:5px;
	
	background-color:#fff;
	color:#000;
	
	display:flex;
	flex-flow: row wrap;
	align-items: flex-start;
	justify-content: flex-start;
	
	width:100%;
}

#diary-show div.post-content p.thumbnail{
	width:100%;
	
	position: relative;
}

#diary-show div.post-content p.thumbnail:before{
	display:block;
	content:"";
	
	box-sizing: border-box;
	padding-top:100%;
	
	background-color:#f8f8f8;
}

#diary-show div.post-content p.thumbnail img{
	max-width: 100%;
	max-height: 100%;
	
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	
	margin:auto;
}

#diary-show div.post-content{
	margin-bottom:10px;
}

#diary-show div.post-content div.text{
	box-sizing: border-box;
	padding:10px;
	
	width:100%;
}

@media only screen and (min-width: 720px){
	
	#diary-show div.post-content p.thumbnail{
		width:240px;
	}
	
	#diary-show div.post-content div.text{
		width:calc(100% - 240px);
		
		box-sizing: border-box;
		padding:0;
		padding-left:20px;
	}
	
}

.content-twin-main{
	margin-bottom:20px;
}

.content-twin-sidebar{
	margin-bottom:10px;
	
	box-sizing: border-box;
	padding:10px;
	border-radius:5px;
	
	background-color:#fff;
	color:#000;
}

.content-twin-sidebar h5{
	font-size:1.25rem;
	line-height:1.5em;
	font-weight:bold;
	
	margin-bottom:10px;
	
	box-sizing: border-box;
	padding-left:15px;
	
	position: relative;
}

.content-twin-sidebar h5:before{
	display:block;
	content:"";
	
	width:5px;
	height:20px;
	
	background-color:#000;
	
	position: absolute;
	top:5px;
	left:2.5px;
}

.content-twin-sidebar article{
	box-sizing: border-box;
	padding-bottom:10px;
	border-bottom:dashed 1px #000;
	margin-bottom:10px;
}

.content-twin-sidebar article:last-child{
	padding-bottom:0;
	border-bottom:none;
	margin-bottom:0;
}

.content-twin-sidebar article div.inner{
	display:flex;
	flex-flow: row wrap;
	align-items: flex-start;
	justify-content: flex-start;
	
	width:100%;
}

.content-twin-sidebar article div.inner p.thumbnail{
	width:80px;
	
	position: relative;
}

.content-twin-sidebar article div.inner p.thumbnail:before{
	display:block;
	content:"";
	
	width:100%;
	box-sizing: border-box;
	padding-top:100%;
}

.content-twin-sidebar article div.inner p.thumbnail img{
	width:100%;
	height:100%;
	
	position: absolute;
	top:0;
	left:0;
	
	object-fit: cover;
	object-position: center;
}

.content-twin-sidebar article div.inner div.text{
	width:calc(100% - 80px);
	box-sizing: border-box;
	padding-left:10px;
}

.content-twin-sidebar article div.inner div.text h4{
	font-weight:bold;
	
	font-size:0.8rem;
	line-height:1.75em;
}

.content-twin-sidebar article div.inner div.text p.update{
	font-size:0.6rem;
	line-height:20px;
	color:#444;
}

.content-twin-sidebar article div.inner div.text p.update:before{
	content:"投稿日：";
}

.content-twin-sidebar article div.inner div.text p.author{
	font-size:0.6rem;
	line-height:20px;
	color:#444;
}

.content-twin-sidebar article div.inner div.text p.author:before{
	content:"投稿者：";
}

@media only screen and (min-width: 960px){
	
	.content-twin{
		display:flex;
		flex-flow: row wrap;
		align-items: flex-start;
		justify-content: flex-start;
		
		width:100%;
	}
	
	.content-twin div.content-twin-main{
		margin-bottom:0;
		
		width:calc(100% - 320px);
		
		box-sizing: border-box;
		padding-right:20px;
	}
	
	.content-twin div.content-twin-sidebar{
		margin-bottom:0;
		
		width:320px;
	}
	
}
