/*
Theme Name: Gleaf-child
Template: Gleaf
Version: 20171101
*/

/* リンクの色 */
a {
	color: #0645ad;
}
.st-pagelink .page-numbers {
	border:1px solid #00a070;
	border-radius: 100px 1px 100px 1px / 100px 1px 100px 1px;
	padding:8px 10px;
	margin-bottom:5px;
	font-size:15px;
	min-width:20px;
	display:inline-block;
	text-align:center;
}
/* リンクにマウスオーバーした時の色 */
a:hover {
	color: #b22222;
}
.itiran-custom dl {
	border: solid 1px #e2e2e2;/* ボーダー囲い */
	background: #fff; /* カードの背景色 */
	padding: 10px; /* カード内側の余白 */
}
.itiran-custom dl:last-child {
	padding-bottom: 10px; /* 最後のカードに設定されている余白を修正 */
}
.itiran-custom ic {
	position: absolute;
    font-size: 13px;
    line-height: 1em;
    color: #f3f3f3;
    display: inline-block;
    white-space: nowrap;
    padding: 8px 8px;
    margin-top: 0px;
    text-decoration: none;
    background: #000d38;
}
/*media Queries タブレットサイズ（960px以下）
----------------------------------------------------*/
@media only screen and (max-width: 960x) {
.itiran-custom dl {
	width: 48%;
	float: left;
	padding: 0;
	margin-right: 1%;
	margin-bottom: 20px;
}
.itiran-custom dl:nth-child(2n) {
	margin-right: 0;
}
.itiran-custom dl:last-child {
	padding: 0;
	margin-bottom: 20px;
}
.itiran-custom dt {
	float: none;
	width: 100%;
}
.itiran-custom dt img {
	width: 100%;
	height: auto;
}
.itiran-custom dd {
	height: 160px; /* タイトル・日付・カテゴリ部分のボックスの高さ */
	padding: 10px;
}

/*-- ここまで --*/
}

/*media Queries タブレットサイズ（600px以上）
----------------------------------------------------*/
@media only screen and (min-width: 600px) {
.itiran-custom dl {
	width: 30%;
	float: left;
	padding: 0;
	margin-right: 2%;
	margin-bottom: 20px;
}
.itiran-custom dl:nth-child(3n) {
	margin-right: 0;
}
.itiran-custom dl:last-child {
	padding: 0;
	margin-bottom: 20px;
}
.itiran-custom dt {
	float: none;
	width: 100%;
}
.itiran-custom dt img {
	width: 100%;
	height: auto;
}
.itiran-custom dd {
	height: 105px; /* タイトル・日付・カテゴリ部分のボックスの高さ */
	padding: 10px;
}
	.itiran-custom dl h3 a { /* タブレットサイズでの指定 */
	font-size: 14px; /* 文字サイズ */
	line-height: 1.4em; /* 行の高さ */
}


/*-- ここまで --*/
}

/*media Queries PCサイズ（960px以上）
----------------------------------------------------*/
@media print, screen and (min-width: 960px) {
.itiran-custom dl {
	width: 23%;
	float: left;
	padding: 0;
	margin-right: 1%;
	margin-bottom: 20px;
}
.itiran-custom dl:nth-child(3n) {
	margin-right: 1%;
}
.itiran-custom dl:last-child {
	padding: 0;
	margin-bottom: 20px;
}
.itiran-custom dt {
	float: none;
	width: 100%;
}
.itiran-custom dt img {
	width: 100%;
	height: auto;
}
.itiran-custom dd {
	height: 120px; /* タイトル・日付・カテゴリ部分のボックスの高さ */
	padding: 10px;
}
/*-- ここまで --*/
}
/*media Queries タブレットサイズ（600px以下）
----------------------------------------------------*/
/*-- ここまで --*/
@media only screen and (max-width: 600px) {
	.itiran-custom dl {
	width: 48%;
	float: left;
	padding: 0;
	margin-right: 1%;
	margin-bottom: 20px;
}
.itiran-custom dl:nth-child(2n) {
	margin-right: 0;
}
.itiran-custom dl:last-child {
	padding: 0;
	margin-bottom: 20px;
}
.itiran-custom dt {
	float: none;
	width: 100%;
}
.itiran-custom dt img {
	width: 100%;
	height: auto;
}
.itiran-custom dd {
	height: 85px; /* タイトル・日付・カテゴリ部分のボックスの高さ */
	padding: 10px;
}
.itiran-custom dl h3 a { /* タブレットサイズでの指定 */
	font-size: 14px; /* 文字サイズ */
	line-height: 1.4em; /* 行の高さ */
}
}
/*-- ここまで --*/
/*media Queries スマホサイズ（417px以下）
----------------------------------------------------*/
@media only screen and (max-width: 417px) {
	.itiran-custom dl {
	width: 48%;
	float: left;
	padding-bottom: 15px;
	margin-right: 1%;
	margin-bottom: 20px;
}
.itiran-custom dl:nth-child(2n) {
	margin-right: 0;
}
.itiran-custom dl:last-child {
	padding: 0;
	margin-bottom: 20px;
}
.itiran-custom dt {
	float: none;
	width: 100%;
}
.itiran-custom dt img {
	width: 100%;
	height: auto;
}
.itiran-custom dd {
	font-size: 10px;
	height: 120px; /* タイトル・日付・カテゴリ部分のボックスの高さ */
	padding: 10px;
	}
.itiran-custom dl h3 a { /* スマホサイズでの指定 */
	font-size: 12px; /* 文字サイズ */
	line-height: 1.4em; /* 行の高さ */
}
}
/*--------------------------------
PREV NEXT
---------------------------------*/
#prev_next{
    width:100%;
    margin: 36px 0 24px;
    padding:0;
    display: table;
}

#prev_next  #prev, #prev_next  #next{
    width: 50%;
    padding:30px 10px 10px;
    border-top:#ccc 1px solid;
    border-bottom:#ccc 1px solid;
    display: table-cell;
    position:relative;
	text-decoration:none;
}
#prev_next #prev p, #prev_next #next p{
	    font-size:90%;
		line-height:1.5;
}
#prev_next #prev:hover, #prev_next #next:hover{
	background-color: rgba(238,238,238,0.7);
}

#prev_next #prev{
	border-right:#ccc 1px solid;
}

#prev_next #prev_title, #prev_next #next_title{
    font-size:90%;
    top:-1em;
    position:absolute; 
    border: 1px #ccc solid;
    background:#fff; 
    text-align: center;
    padding:3px;
    color:#666;
}
#prev_next #next_title{
	right:10px;
}

#prev_next #prev img, #prev_next #next img{
    margin:0 auto;
}

#prev_next #prev_no, #prev_next #next_no{
	width: 50%;
	height:140px;
    padding:0 10px;
    display: table-cell;
}

#prev_next #prev_no{
	border-right:#ccc 1px solid;
}

#prev_next_home{
	width: 50%;
    margin: auto;
    background-color: #ffffff;
    border: solid 1px #fff;
    width: 100px;
    height:100px;
    border-radius: 0px;
    box-shadow: 0 0 0 1px #b9b9b9;
	text-align:center;	
}

#prev_next_home:hover{
	background-color: rgba(238,238,238,0.7);
}

 #prev_next_home i{
	color:#d8d8d8;
	margin:10px auto ;
	font-size:60px;
}

/*-- ここまで --*/

/*media Queries タブレットサイズ
----------------------------------------------------*/
@media only screen and (max-width: 780px) {
}
/*media Queries タブレットサイズ
----------------------------------------------------*/
@media only screen and (min-width: 380px) {
}

/*media Queries PCサイズ
----------------------------------------------------*/
@media only screen and (min-width: 780px) {

/*-- ここから --*/
/*--------------------------------------
  768px PREV NEXT
--------------------------------------*/

#prev_next #prev, #prev_next #prev::before, #prev_next #prev::after,
#prev_next #next, #prev_next #next::before, #prev_next #next::after {	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
}


#prev_next #prev_title, #prev_next #next_title{
    padding:3px 10px;
}
#prev_next #next_title{
	right:10px;
}

#prev_next #prev img{
    float:left;
    margin-right:10px
}


#prev_next #next img{
   float:right;
   margin-left: 10px;
}
/*-- ここまで --*/
}
/*--------------------------------------
  お問い合わせフォーム
--------------------------------------*/
/*Contact Form 7カスタマイズ*/
/*スマホContact Form 7カスタマイズ*/
@media(max-width:600px){
.entry-content .inquiry th,.entry-content .inquiry td {
 padding: 10px 10px 10px 10px;
 display:block;
 width:100%;
 border-top:none;
 -webkit-box-sizing:border-box;
 -moz-box-sizing:border-box;
 box-sizing:border-box;	
}
.entry-content .inquiry tr:first-child th{
 border-top:1px solid #d7d7d7;
}
/* 必須・任意のサイズ調整 */	
.inquiry .haveto,.inquiry .any {	
font-size:10px;
}
}
/*見出し欄*/
.inquiry th{
 text-align:left;
 font-size:14px;
 color:#444;
 padding-right:5px;
 width:30%;
 background:#f7f7f7;
 border:solid 1px #d7d7d7;
}
/*通常欄*/
.inquiry td{
 font-size:13px;
 border:solid 1px #d7d7d7;	
}
/*横の行とテーブル全体*/
.entry-content .inquiry tr,.entry-content table{
 border:solid 1px #d7d7d7;	
}
/*必須の調整*/
.haveto{
 font-size:7px;
 padding:5px;
 background:#ff9393;
 color:#fff;
 border-radius:2px;
 margin-right:5px;
 position:relative;
 bottom:1px;
}
/*任意の調整*/
.any{
 font-size:7px;
 padding:5px;
 background:#93c9ff;
 color:#fff;
 border-radius:2px;
 margin-right:5px;
 position:relative;
 bottom:1px;
}
/*ラジオボタンを縦並び指定*/
.verticallist .wpcf7-list-item{
 display:block;
}
/*送信ボタンのデザイン変更*/
#formbtn{
 padding:15px;
 max-width:350px;
 background:#1eb9ff;
 color:#fff;
 font-size:18px;
 font-weight:bold;	 
 border-radius:2px;
 margin:25px auto 0;
}
/*送信ボタンマウスホバー時*/
#formbtn:hover{
 background:#fff;
 color:#1eb9ff;
 border:2px solid #1eb9ff;
}
/*media Queries タブレットサイズ（960px以下）
----------------------------------------------------*/
@media only screen and (max-width: 960x) {
.itiran-custom dl {
	width: 48%;
	float: left;
	padding: 0;
	margin-right: 1%;
	margin-bottom: 20px;
}
.itiran-custom dl:nth-child(2n) {
	margin-right: 0;
}
.itiran-custom dl:last-child {
	padding: 0;
	margin-bottom: 20px;
}
.itiran-custom dt {
	float: none;
	width: 100%;
}
.itiran-custom dt img {
	width: 100%;
	height: auto;
}
.itiran-custom dd {
	height: 160px; /* タイトル・日付・カテゴリ部分のボックスの高さ */
	padding: 10px;
}
}
/*-- ここまで --*/
/*media Queries タブレットサイズ（600px以上）
----------------------------------------------------*/
@media only screen and (min-width: 600px) {
.itiran-custom dl {
	width: 30%;
	float: left;
	padding: 0;
	margin-right: 2%;
	margin-bottom: 20px;
}
.itiran-custom dl:nth-child(3n) {
	margin-right: 0;
}
.itiran-custom dl:last-child {
	padding: 0;
	margin-bottom: 20px;
}
.itiran-custom dt {
	float: none;
	width: 100%;
}
.itiran-custom dt img {
	width: 100%;
	height: auto;
}
.itiran-custom dd {
	height: 105px; /* タイトル・日付・カテゴリ部分のボックスの高さ */
	padding: 10px;
}
	.itiran-custom dl h3 a { /* タブレットサイズでの指定 */
	font-size: 14px; /* 文字サイズ */
	line-height: 1.2em; /* 行の高さ */
}
	.kanren .clearfix dd h5:not(.st-css-no2) a { /* タブレットサイズでの指定 */
	font-size: 12px; /* 文字サイズ */
	line-height: 1.2em; /* 行の高さ */
}
/*-- ここまで --*/
}

/*media Queries PCサイズ（960px以上）
----------------------------------------------------*/
@media print, screen and (min-width: 960px) {

.itiran-custom dl {
	width: 23%;
	float: left;
	padding: 0;
	margin-right: 1%;
	margin-bottom: 20px;
}
.itiran-custom dl:nth-child(3n) {
	margin-right: 1%;
}
.itiran-custom dl:last-child {
	padding: 0;
	margin-bottom: 20px;
}
.itiran-custom dt {
	float: none;
	width: 100%;
}
.itiran-custom dt img {
	width: 100%;
	height: auto;
}
.itiran-custom dd {
	height: 110px; /* タイトル・日付・カテゴリ部分のボックスの高さ */
	padding: 10px;
}
}
/*media Queries タブレットサイズ（600px以下）
----------------------------------------------------*/
/*-- ここまで --*/
@media only screen and (max-width: 600px) {
	.itiran-custom dl {
	width: 48%;
	float: left;
	padding: 0;
	margin-right: 1%;
	margin-bottom: 20px;
}
.itiran-custom dl:nth-child(2n) {
	margin-right: 0;
}
.itiran-custom dl:last-child {
	padding: 0;
	margin-bottom: 20px;
}
.itiran-custom dt {
	float: none;
	width: 100%;
}
.itiran-custom dt img {
	width: 100%;
	height: auto;
}
.itiran-custom dd {
	height: 80px; /* タイトル・日付・カテゴリ部分のボックスの高さ */
	padding: 10px;
}
.itiran-custom dl h3 a { /* タブレットサイズでの指定 */
	font-size: 14px; /* 文字サイズ */
	line-height: 1.4em; /* 行の高さ */
}
.kanren .clearfix dd h5:not(.st-css-no2) a { /* タブレットサイズでの指定 */
	font-size: 12px; /* 文字サイズ */
	line-height: 1.4em; /* 行の高さ */
}
}
/*-- ここまで --*/
/*media Queries スマホサイズ（417px以下）
----------------------------------------------------*/
@media only screen and (max-width: 417px) {
	.itiran-custom dl {
	width: 48%;
	float: left;
	padding: 0;
	margin-right: 1%;
	margin-bottom: 20px;
}
.itiran-custom dl:nth-child(2n) {
	margin-right: 0;
}
.itiran-custom dl:last-child {
	padding: 0;
	margin-bottom: 20px;
}
.itiran-custom dt {
	float: none;
	width: 100%;
}
.itiran-custom dt img {
	width: 100%;
	height: auto;
}
.itiran-custom dd {
	font-size: 10px;
	height: 120px; /* タイトル・日付・カテゴリ部分のボックスの高さ */
	padding: 10px;
	}
.itiran-custom dl h3 a { /* スマホサイズでの指定 */
	font-size: 12px; /* 文字サイズ */
	line-height: 1.4em; /* 行の高さ */
}
.kanren .clearfix dd h5:not(.st-css-no2) a { /* スマホサイズでの指定 */
	font-size: 12px; /* 文字サイズ */
	line-height: 1.4em; /* 行の高さ */
}
}
/*-- 青枠ボタン --*/
.square_btnb {
	display: inline-block;
    margin: 5px 5px 0 0;
    padding: 15px 60px 10px;
    text-decoration: none;
    background: #ccc;
    color: #ffffff;
    border: solid 1px #ccc;
    border-radius: 2px;
    transition: .4s;
}
.square_btnb:active {/*押したとき*/
   background:#fff
}

/*-- 青ボタン --*/
.square_btna {
	display: inline-block;
    margin: 5px 5px 0 0;
    padding: 15px 60px 10px;
    text-decoration: none;
    color: #999;
    border: solid 1px #999;
    border-radius: 2px;
    transition: .4s;
}
.square_btna:hover {
    border:1px solid #ccc;
    background-color:#f5f7fa;
}