/*
 Theme Name: BusinessPress Child
 Template:businesspress
 Description: BusinessPress Child Theme
 Theme URI: https://businesspress.jp/theme/
 Author: BusinessPress
 Author URI: https://businesspress.jp/
 Version: 1.0.0
*/

/* 本文の横幅を広げる(Desktop) */
@media screen and (min-width: 980px) {
.main-navigation a {
	color: inherit;
	display: block;
	padding-left: 10px;
	padding-right: 10px;
	text-decoration: none;
}
.no-sidebar .site-content {
	max-width: 1120px;
}
.container-content {
	max-width: 1120px;
}
}

/* コンタクトフォーム関連のCSS
---------------------------------------------------- */
.table-contactform7 {
  overflow: hidden;
  table-layout: fixed;
}
 
.required-contactform7 {
  font-size:10pt;
  padding: 5px;
  background: #5c9659;
  color: #fff;
  border-radius: 3px;
  margin-right: 3px;
}

.unrequired-contactform7 {
  padding: 5px;
  background: #dcdddd;
  color: #fff;
  border-radius: 3px;
  margin-right: 3px;
}
 
.table-contactform7 th {
  font-weight:bold;
}

.table-contactform7 input {
  max-width: 80% !important;
  margin: 5px 10px 10px 5px;
}

.table-contactform7 textarea {
  max-width: 96% !important;
  margin: 5px 10px 10px 5px;
}

span.wpcf7-list-item {
display: block;
}

.wpcf7 select {
	margin: 5px;
}
     
/***** 送信ボタン *****/
input.sub-btn {
	width: 300px;
	height: 60px;
	background: #c30d23;
	color: #ffffff;
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: 0.2em;
	border: 1px solid #ffffff;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;	
}

/***** 送信ボタンホバー *****/
input.sub-btn:hover{
	background: #d23b4e;
	color: #ffffff;  
	border: 1px solid #c30d23;
}

/***** 送信成功 *****/
div.wpcf7-mail-sent-ok {
background:#ffffff;
color:#185626;
border:1px solid #cccccc;
padding:10px
}

/***** 送信NG *****/
div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
background:#f7d7da;
color:#711d26;
border:1px solid #f4c6cb;
padding:10px
}

/***** 送信失敗 *****/
div.wpcf7-mail-sent-ng {
background:#f7d7da;
color:#711d26;
border:1px solid #f4c6cb;
padding:10px
}

/***** スパムなどでブロックされた時 *****/
div.wpcf7-spam-blocked {
background:#fff2cf;
color:#846314;
border:1px solid #feedbd;
padding:10px
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
/***** コンタクトフォーム レスポンシブ *****/
.table-contactform7{
  display:block;
}     
       
.table-contactform7 tbody,
.table-contactform7 tr{
  display: block;
  width: 100%;
  }
  .table-contactform7 th{
  width:100%;
  display:block;
  margin: 0 auto;
  border:none;
}
.table-contactform7 td{
  display: list-item;
  list-style-type:none;
  margin:0;
  padding:0;
  width: 100%;
  border-top: none !important;
}

}

/*600px以下*/
/* テーブルのレスポンシブ */
@media screen and (max-width: 600px) {
.bl_table td:nth-child(1),.ye_table td:nth-child(1) {
  width: 95%;
}
.bl_table th,.bl_table td,.ye_table th,.ye_table td {
  width: 95%;
  display: block;
  border-bottom: none;
}
table tr:last-child td:last-child {
  border-bottom: 1px solid ;
}