@charset "utf-8";
.second_hdr {
	height: 450px;
	background-position: right center;
	background-repeat: no-repeat;
	background-size: cover;
	padding-top: 80px;
	box-sizing: border-box;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
	position: relative;
	overflow: hidden;
}
.second_hdr:after {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.2);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;	
}


.second_hdr h1 {
	color: #FFF;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 40px;
	font-weight: 600;
	letter-spacing: 4px;
	position: relative;
	z-index: 10;
}


section.contents {
	max-width: 960px;
	margin: 0 auto;
	padding: 80px 40px;
}


.container_flex {
	max-width: 1200px;
	margin: 0 auto;
	padding: 80px 20px;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

.left_contents {
	width: 75%;
}
.left_contents .top_activity_flex {
	padding: 0;	
}
.right_sidebar {
	width: 22%;
}

.right_sidebar h4 {
	font-size: 18px;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 600;
	margin: 0 0 40px;
	text-align: center;	
}
.right_sidebar h4 span {
	position: relative;
	display: inline-block;	
}
.right_sidebar h4 span:after {
	content: '';
	display: block;
	height: 5px;
	width: 70px;
	background: #DFEEF4;
	margin: 0 auto;
	transform: translateY(10px);
}
.category_links,
ul.recently_links  {
	margin-bottom: 60px;
}
.category_links.flex {
	display: flex;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	justify-content: center;
	margin-bottom: 30px;
}

.category_links li {
	list-style: none;
	margin: 0 0 15px;
}
.category_links.flex li {
	margin: 0 4px 10px;
	min-width: 120px;
}
.category_links.flex li {
	margin: 0 3px 10px;
	min-width: 120px;
	font-size: 15px;
}

.category_links.flex li.news,
.category_links.flex li.caution,
.category_links.flex li.boshu {
	display: none;
}


.category_links li a {
	display: block;
	border: 2px solid #0B7DD1;
	border-radius: 4px;
	color: #0B7DD1;
	text-align: center;
	text-decoration: none;
	height: 40px;
	line-height: 40px;		
}

.category_links li.rengokai a {
	border: 2px solid #8C2300;
	background: #8C2300;
	color: #fff;
}
.category_links li.kenjinkai a {
	border: 2px solid #39A459;
	background: #39A459;
	color: #fff;
}
.category_links li.kagoshima a {
	border: 2px solid #0B7DD1;
	background: #0B7DD1;
	color: #fff;
}
.category_links li.citytown a {
	border: 2px solid #DB6FAF;
	background: #DB6FAF;
	color: #fff;
}
.category_links li.event a {
	border: 2px solid #FFC926;
	background: #FFC926;
	color: #fff;
}
.category_links li.recruitment a {
	border: 2px solid #8500B2;
	background: #8500B2;
	color: #fff;
}


.category_links li a:hover {
	background: #DFEEF4;
}
.category_links li.rengokai a:hover,
.category_links li.kenjinkai a:hover,
.category_links li.kagoshima a:hover,
.category_links li.citytown a:hover,
.category_links li.event a:hover,
.category_links li.recruitment a:hover {
	background: #fff;
}
.category_links li.current a,
.category_links li.current a:hover {
	background: #0B7DD1;
	color: #FFF;
}
.category_links li.rengokai.current a,
.category_links li.rengokai a:hover {
	color: #8C2300;
	background: #FFF;
}
.category_links li.kenjinkai.current a,
.category_links li.kenjinkai a:hover {
	color: #39A459;
	background: #FFF;
}
.category_links li.kagoshima.current a,
.category_links li.kagoshima a:hover {
	color: #0B7DD1;
	background: #FFF;
}
.category_links li.citytown.current a,
.category_links li.citytown a:hover {
	color: #DB6FAF;
	background: #FFF;
}
.category_links li.event.current a,
.category_links li.event a:hover {
	color: #FFC926;
	background: #FFF;
}
.category_links li.recruitment.current a,
.category_links li.recruitment a:hover {
	color: #8500B2;
	background: #FFF;
}

.col_rev {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column-reverse;
	flex-direction: column-reverse;
}


.tag_sort_flex {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	margin: 0 0 40px;
}
@media(min-width: 768px) {
.contents .tag_sort_flex,
.top_info .tag_sort_flex {
	width: 80%;
	margin-left: auto;
	margin-right: auto;	
}
}

.tag_sort_flex p {
	margin: 0 4px 8px;
	font-size: 14px;
	white-space: nowrap;
}
.tag_sort_flex p a {
	color: #B81423;
	border: 2px solid #B81423;
	text-decoration: none;
	display: inline-block;
	padding: 2px 10px;
	border-radius: 4px;
}
.tag_sort_flex p.active a,
.tag_sort_flex p a:hover {
	color: #FFF;
	background: #B81423;
}

.recently_links li {
	list-style: none;
	padding: 10px 5px;
	border-bottom: 1px dotted #999;
	box-sizing: border-box;
}

.recently_links li a {
	color: #333;
	text-decoration: none;
}
.recently_links li a:hover {
	color: #0B7DD1;
}

dl.recently_links {
  display: -webkit-flex;
  display: flex;
  padding: 15px 0;
  border-bottom: 1px solid #CCC;
  cursor: pointer;
 }
 dl.recently_links dt {
	 width: 60px;
	 height: 60px;
	 background-position: center center;
	 background-size: cover;
	 background-repeat: no-repeat;
	 margin-right: 10px;
 }
 dl.recently_links dd {
	 flex: 1
 }
 dl.recently_links h5,
  dl.recently_links h5 a {
	 font-size: 14px;
	 color: #B81423;
	 text-decoration: none;
 }
  dl.recently_links p {
	  font-size: 13px;  
  }

.wp-pagenavi {
	clear: both;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	margin-bottom: 40px;
 }

.wp-pagenavi a,
.wp-pagenavi span {
	margin: 0 5px;
	padding: 0!important;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font-size: 13px;
	background: #C8DCE3;
	text-decoration: none;
	color: #FFF;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
	border: none;
}
.wp-pagenavi span.current {
	background: #18A4D8;
	font-weight: bold;	
}
.wp-pagenavi span.pages {
	display: none;
}



.article_body {
	max-width: 770px;	
}
.article_body p {
	margin-bottom: 2em;
	word-break: break-all;	
}
.article_body ol {
	padding-left: 20px;
	margin-bottom: 2em;	
}
.article_body ol li {
	margin: 0 0 15px;
	line-height: 1.6;	
}
.article_body a {
	color: #0B7DD1;
	text-decoration: underline;
}

.article_title {
	font-size: 24px;
	line-height: 1.5;
	margin-bottom: 50px;
	padding-bottom: 10px;
	border-bottom: 4px solid #DFEEF4;
}
.wp-block-image img {
	width: 100%;
	height: auto;	
}

.wp-block-image {
	margin: 0 0 2em;	
}
.blog_nav {
	clear: both;
	margin-top: 60px;
	margin-bottom: 30px;	
}

.blog_nav ul {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}
.blog_nav li {
	list-style: none;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
 }

.blog_nav a {
	color: #333;
	text-decoration: none;
	position: relative;
}
.blog_nav .prev,
.blog_nav .next {
	position: relative;
	cursor: pointer;
}
.blog_nav .prev {
	padding-left: 60px;	
}
.blog_nav .next {
	padding-right: 60px;	
}
.blog_nav .arrow {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background: #C8DCE3;
	position: relative;
}
.blog_nav .prev .arrow {
	margin-right: 15px;
}
.blog_nav .next .arrow {
	margin-left: 15px;
}

.blog_nav .prev .arrow:after,
.blog_nav .next .arrow:after {
	content: '';
	display: block;
	width: 26px;
	height: 24px;
	position: absolute;
}
.blog_nav .prev .arrow:after {
	background: url(../images/arrow_prev.png) no-repeat 0 0;
	background-size: 26px;
	top: 13px;
	left: 12px;
}
.blog_nav .next .arrow:after {
	background: url(../images/arrow_next.png) no-repeat 0 0;
	background-size: 26px;
	top: 13px;
	left: 12px;
}



.appli_btn {
	margin: 40px 0;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	font-size: 120%;
	font-weight: bold;
		
}
.appli_btn a {
	background: #D44148;
	border: 3px solid #D44148;
	color: #FFF;
	text-decoration: none;
	height: 50px;
	line-height: 50px;
	display: inline-block;
	padding: 0 50px;
	border-radius: 40px;
	text-align: center;
}
.appli_btn a:hover {
	background: #FFF;
	color: #D44148;
}


