@import url("global.css");

#pagettl {
	/*background-image: url(../works/img/main.jpg);*/
	padding-bottom: 0%;
}
#contents ul.list {
	width: 1040px;
	margin: 70px auto 50px;
}
#contents ul.list li {
	float: left;
	margin: 0 0 25px 25px;
}
#contents ul.list li:nth-child(3n+1) {
	margin-left: 0;
}
#contents ul.list li a {
	display: block;
	width: 330px;
	height: 220px;
	overflow: hidden;
	font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", "Meiryo", "メイリオ", Helvetica,sans-serif;
	position: relative;
}
#contents ul.list li a figure {
	background-color: #F0F0F0;
}
#contents ul.list li a figure img {
	-webkit-transition: all 1.0s ease;
	transition: all 1.0s ease;
}
#contents ul.list li a:hover figure img {
	opacity: 0.7;
}
#contents ul.list li a .txtbox {
	opacity: 0;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: auto;
	background-color: rgba(255,255,255,0.6);
	-webkit-transition: all 1.0s ease;
	transition: all 1.0s ease;
}
#contents ul.list li a:hover .txtbox {
	opacity: 1;
}
#contents ul.list li a .txtbox span {
	display: block;
	text-align: center;
	height: 18px;
	line-height: 18px;
	font-size: 14px;
	color: #000;
	letter-spacing: 1px;
	margin: 10px 0 -5px;
}
#contents ul.list li a .txtbox h2 {
	/*height: 32px;*/
	line-height: 20px;
	font-size: 16px;
	padding: 0 10px;
	font-weight: bold;
	overflow: hidden;
	text-overflow: ellipsis;
	/*white-space: nowrap;*/
	margin: 10px 0;
}
#contents ul.list li a .cat {
	position: absolute;
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1px;
	text-align: center;
	background-color: rgba(24,114,126,0.6);
	color: #fff;
/*	left: 15px;
	top: 15px;
	width: 70px;
	height: 70px;
	line-height: 70px;*/
	top: 0;
	left: 0;
	line-height: 40px;
	padding: 0 10px;
}
#contents ul.list li a .cat:nth-child(even) {
	background-color: rgba(237,122,43,0.60);
	top: 0;
	left: 110px;
}
#contents ul.list.re210506 a figure {
	position: absolute;
	bottom: 0;
	left: auto;
}
#contents ul.list.re210506 a figure img {
}



/* -------------------------------------
 entry
------------------------------------- */

.entry #contents section#entrycont h1 {
	margin: 50px 0 30px;
}
.entry #contents section#entrycont .data {
	margin-top: 10px;
	border-top: 1px solid #18727E;
}
.entry #contents section#entrycont .data ul {
	display: table;
	margin: 0 auto;
}
.entry #contents section#entrycont .data ul li {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	padding: 15px 10px;
	font-weight: 600;
}
.entry .bodyarea {
	border-top: 1px solid #18727E;
	padding: 20px 20px 10px;
}
.entry #contents .bodyarea p {
	margin: 10px 0;
	font-size: 15px;
}

.entry .photobox {
	position: relative;
	width: 100%;
	background-color: #F7F7F7;
	margin: 30px 0;
}
.entry .photobox .voicelink {
	position: absolute;
	right: 50%;
	margin-right: -580px;
	top: -55px;
	z-index: 55;
}
.entry .photobox .voicelink a {
	display: block;
	text-align: center;
	font-size: 17px;
	text-indent: 7px;
	font-weight: 600;
	font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", "Meiryo", "メイリオ", Helvetica,sans-serif;
	background: url(../works/img/voice.png) no-repeat right top;
	width: 200px;
	height: 90px;
	line-height: 90px;
}
.entry .photobox .voicelink a:hover {
	text-indent: 14px;
	color: #fff;
	transform: rotate(-2deg);
	background: url(../works/img/voice_hv.png) no-repeat right top;
}
.entry .photobox .voicelink a::after {
	content: "";
	display: inline-block;
	margin-left: 4px;
	border-left: 5px solid #111;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease
}
.entry .photobox .voicelink a:hover::after {
	border-left-color: #FFF;
}
.entry .photobox .fotorama {
	max-width: 900px;
	margin: 0 auto;
}
.entry .photobox .fotorama__caption__wrap {
	background-color: transparent;
	text-shadow: 0 0 2px rgba(255,255,255,1);
}



ul.pagelink {
	clear: both;
}
ul.pagelink li {
	height: 130px;
	width: 34%;
}
ul.pagelink li a {
	height: 130px;
	line-height: 130px;
}
ul.pagelink li.next {
	float: left;
	width: 33%;
}
ul.pagelink li.next a {
	text-align: left;
	line-height: normal;
}
ul.pagelink li.prev {
	float: right;
	width: 33%;
}
ul.pagelink li.prev a {
	text-align: right;
	line-height: normal;
}
ul.pagelink li.next a p,
ul.pagelink li.prev a p {
	display: inline-block;
	margin: 0 10px;
}
ul.pagelink li.next a span,
ul.pagelink li.prev a span {
	display: inline-block;
	height: 120px;
	width: 180px;
	margin: 5px;
}
ul.pagelink li a span img.objectfit {
	object-fit: cover;
	font-family: 'object-fit: cover;';
	width: 100%;
	height: 100%;
}





/* ------------------------------------------------------------------------------------------------------------------------
/* 959px（タブレット縦）以下から
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 959px){
#contents ul.list {
	width: auto;
	margin: 70px 0 50px;
}
#contents ul.list li {
	margin: 0;
	padding: 0 10px 20px;
	width: 33.33%;
	height: auto;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
#contents ul.list li a {
	width: 100%;
	height: auto;
	padding-top: 0;
}
#contents ul.list li a figure {
	position: relative;
	display: block;
	height: 0;
	padding-top: 66.67%;
	width: auto;
	background-color: transparent;
}
#contents ul.list li a figure img {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	max-width: none;
	height: 100%;
	width: 100%;
	background-color: #F3F3F3;
}

#contents ul.list li a .txtbox {
	opacity: 1;
}
#contents ul.list li a .txtbox span {
	margin: 5px 0 -5px;
}
#contents ul.list li a .txtbox h2 {
	/*height: 24px;*/
	line-height: 24px;
	font-size: 14px;
	margin: 5px 0;
}
#contents ul.list li a .cat {
/*	left: 10px;
	top: 10px;*/
}
	
#contents ul.list li a .cat {
	padding: 0 5px;
}
#contents ul.list li a .cat:nth-child(even) {
	left: 100px;
}
	
#contents ul.list.re210506 a figure {
	position: relative;
	bottom: auto;
}
#contents ul.list.re210506 a figure img {
	position: absolute;
	top: auto;
	bottom: 0;
}
.entry .photobox .voicelink {
	margin-right: 0;
	right: 10px;
}
.entry .photobox .voicelink a {
	text-indent: 14px;
	color: #fff;
	transform: rotate(-2deg);
	-webkit-transform: rotate(-2deg);
	background: url(../works/img/voice_hv.png) no-repeat right top;
}
.entry .photobox .voicelink a::after {
	border-left-color: #FFF;
}
}

/* ------------------------------------------------------------------------------------------------------------------------
/* 幅644px以下
------------------------------------------------------------------------------------------------------------------------ */

@media only screen and (max-width: 644px){
	
	
	#contents ul.list {
		margin: 50px 0 30px;
	}
	#contents ul.list li {
		padding: 0 5px 10px;
		width: 50%;
	}
	#contents ul.list li a .txtbox span {
		display: none;
	}
	#contents ul.list li a .txtbox h2 {
		/*height: 20px;*/
		padding: 0 5px;
		margin: 5px 0;
		font-size: 10px;
		line-height: 14px;
	}
	#contents ul.list li a .cat {
/*		left: 5px;
		top: 5px;
		width: 60px;
		height: 60px;
		line-height: 60px;
		font-size: 12px;*/
		line-height: 30px;
		font-size: 11px;
	}
	#contents ul.list li a .cat:nth-child(even) {
		left: 83px;
	}
	/* -------------------------------------
	 entry
	------------------------------------- */
	.entry #contents section#entrycont h1 {
		margin: 50px 0 0;
	}
	.entry #contents section#entrycont .data {
		margin: 20px 0 0;
	}
	.entry #contents section#entrycont .data ul {
		display: block;
		margin: 4px auto;
	}
	.entry #contents section#entrycont .data ul li {
		display: block;
		padding: 2px 5px;
		font-size: 13px;
		border-bottom: 1px dotted #ddd;
	}
	.entry #contents section#entrycont .data li:last-of-type {
		border-bottom: none;
	}
	.entry .bodyarea {
		margin-top: 0;
		padding: 10px 5px;
	}
	.entry .bodyarea p {
		text-align: justify!important;
	}

	.entry .photobox {
		margin: 20px 0;
	}
	.entry .photobox .voicelink {
		top: -30px;
		right: 0;
	}
	.entry .photobox .voicelink a {
		font-size: 12px;
		text-indent: 7px;
		background-size: 140px 63px;
		width: 140px;
		height: 63px;
		line-height: 63px;
	}
	.entry .photobox .voicelink a:hover {
		text-indent: 7px;
		background-size: 140px 63px;
	}
	.entry .photobox .voicelink a::after {
		margin-left: 3px;
		border-left: 5px solid #fff;
		border-top: 5px solid transparent;
		border-bottom: 5px solid transparent;
	}
	.entry .photobox .fotorama {
		margin: 0 0 30px;
	}
	

	ul.pagelink {
		height: auto;
	}
	ul.pagelink li {
		display: block;
		height: auto;
	}
	ul.pagelink li a {
		height: 70px;
		line-height: 70px;
	}
	ul.pagelink li.next,
	ul.pagelink li.prev {
		width: 50%;
	}
	ul.pagelink li.prev {
		border-left: 1px dotted #E1E1E1;
	}
	ul.pagelink li.back {
		clear: both;
		float: none;
		width: auto;
		display: block;
		margin: 0;
		border: none;
	}
	ul.pagelink li.back a {
		border: none;
		border-top: 1px solid #E1E1E1;
	}
	ul.pagelink li.next a span,
	ul.pagelink li.prev a span {
		height: 66px;
		width: 100px;
		margin: 2px;
	}
	ul.pagelink li.next a p,
	ul.pagelink li.prev a p {
		margin: 0 6px;
	}
	

}










