

.sec-equation {
  --eq-card-pad-x: 80px; 
  --eq-tile-r: 10px;
  --eq-rule: #9da5b0; 

  padding-block: 0 97px; 
}

.sec-equation__card {
  padding: 120px var(--eq-card-pad-x) 86px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

.sec-equation__title {
  font-size: 32px;
  font-weight: 700;
  line-height: var(--lh-tight);
  text-align: center;
  color: var(--text-strong);
}

.sec-equation__eq {
  display: flex;
  align-items: center;
  min-height: 110px;
  margin-top: 32px;
  
  padding-inline: 150px 24px;
  background: var(--green-band);
  border-radius: var(--r-pill);
  color: var(--text-invert);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.sec-equation__eq-term {
  white-space: nowrap;
}

.sec-equation__eq-icon {
  flex: none;
  width: 65px;
  height: 68px;
}

.sec-equation__eq-icon:last-of-type {
  width: 71px;
  height: 67px;
}

.sec-equation__eq > * + * {
  margin-left: 8px;
}

.sec-equation__eq > :nth-child(2) {
  margin-left: 27px;
}

.sec-equation__eq > :nth-child(3) {
  margin-left: 31px;
}

.sec-equation__eq > :nth-child(5) {
  margin-left: 19px;
}

.sec-equation__eq > :nth-child(6) {
  margin-left: 9px;
}

.sec-equation__eq > :nth-child(7) {
  margin-left: 1px;
}

.sec-equation__lead {
  width: 890px;
  margin-top: 21px;
  margin-left: 152px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  color: var(--text-strong);
}

.sec-equation__lead-em {
  position: relative;
  display: inline-block;
  margin-top: 6px;
  padding-bottom: 6px;
  font-size: 32px;
  line-height: 1.3;
}

.sec-equation__lead-em::after {
  content: "";
  position: absolute;
  inset-inline: 0.625em;
  bottom: 0;
  height: 1px;
  background: var(--text-strong);
}

.sec-equation__areas-title {
  margin-top: 19px;
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--text-strong);
}

.sec-equation__areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
  margin-top: 17px;
}

.sec-equation__area {
  position: relative;
  min-height: 224px;
  padding: calc(39px + var(--eq-tile-shift, 0px)) 20px 0;
  background: var(--bg-base); 
  border-radius: var(--eq-tile-r);
}

.sec-equation__area:last-child {
  --eq-tile-shift: -3px;
}

.sec-equation__area-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sec-equation__area-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 48px;
  margin-top: 4px;
  border: 1px solid var(--text-strong);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--text-strong);
}

.sec-equation__area-label {
  display: block;
  padding-top: 1px;
}

.sec-equation__area-name {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--text-strong);
}

.sec-equation__area-role {
  display: block;
  margin-top: 3px;
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-strong);
}

.sec-equation__area-desc {
  margin-top: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--eq-rule);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-strong);
}

.sec-equation__area-eg {
  margin-top: 9px;
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.5;
  color: var(--green-band);
}

.sec-equation__plus {
  position: absolute;
  top: 104px;
  right: -19px;
  width: 27px;
  height: 27px;
  pointer-events: none;
}

.sec-equation__caret {
  display: none;
}

.sec-equation__eq-break,
.sec-equation__sp-br {
  display: none;
}

@media (max-width: 767px) {
  .sec-equation {
    padding-block: 0 56px;
  }

  .sec-equation__card {
    
    padding: 104px 12px 80px;
    border-radius: 20px;
  }

  .sec-equation__title {
    font-size: 12px;
    line-height: 15.6px;
    letter-spacing: 0.96px;
  }

  

  .sec-equation__eq {
    
    font-size: min(28px, calc((100vw - 72px) / 10.7));
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    min-height: 122px;
    margin-top: 11.4px; 
    padding: 24px 12px 27px;
    border-radius: 20px;
    line-height: 1.1429; 
    letter-spacing: 0.03em; 
    
    row-gap: 3.5px;
  }

  
  .sec-equation__eq > * {
    order: 2;
  }

  .sec-equation__eq > :nth-child(-n + 2) {
    order: 1;
  }

  .sec-equation__eq-break {
    display: block;
    order: 1;
    flex-basis: 100%;
    width: 100%;
    height: 0;
  }

  
  .sec-equation__eq > :nth-child(2) {
    margin-left: 0.286em; 
  }

  .sec-equation__eq > :nth-child(3),
  .sec-equation__eq > :nth-child(4),
  .sec-equation__eq > :nth-child(7),
  .sec-equation__eq > :nth-child(8) {
    margin-left: 0;
  }

  .sec-equation__eq > :nth-child(5) {
    margin-left: 0.214em; 
  }

  .sec-equation__eq > :nth-child(6) {
    margin-left: 0.107em; 
  }

  .sec-equation__eq-icon {
    width: 1.0214em; 
    height: 1.0643em;
  }

  .sec-equation__eq-icon:last-of-type {
    width: 1.1071em; 
    height: 1.0714em;
  }

  

  .sec-equation__caret {
    display: block;
    width: 0;
    height: 0;
    margin: 20px auto;
    border-inline: 7.5px solid transparent;
    border-top: 15px solid var(--green-band);
  }

  .sec-equation__lead {
    width: 100%;
    margin: 0;
    font-size: 12px;
    line-height: 15.6px;
    letter-spacing: 0.96px;
  }

  
  .sec-equation__lead-nl {
    display: none;
  }

  .sec-equation__sp-br {
    display: inline;
  }

  
  .sec-equation__lead-em {
    display: block;
    margin-top: 14.8px; 
    padding-bottom: 0;
    font-size: 28px;
    line-height: 42px;
    letter-spacing: 0.84px;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.24em;
  }

  .sec-equation__lead-em::after {
    content: none;
  }

  

  .sec-equation__areas-title {
    margin-top: 0; 
    font-size: 24px;
    line-height: 34.752px;
    text-align: center;
  }

  .sec-equation__areas {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14.5px; 
  }

  
  .sec-equation__area {
    min-height: 190px;
    padding: 23px 12px 24px; 
  }

  .sec-equation__area-head {
    gap: 12px; 
  }

  .sec-equation__area-mark {
    width: 51px; 
    height: 56.4px;
    margin-top: 2px;
    font-size: 24px;
  }

  .sec-equation__area-label {
    padding-top: 0;
  }

  .sec-equation__area-name {
    font-size: 24px;
    line-height: 34.752px;
  }

  .sec-equation__area-role {
    margin-top: 1.25px;
    font-size: 16px;
    font-weight: 500;
    line-height: 23.168px;
  }

  .sec-equation__area-desc {
    margin-top: 21.8px; 
    padding-bottom: 7.83px; 
    font-size: 16px;
    line-height: 23.168px;
  }

  .sec-equation__area-eg {
    margin-top: 7px; 
    font-size: 16px;
    line-height: 23.168px;
    color: var(--aixeed-green); 
  }

  
  .sec-equation__plus {
    top: auto;
    right: auto;
    bottom: -17px;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .sec-equation {
    
    --eq-card-pad-x: clamp(24px, 4vw, 48px);
    --eq-grid-gap: 12px;

    padding-block: 0 72px;
  }

  .sec-equation__card {
    padding: 80px var(--eq-card-pad-x) 64px;
  }

  .sec-equation__title {
    font-size: clamp(24px, 2.6vw, 32px);
  }

  

  
  .sec-equation__eq {
    justify-content: center;
    min-height: 2.75em; 
    margin-top: 24px;
    
    padding-inline: clamp(16px, 2.5vw, 32px);
    font-size: min(40px, 3.65vw);
  }

  .sec-equation__eq-icon {
    width: 1.625em; 
    height: 1.7em; 
  }

  .sec-equation__eq-icon:last-of-type {
    width: 1.775em; 
    height: 1.675em; 
  }

  
  .sec-equation__eq > * + * {
    margin-left: 0.2em; 
  }

  .sec-equation__eq > :nth-child(2) {
    margin-left: 0.675em; 
  }

  .sec-equation__eq > :nth-child(3) {
    margin-left: 0.775em; 
  }

  .sec-equation__eq > :nth-child(5) {
    margin-left: 0.475em; 
  }

  .sec-equation__eq > :nth-child(6) {
    margin-left: 0.225em; 
  }

  .sec-equation__eq > :nth-child(7) {
    margin-left: 0.025em; 
  }

  

  
  .sec-equation__lead {
    width: 100%;
    margin-top: 18px;
    margin-left: 0;
  }

  .sec-equation__lead-em {
    font-size: clamp(22px, 2.6vw, 32px);
  }

  

  .sec-equation__areas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--eq-grid-gap);
  }

  
  .sec-equation__plus {
    right: calc(var(--eq-grid-gap) / -2);
    transform: translateX(50%);
  }

  
  .sec-equation__area:nth-child(2) .sec-equation__plus {
    display: none;
  }
}

@media (min-width: 1100px) and (max-width: 1200px) {
  .sec-equation__eq {
    padding-inline: clamp(40px, 9vw, 150px) 24px;
  }

  .sec-equation__lead {
    width: 100%;
    margin-left: 0;
  }
}
