[data-subject=math] {
  --color--dark: #222e61;
  --color--light: #4396f0;
}

[data-subject=english] {
  --color--dark: #792033;
  --color--light: #ec8eb1;
}

[data-subject=korean] {
  --color--dark: #2f420a;
  --color--light: #83bc01;
}

.test {
  --max-width: 52.8rem;
}
.test-header {
  --max-width: 52.8rem;
  height: 50.9rem;
  background: linear-gradient(180deg, #fff 0%, #deeafd 52.55%);
  container-type: inline-size;
}
.test-header__contain {
  position: relative;
  display: flex;
  flex-direction: column;
  width: calc(100% - 3.2rem);
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 6.4rem 0 2.4rem;
}
.test-header__ttl {
  width: 29.5rem;
  max-width: 100%;
  margin: 0 auto;
}
.test-header__ttl img {
  width: 100%;
}
.test-header__desc {
  margin: 1.6rem auto 2.2rem;
  font-weight: 500;
  font-size: 1.5rem;
  color: #2b2138;
  text-align: center;
}
.test-header__desc strong {
  color: #4396f0;
}
.test-header-visual {
  flex: 1;
  position: relative;
  display: flex;
  margin: 0 auto;
}
.test-header-visual .char {
  position: absolute;
  bottom: 44%;
  left: 3%;
  width: clamp(0px, 76.94cqw, 27.7rem);
}
.test-header-visual .books {
  position: relative;
  width: 100%;
  max-width: 32.8rem;
  margin-top: auto;
}
.test-header-visual .books img {
  width: 100%;
}
.test-header__btn {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 3.2rem;
  border-radius: 50%;
  background: #4396f0 url("../image/icon__home.svg") no-repeat top 37% center/70%;
  aspect-ratio: 1/1;
}
.test-footer {
  padding-bottom: 19rem;
}
.test-footer__contain {
  width: calc(100% - 3.2rem);
  max-width: var(--max-width);
  margin: 0 auto;
}
.test-footer__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75em;
  padding: 0.75em;
  border-radius: 5em;
  font-weight: 600;
  font-size: 1.6rem;
  color: #fff;
  background: var(--color--dark);
}
.test-footer__btn::before {
  width: 2em;
  background: url("../image/icon__home.svg") no-repeat center/contain;
  aspect-ratio: 1/1;
  content: "";
}
.test-footer__btn::after {
  width: 0.75em;
  background: url("../image/icon__arrow--right.svg") no-repeat center/contain;
  aspect-ratio: 1/2;
  filter: invert(1) brightness(2) contrast(1);
  content: "";
}
.test-footer__logos {
  opacity: 0.4;
  width: 22.1rem;
  margin: 4rem auto 1.6rem;
}
.test-footer__copy {
  opacity: 0.4;
  font-weight: 200;
  font-size: 1.2rem;
  color: #fff;
  text-align: center;
}
.test-list {
  width: calc(100% - 3.2rem);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5.6rem 0 4rem;
}
.test-list__section + .test-list__section {
  margin-top: 4rem;
}
.test-list__section-ttl {
  position: relative;
  margin-bottom: 3.2rem;
}
.test-list__section-ttl::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 0.1rem;
  background: #fff;
  transform: translate(-50%, -50%);
  content: "";
}
.test-list__section-ttl span {
  display: block;
  position: relative;
  margin: 0 auto;
  width: fit-content;
  padding: 0 0.67em;
  font-weight: 700;
  font-size: 2.4rem;
  color: #fff;
  background: var(--color--light);
}

.tab-list {
  background: #bdcee9;
}
.tab-list__contain {
  display: flex;
  width: var(--max-width);
  max-width: 100%;
  height: 100%;
  margin: 0 auto;
}
.tab-list__item {
  --border-radius: 0.4em;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 5.6rem;
  font-weight: 600;
  font-size: 2rem;
  color: #8ca2c5;
}
.tab-list__item::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 1.6rem 1rem 0rem 1rem;
  border-color: var(--color--dark) transparent transparent transparent;
  transform: translate(-50%, 100%);
}
.tab [role=tab][aria-selected=true] {
  color: #fff;
  background: var(--color--dark);
}
.tab [role=tab][aria-selected=true]::after {
  content: "";
}
.tab-panel {
  background: var(--color--light);
}

.card-list__item {
  padding: 2.4rem;
  border-radius: 1.6rem;
  background: #fff;
}
.card-list__item + .card-list__item {
  margin-top: 1.6rem;
}
.card-list__ttl {
  margin-bottom: 0.8rem;
  font-weight: 700;
  font-size: 2.2rem;
  color: #2b2138;
}
.card-list__ttl strong {
  color: var(--color--light);
}
.card-list__desc {
  margin-bottom: 1.2rem;
  font-weight: 400;
  font-size: 1.6rem;
  color: #979797;
}
.card-list__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  padding: 0.75em;
  border-radius: 0.5em;
  border: 0.1rem solid currentColor;
  font-weight: 600;
  font-size: 1.6rem;
  color: #2b2138;
}
.card-list__btn:hover {
  color: #fff;
  background: var(--color--light);
}
.card-list__btn:hover::before {
  filter: invert(1) brightness(2) contrast(1);
}
.card-list__btn:hover::after {
  filter: invert(1) brightness(2) contrast(1);
}
.card-list__btn::before {
  width: 1.5em;
  background: no-repeat center/contain;
  aspect-ratio: 1/1;
  content: "";
}
.card-list__btn::after {
  width: 0.75em;
  background: url("../image/icon__arrow--right.svg") no-repeat center/contain;
  aspect-ratio: 1/2;
  content: "";
}
.card-list__btn--online::before {
  background-image: url("../image/icon__online.svg");
}
.card-list__btn--download::before {
  background-image: url("../image/icon__download.svg");
}

/*# sourceMappingURL=index.css.map */
