@charset "utf-8";
/*
Theme Name: 東新住建テイシャク
Theme URI: 
Description: 東新住建テイシャク お客様の声
Author:
Author URI:
Version: 1.0
*/
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.voice_p_title {
  height: 255px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(/teishaku-portal/contents/img/bg-title.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  font-size: 36px;
  line-height: 100%;
  color: #E4FD52;
}
.voice_catch {
  text-align: center;
  padding: 3% 0 5%;
  font-size: 90%;
  line-height: 200%;
}
.content_box.voice {
  padding: 3% 0 5% !important;
  text-align: justify;
}
.content_box ul.voice_list {
  display: flex;
  flex-wrap: wrap;
}
.content_box ul.voice_list li {
  width: calc(33.333333% - 0.5%);
  margin: 0 0.7% 0.7% 0;
}
.content_box ul.voice_list li:nth-child(3n) {
  margin: 0 0 0.7%;
}
.content_box ul.voice_list li a figure {
  margin: 0;
  padding: 0;
  display: block;
}
.content_box ul.voice_list li a figure figcaption {
  background: #eceee4;
}
.content_box ul.voice_list li a figure figcaption h3 {
  padding: 2% 3% 2% 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  text-align: justify;
  background: #eceee4;
  color: #004ea3;
  font-size: 100%;
  font-weight: 400;
  line-height: 1.2;
}
.content_box ul.voice_list li a figure figcaption h3 .case {
  width: 15%;
  text-align: center;
  border-right: 1px solid #595757;
  box-sizing: border-box;
  color: #000;
  font-size: 200%;
  font-weight: 700;
  line-height: 1;
}
.content_box ul.voice_list li a figure figcaption h3 .case::before {
  content: "CASE";
  display: block;
  font-size: 35%;
}
.content_box ul.voice_list li a figure figcaption h3 span:nth-of-type(2) {
  width: 85%;
  padding: 0 0 0 2%;
  box-sizing: border-box;
}
.content_box ul.voice_list li a figure figcaption .customer {
  width: 100%;
  padding: 2% 3%;
  background: #fefada;
  font-size: 80%;
  box-sizing: border-box;
}
.content_box ul.voice_list li a figure figcaption .customer span:nth-of-type(1), .content_box ul.voice_list li a figure figcaption .customer span:nth-of-type(2) {
  margin: 0 2% 0 0;
}
.content_box h3.post-ttl {
  margin: 0 auto 3%;
  padding: 1% 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #eceee4;
  border-top: 1px solid #231815;
  color: #595757;
  font-size: 120%;
  font-weight: 700;
  line-height: 1.5;
}
.content_box h3.post-ttl .case {
  width: 80px;
  margin: 0 3% 0 1%;
  display: block;
  text-align: center;
  border-right: 1px solid #231815;
  font-size: 130%;
  line-height: 1;
}
.content_box h3.post-ttl .case::before {
  content: "CASE";
  display: block;
  font-size: 40%;
}
.content_box .post {
  padding: 2% 0;
}
.content_box .post ul.voice_head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.content_box .post ul.voice_head li:nth-child(1) {
  width: 55%;
}
.content_box .post ul.voice_head li:nth-child(1) img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.content_box .post ul.voice_head li:nth-child(2) {
  width: 40%;
}
.content_box .post ul.voice_head li:nth-child(2) .customer {
  margin: 0 0 2%;
  padding: 0 0 2%;
  border-bottom: 1px solid #ccc;
  font-size: 130%;
}
.content_box .post ul.voice_head li:nth-child(2) .composition {
  font-size: 90%;
}
.content_box .post .voice-cont {}
.content_box .post .voice-cont h3 {
  margin: 5% 0 2%;
  color: #04aa89;
  font-size: 130%;
  font-weight: 700;
  line-height: 1;
}
.content_box .post .voice-cont p {
  margin: 0 0 1%;
  line-height: 1.8;
}
.content_box .post .voice-cont img {
  width: 100%;
  max-width: 500px;
  height: 320px;
  object-fit: contain;
  margin: 5% auto;
  display: block;
  line-height: 0;
}
.content_box .archive-link {
  width: 30%;
  margin: 5% auto 0;
  display: table;
  background: #fff;
  border: 2px solid #231815;
  border-radius: 50px;
  text-align: center;
  line-height: 0;
}
.content_box .archive-link a {
  padding: 25px 0;
  display: block;
  color: #231815;
  font-weight: 700;
}
@media screen and (min-width: 1000px) and (max-width: 1309px) {
  .content_box ul.voice_list li, .content_box ul.voice_list li:nth-child(3n) {
    width: calc(50% - 0.3%);
    margin: 0 0.5% 0.5% 0;
  }
  .content_box ul.voice_list li:nth-child(even) {
    margin: 0 0 0.5%;
  }
}
@media screen and (max-width: 999px) {
  .content_box.voice {
    padding: 5% 3% 3% !important;
  }
  .content_box ul.voice_list {
    margin: 0 auto 5%;
    display: flex;
    flex-wrap: wrap;
  }
  .content_box ul.voice_list li {
    width: 100%;
    margin: 0 auto;
  }
  .content_box ul.voice_list li:nth-child(3n) {
    margin: 0 auto;
  }
  .content_box h3.post-ttl {
    margin: 0 auto 5%;
    padding: 3% 2%;
    font-size: 120%;
  }
  .content_box h3.post-ttl .case {
    width: auto;
    margin: 0 auto 2%;
    padding: 0;
    border-right: 0 none;
    font-size: 160%;
  }
  .content_box h3.post-ttl .case::before {
    font-size: 30%;
  }
  .content_box .post ul.voice_head li:nth-child(1) {
    width: 80%;
    margin: 0 auto 5%;
  }
  .content_box .post ul.voice_head li:nth-child(1) img {
    height: 200px;
    object-fit: contain;
  }
  .content_box .post ul.voice_head li:nth-child(2) {
    width: 100%;
  }
  .content_box .post .voice-cont h3 {
    margin: 12% 0 4%;
    font-size: 120%;
  }
  .content_box .post .voice-cont p {
    margin: 0 0 2%;
  }
  .content_box .post .voice-cont img {
    width: 80%;
    height: 200px;
    object-fit: contain;
  }
  .content_box .archive-link {
    width: 80%;
  }
}