@charset "utf-8";
/*
Theme Name:aikikaku
*/
/*----------------------------------------------
   お問い合わせ
---------------------------------------------*/
.toiawase-box {
	display: table;
	margin: 0 auto;
}
.box01 {
	/*border-top: solid 5px #5ab0c0;*/
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
	padding: 1em;
}
.toiawase-box .ulNone {
	display: table;
	margin: 0 auto;
}
.numbers {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 2em;
	margin: 20px 0;
}
.link-phone {
	display: table;
	padding: 5px 30px;
	font-size: 1.7em;
	margin: 20px 0;
}
.form-box  {
	display: table;
	margin: 0 auto;
}

.form-box p {
	margin: 10px 0;
}
.form-tex {
	display: inline-block;
	margin: 10px 0 5px 0;
}


.nes {
	background-color: #c33;
	color: #fff;
	padding: 0 5px 2px 5px;
	line-height: 0;
	margin-left: 5px;
	font-size: 0.9em;
	border-radius: 5px;
}

.form-box input,.form-box select,.form-box textarea {
	margin: 5px 0;
   background:#eff1f5;
   border: none;
   padding:0.7em;

}
/* 送信ボタンのデザイン */
.form-box .wpcf7-submit{
	display: block;
	margin:10px auto;
	padding:1em 0;
	width:80%;
	background: #f75065;
	color:#fff;
	font-size:18px;
	font-weight:bold;	 
	border-radius:4px;
	border: none;
 }
 
 /* 送信ボタンマウスホバー時 */
 .form-box .wpcf7-submit:hover{
	opacity: 0.9;
	transition: 0.3s;
 }


/*----------------------------------------------
   投稿記事ページ（２カラム）
---------------------------------------------*/
.singlepage {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	padding-bottom: 20px;
}
.article-l {
	width: 60%;
}
.article-r {
	width: 30%;
	background-color: #fff;
}

.article-box {
	width: 96%;
	margin: 0 auto;
}

/* サムネイル */
.post-thumb {
	margin-bottom: 15px;
}

.post-thumb img {
	max-width: 100%!important;
	height: auto;
}

/*----------------------------------------------
   category archive
---------------------------------------------*/

.category-list {
	display: block;
	border: #ccc 1px solid;
	border-radius: 10px;
	margin-bottom: 15px;
	padding: 15px;
}
.category-list:hover {
	background-color: #eee;
	transition: 0.3s;
}
.category-thumb {
	width: 150px;
	height: auto;
}
.category-title {
	width: calc(100% - 150px);
	margin-left: 15px;
}
.category-title h2 {
	margin-bottom: 10px;
	font-size: 1.5em;
}

/*----------------------------------------------
   sidebar
---------------------------------------------*/
.side-h2 {
	font-size: 1.2em;
	border-bottom: #D70010 1px dashed;
	padding: 5px 0 5px 10px;
}
.side-list {
	list-style: none;
	margin: 15px 15px 30px 15px;
}
.side-list li {
	margin-bottom: 10px;
	border-bottom: #ccc 1px dashed;
	padding: 5px;
}


/*----------------------------------------------
   pagination
---------------------------------------------*/
.pagination {
	display: flex;
	justify-content: center;
  }
  
  
  .nav-links{
	 display:flex;
  }
  .page-numbers{
	 display:inline-block;
	 margin-right:10px;
	 padding:10px 20px;
	 color:#ccc;
	 border-radius:3px;
	 background:#ffffff;
	border: 1px solid #ccc;
	transition: all 0.3s ease;
  }
  .page-numbers.current{
	 padding:10px 20px;
	 background:#db7093;
	 color:#ffffff;
  }
  .page-numbers:hover {
	background:#db7093;
	color:#ffffff;
 }
  .page-numbers.prev,
  .page-numbers.next{
	 background:transparent;
	 box-shadow:none;
	   border:none;
	 color:#666666; 
  }
  .page-numbers.dots{
	 background:transparent;
	 box-shadow:none;
	   border:none;
	 color:#666666; 
  }
  
  
  /* レスポンシブデザインのためのメディアクエリ */
  @media (max-width: 600px) {
  .page-numbers,
  .page-numbers.current    {
	   padding:5px 10px; /* パディングを小さく */
	}
  }


  
  

/* ～767px(xs) ____________________________________________________ */
@media screen and (max-width: 767px) {
/*----------------------------------------------
   flex-box (image left)
---------------------------------------------*/
.list-box {
	margin: 50px auto;
}

.list-box .images_item {
	width: 90%;
	margin-bottom: 10px;
  }
  .list-box .text_item {
	  width: 90%;
	  position: relative;
}


/*----------------------------------------------
   投稿記事ページ（２カラム）
---------------------------------------------*/
.article-l {
	width: 96%;
	margin: 10px auto;
}
.article-r {
	width: 96%;
	margin: 10px auto;
}

img.alignleft , img.alignright {
	float: none!important;
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto 10px auto;	
}

/*----------------------------------------------
   form
---------------------------------------------*/
.toiawase-box {
	width: 98%;
	margin: 0 auto;	
}
.link-phone {
	display: table;
	padding: 5px 30px;
	background-color: #f75065;
	border-radius: 50px;
	color: #fff!important;
	font-weight: 500;
	font-size: 1.7em;
	margin: 20px 0;
}
.wpcf7-form-control {
	width: 100%;
 }
}