/*=================================================
 * CSS for PC
 * ================================================= */

main{	padding-bottom: 40px;}

#diary{
	display: flex;
	width: 1200px;
	margin: 0 auto;
}
#diary_l{
	width: 920px;
	margin-right: 40px;
}
#diary_l .diary_in{
	width: 100%;
	padding: 40px;
	background: rgba(1, 7, 132, 0.8);
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
#diary_r{
	width: 240px;
	color: #fff;
	background: rgba(1, 7, 132, 0.8);
	padding: 0 20px 20px 20px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.castbox{
	display: flex;
	width: 100%;
	align-items: center;
	align-content: center;
	justify-content: flex-start;
	color: currentColor;
	padding: 10px 0;
	-webkit-transition	: 0.2s ease-in-out;
	-moz-transition	: 0.2s ease-in-out;
	-o-transition	: 0.2s ease-in-out;
	transition		: 0.2s ease-in-out;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
a.castbox:hover{
	color: currentColor;
	text-decoration: none;
	opacity: 0.7;
	filter: alpha(opacity=70);
}
.castbox_img{
	width: 40px;
	height: 40px;
	border-radius: 50%;
	overflow: hidden;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.castbox_img img{
	width: 40px;
	height: auto;
}
.castbox_txt{
	width: calc(100% - 50px);
	margin-left: 10px;
	font-size: 13px;
	line-height: 16px;
	text-align: left;
}
.castbox_txt span{	color: #ffec19}


/** left **/

.list .s_title{	margin-bottom: 2px;}
.list .listbox{
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: flex-start;
	text-align: left;
	margin: 0 0 2px 0;
	padding: 20px;
	background: #fff;
	-webkit-transition	: 0.2s ease-in-out;
	-moz-transition	: 0.2s ease-in-out;
	-o-transition	: 0.2s ease-in-out;
	transition		: 0.2s ease-in-out;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.list .listbox:hover{
	text-decoration: none;
	opacity: 0.7;
	filter: alpha(opacity=70);
}
.list .listbox:last-of-type{	margin-bottom: 0;}
.list .listbox_l{
	width: calc(100% - 140px);
}
.list .listbox_l:only-child{	width: 100%;}
.list .listbox_l h4{
	font-size: 20px;
	font-weight: bold;
	color: #16288a;
	line-height: 28px;
	padding: 10px 0;
	border-bottom: 1px dotted #e0e0e0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	-webkit-text-overflow: ellipsis;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.list .listbox_l .castbox_txt{
	font-size: 13px;
	line-height: 16px;
}
.list .listbox_l .castbox_txt span{	color: #cc9900}

.list .listbox_r{
	width: 120px;
	height: 120px;
	overflow: hidden;
	margin-left: 20px;
	border-radius: 10px;
}
.list .listbox_r img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.diary_main .castbox{
	display: flex;
	width: 100%;
	align-items: center;
	align-content: center;
	justify-content: flex-start;
	color: #fff;
	padding-top: 0;
	-webkit-transition	: 0.2s ease-in-out;
	-moz-transition	: 0.2s ease-in-out;
	-o-transition	: 0.2s ease-in-out;
	transition		: 0.2s ease-in-out;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.diary_main .castbox:hover{
	text-decoration: none;
	opacity: 0.7;
	filter: alpha(opacity=70);
}

.diary_main .castbox_img{
	width: 50px;
	height: 50px;
	border-radius: 50%;
	overflow: hidden;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

.diary_main .castbox_img img{
	width: 50px;
	height: auto;
}

.diary_main .castbox_txt{
	width: calc(100% - 60px);
	margin-left: 10px;
	font-size: 12px;
	line-height: 16px;
	text-align: left;
}
.diary_main .castbox_txt a{	color: #ffec19;}

.diary_main .dibox{
}
.diary_main .blog_main{
	width: 100%;
	display: flex;
	background: #fff;
	padding: 20px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

.diary_main .blog_img{
	margin-right: 20px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

.diary_main .blog_img img{
	max-width: 300px;
	height: auto;
	border-radius: 10px;
}

.diary_main .blog_img img.lazy[src*="loader.png"]{
	width: 300px;
	height: auto;
}

.diary_main .blog_txt{
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
}
.diary_main .blog_txt i{	font-style: italic; font-family: 'Hiragino Kaku Gothic ProN','Hiragino Sans','Yu Gothic UI', Meiryo, sans-serif;}
.diary_main .blog_txt u{	text-decoration: underline;}

.next,
.past{
	font-size: 0;
	line-height: 0;
	text-align: center;
	background: rgba(1, 7, 132, 0.8);
	margin: 20px 0 0 0;
	padding: 20px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.next a,
.next span{
	display: inline-flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	font-size: 14px;
	line-height: 1;
	margin: 0 5px;
}
.next a{
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.3);
}
.next a:hover{
	text-decoration: none;
	border-color: #ff50a0;
}
.next span{
	color: #fff;
	font-weight: bold;
	background: #ff50a0;
}
.past a{
	display: inline-flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	width: 220px;
	height: 40px;
	font-size: 14px;
	line-height: 1;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.3);
}
.past a:hover{
	text-decoration: none;
	opacity: 0.7;
	filter: alpha(opacity=70);
}


/** right **/

#diary_r h3{
	padding: 20px 0;
}
#diary_r h3 em{
	display: block;
	font-size: 20px;
	line-height: 32px;
}
#diary_r h3 span{
	display: inline-block;
	vertical-align: top;
	font-family: "FontA";
	font-size: 10px;
	line-height: 14px;
	color: #16288a;
	background: #fff;
	border-radius: 7px;
	padding: 0 10px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
#arch .castbox{
	border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
}
#arch .castbox:first-of-type{	border-top: 1px dotted rgba(255, 255, 255, 0.3);}
#arch .castbox_txt{
	font-size: 16px;
	line-height: 18px;
}

/** event **/

.eventbox .img{
	font-size: 0;
	line-height: 0;
	text-align: center;
	margin: 0 0 30px 0;
}
.eventbox .img img{
	max-width: 100%;
	height: auto;
}
.eventbox .event_main{
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
}
.eventbox .event_main .bold{	font-weight: bold;}
.event_main i{	font-style: italic; font-family: 'Hiragino Kaku Gothic ProN','Hiragino Sans','Yu Gothic UI', Meiryo, sans-serif;}
.event_main u{	text-decoration: underline;}


/*=================================================
 * CSS for SP
 * ================================================= */

@media screen and (max-width: 650px) {

	main{	padding-bottom: 0;}
	#diary{
		display: block;
		width: auto;
		margin: 0;
		padding: 0 10px;
	}
	#diary_l{
		width: auto;
		margin: 0 0 20px 0;
	}
	#diary_l .diary_in{	padding: 10px;}
	#diary_r{
		width: auto;
		padding: 0 10px 10px 10px;
		margin: 0 0 20px 0;
	}


	/** left **/
	.list .listbox{
		padding: 10px;
	}
	.list .listbox_l{
		width: calc(100% - 100px);
	}
	.list .listbox_l:only-child{	width: 100%;}
	.list .listbox_l h4{
		font-size: 17px;
		line-height: 25px;
		padding: 10px 0;
	}
	.list .listbox_l .castbox_txt{
		font-size: 12px;
		line-height: 16px;
	}
	.list .listbox_r{
		width: 90px;
		height: 90px;
		overflow: hidden;
		margin-left: 10px;
		border-radius: 10px;
	}
	.diary_main .castbox{
	}
	.diary_main .dibox{
	}
	.diary_main .blog_main{
		display: block;
		width: auto;
		margin: 0 0 10px 0;
		padding: 10px;
	}
	.diary_main .blog_img{
		text-align: center;
		margin: 0 0 10px 0;
	}
	.diary_main .blog_img img{
		display: inline-block;
		vertical-align: top;
		max-width: 80%;
	}
	.diary_main .blog_img img.lazy[src*="loader.png"]{
		width: 80%;
		height: auto;
	}
	.diary_main .blog_txt{	font-size: 14px;}
	.next, .past{
		margin: 2px 0 0 0;
		padding: 10px;
	}


	/** event **/
	.eventbox .img{
		font-size: 0;
		line-height: 0;
		text-align: center;
		margin: 0 0 15px 0;
	}
	.eventbox .img img{
		max-width: 100%;
		height: auto;
	}
	.eventbox h3{
		font-size: 16px;
		font-weight: bold;
		line-height: 22px;
		margin: 0 0 10px 0;
	}
	.eventbox .event_main{
		font-size: 14px;
		line-height: 1.5;
	}


	/** right **/
	#diary_r h3{
		padding: 10px 0;
	}
	#diary_r h3 em{
		font-size: 18px;
	}
	#arch .castbox_txt{
		font-size: 14px;
	}

}
