.method__layout {
  display: grid;
  gap: 30px;
  margin-top: 28px;
}

.method--flip .method__script {
  bottom: -9px;
  right: -7px;
  width: min(125px, 72%);
}

.treatment .page-points__banner {
  border: 1px solid #9ddfd8;
}

.method__visual {
  align-items: center;
  background: linear-gradient(180deg, #f6f8ef 0%, #def0e4 100%);
  border-radius: 40px 12px 40px 12px;
  display: flex;
  justify-content: center;
  min-height: 260px;
  padding: 36px 20px 56px;
  position: relative;
}

.method__photo {
  -o-object-fit: contain;
     object-fit: contain;
  width: min(100%, 420px);
}

.method__script {
  bottom: -27px;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  position: absolute;
  right: -20px;
  width: min(250px, 72%);
}

.method__title {
  color: #345551;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.method__text {
  color: #53645f;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.92;
  margin-top: 16px;
  max-width: 575px;
}

.method__caution {
  color: #6b776a;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24px;
  line-height: 24px;
  margin-top: 30px;
}

.method-note {
  background-color: #ffffff;
  border-radius: 20px;
  margin-top: 30px;
  padding: 20px 18px;
}
.method-note h1, .method-note h2, .method-note h3, .method-note h4, .method-note h5, .method-note h6 {
  align-items: center;
  color: #345551;
  display: flex;
  font-size: 16px;
  font-weight: 700;
  gap: 15px;
  line-height: 1.4;
}
.method-note h1::before, .method-note h2::before, .method-note h3::before, .method-note h4::before, .method-note h5::before, .method-note h6::before {
  background-color: #38b8a9;
  border-radius: 50%;
  content: "";
  flex-shrink: 0;
  height: 7px;
  width: 7px;
}
.method-note p {
  color: #53645f;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
  margin-top: 10px;
}

.fee-panel {
  background-color: #ffffff;
  border: 1px solid #9ddfd8;
  border-radius: 20px;
  margin-top: 40px;
  padding: 24px 20px 20px;
}
.fee-panel h1,
.fee-panel h2,
.fee-panel h3,
.fee-panel h4,
.fee-panel h5,
.fee-panel h6 {
  color: #53645f;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.4px;
  line-height: 1.8;
}

.fee-panel__grid {
  display: grid;
  margin-top: 18px;
}

.fee-panel__item {
  align-items: center;
  border-top: 1px solid rgba(12, 145, 147, 0.16);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 20px 0;
}
.fee-panel__item p:first-child {
  color: #53645f;
  font-size: 14px;
  font-weight: 500;
}
.fee-panel__item p:last-child {
  color: #53645f;
  font-size: 14px;
  font-weight: 500;
  text-align: right;
}
.fee-panel__item:nth-child(even) {
  border-bottom: 1px solid rgba(12, 145, 147, 0.16);
}

.fee-panel__note {
  color: #6b776a;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24px;
  line-height: 1.8;
  margin-top: 30px;
}

.method-btn {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.consider {
  background: linear-gradient(180deg, #38b8a9 -10.16%, #35b9a9 -10.15%, #9ddfd8 -3.06%, #9ddfd8 34.95%, #fff 90.7%);
  background-repeat: no-repeat;
  background-size: 100% 90%;
  border-radius: 40px 40px 0 0;
  overflow: hidden;
  padding-inline: 20px;
  padding-top: 64px;
}
.consider .page-head h2,
.consider .page-head__en {
  color: #0c9193;
}
.consider .page-head__line {
  background-color: #fff;
}

.consider__grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding-bottom: 40px;
}

.consider__card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 28px 24px;
}
.consider__card h1,
.consider__card h2,
.consider__card h3,
.consider__card h4,
.consider__card h5,
.consider__card h6 {
  color: #267b72;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.525px;
  line-height: 1.5;
}
.consider__card p {
  color: #53645f;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
  margin-top: 12px;
}
@media (width >= 768px) {
  .fee-panel__grid {
    -moz-column-gap: 20px;
         column-gap: 20px;
    gap: 8px 40px;
    grid-template-columns: 1fr 1fr;
    margin-top: 31px;
  }
  .fee-panel__item {
    border-bottom: 1px solid rgba(12, 145, 147, 0.16);
  }
  .consider__grid {
    gap: 20px;
    grid-template-columns: 1fr 1fr;
    margin-top: 60px;
    padding-bottom: 67px;
  }
}
@media (width >= 1024px) {
  .method__layout {
    align-items: start;
    gap: 48px;
    grid-template-columns: minmax(0, 479px) minmax(0, 1fr);
    margin-top: 40px;
  }
  .method--flip .method__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 479px);
  }
  .method--flip .method__layout .method__visual {
    order: 2;
  }
  .method__title {
    font-size: 25px;
    line-height: 51px;
  }
  .method__text {
    font-size: 16px;
    margin-top: 25px;
  }
  .method-note {
    min-height: 133px;
    padding: 24px 28px;
  }
  .method-note h1, .method-note h2, .method-note h3, .method-note h4, .method-note h5, .method-note h6 {
    font-size: 20px;
  }
  .fee-panel {
    margin-top: 78px;
    min-height: 280px;
    padding: 40px 40px 24px;
  }
  .fee-panel__grid {
    -moz-column-gap: 50px;
         column-gap: 50px;
  }
  .fee-panel__item {
    padding: 30px 5px 30px 0;
  }
  .fee-panel__note {
    margin-top: 50px;
  }
  .method-btn {
    margin-top: 60px;
  }
  .consider {
    background-size: 100% 947px;
    margin-top: -40px;
    padding-top: 96px;
  }
  .consider__grid {
    gap: 25px 18px;
  }
  .consider__card {
    min-height: 178px;
    padding: 34px 28px 30px;
  }
  .consider__card h1,
  .consider__card h2,
  .consider__card h3,
  .consider__card h4,
  .consider__card h5,
  .consider__card h6 {
    font-size: 21px;
  }
  .consider__card p {
    font-size: 15px;
    line-height: 31px;
    margin-top: 20px;
  }
}
@media (width >= 1366px) {
  .method__layout {
    gap: 92px;
    margin-top: 73px;
  }
  .method__visual {
    border-radius: 80px 20px 80px 20px;
    height: 370px;
    min-height: 370px;
    padding: 87px 27px 53px;
    width: 479px;
  }
  .method__caution {
    margin-top: 34px;
    max-width: 561px;
  }
  .consider {
    padding-top: 130px;
  }
}