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

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

.header {
  height: 120px;
  background-color: #ff0000;
  display: flex;
  justify-content: center;
  align-items: center;
}
ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.logo {
  height: 41px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav {
  position: absolute;
  left: calc(50% + 174.37px + 84px);
  bottom: 20px;
  word-break: keep-all;
  font-size: 14px;
  line-height: 1.42857143;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav a {
  display: inline-block;
  color: #000;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  padding-bottom: 15px;
}

.nav a:hover {
  color: #fff;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background-color: #fff;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

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


.underline {
  text-decoration: underline;
}

.scroll-to-top {
  position: fixed;
  right: 60px;
  bottom: 160px;
  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%;
  object-fit: contain;
}

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

/* brand-new */
.brand-intro-section {
  background-color: #000;
  height: 500px;
  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;
  align-items: center;
}

.brand-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 930px;
}

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

.brand-intro-description {
  font-size: 18px;
}

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

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

.brand-instructor-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 500px;
  overflow: hidden;
}

.brand-instructor-image-wrap {
  width: 50%;
}

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

.brand-instructor-wrap {
  background-color: #EEEEEE;
  text-align: center;
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-instructor-title {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 12px;
}

.brand-instructor-text {
  font-size: 16px;
  line-height: 22px;
}

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

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

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

.brand-classes-wrap {
  display: flex;
  justify-content: center;
}

.brand-class-box {
  width: 290px;
  height: 290px;
  margin: 0 15px;
  position: relative;
  transition: transform 0.3s ease;
}

.brand-class-box:hover {
  transform: scale(1.02);
  cursor: pointer;
}

.brand-class-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: filter 0.3s ease;
}

.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: 32px;
  font-weight: 500;
  margin-bottom: 40px;
}

.brand-collaboration-wrap {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.brand-collaboration-box {
  width: 290px;
  height: 290px;
  margin: 0 15px;
  position: relative;
  transition: transform 0.3s ease;
}

.brand-collaboration-box:hover {
  transform: scale(1.02);
  cursor: pointer;
}

.brand-collaboration-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.3s ease;
}

.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;
}