@charset "UTF-8";
/* CSS Document */
.voice-comment {
  background-color: #fff;
  border: #111 3px solid;
  width: 456px;
  height: 250px;
  margin-top: 50px;
  padding: 30px 20px;
  box-shadow: 8px 8px #fff, 8px 8px 0 3px #111;
}
.name {
  font-size: 2.0rem;
  font-weight: 700;
  display: inline-block;
  padding-bottom: 15px;
}
.attribute {
  font-size: 1.8rem;
  padding: 2px 10px 0 0;
}
.experience {
  font-size: 1.5rem;
  display: inline-block;
  padding-bottom: 1rem;
}
.comment {
  font-size: 1.6rem;
}
.voice-decoration-group {
  display: flex;
  justify-content: space-between;
  position: relative;
  width: 130px;
  box-sizing: border-box;
}
.voice-decoration::before {
  color: #5FFFD3;
}
.voice-decoration-green {
  display: inline-block;
  position: absolute;
  top: -38px;
  right: -260px;
  margin: 0;
  padding: 10px 0;
  z-index: 2;
  width: 100px;
  text-align: center;
  font-size: 1.6rem;
  color: #111;
  background: #5FFFD3;
}
.voice-decoration-purple {
  display: inline-block;
  position: absolute;
  top: -38px;
  right: -260px;
  margin: 0;
  padding: 10px 0;
  z-index: 2;
  width: 100px;
  text-align: center;
  font-size: 1.5rem;
  color: #111;
  background: #BB5FFF;
}
.voice-decoration-purple::after {
  content: '';
  position: absolute;
  left: 0;
  top: 100%;
  height: 0;
  width: 0;
  border-left: 50px solid #BB5FFF;
  border-right: 50px solid #BB5FFF;
  border-bottom: 15px solid transparent;
}
.voice-decoration-green:after {
  content: '';
  position: absolute;
  left: 0;
  top: 100%;
  height: 0;
  width: 0;
  border-left: 50px solid #5FFFD3;
  border-right: 50px solid #5FFFD3;
  border-bottom: 15px solid transparent;
}
.voice-comment-group {
  display: flex;
  justify-content: space-between;
  margin: 0 20px;
}
.voice-wrapper {
  margin-bottom: 100px;
}
@media screen and (max-width:1070px) {
  .voice-comment-group {
    width: 100%;
  }
  .voice-comment {
    margin: 30px auto;
    width: 300px;
    height: 200px;
    padding: 20px 15px;
  }
  .voice-comment-top {
    margin-top: 50px;
  }
  .name {
    font-size: 1.6rem;
    padding-bottom: 0px;
  }
  .attribute {
    font-size: 1.4rem;
    padding: 2px 20px 0 0;
  }
  .experience {
    font-size: 1.4rem;
  }
  .comment {
    font-size: 1.4rem;
  }
  .voice-decoration-green {
    top: -28px;
    right: -110px;
    font-size: 1.4rem;
    width: 80px;
  }
  .voice-decoration-green::after {
    border-left: 40px solid #5FFFD3;
    border-right: 40px solid #5FFFD3;
    border-bottom: 10px solid transparent;
  }
  .voice-decoration-purple {
    top: -28px;
    right: -110px;
    font-size: 1.4rem;
    width: 80px;
  }
  .voice-decoration-purple::after {
    border-left: 40px solid #BB5FFF;
    border-right: 40px solid #BB5FFF;
    border-bottom: 10px solid transparent;
  }
  .voice-comment-group {
    margin: 0px;
    display: block;
  }
  .voice-comment-space {
    margin-bottom: 50px;
  }
  .voice-wrapper {
    margin-bottom: 50px;
  }
}
@media screen and (max-width:920px) {
  .voice-comment {
    width: 280px;
    height: 200px;
  }
  .voice-comment-group {
    margin: 0px;
  }
  .name {
    font-size: 1.6rem;
    padding-bottom: 0px;
  }
  .attribute {
    font-size: 1.4rem;
  }
  .experience {
    font-size: 1.4rem;
  }
  .comment {
    font-size: 1.2rem;
  }
  .voice-decoration-green .voice-decoration-purple {
    top: -28px;
    right: -120px;
    font-size: 1.4rem;
    width: 80px;
  }
  .voice-decoration-green::after {
    border-left: 40px solid #5FFFD3;
    border-right: 40px solid #5FFFD3;
    border-bottom: 10px solid transparent;
  }
  .voice-decoration-purple::after {
    border-left: 40px solid #BB5FFF;
    border-right: 40px solid #BB5FFF;
    border-bottom: 10px solid transparent;
  }
}