@CHARSET "UTF-8";

/*******************************
	写メ日記
*******************************/
.diary_detail .back {
	margin: 20px 0 20px 10px;
}
.diary_detail .back a {
	display: inline-block;
	padding: 10px 10px 10px 0;
}
.diary_detail .favorite {
	text-align: right;
	padding-right: 10px;
}
.diary_detail .favorite.top {
	margin-bottom: 20px;
}
.diary_detail .favorite.bottom {
	padding-top: 20px;
	margin-top: 20px;
	margin-bottom: 20px;
}
.diary_detail .favorite_diary .count {
	margin-left: 5px;
}
.diary_detail .favorite_diary {
	display: inline-block;
    font-size: 14px;
	color: #999;
    cursor: pointer;
    padding: 0 10px;
    border: solid 2px #999;
    font-weight: bold;
    line-height: 30px;
    border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
.diary_detail .favorite_diary.done {
	background-color: #f7a52a;
	border-color: #f7a52a;
	color: #fff;
}
.diary_detail .favorite_diary i {
    font-size: 18px;
}
.diary_detail .head {
	padding: 0 10px;
	margin-bottom: 30px;
}
.diary_detail .regist_time {
	font-size: 12px;
}
.diary_detail .title {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 10px;
}
.diary_detail .photo {
	position: relative;
	text-align: center;
	margin-bottom: 20px;
}
.diary_detail .photo img {
	max-width: 100%;
}

.diary_detail .photo .deleted {
	position: relative;
	display: block;
	width: 100%;
	height: 150px;
	margin: auto;
}
.diary_detail .photo .deleted:before {
	position: absolute;
	content: "画像は削除されました";
	display: block;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	height: 30px;
	line-height: 30px;
	font-size: 24px;
    font-weight: bold;
    color: #ccc;
}
.diary_detail .photo.lock {
	position: relative;
	width: 320px;
	height: 320px;
	margin: auto;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	margin-bottom: 50px;
}
.diary_detail .photo.lock:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.3);
	color: #fff;
	font-weight: bold;
	font-size: 16px;
	padding-top: 20px;
	box-sizing: border-box;
	text-align: center;
	color: #fff;
}
.diary_detail .photo.lock .text1 {
	position: absolute;
	display: block;
	top:50px;
	width: 100%;
	text-align: center;
	color: #fff;
	font-size: 24px;
	font-weight: bold;
}
.diary_detail .photo.lock .text2 {
	position: absolute;
	display: block;
	bottom:0;
	width: 100%;
	text-align: left;
	color: #fff;
	padding: 20px;
	box-sizing: border-box;
}
.diary_detail .photo.lock .text3 {
	position: absolute;
	display: block;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 240px;
	height: 40px;
}
.diary_detail .photo.lock .text3 a {
	display: block;
	height: 40px;
	line-height: 36px;
	border: solid 2px #fff;
	border-radius: 20px;
	box-sizing: border-box;
	text-decoration: none;
	color: #fff;
	font-weight: bold;
}
.diary_detail .photo.lock .text3 a.active {
	background-color: #fff;
	color: #ff5240;
	opacity: 0.5;
}
.diary_detail .content {
	padding: 10px;
	word-break: break-all;
	overflow: hidden;
	font-size: 16px;
}
.diary_detail .content p {
	margin: 0;
}
.diary_detail .content img {
	max-width: 100%;
	height: auto;
}
.diary_detail .content figure.image {
	text-align: center;
}

.diary_detail video {
	width: 100%;
	max-height: 375px;
	margin-bottom: 20px;
}
.diary_detail .attached_image div:has(video) {
	position: relative;
	width: 100%;
	overflow: hidden;
	margin-bottom: 20px;
}
.diary_detail .attached_image div:has(video)::before {
	content: "";
	display: block;
	padding-top: 375px;
}
.diary_detail .attached_image div:has(video) video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	max-height: 375px;
	margin-bottom: 0;
}

/*******************************
	求人情報
*******************************/
.footer_job {
	margin: 10px;
	padding-top: 30px;
	border-top: solid 1px #ddd;
}
.footer_job.no_border_top {
	border-top: 0;
}
.footer_job .title {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 20px;
	text-align: center;
}
.footer_job a {
	display: block;
	padding: 10px;
	border: solid 1px #ddd;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	color: #f77c2a;
}
.footer_job .top_image img {
	display: block;
	width: 100%;
	margin-bottom: 10px;
	pointer-events: none;
}
.footer_job .summary {
	display: block;
	font-weight: bold;
}