* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  background-color: #ffffff;
  height: auto;
}

.topbar {
    background-color: #222;
    color: #fff;
    font-size: 12px;
    padding: 12px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #fccc08;
}

.topbar-mo {
    background-color: #222;
    color: #fff;
    font-size: 12px;
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #fccc08;
    display: none;
}

.topbar-mo span {
    color: #fccc08;
    font-weight: bold;
    margin-right: 12px;
  }

.topbar span {
    color: #fccc08;
    font-weight: bold;
    margin-right: 12px;
  }

.topbar a {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}

.topbar img {
    width: 14px;
    height: 14px;
    fill: #ccc;
    margin-bottom: 3px;
}

header {
  background-color: #ffd530;
  width: 100%;
  padding: 30px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-mo{
    display: none;
}

.icon-img {
    width: 32px;
    object-fit: contain;
  }

.logo {
  height: 40px;
  object-fit: contain;
  display: flex;
  align-items: center;
  margin-right: 45px;
}

.logo img {
  width: 100%;
}

nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-right: auto;
}
nav a {
  font-size: 20px;
  color: #373737;
  text-decoration: none;
  font-weight: bold;
}
nav span{
    color: #163e85;
    font-weight: bold;
}

/* 브레드크럼 섹션 */
.breadcrumb-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* 노란색 상단 라인 */
.yellow-top-line {
    width: 100%;
    height: 8px;
    background-color: #ffd530;
 }

  /* 검정 배경 콘텐츠 영역 */
.breadcrumb-content {
    position: relative;
    width: 96%;
    height: 380px;
    background-color: #222222;
    border-bottom-right-radius: 100px;
    overflow: hidden;
}

.breadcrumb-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
 }
 .breadcrumb-image-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.breadcrumb-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  width: 100%;
  z-index: 2;
}

.breadcrumb-nav {
  font-size: 21px;
  margin-bottom: 20px;
  color: white;
  font-weight: 300;
}

.breadcrumb-nav span {
  color: white;
}

.page-title {
  font-size: 65px;
  font-weight: 600;
  color: white;
  margin: 0;
  letter-spacing: 1px;
}

.menu-toggle a{
  display: flex;
  align-items: center;
  font-weight: bold;
  gap: 10px;
  font-size: 14px;
  color: #373737;
}

.menu-toggle img{
 width:16px;
 margin-bottom: 2px;
}

.social-icons {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #222222;
  padding: 0.8rem;
}

.social-icons a {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons img{
    width: 18px;
}
            
/* 컨텐츠 섹션 */
.content-section {
  background: white;
  padding: 80px 0;
}

.container {
  max-width: 1820px;
  margin: 0 auto;
  padding: 0 30px;
}

/* 회원약관 스타일 */
.terms-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.terms-section {
    background: #ffffff;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 30px;
}

.terms-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.terms-content {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    height: 200px;
    overflow-y: auto;
    line-height: 1.6;
    color: #555;
    font-size: 14px;
}

.terms-content h4 {
    font-weight: 600;
    margin: 15px 0 10px 0;
    color: #333;
}

.terms-content p {
    margin-bottom: 10px;
}

.terms-agreement {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.terms-agreement input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ffd530;
}

.terms-agreement label {
    font-size: 16px;
    color: #333;
    cursor: pointer;
}

.submit-section {
    text-align: center;
    margin-top: 50px;
}

.submit-btn {
    background-color: #ffd530;
    color: #333;
    border: none;
    padding: 15px 50px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #ffcc00;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    transform: none;
}

/* 사이드 메뉴 스타일 */
.side-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background-color: #ffd530;
  z-index: 1000;
  transition: right 0.3s ease-in-out;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.side-menu.active {
  right: 0;
}

.side-menu-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 20px;
  background-color: #ffd530;
}

.close-btn {
  cursor: pointer;
}

.close-btn img {
  width: 24px;
  height: 24px;
}

.side-nav {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.side-nav a {
  font-size: 18px;
  color: #373737;
  text-decoration: none;
  font-weight: bold;
  padding: 15px 0;
  border-bottom: 1px solid #373737;
}

.side-nav a:last-child {
  border-bottom: none;
}

.side-nav a span {
  color: #163e85;
  font-weight: bold;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.overlay.active {
  display: block;
}

/* 푸터 */ 
footer {
          position: relative;
          bottom: 0;
          left: 0;
          width: 100%;
          background: #222;
          color: #999;
          display: flex;
          justify-content: space-between;
          align-items: flex-start;
          padding: 30px 50px;
          font-size: 12px;
          line-height: 20px;
          z-index: 10;
          border-top-right-radius: 50px;
          }

  .footer-content {
          width: 100%;
          display: flex;
          justify-content: space-between;
          align-items: flex-start;
       }
       
  .footer-left {
         display: flex;
         flex-direction: column;
         width: 100%;
       }

  .footer-left .footwe-top {
         margin-bottom: 14px;
         display: flex;
         justify-content: space-between;
         align-items: center;
         width: 100%;
       }

  .footer-left .footwe-top .left {
         display: flex;
         align-items: center;
       }

  .footer-left .footwe-top .left a {
         margin-right: 14px;
         font-size: 14px;
         color: #fff;
         text-decoration: none;
       }

  .footer-left .footwe-top .right a {
         color: #797979;
         text-decoration: none;
         display: flex;
         align-items: center;
         gap: 5px;
       }

  .footer-left .footwe-top .right span {
         font-size: 14px;
         color: #797979;
       }
       
  .footer-left a:hover {
         text-decoration: underline;
       }

@media screen and (max-width: 680px) {
    .topbar-mo{
        display: block;
    }
    .topbar{
        display:none;
    }
    
    header{
        display:none;
    }
    
    .header-mo {
        background-color: #ffd530;
        width: 100%;
        padding: 30px 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .breadcrumb-content {
      position: relative;
      width: 100%;
      height: 380px;
      background-color: #222222;
      overflow: hidden;
  }

    .logo {
        margin: 0 auto;
    }

    .social-icons{
    display: none;
    }
    
    .breadcrumb-overlay {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      color: white;
      width: 100%;
      z-index: 2;
    }

    .breadcrumb-nav {
      font-size: 19px;
      margin-bottom: 20px;
      color: white;
      font-weight: 300;
    }

    .breadcrumb-nav span {
      color: white;
    }

    .page-title {
      font-size: 40px;
      font-weight: 600;
      color: white;
      margin: 0;
      letter-spacing: 1px;
    }

    .terms-section {
        padding: 25px 20px;
    }

    .terms-title {
        font-size: 24px;
    }

    .terms-content {
        padding: 20px;
        font-size: 13px;
    }

    footer {
        padding: 30px 30px;
    }
}