/*
Theme Name: kanbanplus-child
Template: kanbanplus
*/

/* カラーコード  */

:root {
  --main-color: #FD9827;
}

/* 全体 */

body {
  color: #3C4858;
}

/* 個別ページ */
#post_title {
  letter-spacing: 0.1rem;
  color: #3C4858;
}

.post_content h1,
.post_content h2,
.post_content h3,
.post_content h4,
.post_content h5,
.post_content p {
  padding: 0;
  margin: 0;
  color: #3C4858;
}

.post_content h3 {
  margin-top: 64px;
  margin-bottom: 24px;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 0.1rem;
}

.post_content h4 {
  margin-top: 40px;
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: bold;
}

.post_content p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.post_content li {
  line-height: 1.6;
  margin-bottom: 0.5rem;
}


/* テーブルタグの調整 */

.post_content th, td {
  vertical-align: middle;
  box-sizing: border-box;
}

.post_content th {
  width: 25%;
  color: #fff;
  background-color: var(--main-color);
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .post_content th, .post_content td {
    display: block;
    width: 100%;
  }
  .post_content th {
    border: none;
  }
  .post_content td {
    border-top: none;
  }
}


/* ウィジェット */

h3.side_headline {
  background: var(--main-color)!important;
  font-size: 16px;
}

.textwidget p {
  font-size: 16px;
  line-height: 1.8;
}


/* contact form7 レイアウト調整 */

.wpcf7 {
  border: 0 !important;
  box-sizing: border-box!important;
  background: none!important;
}

.wpcf7 table {
  width: 100%;
}

.wpcf7 form.wpcf7-form {
  margin: 0;
}

.wpcf7 select {
  background: #fff;
}

.wpcf7 th {
  font-size: 1rem;
  text-align: center;
  vertical-align: middle;
  color: #fff;
}

.wpcf7 .wpcf7c-elm-step1, .wpcf7 .wpcf7c-elm-step2, .wpcf7 .wpcf7c-elm-step3 {
  font-size: 16px!important;
}

.wpcf7 td {
  padding-top: .8rem;
  text-align: left;
  vertical-align: middle;
}

@media screen and (max-width: 767px) {
  .wpcf7 th, .wpcf7 td {
    display: block;
    margin: 0 auto;
  }
  .wpcf7 td {
    border-top: none;
  }
}

span.ajax-loader {
  display: none;
}


/* 確認画面用CSS */


/*枠線消す*/

form .wpcf7c-conf {
  border: none !important;
  background-color: transparent !important;
}

.wpcf7-form table p {
  padding-bottom: 5px;
}

textarea.wpcf7-form-control {
  max-height: 100px;
}


/*確認画面セレクトボックスヤジルシ消す*/

select.wpcf7c-conf {
  /*Firefox用*/
  text-indent: .01px;
  text-overflow: '';
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
}

select.wpcf7c-conf::-ms-expand {
  display: none;
}

.wpcf7-form table p {
  padding-bottom: 0;
}

.wpcf7 form.wpcf7-form input[type='text'], .wpcf7 form.wpcf7-form textarea {
  width: 100%!important;
}

.zip input[type='text'], .wpcf7 input[type='tel'], .s_size input[type='text'] {
  width: 50%;
}

.s_size input[type='number'] {
  width: 30%;
}

.wpcf7 input[type='email'] {
  width: 80%;
}

@media screen and (max-width: 767px) {
  .wpcf7 input[type='email'] {
    width: 100%;
  }
  .wpcf7 input[type='tel'] {
    width: 100%;
  }
}

.required {
  font-size: 90%;
  line-height: 1.2;
  display: block;
  max-width: 30%;
  max-width: 40%;
  margin: 0 auto;
  padding: 4px 6px;
  text-align: center;
  color: #fff;
  border-radius: 6px;
  background: #d04;
}

form table .txt_s {
  font-size: 80%;
  color: #666;
}


/* ボタンのCSS調整 */


/* 確認・送信ボタン */

.submit-button {
  text-align: center;
}

.wpcf7 input[type=submit] {
  width: 200px;
  font-size: 1rem;
  padding: 1rem;
  margin-right: 16px;
  letter-spacing: .2rem;
  color: #fff;
  border-radius: 3px;
  background-color: #333;
}

.wpcf7 input[type=submit].wpcf7-submit {
  padding: 0;
}


/* contactform7デフォルトの送信完了画面を非表示 */

.wpcf7-mail-sent-ok, .wpcf7-validation-errors {
  display: none !important;
}


/* PDFリンクに自動でアイコンをつける */

a[href$=".pdf"] {
  position: relative;
  padding-left: 1.5rem;
}

a[href$=".pdf"]:before {
  position: absolute;
  top: -5px;
  left: -1px;
  content: " ";
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url() no-repeat;
}