.method-bg {
  position: relative;
  width: 100%;
}

.method-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  pointer-events: none;
  z-index: 0;
}

.method {
  position: relative;
  width: 100%;
  padding: 4rem 0;
}

.method-outer {
  position: relative;
  width: 90%;
  padding: 3rem;
  margin: 0 auto 2rem;
  background-color: #fff;
  z-index: 4;
}

.method-outer:last-child {
  margin: 0 auto;
}

.method-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.method-hagaki {
  width: 40%;
  margin: 0 5% 0 0;
}

.method-txt {
  width: 55%;
}

.method p {
  font-size: 14px;
  font-weight: 500;
}

.method-h {
  padding: 1.5em 0 0.3em;
  margin: 0 0 1em;
  font-size: 14px;
  font-weight: 600;
  color: #ea1174;
  border-bottom: #ea1174 solid 1px;
}

.method-note p {
  font-size: 12px;
  font-weight: 400;
  text-indent: -1em;
  padding-left: 1em;
}

.method-web-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.method-web-num {
  width: 8%;
  margin: 0 2% 1.5rem 0;
}

.method-web-txt {
  width: 90%;
  margin: 0 0 1.5rem 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  transform: translateY(-0.1em);
}

.method-web-btn {
  width: 100%;
  margin: 0 0 1.5rem 10%;
}

.method-web-btn img {
  width: 35%;
  filter: drop-shadow(4px 4px 0 #fccf00);
  transition: all 0.2s;
}

.method-web-inner p {
  width: 100%;
  margin: 0 0 0;
  font-size: 18px;
  font-weight: 600;
}

@media screen and (min-width: 1px) and (max-width: 743px) {
  .method {
    padding: 2rem 0;
  }

  .method-outer {
    width: 100%;
    padding: 1.5rem;
    margin: 0 auto 1.5rem;
  }

  .method-inner {
    flex-wrap: wrap;
  }

  .method-hagaki {
    width: 100%;
    margin: 0 auto 1.5rem;
  }

  .method-txt {
    width: 100%;
  }

  .method p {
    font-size: 12px;
  }

  .method-h {
    font-size: 14px;
  }

  .method-note p {
    font-size: 10px;
  }

  .method-web-inner {
    align-items: flex-start;
  }

  .method-web-num {
    width: 15%;
    margin: 0 0 1.5rem 0;
  }

  .method-web-txt {
    width: 80%;
    margin: 0 0 1rem 0;
    font-size: 16px;
    transform: translateY(-0.1em);
  }

  .method-web-btn {
    width: 100%;
    margin: 0 0 1.5rem 20%;
  }

  .method-web-btn img {
    width: 100%;
  }

  .method-web-inner p {
    font-size: 16px;
  }
}

@media screen and (min-width: 744px) and (max-width: 1024px) {
  .method {
    padding: 2rem 0;
  }

  .method-outer {
    width: 100%;
    padding: 2rem;
  }

  .method-inner {
    flex-wrap: wrap;
  }

  .method-hagaki {
    width: 60%;
    margin: 0 auto 1.5rem;
  }

  .method-txt {
    width: 100%;
  }

  .method p {
    font-size: 1.823vw;
    /* 14px → 1.823vw */
  }

  .method-h {
    font-size: 1.823vw;
    /* 14px → 1.823vw */
  }

  .method-note p {
    font-size: 1.563vw;
    /* 12px → 1.563vw */
  }

  .method-web-num {
    width: 10%;
    margin: 0 3% 1.5rem 0;
  }

  .method-web-txt {
    width: 87%;
    margin: 0 0 1rem 0;
    font-size: 2.344vw;
    /* 18px → 2.344vw */
  }

  .method-web-btn {
    width: 100%;
    margin: 0 0 1rem 13%;
  }

  .method-web-btn img {
    width: 40%;
  }

  .method-web-inner p {
    font-size: 2.083vw;
    /* 16px → 2.083vw */
  }
}

@media screen and (min-width: 1025px) {
  .method-web-btn img:hover {
    transform: translate(4px, 4px);
    filter: drop-shadow(4px 4px 0 transparent);
  }
}