/* ============================================================
   Workstyle page — subsection & list components
   ============================================================ */
.ws-subsection {
  margin-top: 36px;
}

.ws-subsection:first-child {
  margin-top: 0;
}

.ws-subheading {
  position: relative;
  margin-bottom: 18px;
  padding-left: 16px;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.ws-subheading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 4px;
  height: 1.1em;
  background: var(--red);
}

.ws-detail {
  margin-top: 24px;
  padding-left: 24px;
  position: relative;
}

.ws-detail::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-size: 14px;
  line-height: 1.8;
}

.ws-detail__title {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.ws-detail__text {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 15px;
  line-height: 2;
}

.ws-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-left: 0;
  list-style: none;
}

.ws-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.9;
}

.ws-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--red);
}

.ws-list--ordered {
  counter-reset: ws-ol;
}

.ws-list--ordered li {
  counter-increment: ws-ol;
}

.ws-list--ordered li::before {
  content: "(" counter(ws-ol) ")";
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
}

.ws-list--ordered li {
  padding-left: 28px;
}

/* ============================================================
   Eruboshi certification layout
   ============================================================ */
.ws-eruboshi {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 0;
}

.ws-eruboshi .act-card__text {
  flex: 1;
  margin: 0;
}

.ws-eruboshi__img {
  flex-shrink: 0;
  width: 200px;
  max-width: 100%;
}

.ws-eruboshi__img img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 994px) {
  .ws-eruboshi {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .ws-eruboshi__img {
    width: 160px;
  }
}

@media screen and (max-width: 767px) {
  .ws-subheading {
    font-size: 18px;
  }

  .ws-detail {
    padding-left: 22px;
  }

  .ws-list li {
    font-size: 14px;
  }
}
