.howto {
  background: transparent;
  padding: 26px 0 0;
}

.howto__movie {
  position: relative;
  max-width: 806px;
  margin: 0 auto 60px;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.howto__movie:hover {
  opacity: 0.8;
}
@media (max-width: 768px) {
  .howto__movie {
    margin-bottom: 21px;
  }
}

.howto__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.howto__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: opacity 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.howto__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.howto__thumb.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  align-items: stretch;
  margin-bottom: 37px;
  position: relative;
}
@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 45px;
    max-width: 350px;
    margin-inline: auto;
    margin-bottom: 54px;
  }
}

.step {
  background: #F7F2EA;
  border-radius: 80px;
  padding: 0 18px 18px;
  text-align: center;
  position: relative;
}
@media (max-width: 768px) {
  .step {
    display: grid;
    width: 100%;
    border-radius: 40px;
    margin: 0 auto;
    grid-template-columns: 140px 1fr;
    grid-template-areas: "label label" "icon title" "icon text";
    column-gap: 0px;
    align-items: center;
    text-align: left;
    padding: 0 0px 10px;
  }
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 44%;
  right: -52px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 16px 0 16px 28px;
  border-color: transparent transparent transparent #ba0115;
}
@media (max-width: 768px) {
  .step:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -23px;
    transform: translateX(50%);
    border-width: 14px 8px 0 8px;
    border-color: #ba0115 transparent transparent transparent;
  }
}
.step__label {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -12px auto 0;
  background: #A85151;
  color: #fff;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  color: #fff;
  width: 140px;
  height: 30px;
  border-radius: 999px;
}
@media (max-width: 768px) {
  .step__label {
    grid-area: label;
    justify-self: start;
    margin: -6px auto 0px;
    font-size: 10px;
    width: 70px;
    height: 15px;
  }
}
.step__ttl {
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-align: center;
  color: #ba0115;
  margin: 24px 0 0;
  padding-bottom: 22px;
  position: relative;
}
.step__ttl::after {
  content: "";
  display: block;
  width: 190px;
  height: 1px;
  background: #ba0115;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 768px) {
  .step__ttl {
    grid-area: title;
    text-align: left;
    margin-top: 12px;
    padding-bottom: 10px;
    margin-bottom: 8px;
    font-size: 20px;
  }
  .step__ttl::after {
    width: calc(100% - 43px);
    max-width: none;
    left: 0;
    transform: none;
  }
}
.step__icon {
  height: 120px;
  display: grid;
  padding-top: 11px;
  margin-bottom: 8px;
  justify-content: center;
}
.step__icon img {
  max-height: 112px;
  width: auto;
}
@media (max-width: 768px) {
  .step__icon {
    grid-area: icon;
    height: auto;
    margin: 0;
  }
  .step__icon img {
    max-height: 66px;
  }
}
.step__text {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-align: center;
  color: #2c2020;
}
@media (max-width: 768px) {
  .step__text {
    grid-area: text;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .related {
    padding-top: 40px;
  }
}
