/* ==========================================
   Intro: Challenge / Answer Section Styles
   ========================================== */

.intro {
  position: relative;
  overflow: hidden;
  padding-top: clamp(72px, 7cqi, 104px);
}

.iq-deco {
  position: absolute;
  inset: 0 0 auto auto;
  width: 240px;
  height: 160px;
  pointer-events: none;
  transform-origin: top right;
}

.iq-deco i {
  position: absolute;
  display: block;
}

.iq-deco .d1 {
  right: 56px;
  top: -32px;
  width: 119px;
  height: 104px;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(165deg, #ED9D21, #E87A26);
}

.iq-deco .d3 {
  right: -18px;
  top: 71px;
  width: 92px;
  height: 76px;
  border-radius: 18px;
  background: var(--lav2);
}

.iq-deco .d2 {
  right: 53px;
  top: 63px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #F4F0E6;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .35);
}

.iq {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(24px, 3cqi, 48px);
}

.iq-a {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 2;
}

.iq-b {
  grid-column: 2;
  grid-row: 1 / 3;
  position: relative;
  z-index: 2;
  padding-top: clamp(20px, 2.4cqi, 36px);
  padding-bottom: clamp(72px, 7cqi, 104px);
}

.iq-h {
  font-family: var(--fd);
  font-weight: 650;
  font-size: clamp(34px, 3.5cqi, 52px);
  line-height: 1.04;
  letter-spacing: -.032em;
  margin-top: 22px;
  text-wrap: balance;
}

.iq-a .iq-h {
  max-width: 9.4em;
}

.iq-b .iq-h {
  font-size: clamp(32px, 3.3cqi, 48px);
  max-width: 14em;
}

.iq-h .hl {
  color: var(--purple);
}

.iq-h .l {
  display: block;
}

.iq-sub {
  font-family: var(--fd);
  font-weight: 400;
  font-size: clamp(24px, 2.3cqi, 34px);
  line-height: 1.18;
  letter-spacing: -.015em;
  color: rgba(0, 0, 0, .72);
  margin-top: 14px;
  max-width: 11em;
}

.iq-comp {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  position: relative;
  z-index: 1;
  width: 106%;
  margin-left: 6%;
  margin-top: -10%;
  aspect-ratio: 1.562;
}

.iq-comp>i {
  position: absolute;
  display: block;
}

.ib-lav {
  left: 16%;
  top: 34%;
  width: 24%;
  bottom: 0;
  border-radius: 22px 22px 0 0;
  background: var(--lav2);
}

.ib-org {
  left: 55%;
  top: 26.5%;
  width: 21%;
  bottom: 0;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(170deg, #ED9D21, #E87A26);
}

.ib-org2 {
  left: 1%;
  top: 76%;
  width: 17.5%;
  bottom: 0;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(170deg, #ED9D21, #E87A26);
}

.ib-lav3 {
  left: 84.5%;
  top: 91.5%;
  width: 15%;
  bottom: 0;
  border-radius: 16px 16px 0 0;
  background: var(--lav2);
}

.ib-sqA {
  left: 57%;
  top: 2%;
  width: 10.5%;
  aspect-ratio: 1;
  border-radius: clamp(10px, 1.2cqi, 16px);
  background: #F2EEE4;
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .3);
}

.ib-sqB {
  left: 15%;
  top: 74.5%;
  width: 6%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: #F6F3EC;
  box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .3);
}

.iq-man {
  position: absolute;
  left: 17%;
  bottom: 0;
  width: 80%;
  height: auto;
  z-index: 1;
}

.iq-list {
  position: relative;
  display: grid;
  gap: clamp(22px, 2.4cqi, 34px);
  margin-top: clamp(36px, 4.2cqi, 64px);
  padding-left: 0;
}

.iq-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  left: calc(clamp(64px, 5.4cqi, 78px) + clamp(40px, 5cqi, 72px) / 2);
  background: var(--line);
}

.iq-list li {
  display: grid;
  grid-template-columns: clamp(64px, 5.4cqi, 78px) minmax(0, 1fr);
  column-gap: clamp(40px, 5cqi, 72px);
  align-items: center;
}

.iq-ic {
  width: 100%;
  aspect-ratio: 1;
  border-radius: clamp(14px, 1.5cqi, 20px);
  display: grid;
  place-items: center;
}

.iq-ic .ic {
  width: clamp(28px, 2.6cqi, 36px);
  height: clamp(28px, 2.6cqi, 36px);
  stroke-width: 1.5;
}

.iq-list p {
  font-size: clamp(16px, 1.3cqi, 18.5px);
  line-height: 1.5;
  text-wrap: pretty;
}

.iq-list strong {
  font-weight: 700;
}

.iq-list strong.soft {
  font-weight: inherit;
}

.iq-list .big {
  display: block;
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(26px, 2.3cqi, 34px);
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--purple);
  margin-top: 6px;
}

@container page (max-width: 960px) {
  .iq {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  .iq-a,
  .iq-b,
  .iq-comp {
    grid-column: 1;
    grid-row: auto;
  }

  .iq-b {
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .iq-comp {
    order: 3;
    width: 100%;
    max-width: 620px;
    margin: 8px 0 0;
  }
}

@container page (max-width: 640px) {
  .intro {
    padding-top: 104px;
  }

  .iq-deco {
    transform: scale(.6);
  }

  .iq-list::before {
    display: none;
  }

  .iq-list li {
    column-gap: 20px;
    align-items: start;
  }
}

