/* ── SALARY ── */
.salary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 15px;
}

.salary-card {
  background: #fff;
  border-radius: var(--rxl);
  padding: 19px;
  border: 1px solid var(--bdr);
  text-align: center;
  transition: .2s;
}

.salary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .07);
}

.salary-card--featured {
  border: 2px solid var(--navy);
  position: relative;
}

.featured-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.salary-type-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.salary-range {

  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.salary-unit {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.salary-description {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--bdr);
}

/* ── SELECTION FLOW ── */
.selection-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  margin-bottom: 22px;
}

.selection-flow::-webkit-scrollbar {
  display: none;
}

.selection-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  min-width: 84px;
}

.selection-step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 700;
  font-size: 15px;
}

.selection-step-circle.is-accent {
  background: var(--accent);
}

.selection-step-label {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 5px;
  line-height: 1.4;
  max-width: 76px;
}

.selection-step-line {
  flex: 1;
  height: 2px;
  background: var(--bdr);
  margin-top: 23px;
  min-width: 9px;
}

/* ── RECRUIT TABS (Flip Switch Design) ── */
.flip-switch-container {
  --card-width: 140px;
  --card-height: 50px;
  --switch-bg: #f0f2f5;
  --switch-border-color: rgba(0, 0, 0, 0.05);
  --text-color: var(--navy);
  --inactive-text-color: var(--muted);
  --icon-shadow-color: rgba(0, 0, 0, 0.1);
  --card-bg: var(--navy);
  --highlight-color: var(--accent);

  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
  font-family: inherit;
}

.flip-switch {
  display: flex;
  position: relative;
  width: calc(var(--card-width) * 2);
  height: var(--card-height);
  background: var(--switch-bg);
  border-radius: 20px;
  border: 1px solid var(--switch-border-color);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.05),
    inset 0 2px 4px rgba(255, 255, 255, 0.5);
  perspective: 1000px;
}

.flip-switch input[type="radio"] {
  display: none;
}

.flip-switch .switch-button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  z-index: 2;
  color: var(--inactive-text-color);
  transition: all 0.3s ease;
  position: relative;
  font-weight: 700;
  font-size: 16px;
}

.flip-switch .switch-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.flip-switch .switch-button span {
  letter-spacing: 0.5px;
}

.flip-switch #switch-opt-1:checked~[for="switch-opt-1"],
.flip-switch #switch-opt-2:checked~[for="switch-opt-2"] {
  color: #ffffff;
}

.flip-switch .switch-card {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--card-width);
  height: 100%;
  z-index: 1;
  transform-style: preserve-3d;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  transform: translateX(0) rotateY(0);
}

.flip-switch .card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: var(--card-bg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.flip-switch .card-back {
  transform: rotateY(180deg);
}

.flip-switch #switch-opt-2:checked~.switch-card {
  transform: translateX(100%) rotateY(180deg);
}

.flip-switch #switch-opt-1:checked~[for="switch-opt-1"]::after,
.flip-switch #switch-opt-2:checked~[for="switch-opt-2"]::after {
  content: "";
  position: absolute;
  bottom: 8px;
  width: 50%;
  height: 2px;
  background: var(--highlight-color);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--highlight-color);
}

.recruit-pages-container .recruit-panel {
  display: none;
}

.recruit-pages-container .recruit-panel.is-active {
  display: block;
  animation: recruitReveal 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes recruitReveal {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.98);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}


/* ── SPEC TABLE ── */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table tr {
  border-bottom: 1px solid var(--bdr);
}

.spec-table td {
  padding: 10px 12px;
  vertical-align: top;
}

.spec-table td:first-child {
  width: 108px;
  font-weight: 700;
  color: var(--navy);
  background: var(--bg);
  font-size: 13px;
}

.spec-table td:last-child {
  color: var(--muted);
}

/* ── INCENTIVE FLOW ── */
.incentive-flow {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 11px;
}

.incentive-box {
  background: #fff;
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  padding: 8px 11px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  min-width: 74px;
}

.incentive-arrow {
  color: var(--accent);
  font-weight: 800;
  font-size: 15px;
}

.incentive-box--is-result {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ── FAQ ── */
.faq-wrapper {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--bdr);
}

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 12px 0;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  font-family: 'Noto Sans JP', sans-serif;
}

.faq-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  color: var(--navy);
  font-weight: 700;
  transition: transform .2s;
}

.faq-answer-panel {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  padding: 0 0 12px;
  display: none;
}

.faq-answer-panel.is-active {
  display: block;
}

.faq-icon.is-active {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}