/* --------------------------- 
    お客様の声 共通
------------------------------- */

/* --------------------------- 
     お客様の声 一覧用
------------------------------- */
.page-header-image{
  margin-bottom: 3em;
}
.page-header-border{
  margin: 3em 0;
}
.voice-list{
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-left: 0;
  margin-left: 0;
}
.voice-list-item{
  position: relative;
  width: 25%;
  margin-right: 5%;
  margin-bottom: 2em;
}
.voice-list-item:nth-child(3n){
  margin-right: 0;
}
.voice-list-item:nth-child(3n+2):last-child {
  margin-left: auto;
  margin-right: 38%;
}
.voice-list-item a{
  text-decoration: none;
  display: block;
}
.voice-list-item a:hover .postcard{
  background-color: #ebc482;
}

.voice-list-item strong{
  font-weight: normal;
}
.voice-list-item .postcard{
  background-color: #eee7db;
  padding: 1em;
  transition: background-color 0.5s linear;
  margin-top: 0;
}

.voice-list-item .voice-icon{
  position: absolute;
  right: -10px;
  bottom: 5em;
  width: 60px;
  margin: 0;
}

@media only screen and (max-width : 767px){
  .voice-list-item{
    width: 45%;
    margin-right: 5%;
    margin-bottom: 2em;
  }
  .voice-list-item:nth-child(2n){
    margin-right: 0;
  }
  .voice-list-item:nth-child(2n+1):last-child {
    margin-left: auto;
    margin-right: 55%;
  }
}

/* --------------------------- 
     お客様の声 詳細用
------------------------------- */
.voice-line p{
  line-height: 2.0;
}
.customer-introduction{
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  align-items: flex-start;
  margin-bottom: 1em;
}

.customer-introduction .postcard{
  position: relative;
  box-sizing: border-box;
  width: 25%;
  background-color: #eee7db;
  padding: 1em;
  transition: background-color 0.5s linear;
  margin-right: 2em;
}

.customer-introduction .postcard .icon{
  position: absolute;
  right: -10px;
  bottom: 0;
  width: 60px;
  margin: 0;
}
.customer-introduction .voice-title strong{
  background: linear-gradient(transparent 70%, #ffff006e 0%);
  padding: 0 2px 4px;
}

.voice-tag{
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding-left: 0;
  margin-left: 0;
}
.voice-tag li{
  border: 2px solid #693905;
  padding: 0.25em 0.5em;
  margin-left: 1em;
  margin-bottom: 10px;
  font-size: 0.75rem;
}
.voice-tag li:first-child{
  margin-left: 0;
}

.staff-introduction{
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  align-items: center;
}
.staff-introduction .staff-introduction-logo{
  width: 30%;
  max-width: 75px;
  margin: 0;
  margin-right: 2em;
}
.staff-introduction .staff-introduction h2{
  width: 70%;
}

.voice-line .staff{
  background-color: #eafafb94;
  padding: 1em 2em;
  box-sizing: border-box;
  border-radius: 5px;
}

@media only screen and (max-width : 767px){
  .customer-introduction{
    display: block;
    text-align: left;
  }
  .customer-introduction .postcard{
    margin: 0 auto;
  }
  .customer-introduction{
    margin-bottom: 2em;
  }
  .customer-introduction .postcard{
    width: 80%;
  }
  .staff-introduction{
    display: block;
  }
  .staff-introduction .staff-introduction-logo{
    float: left;
    width: 30%;
    margin: 0;
    margin-right: 1rem;
  }
  .staff-introduction h2{
    clear: none;
    width: 100%;
    font-size: 1.45rem;
    letter-spacing: -1px;
    margin: 0;
  }
}