:root {
  --ink: #111019;
  --muted: #6f6a78;
  --line: #e7e3ee;
  --purple: #211052;
  --purple-2: #321676;
  --purple-3: #4a2c91;
  --pale: #f8f7fb;
  --white: #ffffff;
  --shadow: 0 12px 28px rgba(25, 15, 57, 0.08);
  --container: 1100px;
  --container-gutter: 64px;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

/* コンテンツが少ないページでもフッターを画面下に固定（スティッキーフッター） */
body.next-stories {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

body.admin-bar.next-stories {
  min-height: calc(100vh - 32px);
  min-height: calc(100dvh - 32px);
}

@media (max-width: 782px) {
  body.admin-bar.next-stories {
    min-height: calc(100vh - 46px);
    min-height: calc(100dvh - 46px);
  }
}

body.next-stories > .site-header {
  flex-shrink: 0;
}

body.next-stories > main {
  flex: 1 1 auto;
  width: 100%;
}

body.next-stories > .site-footer {
  flex-shrink: 0;
  margin-top: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.material-symbols-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 31;
  height: 54px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #eeeaf5;
}


.header-inner {
  display: grid;
  grid-template-columns: 205px 1fr;
  align-items: center;
  gap: 18px;
  width: min(100% - var(--container-gutter), var(--container));
  height: 100%;
  margin: 0 auto;
}

.nova-mono-regular {
  font-family: "Nova Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

body.ns-is-loading {
  overflow: hidden;
}

.ns-page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.ns-page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ns-page-loader__logo {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  margin: 0;
  color: #0b0b12;
  font-size: 84px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.ns-page-loader__char {
  opacity: 0;
  transform: translateY(12px);
  animation: ns-loader-char-in 0.4s ease forwards;
}

.ns-page-loader__char--accent {
  color: #5d3faf;
}

.ns-page-loader__char--space {
  display: inline-block;
  width: 0.35em;
}

@keyframes ns-loader-char-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ns-page-loader__char {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .ns-page-loader {
    transition-duration: 0.2s;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  color: #0b0b12;
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.brand__x {
  color: #5d3faf;
}

.global-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  height: 100%;
}

.global-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #17131e;
  font-size: 12px;
  font-weight: 700;
}

.global-nav a.is-current::after {
  position: absolute;
  right: -12px;
  bottom: -1px;
  left: -12px;
  height: 3px;
  background: var(--purple);
  content: "";
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--purple);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle__icon {
  font-size: 24px;
}

.nav-toggle__icon--close {
  display: none;
}

body.is-nav-open .nav-toggle__icon--open {
  display: none;
}

body.is-nav-open .nav-toggle__icon--close {
  display: inline-flex;
}

body.is-nav-open {
  overflow: hidden;
}

.global-nav__toolbar,
.global-nav__menu {
  display: contents;
}

.global-nav__logo,
.global-nav__close {
  display: none;
}

.top-showcase {
  width: 100%;
  margin: 0 0 29px;
}

.top-showcase-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(0, 1fr);
  gap: 13px;
  width: min(100% - var(--container-gutter), var(--container));
  margin: 0 auto;
}

.hero-feature {
  position: relative;
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 389px;
  overflow: hidden;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.06) 0 20%, transparent 20% 100%),
    linear-gradient(130deg, #170a48 0%, #241062 48%, #1d0d53 100%);
}

.hero-feature::before,
.hero-feature::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.hero-feature::before {
  background:
    linear-gradient(108deg, transparent 0 50%, rgba(255, 255, 255, 0.09) 50% 51%, transparent 51%),
    linear-gradient(144deg, transparent 0 67%, rgba(255, 255, 255, 0.06) 67% 100%);
}

.hero-feature::after {
  width: 72%;
  background: linear-gradient(90deg, rgba(17, 6, 55, 0.12), transparent);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 0 34px 32px;
  color: var(--white);
}

.hero-kicker {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(35px, 4.4vw, 43px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-lead {
  margin: 21px 0 30px;
  font-size: 14px;
  font-weight: 600;
  line-height: 2;
}

.outline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 134px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
}

.outline-link .material-symbols-outlined {
  font-size: 18px;
}

.hero-photo-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 30px 16px 30px 0;
}

.hero-photo-wrap::before {
  position: absolute;
  top: 30px;
  right: 16px;
  bottom: 30px;
  left: -8px;
  background: rgba(255, 255, 255, 0.06);
  clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%, 13% 50%);
  content: "";
}

.hero-photo {
  position: relative;
  width: 280px;
  height: 305px;
  object-fit: cover;
  border-radius: 5px;
  clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%, 13% 50%);
}

.ranking-list {
  min-height: 0;
  padding: 15px 0 0;
}

.ranking-swiper {
  height: 381px;
  overflow: hidden;
}

.ranking-swiper .swiper-slide {
  height: 126px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 151px 1fr;
  gap: 14px;
  box-sizing: border-box;
  height: 117px;
  min-height: 0;
  padding-bottom: 9px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.ranking-item img {
  width: 151px;
  height: 108px;
  object-fit: cover;
  border-radius: 4px;
}

.category,
.meta-row span {
  color: var(--purple-3);
  font-size: 10px;
  font-weight: 800;
}

.category {
  margin: 0;
}

.ranking-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
}

.ranking-item__meta .category {
  min-width: 0;
}

.ranking-item__meta time {
  flex-shrink: 0;
  margin: 0;
}

.ranking-item h2 {
  margin: 5px 0 6px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.ranking-item h2 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-decoration: none;
}

.ranking-item time,
.meta-row time {
  color: #7b7784;
  font-size: 9px;
  font-weight: 600;
}

.person,
.name {
  margin: 2px 0;
  font-size: 12px;
  font-weight: 800;
}

.company,
.role {
  margin: 0;
  color: #5f5a68;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.65;
}

.content-section {
  width: min(100% - var(--container-gutter), var(--container));
  margin: 0 auto 76px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}

.section-heading h2 {
  position: relative;
  margin: 0;
  padding-left: 16px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.section-heading h2::before {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 4px;
  background: var(--purple);
  border-radius: 99px;
  content: "";
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
}

.view-all .material-symbols-outlined {
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 18px;
}

.interview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.interview-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.interview-card__media {
  display: block;
}

.interview-card img,
.interview-card__media-placeholder {
  width: 100%;
  aspect-ratio: 1.81 / 1;
}

.interview-card img {
  object-fit: cover;
}

.interview-card__media-placeholder {
  display: block;
  background: linear-gradient(135deg, #f3f0f8 0%, #e8e2f0 100%);
}

.card-body {
  min-height: 95px;
  padding: 7px 10px 8px;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.interview-card h3 {
  display: -webkit-box;
  min-height: 34px;
  margin: 0 0 12px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.feature-archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-archive-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  grid-template-rows: auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.feature-archive-card__media {
  display: block;
  min-height: 158px;
}

.feature-archive-card__media img,
.feature-archive-card__media-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 158px;
  object-fit: cover;
}

.feature-archive-card__media-placeholder {
  background: linear-gradient(135deg, #f3f0f8 0%, #e8e2f0 100%);
}

.feature-archive-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 158px;
  padding: 18px 22px;
}

.feature-archive-card__body .meta-row {
  margin-bottom: 8px;
}

.feature-archive-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.feature-archive-card__title a {
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.feature-archive-card__body .name {
  margin: 0 0 4px;
}

.feature-archive-card__body .role {
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.feature-card {
  position: relative;
  min-height: 201px;
  overflow: hidden;
  padding: 25px 16px 15px;
  color: var(--white);
  border-radius: 5px;
}

.purple-card {
  background:
    linear-gradient(126deg, rgba(255, 255, 255, 0.08) 0 24%, transparent 24%),
    linear-gradient(144deg, transparent 0 60%, rgba(255, 255, 255, 0.07) 60% 100%),
    linear-gradient(135deg, #33197a 0%, #211055 100%);
}

.purple-card.alt {
  background:
    linear-gradient(122deg, rgba(255, 255, 255, 0.08) 0 22%, transparent 22%),
    linear-gradient(140deg, transparent 0 64%, rgba(255, 255, 255, 0.08) 64% 100%),
    linear-gradient(135deg, #2c176f 0%, #43238a 100%);
}

.image-card img,
.image-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.image-card img {
  object-fit: cover;
}

.image-overlay {
  background: linear-gradient(180deg, rgba(13, 8, 31, 0.36), rgba(9, 6, 20, 0.75));
}

.image-overlay.green {
  background: linear-gradient(180deg, rgba(13, 25, 15, 0.25), rgba(5, 9, 7, 0.78));
}

.feature-card p,
.feature-card h3,
.feature-card a {
  position: relative;
  z-index: 1;
}

.feature-card p {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  word-break: break-word;
}

.feature-card a {
  position: absolute;
  bottom: 15px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 86px;
  height: 27px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 800;
}

.feature-card a .material-symbols-outlined {
  font-size: 16px;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
}

.company-card {
  display: flex;
  height: 143px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 20px 11px 14px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.logo-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  color: #16151c;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.logo-text.uzabase {
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 23px;
  letter-spacing: 5px;
}

.logo-text.smarthr {
  color: #11b6c7;
  font-size: 17px;
}

.logo-text.smarthr i {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-right: 4px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
  font-style: normal;
}

.logo-text.layerx {
  font-size: 18px;
}

.logo-text.layerx i {
  width: 24px;
  height: 18px;
  margin-right: 7px;
  background:
    linear-gradient(34deg, transparent 0 35%, #6a35ff 35% 65%, transparent 65%),
    linear-gradient(146deg, transparent 0 35%, #3c29df 35% 65%, transparent 65%);
}

.logo-text.base i {
  width: 22px;
  height: 24px;
  margin-right: 6px;
  background:
    linear-gradient(45deg, transparent 38%, #ff7c4d 38% 51%, transparent 51%),
    linear-gradient(135deg, transparent 38%, #21b7b9 38% 51%, transparent 51%),
    linear-gradient(0deg, transparent 35%, #f2c94c 35% 49%, transparent 49%);
}

.logo-text.rice {
  font-size: 15px;
  letter-spacing: 0.5px;
}

.logo-text.rice i {
  width: 14px;
  height: 14px;
  margin-right: 7px;
  background:
    linear-gradient(90deg, #101019 0 31%, transparent 31% 69%, #101019 69%),
    linear-gradient(#101019 0 31%, transparent 31% 69%, #101019 69%);
}

.logo-text.rcf {
  font-size: 23px;
}

.logo-text.rcf i {
  width: 28px;
  height: 28px;
  margin-right: 6px;
  background: conic-gradient(#4aa9ff 0 24%, #8dc63f 24% 50%, #f6c03b 50% 73%, #ee3e38 73% 100%);
  border-radius: 50%;
}

.company-card p {
  display: -webkit-box;
  margin: 13px 0 11px;
  overflow: hidden;
  color: #3d3748;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.company-card span {
  color: var(--purple-3);
  font-size: 10px;
  font-weight: 800;
}

.company-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  color: inherit;
  text-decoration: none;
}

.company-logo {
  display: block;
  max-width: 100%;
  max-height: 36px;
  margin: 0 auto;
  object-fit: contain;
}

.company-logo--placeholder {
  max-height: 48px;
  object-fit: contain;
}

/* 企業一覧（/companies/） */
.archive-page--companies .company-grid--archive {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.archive-page--companies .company-card--archive {
  height: auto;
  padding: 10px 10px 12px;
}

.archive-page--companies .company-card--archive .company-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 8px;
}

.archive-page--companies .company-card__media {
  display: flex;
  width: 100%;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 4px;
}

.archive-page--companies .company-card__image {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  max-height: none;
  object-fit: cover;
}

.archive-page--companies .company-card__image--placeholder {
  object-fit: cover;
}

.archive-page--companies .company-card__media .logo-text {
  min-height: 0;
  padding: 12px;
  font-size: 14px;
  white-space: normal;
}

.archive-page--companies .company-card__name {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #3d3748;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.archive-page--companies .company-card__tag {
  display: block;
  margin: 0;
}

.archive-page--companies .company-card--hidden,
.archive-page--executives .pickup-person--hidden {
  display: none;
}

/* 経営者一覧のグリッド下余白 */
.archive-page--executives .pickup-grid--archive {
  margin-bottom: 50px;
}

.archive-load-more {
  margin-top: 28px;
  text-align: center;
}

.archive-load-more__btn {
  min-width: 240px;
  padding: 16px 40px;
  color: var(--purple-2);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  background: var(--white);
  border: 1px solid var(--purple-2);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.archive-load-more__btn:hover,
.archive-load-more__btn:focus-visible {
  color: var(--white);
  background: var(--purple-2);
  outline: none;
}

.archive-page {
  padding: 28px 0 64px;
}

.archive-page .content-section {
  padding-top: 0;
}

.archive-page__heading h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.archive-page__grid {
  margin-top: 18px;
}

.archive-empty {
  margin: 24px 0 0;
  color: #5c5668;
  font-size: 14px;
}

.archive-pagination {
  margin-top: 28px;
  text-align: center;
}

.archive-pagination .page-numbers {
  display: inline-block;
  min-width: 32px;
  margin: 0 3px;
  padding: 6px 10px;
  color: var(--purple-2);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.archive-pagination .page-numbers.current {
  color: var(--white);
  background: var(--purple-2);
  border-color: var(--purple-2);
}

.entity-archive {
  padding: 28px 0 64px;
}

.entity-archive-grid {
  margin-top: 8px;
}

.entity-archive-grid--people {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.entity-empty {
  margin: 24px 0 0;
  color: #5c5668;
  font-size: 14px;
}

/* 記事個別（インタビュー） */
.article-single-page {
  padding: 28px 0 64px;
}

.article-single {
  width: min(100% - var(--container-gutter), 800px);
  max-width: 800px;
  margin: 0 auto;
}

.article-single__back {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 700;
}

.article-single__back a {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--purple-2);
  text-decoration: none;
}

.article-single__back .material-symbols-outlined {
  font-size: 18px;
}

.article-single__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.article-single__category {
  margin: 0;
  color: var(--purple-3);
  font-size: 11px;
  font-weight: 800;
}

.article-single__date {
  flex-shrink: 0;
  color: #7b7784;
  font-size: 11px;
  font-weight: 600;
}

.article-single__title {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.article-single__byline {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.article-single__name {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 800;
}

.article-single__name a {
  color: var(--ink);
  text-decoration: none;
}

.article-single__name a:hover {
  color: var(--purple-2);
}

.article-single__company,
.article-single__role {
  margin: 0;
  color: #5f5a68;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
}

.article-single__company a {
  color: var(--purple-2);
  font-weight: 700;
  text-decoration: none;
}

.article-single__role-sep {
  color: #9a94a8;
}

.article-single__thumbnail {
  margin: 0 0 28px;
}

.article-single__thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.article-single__thumbnail figcaption {
  margin-top: 8px;
  color: #7b7784;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.article-single__content {
  color: #2d2937;
  font-size: 15px;
  line-height: 1.9;
}

.article-single__content > *:first-child {
  margin-top: 0;
}

.article-single__content > *:last-child {
  margin-bottom: 0;
}

.article-single__content p {
  margin: 0 0 1.35em;
}

/* 投稿本文見出し（トップのセクション見出しと同系統） */
.article-single__content h2,
.article-single__content h2.wp-block-heading {
  position: relative;
  margin: 2.4em 0 1em;
  padding: 0 0 12px 16px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line);
}

.article-single__content h2::before,
.article-single__content h2.wp-block-heading::before {
  position: absolute;
  top: 0.2em;
  bottom: calc(12px + 0.2em);
  left: 0;
  width: 4px;
  background: var(--purple);
  border-radius: 99px;
  content: "";
}

.article-single__content h3,
.article-single__content h3.wp-block-heading {
  position: relative;
  margin: 1.75em 0 0.65em;
  padding-left: 14px;
  color: var(--purple-2);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.article-single__content h3::before,
.article-single__content h3.wp-block-heading::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--purple-3);
  border-radius: 50%;
  content: "";
}

.article-single__content h2 + h3,
.article-single__content h2.wp-block-heading + h3.wp-block-heading {
  margin-top: 1.1em;
}

.article-single__content ul,
.article-single__content ol {
  margin: 0 0 1.35em;
  padding-left: 1.4em;
}

.article-single__content li {
  margin-bottom: 0.35em;
}

.article-single__content a {
  color: var(--purple-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-single__content .ns-article-cta-wrap {
  margin: 1.75em 0;
  text-align: center;
}

.article-single__content a.ns-article-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 50%;
  max-width: 100%;
  padding: 18px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--purple);
  border-radius: 3px;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.article-single__content a.ns-article-cta:hover,
.article-single__content a.ns-article-cta:focus-visible {
  color: var(--purple-2);
  background: var(--pale);
  border-color: var(--purple-2);
}

.article-single__content .ns-article-youtube-wrap {
  margin: 1.75em 0;
}

.article-single__content .ns-article-youtube {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: #000;
  border-radius: 4px;
}

.article-single__content .ns-article-youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.article-single__content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.article-single__content blockquote {
  margin: 1.5em 0;
  padding: 14px 18px;
  color: #4a4456;
  background: var(--pale);
  border-left: 3px solid var(--purple-3);
  border-radius: 0 4px 4px 0;
}

.article-single__content .wp-block-image {
  margin: 1.75em 0;
}

.entity-detail-page {
  padding: 28px 0 64px;
}

.entity-detail__header {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.entity-detail__photo img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 6px;
}

.entity-detail__tag {
  margin: 0 0 8px;
  color: var(--purple-3);
  font-size: 12px;
  font-weight: 800;
}

.entity-detail__header h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
}

.entity-detail__role,
.entity-detail__company,
.entity-detail__representative {
  margin: 0;
  color: #4a4456;
  font-size: 14px;
  font-weight: 600;
}

.entity-detail__body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  margin-bottom: 40px;
}

.entity-detail__profile h2,
.entity-detail__aside h2,
.entity-detail__related h2 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
}

.entity-detail__content {
  color: #2d2937;
  font-size: 14px;
  line-height: 1.85;
}

.entity-detail__facts {
  margin: 0;
}

.entity-detail__facts div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
}

.entity-detail__facts dt {
  margin: 0;
  color: #6a6378;
  font-weight: 700;
}

.entity-detail__facts dd {
  margin: 0;
}

.entity-detail__related {
  margin-top: 8px;
}

.entity-detail__people {
  padding: 0;
}

.entity-detail__related + .entity-detail__related {
  margin-top: 36px;
}

/* 企業詳細（/companies/{slug}/） */
.company-detail-page {
  padding: 0 0 64px;
}

.company-detail-page .content-section,
.company-detail__header-inner {
  width: min(100% - var(--container-gutter), 800px);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.company-detail-page .content-section {
  margin-bottom: 0;
}

.company-detail {
  width: 100%;
  max-width: none;
  margin: 0;
}

.company-detail__header-band {
  width: 100%;
  margin-bottom: 36px;
}

.company-detail__header-inner {
  box-sizing: border-box;
  padding: 28px 0 36px;
}

.company-detail__back {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 700;
}

.company-detail__header-band .company-detail__back a {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.company-detail__header-band .company-detail__back a:hover,
.company-detail__header-band .company-detail__back a:focus-visible {
  color: var(--white);
}

.company-detail__back .material-symbols-outlined {
  font-size: 18px;
}

.company-detail__hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
  margin: 0;
}

.company-detail__logo-image--photo {
  object-fit: cover;
}

.company-detail__facts dd a {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.company-detail__facts dd a:hover {
  opacity: 0.75;
}

.company-detail__logo {
  display: flex;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f3f1f6;
  border-radius: 4px;
}

.company-detail__logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.company-detail__logo-image--placeholder {
  object-fit: cover;
}

.company-detail__header-band .company-detail__tag {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.company-detail__header-band .company-detail__title {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.company-detail__header-band .company-detail__representative {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.company-detail__header-band .company-detail__representative-label {
  margin-right: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.company-detail__header-band .company-detail__representative a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.company-detail__header-band .company-detail__representative a:hover,
.company-detail__header-band .company-detail__representative a:focus-visible {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
}

.company-detail__header-band .company-detail__representative-role {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.company-detail__representative-role::before {
  content: "（";
}

.company-detail__representative-role::after {
  content: "）";
}

.company-detail__body {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.company-detail__facts .company-detail__content {
  color: #000;
  font-size: 16px;
  line-height: 1.85;
}

.company-detail__content p {
  margin: 0 0 1em;
}

.company-detail__content p:last-child {
  margin-bottom: 0;
}

.company-detail__facts-box {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.company-detail__facts {
  margin: 0;
}

.company-detail__facts div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px 20px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: #000;
  font-size: 16px;
  line-height: 1.65;
}

.company-detail__facts div:last-child {
  border-bottom: 0;
}

.company-detail__facts dt {
  margin: 0;
  color: #000;
  font-size: 16px;
  font-weight: 600;
}

.company-detail__facts dd {
  margin: 0;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  word-break: break-word;
}

.company-detail__facts a {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.company-detail__facts a:hover {
  opacity: 0.75;
}

.company-detail__facts-row--url {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: #000;
  font-size: 16px;
  line-height: 1.65;
}

.company-detail__facts-row--url:last-child {
  border-bottom: 0;
}

.company-detail__facts-url-label {
  flex-shrink: 0;
  font-weight: 600;
}

.company-detail__facts-row--url .company-detail__facts-url-link {
  font-weight: 400;
  word-break: break-all;
}

.company-detail__section {
  margin: 0;
}

.company-detail__section .section-heading {
  margin-bottom: 13px;
}

.company-detail__profiles {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.company-detail__profile-block {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  text-align: left;
}

.company-detail__profile-block p {
  margin: 0 0 1em;
}

.company-detail__profile-block p:last-child {
  margin-bottom: 0;
}

.company-detail__profiles .company-detail__profile-block + .company-detail__profile-block {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.company-detail__people {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.company-detail__person + .company-detail__person {
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.company-detail__person-identity {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}

.company-detail__person-photo-link {
  display: block;
  flex-shrink: 0;
}

.company-detail__person-photo {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0;
  object-fit: cover;
  border-radius: 50%;
}

.company-detail__person-info {
  min-width: 0;
  flex: 1;
}

.company-detail__person-photo--placeholder {
  background: #e8e6eb;
}

.company-detail__person-photo--empty {
  background: #e8e6eb;
}

.company-detail__person-name {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.company-detail__person-name a {
  color: var(--ink);
  text-decoration: none;
}

.company-detail__person-name a:hover {
  opacity: 0.75;
}

.company-detail__person-company,
.company-detail__person-role {
  margin: 0 0 4px;
  color: #2d2937;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.company-detail__person-role {
  margin-bottom: 0;
}

.company-detail__person-profile {
  margin-top: 20px;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  text-align: left;
}

.company-detail__person-profile p {
  margin: 0 0 1em;
}

.company-detail__person-profile p:last-child {
  margin-bottom: 0;
}

.company-detail-page .company-detail__interviews.interview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
}

.company-detail__facts-row--business {
  grid-template-columns: 72px minmax(0, 1fr);
}

.company-detail__facts-row--business dd {
  grid-column: 2;
}

.nav-links {
  margin-top: 28px;
  text-align: center;
}

.pickup-section {
  margin-bottom: 66px;
}

.pickup-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 27px;
  padding: 4px 10px 0;
}

.pickup-person {
  text-align: center;
}

.pickup-person__photo,
.pickup-person img {
  display: block;
  width: 84px;
  height: 84px;
  margin: 0 auto 8px;
  object-fit: cover;
  border-radius: 50%;
}

.pickup-person__photo--placeholder {
  object-fit: cover;
  background: #e8e6eb;
}

.pickup-person__photo--empty {
  background: #e8e6eb;
}

.pickup-person h3 {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 800;
}

.archive-page--executives .pickup-person h3 {
  font-size: 14px;
}

.pickup-person__meta {
  margin: 0;
  color: #2d2937;
  font-weight: 600;
  line-height: 1.45;
}

.pickup-section .pickup-person__meta {
  font-size: 10px;
}

.archive-page--executives .pickup-person__meta {
  font-size: 12px;
}

.company-info-page .content-section {
  padding-top: 48px;
  padding-bottom: 64px;
}

.company-info__facts-box {
  margin-top: 8px;
}

.company-info__facts {
  margin: 0;
}

.company-info__facts div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px 20px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: #000;
  font-size: 16px;
  line-height: 1.65;
}

.company-info__facts div:last-child {
  border-bottom: 0;
}

.company-info__facts dt {
  margin: 0;
  color: #000;
  font-size: 16px;
  font-weight: 600;
}

.company-info__facts dd {
  margin: 0;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  word-break: break-word;
}

.company-info__facts a {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.company-info__facts a:hover {
  opacity: 0.75;
}

.legal-page .content-section {
  padding-top: 48px;
  padding-bottom: 64px;
}

.legal-page__intro {
  margin: 8px 0 0;
  color: #000;
  font-size: 15px;
  line-height: 1.85;
}

.legal-page__section {
  margin-top: 32px;
}

.legal-page__section h2 {
  margin: 0 0 12px;
  color: #000;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.legal-page__section p {
  margin: 0 0 12px;
  color: #000;
  font-size: 15px;
  line-height: 1.85;
}

.legal-page__section p:last-child {
  margin-bottom: 0;
}

.legal-page__section ul {
  margin: 0 0 12px;
  padding-left: 1.4em;
  color: #000;
  font-size: 15px;
  line-height: 1.85;
}

.legal-page__section li {
  margin-bottom: 6px;
}

.legal-page__section li:last-child {
  margin-bottom: 0;
}

.legal-page__section a {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page__section a:hover {
  opacity: 0.75;
}

.legal-page__enacted {
  margin: 40px 0 0;
  color: #666;
  font-size: 13px;
  line-height: 1.6;
}

.contact-page .content-section {
  padding-top: 48px;
  padding-bottom: 64px;
}

.contact-page__intro {
  margin: 8px 0 0;
  color: #000;
  font-size: 15px;
  line-height: 1.85;
}

.contact-page__form-box {
  margin-top: 32px;
  max-width: 640px;
}

.contact-page__notice {
  margin: 0;
  padding: 14px 16px;
  color: #8a1f1f;
  font-size: 14px;
  line-height: 1.6;
  background: #fff3f3;
  border: 1px solid #f0d0d0;
}

.contact-page__privacy-note {
  margin: 24px 0 0;
  max-width: 640px;
  color: #666;
  font-size: 13px;
  line-height: 1.7;
}

.contact-page__privacy-note a {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-page__privacy-note a:hover {
  opacity: 0.75;
}

.contact-page .wpcf7 {
  margin: 0;
}

.contact-page .wpcf7 form {
  display: grid;
  gap: 20px;
}

.contact-page .wpcf7 form > p {
  margin: 0;
}

.contact-page .wpcf7 label {
  display: grid;
  gap: 8px;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.contact-page .wpcf7-form-control-wrap {
  display: block;
}

.contact-page .wpcf7-form-control:not(.wpcf7-submit) {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 14px;
  color: #000;
  font-size: 15px;
  line-height: 1.5;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
}

.contact-page .wpcf7-textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-page .wpcf7-form-control:not(.wpcf7-submit):focus {
  outline: 2px solid rgba(93, 63, 175, 0.35);
  outline-offset: 0;
  border-color: #5d3faf;
}

.contact-page .wpcf7-form-control::placeholder {
  color: var(--muted);
}

.contact-page .wpcf7-submit {
  min-width: 180px;
  padding: 13px 24px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  background: var(--purple);
  border: 0;
  cursor: pointer;
}

.contact-page .wpcf7-submit:hover {
  background: var(--purple-2);
}

.contact-page .wpcf7-spinner {
  margin-left: 12px;
}

.contact-page .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #8a1f1f;
  font-size: 12px;
  font-weight: 500;
}

.contact-page .wpcf7-response-output {
  margin: 0;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.6;
  border-radius: 0;
}

.contact-page .wpcf7 form.invalid .wpcf7-response-output,
.contact-page .wpcf7 form.unaccepted .wpcf7-response-output,
.contact-page .wpcf7 form.payment-required .wpcf7-response-output {
  color: #8a1f1f;
  background: #fff3f3;
  border-color: #f0d0d0;
}

.contact-page .wpcf7 form.sent .wpcf7-response-output {
  color: #1f5a32;
  background: #f2faf5;
  border-color: #c8e6d3;
}

.search-panel {
  background: #f7f5fb;
  border-top: 1px solid #eeeaf5;
}

.search-inner {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 10px 24px;
  width: min(100% - var(--container-gutter), var(--container));
  margin: 0 auto;
  padding: 13px 0 10px;
}

.search-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.search-tabs--three {
  grid-template-columns: repeat(3, 1fr);
}

.search-tabs button {
  height: 29px;
  color: var(--purple);
  background: var(--white);
  border: 1px solid var(--purple);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.search-tabs button.is-selected {
  color: var(--white);
  background: var(--purple);
}

.keyword-search {
  display: flex;
  width: 100%;
  height: 32px;
}

.keyword-search input {
  min-width: 0;
  flex: 1;
  padding: 0 18px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #bfb6d8;
  border-right: 0;
  border-radius: 3px 0 0 3px;
  outline: none;
  font-size: 11px;
  font-weight: 600;
}

.keyword-search input::placeholder {
  color: #b6afc1;
}

.keyword-search button {
  display: grid;
  place-items: center;
  width: 55px;
  color: var(--white);
  background: var(--purple);
  border: 0;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
}

.keyword-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding-left: 15px;
}

.keyword-row span {
  margin-right: 9px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 800;
}

.keyword-row a {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  color: var(--purple);
  background: var(--white);
  border: 1px solid #ddd7e9;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
}

.search-results-page .search-panel {
  margin-bottom: 0;
}

.search-results__main {
  margin-top: 0;
  padding-top: 8px;
  padding-bottom: 64px;
}

.search-results__header {
  margin: 0 0 24px;
}

.search-results__title {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
}

.search-results__type {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.search-results__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-results__list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.search-results__list a {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.search-results__list a:hover {
  opacity: 0.75;
}

.search-results__meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.search-results__empty {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.search-results__pagination {
  margin-top: 28px;
}

.search-results__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  margin: 0 4px 8px 0;
  padding: 0 10px;
  color: var(--purple);
  background: var(--white);
  border: 1px solid #d8d0ea;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.search-results__pagination .page-numbers.current {
  color: var(--white);
  background: var(--purple);
  border-color: var(--purple);
}

.site-footer,
.company-detail__header-band {
  color: var(--white);
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.05) 0 22%, transparent 22%),
    linear-gradient(180deg, #1b0a52 0%, #15073e 100%);
}

.site-footer {
  padding: 0 0 10px;
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px 35px;
  width: min(100% - var(--container-gutter), var(--container));
  margin: 0 auto;
  padding: 60px 0 30px;
}

.footer-sub {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-sub__inner {
  width: min(100% - var(--container-gutter), var(--container));
  margin: 0 auto;
  padding: 22px 0 0;
}

.footer-logo {
  color: var(--white);
}

.footer-brand p {
  margin: 11px 0 0;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 38px;
  font-size: 16px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 32px;
  font-size: 11px;
  font-weight: 700;
}

.copyright {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  text-align: center;
}

.back-top {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--purple);
  background: var(--white);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.back-top .material-symbols-outlined {
  font-size: 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 900px) {
  .site-header {
    height: 54px;
    overflow: visible;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 10px;
    width: min(100% - 32px, var(--container));
    padding: 0;
  }

  .nav-toggle {
    display: inline-grid;
    position: relative;
    z-index: 51;
  }

  body.is-nav-open .nav-toggle {
    visibility: hidden;
    pointer-events: none;
  }

  .global-nav {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100dvh;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    color: var(--white);
    background:
      linear-gradient(125deg, rgba(255, 255, 255, 0.06) 0 22%, transparent 22%),
      linear-gradient(165deg, #1b0a52 0%, #241062 42%, #15073e 100%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    pointer-events: none;
  }

  .global-nav__toolbar,
  .global-nav__menu {
    display: flex;
  }

  .global-nav__toolbar {
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 12px;
  }

  body.admin-bar .global-nav__toolbar {
    padding-top: calc(18px + 32px);
  }

  @media (max-width: 782px) {
    body.admin-bar .global-nav__toolbar {
      padding-top: calc(18px + 46px);
    }
  }

  .global-nav__logo {
    display: block;
    color: var(--white);
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.04em;
  }

  .global-nav__logo .brand__x {
    color: #5d3faf;
  }

  .global-nav__close {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    cursor: pointer;
  }

  .global-nav__close .material-symbols-outlined {
    font-size: 24px;
  }

  .global-nav__menu {
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 28px 48px;
  }

  body.is-nav-open .global-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .global-nav__menu a {
    position: relative;
    display: block;
    width: min(100%, 320px);
    padding: 16px 12px;
    color: var(--white);
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .global-nav__menu a.is-current::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    width: 48px;
    height: 3px;
    margin-left: -24px;
    background: var(--white);
    border-radius: 99px;
  }

  .top-showcase {
    margin-top: 0;
  }

  .top-showcase-inner {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .ranking-item {
    padding-right: 15px;
    padding-left: 15px;
  }

  .hero-feature {
    grid-template-columns: 1fr 1fr;
  }

  .ranking-list {
    padding: 0;
  }

  .ranking-swiper {
    height: 381px;
  }

  .content-section,
  .search-inner,
  .footer-inner {
    width: min(100% - 32px, var(--container));
  }

  .company-detail-page .content-section,
  .company-detail__header-inner {
    width: min(100% - 32px, 800px);
    max-width: 800px;
  }

  .interview-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-detail-page .company-detail__interviews.interview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-archive-card {
    grid-template-columns: 220px 1fr;
  }

  .company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-page--companies .company-grid--archive {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pickup-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .entity-archive-grid--people {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .search-inner,
  .footer-inner,
  .footer-sub__inner {
    width: min(100% - 32px, var(--container));
  }

  .search-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-links {
    gap: 10px 20px;
  }

  .back-top {
    top: 0;
    right: 0;
    bottom: auto;
  }

  .article-single__content a.ns-article-cta {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 21px;
  }

  .ns-page-loader__logo {
    font-size: 42px;
  }

  .top-showcase {
    margin-top: 0;
  }

  .hero-feature {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding: 30px 24px;
  }

  .hero-photo-wrap {
    padding: 0 24px 28px;
    justify-content: center;
  }

  .hero-photo-wrap::before {
    top: 0;
    right: 24px;
    bottom: 28px;
    left: 24px;
  }

  .hero-photo {
    width: 100%;
    height: 280px;
  }

  .ranking-swiper {
    height: 126px;
  }

  .ranking-item {
    grid-template-columns: 118px 1fr;
  }

  .ranking-item img {
    width: 118px;
    height: 88px;
  }

  .content-section,
  .search-inner {
    width: min(100% - 40px, 420px);
  }

  .company-detail-page .content-section,
  .company-detail__header-inner {
    width: min(100% - 40px, 800px);
    max-width: 800px;
  }

  .article-single {
    width: min(100% - 40px, 800px);
  }

  .article-single__title {
    font-size: 22px;
  }

  .article-single__content h2,
  .article-single__content h2.wp-block-heading {
    font-size: 18px;
  }

  .article-single__content h3,
  .article-single__content h3.wp-block-heading {
    font-size: 16px;
  }

  .interview-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-archive-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .feature-archive-card__media {
    min-height: 0;
  }

  .feature-archive-card__media img,
  .feature-archive-card__media-placeholder {
    min-height: 0;
    aspect-ratio: 1.81 / 1;
  }

  .feature-archive-card__body {
    min-height: 0;
    padding: 14px 16px 16px;
  }

  .feature-archive-card__title {
    font-size: 16px;
  }

  .archive-page--companies .company-grid--archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pickup-grid {
    gap: 20px;
  }

  .entity-detail__header {
    grid-template-columns: 1fr;
  }

  .entity-detail__body {
    grid-template-columns: 1fr;
  }

  .company-detail__hero {
    grid-template-columns: 1fr;
  }

  .company-detail__logo {
    width: 100%;
    max-width: none;
  }

  .company-detail-page .company-detail__interviews.interview-grid {
    grid-template-columns: 1fr;
  }

  .entity-archive-grid--people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .keyword-row {
    padding-left: 0;
  }
}

/* Site password gate (/site-access/) */
body.site-access-page {
  display: block;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--pale);
}

.site-access {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 32px 20px;
}

.site-access__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: min(100%, 900px);
}

.site-access__logo {
  margin: 0;
  color: #0b0b12;
  font-size: 60px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
}

.site-access__logo-x {
  color: #5d3faf;
}

.site-access__card {
  width: min(100%, 420px);
  padding: 40px 32px 36px;
  /* background: var(--white); */
  /* border: 1px solid var(--line); */
  /* box-shadow: var(--shadow); */
}

.site-access__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.site-access__lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.site-access__error {
  margin: 0 0 16px;
  padding: 10px 12px;
  color: #8a1f1f;
  font-size: 13px;
  line-height: 1.6;
  background: #fff3f3;
  border: 1px solid #f0d0d0;
}

.site-access__form {
  display: grid;
  gap: 16px;
}

.site-access__field {
  display: grid;
  gap: 8px;
}

.site-access__label {
  font-size: 13px;
  font-weight: 600;
}

.site-access__input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
}

.site-access__input::placeholder {
  color: var(--muted);
}

.site-access__input:focus {
  outline: 2px solid rgba(93, 63, 175, 0.35);
  outline-offset: 0;
  border-color: #5d3faf;
}

.site-access__submit {
  width: 100%;
  padding: 13px 16px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  background: var(--purple);
  border: 0;
  cursor: pointer;
}

.site-access__submit:hover {
  background: var(--purple-2);
}

