@import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,700,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Zen+Antique&display=swap");
/* media query */
.subheader__char-box--howtomake {
  height: 85%;
  right: auto;
  left: 4%;
  bottom: -20px;
}
@media screen and (max-width: 768px) {
  .subheader__char-box--howtomake {
    height: 75%;
    bottom: -0.5rem;
  }
}
@media screen and (max-width: 480px) {
  .subheader__char-box--howtomake {
    left: 0.625rem;
  }
}
.subheader__char-box--howtomake img {
  width: auto;
  height: 100%;
}

.section__step {
  background: #fafafa;
}

.window__box {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  border: solid 0.3125rem var(--gray-9);
  border-radius: 0.125rem;
}
.window__header {
  margin: 0;
  padding: 0.5rem 1.25rem 0.8125rem;
  display: flex;
  justify-content: space-between;
  background: var(--gray-9);
}
.window__header span {
  color: var(--gray-0);
  font-size: 1.75rem;
  line-height: 1;
  font-weight: bold;
}
.window__content {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  pointer-events: none;
  background: #fff;
}
.window__img-box {
  width: 46%;
  margin-right: 4%;
}
.window__desc-box {
  flex: 1;
}
.window__title {
  margin-bottom: 0.625rem;
  font-family: Zen Antique;
  font-size: 1.5rem;
  letter-spacing: 2px;
}
.window__title--pc {
  display: block;
}
.window__title--sp {
  display: none;
}
@media screen and (max-width: 768px) {
  .window__box {
    width: 100%;
    border: solid 0.1875rem var(--gray-9);
    border-radius: 0.125rem;
  }
  .window__content {
    padding: 0.375rem 0.5rem 0.875rem;
  }
  .window__header {
    position: relative;
    padding: 0 0.625rem 0.1875rem;
    display: flex;
    background: var(--gray-9);
  }
  .window__header span {
    color: var(--gray-0);
    font-size: 1rem;
    line-height: 1;
    font-weight: bold;
    display: flex;
    align-items: center;
  }
  .window__img-box {
    width: 100%;
    margin-bottom: 1rem;
    margin-right: 0;
  }
  .window__title {
    margin-bottom: 0.625rem;
    font-size: 1rem;
    letter-spacing: 1px;
  }
  .window__title--pc {
    display: none;
  }
  .window__title--sp {
    display: block;
  }
}

.content__wrap--top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.content__wrap--step {
  padding: 30px 20px;
  background: #f4f4f4;
}
.content__caption-box {
  flex: 1;
}
.content__p--top {
  margin-bottom: 0.375rem;
  margin-right: 2.5rem;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .content__p--top {
    margin-right: 1.875rem;
  }
}
@media screen and (max-width: 768px) {
  .content__p--top {
    margin: 0;
    margin-bottom: 0.375rem;
  }
}
.content__p--window {
  margin: 0 1rem 0.375rem 0.125rem;
}
@media screen and (max-width: 768px) {
  .content__p--window {
    margin: 0 0.25rem 0.375rem;
  }
}

.video__box {
  width: 25%;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .video__box {
    width: 30%;
  }
}
.video__title {
  max-height: 1rem;
}

.step__item-link--readmore {
  position: relative;
  margin: 0.5rem 0;
  padding: 0.125rem 1rem 0.1875rem 2.875rem;
  color: var(--gray-0);
  background: var(--gray-9);
  font-size: 1rem;
  text-align: right;
  border-radius: 100vh;
  display: inline-block;
  pointer-events: auto;
}
.step__item-link--readmore:hover {
  color: var(--gray-0);
  opacity: 0.6;
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  .step__item-link--readmore {
    padding: 0.125rem 0.75rem 0.1875rem 2.5rem;
    font-size: 0.875rem;
  }
}
@media screen and (max-width: 480px) {
  .step__item-link--readmore {
    padding: 2px 6px 3px 30px;
    font-size: 0.75rem;
  }
}
.step__h3 {
  margin-bottom: 0;
  font-family: Zen Antique;
  font-size: 1.9375rem;
}
@media screen and (max-width: 768px) {
  .step__h3 {
    font-size: 1rem;
  }
}
.step__caption {
  margin: 0;
  margin-left: 0.125rem;
  font-size: 1.125rem;
}
@media screen and (max-width: 768px) {
  .step__caption {
    font-size: 0.75rem;
  }
}
.step__box {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.step__box--left {
  flex-direction: row;
}
.step__box--right {
  flex-direction: row-reverse;
}
.step__box--right .step__img-box {
  margin-right: 0;
}
@media screen and (max-width: 768px) {
  .step__box {
    justify-content: space-between;
  }
  .step__box--right {
    flex-direction: row;
  }
  .step__box--right .step__img-box {
    margin-right: 2.9%;
  }
}
.step__img-box {
  position: relative;
  width: 32%;
  margin-right: 2.9%;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .step__img-box {
    width: 44.87%;
    margin-right: 2.9%;
  }
}
.step__desc-box {
  position: relative;
  width: 33%;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .step__desc-box {
    width: auto;
    margin: 0 0.75rem;
    flex: 1;
  }
}
.step__natto {
  position: relative;
  width: 60%;
  height: 2.125rem;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .step__natto {
    width: 13.84%;
    margin-left: 15%;
  }
}
.step__natto-img {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
}
.step__video-box {
  width: 90%;
  margin: 2rem auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.video__box--step {
  width: calc(50% - 1rem);
}
@media screen and (max-width: 768px) {
  .video__box--step {
    width: 100%;
  }
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}