/*
 * SGM PC Mega Menu v11
 * Course images inserted
 */

.sgm-mega-course,
.sgm-mega-course * {
  box-sizing: border-box;
}

.sgm-mega-course {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  pointer-events: none;
  font-family: "BIZ UDPGothic", "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  color: #2c2b2b;
}

.sgm-mega-course.is-open {
  display: block;
  pointer-events: auto;
}

.sgm-mega-course__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .18);
}

.sgm-mega-course__panel {
  position: relative;
  width: min(1280px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  margin: 40px auto 0;
  overflow: hidden auto;
  background: #f4fbff;
  border-radius: 50px 50px 60px 60px;
}

.sgm-mega-course__topbar {
  position: relative;
  height: 111px;
  background: #f4fbff;
  border-radius: 50px 50px 0 0;
}

.sgm-mega-course__close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #2c2b2b;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}

.sgm-mega-course__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 23px;
  height: 1px;
  background: #2c2b2b;
  transform-origin: center;
}

.sgm-mega-course__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.sgm-mega-course__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.sgm-mega-course__body {
  display: grid;
  grid-template-columns: 394px 1fr;
  min-height: 1181px;
  padding: 0;
  align-items: stretch;
}

.sgm-mega-course__aside {
  width: 394px;
  min-height: 1181px;
  padding: 20px 25px 81px;
  background: #fff;
  border-right: 1px solid #abb4ac;
  border-radius: 0 0 0 60px;
}

.sgm-mega-course__aside-inner {
  width: 343px;
}

.sgm-mega-course__aside-head {
  width: 343px;
  height: 192px;
  padding-bottom: 32px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.sgm-mega-course__label {
  width: 343px;
  height: 72px;
  margin: 0;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(44, 43, 43, .05);
}

.sgm-mega-course__label-course,
.sgm-mega-course__label-guide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 32px;
  letter-spacing: 2px;
  text-align: center;
}

.sgm-mega-course__label-course {
  width: 116px;
}

.sgm-mega-course__label-guide {
  width: 102px;
  color: transparent;
  -webkit-text-stroke: 1px #2c2b2b;
  text-stroke: 1px #2c2b2b;
}

.sgm-mega-course__aside-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 2px;
  text-align: center;
}

.sgm-mega-course__aside-text {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0;
  text-align: center;
}

.sgm-mega-course__category {
  width: 344px;
  height: 566px;
  display: grid;
  gap: 31px;
  margin-bottom: 31px;
}

.sgm-mega-course__category-button {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 344px;
  height: 80px;
  padding: 20px 12px;
  border: 1px solid #2c2b2b;
  border-radius: 20px;
  background: #fff;
  color: #2c2b2b;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  appearance: none;
}

.sgm-mega-course__category-button.is-active {
  background: #2c2b2b;
  color: #fff;
}

.sgm-mega-course__category-icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2c2b2b;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 1px;
}

.sgm-mega-course__category-button.is-active .sgm-mega-course__category-icon {
  background: #fff;
  color: #2c2b2b;
}

.sgm-mega-course__category-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.sgm-mega-course__category-button.is-active .sgm-mega-course__category-icon img {
  filter: brightness(0);
}

.sgm-mega-course__cta-box {
  width: 343px;
  height: 285px;
  padding: 29px 23px 30px;
  border: 1px solid #e4ded6;
  border-radius: 20px;
  background: #fff4e8;
}

.sgm-mega-course__cta-text {
  width: 298px;
  min-height: 50px;
  margin: 0 0 20px;
  color: #5d2e04;
  font-size: 14px;
  font-weight: 700;
  line-height: 175%;
  letter-spacing: 2px;
  text-align: center;
}

.sgm-mega-course__cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 298px;
  height: 68px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
}

.sgm-mega-course__cta-button + .sgm-mega-course__cta-button {
  margin-top: 20px;
}

.sgm-mega-course__cta-button--line {
  background: #06c755;
}

.sgm-mega-course__cta-button--trial {
  background: #ff7900;
}

.sgm-mega-course__cta-button-inner {
  width: 216px;
  height: 50px;
  display: grid;
  grid-template-columns: 30px 1fr;
  grid-template-rows: 21px 29px;
  column-gap: 7px;
  align-items: center;
}

.sgm-mega-course__cta-sub {
  position: relative;
  grid-column: 1 / 3;
  grid-row: 1;
  height: 21px;
  color: #fff;
  font-family: "Nunito", "BIZ UDPGothic", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 21px;
  letter-spacing: 1.4px;
  text-align: center;
}

.sgm-mega-course__cta-sub::before,
.sgm-mega-course__cta-sub::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  background: #fff;
  vertical-align: -1px;
}

.sgm-mega-course__cta-sub::before {
  margin-right: 9px;
  transform: rotate(-28deg);
}

.sgm-mega-course__cta-sub::after {
  margin-left: 9px;
  transform: rotate(28deg);
}

.sgm-mega-course__cta-icon {
  grid-column: 1;
  grid-row: 2;
  width: 30px;
  height: 30px;
}

.sgm-mega-course__cta-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.sgm-mega-course__cta-main {
  grid-column: 2;
  grid-row: 2;
  width: 179px;
  height: 28px;
  color: #fff;
  font-family: "Nunito", "BIZ UDPGothic", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 175%;
  letter-spacing: 1.4px;
  text-align: left;
  white-space: nowrap;
}

/* Main Content */
.sgm-mega-course__main {
  width: 886px;
  min-height: 1181px;
  padding: 20px 0 81px;
  background: #f4fbff;
  border-radius: 0 0 60px 0;
}

.sgm-mega-course__main-inner {
  width: 885px;
  padding: 0;
}

.sgm-mega-course__ranking-head {
  width: 885px;
  height: 60px;
  margin: 0 0 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sgm-mega-course__ranking-title {
  width: 184px;
  height: 60px;
  margin: 0;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 4px;
}

.sgm-mega-course__ranking-title::after {
  content: "";
  width: 40px;
  border-bottom: 3px solid #fe7904;
}

.sgm-mega-course__top-ranking {
  width: 885px;
  height: 486px;
  border-radius: 30px;
  background: #fff;
  overflow: visible;
}

.sgm-mega-course__top-rank-row {
  width: 885px;
  height: 78px;
  padding: 10px 32px;
  display: grid;
  grid-template-columns: repeat(3, 241.67px);
  column-gap: 48px;
  align-items: center;
}

.sgm-mega-course__top-rank {
  height: 58px;
  display: grid;
  place-items: center;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
}

.sgm-mega-course__top-rank--crown {
  color: #c98b16;
  font-size: 32px;
}

.sgm-mega-course__top-rank--new {
  width: 60px;
  height: 40px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 40px;
  letter-spacing: 4px;
  color: #fc6424;
  background: linear-gradient(90deg, #fc6424, #f5473f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sgm-mega-course__top-card-grid {
  width: 885px;
  height: 404px;
  padding: 42px 32px 0;
  display: grid;
  grid-template-columns: repeat(3, 241.67px);
  column-gap: 48px;
}

.sgm-mega-course__top-card {
  width: 241.67px;
  height: 320px;
  position: relative;
  text-align: center;
}

.sgm-mega-course__top-card.is-hidden,
.sgm-mega-course__bottom-card.is-hidden {
  display: none;
}

.sgm-mega-course__top-card-link,
.sgm-mega-course__bottom-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.sgm-mega-course__top-visual {
  width: 224px;
  height: 248px;
  margin: -28px auto 0;
  padding-bottom: 24px;
  overflow: visible;
}

.sgm-mega-course__top-visual img {
  display: block;
  width: 224px;
  height: 248px;
  object-fit: contain;
}

.sgm-mega-course__top-card-body {
  width: 203px;
  max-width: 240px;
  min-height: 70px;
  margin: -2px auto 0;
  display: grid;
  gap: 10px;
}

.sgm-mega-course__top-card-title {
  width: 203px;
  height: 20px;
  margin: 0;
  color: #2c2b2b;
  font-family: "Noto Sans JP", "BIZ UDPGothic", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0;
  text-align: center;
}

.sgm-mega-course__top-card-text {
  margin: 0;
  color: #2c2b2b;
  font-family: "BIZ UDPGothic", "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
  text-align: center;
}

.sgm-mega-course__bottom-ranking {
  width: 885px;
  height: auto;
  min-height: 352px;
  margin-top: 50px;
}

.sgm-mega-course__bottom-rank-row {
  width: 885px;
  height: 66px;
  display: grid;
  grid-template-columns: repeat(4, 144px);
  column-gap: 32px;
  align-items: center;
  justify-content: center;
}

.sgm-mega-course__bottom-rank {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  font-family: "BIZ UDPGothic", "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 4px;
}

.sgm-mega-course__bottom-rank--crown {
  color: #b98556;
  font-size: 30px;
}

.sgm-mega-course__bottom-rank--circle {
  border: 1px solid #2785bf;
  border-radius: 50%;
  background: rgba(39, 133, 191, .1);
  color: #2785bf;
  background-image: linear-gradient(90deg, #2785bf, #106ea9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sgm-mega-course__bottom-card-grid {
  width: 885px;
  height: auto;
  min-height: 216px;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 144px);
  column-gap: 32px;
  align-items: start;
  justify-content: center;
}

.sgm-mega-course__bottom-card {
  width: 144px;
  text-align: center;
}

.sgm-mega-course__bottom-image {
  width: 144px;
  height: 144px;
  margin: 0 0 16px;
  border-radius: 50%;
  overflow: visible;
  background: transparent;
}

.sgm-mega-course__bottom-image img {
  display: block;
  width: 144px;
  height: 144px;
  object-fit: contain;
}

.sgm-mega-course__bottom-title {
  margin: 0;
  color: #2c2b2b;
  font-family: "Noto Sans JP", "BIZ UDPGothic", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0;
  text-align: center;
}

.sgm-mega-course__more-wrap {
  margin-top: 32px;
  text-align: center;
}

.sgm-mega-course__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-width: 360px;
  min-height: 58px;
  border-radius: 12px;
  background: #282828;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

/* Draw the arrow without a font-dependent character. */
.sgm-mega-course__more span[aria-hidden="true"] {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  font-size: 0;
}

.sgm-mega-course__more span[aria-hidden="true"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  box-sizing: border-box;
}

body.is-sgm-mega-open {
  overflow: hidden;
}


/* v13 fix: top course actual photo + arc text */
.sgm-mega-course__top-visual {
  position: relative;
  width: 224px;
  height: 248px;
  margin: -28px auto 0;
  padding-bottom: 24px;
  overflow: visible;
}

.sgm-mega-course__top-arc {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 156px;
  height: auto;
  transform: translateX(-50%);
  z-index: 2;
  display: block;
}

.sgm-mega-course__top-photo {
  position: absolute;
  left: 50%;
  top: 22px;
  width: 160px;
  height: 160px;
  transform: translateX(-50%);
  object-fit: contain;
  z-index: 1;
  display: block;
}

/* keep old generic image rule from stretching arc-only image */
.sgm-mega-course__top-visual > img:not(.sgm-mega-course__top-arc):not(.sgm-mega-course__top-photo) {
  display: block;
  width: 224px;
  height: 248px;
  object-fit: contain;
}


/* v14 fix: 1位・2位・3位を王冠画像で表示 */
.sgm-mega-course__top-rank--crown img {
  display: block;
  width: auto;
  height: 58px;
  object-fit: contain;
}

.sgm-mega-course__bottom-rank--crown {
  background: transparent;
  border: 0;
  -webkit-text-fill-color: initial;
}

.sgm-mega-course__bottom-rank--crown img {
  display: block;
  width: auto;
  height: 60px;
  object-fit: contain;
}


/* v15: use uploaded merged logo+image assets */
.sgm-mega-course__top-visual--merged {
  position: relative;
  width: 224px;
  height: 248px;
  margin: -28px auto 24px;
  padding: 0;
  overflow: visible;
}

.sgm-mega-course__top-merged {
  display: block;
  width: 224px;
  height: 248px;
  object-fit: contain;
  margin: 0 auto;
}

.sgm-mega-course__top-visual--merged .sgm-mega-course__top-arc,
.sgm-mega-course__top-visual--merged .sgm-mega-course__top-photo {
  display: none !important;
}

.sgm-mega-course__bottom-image img {
  display: block;
  width: 144px;
  height: 144px;
  object-fit: contain;
}


/* v16: 下段4つ並びの横位置を中央揃えに修正 */

/* WordPress embed: show the v16 design in the right half of the PC mega layer. */
@media (min-width: 1024px) {
  .mega-panel--regular-v16 {
    position: relative !important;
    width: calc(60vw - 32px) !important;
    max-height: calc(100vh - var(--mega-top, 0px) - 32px) !important;
    margin-top: 16px !important;
    margin-right: 16px !important;
    margin-left: calc(40vw + 16px) !important;
    padding-top: 64px !important;
    overflow: auto !important;
    background: #f4fbff !important;
    border: 1px solid rgba(44, 43, 43, .14) !important;
    border-radius: 32px !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .16) !important;
    box-sizing: border-box !important;
  }

  .mega-panel--regular-v16 .mega-panel__persistent-close {
    position: absolute !important;
    top: 12px !important;
    right: 16px !important;
    z-index: 5 !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    border: 1px solid #2c2b2b !important;
    border-radius: 10px !important;
    background: #fff !important;
    cursor: pointer !important;
  }

  .mega-panel--regular-v16 .mega-panel__persistent-close span {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 22px !important;
    height: 1px !important;
    background: #2c2b2b !important;
    transform-origin: center !important;
  }

  .mega-panel--regular-v16 .mega-panel__persistent-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg) !important;
  }

  .mega-panel--regular-v16 .mega-panel__persistent-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
  }

  .mega-panel--regular-v16 .mega-panel__inner {
    --sgm-pc-v16-scale: .44;
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    height: 520px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course--embedded {
    position: absolute !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    left: 50% !important;
    z-index: auto !important;
    display: block !important;
    width: 1280px !important;
    height: 1181px !important;
    pointer-events: auto !important;
    transform: scale(var(--sgm-pc-v16-scale)) translateX(-50%) !important;
    transform-origin: top left !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course__overlay,
  .mega-panel--regular-v16 .sgm-mega-course__topbar {
    display: none !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course__panel {
    position: static !important;
    width: 1280px !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: visible !important;
    border-radius: 0 0 60px 60px !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course__body {
    width: 1280px !important;
    min-height: 1181px !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course__bottom-rank-row,
  .mega-panel--regular-v16 .sgm-mega-course__bottom-card-grid {
    width: 885px !important;
    grid-template-columns: repeat(4, 176px) !important;
    column-gap: 32px !important;
    justify-content: center !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course__bottom-card,
  .mega-panel--regular-v16 .sgm-mega-course__bottom-image,
  .mega-panel--regular-v16 .sgm-mega-course__bottom-image img {
    width: 176px !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course__bottom-image,
  .mega-panel--regular-v16 .sgm-mega-course__bottom-image img {
    height: 176px !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course__bottom-ranking {
    min-height: 384px !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course__bottom-card-grid {
    min-height: 228px !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course__more-wrap {
    margin-top: 44px !important;
  }
}

@media (min-width: 1280px) {
  .mega-panel--regular-v16 .mega-panel__inner {
    --sgm-pc-v16-scale: .55;
    height: 650px !important;
  }
}

@media (min-width: 1536px) {
  .mega-panel--regular-v16 .mega-panel__inner {
    --sgm-pc-v16-scale: .675;
    height: 798px !important;
  }
}

@media (min-width: 1920px) {
  .mega-panel--regular-v16 .mega-panel__inner {
    --sgm-pc-v16-scale: .85;
    height: 1004px !important;
  }
}

@media (min-width: 2240px) {
  .mega-panel--regular-v16 .mega-panel__inner {
    --sgm-pc-v16-scale: 1;
    height: 1181px !important;
  }
}

@media (min-width: 2560px) {
  .mega-panel--regular-v16 .mega-panel__inner {
    --sgm-pc-v16-scale: 1.15;
    height: 1359px !important;
  }
}

@media (max-width: 1023.98px) {
  .mega-panel--regular-v16,
  .mega-panel--regular-v16 .sgm-mega-course--embedded {
    display: none !important;
  }
}

/* v18: category-specific course groups based on the supplied PC design. */
@media (min-width: 1024px) {
  .mega-panel--regular-v16 .sgm-pc-course-main {
    width: 886px !important;
    min-height: 1181px !important;
    padding: 28px 28px 52px !important;
    background: #f4fbff !important;
  }

  .mega-panel--regular-v16 .sgm-pc-course-main__inner {
    width: 830px !important;
    min-height: 1100px !important;
    padding: 0 !important;
  }

  .mega-panel--regular-v16 .sgm-pc-course-group {
    width: 100% !important;
    margin: 0 0 26px !important;
  }

  .mega-panel--regular-v16 .sgm-pc-course-group[hidden] {
    display: none !important;
  }

  .mega-panel--regular-v16 .sgm-pc-course-group__title {
    min-height: 48px !important;
    margin: 0 0 14px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    color: #2c2b2b !important;
    font-family: "Noto Sans JP", "BIZ UDPGothic", sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: .08em !important;
    text-align: center !important;
  }

  .mega-panel--regular-v16 .sgm-pc-course-group__title::after {
    content: "" !important;
    width: 40px !important;
    border-bottom: 3px solid #fe7904 !important;
  }

  .mega-panel--regular-v16 .sgm-pc-course-group__grid {
    display: grid !important;
    grid-template-columns: repeat(var(--sgm-group-columns), minmax(0, 1fr)) !important;
    column-gap: 18px !important;
    align-items: start !important;
    justify-content: center !important;
  }

  .mega-panel--regular-v16 .sgm-pc-course-card {
    min-width: 0 !important;
    text-align: center !important;
  }

  .mega-panel--regular-v16 .sgm-pc-course-card__link {
    display: block !important;
    color: inherit !important;
    text-decoration: none !important;
  }

  .mega-panel--regular-v16 .sgm-pc-course-card__image {
    width: 132px !important;
    height: 146px !important;
    margin: 0 auto 8px !important;
    display: grid !important;
    place-items: center !important;
  }

  .mega-panel--regular-v16 .sgm-pc-course-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  .mega-panel--regular-v16 [data-course-group="guitar"] .sgm-pc-course-card__image {
    width: 150px !important;
    height: 166px !important;
  }

  .mega-panel--regular-v16 [data-course-group="guitar"] .sgm-pc-course-group__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    row-gap: 30px !important;
  }

  .mega-panel--regular-v16 [data-course-group="instrument"] .sgm-pc-course-card__image,
  .mega-panel--regular-v16 [data-course-group="creative"] .sgm-pc-course-card__image {
    width: 160px !important;
    height: 176px !important;
  }

  .mega-panel--regular-v16 .sgm-pc-course-card__title {
    margin: 0 !important;
    color: #2c2b2b !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }

  .mega-panel--regular-v16 .sgm-pc-course-card__text {
    margin: 7px auto 0 !important;
    max-width: 210px !important;
    color: #2c2b2b !important;
    font-size: 10px !important;
    line-height: 1.6 !important;
    text-align: center !important;
  }

  .mega-panel--regular-v16 .sgm-pc-course-main .sgm-mega-course__more-wrap {
    margin-top: 24px !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course--embedded:not([data-active-course-filter="all"]) .sgm-pc-course-group {
    margin-top: 8px !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course--embedded:not([data-active-course-filter="all"]) .sgm-pc-course-group__title {
    margin-bottom: 28px !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="voice"] .sgm-pc-course-card__image {
    width: 224px !important;
    height: 248px !important;
    margin-bottom: 10px !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="voice"] .sgm-pc-course-card__title {
    font-size: 16px !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="voice"] .sgm-pc-course-card__text {
    font-size: 12px !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="guitar"] .sgm-pc-course-card__image,
  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="instrument"] .sgm-pc-course-card__image,
  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="creative"] .sgm-pc-course-card__image {
    width: 224px !important;
    height: 248px !important;
    margin-bottom: 10px !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="guitar"] .sgm-pc-course-group__grid,
  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="instrument"] .sgm-pc-course-group__grid,
  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="creative"] .sgm-pc-course-group__grid {
    grid-template-columns: repeat(3, 241.67px) !important;
    column-gap: 48px !important;
    row-gap: 42px !important;
    justify-content: center !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="guitar"] .sgm-pc-course-card,
  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="instrument"] .sgm-pc-course-card,
  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="creative"] .sgm-pc-course-card {
    width: 241.67px !important;
    min-height: 320px !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="guitar"] .sgm-pc-course-card__title,
  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="instrument"] .sgm-pc-course-card__title,
  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="creative"] .sgm-pc-course-card__title {
    font-size: 16px !important;
    line-height: 20px !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="guitar"] .sgm-pc-course-card__text,
  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="instrument"] .sgm-pc-course-card__text,
  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="creative"] .sgm-pc-course-card__text {
    font-size: 12px !important;
  }

  .mega-panel--regular-v16 .sgm-pc-ranking-view[hidden] {
    display: none !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="all"] .sgm-pc-course-main {
    padding: 20px 0 81px !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="all"] .sgm-pc-course-main__inner,
  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="all"] .sgm-pc-ranking-view {
    width: 885px !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="all"] .sgm-mega-course__top-card-grid {
    padding-top: 54px !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="all"] .sgm-mega-course__bottom-card-grid {
    padding-top: 18px !important;
    margin-bottom: 56px !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="all"] .sgm-mega-course__bottom-ranking {
    min-height: 430px !important;
  }

  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="all"] .sgm-mega-course__top-ranking--two .sgm-mega-course__top-rank-row,
  .mega-panel--regular-v16 .sgm-mega-course--embedded[data-active-course-filter="all"] .sgm-mega-course__top-ranking--two .sgm-mega-course__top-card-grid {
    grid-template-columns: repeat(2, 241.67px) !important;
    justify-content: center !important;
  }
}
