/* 초기화 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 공통 */
body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #000;
}

.logo {
  text-align: center;
}

.logo img {
  height: 20px;
}

.menu-toggle img {
  height: 20px;
  width: 20px;
}

header {
  background-color: #ff0000;
  position: relative;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav {
  display: block;
  flex-direction: column;
  background-color: #fff;
  text-align: left;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.nav.show {
  opacity: 1;
  visibility: visible;
}
.scroll-to-top {
  position: fixed;
  right: 30px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll-to-top img {
  width: 100%;
  height: 100%;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}


.nav a {
  color: #000;
  text-decoration: none;
  padding: 0 30px;
  height: 50px;
  font-weight: 600;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav a:hover {
  background-color: #eeeeee;
}

.nav a:hover .dot {
  background-color: #ff0000;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #D9D9D9;
  border-radius: 50%;
}

.main-inner {
  max-width: 300px;
  margin: 0 auto;
}

/* brand-new */
.brand-intro-section {
  background-color: #000;
  height: 568px;
  color: #fff;
  position: relative;
  background-size: contain;
  background-position: center;
}

.brand-intro-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
}

.brand-text-container {
  position: absolute;
  bottom: 35%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: center;
}

.brand-intro-title {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 30px;
}

.brand-intro-description {
  font-size: 16px;
  width: 100%;
  line-height: 26px;
}

.brand-about {
  padding: 40px 0;
  text-align: center;
}

.brand-about-text {
  font-size: 16px;
  line-height: 24px;
}

.brand-instructor-section {
  text-align: center;
}

.brand-instructor-image {
  width: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.brand-instructor-title {
  font-size: 20px;
  font-weight: 500;
  background-color: #EEEEEE;
  height: 70px;
  line-height: 70px;
}

.brand-instructor-text {
  font-size: 15px;
  line-height: 22px;
  width: 100%;
  padding: 40px;
  background-color: #EEEEEE;
}

.brand-classes-section {
  padding: 40px 0;
  text-align: center;
}

.brand-class-box-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* 가로 중앙 정렬 강화 */
  gap: 15px; /* 박스 간 간격 */
}

.brand-classes-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 15px;
}

.brand-classes-description {
  font-size: 16px;
  font-weight: 100;
  margin-bottom: 30px;
}

.brand-class-box {
  width: calc(100% - 30px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  position: relative;
}

.brand-class-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.brand-class-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}

.brand-class-text {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 20px;
}

.brand-class-description {
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  font-weight: 300;
}

.brand-collaboration-section {
  padding: 60px 0;
  text-align: center;
  background-color: #EEEEEE;
}

.brand-collaboration-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 30px;
}

.brand-collaboration-wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 30px;
  box-sizing: border-box;
  margin-top: 15px;
}

.brand-collaboration-box {
  flex: 1;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  width: 100px;
}

.brand-collaboration-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
}

.brand-collaboration-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 20px;
}

.brand-footer {
  background-color: #000;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.brand-footer-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
}

.brand-footer-description {
  font-size: 16px;
  font-weight: lighter;
}

.brand-footer-container {
  display: flex;
  justify-content: space-between;
}

.brand-footer {
  background-color: #000;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.brand-footer-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 15px;
}

.brand-footer-description {
  font-size: 16px;
  font-weight: lighter;
}

.brand-footer-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}