[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: 58.08rem;
}
.test-header {
  --max-width: 58.08rem;
  height: 64.24rem;
  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.52rem);
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 7.04rem 0 4.4rem;
}
.test-header__ttl {
  width: 43.23rem;
  max-width: 100%;
  margin: 0 auto;
}
.test-header__ttl img {
  width: 100%;
}
.test-header__desc {
  margin: 1.76rem auto 2.42rem;
  font-weight: 500;
  font-size: 1.65rem;
  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: 36%;
  left: -2%;
  width: 36.85rem;
}
.test-header-visual .books {
  position: relative;
  margin-top: auto;
}
.test-header-visual .books img {
  max-width: initial;
}
.test-header__btn {
  position: absolute;
  top: 1.76rem;
  right: 1.76rem;
  width: 4.4rem;
  border-radius: 50%;
  background: #4396f0 url("../image/icon__home.svg") no-repeat top 37% center/70%;
  aspect-ratio: 1/1;
}
.test-footer {
  padding-bottom: 20.9rem;
}
.test-footer__contain {
  width: calc(100% - 3.52rem);
  max-width: var(--max-width);
  margin: 0 auto;
}
.test-footer__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.825em;
  padding: 0.825em;
  border-radius: 5em;
  font-weight: 600;
  font-size: 1.76rem;
  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.825em;
  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: 24.31rem;
  margin: 4.4rem auto 1.76rem;
}
.test-footer__copy {
  opacity: 0.4;
  font-weight: 200;
  font-size: 1.32rem;
  color: #fff;
  text-align: center;
}
.test-list {
  width: calc(100% - 3.52rem);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6.16rem 0 4.4rem;
}
.test-list__section + .test-list__section {
  margin-top: 4.4rem;
}
.test-list__section-ttl {
  position: relative;
  margin-bottom: 3.52rem;
}
.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.737em;
  font-weight: 700;
  font-size: 2.64rem;
  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.44em;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 6.16rem;
  font-weight: 600;
  font-size: 2.2rem;
  color: #8ca2c5;
}
.tab-list__item::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 1.76rem 1.1rem 0rem 1.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.64rem;
  border-radius: 1.76rem;
  background: #fff;
}
.card-list__item + .card-list__item {
  margin-top: 1.76rem;
}
.card-list__ttl {
  margin-bottom: 0.88rem;
  font-weight: 700;
  font-size: 2.42rem;
  color: #2b2138;
}
.card-list__ttl strong {
  color: var(--color--light);
}
.card-list__desc {
  margin-bottom: 1.32rem;
  font-weight: 400;
  font-size: 1.76rem;
  color: #979797;
}
.card-list__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55em;
  padding: 0.825em;
  border-radius: 0.55em;
  border: 0.1rem solid currentColor;
  font-weight: 600;
  font-size: 1.76rem;
  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.65em;
  background: no-repeat center/contain;
  aspect-ratio: 1/1;
  content: "";
}
.card-list__btn::after {
  width: 0.825em;
  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 */
