.archives {
	padding: 8% 12%;
	background: #fff;
}
.archives .categories ul {
	margin: 0;
	padding: 0;
	flex-flow: row wrap;
	justify-content: center;
}
.archives .categories ul li {
	display: block;
	width: 18%;
	margin: 1%;
}
.archives .categories ul li a {
	display: block;
	padding: 6% 0;
	background: #0764cd;
	border: 1px solid #0764cd;
	color: #fff;
	text-align: center;
	letter-spacing: .1em;
	border-radius: 9999px;
}
.archives .categories ul li.active a {
	background: #fff;
	color: #0764cd;
}
@media only screen and (max-width: 599px){
	.posts-main-image {
		margin: 75px 0 0 0;
	}
	.archives {
		padding: 16% 8%;
	}
	.archives .categories ul {
		padding: 0 8%;
	}
	.archives .categories ul li {
		display: block;
		width: 100%;
		margin: 2% 0;
	}
	.archives .categories ul li a {
		padding: 4% 0;
	}
}

.archives .post-list {
	margin: 0;
	padding: 6% 0;
	flex-flow: row wrap;
}
.post-list .post-slide {
	width: calc((100% - 120px) / 3);
	margin: 36px 20px;
	padding: 16px;
}
@media only screen and (max-width: 599px){
	.archives .post-list {
		padding: 16% 0 0 0;
	}
	.post-list .post-slide {
		width: 100%;
		margin: 8% 0;
	}
}

.page-nate {
	display: flex;
	justify-content: center;
	font-size: 1.6rem;
	padding: 6% 0;
}
.page-numbers {
	background: #d2d2d2;
	color: #fff;
	display: block;
	width: 40px;
	height: 40px;
	line-height: 40px;
	border-radius: 20px;
	margin: 0 8px;
	text-align: center;
}
.page-nate .current {
	color: #fff;
	background: #0764cd;
}
.page-nate .next,
.page-nate .prev {
	display: none;
}
@media only screen and (max-width: 599px) {
	.page-numbers {
		width: 30px;
		height: 30px;
		line-height: 30px;
	}
	.page-nate {
		padding: 10% 0;
	}
}

/* single post */
.single-post {
	position: relative;
	padding: 8% 16%;
	background: #fff;
}
.single-post > h2 {
	font-size: 3.2rem;
	text-align: left;
	width: 100%;
	margin: 0 auto 4% auto;
	padding: 2%;
	line-height: 1.4;
	align-items: center;
	justify-content: flex-start;
	border-bottom: 2px solid #b8b8b8;
}
.single-post > h2 span.title-cat {
	padding: 8px 36px;
	margin: 0 0 0 2rem;
	font-size: 1.6rem;
	color: #fff;
	background: #0764cd;
	line-height: 1;
	word-break: keep-all;
	border-radius: 9999px;
}
@media only screen and (max-width: 599px) {
	.single-post {
		margin: 0;
		padding: 16% 6% 12% 6%;
	}
	.single-post > h2 {
		width: 100%;
		text-align: left;
		margin: 0 0 6% 0;
		padding: 6% 0;
		flex-flow: row wrap;
		font-size: 1.2rem;
		line-height: 1.4;
	}
	.single-post > h2 span.title-cat {
		margin: 0;
	}
	.single-post > h2 > span.title {
		display: block;
		width: 100%;
		margin: 1em 0 0 0;
	}
}
.single-post section {
	width: 92%;
	padding: 4% 0;
	margin: 0 auto;
	border-bottom: 2px solid #b8b8b8;
}
.single-post section h1 {
	font-size: 4rem;
}
.single-post section h2 {
	font-size: 3rem;
}
.single-post section h3 {
	font-size: 2.4rem;
}
.single-post section h4 {
	font-size: 1.8rem;
}
.single-post section h5 {
	font-size: 1.4rem;
}
.single-post section h6 {
	font-size: 1.2rem;
}
.single-post-slider {
	width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
}
.youtube-wrap {
	position: relative;
	width: 100%;
	height: 0;
	padding: 75% 0 0 0;
	margin: 4% 0 0 0;
}
.youtube-wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%!important;
	height: 100%!important;
}
#photo {
	width: 72%;
	position: relative;
	padding: calc(72% * 0.72) 0 0 0;
	margin: 0;
}
#photo li {
	position: absolute;
	display: block;
	width: 100%;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}
#photo li > a {
	display: block;
	width: 100%;
	height: 100%;
}
#photo li > a > img {
	display: block;
	width: 100%;
	height: auto;
}
#thumbnail {
	width: 24%;
	height: 100%;
	display: flex;
	flex-flow: row wrap;
	justify-content: left;
	margin: 0;
	padding: 0;
}
#thumbnail li {
	position: relative;
	display: block;
	width: 48%;
	height: 0;
	margin: 1%;
	cursor: pointer;
	padding: 35% 0 0 0;
}
#thumbnail li span {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.clearfix:after {
	content: " ";
	display: block;
	clear: both;
}
.modaal-container img {
	display: block;
	width: 100%;
	height: auto;
	transform: scale(1.01);
}
@media only screen and (max-width: 599px) {
	.single-post-slider {
		width: 100%;
		flex-flow: row wrap;
		padding: 6% 0;
	}
	#photo {
		width: 100%;
		position: relative;
		margin: 0 0 calc(5px / 2) 0;
		padding: 75% 0 0 0;
	}
	#photo li {
		position: absolute;
		display: block;
		width: 100%!important;
		height: 100%!important;
		top: 0;
		left: 0;
	}
	#photo li a {
		display: block;
		width: 100%!important;
		height: 100%!important;
	}
	#thumbnail {
		width: 100%;
		margin: 0;
		display: flex;
		justify-content: flex-start;
		flex-flow: row wrap;
		padding: 0;
	}
	#thumbnail li {
		display: block;
		width: calc(25% - 5px);
		cursor: pointer;
		margin: calc(5px / 2);
		padding: calc(75%/4) 1% 0 1%;
	}
	.modaal-close {
		top: 100px!important;
	}
	.single-post section {
		width: 100%;
		padding: 8% 0;
		margin: 0 auto 8% auto;
	}
}


/* ----------------------------------------
* pager
---------------------------------------- */
#paging {
	width: 30%;
	margin: 0 auto;
	padding: 5% 0;
}
#paging div {
	width: 50%;
	font-size: 110%;
	text-align: center;
}
.prev-post a,
.next-post a {
	color: #0764cd;
}
/* .prev-post a:before {
	content: '＜';
	font-size: .88rem;
}
.next-post a:after {
	content: '＞';
	font-size: .88rem;
} */
#paging div a:hover {
	opacity: 0.8;
}
@media only screen and (max-width: 599px) {
	#paging {
		width: 80%;
	}
	#paging div {
		font-size: 100%;
	}
}
.construction-single-page-link > div {
	width: calc(100%/3);
}
@media only screen and (max-width: 599px) {
	.construction-single-page-link {
		display: block!important;
	}
	.construction-single-page-link > div {
		width: 100%;
	}
}

.pagetop {
	display: block;
	position: fixed;
	bottom: 12%;
	right: 4%;
	width: 56px;
	height: 56px;
	border: none;
	box-shadow: none;
	background: none;
	z-index: 998;
}
@media only screen and (max-width: 599px) {
	.pagetop {
		width: 56px;
		height: 56px;
	}
}

@media only screen and (min-width: 600px) {
	.mobile-footer-fixed {
	  display: none;
	  }
  }
  @media only screen and (max-width: 599px) {
	  .mobile-footer-fixed {
	  display: flex;
		  position: fixed;
		  bottom: 0;
		  left: 0;
		  width: 100%;
		  font-size: .64rem;
		  z-index: 100;
	  }
	  .mobile-footer-fixed a:nth-of-type(1) {
		  width: 60%;
		  background: rgba(255, 255, 255, 0.8);
		  color: #000;
		  text-align: center;
	  }
	  .mobile-footer-fixed a:nth-of-type(2) {
		  width: 40%;
		  background: rgba(7, 100, 205, 0.8);
		  text-align: center;
	  }
	  .mobile-footer-fixed a:nth-of-type(1) img {
		  width: 16px;
		  display: block;
		  margin: 10px auto 4px auto;
	  }
	  .mobile-footer-fixed a:nth-of-type(2) img {
		  width: 16px;
		  display: block;
		  margin: 10px auto 8px auto;
	  }
  }