/* ===========================================
 * gallery
=========================================== */

#gallery{
	background: #323336
}
#gallery_margin{
	margin-top: 80px;
}
#gallery_main{
	padding: 100px 0 120px;
}
#gallery_main h1{
	font-size: 14px;
	text-align: center;
	color: #FDFCF8;
}
#gallery_main h1 span{
	font-size: 40px;
	display: block;
	font-weight: 700;
}
#gallery_main h1 span::first-letter{
	color: #B40019;
}
#gallery_main hr{
	border: 0;
	background: #4A4A4A;
	width: 100%;
	height: 1px;
	margin-top: 24px;
}
#gallery_main_contents {
}
/* カテゴリーリスト */
#gallery_main_contents_category{
	margin-top: 150px;
}
#gallery_main_contents_category ul{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 20px;
}
#gallery_main_contents_category ul li{
	background: #FFFFFF;
	width: 248px;
	height: 60px;
	border-radius: 8px;
	border: 1px solid #010005;
	text-align: center;
	font-size: 16px;
	position: relative;
}
#gallery_main_contents_category ul li::after{
	content: "";
	width: 8px;
	height: 14px;
	background: url("../img/common/arrow.svg");
	position: absolute;
	top: 21px;
	right: 20px;
	transform: rotate(90deg);
}
#gallery_main_contents_category ul li a{
	display: block;
	line-height: 60px;
	color: #071926;
}

#gallery_contents {
	padding: 50px 0 150px;
	border-bottom: 1px solid #9D9D9D;
}
/* 一覧 */
#gallery_main_contents_list {
	border-bottom: 1px solid #9D9D9D;
}
.gallery_list_box{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.gallery_list_contents{
	width: 504px;
	margin-bottom: 60px;
}

.gallery_list_contents_img{
	width: 504px;
	height: 312px;
	overflow: hidden;
}
.gallery_list_contents_img img{
	width: 504px;
	height: 312px;
	object-fit: cover;
	transition: transform .6s ease;
}
.gallery_list_contents_img:hover img{
	transform: scale(1.1);
}
.gallery_list_contents_body{
	
}
a .gallery_list_box_date{
	color: #FDFCF8;
}
.gallery_list_box_date{
	display: flex;
	justify-content: space-between;
	padding-top: 15px;
	padding-bottom: 10px;
}
.gallery_list_box_date span{
	font-size: 12px;
}
.gallery_list_box_date span.cat{
	border: 1px solid #FDFCF8;
	padding: 0 5px;
	display: inline;
	margin-right: 5px;
}
.gallery_list_contents_body h3{
	font-size: 16px;
}
.gallery_list_contents_body h3 span.area{
	font-size: 16px;
}
.gallery_list_contents_body h3 span.area::after {
    content: "│";
    padding: 0 10px;
}
a h3{
	color: #FDFCF8;
}

/* 詳細 */
.gallery_main_box{
	margin-bottom: 120px;
	color: #FDFCF8;
}

.slide_inner{
	margin: 60px 0 0;
	position: relative;
}
.next-btn{
  width: 46px;
  height: 46px;
  position: absolute;
  right:0;
  top:50%;
  margin-top: -25px;
}
.prev-btn{
  width: 46px;
  height: 46px;
  position: absolute;
  left: 0;
  top:50%;
  margin-top: -25px;
}
.bx-prev,.bx-next {
  width: 100%;
  display: block;
  height: 100%;
  position: absolute;
  top:0;
  z-index: 100;
  /*background-color: #f90;*/
}
.prev-btn img,
.next-btn img{
	width: 100%;
	object-fit: cover;
}
.bxslider1 li{
	height: 816px;
	text-align: center;
	overflow: hidden;
}
.bxslider1 img {
	height: 816px;
    display: block;
    margin-left: auto;
	margin-right: auto;
	object-fit: cover;
}
.bx-pager {
    display: flex;
    flex-wrap: wrap;
	align-items: center;
    margin-top: 20px;
    list-style: none;
	column-gap: 12px;
}

.bx-pager > li {
    width: 208px;
	height: 129px;
	margin-top: 10px;
}
.bx-pager > li:nth-of-type(7),
.bx-pager > li:nth-of-type(14){
	margin-right: 0;
}
.bx-pager > li img{
    width: 208px;
	height: 129px;
	object-fit: cover;
}
.bx-pager > li > a {
    display: block;
    position: relative;
    padding-top: 75%;
}

.bx-pager > li > a > img {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100%;
    max-height: 100%;
}

.gallery_main_box_date{
	font-size: 15px;
	font-weight: 300;
	color: #FDFCF8;
}
.gallery_main_box_date span{
	font-size: 15px;
	font-weight: 300;
	padding-left: 5px;
}
.gallery_main_box h3{
	font-size: 24px;
	font-weight: 400;
	color: #FDFCF8;
	line-height: normal;
	margin-top: 20px;
	margin-bottom: 30px;
}

#gallery_entry_contentsInner_body{
	margin-top: 50px;
	margin-bottom: 50px;
}
#gallery_entry_contentsInner_voice{
	padding: 50px 0 0;
	border-top: 1px solid #9D9D9D;
}
#gallery_entry_contentsInner_voice h3.voice_title{
	font-size: 20px;
	margin-bottom: 40px;
}
#gallery_entry_contentsInner_voice img{
	width: 428px;
	height: auto;
	object-fit: cover;
  float: left;
  margin: 0 20px 10px 0;
  vertical-align: bottom;
}
#gallery_entry_contentsInner_voice .article::after {
  content: "";
  display: block;
  clear: both;
}

@media screen and (max-width:640px){
	
	#gallery{
		background: #323336
	}
	#gallery_margin{
		margin-top: 80px;
	}
	#gallery_main{
		padding: 70px 0 90px;
	}
	#gallery_main h1{
		font-size: 20px;
		text-align: center;
		color: #FDFCF8;
	}
	#gallery_main h1 span{
		font-size: 54px;
		display: block;
		font-weight: 700;
	}
	#gallery_main h1 span::first-letter{
		color: #B40019;
	}
	#gallery_main hr{
		border: 0;
		background: #4A4A4A;
		width: 100%;
		height: 1px;
		margin-top: 24px;
	}
	#gallery_main_contents {
	}
	/* カテゴリーリスト */
	#gallery_main_contents_category{
		margin-top: 90px;
	}
	#gallery_main_contents_category ul{
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		column-gap: 10px;
	}
	#gallery_main_contents_category ul li{
		background: #FFFFFF;
		width: 180px;
		height: 60px;
		border-radius: 8px;
		border: 1px solid #010005;
		text-align: center;
		font-size: 22px;
		position: relative;
	}
	#gallery_main_contents_category ul li::after{
		content: "";
		width: 8px;
		height: 14px;
		background: url("../img/common/arrow.svg");
		position: absolute;
		top: 21px;
		right: 20px;
		transform: rotate(90deg);
	}
	#gallery_main_contents_category ul li a{
		display: block;
		line-height: 60px;
		color: #071926;
	}

	#gallery_contents {
		padding: 20px 0 90px;
		border-bottom: 1px solid #9D9D9D;
	}

	/* 一覧 */
	#gallery_main_contents_list {
		border-bottom: 1px solid #9D9D9D;
	}
	.gallery_list_box{
		display: block;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.gallery_list_contents{
		width: 580px;
		margin-bottom: 50px;
	}

	.gallery_list_contents_img{
		width: 580px;
		height: 360px;
		overflow: hidden;
	}
	.gallery_list_contents_img img{
		width: 580px;
		height: 360px;
		object-fit: cover;
		transition: transform .6s ease;
	}
	.gallery_list_contents_img:hover img{
		transform: scale(1);
	}
	.gallery_list_contents_body{
		width: 580px;
		color:  #FDFCF8;
	}
	a .gallery_list_box_date{
		color: #FDFCF8;
	}
	.gallery_list_box_date{
		display: flex;
		justify-content: space-between;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.gallery_list_box_date span{
		font-size: 20px;
	}
	.gallery_list_box_date span.cat{
		border: 1px solid #FDFCF8;
		padding: 0 5px;
		display: inline;
		margin-right: 5px;
	}
	.gallery_list_contents_body h3{
		font-size: 24px;
	}
	.gallery_list_contents_body h3 span.area{
		font-size: 24px;
	}
	.gallery_list_contents_body h3 span.area::after {
		content: "│";
		padding: 0 10px;
	}
	a h3{
		color: #FDFCF8;
	}

	/* 詳細 */
	.gallery_main_box{
		margin-bottom: 90px;
		color: #FDFCF8;
	}

	.slide_inner{
		margin: 60px 0 0;
		position: relative;
	}
	.bxslider1 li{
        overflow: auto;
        text-align: center;
		height: 400px;
	}
	.bxslider1 img {
		height: 400px;
		display: block;
		margin-left: auto;
		margin-right: auto;
		object-fit: cover;
	}
	.bx-pager {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		margin-top: 20px;
		list-style: none;
		column-gap: 7px;
	}

	.bx-pager > li {
		width: calc(558px / 4 );
		height: 95px;
		margin-top: 5px;
	}
	.bx-pager > li:nth-of-type(7),
	.bx-pager > li:nth-of-type(14){
		margin-right: 0;
	}
	.bx-pager > li img{
		width: calc(558px / 4 );
		height: 95px;
		object-fit: cover;
	}
	.bx-pager > li > a {
		display: block;
		position: relative;
		padding-top: 75%;
	}

	.bx-pager > li > a > img {
		position: absolute;
		top: 0px;
		left: 50%;
		transform: translateX(-50%);
		max-width: 100%;
		max-height: 100%;
	}

	.gallery_main_box_date{
		font-size: 20px;
		font-weight: 300;
		color: #FDFCF8;
	}
	.gallery_main_box_date span{
		font-size: 20px;
		font-weight: 300;
		padding-left: 5px;
	}
	.gallery_main_box h3{
		font-size: 32px;
		font-weight: 400;
		color: #FDFCF8;
		line-height: normal;
		margin-bottom: 30px;
	}

	#gallery_entry_contentsInner_body{
		margin-top: 50px;
		margin-bottom: 50px;
	}
	#gallery_entry_contentsInner_voice{
		padding: 50px 0 0;
		border-top: 1px solid #9D9D9D;
	}
	#gallery_entry_contentsInner_voice h3.voice_title{
		font-size: 28px;
		margin-bottom: 40px;
	}
	#gallery_entry_contentsInner_voice img{
		width: 580px;
		height: auto;
		object-fit: cover;
	  float: none;
	  margin: 0 20px 10px 0;
	  vertical-align: bottom;
	}
	#gallery_entry_contentsInner_voice .article::after {
	  content: "";
	  display: block;
	  clear: both;
	}
	
}




