/* section:事例詳細 */
article {
  padding-bottom: 11.25rem;
}
.case {
  padding-top: 4rem;
}
.case__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  column-gap: 2.5rem;
}
.case__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4.5rem;
  max-width: 46.25rem;
  width: 100%;
}
.case__label {
  font-weight: 100;
  font-size: clamp(3rem, 2.257rem + 3.05vw, 5rem);
  line-height: 1.1;
  color: var(--color-gray);
  text-transform: uppercase;
}
.case__body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.case__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.case__title {
  font-size: 2rem;
  line-height: 1.7;
  color: var(--color-black);
}
.case__tags {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.case__tag {
  display: block;
  border: 1px solid #C8CFD5;
  border-radius: 200px;
  font-size: .875rem;
  font-weight: 400;
  line-height: 1;
  padding: .4063rem 1rem .4063rem;
  width: fit-content;
  height: fit-content;
  transition: background-color 0.3s, color 0.3s;
}
.case__table {
  width: 100%;
}
.case__row {
  display: flex;
  align-items: center;
  width: 100%;
  border-top: 1px solid var(--color-gray);
  padding-block: .625rem;
}
.case__row:last-child {
  border-bottom: 1px solid var(--color-gray);
}
.case__row-label {
  flex-shrink: 0;
  width: 6.75rem;
  padding-left: 1rem;
  font-size: 0.875rem;
  line-height: 2;
  color: var(--color-black);
  position: relative;
}
.case__row-label::after {
  position: absolute;
  content: "";
  width: 1px;
  height: 1.5rem;
  background-color: var(--color-gray);
  right: 0;
}
.case__row-value {
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 2rem;
  font-size: 0.875rem;
  line-height: 2;
  color: var(--color-black);
}
.case__media {
  flex-shrink: 0;
  width: 26rem;
  height: 26rem;
  border-radius: 12px;
  background-color: var(--color-placeholder);
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}
@media screen and (max-width: 1024px) {
  .case__media {
    width: 22rem;
    height: 22rem;
  }
}
@media screen and (max-width: 767px) {
  article {
    padding-bottom: 5rem;
  }
  .case__inner {
    flex-direction: column;
    padding-inline: 1rem;
  }
  .case__content {
    max-width: none;
    height: auto;
    gap: 1.5rem;
  }
  .case__row-label {
    width: 5rem;
    padding-left: 0;
    text-align: center;
  }
  .case__row-value {
    padding-left: 1rem;
  }
  .case__media {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/* ================== */
/* section:導入事例テキスト */
/* ================== */
.caseLead {
  margin-top: 5rem;
}
.caseLead__contents {
  background-color: var(--color-panel);
  border-radius: 12px;
  padding: 3.25rem 3.875rem;
}
.caseLead___text + .caseLead___text {
  margin-top: 1.25rem;
}
.caseLead___text {
  font-size: 1rem;
  line-height: 2;
  font-weight: 400;
  letter-spacing: 0.01em;
}
@media screen and (max-width: 767px) {
  .caseLead {
    margin-top: 2.5rem;
  }
  .caseLead__contents {
    padding: 1.5rem;
  }
  .caseLead___text {
    font-size: .875rem;
  }
}
/* ================== */
/* section:インタビュー */
/* ================== */
.interview {
  padding-top: 6rem;
}
.interview__inner {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}
.interview__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}
.interview__item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}
.interview__row {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
  min-width: 0;
}
.interview__row--answer {
  justify-content: flex-end;
}
.interview__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 5.75rem;
  height: 5.75rem;
  border: 1px solid;
  border-radius: 50%;
  background-color: var(--color-white);
}
.interview__avatar--interviewer {
  border-color: #FF3837;
}
.interview__avatar--interviewee {
  border-color: var(--color-brand-blue);
}
.interview__bubble-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
}
.interview__bubble-wrap--answer {
  flex: 1 1 auto;
  justify-content: flex-end;
}
.interview__tail {
  flex-shrink: 0;
}
.interview__tail--answer {
  transform: scaleX(-1);
}
.interview__bubble {
  padding: 1.5rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  line-height: 2;
  color: var(--color-black);
}
.interview__bubble a {
  color: var(--color-brand-blue);
}
.interview__bubble img {
  border-radius: 0.5rem;
  margin: 0.5rem 0;
}
.interview__bubble--question {
  background-color: var(--color-panel);
}
.interview__bubble--answer {
  flex: 1;
  min-width: 0;
  max-width: 1016px;
  background-color: #E8F4FB;
  padding: 1.375rem 2.375rem 1.375rem 3rem;
}
@media screen and (max-width: 767px) {
  .interview__inner {
    padding-inline: 1rem;
    gap: 3rem;
  }
  .interview__row {
    gap: 0.5rem;
  }
  .interview__avatar {
    width: 3.5rem;
    height: 3.5rem;
    position: relative;
    img {
      width: 1.5rem;
      height: 1.5rem;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
    }
    &.interview__avatar--interviewee{
      img {
        width: 1.75rem;
        height: 1.75rem;
      }
    }
  }
  .interview__bubble {
    font-size: .875rem;
    padding: 1rem;
  }
}

/* section:導入製品 */
.product {
  padding-top: 5.5rem;
}
.product__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4.8125rem;
  max-width: 80rem;
  margin-inline: auto;
}
.product__panel {
  display: flex;
  gap: clamp(1.875rem, -0.268rem + 4.46vw, 3.75rem);
  width: 100%;
  padding: 5rem clamp(3rem, 0.714rem + 4.76vw, 5rem);
  border-radius: 12px;
  background-color: var(--color-panel);
}
.product__media {
  flex-shrink: 0;
  max-width: clamp(12.5rem, 3.929rem + 17.86vw, 20rem);
	width: 100%;
}
.product__media img {
  border-radius: 0.5rem;
}
.product__body {
  flex: 1;
}
.product__text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.product__name {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 2;
  color: var(--color-black);
  margin-top: 1.25rem;
}
.product__desc {
  font-size: 1rem;
  line-height: 2;
  color: var(--color-text-sub);
}
.product__body .button {
  font-size: .875rem;
  height: 2.5rem;
  margin-top: 2.5rem;
  padding-inline: 2rem;
}

.button-voice {
  margin: 4.8125rem auto 0;
}

@media screen and (max-width: 767px) {
  .product {
    padding-top: 5rem;
  }
  .product__inner {
    padding-inline: 1rem;
    gap: 3rem;
  }
  .product__panel {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem 1.5rem;
  }
	.product__media {
		max-width: 100%;
    text-align: center;
	}
  .product__desc {
    font-size: .875rem;
  }
  .product__body .button {
    margin: 2.5rem auto 0;
  }
}

/* ================== */
/* section:インタビューテキスト */
/* ================== */
.interviewLead {
  margin-top: 5rem;
}
.interviewLead__contents {
  background-color: #E8FBEE;
  border-radius: 12px;
  padding: 4.75rem 3rem;
}
.interviewLead___text {
  line-height: 2;
  font-weight: 400;
}
@media screen and (max-width: 767px) {
  .interviewLead__contents {
    font-size: .875rem;
    padding: 1.5rem;
  }
}