.pdp-section * {
  box-sizing: border-box !important;
}

.pc-only {
  display: block !important;
}

.mo-only {
  display: none !important;
}

.pdp-section {
  /* layout */
  --max-w: 1900px;
  --min-w: 1400px;
  --w-content: 1200px;

  /* color */
  --c-white: #ffffff;
  --c-black: #333333;
  --c-orange: #f47822;
  --c-orange-title: #e75a1e;
  --c-highlight: #fce0cc;
  --line-border: #929292;

  /* spacing */
  --space-1: 1px;
  --space-30: 30px;
  --space-40: 40px;
  --space-100: 100px;

  /* px */
  --px-1: 1px;
  --px-4: 4px;

  /* font-weight */
  --font-thin: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi: 600;
  --font-bold: 700;
  --font-extra: 800;

  max-width: var(--max-w);
  min-width: var(--min-w);
  margin: 0 auto;

  font-family: "Pretendard";
  font-size: var(--fs-base);
  font-weight: var(--font-regular);

  color: var(--c-black);
  background: var(--c-white);

  .tit-box {
    text-align: center;

    p {
      margin-top: var(--space-30);
      font-size: var(--fs-20);
      line-height: var(--lh-31);
    }
  }

  .grid-box {
    text-align: center;
  }

  &.pdp-section-main {
    .contents-box {
      .contents {
        &.contents1 {
          .tit-box {
            max-width: var(--w-content);
            margin: 320px auto 0;
            text-align: center;

            h2 {
              margin-top: 30px;
              font-size: 85px;
              line-height: 102px;
              font-weight: var(--font-extra);
            }

            p {
              display: flex;
              align-items: center;
              gap: 10px;
              font-size: 60px;
              line-height: 90px;
              font-weight: var(--font-extra);

              span {
                font-size: 45px;
                font-weight: var(--font-semi);
              }
            }
          }
        }
      }
    }
  }

  &.pdp-section-kit {
    .contents-box {
      .contents {
        &.contents1 {
          margin-top: 120px;
          padding: 0 0 var(--space-100);

          .grid-box {
            max-width: var(--w-content);
            margin: 0 auto;

            .grid.top-grid {
              display: grid;
              grid-template-columns: repeat(2, 1fr);
              border-top: var(--px-4) solid var(--line-border);
              border-bottom: var(--px-4) solid var(--line-border);

              .grid-item {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: space-between;
                padding: 70px 0 20px;
                text-align: center;

                & + .grid-item {
                  border-left: var(--px-1) solid var(--line-border);
                }

                .img {
                  width: 100%;
                  min-height: 400px;
                  display: flex;
                  align-items: center;
                  justify-content: center;

                  img {
                    display: block;
                    max-width: 100%;
                    height: auto;
                    margin: 0 auto;
                  }
                }

                h5 {
                  width: 100%;
                  margin-top: 40px;
                  padding-top: 20px;
                  border-top: var(--px-1) solid var(--line-border);
                  font-size: 50px;
                  line-height: 70px;
                  font-weight: var(--font-bold);
                }
              }
            }
          }
        }
      }
    }
  }

  &.pdp-section-step {
    .contents-box {
      .contents {
        &.contents1 {
          padding: 160px 0 0;

          .tit-box {
            h3 {
              margin: 0;
              color: var(--c-orange-title);
              font-size: 70px;
              line-height: 85px;
              font-weight: var(--font-bold);
            }
          }

          .grid-box {
            max-width: var(--w-content);
            margin: 80px auto 0;

            .grid.step-grid {
              .grid-item {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 80px;
                align-items: center;
                text-align: left;

                & + .grid-item {
                  margin-top: 60px;
                }

                &.is-tight {
                  margin-top: 10px;
                }

                .img {
                  overflow: hidden;
                  border-radius: 25px;

                  img {
                    display: block;
                    width: 100%;
                    height: auto;
                  }
                }

                .text-box {
                  h5 {
                    display: flex;
                    align-items: center;
                    gap: 16px;
                    margin: 0;
                    font-size: 45px;
                    line-height: 55px;
                    font-weight: var(--font-bold);

                    .number {
                      display: inline-flex;
                      align-items: center;
                      justify-content: center;
                      flex-shrink: 0;
                      width: 55px;
                      height: 55px;
                      border-radius: 50%;
                      background: var(--c-orange);
                      color: var(--c-white);
                      font-size: 45px;
                      line-height: 1;
                      font-weight: var(--font-medium);
                    }
                  }

                  p {
                    margin-top: 20px;
                    font-size: 35px;
                    line-height: 55px;
                    font-weight: var(--font-medium);
                  }

                  p.highlight {
                    margin-top: 10px;

                    span {
                      display: inline;
                      padding: 3px 8px;
                      background: var(--c-highlight);
                      box-decoration-break: clone;
                      -webkit-box-decoration-break: clone;
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }

  &.pdp-section-notice {
    .contents-box {
      .contents {
        &.contents1 {
          margin: 210px 0 100px;

          .notice-box {
            position: relative;
            max-width: var(--w-content);
            margin: 0 auto;
            padding: 60px 0px 50px;
            border: var(--px-1) solid #d7d6d4;
            text-align: center;

            h3 {
              position: absolute;
              top: 0;
              left: 50%;
              transform: translate(-50%, -50%);
              margin: 0;
              padding: 0 24px;
              background: var(--c-white);
              font-size: 45px;
              line-height: 62px;
              font-weight: var(--font-bold);
              white-space: nowrap;
            }

            p {
              margin: 0;
              font-size: 35px;
              line-height: 55px;
              font-weight: var(--font-medium);
            }
          }
        }
      }
    }
  }
}

/* ========== 반응형 ≤1024 ========== */
@media screen and (max-width: 1024px) {
  .pc-only {
    display: none !important;
  }

  .mo-only {
    display: block !important;
  }

  .pdp-section {
    --space-1: 0.1333vw;
    --space-30: 4vw;
    --space-40: 5.3333vw;
    --space-100: 13.3333vw;

    --fs-base: 2.8vw;
    --fs-20: 4.4vw;
    --fs-30: 4vw;

    --lh-31: 4.4vw;
    --lh-44: 6vw;
    --lh-text-p2: 6vw;

    /* px */
    --px-1: 0.1333vw;
    --px-4: 0.5333vw;

    min-width: 100%;
    max-width: 100%;
    overflow: hidden;

    .tit-box {
      margin: auto;
    }

    &.pdp-section-main {
      .contents-section {
        .contents-box {
          .contents {
            &.contents1 {
              .tit-box {
                width: calc(100% - 13.3333vw);
                margin: 0 auto;
                h2 {
                  margin-top: 2.6667vw;
                  font-size: 9.3333vw;
                  line-height: 11.0667vw;
                }
                p {
                  margin-top: 16vw;
                  font-size: 6.4vw;
                  line-height: 8vw;
                  span {
                    font-size: 4.8vw;
                  }
                }
              }
            }
          }
        }
      }
    }

    &.pdp-section-kit {
      .contents-section {
        .contents-box {
          .contents {
            &.contents1 {
              margin-top: 10vw;

              .grid-box {
                max-width: calc(100% - 13.3333vw);
                margin: 0 auto;

                .grid.top-grid {
                  display: grid;
                  grid-template-columns: repeat(2, 1fr);
                  border-top: max(2px, 0.5333vw) solid var(--line-border);
                  border-bottom: max(2px, 0.5333vw) solid var(--line-border);

                  .grid-item {
                    padding: 8vw 0 2.6667vw;
                    justify-content: flex-start;

                    & + .grid-item {
                      border-left: var(--px-1) solid var(--line-border);
                    }

                    .img {
                      flex: 1;
                      width: 100%;
                      min-height: 0;
                      display: flex;
                      align-items: center;
                      justify-content: center;

                      img {
                        display: block;
                        height: auto;
                        margin: 0 auto;
                      }
                    }

                    &:nth-child(1) .img img {
                      width: 30.9333vw;
                    }

                    &:nth-child(2) .img img {
                      width: 41.7333vw;
                    }

                    h5 {
                      margin-top: 4vw;
                      padding-top: 2.6667vw;
                      font-size: 4.5333vw;
                      line-height: 6.1333vw;
                    }
                  }
                }
              }
            }
          }
        }
      }
    }

    &.pdp-section-step {
      .contents-section {
        .contents-box {
          .contents {
            &.contents1 {
              padding: 13.3333vw 0 0;

              .tit-box {
                width: calc(100% - 13.3333vw);
                margin: 0 auto;

                h3 {
                  font-size: 8vw;
                  line-height: 10vw;
                }
              }

              .grid-box {
                max-width: calc(100% - 13.3333vw);
                margin: 8vw auto 0;

                .grid.step-grid {
                  .grid-item {
                    display: flex;
                    flex-direction: column-reverse;
                    gap: 5.3333vw;

                    & + .grid-item {
                      margin-top: 10.6667vw;
                    }

                    &.is-tight {
                      margin-top: 10.6667vw;
                    }

                    .img {
                      border-radius: 3.3333vw;
                    }

                    .text-box {
                      h5 {
                        justify-content: center;
                        gap: 2.1333vw;
                        font-size: 4.4vw;
                        line-height: 6vw;

                        .number {
                          width: 5.6vw;
                          height: 5.6vw;
                          font-size: 4.6667vw;
                        }
                      }

                      p {
                        margin-top: 2.6667vw;
                        font-size: 3.6vw;
                        line-height: 5.3333vw;
                        text-align: center;
                      }

                      p.highlight {
                        margin-top: 4vw;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        gap: 0.6667vw;

                        br {
                          display: none;
                        }

                        span {
                          padding: 0.5333vw 1.0667vw;
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }

    &.pdp-section-notice {
      .contents-section {
        .contents-box {
          .contents {
            &.contents1 {
              margin: 26.6667vw 0 9.3333vw;

              .notice-box {
                max-width: calc(100% - 13.3333vw);
                padding: 9.3333vw 5.3333vw 8vw;

                h3 {
                  padding: 0 3.2vw;
                  font-size: 5.3333vw;
                  line-height: 8.2667vw;
                }

                p {
                  font-size: 3.6vw;
                  line-height: 5.3333vw;
                }
              }
            }
          }
        }
      }
    }
  }
}
