.section-title {
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  height: 4px;
  width: 100px;
  background-color: #ff7200;
  left: 50%;
  bottom: -4px;
  transform: translate(-50%, 0);
}

.section-hero {
  position: relative;
  display: flex;
  max-height: 600px;

  @media (max-width: 768px) {
    min-height: 400px;
  }

  .hero__bg {
    width: 100%;
    object-fit: cover;
  }

  .catch-pharase {
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%);
    padding: 40px 80px;
    color: #fff;
    font-size: 48px;
    font-weight: 900;
    line-height: 2em;
    text-align: center;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    @media (max-width: 768px) {
      padding: 0 24px;
      font-size: 36px;
      min-width: unset;
      word-break: keep-all;
      width: 100%;
      background: rgba(0, 0, 0, 0.4);
    }

    .company {
      @media (max-width: 768px) {
        font-size: 24px;
      }
    }

    .subject {
      font-size: 20px;
      line-height: 1.8em;

      @media (max-width: 768px) {
        font-size: 16px;
        font-weight: 500;
      }
    }
  }
}

.section-brand {
  .brand-logo {
    margin-bottom: 30px;
    max-width: 250px;

    @media (max-width: 768px) {
      max-width: 160px;
      margin-bottom: 10px;
    }
  }

  .area-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .product {
    padding: 24px 0;
  }

  .brand-summary {
    margin-bottom: 30px;
  }

  .product-category {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .product-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;

    @media (max-width: 768px) {
      grid-template-columns: 1fr 1fr;
    }
  }

  .product-card {
    display: grid;
    grid-template-rows: auto auto 1fr auto; /* 이미지, 이름, 설명, 버튼 순서 */
    gap: 10px;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
  }

  .product-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
  }

  .product-name {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
  }

  .product-info {
    font-size: 14px;
    color: #555;
    line-height: 1.6em;
  }

  .product-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #ff6000;
    color: #fff;
    text-decoration: none;
    text-align: center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    width: 100%;
  }

  .product-card a:hover {
    background-color: #ff6000;
  }

  .product-area {
    position: relative;
    overflow: hidden;
    height: 400px; /* 원하는 높이로 조절 */

    @media (max-width: 768px) {
      height: 200px; /* 원하는 높이 */
    }
  }

  .product-area::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
  }

  .product-area:not(:first-child) {
    margin-top: 40px;
  }

  .product-area .area-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100%;
    background-size: cover;
    background-position: center;
    transform: translateY(0);
    will-change: transform;
    object-fit: cover;
  }

  .product-area .product-area-title {
    font-size: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 600;
    color: #fff;
    z-index: 2;
    line-height: 1.2em;
  }

  .parallax-area {
    /* background-attachment: fixed; */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px; /* 원하는 높이 */
    will-change: background-position;

    @media (max-width: 768px) {
      height: 200px; /* 원하는 높이 */
    }
  }
}

.wpcf7-not-valid-tip {
  display: block !important;
  color: red;
  font-size: 14px;
  margin-top: 8px;
}

.link-to-company {
  text-align: right;

  a {
    color: #f49f16;
  }
}

.section-caution {
  background-image: url(../images/caution.png);
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.5);
  background-blend-mode: darken;
  color: #fff;
  line-height: 180%;
  min-height: 568px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  background-position: center;

  @media (max-width: 768px) {
    font-size: 16px;
  }

  .accent {
    color: #e6180c;
    font-size: 20px;
  }
}

.section-merit {
  .merit-list {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 84px;
    gap: 40px;

    @media (max-width: 768px) {
      flex-wrap: wrap;
      justify-content: center;
    }

    .item-img {
      margin-bottom: 20px;
    }

    .merit-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;

      @media (max-width: 768px) {
        width: 40%;
      }
    }

    .item-title {
      font-weight: 600;
      font-size: 20px;
    }
  }
}

.section-faq {
  display: none;
  background-color: #efefef;
  .section-container {
    padding-inline: 80px;

    @media (max-width: 768px) {
      padding-inline: 20px;
    }
  }

  .faq-list {
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    background-color: #fff;

    @media (max-width: 768px) {
      padding: 20px 8px;
    }
  }

  .faq-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #bebebe;
    font-size: 20px;
    padding: 24px 0;
    text-wrap: pretty;
    text-align: justify;

    @media (max-width: 768px) {
      font-size: 16px;
      padding: 24px 12px;
    }

    .faq-q {
      font-weight: 600;
      margin-bottom: 8px;
    }
  }

  .faq-item:last-child {
    border-bottom: 0;
  }
}

.section-contact {
  background-color: #ff7200;
  .section-title {
    color: #fff;
  }

  .section-container {
    padding-inline: 200px;

    @media (max-width: 768px) {
      padding-inline: 20px;
    }
  }

  .form-wrapper {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 50px;
    font-size: 18px;

    @media (max-width: 768px) {
      font-size: 16px;
      padding: 50px 20px;
    }
  }
  #wpcf7-f12-o1 {
    .message {
      margin-bottom: 30px;
    }

    .preference:not(:last-child) {
      margin-bottom: 24px;
    }

    label {
      font-weight: 600;
      margin-bottom: 4px;
    }

    input[type='text'],
    input[type='email'],
    textarea {
      padding: 8px;
      width: 100%;
    }

    .wpcf7-list-item {
      margin-left: 0 !important;
      margin-right: 1em;
    }

    .about-privacy {
      background-color: #efefef;
      padding: 20px;
    }

    .about-privacy li {
      display: flex;
    }

    .about-privacy li::before {
      content: '-';
      margin-right: 0.5em;
    }

    .submit {
      text-align: center;
    }

    .wpcf7-submit {
      font-size: 20px;
      font-weight: 600;
      padding: 12px 32px;
      min-width: 300px;
      margin: 0 auto;
      border-radius: 30px;
      border: 0;
      color: #fff;
      background-color: #215fff;
      cursor: pointer;

      @media (max-width: 768px) {
        min-width: 100%;
      }
    }

    .wpcf7-submit:hover {
      background-color: #1050f1;
    }
  }
}

.partner-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 80px;
  gap: 20px;

  li {
    width: calc(calc(100% - 60px) / 4);

    @media (max-width: 768px) {
      width: calc(calc(100% - 20px) / 2);
    }
  }
}
