@charset "utf-8";

/*table
----------------------------------------------------------------------*/
.cms-posts table{
	margin: 5px auto 15px auto;
	width: 100%;
	border-top:1px solid #aaa;
	border-bottom:1px solid #aaa;
}
.cms-posts table caption{
	padding: 5px 0;
	text-align: left;
	display: block;
	font-weight: bold;
}
.cms-posts table caption:before{
	content: "■";
}

.cms-posts table thead th{
	padding: 15px 10px;
	border: 1px solid #fff;
	text-align: center;
	font-weight:bold;
	background-color: #4b4b4b;
	color: #FFF;
}
.cms-posts table th a{
	color:#FFF;
}
.cms-posts table tbody th{
	padding: 15px 10px;
	text-align: center;
	font-weight:normal;
	background-color: #eeeeee;
	border: 1px solid #999;
	border-top:1px dotted #aaa;
	border-bottom:1px dotted #aaa;
	color: #000;
}

.cms-posts table tbody td{
	padding: 15px 10px;
	border: 1px solid #999;
	border-top:1px dotted #aaa;
	border-bottom:1px dotted #aaa;
}


@media screen and (max-width: 620px) {
table.smartphone{
	display: block;
	width: 100%;
}
table.smartphone thead{
	display: none;
}
table.smartphone tbody{
	display: block;
	width: 100%;
}
table.smartphone tr{
	display: block;
	margin-bottom: 1.5em;
	width: 100%;
}
table.smartphone th,
table.smartphone td{
	display: list-item;
	width: 100%;
	padding: 5px 10px !important;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	display: block;
	border: 0;
}
table.smartphone th{
	list-style-type: none;
	display: block;
	background: #ededed;
}

table.smartphone td{
	margin-left: 0;
	list-style-type: none;
	border: 0;
	padding-left: 25px;
}
}

/*cms-posts
************************************************************************************/
.alignleft {
	float: left;
	margin: 0 10px 10px 0;
}
.alignright {
	float: right;
	margin: 0 0 10px 10px;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	clear: both;
}
.cms-posts img{
	max-width: 100%;
	height: auto;
}

.cms-posts ol{
	counter-reset:number;
	list-style:none;
	margin:0;
	padding:0;
}

.cms-posts ol li{
	margin: 0 0 1em 2.5em;
	background: none;
	line-height: 2.0 !important;
	list-style-type: none;
}

.cms-posts ol li:before {
	counter-increment: number;
	content: counter(number);
	float: left;
	background: #516279;
	color: #FFF;
	width: 2em;
	height: 2em;
	border-radius: 50%;
	text-align: center;
	line-height: 2.0 !important;
	margin: 0 7px 0 -2.5em;
}
.cms-posts ol.color_red li:before {
	background: #ff0000;
}

.cms-posts ol li p,
.cms-posts ol li div{
	overflow: auto;
	zoom: 1;
	margin: 0 !important;
	padding: 0 !important;
}

.cms-posts ul{
	list-style-type: square;
	margin-left: 2.4em;
	margin-top: 5px;
}
.cms-posts ul li{
	margin-bottom: 5px;
	background: none;
	padding: 0;
	list-style-type: square;
}
.cms-posts ul li p{
	padding: 0;
}


/*btn_moreview & pageback*/
.cms-posts .btn{
	font-size: 18px;
	width: 200px;
	border: 1px solid #ccc;
	margin: 20px auto;
	text-align: center;
	z-index: 20;
	background-color: rgba( 255, 255, 255, 0.85 );
}
.cms-posts .btn a{
	color: #2f3640;
	text-decoration: none;
	display: block;
	padding: 9px 0;
}
.cms-posts .btn a:before{
	content: "→";
	padding-right: .5em;
}

.wp-block-buttons{
	margin-bottom: 50px;
}
.wp-block-button a{
	color: #FFF;
	text-decoration: none;
	display: block;
}

.wp-block-column{
	border: 0 !important;
}

@media screen and (max-width: 979px) {
.cms-posts .btn{
	font-size: 15px;
}
}
@media screen and (max-width: 768px){
.wp-block-column{
	margin-bottom: 2em;
}
.cms-posts .btn{
	font-size: 14px;
	width: auto;
	padding: 0 15px;
	margin: auto 1%;
}
.cms-posts .btn a{
	display: block;
	padding: 20px 0;
}
.alignleft,
.alignright,
.aligncenter {
	display: block;
	margin: 5px auto !important;
	clear: both;
	float: none !important;
}
}

@media screen and (min-width: 980px) {
.cms-posts .btn a:before{
  -webkit-transition: 0.3s ease-in-out;
     -moz-transition: 0.3s ease-in-out;
       -o-transition: 0.3s ease-in-out;
          transition: 0.3s ease-in-out;
}
.cms-posts .btn a:hover:before{
	content: "→";
	padding-right: .8em;
}
}

/*ページング
----------------------------------------------------------------------*/
.page_navi{
	text-align: center;
}

ul.page_navi li{
	margin: 10px 0 15px 0;
	background: none;
	padding: 0;
	list-style-type: none;
	display: inline-block;
	font-size: 18px;
	font-weight: 600;
}

ul.page_navi li span{
	background: #666565;
	border: 2px solid #666565;
	width: 2.5em;
	height: 2.5em;
	border-radius: 50%;
	color: #fff;
	text-align: center;
	line-height: 2.5;
	margin: 0 5px;
	display: block;
    -webkit-transition: all 0.9s ease-in-out;
    -moz-transition: all 0.9s ease-in-out;
    -o-transition: all 0.9s ease-in-out;
    transition: all 0.9s ease-in-out;
}
ul.page_navi li a{
	background: #c9c9ca;
	border: 2px solid #c9c9ca;
	width: 2.5em;
	height: 2.5em;
	border-radius: 50%;
	color: #fff;
	text-align: center;
	line-height: 2.5;
	margin: 0 5px;
	display: block;
	text-decoration: none;
    -webkit-transition: all 0.9s ease-in-out;
    -moz-transition: all 0.9s ease-in-out;
    -o-transition: all 0.9s ease-in-out;
    transition: all 0.9s ease-in-out;
}

ul.page_navi li:first-child a{
	border: 2px solid #666565;
	background: #FFF url(../../img/common/pagenav_prev.png) no-repeat center center;
	-moz-background-size: 20px auto;
	background-size: 20px auto;
	display: block;
	text-indent: -9999px;
}
ul.page_navi li:last-child a{
	border: 2px solid #666565;
	background: #FFF url(../../img/common/pagenav_next.png) no-repeat center center;
	-moz-background-size: 20px auto;
	background-size: 20px auto;
	display: block;
	text-indent: -9999px;
}

ul.page_navi li:hover span,
ul.page_navi li:hover a{
	background: #666565;
}
ul.page_navi li:first-child:hover a{
	border: 2px solid #666565;
	background: #FFF url(../../img/common/pagenav_prev.png) no-repeat center center;
	-moz-background-size: 20px auto;
	background-size: 20px auto;
}
ul.page_navi li:last-child:hover a{
	border: 2px solid #666565;
	background: #FFF url(../../img/common/pagenav_next.png) no-repeat center center;
	-moz-background-size: 20px auto;
	background-size: 20px auto;
}

/*page*/
.pager{
	text-align: center;
}
.pager span,
.pager a{
	margin: 10px 0 15px 0;
	background: none;
	padding: 0;
	list-style-type: none;
	display: inline-block;
	font-size: 18px;
	font-weight: 600;
}

.pager span.page-numbers.current{
	background: #666565;
	border: 2px solid #666565;
	width: 2.5em;
	height: 2.5em;
	border-radius: 50%;
	color: #fff;
	text-align: center;
	line-height: 2.5;
	margin: 0 5px;
	display: inline-block;
    -webkit-transition: all 0.9s ease-in-out;
    -moz-transition: all 0.9s ease-in-out;
    -o-transition: all 0.9s ease-in-out;
    transition: all 0.9s ease-in-out;
}
.pager a.page-numbers{
	background: #c9c9ca;
	border: 2px solid #c9c9ca;
	width: 2.5em;
	height: 2.5em;
	border-radius: 50%;
	color: #fff;
	text-align: center;
	line-height: 2.5;
	margin: 0 5px;
	display: inline-block;
	text-decoration: none;
    -webkit-transition: all 0.9s ease-in-out;
    -moz-transition: all 0.9s ease-in-out;
    -o-transition: all 0.9s ease-in-out;
    transition: all 0.9s ease-in-out;
}
.pager a.next.page-numbers{
	border: 2px solid #666565;
	background: #FFF url(../../img/common/pagenav_next.png) no-repeat center center;
	-moz-background-size: 20px auto;
	background-size: 20px auto;
	display: inline-block;
	text-indent: -9999px;
}
.pager a.prev.page-numbers{
	border: 2px solid #666565;
	background: #FFF url(../../img/common/pagenav_prev.png) no-repeat center center;
	-moz-background-size: 20px auto;
	background-size: 20px auto;
	display: inline-block;
	text-indent: -9999px;
}


.screen-reader-response,
.wpcf7-not-valid-tip,
.wpcf7-response-output{
	color: #F00;
	display: block;

	padding: 0.3em 0;
}
