/*
Theme Name:switch_child
Template:switch_tcd063
Version:2.2
*/

/*** 各ページヘッダー画像の縦幅 ****/
.p-page-header {
    position: relative;
    height: 300%;
    margin-bottom: 88.8px;
    overflow: hidden;
}


/*** h2見出し ****/
h2.style_h2 {
  font-size: 30px;
  font-size: 2em;
  position: relative;
  padding: 1em;
  text-align: center;
}

h2.style_h2 span {
  font-size: 18px;
  font-size: 1.8rem;
  display: block;
}

h2.style_h2:before {
  position: absolute;
  bottom: 10px;
  left: calc(50% - 30px);
  width: 60px;
  height: 5px;
  content: '';
  border-radius: 3px;
  background: #c03939;
}


/* 会社概要 */

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

.c_tbl th {
    text-align: left;
    background: #fff;
}

.c_tbl td {
    line-height: 2.4;
}

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


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

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

/* PCだけ　スマホだけ */
@media screen and (min-width: 480px){	
  .pconly { display:block; }
  .sponly { display:none; }
}
@media screen and (max-width: 480px){	
  .pconly { display:none; }
  .sponly { display:block; }
}


/* 文中フォントサイズ */
.p-entry__body p {
    margin-bottom: 10px;
    line-height: 2.4;
    font-size: 18px;
}


/* h3見出し */
h3.style_h3 {
    position: relative;
    padding-top: 1.5em;
    color: #333333;
}

h3.style_h3::before  {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    color: #f0d4d4;
    font-size: 3em;
    line-height: 1;
    content: attr(data-number);
    pointer-events: none;
}

h3.styleb_h3 {
    display: inline-block;
    position: relative;
    margin: calc(3.5em / 2) 0 calc(3.5em / 4) calc(3.5em / 2);
    color: #333333;
    line-height: 1;
}

h3.styleb_h3::before {
    position: absolute;
    bottom: calc(-3.5em / 4);
    left: calc(-3.5em / 2);
    z-index: -1;
    width: 3.5em;
    height: 3.5em;
    border-radius: 50%;
    background: #f0d4d4;
    content: '';
}


/** 3並び **/
*, *: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%;
	}
}


/** 2並び **/
*, *: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%;
	}
}

/*/////////////////////お問い合わせフォームの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: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;}


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

