.recruitBnrBlock {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.recruitBnrLinks {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.recruitBnrLinks .bnrLink,
.recruitBnrLinks picture,
.recruitBnrLinks img {
  display: block;
  width: 100%;
}

.recruitBnrLinks img {
  height: auto;
}

.kdx {
  grid-column: 1 / -1;
}

.kdx {
  --ink: #12222f;
  --sub: #3b5068;
  --blue: #2e6fb0;
  --line: #d6e2ee;
  display: block;
  container-type: inline-size;
  width: 100%;
  color: var(--ink);
  text-decoration: none;
}

.kdx-card {
  position: relative;
  width: 100%;
  aspect-ratio: 2084 / 420;
  overflow: hidden;
  border: 1px solid #e3dccf;
  border-radius: clamp(14px, 1.45cqw, 30px);
  background: #fff;
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  text-decoration: none;
  box-sizing: border-box;
  transition: box-shadow 0.3s, transform 0.3s;
}

.kdx * {
  box-sizing: border-box;
}

.kdx:hover .kdx-card {
  box-shadow: 0 8px 28px rgba(46, 111, 176, 0.15);
  transform: translateY(-2px);
}

.kdx-panel {
  position: absolute;
  inset: 8.6% 2.1%;
  overflow: hidden;
  border-radius: 2.1cqw;
  background: linear-gradient(180deg, #f4f8fc, #edf3f9 40%, #e7eff7);
}

.kdx-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.kdx-o1 {
  top: -45%;
  left: 47%;
  width: 30cqw;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6), rgba(168, 208, 244, 0.35) 45%, transparent 68%);
  animation: kdx-f1 6s ease-in-out infinite;
}

.kdx-o2 {
  top: 5%;
  left: 71%;
  width: 25cqw;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), rgba(196, 190, 244, 0.32) 45%, transparent 66%);
  animation: kdx-f2 6s ease-in-out infinite;
}

.kdx-o3 {
  top: 30%;
  left: 30%;
  width: 22cqw;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 240, 225, 0.55), rgba(255, 214, 180, 0.25) 45%, transparent 66%);
  animation: kdx-f1 6s ease-in-out infinite reverse;
}

@keyframes kdx-f1 {
  50% { transform: translate(2cqw, 1.2cqw); }
}

@keyframes kdx-f2 {
  50% { transform: translate(-1.8cqw, -1cqw); }
}

.kdx-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(46, 111, 176, 0.13) 1px, transparent 1.2px);
  background-size: 1.35cqw 1.35cqw;
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 70%);
  mask-image: linear-gradient(90deg, transparent 35%, #000 70%);
}

.kdx-ring {
  position: absolute;
  top: -45%;
  left: 60%;
  width: 31cqw;
  height: auto;
  animation: kdx-rot 6s linear infinite;
}

@keyframes kdx-rot {
  to { transform: rotate(30deg); }
}

.kdx-txt {
  position: absolute;
  top: 50%;
  left: 3.8cqw;
  transform: translateY(-50%);
}

.kdx-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6cqw;
  padding: 0.4cqw 1.1cqw;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--sub);
  font-size: 1.15cqw;
  font-weight: 500;
}

.kdx-tag i {
  width: 0.5cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue);
}

.kdx-h {
  margin: 1.2cqw 0 0;
  font-size: 3.55cqw;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.kdx-g {
  background: linear-gradient(90deg, #2e6fb0, #8e9bd4, #2e6fb0);
  background-size: 200% 100%;
  background-clip: text;
  color: transparent;
  animation: kdx-sh 6s linear infinite;
  -webkit-background-clip: text;
}

@keyframes kdx-sh {
  to { background-position: -200% 0; }
}

.kdx-dash {
  position: absolute;
  top: 50%;
  left: 45.6%;
  width: 32.2cqw;
  transform: translateY(-50%);
}

.kdx-chip {
  display: flex;
  align-items: center;
  gap: 0.8cqw;
  height: 3cqw;
  padding: 0 1.05cqw;
  border: 1px solid var(--line);
  border-radius: 0.8cqw;
  background: rgba(255, 255, 255, 0.85);
  color: var(--sub);
  font-size: 1.06cqw;
  box-shadow: 0 0.3cqw 1cqw rgba(46, 111, 176, 0.08);
}

.kdx-live {
  display: flex;
  align-items: center;
  gap: 0.5cqw;
  color: var(--blue);
  white-space: nowrap;
}

.kdx-live i {
  position: relative;
  width: 0.58cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #2fb47c;
}

.kdx-live i::after {
  position: absolute;
  inset: -0.3cqw;
  border: 2px solid #2fb47c;
  border-radius: 50%;
  content: "";
  animation: kdx-pl 1.5s ease-out infinite;
}

@keyframes kdx-pl {
  0% { transform: scale(0.4); opacity: 1; }
  to { transform: scale(1.5); opacity: 0; }
}

.kdx-sep {
  width: 1px;
  height: 1.25cqw;
  background: var(--line);
}

.kdx-msgs {
  position: relative;
  flex: 1;
  height: 1.5cqw;
  overflow: hidden;
}

.kdx-msgs span {
  position: absolute;
  inset: 0;
  opacity: 0;
  white-space: nowrap;
  animation: kdx-mc 6s infinite;
}

.kdx-msgs span:nth-child(2) { animation-delay: 2s; }
.kdx-msgs span:nth-child(3) { animation-delay: 4s; }

@keyframes kdx-mc {
  0% { opacity: 0; transform: translateY(0.6cqw); }
  6%, 30% { opacity: 1; transform: none; }
  36%, to { opacity: 0; transform: translateY(-0.6cqw); }
}

.kdx-chk {
  margin-left: auto;
  color: #2fb47c;
}

.kdx-stats {
  display: flex;
  gap: 0.86cqw;
  margin-top: 0.86cqw;
}

.kdx-s {
  position: relative;
  flex: 1;
  height: 8.4cqw;
  overflow: hidden;
  padding: 1.05cqw 1.15cqw;
  border: 1px solid var(--line);
  border-radius: 0.86cqw;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0.3cqw 1cqw rgba(46, 111, 176, 0.08);
}

.kdx-s small {
  display: block;
  color: #5a6f86;
  font-size: 0.96cqw;
  font-weight: 500;
}

.kdx-s strong {
  display: block;
  margin-top: 0.7cqw;
  font-size: 3.17cqw;
  font-weight: 700;
  line-height: 1;
}

.kdx-s strong.kdx-w {
  padding-top: 0.5cqw;
  font-size: 2.5cqw;
}

.kdx-s em {
  margin-left: 0.3cqw;
  color: var(--blue);
  font-size: 1.06cqw;
  font-style: normal;
}

.kdx-s::after {
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  content: "";
  animation: kdx-sw 6s ease-in-out infinite;
}

.kdx-s:nth-child(2)::after { animation-delay: 0.25s; }
.kdx-s:nth-child(3)::after { animation-delay: 0.5s; }

@keyframes kdx-sw {
  0%, 55% { left: -60%; }
  80%, to { left: 130%; }
}

.kdx-cta {
  position: absolute;
  top: 50%;
  right: 3.2cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 11cqw;
  height: 5.4cqw;
  transform: translateY(-50%);
  border-radius: 99px;
  background: #17293c;
  color: #fff;
  font-size: 1.06cqw;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 0.5cqw 1.2cqw rgba(23, 41, 60, 0.25);
}

.kdx-cta .kdx-ct {
  color: #fff;
  font-size: inherit;
  font-weight: 700;
  letter-spacing: 0;
}

.kdx-cta > span:first-child {
  color: #a8c4e4;
  font-size: 0.72cqw;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.kdx-cta .kdx-ct b {
  display: inline-block;
  animation: kdx-ar 1.5s ease-in-out infinite;
}

@keyframes kdx-ar {
  50% { transform: translateX(0.4cqw); }
}

@container (max-width: 719px) {
  .kdx-panel {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 14px;
    padding: 22px 18px 18px;
    border-radius: 20px;
  }

  .kdx-card { aspect-ratio: auto; }

  .kdx-txt,
  .kdx-dash,
  .kdx-cta {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    transform: none;
  }

  .kdx-tag { gap: 6px; padding: 4px 12px; font-size: 12px; }
  .kdx-tag i { width: 6px; }
  .kdx-h { margin-top: 12px; font-size: clamp(22px, 7cqw, 34px); }
  .kdx-dash { width: 100%; }
  .kdx-chip { gap: 8px; height: 40px; padding: 0 12px; border-radius: 10px; font-size: 12px; }
  .kdx-live { gap: 5px; }
  .kdx-live i { width: 7px; }
  .kdx-live i::after { inset: -4px; }
  .kdx-sep { height: 16px; }
  .kdx-msgs { height: 18px; }
  .kdx-msgs span { animation-name: kdx-mcm; }
  .kdx-chk { display: none; }
  .kdx-stats { gap: 8px; margin-top: 8px; }
  .kdx-s { height: auto; padding: 10px 10px 12px; border-radius: 10px; }
  .kdx-s small { font-size: 11px; }
  .kdx-s strong { margin-top: 6px; font-size: clamp(24px, 8cqw, 36px); }
  .kdx-s strong.kdx-w { padding-top: 4px; font-size: clamp(18px, 6cqw, 28px); }
  .kdx-s em { margin-left: 2px; font-size: 11px; }
  .kdx-cta { flex-direction: row; gap: 10px; width: 100%; height: 52px; font-size: 15px; }
  .kdx-cta > span:first-child { font-size: 10px; }
  .kdx-orb { width: 70cqw; }
  .kdx-ring { top: -20%; left: 30%; width: 90cqw; }
  .kdx-grid { background-size: 16px 16px; }
}

@media screen and (max-width: 768px) {
  .recruitBnrBlock,
  .recruitBnrLinks {
    grid-template-columns: minmax(0, 1fr);
  }
}

@keyframes kdx-mcm {
  0% { opacity: 0; transform: translateY(6px); }
  6%, 30% { opacity: 1; transform: none; }
  36%, to { opacity: 0; transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .kdx *,
  .kdx *::after {
    animation: none !important;
  }

  .kdx-msgs span:first-child { opacity: 1; }
}