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

/* --------------------------
修正したい場合は、ここに書いてください。
--------------------------- */
.breadcrumb-wrapper {
  position: relative;
  bottom: 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;
}

.wpcf7 p {
    display: inline;
}

#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: 3 !important; background-color: #eee !important; padding-left: 10px !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 {position: relative; top: 12px;}
}

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

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


/* ------- スマホのみ改行 ------- */

@media screen and (min-width: 788px) {
.sponly {display: none;}
}

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

.read {text-align: center;}
.post-content h2 {font-size: 3em; line-height: 1.6; color: #333333;}
.post-content h3 {font-size: 2.0em; padding: 10px 0 0 50px;display: inline-block;margin-bottom: 30px;}
.heading {position: relative;display: table-cell;}
.heading:before {position: absolute; content: ''; top: calc(50% - -4px); width: 40px; left: 0px; height: 6px; border-top: solid 6px #b1dfe1;}
.post-content h4 {font-size: 1.2em; color: #03989F; line-height: 1.8;}
.tsuyomi {font-size: 1.4em;line-height: 2.8;}
.mt-40 {margin-top: 40px!important;}
.partner_l {float:left; width: fit-content; padding: 10px 0px;}
.partner_r {float: right; width:780px;}
.box1 {padding: 0.5em 1em; margin: 2em 0; border: dotted 1px #999999;}
.box1 p {margin: 0; padding: 0;}
.material-symbols-outlined {vertical-align: middle; margin: 0 6px 12px; font-size: 48px !important; color: #03989f;}
.contact_tel {font-size: 4em;color: #03989f;}
.contact_eigyou {font-size:1em;}
.contact_img {width:100%; max-width:840px!important; margin:auto;}


@media screen and (max-width: 787px) { 
    .post-content h2 {font-size: 1.6em;}
    .post-content h3 {font-size: 1.4em;}
  .partner_l {text-align: center; width: 100%;}
  .partner_r {width: fit-content;}
  .contact_tel {font-size: 2em;}
  .contact_eigyou {font-size:0.8em;}
  .c-button {padding: 20px 30px; font-size: 14px;}
}

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

.mt70{
    margin-top:70px;
}

span.marker {
    background-color: #ff9;
}

.markerRed{
background: linear-gradient(transparent 50%, #ffcccc 0%);
}


.box3 {
    padding: 2em 1em;
    margin: 2em 0;
    color: #333333;
    background: #effcf6;
    }
.box3 p {
    margin: 0; 
    padding: 0;
}


.post-header {
    margin: 40px auto 30px;
}

.ptb50{
    padding:50px 0px;
}

.mb50{
    margin-bottom:50px;
}

@media screen and (max-width: 787px) {
.post-content .s_table {
   overflow: unset;
   white-space: unset;
   margin-bottom: 2em;
   width: 100%;
}
}

.c-nav .menu > li > .sub-menu {
    top: 36px;
    font-size: 0.9em;
}



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

h2.head {
  position: relative;
  padding: 0;
  border-bottom: 3px solid #03989f;
}

h2.head:before {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 20%;
  height: 3px;
  content: '';
  background: #004aac;
}

.post-content h2.head{
    font-size: 2em;
}

.post-content h3.heading{
    font-size: 1.6em;
}

.box2 {
    padding: 1em 2em;
    margin: 0;
    color: #2c2c2f;
    background: #f3fefe;
    box-shadow: 2px 2px 2px #999;
}
.box2 p {
    margin: 0; 
    padding: 0;
}

@media only screen and (max-width: 991px) {
    .breadcrumb-wrapper .inner, .main > .inner, .footer .inner {padding: 0 3%!important;}
}

.footer {
    margin-top: 0;
}

.c-nav .menu > li > .sub-menu {background-color: #eee;}
.c-nav .menu > li > .sub-menu > li {padding: 0px;}
.c-nav .menu > li > .sub-menu > li > a {padding: 12px;}


@media screen and (max-width: 780px) {
    .post-content {
        padding: 10px 20px;
    }
}

/*** blog ****/
.postie-post{
    line-height: 2;
    margin: 0 0 2em 0;
}



/* --------------- reviews 一覧ページ ------------ */
.archive-reviews {
  background: #fff;
  padding-bottom: 70px;
}
.archive-reviews .reviews-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 80px 20px;
  margin-bottom: 50px;
}

.archive-reviews .reviews-list .review-item {
  background-color: #eee;
  padding: 15px;
}

@media screen and (max-width: 1050px) {
  .archive-reviews .reviews-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 767px) {
  .archive-reviews .reviews-list {
    gap: 40px 20px;
    grid-template-columns: 1fr;
  }
}
.archive-reviews .article03 {
  width: 100%;
  margin: 0;
  background: none;
}
.archive-reviews .etc-title {
  padding: 10px 0;
  font-size: 18px;
  line-height: 2;
}
.archive-reviews .article03 .etc-title + ul {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}
.archive-reviews .article03 .etc-title + ul li {
  background: #004aac;
  padding: 5px 5px;
  margin: 5px 0 5px 5px;
  color: #ffffff;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1;
}

.lbl-new {
  position: absolute;
  background-color: red;
  color: white;
  padding: 5px 10px;
  z-index: 100;
}

/* pagenate */
.p-pager {
  display: flex;
  margin-bottom: 50px;
  justify-content: center;
}

.p-pager__item {
  margin-right: 3px;
  margin-bottom: 3px;
  font-size: 14px;
}

.p-pager__item a,
.p-pager__item span {
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
}

.p-pager__item span {
  background: #03989F;
}

.p-pager__item a {
  background: #EAEAEA;
}

.p-pager__item a:hover,
.p-pager__item span {
  color: #fff;
}

.single-reviews .reviews-cat {
  display: flex;
  list-style: none;
  flex-direction: row;
  justify-content: flex-end;
  margin: 0;
  flex-wrap: wrap;
}

.single-reviews .reviews-cat li a {
  display: block;
  background: #004aac;
  padding: 0px 8px;
  margin: 5px 0 5px 10px;
  color: #ffffff;
  box-sizing: border-box;
}

.single-reviews .reviews-catch-img {
  width: 100%;
  margin-bottom: 50px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .single-reviews .reviews-catch-img {
    margin-bottom: 30px;
  }
}

.single-reviews .reviews-catch-img img {
  max-width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

.single-reviews .woks-gly-items {
  width: 100%;
  margin-bottom: 90px;
}

.single-reviews .woks-gly-item {
  width: 48.5%;
}

.single-reviews .woks-gly-item.item-l-b {
  width: 41.74%;
}

.single-reviews .woks-gly-item.item-r-a {
  width: 53.914%;
}

.single-reviews .woks-gly-part {
  font-weight: bold;
  margin-bottom: 0;
}

.single-reviews .woks-gly-img {
  margin-bottom: 20px;
}

.single-reviews .woks-gly-img-gray {
  filter: grayscale(100%);
}

.single-reviews .woks-gly-text {
  line-height: 1.5;
  margin: 0;
}

.single-reviews .reviews-ttl {
  position: relative;
  margin-bottom: 4em;
  text-align: center;
}

.single-reviews .reviews-ttl:before {
  content: "";
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 60px;
  height: 5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: black;
  border-radius: 2px;
}

.single-reviews .reviews-dtl-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 100px;
}

.single-reviews .reviews-dtl-items--first {
  margin-bottom: 0px;
}

.single-reviews .reviews-dtl-item {
  display: flex;
  flex-wrap: nowrap;
  width: 48%;
  margin-bottom: 0;
  align-items: center;
  border-bottom: 1px dotted #000;
  height: 60px;
}

.single-reviews .reviews-dtl-item:nth-child(1),
.single-reviews .reviews-dtl-item:nth-child(2) {
  border-top: 1px dotted #000;
}

.single-reviews .reviews-dtl-items + .reviews-dtl-items .reviews-dtl-item:nth-child(1),
.single-reviews .reviews-dtl-items + .reviews-dtl-items .reviews-dtl-item:nth-child(2) {
  border-top: none;
}

.single-reviews .reviews-dtl-item dt {
  font-weight: bold;
  margin-bottom: 0;
  margin-left: 30px;
  width: 150px;
  line-height: 1.2;
}

.single-reviews .reviews-dtl-item dd {
  margin-bottom: 0;
  margin-left: 30px;
  line-height: 1.2;
}

.single-reviews .etc-ttl {
  font-size: 24px;
  text-align: center;
  margin-bottom: 60px;
}

.single-reviews .etc-items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 100px;
}
@media screen and (max-width: 1050px) {
  .single-reviews .etc-items {
    gap: 10px;
    grid-template-columns: 1fr;
  }
}
.single-reviews .etc-item-link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px 30px 10px 15px;
  background-color: #f3fefe;
  position: relative;
}
.single-reviews .etc-item-link::after {
  content: "";
  position: absolute;
  top: calc(50% - 3px);
  right: 15px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #004aac;
  border-right: 2px solid #004aac;
  transform: rotate(45deg);
}
.single-reviews .etc-thumbnail figure img {
  width: 80px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  aspect-ratio: 1/1;
}
.single-reviews .etc-title {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  height: 110px;
  flex: 1;
  padding: 10px 25px 10px 15px;
  font-size: 16px;
  font-weight: 300;
  line-height: 2;
}

.single-reviews .post-header .post-title {
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0 100px;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .single-reviews .post-header .post-title {
    padding: 0 50px;
  }
}
.single-reviews .post-header .post-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 50px;
  height: 1px;
  background-color: #383838;
}
@media screen and (max-width: 767px) {
  .single-reviews .post-header .post-title::before {
    width: 25px;
  }
}
.single-reviews .post-header .post-title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 50px;
  height: 1px;
  background-color: #383838;
}
@media screen and (max-width: 767px) {
  .single-reviews .post-header .post-title::after {
    width: 25px;
  }
}
.single-reviews .reviews-title {
  width: 100%;
  margin: 10px 0 20px 0;
  padding: 30px 20px 32px 20px;
  background-color: #004aac;
  font-size: 36px;
  font-weight: 300;
  line-height: 1.6;
  text-align: center;
  color: #fff;
}
@media screen and (max-width: 767px) {
  .single-reviews .reviews-title {
    padding: 20px 10px 20px 10px;
    background-color: #004aac;
    font-size: 24px;
  }
}
.single-reviews .consul-content {
  margin-bottom: 90px;
}
@media screen and (max-width: 767px) {
  .single-reviews .consul-content {
    margin-bottom: 60px;
  }
}
.single-reviews .consul-content__title {
  position: relative;
  margin-bottom: 40px;
  padding-left: 24px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  color: #333;
}
@media screen and (max-width: 767px) {
  .single-reviews .consul-content__title {
    margin-bottom: 20px;
    padding-left: 30px;
    font-size: 24px;
  }
}
.single-reviews .consul-content__title::before {
	content: "";
    position: absolute;
    background: #def7ff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    top: 65%;
    left: 0px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: -1;
}

@media screen and (max-width: 767px) {
  .single-reviews .consul-content__title::before {
    width: 20px;
  }
}
.single-reviews .consul-content__text {
  font-size: 18px;
  font-weight: 300;
  line-height: 2;
}
.single-reviews .consul-content__memo {
  margin-top: 30px;
  padding: 30px 20px 30px 30px;
  background-color: #f3fefe;
}
@media screen and (max-width: 767px) {
  .single-reviews .consul-content__memo {
    margin-top: 20px;
    padding: 20px 20px 20px 20px;
  }
}
.single-reviews .consul-content__memo-title {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.5;
  color: #004aac;
}
@media screen and (max-width: 767px) {
  .single-reviews .consul-content__memo-title {
    font-size: 20px;
  }
}
.single-reviews .consul-content__memo-title img {
  position: relative;
  top: -2px;
  margin-right: 20px;
}
@media screen and (max-width: 767px) {
  .single-reviews .consul-content__memo-title img {
    margin-right: 10px;
  }
}
.single-reviews .consul-content__list {
  list-style-type: none;
  margin: 0 0 0 30px;
  padding: 0;
}
@media screen and (max-width: 767px) {
  .single-reviews .consul-content__list {
    margin: 0 0 0 0px;
  }
}
.single-reviews .consul-content__list li {
  position: relative;
  padding-left: 20px;
  color: #004aac;
  font-size: 18px;
  font-weight: 300;
}
.single-reviews .consul-content__list li::before {
  content: "●";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
}
.single-reviews .etc-ttl {
  display: block;
  position: relative;
  margin-bottom: 20px;
  padding: 0 0 15px 10px;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.5;
  text-align: left;
}
@media screen and (max-width: 767px) {
  .single-reviews .etc-ttl {
    font-size: 18px;
  }
}
.single-reviews .etc-ttl::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  border-bottom: 3px solid #03989f;
}
.single-reviews .etc-ttl::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 180px;
  height: 0;
  border-bottom: 3px solid #004aac;
}
.single-reviews .etc-ttl img {
  position: relative;
  top: -2px;
  margin-right: 10px;
}

.single-reviews .works-catch-img {margin-bottom: 30px; text-align: center;}
.single-reviews .works-catch-img img {border: solid 1px #ccc; margin: auto;}


/*/////////////////////トップページの解決事例・お客様の声の一覧修正////////////////////////*/

.front-sec06 .front-sec06-block01 .front-sec06-block02__img img {object-fit: cover; height: 240px;}
.front-sec06 .front-sec06-block01 .front-sec06-block02__title {margin-bottom: 20px; font-size: 18px; line-height: 1.5;}

.front-sec07 .front-sec07-block01 .front-sec07-block02__img img {object-fit: cover; height: 360px; border: solid 1px #ccc;}
.front-sec07 .front-sec07-block01 .front-sec07-block02__title {text-align: center;}

.wpcf7 {max-width: 100%!important;}
.wpcf7 form {margin: 1.5em auto 0!important;}


div.post-content p{
    font-size: 18px;
}