/*
Theme Name:nano_child
Template:nano_tcd065
Version:1.4.3
*/



*, *:before, *:after {
	box-sizing: border-box;
}
.col_5{
	width: 100%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
}
.col_5 > div{
	width: 20%;
	padding: 10px;
}
.col_5 > div > div{
	position: relative;
	overflow: hidden
}
@media screen and (max-width: 960px) {
	.col_5 > div{
		width: 25%;
	}
}
@media screen and (max-width: 480px) {
	.col_5 > div{
		width: 33.33333%;
	}
}

*, *:before, *:after {
	box-sizing: border-box;
}
.col_4{
	width: 100%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
}
.col_4 > div{
	width: 25%;
	padding: 10px;
}
@media screen and (max-width: 960px) {
	.col_4 > div{
		width: 33.33333%;
	}
}
@media screen and (max-width: 480px) {
	.col_4 > div{
		width: 50%;
	}
}

*, *:before, *:after {
	box-sizing: border-box;
}
.col_3{
	width: 100%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
}
.col_3 > div{
	width: 33.33333%;
	padding: 10px;
}
@media screen and (max-width: 960px) {
	.col_3 > div{
		width: 50%;
	}
}
@media screen and (max-width: 480px) {
	.col_3 > div{
		width: 100%;
	}
}


*, *:before, *:after {
	box-sizing: border-box;
}
.col_2{
	width: 100%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
}
.col_2 > div{
	width: 50%;
	padding: 10px;
}
@media screen and (max-width: 960px) {
	.col_2 > div{
		width: 100%;
	}
}

.c_tbl {
    width: 100%;
    margin: 0 auto;
}

.c_tbl th {
    text-align: left;
}

.c_tbl td {
    line-height: 2.4;
}

.c_tbl tr > * {
    border-bottom: solid 1px #dcdcdc;
    font-size: 1rem;
    padding: 1.4em 0 1.4em 2em;
}

@media (max-width: 767px) {
.c_tbl th {
    width: 100% !important;
    background: #eee;
}
}

@media (max-width: 767px) {
.c_tbl tr > * {
    border-bottom: none;
    padding: 0.8em 0.5em;
    float: left;
    width: 100%;
    margin: 0 -0.5em;
}
}

@media screen and (min-width: 768px){	
  .sponly { display:none; }
}
@media screen and (max-width: 767px){	
  .pconly { display:none; }
}

.c-logo img {
    vertical-align: middle;
    width: 100%;
    max-width: 300px;
    height: auto;
}





/*/////////////////////お問い合わせフォームのcssはじまり////////////////////////*/

/* 同意ボタンにチェックが入ったら色が変わる */
div.wpcf7 .wpcf7-submit:disabled {
    background: #aaa;
    border-color: #aaa;
    color: #ddd;
}

.wpcf7-form input[type=button], .wpcf7-form input[type=submit] {
    font-size: 20px;
    height: 60px;
    width:60%;
    background: #00884f;
    transition: all 0.3s;
    margin: 0px auto;
    color: #fff;
    display: inline-block;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 2px 2px 2px #ddd;
}

.wpcf7 input.wpcf7-submit:hover {
    background-color: #015501;
}

/*全体*/
.wpcf7 {
border: none !important;
background: none !important;
max-width:1200px;
margin: auto!important;
}

#page_content .wpcf7 {
    width: auto;
    margin: 0 auto !important;
    padding: 0;
}

/*見出し欄*/
.inquiry th {
    font-size: 18px;
    text-align: left !important;
    color: #333 !important;
    font-weight: bold;
    width: 30%;
    background: #fff !important;
    border: solid 2px #fff !important;
    vertical-align: middle !important;
    padding: 10px 15px 7px !important;
    line-height: 2.2 !important;
}

/*通常欄*/
.inquiry td {
    font-size: 16px;
    color: #111;
    border: solid 2px #fff !important;
    padding: 20px !important;
    line-height: 2.2 !important;
    background-color: #fff;
}

/*入力欄*/
input.wpcf7-form-control.wpcf7-text, textarea.wpcf7-form-control.wpcf7-textarea {
    width: 95% !important;
    padding: 8px 15px ;
    margin-right: 10px !important;
    border: 1px solid #d7d7d7 ;
    border-radius: 10px !important;
}

/* 必須 */
.hissu {
    font-size: 0.8em;
    color: #fff;
    display: block;
    float: right;
    margin-right: 18px;
    background-color: #ca2a2a;
    padding: 0px 10px;
    border-radius: 10px;
}

/* チェックボックスラジオボタン */
span.wpcf7-list-item {margin: 0 20px 0 0;}
.wpcf7-list-item-label {font-size: 16px!important;}

/* 記入例の文字色 */
::placeholder {color: #ccc!important;}
:-ms-input-placeholder {color: #ccc!important;}
::-ms-input-placeholder {color: #ccc!important;}

.p-entry__body table {width:100%;}
.wpcf7 .wpcf7-list-item {display:inline-block;}
.wpcf7-validates-as-date {margin-bottom: 10px;}

/*スマホContact Form 7カスタマイズ*/
@media(max-width:767px) {
.inquiry th,.inquiry td {
    display:block !important;
    width:100% !important;
    border-top:none !important;
    -webkit-box-sizing:border-box !important;
    -moz-box-sizing:border-box !important;
    box-sizing:border-box !important;
}
.inquiry tr:first-child th{
    border-top:1px solid #d7d7d7!important !important;
}
.wpcf7 form {margin: 1.5em 0;}
.wpcf7-form input[type=button], .wpcf7-form input[type=submit] {width: 100%;}
.inquiry th { padding: 0 !important; line-height: 1 !important;}
.wpcf7 p {margin-bottom: 0em;}	
.inquiry td { padding: 0px !important; margin-bottom: 30px;}
.wpcf7 .wpcf7-list-item {display: inline-block;}
input.wpcf7-form-control.wpcf7-text, textarea.wpcf7-form-control.wpcf7-textarea { border-radius: 10px !important;}
}

.wpcf7 p {font-size: 18px;}
.wpcf7 textarea {height: auto;}


/*/////////////////////お問い合わせフォームのcss終わり////////////////////////*/
