/* フォント */
@font-face {
  font-family: "notoSans";
  src: url("../font/NotoSansJP-Regular.otf") format("opentype"),
    url("../font/NotoSansJP-Bold.otf") format("opentype");
}

.posts .the_content p {
  font-family: "notoSans", sans-serif;
}

/*アーカイブ*/

#page.cms .posts {
  display: flex;
  flex-wrap: wrap;
}

#page.cms .posts li {
  width: 100%;
  background: none;
  transition: 0.7s;
  padding-bottom: 10px;
}

#page.cms .posts li figure {
  margin-bottom: 0px;
  float: left;
  width: 250px;
  margin-right: 30px;
}

#page.case .posts li dt {
  display: flex;
}

@media (min-width: 1px) and (max-width: 640px) {
  #page.case .posts li dt {
    flex-direction: column;
  }

  #page.case .posts li .status {
    margin-top: 10px;
  }
}

#page.case .posts li .more {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 15px 0;
  font-weight: bold;
  text-decoration: none;
}

#page.case .posts li .more a {
  color: #b92a28;
}

#page.case .posts li .more a::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 5px;
  border-top: 2px solid #b92a28;
  border-right: 2px solid #b92a28;
  transform: rotate(45deg);
}

#page.case .posts li dd {
  margin-top: 25px;
}

#page.case .posts li figure {
  float: none;
}

#page.cms .posts li dl {
  padding: 16px;
  padding-top: 0;
}

#page.cms .posts .tag a {
  display: inline-block;
  padding: 2px 6px;
  background: #b92a28;
  color: #fff;
  border-radius: 3px;
  border: none;
}

#page.cms .posts li dl h2 {
  padding: 0;
  font-size: 16px;
  letter-spacing: 0;
  text-align: left;
}

#page.cms .posts li dl h2:before,
#page.cms .posts li dl h2:after {
  content: "";
}

#page.cms .posts li .more {
  text-align: right;
}

#page.kaizen .posts,
#page.column .posts {
  justify-content: center;
  box-sizing: border-box;
}

#page.kaizen .posts::after,
#page.column .posts::after {
  content: "";
  display: block;
  width: 30%;
  box-sizing: border-box;
  margin: 0 10px;
}

#page.kaizen .posts::before,
#page.column .posts::before {
  order: 1;
  content: "";
  display: block;
  width: 30%;
  box-sizing: border-box;
  margin: 0 10px;
}

#page.kaizen .posts li.cl,
#page.column .posts li.cl {
  width: 30%;
  border-radius: 8px;
  margin: 10px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  box-sizing: border-box;
  transition: all 0.2s;
}

#page.kaizen .posts li.cl:hover,
#page.column .posts li.cl:hover {
  transform: translateY(-10px);
  transition: all 0.2s;
}

#page.cms.kaizen .posts li.cl figure,
#page.column .posts li.cl figure {
  width: 100%;
  float: none;
}

#page.cms.kaizen .posts li.cl img,
#page.column .posts li.cl img {
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

#page.cms.kaizen .posts li.cl dl,
#page.cms.column .posts li.cl dl {
  margin-top: 16px;
}

#page.cms.kaizen .posts li.cl dl .status,
#page.cms.column .posts li.cl dl .status {
  margin-bottom: 8px;
}

#page.cms.kaizen .posts li.cl dl h2,
#page.cms.column .posts li.cl dl h2 {
  font-weight: 700;
  margin-bottom: 8px;
}

#page.cms.kaizen .posts li.cl dl h2:hover,
#page.cms.column .posts li.cl dl h2:hover {
  text-decoration: underline;
}

#page.cms.kaizen .posts li.cl dl p,
#page.cms.column .posts li.cl dl p {
  line-height: 1.6;
}

#page.cms.kaizen .posts li.cl dl .link-more,
#page.cms.column .posts li.cl dl .link-more {
  display: none;
}

#page.cms.kaizen .posts li.cl dl .more a,
#page.cms.column .posts li.cl dl .more a {
  font-weight: 700;
  color: #b92a28;
}

@media (min-width: 641px) and (max-width: 768px) {
  #page.kaizen .posts::after,
  #page.column .posts::after {
    width: 45%;
  }

  #page.kaizen .posts::before,
  #page.column .posts::before {
    width: 45%;
  }

  #page.kaizen .posts li.cl,
  #page.column .posts li.cl {
    width: 45%;
  }
}

#page.cms #pagenation2 {
  text-align: center;
  margin-top: 64px;
}

#page.cms #pagenation2 .page-numbers {
  color: #b92a28;
  margin-right: 8px;
  padding: 5px;
}

#page.cms #pagenation2 .page-numbers.current {
  padding: 5px 10px;
  border-radius: 2px;
  background-color: #b92a28;
  color: #fff;
}

/*シングル*/

#page.in.cms.single #pageMv {
  padding: 0;
}
#page.in.cms.single #pageMv .thumbnail {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

#page.cms.single .posts {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 16px auto 36px;
  padding: 0;
  font-size: 16px;
  box-sizing: border-box;
  font-family: "notoSans", sans-serif;
}

#page.cms.single .posts h1 {
  color: #2b2b2b;
  font-size: 28px;
  margin: 20px auto 60px;
  text-align: left;
}

#page.in .wrap .column_headline {
  font-size: 24px;
  font-weight: 700;
  color: #2b2b2b;
  text-align: left;
  padding: 0.75rem 1.5rem;
  margin: 90px auto 45px;
  background: #eee;
  border-left: solid 4px #b92a28;
}

.column_headline::before,
.column_headline::after {
  display: none;
}

.column_wrap {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.column_time_category {
  display: flex;
  align-items: center;
}

.column_time_category .tag {
  margin-left: 10px;
}

#page.cms.single .posts p {
  line-height: 2.3rem;
  font-feature-settings: "palt" 1, "trad" 1;
}

@media (min-width: 1px) and (max-width: 640px) {
  #page.cms .posts li.cl {
    width: 100%;
    margin-bottom: 40px;
  }

  #page.cms.single .posts h1 {
    font-size: 24px;
    margin-top: 10px;
    margin-bottom: 45px;
  }
}

/* 目次 */

.posts #ez-toc-container {
  border: none;
  border-top: 3px solid #e3e3e3;
  border-bottom: 3px solid #e3e3e3;
  margin: 65px 0;
  padding: 30px 40px;
  width: 100%;
  box-sizing: border-box;
}

.posts #ez-toc-container p.ez-toc-title {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 700 !important;
  margin-bottom: 20px;
  padding: 0;
}

.posts #ez-toc-container p.ez-toc-title::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 10px;
  background-image: url(../../../../themes/twentyseventeen/common/img/base/toc_icon.svg);
  background-repeat: no-repeat;
}

.posts .ez-toc-title,
.posts .ez-toc-title-toggle {
  display: table-cell;
}

.posts #ez-toc-container a {
  position: relative;
  color: #2b2b2b;
}
.posts #ez-toc-container .ez-toc-list-level-3 {
  margin-top: 10px;
}

/* お客様インタビュー */

#page.case section#faq .faq_box {
  width: 95%;
  margin: 50px auto 50px;
}

#page.case section#faq .faq_box li {
  padding: 30px;
  box-shadow: #e2e2e2 4px 4px 5px;
  border: 1px solid #e2e2e2;
  margin-bottom: 16px;
  line-height: 1.6;
}

#page.case section#faq .faq_box li dd {
  font-size: 16px;
  background: url(../img/faq/q.png) left center no-repeat;
  background-size: 20px;
  padding-left: 28px;
  margin-bottom: 16px;
  font-weight: bold;
}

#page.case section#faq .faq_box li dt {
  font-size: 16px;
}

#page.case section#faq .more {
  margin-top: 20px;
  text-align: center;
  width: 95%;
  margin: 0 auto;
  margin-bottom: 50px;
}

#page.case section#faq {
  margin: 0;
}

#page.case #faq .more {
  display: block;
  width: 100%;
  max-width: 440px;
  background: #b20718;
  color: #fff;
  text-align: center;
  margin: 25px auto;
  padding: 30px 36px;
  border-radius: 80px;
  border: none;
  font-size: 24px;
  box-sizing: border-box;
}

#page.case section#cta {
  background: #e2e2e2;
  padding: 40px 0;
  margin-bottom: 40px;
}

#page.case section#cta h2 {
  text-align: center;
  color: #bf0400;
  font-size: 32px;
  margin: 0 16px 24px;
}

#page.case section#cta .cta_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#page.case section#cta .cta_box div {
  background: #fff;
  padding: 20px 0px;
  width: 45%;
  text-align: center;
}

#page.case section#cta .cta_box div.left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}

#page.case section#cta .cta_box div p {
  font-size: 24px;
  font-weight: 700;
  color: #b20718;
  text-align: center;
}

#page.case section#cta .cta_box div p:nth-of-type(1) {
  margin-bottom: 8px;
}

#page.case section#cta .cta_box div p.time {
  font-size: 16px;
}

#page.case section#cta .cta_box div a.tell {
  font-weight: bold;
  font-size: 32px;
  margin-bottom: 10px;
}

#page.case section#cta .cta_box div a.mail {
  color: #fff;
  padding: 10px;
  background-color: #ff8c00;
  display: block;
  margin: auto;
  text-align: center;
  box-shadow: 0px 5px #f08000;
  width: 90%;
  max-width: 300px;
  font-size: 24px;
  font-weight: 700;
}

#page.case section#cta .cta_box div a.mail:hover {
  background-color: orange;
}

#page.case section#cta .cta_box div a.mail:active {
  background-color: orange;
  box-shadow: none;
  position: relative;
  top: 5px;
}

#page.case section#cta .cta_box div a.tell:hover {
  background-color: orange;
}

#page.case section#cta .cta_box div a.tell:active {
  background-color: orange;
  position: relative;
  top: 5px;
}

#page.case section#cta .cta_box .right a.document {
  color: #fff;
  padding: 10px;
  background-color: blue;
  display: block;
  margin: 10px auto;
  text-align: center;
  box-shadow: 0px 5px darkblue;
  width: 90%;
  max-width: 300px;
  font-size: 24px;
  font-weight: 700;
}

#page.case section#cta .cta_box .right a.document:hover {
  background-color: #4169e1;
}

#page.case section#cta .cta_box .right a.document:active {
  background-color: blue;
  box-shadow: none;
  position: relative;
  top: 5px;
}

@media (min-width: 1px) and (max-width: 640px) {
  #page.case section#cta h2 {
    font-size: 24px;
  }

  #page.case section#cta .cta_box {
    display: block;
  }

  #page.case section#cta .cta_box div {
    width: 95%;
    margin: auto;
  }
  #page.case section#cta .cta_box div.left {
    margin-right: 0;
    margin: auto;
    margin-bottom: 10px;
  }
}
