/* ============================================================
   Concerns section: "こんな育成の悩み、ありませんか？"
   Shared header/inner/title/lead come from section.css — this
   file only contains concerns-specific styles.
   ============================================================ */

/* Concerns follows the KV, so it needs extra top padding */
.concerns {
  padding-top: clamp(140px, 18vw, 220px);
}

.concerns__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}

.concerns__item {
  position: relative;
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.5vw, 32px);
  background: #ffffff;
  border: 1px solid #d8dfe8;
  border-radius: 16px;
  box-shadow: 0 18px 40px -22px rgba(13, 30, 60, 0.28),
              0 2px 6px -2px rgba(13, 30, 60, 0.08);
  overflow: hidden;
}

/* ---------- Visual area (mini-dashboard, KV-style) ---------- */
.concerns__visual {
  position: relative;
  width: 100%;
  height: 140px;
  margin-bottom: clamp(18px, 2vw, 24px);
  background: linear-gradient(180deg, #f4f8fc 0%, #e6edf6 100%);
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Shared row layout (Cards 01 & 02): skill / bar / status pill ---- */
.cv-bb {
  width: 86%;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cv-bb__row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 10px;
}
.cv-bb__skill {
  height: 6px;
  background: #c5cfdb;
  border-radius: 3px;
}
.cv-bb__bar {
  position: relative;
  height: 8px;
  background: #e1e7ef;
  border-radius: 9999px;
  overflow: hidden;
}
.cv-bb__fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-blue), #54b3ee);
  border-radius: 9999px;
  box-shadow: 0 0 8px rgba(46, 146, 214, 0.4);
}
.cv-bb__status {
  font-family: "Nunito", "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border-radius: 9999px;
  white-space: nowrap;
  border: 1px solid transparent;
}
.cv-bb__status--ok {
  color: #1aa330;
  background: rgba(41, 201, 61, 0.12);
  border-color: rgba(41, 201, 61, 0.35);
}
.cv-bb__status--ng {
  color: #d72a2a;
  background: rgba(215, 42, 42, 0.12);
  border-color: rgba(215, 42, 42, 0.35);
}

/* 01 Black box: faded bar chart with a big "?" overlay */
.cv-bx {
  position: relative;
  width: 86%;
  height: 78%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cv-bx__chart {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  opacity: 0.45;
}
.cv-bx__chart span {
  flex: 1;
  height: var(--h);
  min-height: 8px;
  background: linear-gradient(180deg, var(--brand-blue), #54b3ee);
  border-radius: 3px 3px 0 0;
}
.cv-bx__mark {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font: 900 32px/1 "Nunito", sans-serif;
  color: #fff;
  background: var(--brand-orange);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(237, 111, 37, 0.18),
              0 10px 20px -8px rgba(237, 111, 37, 0.55);
}

/* 02 Uniform program: one OK, two NG */
.concerns__visual--funnel .cv-bb__row:nth-child(1) .cv-bb__fill { width: 84%; }
.concerns__visual--funnel .cv-bb__row:nth-child(2) .cv-bb__fill { width: 24%; }
.concerns__visual--funnel .cv-bb__row:nth-child(3) .cv-bb__fill { width: 36%; }

/* ---- 03: Strategy ⇏ Training (broken link) ---- */
.cv-dc {
  width: 90%;
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 6px;
  align-items: center;
}
.cv-dc__card {
  padding: 10px 11px;
  background: #ffffff;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 6px 14px -10px rgba(13, 30, 60, 0.22);
}
.cv-dc__tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: 0.06em;
  line-height: 1;
}
.cv-dc__line {
  height: 5px;
  width: var(--w);
  background: #e1e7ef;
  border-radius: 3px;
}
.cv-dc__link {
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cv-dc__track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 8px;
  height: 2px;
  background: #d8dfe8;
  border-radius: 1px;
  transform: translateY(-50%);
}
.cv-dc__head {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 7px;
  height: 7px;
  border-top: 2px solid #d8dfe8;
  border-right: 2px solid #d8dfe8;
  transform: translateY(-50%) rotate(45deg);
}
.cv-dc__fill {
  position: absolute;
  top: 50%;
  left: 0;
  right: 8px;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 1px;
  transform-origin: left;
  transform: translateY(-50%) scaleX(0.42);
}
.cv-dc__break {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font: 900 13px/1 "Nunito", sans-serif;
  color: #ffffff;
  background: var(--brand-orange);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(237, 111, 37, 0.18);
}

.concerns__item-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 900;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.concerns__item-desc {
  font-size: clamp(13px, 1.1vw, 14px);
  line-height: 1.85;
  color: #5b6776;
  font-weight: 500;
}

/* Tablet */
@media (max-width: 900px) {
  .concerns__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .concerns__item:nth-child(3) {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
    margin: 0 auto;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .concerns__list {
    grid-template-columns: 1fr;
  }

  .concerns__item:nth-child(3) {
    max-width: 100%;
    margin: 0;
  }

  .concerns__visual {
    height: 120px;
  }
}
