@charset "utf-8";
/* CSS Document */

.formtitle {
	border: 1px solid #333;
	text-align: center;
	font-size: 18px;
	padding: 6px;
}
.formtelmail {
	color:#4C9ED9;
}
.formtelmail a {
	color:#4C9ED9;
	text-decoration: none;
}

/* ”必須項目に入力してください”の謎のボックスを消す
contactfoamでエラーメッセージがまとめて出るのを防ぐ*/
div.screen-reader-response{
  display: none;
}

/*　ContactForm7のテーブル化レスポンシブ調整　*/

.table-res-form {
    width:100%;
}
.table-res-form tr {
    border-top: 1px #DDD solid;
}
.table-res-form tr:first-child {
    border-top: none;
}

.table-res-form td {
    padding: 1.5em;
}
.table-res-form th {
    text-align: right;
	white-space: nowrap;
}
/*「必須」部分のスタイリング*/
.table-res-form .requied {
    font-size: 0.8em;
    color: #FFF;
    display: inline-block;
    padding: 0.3em 0.3em 0.2em;
	margin-left: 10px;
    background: #004097;
    border-radius: 2px;
}

/*ここから入力欄のスタイル指定*/

.table-res-form input, textarea {
    border: 1px #4C9ED9 solid;
    padding: 0.5em;
    border-radius: 5px;
    margin-bottom: 0.5em;
    width: 100%;
}
.table-res-form input:focus,textarea:focus {
    background: #EEFFFF;
}
.wpcf7-select {
    border: 1px #333 solid;
    padding: 0.5em;
    border-radius: 0px;
    margin-bottom: 0.5em;
	background-color: #fff;
}
.submitbutton {
	text-align: center;
	margin-bottom: 60px;
}
.submitbutton input[type="submit"] {
    border: 1px #4C9ED9 solid;
    padding: 0.5em 4em;
    border-radius: 5px;
    background: #4C9ED9;
    color: #fff;
    font-weight: bold;
}
.submitbutton input[type="submit"]:hover {
    background: #006599;
    box-shadow: none;
}

.flexform {
	display:flex;
	flex-wrap:wrap;
	justify-content: space-between;
	align-items: stretch;
	margin: 20px;
}
.flexform-item {
	flex-basis:48%;
}
.formboxtitle {
	border-left: 10px solid #F76F06;
	padding: 0 0 6px 6px;
	font-size: 16px;
}
.formbox {
	border: 1px solid #aaa;
	padding: 10px;
	font-size: 20px;
	font-weight: 700;
}
.formbox p {
	line-height: 1.3em;
}

/*ここから768px以下の指定*/
@media screen and (max-width: 768px) {
	.media-body {
		padding-left: 0;
	}
    .table-res-form th,
	.table-res-form td {
		display: block;
		width: 100%;
    }
    .table-res-form th {
		padding-left: 0;
		padding-top: 6px;
        padding-bottom: 0;
        text-align: left;
    }
    .table-res-form .empty {
        display: none;
    }
	.flexform-item {
	flex-basis:100%;
	}
	.formtelmail {
		text-align: center;
	}
.formtelmail a {
	text-align: center;
	}
	.wpcf7-select {
    padding: 0.6em;
    border-radius: 4px;
}
}

/*ここまで768px以下の指定---終わり*/