@charset "utf-8";

@import "base_layout.css";
@import "common_parts.css";


/* ページメニュー */
ul.index_pagemenu{
	width:100%;
	display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
	-webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;/*
	-webkit-justify-content: space-around;
	-ms-flex-pack: space-around;
	justify-content: space-around;*/
}
ul.index_pagemenu li{
	margin: 0 1.25% 10px 0;
	width: 24%;
	text-align: center;
}
ul.index_pagemenu li:nth-child(4n){
	margin: 0 0 10px 0;
}
ul.index_pagemenu li .box{
	width: 100%;
	padding-top: 88%;
	position: relative;
	border: 5px solid #57749d;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	overflow: hidden;
}
ul.index_pagemenu li .box .bgimage{
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	max-width: auto !important;
	max-width: initial !important;
	width: 100%;
	height: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
ul.index_pagemenu li:hover .box img.bgimage{
	max-width: auto !important;
	max-width: initial !important;
	width: 120%;
	height: 120%;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
ul.index_pagemenu li .box a{
	color: #FFF;
	text-decoration: none;
	background: url(../../img/common/blue_transparent.png);
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
ul.index_pagemenu li .box a .icon{
	position: absolute;
	bottom: 3em;
	left: 0;
	width: 100%;
	display: block;
	vertical-align: bottom;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
ul.index_pagemenu li .box a .icon img{
	max-width: 70px;
	max-height: 70px;
	width: auto;
	height: auto;
}
ul.index_pagemenu li .box a .str{
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 1em;
	width: 100%;
	display: block;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
ul.index_pagemenu li .box a:hover{
	background: none;
}
ul.index_pagemenu li .box a:hover .icon{
	display: none;
}
ul.index_pagemenu li .box a:hover .str{
	background: url(../../img/common/blue_transparent.png);
}

@media screen and (max-width: 979px) {
/*tablet*/
}
@media screen and (max-width: 768px){
/*smart phone*/
}
@media screen and (max-width: 620px) {
	ul.index_pagemenu {
		-webkit-justify-content: space-around;
		-ms-flex-pack: space-around;
		justify-content: space-around;
	}
	ul.index_pagemenu li{
		margin: 0 0 10px 0;
		width: 49%;
	}
}
@media screen and (max-width: 480px){
}


ul.contents_in_menu{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: center;
	justify-content: center;
	padding: 20px 0;
	margin: 0 0 50px 0;
	border-bottom: 1px solid #ccc;
}
ul.contents_in_menu li{
	border-right: 1px solid #CCC;
	padding: 0 .7em;
	margin: 2px 0;
}
ul.contents_in_menu li:last-child{
	border: 0;
}

/* タイトル
**********************************************/
.lv_h1{
	margin-bottom: 15px;
	padding: 15px 10px 10px 10px;
	background: #082760;
	font-size: 1.5rem;
	color: #FFF;
	text-align: center;
	line-height: 1.2;
}
.lv_h2{
	margin-bottom: 15px;
	font-size: 1.5rem;
}
.lv_h2 span{
	border-bottom: 3px solid #db074e;
}
.lv_h3{
	margin-bottom: 5px;
	font-size: 1.3125rem;
	color: #204281;
}
.lv_h4{
	margin-bottom: 5px;
	font-size: 15px;
	position: relative;
	padding-left: 30px;
}
.lv_h4:before{
	content: "";
	height: 1px;
	width: 20px;
	background: #000;
	position: absolute;
	left: 0;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

@media screen and (max-width: 979px) {
}
@media screen and (max-width: 768px) {
}
@media screen and (max-width: 620px) {
}
@media screen and (max-width: 480px) {
}


/*article
************************************************************************************/
article {
	padding-bottom: 15px;
	margin-bottom: 15px;
}

/*section
************************************************************************************/
.section{
	margin: 20px auto 50px auto;
	text-align: left;
	word-break: break-all;
	line-height: 1.6;
}

.section:after {
    content: "";
    display: block;
    clear: both;
    height: 1px;
    overflow: hidden;
}
/*\*/
* html .section{
    height: 1em;
}
.section{
    display: block;
}
/* ▲ */
/* for IE7 */
*:first-child+html .section{
	zoom:1;
}

.section_box{
	border: 1px solid #dadada;
	margin: 15px 0;
}

.section_innner{
	padding-bottom: 20px;
	margin-bottom: 20px;
}

.section_line{
	margin:20px 0;
	padding:20px 10px;
	border-bottom: 3px solid #dcdcdc;
}
.section_line:first-child{
	margin:0 0 20px 0;
	padding:0 10px 20px 10px;
}

.chapter{
	padding-bottom: 15px;
	margin-bottom: 15px;
}

.text{
	padding: 0 10px;
	line-height: 1.7;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
.text20{
	padding: 20px;
	line-height: 1.7;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
.text p,
.text20 p{
	padding-bottom:1em;
}
.text p:last-child,
.text20 p:last-child{
	padding-bottom: 0;
}
.text:after,
.text20:after{
    content: "";
    display: block;
    clear: both;
    height: 1px;
    overflow: hidden;
}
/*\*/
* html .text,
* html .text20{
    height: 1em;
}
.text,
.text20{
    display: block;
}
/* ▲ */
/* for IE7 */
*:first-child+html .text,
*:first-child+html .text20{
	zoom:1;
}

.box_line{
	border-bottom: 1px solid #ededed;
}


.div_table{
	display: table;
}
.div_table .cell{
	display: table-cell;
}
.div_table .cell.middle{
	vertical-align: middle;
}
.div_table .cell.top{
	vertical-align: top;
}

.bg_gry{
	background: #f1f1f1;
}


@media screen and (max-width: 979px) {
	.section_innner{
		padding: 0 10px 15px 10px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		-o-box-sizing: border-box;
		-ms-box-sizing: border-box;
		box-sizing: border-box;
	}
	.section{
		margin: 0;
	}
}
@media screen and (max-width: 768px){
	.section_line{
		padding:20px 10px;
	}
}
@media screen and (max-width: 620px){}
@media screen and (max-width: 480px){}



/*table
----------------------------------------------------------------------*/
table.normal,
.cms-posts table{
	margin: 5px auto 15px auto;
	width: 100%;
	border-top:1px solid #aaa;
	border-bottom:1px solid #aaa;
}
table.normal caption,
.cms-posts table caption{
	padding: 5px 0;
	text-align: left;
	display: block;
}
table.normal caption.btm,
.cms-posts table caption.btm{
	caption-side: bottom;
}
table.normal caption:before,
.cms-posts table caption:before{
	content: "■";
}

table.normal thead th,
.cms-posts table thead th{
	padding: 10px;
	border: 1px solid #fff;
	text-align: center;
	font-weight:bold;
	background-color: #4b4b4b;
	color: #FFF;
}
table.normal thead th a,
.cms-posts table th a{
	color:#FFF;
}
table.normal tbody th,
.cms-posts table tbody th{
	padding: 1px 10px;
	text-align: center;
	font-weight:normal;
	background-color: #eeeeee;
	border: 1px solid #999;
	color: #000;
}

table.normal tbody td,
.cms-posts table tbody td{
	padding: 10px;
	border: 1px solid #999;
}
table.normal tbody tr.lines,
.cms-posts table tbody tr.line{
	border-top: 3px solid #999;
}
table.normal.center td{
	text-align: center;
}

@media screen and (max-width: 620px) {
	table.normal{
		display: block;
		border-top: none !important;
		border-bottom: none !important;
		width: 100%;
	}
	table.normal thead{
		display: none;
	}
	table.normal tbody{
		display: block;
		width: 100%;
		border-top: none !important;
	}
	table.normal tr{
		display: block;
		margin-bottom: 1.5em;
		width: 100%;
	}
	table.normal th,
	table.normal td{
		display: list-item;
		width: 100%;
		padding: 5px 10px !important;
		border: none !important;
	}
	table.normal th{
		list-style-type: none;
		display: block;
		background: #ededed;
		border: none !important;
	}

	table.normal td{
		margin-left: 0;
		list-style-type: none;
		border: 0;
		padding-left: 25px;
		border: none !important;
	}
}


table.lineBtm{
	width: 100%;
	border: 0;
}

table.lineBtm th{
	border-bottom: 1px solid #c2c4c8;
	padding: 3px 15px;
	text-align: left;
}
table.lineBtm td{
	border-bottom: 1px solid #c2c4c8;
	padding: 3px 15px;
}


dl.normal dt{
	font-weight: bold;
	color: #0085cc;
	padding: 0 0 0 0;
	font-weight: 700;
}
dl.normal dt:before{
	content: "■";
}
dl.normal dd{
	padding: 0 0 10px 1em;
}




@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: #353b48;
	color: #FFFFFF;
	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: none;
	margin: 0;
}
.cms-posts li{
	margin: 5px 0;
	padding: 0 0 0 1.2em;
}
.cms-posts li:before{
	display: marker;
	color:#2faa54;
	content: "●";
	float: left;
	margin-left: -1.2em;
}
.cms-posts li p{
	overflow: auto;
	zoom: 1;
	padding: 0;
	text-indent:0;
	color:#000;
}


/*ページング
----------------------------------------------------------------------*/
.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;
}

.screen-reader-response,
.wpcf7-not-valid-tip,
.wpcf7-response-output{
	color: #F00;
	display: block;
	padding: 0.3em 0;
}



/*page_btn
************************************************************************************/
.page_btn{	
	margin: 0 auto;	
	width: 100%;
	display: block;
	margin-bottom:50px;
}

.page_btn ul.menu > li > a{
	position: relative;
	padding: 1rem .5rem;
	width: 98%;
	font-size: 24px;
	font-weight: bold;
	margin:0 auto 15px auto;
	display: block;
}
.page_btn ul.menu > li > a:after{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 6px;
	content: '';
	border-radius: 3px;
	background-image: -webkit-gradient(linear, right top, left top, from(#bfe7cc), to(#66c585));
	background-image: -webkit-linear-gradient(right, #bfe7cc 0%, #66c585 100%);
	background-image: linear-gradient(to left, #bfe7cc 0%, #66c585 100%);
}

.page_btn ul.sub-menu{
	width: 100%;
	display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
	-webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
	-webkit-justify-content: left;
	-ms-flex-pack: left;
	justify-content: left;
	-webkit-align-items: center;
	-ms-align-items    : center;
	align-items        : center;
	margin: 0 auto 40px auto;
}

.page_btn ul.sub-menu li{
	/*width:31%;*/
	width:48%;
	display: block;
	margin:1%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	background: #FFF;
	border: 2px solid #2faa77;
	padding: 0;
}

.page_btn ul.sub-menu li a{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px solid #2faa77;
  box-sizing: border-box;
  width: 100%;
  height: 60px;
  padding: 0 15px;
  color: #2faa77;
  font-size: 16px;
  text-align: left;
  text-decoration: none;
  transition-duration: 0.2s;
}
.page_btn ul.sub-menu li a:hover {
  background: #2faa77;
  border: 1px solid #2faa77;
  color: #fff;
}
.page_btn ul.sub-menu li a:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 10px 10px;
  border-color: transparent transparent #2faa77 transparent;
}
.page_btn ul.sub-menu li span a {
    position: absolute;
    bottom: 12px;
    right: 20px;
    display: inline-block;
}
.page_btn ul.sub-menu li span a:before {
    content: '';
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -8px;
}
.page_btn ul.sub-menu li span a:after {
    content: '';
    width: 6px;
    height: 6px;
    border: 0;
    border-top: 2px solid #2faa77;
    border-right: 2px solid #2faa77;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 4px;
    margin-top: -3px;
}
.page_btn ul.sub-menu li ul.children{
	display: none;
}


.page_btn ul.sub-menu li:before{
	display: none;
}
@media screen and (min-width: 980px) {
	.page_btn ul.sub-menu li{
		text-transform: uppercase;
		position: relative;
		overflow:hidden;
		transition: .3s;
		z-index: 100;
	}
	.page_btn ul.sub-menu li:after{
		position: absolute;
		transition: .3s;
		content: '';
		width: 0;
		left: 50%;
		bottom: 0;
		height: 3px;
		background: #e9f0fa;
	}
	.page_btn ul.sub-menu li:after{
		height: 120%;
		left: -10%;
		transform: skewX(15deg);
		z-index: -1;
	}
	.page_btn ul.sub-menu li:hover{
		cursor: pointer;
	}
	.page_btn ul.sub-menu li:hover:after{
		width: 100%;
		left: 0;
	}
	.page_btn ul.sub-menu li:hover:after{
		left: -10%;
		width: 120%;
	}
}

@media screen and (max-width: 979px) {
	.page_btn ul.sub-menu li{
		width: 49%;
		margin: 2px 0.5%;
	}
}
@media screen and (max-width: 620px) {
	.page_btn ul li{
		width: 99%;
	}
}

/*members login
************************************************************************************/
#wpmem_restricted_msg{
	text-align: center;
	padding: 15px 0;
	color: #f26100;
	font-weight: bold;
}
#wpmem_login, #wpmem_reg{
	font-family: kozuka-gothic-pro,sans-serif, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic" !important;
}
#wpmem_login{
	width: 600px;
	margin: auto;
}
#wpmem_login #wpmem_login_form fieldset{
	padding: 20px;
	border: 1px solid #ccc;
}
#wpmem_login #wpmem_login_form fieldset legend{
	color: #274466;
	font-size: 20px;
	font-weight: 700;
	display: flex;
	align-items: center;
	margin: 2em 0 0;
}
#wpmem_login #wpmem_login_form fieldset legend:after{
	content: "";
	flex-grow: 1;
	height: 3px;
	background: #274466;
	display: block;
}
#wpmem_login #wpmem_login_form fieldset legend:after {
	margin-left: .4em;
}

.text20 #wpmem_login #wpmem_login_form fieldset p{
	padding-bottom: 0;
}
#wpmem_login #wpmem_login_form fieldset .button_div{
	text-align: center;
	width: 100%;
}
#wpmem_login #wpmem_login_form fieldset .button_div input[type=submit].buttons{
	border: 0;
	display: block;
	width: 300px;
	margin: auto;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius: 0;
	padding: 15px;
	text-align: center;
	font-size: 16px;
	background: #34B4C9;
	color: #FFF;
	cursor: pointer;
}


@media screen and (max-width: 979px) {
/*tablet*/
}
@media screen and (max-width: 768px){
/*smart phone*/
}
@media screen and (max-width: 620px) {
/*sp*/
}
@media screen and (max-width: 480px){
}
