/* MW WP Form agree checkbox visual fix (v5.x) */
.policyBox .agreeBoxPolicy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.policyBox .agreeBoxPolicy .mwform-checkbox-field {
  display: inline-block;
  margin: 0;
}

.policyBox .agreeBoxPolicy .mwform-checkbox-field label {
  display: block;
}

.policyBox .agreeBoxPolicy .mwform-checkbox-field-text {
  display: none;
}

.policyBox .agreeBoxPolicy input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 20px !important;
  height: 20px !important;
  padding: 0 !important;
  margin: 0;
  border: 1px solid #b1b1b1 !important;
  border-radius: 0;
  background: #fff;
  position: relative;
  cursor: pointer;
}

.policyBox .agreeBoxPolicy input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 5px;
  width: 10px;
  height: 20px;
  border: solid #01bfbd;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.policyBox .agreeBoxPolicy .agreePolicyText {
  color: #333;
  font-size: 14px;
  line-height: 1.2;
}

.policyBox .agreeBoxPolicy .agreePolicyText a {
  color: #01bfbd;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .policyBox .agreeBoxPolicy {
    gap: 10px;
  }

  .policyBox .agreeBoxPolicy input[type="checkbox"] {
    width: 28px;
    height: 28px;
  }

  .policyBox .agreeBoxPolicy input[type="checkbox"]:checked::after {
    left: 8px;
    top: 3px;
    width: 6px;
    height: 14px;
    border-width: 0 2px 2px 0;
  }

  .policyBox .agreeBoxPolicy .agreePolicyText {
    font-size: 14px;
  }
}

/* Breadcrumb below header */
@media screen and (min-width: 769px) {
  .pageTtl {
    margin-bottom: 0;
  }
}

.breadcrumb.breadcrumb-header {
  position: static;
  left: auto;
  bottom: auto;
  width: 100%;
  padding: 18px 0 64px;
}

.breadcrumb li + li:before,
.breadcrumb.breadcrumb-header li + li:before {
  vertical-align: middle;
}

.promotion-support-page .breadcrumb.breadcrumb-header {
  padding: 18px 0 65px;
}

@media screen and (min-width: 769px) {
  .sales-support-page .page_business .sc_head .imgBox.sales {
    top: -40px;
  }
}

.post-type-archive-casestudy .breadcrumb.breadcrumb-header,
.tax-case_cat .breadcrumb.breadcrumb-header {
  padding: 18px 0 64px;
  background-color: #fff;
}

.home .breadcrumb.breadcrumb-header,
.blog .breadcrumb.breadcrumb-header,
.archive-page .breadcrumb.breadcrumb-header,
.category .breadcrumb.breadcrumb-header,
.single-post .breadcrumb.breadcrumb-header,
.singlepost-page .breadcrumb.breadcrumb-header {
  background-color: #fafaf4;
}

.home .breadcrumb.breadcrumb-header,
.blog .breadcrumb.breadcrumb-header,
.category .breadcrumb.breadcrumb-header,
.single-post .breadcrumb.breadcrumb-header,
.singlepost-page .breadcrumb.breadcrumb-header {
  padding: 18px 0 0;
}

.post-type-archive-casestudy .breadcrumb.breadcrumb-header,
.tax-case_cat .breadcrumb.breadcrumb-header {
  background-color: #fff;
}

.post-type-archive-recruit_interview .breadcrumb.breadcrumb-header {
  padding: 10px 0 0;
  background-color: rgba(1, 191, 189, .05);
}

.single-recruit_interview .breadcrumb.breadcrumb-header {
  background-color: rgba(1, 191, 189, .05);
}

.single-casestudy .breadcrumb.breadcrumb-header {
  position: relative;
  z-index: 20;
  padding: 18px 0 60px;
  background-color: rgb(199 248 247 / 10%);
}

.breadcrumb.breadcrumb-header .inner {
  max-width: 1100px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .breadcrumb.breadcrumb-header {
    position: static;
    left: auto;
    bottom: auto;
    padding: 10px 0 14px;
    overflow-x: visible;
  }

  .breadcrumb.breadcrumb-header .inner {
    margin: 0 24px;
    padding: 0;
    display: block;
    white-space: normal;
  }

  .breadcrumb.breadcrumb-header ul {
    display: flex;
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .breadcrumb.breadcrumb-header li {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.75;
  }

  .post-type-archive-casestudy .breadcrumb.breadcrumb-header,
  .tax-case_cat .breadcrumb.breadcrumb-header {
    padding-bottom: 0;
    background-color: rgba(1, 191, 189, .05);
  }

  .single-casestudy .breadcrumb.breadcrumb-header {
    position: relative;
    z-index: 20;
    padding: 10px 0 0;
    background-color: rgb(1 191 189 / 14%);
  }

  .single-recruit_interview .breadcrumb.breadcrumb-header {
    padding-bottom: 40px;
  }
}

.policyBox .agreeBox .mwform-checkbox-field {
  display: inline-block;
}

.policyBox .agreeBox .mwform-checkbox-field label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.policyBox .agreeBox .mwform-checkbox-field input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 40px;
  height: 40px;
  margin: 0;
  border: 2px solid #b1b1b1;
  border-radius: 0;
  background: #fff;
  position: relative;
  cursor: pointer;
}

.policyBox .agreeBox .mwform-checkbox-field input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 1px;
  width: 7px;
  height: 12px;
  border: solid #01bfbd;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.policyBox .agreeBox .mwform-checkbox-field .mwform-checkbox-field-text {
  font-size: 44px;
  line-height: 1.2;
  color: #333;
}

.policyBox .agreeBox .mwform-checkbox-field .mwform-checkbox-field-text a {
  color: #01bfbd;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .policyBox .agreeBox .mwform-checkbox-field label {
    gap: 10px;
  }

  .policyBox .agreeBox .mwform-checkbox-field input[type="checkbox"] {
    width: 28px;
    height: 28px;
  }

  .policyBox .agreeBox .mwform-checkbox-field input[type="checkbox"]:checked::after {
    left: 6px;
    top: 0;
    width: 6px;
    height: 14px;
    border-width: 0 2px 2px 0;
  }

  .policyBox .agreeBox .mwform-checkbox-field .mwform-checkbox-field-text {
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {
  .sc_top_news li a .ttl {
    width: 100%;
    flex-basis: 100%;
    margin-top: 12px;
  }
}

.caseListBox .post_excerpt,
.interviewListBox .post_excerpt {
  width: 100%;
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: #676767;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
