#voice {
  padding: 120px 16px 120px 16px;
  background-image: url("/wp-content/themes/base/assets/img/lp-craftsmen_v2/voice_background.jpg");
  background-position-x: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#voice .voice-inner {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#voice .main-title {
  display: flex;
  flex-direction: row;
  align-items: end;
  gap: 12px;
  color: white;
  font-size: 32px;
}

#voice .main-title span {
  font-size: 48px;
  font-weight: 900;
  line-height: 100%;
  letter-spacing: 0.1em;
}

#voice .main-title span {
  transform: matrix(1, 0, -0.17, 0.98, 0, 0);
}

#voice .main-title .logo {
  width: 237px;
  height: 50px;
}

#voice .interview-container {
  position: relative;
  margin-top: 80px;
  display: flex;
  flex-direction: row;
  gap: 22px;
  padding: 20px 24px;
  background-color: #fff;
  border-radius: 8px;
}

#voice .interview-bubble {
  position: absolute;
  left: 40%;
  transform: translateX(-50%);
  top: -44px;
}

#voice .content-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#voice .content-container .sub-title {
  transform: matrix(1, 0, -0.17, 0.98, 0, 0);
}

#voice .content-container .sub-title span {
  background-color: #2db7af;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 36px;
  line-height: 190%;

  color: #f5f5f5;
}

#voice .tags {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;

  margin-top: 28px;
}

#voice .tag {
  font-weight: 700;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0.1em;
  padding: 8px 20px;

  background: rgba(45, 183, 175, 0.2);
  border-radius: 2px;
}

#voice .description {
  margin-top: 20px;

  font-weight: 700;
  font-size: 20px;
  line-height: 120%;
}

#voice .tags.sp,
#voice .description.sp {
  display: none;
}

#voice .image-container {
  width: 222px;
}

#voice .voice-bubbles {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#voice .voice-bubble {
  display: flex;
  gap: 53px;
}

#voice .voice-bubbles .voice-bubble:nth-child(2n) {
  flex-direction: row-reverse;
}

#voice .voice-bubbles .voice-bubble:nth-child(2n - 1) {
  flex-direction: row;
  align-items: center;
}

#voice .voice-bubble .bubble-icon {
  width: 116px;
  height: 116px;
}

#voice .voice-bubble .bubble {
  position: relative;
  padding: 28px 56px;
  height: fit-content;
  background: #fff;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 20px;

  font-size: 20px;
  font-weight: bold;
  line-height: 150%;
  white-space: normal;

  max-width: calc(100% - 116px * 2 - 53px * 2);
}

#voice .voice-bubbles .voice-bubble:nth-child(2n) .bubble::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  right: -13px;
  top: 36px;
  background-image: url("/wp-content/themes/base/assets/img/lp-craftsmen_v2/right-triangle.svg");
  background-position-x: center;
  background-size: contain;
  background-repeat: no-repeat;
}

#voice .voice-bubbles .voice-bubble:nth-child(2n-1) .bubble::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: -13px;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("/wp-content/themes/base/assets/img/lp-craftsmen_v2/left-triangle.svg");
  background-position-x: center;
  background-size: contain;
  background-repeat: no-repeat;
}

@media screen and (max-width: 768px) {
  #voice .main-title span {
    font-size: 34px;
    white-space: nowrap;
  }

  #voice .main-title .logo {
    width: 132px;
    height: 27px;
  }

  #voice .content-container .sub-title span {
    font-size: 24px;
  }

  #voice .content-container .sub-title span {
    padding: 4px 16px;
  }

  #voice .image-container {
    width: 160px;
  }

  #voice .content-container .tag {
    font-size: 14px;
    padding: 6px;
  }
}

@media screen and (max-width: 768px) {
  #voice {
    padding: 40px 16px;
  }

  #voice .main-title {
    font-size: 24px;
  }

  #voice .main-title span {
    font-size: 22px;
    white-space: nowrap;
  }

  #voice .main-title .logo {
    width: 132px;
    height: 27px;
  }

  #voice .interview-container {
    margin-top: 80px;
    flex-direction: column;
    gap: 12px;
    padding: 32px 16 20px 16px;
  }

  #voice .interview-bubble {
    left: 50%;
  }

  #voice .content-container {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  #voice .sub-title span {
    font-size: 26px;
  }

  #voice .tags {
    gap: 4px;
    margin-top: 12px;
  }

  #voice .tag {
    font-size: 14px;
    line-height: 120%;
    padding: 6px;
  }

  #voice .description {
    margin-top: 16px;
  }

  #voice .tags.sp,
  #voice .description.sp {
    display: flex;
  }

  #voice .tags.pc,
  #voice .description.pc {
    display: none;
  }

  #voice .image-container {
    width: 100%;
  }

  #voice .image-container .user-image {
    width: 100%;
  }

  #voice .voice-bubbles {
    margin-top: 44px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  #voice .voice-bubble {
    gap: 16px;
  }

  #voice .voice-bubble .bubble-icon {
    width: 73px;
    height: 73px;
  }

  #voice .voice-bubble .bubble {
    position: relative;
    padding: 12px 20px;

    font-size: 14px;
    max-width: 100%;
  }

  #voice .voice-bubbles .voice-bubble:nth-child(2n) .bubble::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    right: -13px;
    top: 36px;
    background-image: url("/wp-content/themes/base/assets/img/lp-craftsmen_v2/right-triangle.svg");
    background-position-x: center;
    background-size: contain;
    background-repeat: no-repeat;
  }

  #voice .voice-bubbles .voice-bubble:nth-child(2n-1) .bubble::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    left: -13px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url("/wp-content/themes/base/assets/img/lp-craftsmen_v2/left-triangle.svg");
    background-position-x: center;
    background-size: contain;
    background-repeat: no-repeat;
  }
}

/********************/
/* よくある質問 */
/********************/

