/*
Theme Name:story_tcd041-child
Template:story_tcd041
Version:1.9
*/

/* --------------------------
修正したい場合は、ここに書いてください。
--------------------------- */

.breadcrumb-wrapper {
    position: relative;
}

.styled_h3 {
  padding: 1.0em 1.4em!important;
  color: #fff;
  background: #004ca0;
  -webkit-box-shadow: 5px 5px 0 #2a73c4;
  box-shadow: 5px 5px 0 #2a73c4;
}

.styled_h3b {
  position: relative;
  padding: 1rem 2rem 1rem 0em !important;
  border-bottom: 6px solid #004ca0;
}

.styled_h3b:before {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 20%;
  height: 6px;
  content: '';
  background: #3fbdef;
}

@media screen and (min-width: 650px){	
  .pconly { display:block; }
  .sponly { display:none; }
}
/* ------- スマホのみ改行 ------- */

@media screen and (max-width: 650px){	
  .pconly { display:none; }
  .sponly { display:block; }
}


.cta {
    margin-top: 100px;
}




*, *: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%;
	}
}

*, *: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_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%;
	}
}






/****** メニューの子ども位置調整 ******/
.c-nav .menu > li > .sub-menu {
    top: 34px;
}


.mt50{
    margin-top: 50px;
}

.mt80{
    margin-top: 80px;
}

.mb80{
    margin-bottom: 80px;
}

@media only screen and (max-width: 767px) {
    .primary, .secondary {
        padding: 0 15px;
    }
}

@media screen and (max-width: 680px) {
    .sp_imgdb {
        display: block !important;
        float: none !important;
        margin: 0 auto !important;
    }
}


.c-nav .menu > li > .sub-menu > li > a {
    padding: 5px 10px 15px 10px;
}

/*/////////////////////お問い合わせフォームの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 tr th {
        background: #eee !important;
        padding: 15px !important;
    }

    .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;
    }

    .hissu {
        font-size: 0.7em;
    }
}

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

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


.article03 > a {
    border: solid 1px #eee;
}


