/* ============================================
   License Page — 資格取得希望者・養成校の方へ
   ============================================ */

/* ─── Active state for header pathway button ─── */
.header-pathway-btn--active {
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.5);
  filter: brightness(1.08);
}

/* ─── PC only break ─── */
.pc-only { display: inline; }

/* ============================================
   Page Hero
   ============================================ */
.page-hero {
  position: relative;
  background: var(--green-dark);
  color: #fff;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(51,168,104,.35) 0%, transparent 70%),
    linear-gradient(135deg, #0f3d22 0%, #1a6b40 50%, #33a868 100%);
  z-index: 0;
}

/* subtle dot pattern */
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 64px;
  padding-bottom: 56px;
}

.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-pill);
  padding: 6px 16px;
  margin-bottom: 24px;
}

.page-hero-label svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.page-hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}

.page-hero-desc {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255,255,255,.82);
  max-width: 640px;
}

/* Step indicator bar */
.page-hero-steps {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 48px;
  flex-wrap: wrap;
  gap: 8px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.step-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(255,255,255,.55);
}

.step-text {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  white-space: nowrap;
}

.step-arrow {
  font-size: 18px;
  color: rgba(255,255,255,.35);
  padding: 0 12px;
  margin-top: 6px;
}

.step-item--goal {
  gap: 2px;
}

.step-item--goal svg {
  width: 20px;
  height: 20px;
  color: #7ee8b5;
  stroke: #7ee8b5;
}

.step-item--goal .step-text {
  color: #7ee8b5;
  font-weight: 800;
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 12px 0;
  flex-wrap: wrap;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--text-sub);
}

.breadcrumb-list li + li::before {
  content: '›';
  margin: 0 10px;
  color: var(--border);
  font-size: 16px;
  line-height: 1;
}

.breadcrumb-list a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color .15s;
}

.breadcrumb-list a:hover { color: var(--green-dark); }

.breadcrumb-list [aria-current="page"] {
  color: var(--text);
  font-weight: 500;
}

/* ============================================
   License News Section
   ============================================ */
.lp-news-section {
  padding: 56px 0 48px;
  background: #fff;
}

.lp-news-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.lp-news-header .section-title--green {
  flex-shrink: 0;
}

.section-title--green::before {
  background: var(--green);
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--green), 0 0 0 7px #fff, 0 0 0 10px var(--green);
}

.lp-news-filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-dark);
  background: #fff;
  border: 1px solid rgba(43,140,90,.5);
  border-radius: var(--r-pill);
  padding: 4px 14px;
  letter-spacing: .04em;
}

.lp-news-header .btn-outline-green {
  margin-left: auto;
}

.btn-outline-green {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--r-sm);
  border: 2px solid var(--green);
  color: var(--green);
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, color .15s, transform .15s;
  white-space: nowrap;
  letter-spacing: .02em;
  text-decoration: none;
}

.btn-outline-green:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-1px);
}

/* ============================================
   License Category Sections
   ============================================ */
.category-section--license .category-heading-icon {
  background: var(--green);
}

.category-section--license.category-section--org {
  background: #edf6f0;
}

.category-section--license .link-card {
  border-color: rgba(43, 140, 90, 0.24);
}

.category-section--license .link-card:hover {
  border-color: rgba(43, 140, 90, 0.24);
  box-shadow: none;
  transform: none;
}

.category-section--license .link-card .link-card-title {
  color: var(--green);
}

.category-section--license .link-card-sublinks a {
  color: var(--green);
}

.category-section--license .link-card-sublinks a:hover {
  color: var(--green-dark);
}

.category-section--license .link-card-arrow {
  color: var(--green);
}

.category-section--license .link-card:hover .link-card-arrow {
  opacity: .5;
  transform: none;
}

/* ============================================
   Responsive — Tablet
   ============================================ */
@media (max-width: 1023px) {
  .page-hero-steps { padding: 16px 24px; }
}

/* ============================================
   Responsive — Mobile
   ============================================ */
@media (max-width: 767px) {
  .pc-only { display: none; }

  .page-hero-inner {
    padding-top: 40px;
    padding-bottom: 36px;
  }

  .page-hero-steps {
    padding: 14px 16px;
    gap: 6px;
  }

  .step-arrow { padding: 0 6px; font-size: 14px; }
  .step-text  { font-size: 11px; }
  .step-num   { font-size: 9px; }

  .lp-news-header { flex-wrap: wrap; gap: 10px; }
  .lp-news-header .btn-outline-green { margin-left: 0; }

  .news-header-actions { display: none; }
}
