/* =========================================================
   Non-AI Job Top UI  (WP + GeneratePress friendly)
   app.css  --- FULL REPLACE OK
   ========================================================= */

/* ---- 0) WP(GeneratePress)の干渉を無効化 ----------------- */
body {
  color: #222;
}

/* page-top.php を使うページにだけ効く */
.page-template-page-top .grid-container {
  max-width: 100%;
}

.page-template-page-top .site-content {
  display: block;
}

.page-template-page-top .site-content,
.page-template-page-top .content-area,
.page-template-page-top .inside-article,
.page-template-page-top .entry-content {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.page-template-page-top .entry-header,
.page-template-page-top .entry-title {
  display: none !important;
}

/* 記事本文のデフォUL/OL/ボタンなどの影響を遮断 */
.nonai-top-wrap,
.nonai-top-wrap * {
  box-sizing: border-box;
}

.nonai-top-wrap ul,
.nonai-top-wrap ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-logo {
  z-index: 9;
}
/* ---- 1) Design Tokens ----------------------------------- */
:root {
  --bg: #fbfbfb;
  --bg-soft: #0f172a;
  --bg-soft-2: #111827;
  --bg-card: rgba(255, 255, 255, 0.96);
  --bg-card-dark: rgba(17, 24, 39, 0.92);
  --text: #0f172a;
  --text-on-dark: #e5e7eb;
  --text-sub: #555;
  --text-sub-on-dark: #9ca3af;

  --primary: #111827;
  --primary-2: #1f2937;
  --accent: #6366f1;
  /* indigo */
  --accent-2: #22c55e;
  /* green */
  --accent-3: #38bdf8;
  /* sky */
  --danger: #ef4444;

  --line: #e5e7eb;
  --line-soft: rgba(255, 255, 255, 0.12);

  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;

  --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 36px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 30px 80px rgba(2, 6, 23, 0.45);
}

/* ---- 2) Base layout ------------------------------------- */
.main-title,
.main-title a {
  color: #fff !important;
  font-weight: 700;
}

.site-description {
  color: #fefefe !important;
  font-size: 12px !important;
}

html,
body,
.nonai-top-wrap {
  font-family: "Noto Sans JP", sans-serif !important;
}

body,
button,
input,
select,
textarea {
  font-family: "Noto Sans JP", sans-serif !important;
}

body.page .site-header,
body.single .site-header,
body.error404 .site-header,
body.archive .site-header {
  position: relative;
  background: #0d1635 !important;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 18px;
  left: auto;
  transform: none;
}

body.page .inside-header,
body.single .inside-header,
body.error404 .inside-header,
body.archive .inside-header {
  border-bottom: none;
  max-width: 1164px !important;
  margin: 0 auto;
  padding: 15px 0px !important;
}

body.home .site-header {
  background: transparent !important;
  /*
  background: #0d1635!important;
  */
  position: absolute;
  z-index: 9;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 18px;
  left: 50%;
  transform: translateX(-50%);
}

body.home .inside-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 1164px !important;
  margin: 0 auto;
  padding: 15px 0px !important;
}

.nonai-top-wrap {
  color: var(--text);
  background: #FFF;
}

footer.site-info {
  background: #eaeaea !important;
  border-top: 1px solid #ddd;
}

.footer-widgets {
  background: transparent !important;
}

.copyright-bar {
  font-size: 12px;
  color: #555;
}

ul#menu-footer li a {
  color: #222;
  text-decoration: none;
  font-size: 13px;
}

.footer-widget-3 p {
  font-size: 13px;
  color: #222;
}

.footer-widget-3 p a {
  color: #222;
  text-decoration: none;
  font-size: 13px;
}

.footer-widgets {
  background: #eaeaea !important;
}

/* ---- 3) HERO -------------------------------------------- */
.hero-wrap {
  position: relative;
  color: var(--text-on-dark);
  background-color: #000;
  background-size: 500px;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-attachment: scroll;
  padding: 160px 0 100px;
  overflow: hidden;
  background-image: url("http://nonaijob.com/wp-content/uploads/2025/11/pc-bg.jpg");
}

/*
.hero-wrap::before {
  content: "";
  position: absolute;
  inset: auto auto -40% -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.35),
    transparent 60%
  );
  filter: blur(40px);
  transform: translate(10%, -10%);
  pointer-events: none;
}
.hero-wrap::after {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.35),
    transparent 60%
  );
  filter: blur(40px);
  transform: translate(10%, -10%);
  pointer-events: none;
}
*/
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.logo-text-main {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-text-sub {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 2px;
}

.header-nav {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--text-sub-on-dark);
  flex-wrap: wrap;
}

.header-nav a {
  color: inherit;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 999px;
}

.header-nav a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.06);
}

.hero-main {
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 100px;
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 40px 30px;
  text-align: center;
  color: #fff;
  text-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-title span.s {
  font-size: 70px;
}

.hero-title.sub {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  margin: 0 auto 20px auto;
  text-align: center;
  color: #fff;
  text-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-title.sub span {
  font-size: 40px;
  color: #f97317;
  margin-left: -10px;
}

.hero-lead {
  font-size: 15px;
  line-height: 1.8;
  color: #fff;
  margin: 0 auto 50px auto;
  text-align: center;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.main-navigation .main-nav ul li a {
  line-height: 1 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
}

.main-navigation .main-nav ul li a:hover {
  color: #fff !important;
}

.main-navigation,
.main-navigation ul ul {
  background: transparent !important;
}

/* ---- 4) Search floating card ---------------------------- */
.search-card-wrap {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  padding: 0;
  margin-top: -37px;
  position: relative;
}

.search-card {
  background: rgba(255, 255, 255, 1);
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: grid;
  gap: 15px;
  background: #FFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 960px) {
  .search-card {
    grid-template-columns: 1fr 1fr 2fr 1fr auto;
    align-items: center;
    padding: 14px 20px 14px 22px;
    border-radius: 10px;
  }
}

.search-field-group {
  display: flex;
  flex-direction: column;
  gap: 5%;
  font-size: 14px;
  color: var(--text-sub);
  position: relative;
}

.search-field-group::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 16px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
}

.search-field-group.text::after {
  display: none;
}

.search-field-group select,
.search-field-group button,
.search-field-group input[type="text"],
.search-input,
.search-select {
  appearance: none;
  margin: 0;
  background: none transparent;
  vertical-align: middle;
  box-sizing: content-box;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  padding: 15px 20px;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
  color: #333;
  font-weight: 700;
  width: calc(100% - 40px);
}

.search-field-group button:hover,
.search-field-group button:focus {
  background: #fff;
  color: #333;
}

.search-input:focus,
.search-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.search-btn-wrap {
  width: 120px;
}

.search-btn {
  border-radius: 10px;
  border: none;
  background: #f97317;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 15px 26px;
  cursor: pointer;
  transition: transform 0.06s ease, filter 0.12s ease;
  white-space: nowrap;
  width: 100%;
}

.search-btn:hover,
.search-btn:focus {
  background: #f97317;
}

/* ---- 5) Main layout ------------------------------------- */
.main-wrap {
  max-width: 1200px;
  margin: 0px auto;
  padding: 0 18px 40px;
}

.content-layout {
  display: block;
  padding-top: 70px;
}

@media (max-width: 980px) {
  .content-layout {
    grid-template-columns: 1fr;
  }
}

/* ---- 6) Filters ----------------------------------------- */
.filters-card {
  padding: 0;
}

.filters-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.filters-sub {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 12px;
}

.filters-section {
  margin-top: 12px;
}

.filters-section-label {
  font-size: 12px;
  font-weight: 700;
  color: #475467;
  margin-bottom: 6px;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  padding: 6px 10px;
  cursor: pointer;
  color: #000;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease,
    transform 0.06s ease;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: #cbd5e1;
  background: #efefef;
  color: #555;
}

.chip.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ---- 7) Results header ---------------------------------- */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.results-count {
  font-size: 13px;
  color: var(--text-sub);
}

.results-sort {
  font-size: 12px;
  color: var(--text-sub);
  display: flex;
  gap: 6px;
  align-items: center;
}

.results-sort select {
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  padding: 6px 10px;
  background: white;
}

/* ---- 8) Job list / cards -------------------------------- */

main.nonai-page.nonai-jobs-page .nonai-archive-hero .inside-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

section.search_jobs_wrap {
  margin: 20px auto 50px auto;
  max-width: 1200px;
  padding: 0 18px;
}

main.nonai-page.nonai-jobs-page .search-card-wrap {
  margin: 0 auto 20px auto;
}

.results-bar {
  color: #555;
  margin: 0 0 20px 0;
  font-size: 14px;
}

.job-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(574px, 2fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.job-card {
  background: var(--bg-card);
  border-radius: 10px;
  padding: 14px 14px 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.06s ease, box-shadow 0.12s ease,
    border-color 0.12s ease;
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.job-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 2px;
  line-height: 1.5;
}

.job-company {
  font-size: 12px;
  margin-bottom: 10px;
}

.job-info-row {
  font-size: 14px;
  font-weight: 700;
  margin: 5px 0;
}

.job-snippet-body {
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-info {
  margin-block: 10px;
}

a.job-cta {
  background: #f97317;
  color: #fff;
  text-decoration: none;
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 0;
  line-height: 1;
  margin: 10px auto 10px 0;
  width: 150px;
  border-radius: 999px;
}

a.job-cta:hover {
  color: #EEE;
}

.job-sponsor {
  font-size: 12px;
  color: #555;
  text-align: right;
}

.job-sponsor a {
  text-decoration: none;
}

.job-meta-top {
  font-size: 12px;
  color: var(--text-sub);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.job-date {
  font-size: 11px;
  color: var(--text-sub);
  white-space: nowrap;
}

.job-meta-bottom {
  font-size: 12px;
  color: var(--text-sub);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 6px;
}

.job-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.job-chip {
  border-radius: 999px;
  background: #fef0de;
  color: #f97317;
  font-size: 11px;
  padding: 4px 8px;
  font-weight: 600;
}

.job-chip-ai {
  border-radius: 999px;
  background: #ecfdf3;
  color: #15803d;
  font-size: 11px;
  padding: 4px 8px;
  font-weight: 700;
}

/* Empty */
.empty-state {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-sub);
  text-align: center;
}

#jobsPager {
  justify-content: center;
  margin: 30px auto 50px auto;
  align-items: center;
  gap: 20px;
}

#jobsPager button {
  background: #fff;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  background: #555;
  border-radius: 999px;
}

#jobsPager button:disabled {
  opacity: 0.3;
}

#jobsPager .pager-info {
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

/* ---- 9) Modal ------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}

.modal-backdrop.active {
  display: flex;
}

.modal {
  width: min(720px, 100%);
  background: white;
  border-radius: 20px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.14s ease-out;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.modal-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.modal-company {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.badge-ai {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: #022c22;
  color: #a7f3d0;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
}

.modal-close {
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  color: #98a2b3;
}

.modal-close:hover {
  color: #475467;
  background: transparent !important;
}

.modal-body section {
  margin-top: 10px;
}

.modal-section-title {
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 2px;
}

.modal-section-text {
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.8;
}

.modal-points {
  margin: 4px 0 0;
  padding-left: 18px;
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.8;
}

.modal-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-secondary {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  color: #000;
}

.btn-secondary:hover {
  background: #f9fafb;
  color: #333;
}

.btn-link {
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #f97317, #f97317);
  color: white;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.btn-link:hover,
.btn-link:focus {
  filter: brightness(1.05);
  color: #fff;
}

@media (max-width: 768px) {
  .job-list {
    grid-template-columns: repeat(auto-fill, minmax(100%, 2fr));
  }
}

/* =========================================================
   職種から探す（カテゴリグリッド）
   ========================================================= */
.jobcat-section {
  margin: 0px auto 80px auto;
  max-width: 1200px;
  padding: 0;
}

.jobcat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.jobcat-title {
  font-size: clamp(18px, 2.2vw, 20px);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--primary);
}

.jobcat-sub {
  margin: 0;
  font-size: 12px;
  color: #777;
  font-weight: 500;
}

/* 増えても崩れない：auto-fill + minmax + clamp */
.jobcat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,
      minmax(clamp(150px, 18vw, 250px), 1fr));
  gap: 15px;
}

/* 高さを揃えて整列感アップ（2行ラベルでも崩れない） */
.jobcat-item {
  display: block;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 15px;
  box-shadow: var(--shadow-sm);
  min-height: 64px;
  /* 2行でも高さが揃う */
  text-align: center;
  cursor: pointer;
  /*
  transition: transform 0.06s ease, box-shadow 0.12s ease,
    border-color 0.12s ease;
    */
}

.jobcat-item:hover,
.jobcat-item:focus {
  background: var(--bg-card);
  border: 1px solid var(--line);
}

/* iOS風の薄いアウトライン */
.jobcat-icon {
  width: 60px;
  height: 60px;
  display: block;
  margin: 0 auto 10px auto;
  text-align: center;
}

.jobcat-icon.job-1 {
  background: url("/wp-content/uploads/2026/01/icon_job_1.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-2 {
  background: url("/wp-content/uploads/2026/01/icon_job_2.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-3 {
  background: url("/wp-content/uploads/2026/01/icon_job_3_2.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-4 {
  background: url("/wp-content/uploads/2026/01/icon_job_4.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-5 {
  background: url("/wp-content/uploads/2026/01/icon_job_5_2.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-6 {
  background: url("/wp-content/uploads/2026/01/icon_job_6.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-7 {
  background: url("/wp-content/uploads/2026/01/icon_job_7.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-8 {
  background: url("/wp-content/uploads/2026/01/icon_job_8_2.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-9 {
  background: url("/wp-content/uploads/2026/01/icon_job_9.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-10 {
  background: url("/wp-content/uploads/2026/01/icon_job_10.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-11 {
  background: url("/wp-content/uploads/2026/01/icon_job_11.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-12 {
  background: url("/wp-content/uploads/2026/01/icon_job_12.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-13 {
  background: url("/wp-content/uploads/2026/01/icon_job_13.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-14 {
  background: url("/wp-content/uploads/2026/01/icon_job_14.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-15 {
  background: url("/wp-content/uploads/2026/01/icon_job_15.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-16 {
  background: url("/wp-content/uploads/2026/01/icon_job_16.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-17 {
  background: url("/wp-content/uploads/2026/01/icon_job_17_2.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-18 {
  background: url("/wp-content/uploads/2026/01/icon_job_18.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-19 {
  background: url("/wp-content/uploads/2026/01/icon_job_19.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-20 {
  background: url("/wp-content/uploads/2026/01/icon_job_20_3.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-21 {
  background: url("/wp-content/uploads/2026/01/icon_job_21_2.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-22 {
  background: url("/wp-content/uploads/2026/01/icon_job_22_2.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-23 {
  background: url("/wp-content/uploads/2026/01/icon_job_23.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-icon.job-24 {
  background: url("/wp-content/uploads/2026/01/icon_job_24.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.jobcat-label {
  font-size: 14px;
  font-weight: 700;
  color: #222222;
  line-height: 1.4;
  text-align: center;
  margin: 10px auto 0 auto;
  /*word-break: keep-all;*/
}

.jobtype-selected {
  padding: 10px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 10px;
}

.jobtype-selected-label {
  font-size: 12px;
  color: #777;
  font-weight: 500;
  margin-bottom: 6px;
}

.jobtype-selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.jobtype-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
}

.jobtype-tag button {
  border: none;
  background: none;
  font-size: 12px;
  cursor: pointer;
  color: #64748b;
}

.jobtype-tag button:hover {
  color: #ef4444;
}

.quick-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

h2#quickTitle {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
  margin: 0;
}

.quick-sub {
  margin: 0;
  font-size: 12px;
  color: #555;
  font-weight: 500;
}

h3.quick-block-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
  margin: 0;
}

section.quick-block {
  margin-bottom: 20px;
}

.quick-status {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 20px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

section.quick-section {
  margin-bottom: 70px;
}

#quickGuide {
  font-size: 16px;
  font-weight: 700;
  margin-block: 10px;
}

/* =========================================================
   404
========================================================= */
body.error404 h1.entry-title {
  font-size: 20px;
}

/* スマホ最適化：必ず2列以上で綺麗に折返し */
@media (max-width: 768px) {
  section.quick-section {
    margin-bottom: 10vw;
  }

  .jobcat-section {
    margin-bottom: 10vw;
  }

  .jobcat-head,
  .areacat-head,
  .column-head,
  .quick-head {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    display: block !important;
  }

  .jobcat-head h2,
  .areacat-head h2,
  .column-head h2,
  h2#quickTitle {
    font-size: 16px;
    padding: 15px 18px;
    background: #002b8a;
    color: #FFF;
  }

  #quickGuide {
    font-size: 15px;
    padding: 12px 18px;
    background: #002b8a;
    color: #FFF;
    position: relative;
    width: 100vw;
    margin: 0 calc(50% - 50vw);
  }

  #quickGuide::after {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    margin: 0 0 0 -10px;
    border: 10px solid transparent;
    border-top-color: #002b8a;
  }

  p.jobcat-sub,
  p.areacat-sub,
  p.quick-sub {
    padding: 10px 18px;
  }

  .jobcat-grid {
    display: block;
    width: 100vw;
    margin: 0 calc(50% - 50vw);
  }

  .jobcat-item {
    width: 100%;
    background: #FFF;
    box-shadow: none;
    border-radius: 0;
    min-height: auto;
    border: none;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    border-bottom: 1px solid #e5e7eb;
  }

  .jobcat-item:after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: solid 1px #222;
    border-right: solid 1px #222;
    transform: rotate(45deg);
    display: block;
  }

  .jobcat-item:first-child {
    border-top: 1px solid #e5e7eb;
  }

  .jobcat-icon {
    width: 30px;
    height: 30px;
    margin: 0;
  }

  .jobcat-label {
    text-align: left;
    display: block;
    width: calc(100% - 40px);
    margin: 0;
    font-size: 14px;
    font-weight: 600;
  }

  .jobcat-item:hover,
  .jobcat-item:active,
  .jobcat-item:focus {
    border: none;
    background: #FFF;
    border-bottom: 1px solid #e5e7eb;
  }
}

/* ===== エリアから探す（テキストのみ）===== */
.areacat-section {
  margin: 0 auto 120px auto;
  max-width: 1200px;
}

.areacat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.areacat-title {
  font-size: clamp(18px, 2.2vw, 20px);
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0;
}

.areacat-sub {
  margin: 0;
  font-size: 12px;
  color: #777;
  font-weight: 500;
}

.areacat-groups {
  display: grid;
  gap: 20px;
}

.areacat-group,
.areacat-groups {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 20px 20px;
  box-shadow: var(--shadow-sm);
}

.areacat-group-title,
.areacat-region__label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #555;
  letter-spacing: .02em;
}

.areacat-links,
.areacat-region__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  line-height: 1;
}

.areacat-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fbfbfb;
  border: 1px solid var(--line);
  color: #222;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.areacat-link:hover {
  color: #222;
  background: #EEE;
}

.areacat-link:focus,
.areacat-link.is-active {
  background: #222;
  color: #FFF;
}

a.column-more {
  width: 200px;
  display: block;
  margin: 30px auto 0 auto;
  text-align: center;
  color: #FFF;
  border-radius: 50vh;
  border: 1px solid var(--line);
  background: #222;
  padding: 12px 0;
  font-size: 14px;
  transition: opacity 0.15s ease;
}

a.column-more:hover {
  opacity: 0.9 !important;
  color: #EEE;
}

@media (max-width: 768px) {
  .areacat-section {
    margin-bottom: 10vw;
  }

  .areacat-groups {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    display: block !important;
  }

  .areacat-group {
    padding: 14px 18px;
    border-top: none;
    border-bottom: 1px solid #e5e7eb;
    width: 100%;
    background: #FFF;
    box-shadow: none;
    border-radius: 0;
    min-height: auto;
  }

  .areacat-group:first-child {
    border-top: 1px solid #e5e7eb;
  }

  .areacat-head {
    margin-bottom: 0;
  }

  .areacat-links,
  .areacat-region__chips {
    gap: 8px 8px;
  }

  .areacat-link {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 8px;
  }

  section.quick-block {
    margin-bottom: 0;
  }

  .areacat-groups {
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 18px;
  }

  .areacat-region {
    margin-bottom: 15px;
  }

  section.quick-section {
    margin-bottom: 30px;
  }
}

/* =========================================================
   コラム表示セクション
   ========================================================= */

.column-section {
  margin: 0px auto 80px auto;
  max-width: 1200px;
  padding: 0;
}

.column-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 8px;
}

.column-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
  margin: 0;
}

.column-more {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.15s ease;
}

a.column-more:hover {
  opacity: 0.7;
}

.column-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.column-card {
  overflow: hidden;
}

.column-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.column-thumbnail img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.column-noimg {
  width: 100%;
  height: 160px;
  background: #eceff3;
}

.column-body {
  padding: 15px 0;
}

.column-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.5;
  margin: 0 0 6px;
}

.column-card-excerpt {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
  margin: 0;
}

/* スマホ */
@media (max-width: 768px) {
  .column-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .column-head {
    margin-bottom: 30px;
  }

  a.column-more {
    margin: 10px auto 0 auto;
  }

  .column-section {
    margin-bottom: 0vw;
  }
}

/* =========================================================
   コラム表示セクション
========================================================= */
body.page .site-content,
body.category .site-content,
body.single .site-content {
  display: block;
}

body.page.separate-containers .site-main,
body.category.separate-containers .site-main,
body.single.separate-containers .site-main {
  margin: 0;
}

body.page .container.grid-container,
body.category .container.grid-container,
body.single .container.grid-container {
  max-width: 100%;
}

.nonai-article-hero__inner {
  max-width: 1164px !important;
  margin: 0 auto;
  padding: 0 !important;
}

.nonai-article-layout {
  max-width: 1200px !important;
}

/* =========================================================
   Non-AI Custom Fullscreen Hamburger Menu
   ========================================================= */

/* ハンバーガーボタン（右上固定） */
.nonai-hamburger {
  position: absolute;
  top: 7px;
  right: 4%;
  z-index: 9999;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  display: grid;
  place-items: center;
  gap: 2px;
  cursor: pointer;
}

.nonai-hamburger:hover,
.nonai-hamburger:active,
.nonai-hamburger:focus {
  background: transparent !important;
}

.nonai-hamburger span {
  width: 18px;
  height: 1px;
  background: #fff;
  border-radius: 999px;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* 開いてる時のアイコン変形（×っぽく） */
.nonai-hamburger.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nonai-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.nonai-hamburger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* 背景暗幕 */
.nonai-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
  z-index: 9;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* パネル本体：右から全画面スライドイン */
.nonai-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  /* ←左から出したいなら left:0; right:auto; に */
  width: 100%;
  height: 100%;
  /*
  background: radial-gradient(
      1000px 420px at 8% -10%,
      rgba(99, 102, 241, 0.12),
      transparent 60%
    ),
    radial-gradient(
      1000px 420px at 92% 0%,
      rgba(34, 197, 94, 0.1),
      transparent 55%
    ),
    linear-gradient(180deg, #0b1020 0%, #0f172a 100%);
    */
  background: #0d1635;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 20px 4%;
}

/* 開いた状態 */
.nonai-menu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nonai-menu-backdrop.is-open .nonai-menu-panel {
  transform: translateX(0);
}

/* 閉じるボタン */
.nonai-menu-close {
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: none;
}

/* メニューリスト */
.nonai-menu-list {
  list-style: none;
  padding: 30px 0 0 0;
  margin: 0;
  display: grid;
  gap: 0px;
  align-content: start;
}
.nonai-menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
  text-decoration: none;
  color: #fff;
  font-size: clamp(16px, 2.8vw, 20px);
  font-weight: 700;
  transition: background 0.15s ease, transform 0.08s ease,
    border-color 0.15s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
/*
.nonai-menu-list li:first-child a {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
*/
.nonai-menu-list a:after {
  content: '';
  width: 10px;
  height: 10px;
  border-top: solid 1px #FFF;
  border-right: solid 1px #FFF;
  transform: rotate(45deg);
  display: block;
  margin-right: 8px;
}

.nonai-menu-list a:hover,
.nonai-menu-list a:active,
.nonai-menu-list a:focus {
  background: transparent\; border-color: rgba(255, 255, 255, 0.2);
  transform: none;
  color: #fff;
}

/* フッター */
.nonai-menu-foot {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  text-align: center;
  padding: 10px 0 6px;
}

/* ===== JobType Modal ===== */
.jobtype-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}

.jobtype-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(2, 6, 23, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.jobtype-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.jobtype-modal {
  position: absolute;
  inset: 100px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.22);
}

.jobtype-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-bottom: 1px solid #e5e7eb;
  color: #333;
}

.jobtype-modal-title {
  font-weight: 700;
}

.jobtype-modal-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: #333;
  padding: 0;
}

.jobtype-modal-close:hover {
  background: #fff;
  color: #333;
}

.jobtype-modal-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 0;
}

.jobtype-left {
  border-right: 1px solid #e5e7eb;
  overflow: auto;
}

.jobtype-left button {
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border: none;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  font-weight: 700;
  color: #333;
  font-size: 14px;
}

.jobtype-left button:hover,
.jobtype-left button.is-active {
  color: #002b8a;
  background: #fbfbfb;
}

.jobtype-right {
  overflow: auto;
  padding: 10px 12px 90px;
}

.jobtype-right h3 {
  margin: 10px 6px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

.jobtype-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}

.jobtype-item input {
  width: 18px;
  height: 18px;
}

.jobtype-item label {
  font-weight: 500;
  cursor: pointer;
  color: #333;
}

.jobtype-modal-foot {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.jobtype-count {
  font-weight: 700;
  width: 70px;
}

.jobtype-apply {
  flex: 1;
  border: none;
  cursor: pointer;
  background: #222;
  color: #fff;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 16px;
}

.jobtype-apply:hover {
  background: #111827;
  color: #fff;
}

.jobtype-clear {
  border: none;
  cursor: pointer;
  background: #f3f4f6;
  color: #111827;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 16px;
}

.jobtype-clear:hover,
.jobtype-clear:focus {
  background: #f3f4f6;
  color: #111827;
}

.sponsor-wrap {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  line-height: 1;
  font-weight: 900;
  font-size: 13px;
}

.sponsor-wrap img {
  width: 120px;
}

.footer-widgets-container {
  padding: 30px !important;
}

.floating-search {
  width: 78px;
  height: 78px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: block;
  padding: 18px 10px;
  border-radius: 999px;
  background: #f97317;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.floating-search img {
  width: 20px;
  display: block;
  margin: 0 auto 2px auto;
}

.floating-search span {
  display: block;
  text-align: center;
  margin: 0 auto;
}

.floating-search:hover,
.floating-search:focus {
  color: #FFF !important;
  opacity: 0.9 !important;
}

.floating-search.is-show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-search:active {
  transform: translateY(1px);
}
.floating-search.is-absolute {
  position: absolute;
}
.ff-default .ff-el-form-control {
  color: #222;
}
.ff-default .ff-el-form-control:placeholder {
  color: #555;
}

/* iPhoneのホームバーとかに被りにくく */
@supports (padding: max(0px)) {
  .floating-search {
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 768px) {
  .jobtype-modal {
    inset: 12px;
  }

  .jobtype-modal-body {
    grid-template-columns: 150px 1fr;
  }

  .jobtype-left button {
    font-size: 13px;
  }

  .sponsor-wrap {
    justify-content: center;
    align-items: center;
    font-size: 12px;
  }

  .sponsor-wrap img {
    width: 100px;
  }

  .footer-widgets-container {
    padding: 20px !important;
  }
}

/* スマホ最適化 */
@media (min-width: 769px) {
  .sp {
    display: none;
  }

  .nonai-hamburger {
    display: none;
  }
}

@media (max-width: 768px) {
  .sp {
    display: block;
  }

  body .site-header {
    padding: 0 4% !important;
  }

  .has-inline-mobile-toggle .inside-header {
    padding: 12px 0 !important;
  }

  .site-header .header-image {
    width: 150px !important;
  }

  .has-inline-mobile-toggle .mobile-menu-control-wrapper,
  .has-inline-mobile-toggle .header-widget,
  .has-inline-mobile-toggle #site-navigation {
    display: none !important;
  }

  .hero-wrap {
    padding: 20vw 0 12vw 0;
    background-size: 80%;
    background-image: url("http://nonaijob.com/wp-content/uploads/2025/11/sp-bg.jpg");
  }

  .hero-title.sub,
  .hero-title.sub span {
    font-size: 7vw;
    line-height: 1.3em;
    margin-bottom: 2vw;
  }

  .hero-title {
    margin: 0 auto 3vw auto;
    font-size: 15vw;
    line-height: 1.05em;
  }

  .hero-title span.s {
    font-size: 10vw;
    line-height: 1.05em;
  }

  .hero-title span.sp-s {
    margin-left: 10vw;
  }

  .hero-lead {
    font-size: 3.2vw;
  }

  /*
  .hero-wrap::after {
    inset: -20% -20% auto auto;
    width: 80vw;
    height: 80vw;
  }
  */
  .hero-wrap::before {
    display: none;
  }

  .content-layout {
    padding-top: 10vw;
  }

  .footer-widget-1,
  .footer-widget-2 {
    display: none !important;
  }

  .search-btn-wrap {
    margin: 0 auto;
    width: 150px;
  }

  .floating-search {
    height: 62px;
    width: 62px;
    right: 12px;
    bottom: 12px;
    padding: 12px 0;
    border-radius: 999px;
    background: #f97317;
    color: #fff;
    font-weight: 800;
    font-size: 11px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  }

  .floating-search img {
    width: 16px;
    display: block;
    margin: 0 auto 2px auto;
  }

  main.nonai-page.nonai-jobs-page .nonai-archive-hero .inside-hero {
    padding: 0;
  }

  a.job-cta {
    margin: 12px auto 12px auto;
    width: 180px;
  }
  .column-thumbnail img {
    height: 50vw;
  }
}