@charset "UTF-8";

/*メインイメージ
---------------------------------------------------------*/
.contentpage #header {
	background-color: #fff;
}
.contentpage #header::before {
	background-color: #fff;
}
.contentpage #header .m_bg {
	background-image: url(../images/topics/m_img_case.jpg);
}


article:first-of-type {
  border-top: none;
}


/*共通
---------------------------------------------------------*/
.cat_tit{
	font-size: 214%;
	letter-spacing: 0.1em;
	line-height: 1.6em;
	text-align: center;
	color: #fff;
	padding: 1em;
	background-color: #5d9c3c;
	margin-bottom: 60px; 
}
.cat_tit span{
	padding-right: 1.5em;
	position: relative;
}
.cat_tit span::before {
    position: absolute;
    content: "／";
    right: 0;
    top: -0.25em;
}
.cat_tit span:last-child{
	padding-right: 0;
}
.cat_tit span:last-child::before {
	position: static;
	content: none;
}
.single_bg {
	background-color: #f5f7ec;
	padding: 100px 0 90px;
}
.case_tit{
	text-align: center;
    margin-bottom: 50px;
	position: relative;
}
.case_tit .entry-title{
	font-size: 214%;
	letter-spacing: 0.1em;
	line-height: 1.6em;
	padding-bottom: 45px;
	margin-bottom: 40px;
	position: relative;
}
.case_tit .entry-title::before{
	position: absolute;
	content: "";
	background: url(../images/topics/case_line.png) no-repeat center bottom;
	background-size: auto 100%;
	max-width: 1108px;
	width: 100%;
	height: 1px;
	left: 0;
	right: 0;
	margin: auto;
	bottom: 0;
}
.case_tit > ul{
    display: flex;
    justify-content: center;
	 flex-wrap: wrap;
	letter-spacing: normal;
	font-size: min(100%,1.4vw);
}
.case_tit > ul > li{
	display: flex;
	justify-content: center;
	align-items: center;
	padding-right: 2.5em;
	position: relative;
	box-sizing:border-box;
	margin-top: 0.5em;
}
.case_tit > ul > li::before{
	position: absolute;
	content: "／";
	right: 0.75em;
	top:0.25em;
	color: #727A89;
}
.case_tit > ul > li:last-child{
    padding-right:0;
}
.case_tit > ul > li:last-child::before{
	position: static;
	content:none;
}
.case_tit > ul > li p a {
	display: block;
	border-radius: 6px;
	letter-spacing: .06em;
	padding: .2em .6em;
	background: #5d9c3c;
	color: #fff;
	font-weight: bold;
	margin-right: 0.5em;
}
.case_tit > ul > li p a:hover{
	background-color: #828282;
}
.case_tit > ul > li ul{
	display: flex;
}
.case_tit > ul > li ul li{
	margin-right: 0.5em;
}
.case_tit > ul > li ul li:last-child{
	margin-right: 0;
}
.case_tit > ul > li ul a {
	color: #727A89;
	text-decoration: underline;
}
.case_tit > ul > li ul a:hover{
	text-decoration: none;
}
.before_after{
	display: flex;
    justify-content: space-between;
    max-width: 946px;
    margin: 0 auto;
}
_:lang(x)+_:-webkit-full-screen-document,.single_page .before_after{
	padding-bottom: 70px!important;
}
.before_after_list{
	margin-top: 50px;
}
.before_after_list:first-of-type{
	margin-top: 0;
}
.before_after > dl{
	max-width: 433px;
	width: 45.77167019%;
}
.before_after > dl dt{
	padding: 20px 0 16px;
	border-bottom: 1px solid;
}
.before_after > dl.before dt{
	border-color: #b1b1ae;
}
.before_after > dl.after dt{
	border-color: #5d9c3c;
}
.before_after > dl dt img{
	margin: 0 auto;
	display: block;
	max-width: 134px;
	width: 35%;
	text-align: center
}
.before_after .arrow{
	position: relative;
    max-width:80px;
	width: 8.45665962%;	
}
.before_after .arrow img{
	position: absolute;
	left: 0;
	right: 0;
	top: 29%;
	margin: auto;
}
.sab_img{
    max-width: 895px;
    margin: 70px auto -70px;
    display: flex;
	flex-wrap: wrap;
}
.sab_img li{
    width: 30%;
    margin-bottom: 70px;
}
.sab_img li:nth-child(2n){
    margin-left: 5%;
    margin-right: 5%;
}
.sab_img li div{
    text-align: center;
    margin: 0 auto;
}
.sab_img li p{
	font-size: 105%;
	line-height: 1.6em;
	letter-spacing: 0.15em;
    margin-top:1em;
}

hr.com_title_line{
	margin-bottom: 60px;
}
a.more{
	color: #5d9c3c;
	text-decoration: underline;
}
a.more:hover{
	text-decoration: none;
}
.case_bg{
	padding-bottom: 90px;
}
.com_btn1{
	margin-top: 50px;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.cat_tit{
	font-size: 3vw;
	padding: 0.8em 1em;
	margin-bottom: 5vw; 
}
.single_bg {
	padding: 9vw 0 8vw;
}
.case_tit{
    margin-bottom: 4vw;
}
.case_tit .entry-title{
	font-size: 3vw;
	padding-bottom: 4vw;
	margin-bottom: 3.5vw;
}
_:lang(x)+_:-webkit-full-screen-document,.single_page .before_after{
	padding-bottom: 5vw!important;
}
.before_after_list{
	margin-top: 5vw;
}
.before_after > dl dt{
	padding: 2vw 0 1.6vw;
}
.sab_img{
    margin: 6vw auto -6vw;
}
.sab_img li{
    margin-bottom: 6vw;
}

hr.com_title_line{
	margin-bottom: 5vw;
}
.case_bg{
	padding-bottom: 8vw;
}
.com_btn1{
	margin-top: 6vw;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.cat_tit{
	font-size: 140%;
	letter-spacing: 0.05em;
	padding: 0.5em 1em;
	margin-bottom: 7vw; 
	
}
.cat_tit span{
	display: inline-block;
	padding-right: 0;
}
.cat_tit span::before {
    position: static;
    content: none;
}
.single_bg {
	padding: 10vw 0;
}
.case_tit{
    margin-bottom: 7vw;
}
.case_tit .entry-title{
	font-size: 140%;
	letter-spacing: 0.05em;
	padding-bottom: 6vw;
	margin-bottom: 5.5vw;
}
.case_tit > ul{
	font-size: 75%;
}
.case_tit > ul > li p a {
  letter-spacing: normal;
  padding: .2em .5em;
}
_:lang(x)+_:-webkit-full-screen-document,.single_page .before_after{
	padding-bottom: 0!important;
	margin-bottom: 5vw;
}
.before_after_list{
	margin-top: 6vw;
}
.before_after > dl dt{
	padding: 2.4vw 0 1.8vw;
}
.before_after > dl dt img{
	width: 45%;
}
.before_after .arrow img{
	top: 27%;
}
.sab_img{
     justify-content: space-between;
    width: 100%;
    margin: 8vw auto 0;
}
.sab_img li{
    width: 48.5%;
    margin: 0 0 6vw!important;
    max-width: 48.5%;
}
.sab_img li:last-child{
    margin-bottom: 0;
}
.sab_img li:nth-child(2n){
    margin-left: auto;
    margin-right: auto;
}
.sab_img li p{
    font-size:100%;
	letter-spacing: 0.1em;
    text-align: center;
}
hr.com_title_line{
	margin-bottom: 8vw;
}
.case_bg{
	padding-bottom: 10vw;
}
.com_btn1{
	margin-top: 8vw;
}
}





/*case_list
---------------------------------------------------------*/
.case_index {
	font-size: 167%;
	text-align: center;
	letter-spacing: .1em;
	line-height: 1.4em;
	padding-bottom: 1.0em;
	margin-bottom: 55px;
	position: relative;
}
.case_index::before {
	position: absolute;
	content: "";
	background: url(../images/topics/case_line_cat.png) no-repeat center bottom;
	background-size: auto;
	background-size: auto 100%;
	max-width: 1332px;
	width: 100%;
	height: 1px;
	left: 0;
	right: 0;
	margin: auto;
	bottom: 0;
}
.case_list{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.case_list > li{
	max-width: 660px;
	width: 49.5%;
	background-color: #f5f7ec;
	margin-top: 20px;
	padding-bottom: 50px;
}
.case_list > li:nth-child(-n + 2){
	margin-top: 0;
}
.case_list > li .case_inbox{
	max-width: 590px;
	width: 90%;
	margin: 0 auto;
	padding: 40px 0 35px;
}
.case_list > li .case_tit{
	margin-bottom: 30px;
}
.case_list > li .case_tit .entry-title{
	font-size: 135%;
	padding-bottom: 30px;
	margin-bottom: 25px;
}
.case_list > li .case_tit .entry-title::before {
	max-width: 100%;
	width: 100%;
	height: 1px;
}
.case_list > li .case_tit .entry-title:hover a{
	color: #5d9c3c!important;
}
.case_list > li .img_thumbnail{
    margin-bottom: 30px;
}
.case_list > li .before_after .arrow img {
  top: 36%;
}
.case_list > li .case_bore_btn a{
	font-size: 105%;
	letter-spacing: 0.1em;
	font-weight: bold;
	display: block;
	text-align: center;
	line-height: 1em;
	padding: 1.2em 3%;
	box-sizing: border-box;
	background-color: #d9e6bc;
	max-width: 17.875em;
	margin: 0 auto;
	border-radius: 1.7em;
}
.case_list > li .case_bore_btn a span{
	padding-right: 1.5em;
	position: relative;
}
.case_list > li .case_bore_btn a span::before{
	position: absolute;
	content: "";
	top: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	vertical-align: middle;
	width: 0.44em;
	height: 0.44em;
	border-top: 1px solid #46463f;
	border-right: 1px solid #46463f;
	transform: rotate(45deg);
}
.case_list > li .case_bore_btn a:hover{
	background-color: #5d9c3c;
	color: #fff;
}
.case_list > li .case_bore_btn a:hover span::before{
	border-color: #fff;
}
/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.case_index {
	font-size: 2.7vw;
	padding-bottom: 0.8em;
	margin-bottom: 5%;
}
.case_list > li{
	margin-top: 1.5vw;
	padding-bottom: 4vw;
}
.case_list > li .case_inbox{
	padding: 3.5vw 0 3vw;
}
.case_list > li .case_tit{
	margin-bottom: 2.5vw;
}
.case_list > li .case_tit .entry-title{
	font-size: 2vw;
	padding-bottom: 2.5vw;
	margin-bottom: 2vw;
}
.case_list > li .img_thumbnail{
    margin-bottom: 2vw;
}
.case_list > li .case_bore_btn a{
	font-size: 95%;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.case_index {
	font-size: 130%;
	padding-bottom: 0.6em;
	margin-bottom: 7%;
}
.case_list{
    display: block;
}
.case_list > li{
	max-width: 100%;
	width:100%;
	margin-top:3vw!important;
	padding-bottom: 6vw;
}
.case_list > li:nth-child(-n + 1){
	margin-top: 0!important;
}
.case_list > li .case_inbox{
	max-width: 90%;
	width: 90%;
	padding: 6vw 0 5vw;
}
.case_list > li .case_tit{
	margin-bottom:4vw;
}
.case_list > li .case_tit .entry-title{
	font-size: 125%;
	padding-bottom: 5vw;
	margin-bottom: 5vw;
}
.case_list > li .img_thumbnail{
    margin-bottom: 4vw;
}

.case_list > li .case_bore_btn a{
	font-size: 90%;
	padding: 1.1em 3%;
}
}






/*tbl_detail
---------------------------------------------------------*/
.tbl_detail{
    width: 100%;
	margin-top: 70px;
	font-size: 105%;
	line-height: 2em;
	letter-spacing: 0.15em;
	
}
.tbl_detail tr:nth-child(odd) {
	background-color: #FFFFFF;
}
.tbl_detail th{
	width: 26%;
    font-size:113%;
    line-height: 1.8em;
	letter-spacing: 0.15em;
	padding: 25px 2.5em;
	font-weight: bold;
    box-sizing: border-box;
	vertical-align: top;
}
.tbl_detail td{
	width: 74%;
	padding: 25px 3em 25px 1.5em;
    box-sizing: border-box;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 960px) and (max-width: 1080px) {
.tbl_detail th{
	width: 28%;
	padding: 25px 2em;
}
.tbl_detail td{
	width: 72%;
	padding: 25px 2.5em 25px 0;
}
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.tbl_detail{
	margin-top: 5vw;
	letter-spacing: 0.1em;
}
.tbl_detail th{
	padding: 3vw 2vw;
}
.tbl_detail td{
	padding: 2.5vw 2.5em 2.5vw 0;
    box-sizing: border-box;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.tbl_detail{
	margin-top: 5vw;
	letter-spacing: 0.05em;
	line-height: 1.8em;
}
.tbl_detail tr,
.tbl_detail th,
.tbl_detail td{
    display: block;
}
.tbl_detail th{
	font-size: 105%;
	width: 100%;
    line-height: 1em;
	padding: 5vw 5% 0.4em;
}
.tbl_detail td{
	width: 100%;
	padding: 0 5% 5vw;;
}
}





/*case_risk
---------------------------------------------------------*/
.case_risk{
    margin-top: 70px;
	background: rgba(230,222,201,0.5);
	padding: 40px 4% 50px;
	box-sizing: border-box;
}
.case_risk dt,
.case_risk dd{
	max-width: 1050px;
	margin: 0 auto;
}
.case_risk dt{
	font-size: 134%;
	letter-spacing: 0.15em;
	line-height: 1em;
	text-align: center;
	font-weight: bold;
	padding-bottom: 1.2em;
	margin-bottom: 1.6em;
	position: relative;
}
.case_risk dt::before{
	position: absolute;
	content: "";
	background: url(../images/topics/risk_line.png) no-repeat center bottom;
	background-size: auto 100%;
	width: 100%;
	height: 1px;
	left: 0;
	right: 0;
	margin: auto;
	bottom: 0;
}
.case_risk dd ul > br{
	display: none;
}
.case_risk dd ul li{
	padding-left: 1em;
	text-indent: -1em;
}
/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.case_risk{
	margin-top: 6%;
	padding: 3% 4% 4%;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.case_risk{
	margin-top: 9%;
	padding: 6% 5% 5%;
}
.case_risk dt{
	font-size: 114%;
	letter-spacing: 0.1em;
	padding-bottom: 1em;
	margin-bottom: 1.1em;
}
}






/*case_page_link
---------------------------------------------------------*/
.single_page .case_page_link .page_link_border{
    position: relative;
	padding: 2em 2em;
	border-top: 1px solid #b1b1ae;
	border-bottom: 1px solid #b1b1ae;
	margin-top: 110px;
	font-weight: normal;
	margin-bottom: 70px;
}
.single_page .case_page_link li.flt_r{
    text-align: right;
}
.single_page .case_page_link li{	
	display: block;
    width:48%;
    line-height: 1.6em;
}
.single_page .case_page_link li a{
    position: relative;
	box-sizing: border-box;
    z-index: 5;
}
.single_page .case_page_link li a:hover{
    color: #5d9c3c;
}
.single_page .case_page_link li span{
	position: relative;
}
.single_page .case_page_link li.flt_l span{
	padding-left: 1em;
}
.single_page .case_page_link li.flt_r span{
	padding-right: 1em;
}
.single_page .case_page_link li.flt_l span::before{
	position: absolute;
	content: "";
	top: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	vertical-align: middle;
	width: 0.44em;
	height: 0.44em;
	border-top: 1px solid #46463f;
	border-right: 1px solid #46463f;
	transform: rotate(225deg);
}
.single_page .case_page_link li.flt_r span::before{
	position: absolute;
	content: "";
	top: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	vertical-align: middle;
	width: 0.44em;
	height: 0.44em;
	border-top: 1px solid #46463f;
	border-right: 1px solid #46463f;
	transform: rotate(45deg);
}
.single_page .case_page_link li.flt_l a:hover span::before{
	border-color: #5d9c3c;
}
.single_page .case_page_link li.flt_r a:hover span::before{
	border-color: #5d9c3c;
}

/* PC調整
------------------------------------------*/
@media only screen and (min-width: 960px) and (max-width: 1300px) {
.single_page .case_page_link .page_link_border{
	padding: 2.3em 0;
}
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.single_page .case_page_link .page_link_border{
	padding: 2em 0;
	margin-top:9vw;
	margin-bottom: 6vw;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.single_page .case_page_link .page_link_border{
	padding: 5% 0;
	margin-top: 12vw;
	margin-bottom: 8vw;
}
}









/*子カテゴリー
--------------------------------------------------------------------*/
/*子カテゴリーリンク*/
.cat_select {
	width: 100%;
	max-width: 16em;
	margin-left: auto;
	margin-right: 0;
	position: relative;
	margin-bottom: 90px;
	text-align: right;
}
.cat_select .topics_link{
	text-align: left;
}
.cat_select .open_box {
	display: none;	/*初期表示*/
	position: absolute;
	width: 100%;
	box-sizing: border-box;
	z-index: 5;
	padding:.5rem 5%;
	left: 0;
	top: 100%;
	border:#DEDEC4 5px solid;
    border-top:none;
    background: #fff;
}
.cat_select .child_cat_list{
	margin-bottom: 0;
}
.cat_select .child_cat_list li{
	width: 100%;
    text-align: left;
}
.cat_select .child_cat_list a {
	display: block;
	padding: .4em 0;
	padding-right: 1.5em;
	position: relative;
	border-bottom: solid 1px #bec1c1;
}
.cat_select .child_cat_list a:hover{
	color: #bec1c1;
}
.cat_select .child_cat_list li:last-child a {
	border-bottom: none;
}
.cat_select .child_cat_list a::before {
	font-family: 'fontello';
	content: '\e800';
	font-size: 50%;
	position: absolute;
	right: 0;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
/*子カテゴリーリンク*/
.cat_select {
	margin-bottom: 4%;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
/*子カテゴリーリンク*/
.cat_select {
	max-width: 100%;
	margin-bottom: 8%;
}
}





/* other
--------------------------------------------------------------------*/
.txt_none{
    text-align: center;
    padding-bottom: 100px;
}
.f_bnr{
    position: relative;
    z-index: 0;
}
#wrapper {
    overflow: visible;
    position: relative;
    z-index: 2;
}
article{
    padding: 0;
    border-bottom: none;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.txt_none{
    padding-bottom: 10%;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.txt_none{
    padding-bottom: 10%;
}
}





/*親カテゴリー
--------------------------------------------------------------------*/
.case .catp_index {
	font-size: 135%;
	letter-spacing: .18em;
	line-height: 1.2em;
	font-weight: bold;
	position: relative;
	margin-bottom: 40px;
}
.case .catp_index span {
	display: inline-block;
	padding-left: 1.6em;
	background: #FFF;
	position: relative;
	z-index: 1;
}
.case .catp_index span::before {
	content: "";
	position: absolute;
	width: 1.1em;
	height: 1.1em;
	background: url("../images/topics/icon_search.svg") no-repeat center center;
	background-size: contain;
	left: 0;
	top: .1em;
}
.case .cat_parent ul {
	display: flex;
    flex-wrap: wrap;
	max-width: 1240px;
	margin: 0 auto 60px;
	font-size: min(120%,1.5vw);
	text-align: center;
	font-weight: bold;
}
.case .cat_parent li {
	width:23.8%;
	margin-left: 0;
	margin-right: 1.6%;
	margin-top: 1.6%;
}
.case .cat_parent li:nth-child(-n + 4){
	margin-top: 0;
}
.case .cat_parent li:nth-child(4n){
	margin-right: 0;
}
.case .cat_parent li a{
	background-color: #e6dec9;
	color: #46463f;
	letter-spacing: 0.05em;
	display: block;
	padding: 0.5em 2em;
	position: relative;
}
.case .cat_parent li a:hover{
	background-color: #46463f;
	color: #fff;
}
.case .cat_parent li a::before {
	position: absolute;
	content: "";
	top: 0;
	bottom: 0;
	right: 1.5em;
	margin: auto;
	vertical-align: middle;
	width: 0.5em;
	height: 0.5em;
	border-top: 1px solid #46463f;
	border-right: 1px solid #46463f;
	transform: rotate(45deg);
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.case .catp_index {
	font-size: 125%;
	letter-spacing: .15em;
	margin-bottom: 3vw;
}
.case .cat_parent ul {
	margin: 0 auto 5vw;
	font-size: 90%;
}
.case .cat_parent li {
	width: 32%;
	margin-right: 2%!important;
	margin-top: 2%!important;
}
.case .cat_parent li:nth-child(-n + 3){
	margin-top: 0!important;
}
.case .cat_parent li:nth-child(3n){
	margin-right: 0!important;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.case .catp_index {
	font-size: 115%;
	letter-spacing: .1em;
	margin-bottom: 5vw;
}
.case .cat_parent ul {
	margin: 0 auto 7vw;
	font-size: 75%;
}
.case .cat_parent li {
	width: 48.5%;
	margin-right: 3%!important;
	margin-top: 3%!important;
}
.case .cat_parent li:nth-child(-n + 2){
	margin-top: 0!important;
}
.case .cat_parent li:nth-child(2n){
	margin-right: 0!important;
}
.case .cat_parent li a{
	padding: 0.5em 1.5em;
}
.case .cat_parent li a::before {
	right: 1em;
}
}





/*子カテゴリー
--------------------------------------------------------------------*/
.case .cat_child ul {
	display: flex;
    flex-wrap: wrap;
	max-width: 1240px;
	margin: 0 auto 60px;
	font-size: min(120%,1.5vw);
	text-align: center;
	font-weight: bold;
}
.case .cat_child ul li{
	width:23.8%;
	margin-left: 0;
	margin-right: 1.6%;
	margin-top: 1.6%;
}
.case .cat_child ul li:nth-child(-n + 4){
	margin-top: 0;
}
.case .cat_child ul li:nth-child(4n){
	margin-right: 0;
}
.case .cat_child ul li a{
	background-color: #e6dec9;
	color: #46463f;
	letter-spacing: 0.05em;
	display: block;
	padding: 0.5em 2em;
	position: relative;
}
.case .cat_child ul li a:hover{
	background-color: #46463f;
	color: #fff;
}
.case .cat_child ul li a::before {
	position: absolute;
	content: "";
	top: 0;
	bottom: 0;
	right: 1.5em;
	margin: auto;
	vertical-align: middle;
	width: 0.5em;
	height: 0.5em;
	border-top: 1px solid #46463f;
	border-right: 1px solid #46463f;
	transform: rotate(45deg);
}
/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.case .cat_child ul {
	margin: 0 auto 5vw;
	font-size: 90%;
}
.case .cat_child ul li{
	width: 32%;
	margin-right: 2%!important;
	margin-top: 2%!important;
}
.case .cat_child ul li:nth-child(-n + 3){
	margin-top: 0!important;
}
.case .cat_child ul li:nth-child(3n){
	margin-right: 0!important;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.case .cat_child ul {
	margin: 0 auto 7vw;
	font-size: 75%;
}
.case .cat_child ul li{
	width: 48.5%;
	margin-right: 3%!important;
	margin-top: 3%!important;
	
}
.case .cat_child ul li:nth-child(-n + 2){
	margin-top: 0!important;
}
.case .cat_child ul li:nth-child(2n){
	margin-right: 0!important;
}
.case .cat_child ul li a{
	padding: 0.5em 1.5em;
}
.case .cat_child ul li a::before {
	right: 1em;
}
}



/*com_btn1
--------------------------------------------------------------------*/
.case .com_btn1 {
	cursor:pointer;
	text-align: center;
}
.case .com_btn1 a{
    max-width: 18.2em;
	width: 100%;
    display: inline-block;
    text-align: center;
    color: #fff !important;
    font-size: 120%;
    font-weight: bold;
    letter-spacing: .1em;
    line-height: 1.4em;
    white-space: nowrap;
    background: #5d9c3c;
    box-sizing: border-box;
    padding: 0.65em 4.5em;
    border-radius: 5.0em;
    position: relative;
}
.case .com_btn1 .com_arrow {
    font-size: 100%;
    position: absolute;
    right: 0.65em;
    top: 50%;
    translate: 0 -50%;
	display: block;
    text-align: center;
    letter-spacing: normal;
   	width: 1.5em;
	height: 1.5em;
	transition: all .3s;
    background: #fff;
	border-radius: 50%;
}
.case .com_btn1:hover .com_arrow{
    right: 1em;
}
.case .com_btn1 .com_arrow i {
    display: block;
	width: 100%;
	height: 100%;
    transition: all 0.4s;
	position: relative;
}
.case .com_btn1 .com_arrow i::before{
	position: absolute;
	top: 0em;
	transform: rotate(45deg);;
	bottom: 0;
	right: 0.15em;
	left: 0;
	margin: auto;
	content: "";
	vertical-align: middle;
	width: 0.3em;
	height: 0.3em;
	border-top: 1px solid #5d9c3c;
	border-right: 1px solid #5d9c3c;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.case .com_btn1 a{
    font-size: 110%;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.case .com_btn1 a{
    font-size: 100%;
}
}



/*page number
-----------------------------------------------------*/
.wp-pagenavi {
	font-family: 'Julius Sans One', sans-serif;
	-webkit-font-smoothing: antialiased;
	font-size: 147%;
	letter-spacing: 0;
	line-height: 1em;
	margin:80px auto 0;
	padding:0;
	width: 100%;
	display: inline-block;
	text-align:center;
	background: transparent;
}
.wp-pagenavi span,
.wp-pagenavi a {
	margin: 0 0.5em 0;
	color: #2a2a2a;
	letter-spacing: normal;
	display: inline-block;
	text-align:center;
}
.wp-pagenavi .current,
.wp-pagenavi a:hover{
	color: #5d9c3c;
}
.wp-pagenavi .pages,
.wp-pagenavi .extend {
	display: none;
}
 

.nextpostslink,
.previouspostslink{
	position: relative;
	height: 1em;
	width: 1em;
	z-index: 1;
}
.nextpostslink::before{
	position: absolute;
	content: "";
	background: url(../images/topics/next.png)no-repeat right center;
	background-size: 100% auto;
	width: 1em;
	height: 1em;
	right: 0;
	top:65%;
	transform: translateY(-50%);
	transition: 1s;
	z-index: 2;
}
.nextpostslink::after{
	position: absolute;
	content: "";
	background: url(../images/topics/next_h.png)no-repeat right center;
	background-size: 100% auto;
	width: 1em;
	height: 1em;
	right: 0;
	top:65%;
	transform: translateY(-50%);
	transition: 1s;
	z-index: 1;
}
.nextpostslink:hover::before{
	opacity: 0;
	transition: 1s;
}
.previouspostslink::before{
	position: absolute;
	content: "";
	background: url(../images/topics/prev.png)no-repeat right center;
	background-size: 100% auto;
	width: 1em;
	height: 1em;
	right: 0;
	top:65%;
	transform: translateY(-50%);
	transition: 1s;
	z-index: 2;
}
.previouspostslink::after{
	position: absolute;
	content: "";
	background: url(../images/topics/prev_h.png)no-repeat right center;
	background-size: 100% auto;
	width: 1em;
	height: 1em;
	right: 0;
	top:65%;
	transform: translateY(-50%);
	z-index: 1;
}
.previouspostslink:hover::before{
	opacity: 0;
	transition: 1s;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.wp-pagenavi {
	font-size: 137%;
	margin:7vw auto 0;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.wp-pagenavi {
	font-size: 127%;
	margin:10vw auto 0;
}
}