* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html,
body {
  overscroll-behavior: none;
  overscroll-behavior-y: none;
}

html #wpadminbar {
  top: 0;
}

.pc-none {
  display: none;
  @media (max-width: 782px) {
    display: block;
  }
}

.sp-none {
  display: block;
  @media (max-width: 782px) {
    display: none;
  }
}

@media (max-width: 782px) {
  html #wpadminbar {
    top: -46px;
  }
}

.youtube-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 9 / 16 = 0.5625 → 56.25% */
  height: 0;
  overflow: hidden;
}

.youtube-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

:root {
  --max-content-width: 1152px;
  --content-gutter: 24px;
}

.main {
  position: relative;
}

/* 헤더 */
.header {
  position: sticky;
  top: 0;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 100000;
  overflow: visible;

  .header-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-content-width);
    padding: 0 var(--content-gutter);
    margin: 0 auto;
    z-index: 1;

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

    .header-right {
      display: flex;
      flex-direction: column;
    }

    .header-main-nav {
      display: block;
      @media (max-width: 768px) {
        display: none;
      }
    }

    .main-nav-list {
      display: flex;
      justify-content: space-around;
      gap: 0 24px;

      a {
        text-decoration: none;
        color: #000;
        font-weight: 600;
      }

      a:hover {
      }
    }
  }

  .site__logo {
    height: 70px;
    padding: 10px 0;
    background-color: #fff;

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

  .btn-contact {
    padding: 12px 32px;
    border: 1px solid #e6180c;
    background-color: #e6180c;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    z-index: -1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.3em;

    @media (max-width: 768px) {
      padding: 12px;
      font-size: 14px;
      width: 100px;
      height: 60px;
      border-radius: 0;
    }
  }

  .btn-contact:hover {
    background-color: #ea2937;
  }
}

.section-container {
  max-width: var(--max-content-width);
  padding: 100px var(--content-gutter);
  margin: 0 auto;
  line-height: 1.8em;

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

.section-title {
  font-size: 40px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  line-height: 2em;
  word-break: keep-all;

  @media (max-width: 768px) {
    font-size: 28px;
    line-height: 1.5em;
  }
}

.section-subtitle {
  text-align: center;
  margin-bottom: 40px;
  font-size: 24px;
  color: #f49f16;
  word-break: keep-all;

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

.btn-contact-wrapper {
  margin: 40px auto 0;
  text-align: center;
  .btn-contact {
    padding: 12px 32px;
    border: 1px solid #e6180c;
    background-color: #e6180c;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 40px;
  }

  .btn-contact:hover {
    background-color: #ea2937;
  }
}

.wow.animate__animated {
  opacity: 1 !important;
}

.animate__delay-0_2s {
  animation-delay: 0.2s !important;
}
.animate__delay-0_4s {
  animation-delay: 0.4s !important;
}
.animate__delay-0_6s {
  animation-delay: 0.6s !important;
}
.animate__delay-0_8s {
  animation-delay: 0.8s !important;
}

.footer {
  .footer1 {
    background-color: #eee;

    .section-container {
      padding: 40px 24px 32px;
    }
  }

  .footer2 {
    background-color: #000;
    color: #fff;
    .section-container {
      padding: 8px 24px;
      text-align: center;
    }
  }

  .sns-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    @media (max-width: 768px) {
      margin-left: 20px;
    }

    .sns-list__icon-instagram {
      width: 24px;
    }

    .sns-list__icon-x {
      width: 20px;
    }

    .sns-list__icon-youtube {
      width: 30px;
    }
  }

  a {
    color: #fff;
    text-decoration: none;
  }
}

.btn-sp-menu {
  cursor: pointer;
  display: none;

  @media (max-width: 768px) {
    display: block;
  }
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 20px;
}

.hamburger span {
  display: block;
  height: 1px;
  background-color: #333;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: block;
  position: absolute;
  top: 72px;
  right: 0;
  background-color: #fff;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  visibility: hidden;
  height: 0;
  opacity: 0;
  padding: 24px;
}

.mobile-menu.open {
  display: block;
  transform: translateY(0);
  visibility: visible;
  opacity: 1;
  transition: all 0.3s ease;
  height: calc(100svh - 72px);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -5px);
}

.mobile-menu ul {
  font-size: 20px;
  text-align: center;

  li {
    padding: 8px 0 16px;

    a {
      text-decoration: none;
      color: #000;
      font-weight: 600;
    }
  }
}
