/* =========================================================================
   Job Page Common — 1work Redesign
   ========================================================================= */
:root {
  --job-bg-base: #f5f5f5;
  --job-accent: #fabe01;
  --job-navy: #303030;
  --job-text: #222;
  --job-border: rgba(0, 0, 0, 0.08);
  --job-blue: #00affa;
}

body {
  background-color: var(--job-bg-base);
  color: var(--job-text);
  font-family: 'Anton', 'Noto Sans JP', sans-serif;
}

.inner-1200 {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================================================================
   Job Header (Legacy compat — now using .page-hero)
   ========================================================================= */
.job-header {
  position: relative;
  padding: 120px 0 50px;
  background: #303030;
  color: white;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.job-header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fabe01 0%, #00affa 100%);
  z-index: 2;
}

.job-header::after {
  display: none;
}

.job-header-inner {
  position: relative;
  z-index: 2;
  text-align: left;
}

.job-header-title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: white;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.3;
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.job-header-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #fabe01;
}

.job-header-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-left: 20px;
}

/* =========================================================================
   Breadcrumbs (パンくずリスト) — 1work Redesign
   ========================================================================= */
.breadcrumbs-wrap {
  background-color: #303030;
  border-bottom: none;
  width: 100%;
}

.breadcrumbs {
  padding: 12px 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  line-height: 1.3;
  margin: 0;
}

.breadcrumbs li:not(:last-child)::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 8px;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.25);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: #fabe01;
}

.breadcrumbs li:last-child span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

/* =========================================================================
   Job List Page (Archive)
   ========================================================================= */
.job-list-section {
  padding: 60px 0 100px;
}

/* ============================================
   Search Results — 1work New Layout
   ============================================ */

/* --- Condition Bar --- */
.sr-condition-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 2px solid #303030;
  padding: 16px 24px;
  margin-bottom: 40px;
  gap: 20px;
}

.sr-condition-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  flex: 1;
}

.sr-condition-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: #303030;
  background: #fabe01;
  padding: 4px 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.sr-condition-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sr-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #303030;
  background: #f5f5f5;
  padding: 6px 14px;
  border: 1px solid #e0e0e0;
}

.sr-chip i {
  color: #fabe01;
  font-size: 0.75rem;
}

.sr-condition-count {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-shrink: 0;
}

.sr-count-num {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #fabe01;
  line-height: 1;
}

.sr-count-unit {
  font-size: 0.85rem;
  font-weight: 700;
  color: #666;
}

/* --- Card Grid --- */
.sr-job-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* --- Card --- */
.sr-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e0e0e0;
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  color: inherit;
}

.sr-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 rgba(250, 190, 1, 0.25);
}

/* Card Image */
.sr-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f0f0f0;
}

.sr-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.sr-card:hover .sr-card-img img {
  transform: scale(1.06);
}

.sr-card-emp {
  position: absolute;
  top: 12px;
  right: 0;
  background: #303030;
  color: #fabe01;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 14px;
  letter-spacing: 0.04em;
}

/* Card Content */
.sr-card-content {
  padding: 20px 24px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sr-card-cats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.sr-card-cat {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  background: rgba(250, 190, 1, 0.15);
  color: #303030;
  border: 1px solid rgba(250, 190, 1, 0.4);
}

.sr-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #303030;
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sr-card-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.sr-card-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #666;
}

.sr-card-info-row i {
  color: #999;
  font-size: 0.8rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.sr-card-salary {
  font-weight: 800;
  color: #303030;
}

.sr-card-salary i {
  color: #fabe01;
}

.sr-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 12px;
}

.sr-card-tag {
  font-size: 0.7rem;
  color: #888;
  padding: 2px 8px;
  border: 1px solid #e0e0e0;
  background: #fafafa;
}

/* Card Footer */
.sr-card-footer {
  padding: 12px 24px;
  border-top: 1px solid #e0e0e0;
  background: #fafafa;
  text-align: right;
}

.sr-card-more {
  font-size: 0.8rem;
  font-weight: 700;
  color: #303030;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s;
}

.sr-card:hover .sr-card-more {
  color: #fabe01;
}

.sr-card-more i {
  font-size: 0.7rem;
  transition: transform 0.25s;
}

.sr-card:hover .sr-card-more i {
  transform: translateX(3px);
}

/* ===== Keep (Bookmark) Button ===== */
.sr-card {
  position: relative;
}

.sr-card .keep-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  color: #ccc;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.sr-card .keep-btn:hover {
  color: #fabe01;
  transform: scale(1.1);
}

.sr-card .keep-btn.is-kept {
  color: #fabe01;
}

.sr-card .keep-btn.is-kept i {
  font-weight: 900;
}

@keyframes keepPop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.35);
  }

  100% {
    transform: scale(1);
  }
}

.keep-btn.keep-pop {
  animation: keepPop 0.3s ease;
}

/* Detail page keep */
.jd-keep-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: #fff;
  color: #303030;
  font-size: 0.78rem;
  font-weight: 800;
  border: 2px solid #e0e0dc;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.jd-keep-btn:hover {
  border-color: #fabe01;
  color: #fabe01;
}

.jd-keep-btn.is-kept {
  border-color: #fabe01;
  color: #fabe01;
  background: #fffbea;
}

.jd-keep-area {
  margin: 16px 0 20px;
}

/* Keep list page — grid card layout */
.l-main-keep {
  min-height: 60vh;
  padding: 40px 0 80px;
}

.keep-list-count {
  font-size: 0.82rem;
  color: #666;
  margin-bottom: 20px;
}

.keep-list-count i {
  color: #fabe01;
  margin-right: 4px;
}

.keep-list-count strong {
  color: #303030;
}

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

.keep-loading {
  text-align: center;
  padding: 80px 20px;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.keep-loading p {
  color: #999;
  font-size: 0.85rem;
}

.keep-empty {
  text-align: center;
  padding: 60px 20px;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.keep-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid #e8e8e4;
  border-radius: 50%;
}

.keep-empty-icon i {
  font-size: 1.6rem;
  color: #ccc;
}

.keep-empty h3 {
  font-size: 1rem;
  font-weight: 900;
  color: #303030;
  margin-bottom: 10px;
}

.keep-empty p {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 24px;
}

.keep-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 24px;
  background: #00affa;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}

.keep-empty-btn:hover {
  background: #0095d5;
}

/* No Result — Premium Empty State */
.sr-no-result {
  grid-column: 1 / -1;
  text-align: center;
  padding: 32px 20px 80px;
  max-width: 560px;
  margin: 0 auto;
}

.sr-no-result .sr-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid #e8e8e4;
  border-radius: 50%;
}

.sr-no-result .sr-empty-icon i {
  font-size: 1.6rem;
  color: #ccc;
  margin: 0;
  display: inline;
}

.sr-no-result i {
  font-size: inherit;
  color: inherit;
  margin-bottom: 0;
  display: inline;
}

.sr-no-result h3 {
  font-size: 1rem;
  font-weight: 900;
  color: #303030;
  margin-bottom: 10px;
}

.sr-no-result p {
  font-size: 0.8rem;
  color: #999;
  line-height: 1.8;
  margin-bottom: 24px;
}

.sr-no-result .sr-empty-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.sr-no-result .sr-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 22px;
  font-size: 0.78rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}

.sr-no-result .sr-empty-btn-primary {
  background: #00affa;
  color: #fff;
}

.sr-no-result .sr-empty-btn-primary:hover {
  background: #0095d5;
}

.sr-no-result .sr-empty-btn-ghost {
  background: #fff;
  color: #303030;
  border: 1px solid #e0e0dc;
}

.sr-no-result .sr-empty-btn-ghost:hover {
  border-color: #ccc;
}

.sr-no-result .sr-empty-tips {
  margin: 36px auto 0;
  padding: 20px 24px;
  background: #303030;
  border-left: 4px solid #fabe01;
  text-align: left;
  max-width: 100%;
}

.sr-no-result .sr-empty-tips-title {
  font-size: 0.72rem;
  font-weight: 900;
  color: #fabe01;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.sr-no-result .sr-empty-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sr-no-result .sr-empty-tips li {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 0 6px 18px;
  position: relative;
  font-weight: 500;
}

.sr-no-result .sr-empty-tips li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: #fabe01;
  font-weight: 900;
  font-size: 1rem;
}



/* Responsive */
@media (max-width: 768px) {
  .sr-condition-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
  }

  .sr-condition-count {
    align-self: flex-end;
  }

  .sr-job-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sr-card-content {
    padding: 16px 18px 12px;
  }

  .sr-card-title {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .sr-condition-bar {
    padding: 10px 12px;
    gap: 8px;
  }

  .sr-condition-left {
    gap: 8px;
  }

  .sr-condition-chips {
    gap: 6px;
  }

  .sr-condition-label {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  .sr-chip {
    font-size: 0.75rem;
    padding: 4px 10px;
    gap: 4px;
  }

  .sr-chip i {
    font-size: 0.65rem;
  }
}

/* List Grid (legacy compat) */
.job-list-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Job Card Design — 1work Flat Editorial */
.job-list-card {
  display: flex;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #fabe01;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.job-list-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-left-color: #00affa;
}

.job-list-thumb {
  width: 300px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background-color: #f0f0f0;
}

.job-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.job-list-card:hover .job-list-thumb img {
  transform: scale(1.08);
}

.job-list-body {
  padding: 25px 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.job-list-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.job-cat-badge,
.job-emp-badge {
  font-size: 0.7rem;
  padding: 4px 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.job-cat-badge {
  background-color: #303030;
  color: #fabe01;
}

.job-emp-badge {
  background-color: transparent;
  color: #303030;
  border: 2px solid #303030;
}

.job-location {
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.job-location i {
  color: var(--job-accent);
  margin-right: 5px;
}

.job-list-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--job-navy);
  margin-bottom: 15px;
  line-height: 1.5;
}

/* 一覧用テーブル */
.job-list-table {
  width: 100%;
  margin-bottom: 15px;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.job-list-table th {
  text-align: left;
  padding: 4px 0;
  font-size: 0.8rem;
  color: #888;
  font-weight: 700;
  width: 40px;
  vertical-align: top;
}

.job-list-table td {
  padding: 4px 0 4px 15px;
  font-size: 0.9rem;
  color: #444;
  vertical-align: top;
  line-height: 1.6;
}

.salary-highlight {
  color: var(--job-navy);
  font-weight: 900;
  font-size: 1.1rem;
  font-family: 'Anton', "Roboto", sans-serif;
  background: rgba(250, 190, 1, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

.job-list-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px dashed #eee;
}

.job-tag-item {
  font-size: 0.7rem;
  color: #555;
  background: transparent;
  padding: 3px 10px;
  border: 1px solid #ddd;
}

.job-list-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  background: #fafafa;
  border-left: 2px solid #e0e0e0;
  color: #ccc;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.job-list-card:hover .job-list-arrow {
  background: #303030;
  color: #fabe01;
}

/* Pagination — 1work Sharp */
.pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: white;
  border: 2px solid #e0e0e0;
  text-decoration: none;
  color: #303030;
  font-weight: 800;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  transition: all 0.25s;
}

.page-numbers.current,
.page-numbers:hover {
  background: #303030;
  color: #fabe01;
  border-color: #303030;
}

/* =========================================================================
   Job Detail Page (Single) — 1work Redesign
   ========================================================================= */


/* =========================================================================

/* =========================================================================

/* =========================================================================
   1work Insights — Blog v3 (.ins-*)
   ========================================================================= */

/* ── Width helpers ── */
.inner-720 {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.inner-900 {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.inner-1000 {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ━━━ 2-COLUMN LAYOUT ━━━ */
.ins-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.ins-content {
  flex: 1;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.ins-side {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 24px;
}

/* ━━━ LIST PAGE ━━━ */
.ins-main {
  background: #fff;
  padding: 48px 0 140px;
}

/* Category Tabs */
.ins-cats {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid #e0e0dc;
  scrollbar-width: none;
  max-width: 100%;
}

.ins-cats::-webkit-scrollbar {
  display: none;
}

.ins-cat-tab {
  flex-shrink: 0;
  padding: 10px 18px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #999;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.ins-cat-tab:hover {
  color: #303030;
}

.ins-cat-tab.is-active {
  color: #303030;
  border-bottom-color: #fabe01;
  font-weight: 800;
}

/* Feed */
.ins-feed {
  display: flex;
  flex-direction: column;
}

.ins-item {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid #f0f0ed;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.ins-item:first-child {
  padding-top: 0;
}

.ins-item:hover {
  background: #fafaf7;
}

.ins-item:hover .ins-item-title {
  color: #fabe01;
}

.ins-item-thumb {
  width: 160px;
  height: 110px;
  flex-shrink: 0;
  overflow: hidden;
  background: #f0f0ee;
}

.ins-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.ins-item:hover .ins-item-thumb img {
  transform: scale(1.05);
}

.ins-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ins-item-cat {
  display: inline-block;
  background: #303030;
  color: #fabe01;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 2px 8px;
  margin-bottom: 8px;
  align-self: flex-start;
  letter-spacing: 0.04em;
}

.ins-item-title {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.6;
  color: #303030;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ins-item-ex {
  font-size: 0.78rem;
  color: #999;
  line-height: 1.5;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pager */
.ins-pager {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.ins-pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #303030;
  background: transparent;
  border: 2px solid #e0e0dc;
  text-decoration: none;
  transition: all 0.2s;
}

.ins-pager .page-numbers.current,
.ins-pager .page-numbers:hover {
  background: #303030;
  color: #fabe01;
  border-color: #303030;
}

.ins-empty {
  text-align: center;
  padding: 60px 20px;
  color: #aaa;
}

/* ━━━ SIDEBAR ━━━ */
.ins-sb {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* CTA block */
.ins-sb-cta {
  background: #303030;
  padding: 28px 22px;
  text-align: center;
}

.ins-sb-cta-en {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 900;
  color: #fabe01;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.ins-sb-cta-txt {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 16px;
}

.ins-sb-cta-btn {
  display: inline-block;
  background: #fabe01;
  color: #303030;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 10px 28px;
  text-decoration: none;
  transition: background 0.2s;
}

.ins-sb-cta-btn:hover {
  background: #fff;
}

/* Sidebar blocks */
.ins-sb-block {
  border: 1px solid #eee;
  padding: 20px 18px;
}

.ins-sb-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 900;
  color: #303030;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fabe01;
}

/* Category list */
.ins-sb-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ins-sb-cat-list li {
  border-bottom: 1px solid #f5f5f2;
}

.ins-sb-cat-list li:last-child {
  border-bottom: none;
}

.ins-sb-cat-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #444;
  text-decoration: none;
  transition: color 0.2s;
}

.ins-sb-cat-list a:hover {
  color: #fabe01;
}

.ins-sb-cnt {
  font-size: 0.65rem;
  color: #bbb;
  font-family: 'Inter', sans-serif;
}

/* Popular posts */
.ins-sb-pop {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ins-sb-pop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f2;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.ins-sb-pop-item:last-child {
  border-bottom: none;
}

.ins-sb-pop-item:hover {
  background: #fafaf7;
}

.ins-sb-rank {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 900;
  color: #fabe01;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.ins-sb-pop-thumb {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  overflow: hidden;
  background: #eee;
}

.ins-sb-pop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ins-sb-pop-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #444;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ━━━ SINGLE PAGE ━━━ */
.ins-single {
  background: #fff;
  padding: 48px 0 0;
}

.ins-article {
  padding-bottom: 0;
}

/* Header */
.ins-art-head {
  margin-bottom: 28px;
}

.ins-art-cat {
  display: inline-block;
  background: #303030;
  color: #fabe01;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 3px 12px;
  text-decoration: none;
  margin-bottom: 14px;
  transition: background 0.2s;
}

.ins-art-cat:hover {
  background: #fabe01;
  color: #303030;
}

.ins-art-title {
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-weight: 900;
  line-height: 1.65;
  color: #303030;
}

/* Hero */
.ins-art-hero {
  margin: 0 0 36px;
}

.ins-art-hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}


/* ━━━ ARTICLE BODY — 独特デザイン ━━━ */
.ins-art-body {
  padding-bottom: 40px;
  font-size: 0.9rem;
  line-height: 2;
  color: #444;
}

.ins-art-body h2 {
  position: relative;
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  background: #303030;
  padding: 14px 20px 14px 22px;
  margin: 52px 0 22px;
  line-height: 1.5;
}

.ins-art-body h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #fabe01;
}

.ins-art-body h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #303030;
  margin: 40px 0 16px;
  padding: 10px 16px;
  background: #f7f7f3;
  border-left: 4px solid #fabe01;
  line-height: 1.5;
}

.ins-art-body h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: #303030;
  margin: 32px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px dashed #e0e0dc;
}

.ins-art-body p {
  margin-bottom: 1.6em;
}

.ins-art-body img {
  max-width: 100%;
  height: auto;
  margin: 24px 0;
}

.ins-art-body blockquote {
  position: relative;
  margin: 36px 0;
  padding: 28px 28px 28px 48px;
  background: #fafaf6;
  border: none;
  font-size: 0.88rem;
  color: #666;
  line-height: 1.8;
}

.ins-art-body blockquote::before {
  content: '\201C';
  position: absolute;
  left: 14px;
  top: 8px;
  font-size: 3rem;
  color: #fabe01;
  font-family: Georgia, serif;
  line-height: 1;
}

.ins-art-body blockquote p {
  margin-bottom: 0;
}

/* List styling — ドットを四角に、背景ストライプ */
.ins-art-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6em;
}

.ins-art-body ul li {
  position: relative;
  padding: 10px 16px 10px 32px;
  margin: 0;
  border-bottom: 1px solid #f0f0ed;
  font-size: 0.88rem;
  line-height: 1.7;
}

.ins-art-body ul li:nth-child(even) {
  background: #fafaf7;
}

.ins-art-body ul li::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 16px;
  width: 8px;
  height: 8px;
  background: #fabe01;
}

.ins-art-body ol {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6em;
  counter-reset: ol-counter;
}

.ins-art-body ol li {
  position: relative;
  padding: 10px 16px 10px 40px;
  margin: 0;
  border-bottom: 1px solid #f0f0ed;
  font-size: 0.88rem;
  line-height: 1.7;
  counter-increment: ol-counter;
}

.ins-art-body ol li:nth-child(even) {
  background: #fafaf7;
}

.ins-art-body ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 10px;
  top: 10px;
  width: 22px;
  height: 22px;
  background: #303030;
  color: #fabe01;
  font-size: 0.7rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
}

.ins-art-body a {
  color: #00affa;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ins-art-body a:hover {
  color: #303030;
}

.ins-art-body strong {
  color: #303030;
  font-weight: 800;
  background: linear-gradient(transparent 60%, rgba(250, 190, 1, 0.3) 60%);
}

.ins-art-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.85rem;
}

.ins-art-body th,
.ins-art-body td {
  padding: 10px 14px;
  border: 1px solid #e0e0dc;
}

.ins-art-body th {
  background: #303030;
  color: #fff;
  font-weight: 700;
}

.ins-art-body td {
  background: #fff;
}

.ins-art-body pre {
  background: #1e1e1e;
  color: #d4d4d4;
  padding: 20px;
  overflow-x: auto;
  margin: 24px 0;
  font-size: 0.82rem;
  line-height: 1.6;
}

.ins-art-body code {
  font-size: 0.82rem;
  background: #f0f0ec;
  padding: 2px 6px;
}

.ins-art-body pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Footer */
.ins-art-foot {
  padding: 20px 0 32px;
  border-top: 1px solid #eee;
}

.ins-art-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ins-art-tags-label {
  font-size: 0.72rem;
  color: #999;
  font-weight: 700;
}

.ins-art-tag {
  font-size: 0.68rem;
  color: #303030;
  background: #f5f5f0;
  padding: 4px 12px;
  text-decoration: none;
  font-weight: 700;
}

.ins-art-tag:hover {
  background: #fabe01;
}

/* Post Nav */
.ins-postnav {
  background: #f7f7f4;
  padding: 36px 0;
}

.ins-postnav-inner {
  display: flex;
  gap: 16px;
}

.ins-pn-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  background: #fff;
  text-decoration: none;
  border: 1px solid #e0e0dc;
  transition: border-color 0.2s;
}

.ins-pn-link:hover {
  border-color: #fabe01;
}

.ins-pn-empty {
  border-color: transparent;
  background: transparent;
}

.ins-pn-dir {
  font-size: 0.62rem;
  font-weight: 800;
  color: #bbb;
  letter-spacing: 0.1em;
}

.ins-pn-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #303030;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ins-pn-next {
  text-align: right;
}

/* Related */
.ins-related {
  background: #fff;
  padding: 48px 0 64px;
  border-top: 1px solid #eee;
}

.ins-sec-heading {
  font-size: 1rem;
  font-weight: 900;
  color: #303030;
  text-align: center;
  margin-bottom: 28px;
}

.ins-sec-en {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.55rem;
  font-weight: 800;
  color: #fabe01;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ins-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ins-rel-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}

.ins-rel-card:hover {
  transform: translateY(-3px);
}

.ins-rel-thumb {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f0f0ee;
  margin-bottom: 10px;
}

.ins-rel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ins-rel-body {
  padding: 0 2px;
}

.ins-rel-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #303030;
  line-height: 1.55;
  margin: 6px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ━━━ RESPONSIVE ━━━ */
@media (max-width: 900px) {
	
    .search-panel-inner {
        padding: 24px 16px 48px;
    }
    .sp-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sp-keyword-bar {
        padding: 12px 14px;
    }

    .sp-keyword-input {
        font-size: 16px;
        min-width: 120px;
    }

  .ins-layout {
    flex-direction: column;
    gap: 40px;
  }

  .ins-side {
    width: 100%;
    position: static;
  }

  .ins-main {
    padding: 32px 0 100px;
  }

  .ins-single {
    padding: 32px 0 0;
  }

  .ins-item {
    gap: 14px;
    padding: 16px 0;
  }

  .ins-item-thumb {
    width: 100px;
    height: 72px;
  }

  .ins-item-title {
    font-size: 0.85rem;
  }

  .ins-item-ex {
    display: none;
  }

  .ins-art-title {
    font-size: 1.1rem;
  }

  .ins-art-body h2 {
    font-size: 1.02rem;
    padding: 12px 16px 12px 18px;
    margin-top: 36px;
  }

  .ins-art-body h3 {
    font-size: 0.92rem;
  }

  .ins-art-body p {
    font-size: 0.85rem;
  }

  .ins-postnav-inner {
    flex-direction: column;
    gap: 10px;
  }

  .ins-pn-next {
    text-align: left;
  }

  .ins-related {
    padding: 36px 0 48px;
  }

  .ins-related-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ins-rel-card {
    flex-direction: row;
    gap: 12px;
  }

  .ins-rel-thumb {
    width: 90px;
    height: 64px;
    aspect-ratio: auto;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .ins-rel-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .ins-sb {
    flex-direction: column;
    gap: 20px;
  }

  .ins-sb-cta {
    padding: 22px 18px;
  }
}

/* =========================================================================
   Employer Page v3 (.ep-*)
   ========================================================================= */
.ep-page {
  background: #fff;
}

/* ── Stat bar ── */
.ep-stats {
  background: #303030;
  padding: 36px 0;
}

.ep-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.ep-stat {
  text-align: center;
  padding: 12px 8px;
  position: relative;
}

.ep-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.ep-stat-val {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: #fabe01;
  line-height: 1.2;
  margin-bottom: 6px;
}

.ep-stat-val small {
  font-size: 0.6em;
}

.ep-stat-val i {
  font-size: 1.6rem;
}

.ep-stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

/* ── Intro ── */
.ep-intro {
  background: #f9f9f6;
  padding: 72px 0;
  text-align: center;
}

.ep-intro-title {
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  font-weight: 900;
  color: #303030;
  line-height: 1.65;
  margin-bottom: 18px;
}

.ep-intro-text {
  font-size: 0.88rem;
  color: #777;
  line-height: 2;
}

/* ── Section heading ── */
.ep-heading {
  font-size: 1.35rem;
  font-weight: 900;
  color: #303030;
  margin-bottom: 36px;
}

.ep-heading-en {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.58rem;
  font-weight: 900;
  color: #fabe01;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ── Plans ── */
.ep-plans {
  padding: 72px 0;
  background: #fff;
}

.ep-plan {
  position: relative;
  display: flex;
  margin-bottom: 20px;
  border: 2px solid #e8e8e4;
  transition: border-color 0.3s;
}

.ep-plan:hover {
  border-color: #ccc;
}

/* Plan header (left column) */
.ep-plan-header {
  width: 380px;
  flex-shrink: 0;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ep-plan-tier {
  font-family: 'Inter', sans-serif;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: #aaa;
  margin-bottom: 8px;
}

.ep-plan-identity {
  margin-bottom: 16px;
}

.ep-plan-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: #303030;
  line-height: 1.2;
  margin-bottom: 2px;
}

.ep-plan-kana {
  font-style: normal;
  font-size: 0.7rem;
  color: #aaa;
}

.ep-plan-pricing {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ep-plan-price {
  font-size: 0.9rem;
  color: #303030;
}

.ep-plan-price b {
  font-size: 2rem;
  font-weight: 900;
}

.ep-plan-price small {
  font-size: 0.85rem;
}

.ep-plan-tax {
  font-size: 0.68rem;
  color: #999;
}

.ep-plan-period {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
  background: #303030;
  padding: 2px 10px;
  align-self: flex-start;
}

/* Plan body (right column) */
.ep-plan-body {
  flex: 1;
  padding: 32px 28px;
  border-left: 1px solid #e8e8e4;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ep-plan-tags {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ep-plan-tags li {
  font-size: 0.78rem;
  font-weight: 700;
  color: #555;
  background: #f5f5f0;
  padding: 6px 14px;
}

.ep-plan-tags li strong {
  color: #303030;
}

.ep-plan-note {
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 14px;
}

.ep-plan-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #303030;
  text-decoration: none;
  padding: 10px 24px;
  border: 2px solid #303030;
  transition: all 0.2s;
  align-self: flex-start;
}

.ep-plan-cta:hover {
  background: #303030;
  color: #fabe01;
}

/* Plan popular badge */
.ep-plan-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #fabe01;
  color: #303030;
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 900;
  padding: 4px 20px;
  letter-spacing: 0.15em;
  z-index: 1;
}

/* Plan variants */
.ep-plan--trial {
  border-color: #d4edda;
}

.ep-plan--trial .ep-plan-header {
  background: #f0faf3;
}

.ep-plan--trial .ep-plan-tier {
  color: #28a745;
}

.ep-plan--trial .ep-plan-period {
  background: #28a745;
}

.ep-plan--trial .ep-plan-cta {
  background: #28a745;
  color: #fff;
  border-color: #28a745;
}

.ep-plan--trial .ep-plan-cta:hover {
  background: #1e7e34;
}

.ep-plan--boost {
  border-color: #fabe01;
  box-shadow: 0 4px 20px rgba(250, 190, 1, 0.15);
}

.ep-plan--boost .ep-plan-header {
  background: #303030;
}

.ep-plan--boost .ep-plan-tier {
  color: #fabe01;
}

.ep-plan--boost .ep-plan-name {
  color: #fff;
}

.ep-plan--boost .ep-plan-kana {
  color: rgba(255, 255, 255, 0.5);
}

.ep-plan--boost .ep-plan-price {
  color: #fabe01;
}

.ep-plan--boost .ep-plan-price b {
  color: #fabe01;
}

.ep-plan--boost .ep-plan-tax {
  color: rgba(255, 255, 255, 0.5);
}

.ep-plan--boost .ep-plan-period {
  background: #fabe01;
  color: #303030;
}

.ep-plan--dom .ep-plan-header {
  background: #1a1a1a;
}

.ep-plan--dom .ep-plan-tier {
  color: #fabe01;
}

.ep-plan--dom .ep-plan-name {
  color: #fff;
}

.ep-plan--dom .ep-plan-kana {
  color: rgba(255, 255, 255, 0.4);
}

.ep-plan--dom .ep-plan-price {
  color: #fff;
}

.ep-plan--dom .ep-plan-price b {
  color: #fff;
}

.ep-plan--dom .ep-plan-tax {
  color: rgba(255, 255, 255, 0.4);
}

.ep-plan--dom .ep-plan-period {
  background: #d4001a;
}

/* ── Advantage ── */
.ep-adv {
  background: #f7f7f4;
  padding: 72px 0;
}

.ep-adv-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ep-adv-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid #eee;
  transition: border-color 0.2s;
}

.ep-adv-item:hover {
  border-color: #fabe01;
}

.ep-adv-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: #00affa;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.ep-adv-content h3 {
  font-size: 1rem;
  font-weight: 900;
  color: #303030;
  margin-bottom: 8px;
}

.ep-adv-content p {
  font-size: 0.82rem;
  color: #777;
  line-height: 1.8;
}

/* ── Compare ── */
.ep-compare {
  background: #f9f9f6;
  padding: 72px 0;
}

.ep-compare .ep-heading {
  color: #303030;
}

.ep-cmp-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ep-cmp-row {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid #e8e8e4;
  margin-bottom: -1px;
}

.ep-cmp-label {
  width: 130px;
  flex-shrink: 0;
  padding: 18px 20px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #303030;
  display: flex;
  align-items: center;
  background: #f5f5f0;
  border-right: 1px solid #e8e8e4;
}

.ep-cmp-cols {
  flex: 1;
  display: flex;
}

.ep-cmp-us,
.ep-cmp-other {
  flex: 1;
  padding: 16px 18px;
  font-size: 0.8rem;
  line-height: 1.5;
  border-left: 1px solid #e8e8e4;
}

.ep-cmp-us {
  background: rgba(0, 175, 250, 0.06);
  color: #303030;
}

.ep-cmp-us strong {
  display: block;
  color: #00affa;
  font-weight: 900;
  margin-bottom: 2px;
}

.ep-cmp-us span {
  font-size: 0.7rem;
  color: #999;
}

.ep-cmp-other {
  color: #888;
}

.ep-cmp-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  color: #bbb;
  margin-right: 6px;
}

/* ── Flow ── */
.ep-flow {
  padding: 72px 0;
  background: #fff;
}

.ep-flow .ep-heading {
  text-align: center;
}

.ep-flow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.ep-step {
  text-align: center;
  padding: 28px 32px;
  flex: 1;
  max-width: 260px;
}

.ep-step-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: #00affa;
  margin-bottom: 14px;
  line-height: 1;
}

.ep-step h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #303030;
  margin-bottom: 8px;
}

.ep-step p {
  font-size: 0.78rem;
  color: #888;
  line-height: 1.7;
}

.ep-step-arrow {
  display: flex;
  align-items: center;
  color: #ddd;
  font-size: 1rem;
  padding-top: 40px;
}

/* ── CTA ── */
.ep-cta {
  background: #00affa;
  padding: 64px 0;
}

.ep-cta-inner {
  text-align: center;
}

.ep-cta-title {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.6;
}

.ep-cta-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 28px;
}

.ep-cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ep-cta-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #00affa;
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s;
}

.ep-cta-main:hover {
  background: #303030;
  color: #fff;
}

.ep-cta-sub {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #303030;
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid #303030;
  transition: all 0.2s;
}

.ep-cta-sub:hover {
  background: #303030;
  color: #fff;
}

.ep-cta-tertiary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: all 0.2s;
}

.ep-cta-tertiary:hover {
  background: #fff;
  color: #00affa;
  border-color: #fff;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .ep-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .ep-stat:nth-child(2)::after {
    display: none;
  }

  .ep-intro {
    padding: 48px 0;
  }

  .ep-intro-title {
    font-size: 1.3rem;
  }

  .ep-intro-text {
    text-align: left;
  }

  .ep-plans {
    padding: 48px 0;
  }

  .ep-plan {
    flex-direction: column;
  }

  .ep-plan-header {
    width: 100%;
    padding: 24px 20px;
  }

  .ep-plan-body {
    border-left: none;
    border-top: 1px solid #e8e8e4;
    padding: 24px 20px;
  }

  .ep-plan-tags {
    gap: 6px;
  }

  .ep-plan-tags li {
    font-size: 0.72rem;
    padding: 5px 10px;
  }

  .ep-adv {
    padding: 48px 0;
  }

  .ep-adv-item {
    flex-direction: column;
    gap: 12px;
    padding: 22px 20px;
  }

  .ep-compare {
    padding: 48px 0;
  }

  .ep-cmp-row {
    flex-direction: column;
  }

  .ep-cmp-label {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 16px;
  }

  .ep-cmp-cols {
    flex-direction: column;
  }

  .ep-cmp-other {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .ep-flow-steps {
    flex-direction: column;
    align-items: center;
  }

  .ep-step-arrow {
    transform: rotate(90deg);
    padding: 0;
  }

  .ep-cta {
    padding: 48px 0;
  }

  .ep-cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .ep-cta-main,
  .ep-cta-sub,
  .ep-cta-tertiary {
    width: 100%;
    max-width: 360px;
    justify-content: center;
    padding: 14px 20px;
  }
}

/* =========================================================================
   Job Application Page (.ja-*)
   ========================================================================= */

.ja-main {
  background: #f7f7f4;
  padding: 36px 0 60px;
}

.ja-job-info {
  background: #303030;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ja-ji-label {
  font-size: 0.65rem;
  font-weight: 800;
  background: #fabe01;
  color: #303030;
  padding: 3px 10px;
  flex-shrink: 0;
}

.ja-ji-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.ja-ji-title:hover {
  color: #fabe01;
}

.ja-intro {
  margin-bottom: 24px;
}

.ja-intro p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #666;
}

/* Form */
.ja-form {
  background: #fff;
  border: 1px solid #e0e0dc;
  padding: 32px 28px;
}

.ja-field {
  margin-bottom: 20px;
}

.ja-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #303030;
  margin-bottom: 6px;
}

.ja-req {
  font-size: 0.6rem;
  font-weight: 800;
  background: #e53935;
  color: #fff;
  padding: 1px 6px;
  margin-left: 4px;
  vertical-align: middle;
}

.ja-input,
.ja-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.9rem;
  border: 2px solid #e0e0dc;
  background: #fafaf8;
  color: #303030;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  box-sizing: border-box;
}

.ja-input:focus,
.ja-textarea:focus {
  border-color: #fabe01;
  background: #fff;
}

.ja-input::placeholder,
.ja-textarea::placeholder {
  color: #bbb;
}

.ja-input--short {
  max-width: 120px;
}

.ja-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Agree */
.ja-agree {
  margin: 24px 0;
  padding: 14px 16px;
  background: #fafaf8;
  border: 1px solid #e0e0dc;
  font-size: 0.82rem;
  color: #555;
}

.ja-agree label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.ja-agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #fabe01;
}

.ja-agree a {
  color: #00affa;
  font-weight: 700;
}

/* Submit */
.ja-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 28px;
  gap: 0;
}

.ja-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fabe01;
  color: #303030;
  font-weight: 800;
  font-size: 1rem;
  padding: 16px 52px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.ja-submit-btn:hover {
  background: #303030;
  color: #fabe01;
}

.ja-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Success */
.ja-success {
  text-align: center;
  padding: 48px 20px;
}

.ja-success-inner {
  max-width: 480px;
  margin: 0 auto;
}

.ja-success-icon {
  font-size: 3.5rem;
  color: #fabe01;
  margin-bottom: 16px;
  animation: jaSuccessPop 0.4s ease;
}

@keyframes jaSuccessPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  60% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.ja-success-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: #303030;
  margin-bottom: 12px;
}

.ja-success-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 24px;
}

.ja-success-link {
  display: inline-block;
  color: #00affa;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  margin-bottom: 12px;
}

.ja-success-link:hover {
  text-decoration: underline;
}

.ja-success-home {
  display: block;
  font-size: 0.82rem;
  color: #999;
  text-decoration: none;
}

.ja-success-home:hover {
  color: #303030;
}

/* Responsive */
@media (max-width: 768px) {
  .ja-form {
    padding: 20px 16px;
  }

  .ja-job-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .ja-submit-btn {
    width: 100%;
    padding: 16px;
  }
}

/* =========================================================================
   CF7 応募フォーム — ja-* デザインに統一
   ========================================================================= */

/* ── フォーム全体リセット ── */
.ja-cf7-wrap {
  font-size: 1rem;
}

/* ラッパー：ja-form と同じ外観 */
.ja-cf7-wrap .wpcf7 {
  background: #fff;
  border: 1px solid #e0e0dc;
  padding: 36px 32px;
  box-sizing: border-box;
  width: 100%;
}

/* CF7フォーム要素を100%幅に */
.ja-cf7-wrap form {
  width: 100%;
}

/* フォーム行 */
.cf7-form-wrapper .form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
  width: 100%;
}

/* ラベル列 */
.cf7-form-wrapper .form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.cf7-form-wrapper .form-label label {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: #303030;
  line-height: 1;
}

/* 必須バッジ */
.cf7-form-wrapper .req {
  font-size: 0.62rem;
  font-weight: 800;
  background: #e53935;
  color: #fff;
  padding: 2px 7px;
  vertical-align: middle;
  line-height: 1.8;
  flex-shrink: 0;
}

/* ── CF7のspanラッパーをblockにして横幅を確保（これが横幅問題の根本修正） ── */
.cf7-form-wrapper .form-input .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* ── テキスト・メール・電話・数値 inputs ── */
.cf7-form-wrapper .form-input input[type="text"],
.cf7-form-wrapper .form-input input[type="email"],
.cf7-form-wrapper .form-input input[type="tel"],
.cf7-form-wrapper .form-input input[type="number"],
.cf7-form-wrapper .form-input textarea {
  display: block;
  width: 100%;
  padding: 13px 16px;
  font-size: 0.95rem;
  border: 2px solid #e0e0dc;
  background: #fafaf8;
  color: #303030;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
  box-sizing: border-box;
  border-radius: 0;
  -webkit-appearance: none;
  margin: 0;
}

.cf7-form-wrapper .form-input input[type="text"]:focus,
.cf7-form-wrapper .form-input input[type="email"]:focus,
.cf7-form-wrapper .form-input input[type="tel"]:focus,
.cf7-form-wrapper .form-input input[type="number"]:focus,
.cf7-form-wrapper .form-input textarea:focus {
  border-color: #fabe01;
  background: #fff;
}

.cf7-form-wrapper .form-input input::placeholder,
.cf7-form-wrapper .form-input textarea::placeholder {
  color: #c0c0bb;
  font-size: 0.9rem;
}

/* readonly フィールド（応募求人名） */
.cf7-form-wrapper .form-input input.readonly-input {
  background: #f0f0ec;
  color: #888;
  cursor: default;
  border-style: dashed;
  font-size: 0.9rem;
}

/* textarea */
.cf7-form-wrapper .form-input textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.7;
}

/* ── ラジオボタン（性別） ── */
.cf7-form-wrapper .form-input .wpcf7-radio {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.cf7-form-wrapper .form-input .wpcf7-radio .wpcf7-list-item {
  margin: 0;
}

.cf7-form-wrapper .form-input .wpcf7-radio .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #303030;
  cursor: pointer;
}

.cf7-form-wrapper .form-input .wpcf7-radio input[type="radio"] {
  width: 17px;
  height: 17px;
  accent-color: #fabe01;
  cursor: pointer;
  flex-shrink: 0;
}

/* ── フィールドバリデーションエラー：送信失敗時のみ表示 ── */
.wpcf7-not-valid-tip {
  display: none;
}
.wpcf7-form.invalid .wpcf7-not-valid-tip {
  display: block;
  color: #e53935;
  font-size: 0.78rem;
  margin-top: 5px;
  font-weight: 600;
}

/* CF7 グローバルレスポンスは初期非表示（wpcf7invalidイベントでJS側からdisplay:blockにする） */
.ja-cf7-wrap .wpcf7-response-output {
  display: none;
}

/* CF7 スピナー非表示 */
.ja-cf7-wrap .wpcf7-spinner {
  display: none !important;
}

/* ── プライバシーポリシー同意エリア（JSで注入） ── */
.ja-cf7-privacy {
  margin: 24px 0 20px;
  padding: 14px 18px;
  background: #fafaf8;
  border: 1px solid #e0e0dc;
  font-size: 0.88rem;
  color: #555;
}

.ja-cf7-privacy label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

/* チェックボックスの隣テキストを1つのブロックとして折り返し */
.ja-cf7-privacy label span {
  flex: 1;
  line-height: 1.6;
  font-size: inherit;
}

.ja-cf7-privacy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #fabe01;
  flex-shrink: 0;
  cursor: pointer;
}

.ja-cf7-privacy a {
  color: #00affa;
  font-weight: 700;
  text-decoration: underline;
}

/* ── フッター（送信ボタンエリア） ── */
.cf7-form-wrapper .form-footer {
  margin-top: 4px;
  text-align: center;
}

.cf7-form-wrapper .submit-wrap {
  display: flex;
  justify-content: center;
}

/* CF7 送信ボタン — 有効：黒背景 / Hover：水色 */
.cf7-form-wrapper .entry-submit-btn,
.cf7-form-wrapper .wpcf7-submit {
  display: inline-block;
  background: #303030;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 17px 56px;
  border: 2px solid #303030;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-family: inherit;
  min-width: 280px;
  letter-spacing: 0.04em;
  text-align: center;
}

.cf7-form-wrapper .entry-submit-btn:hover:not(:disabled),
.cf7-form-wrapper .wpcf7-submit:hover:not(:disabled) {
  background: #00affa;
  border-color: #00affa;
  color: #fff;
}

/* アイコンはhoverでも白のまま */

.cf7-form-wrapper .entry-submit-btn:disabled,
.cf7-form-wrapper .wpcf7-submit:disabled {
  background: #fff;
  color: #ccc;
  border-color: #ccc;
  cursor: not-allowed;
}

/* disabled：白背景 + グレー文字 */
.cf7-form-wrapper .entry-submit-btn:disabled,
.cf7-form-wrapper .wpcf7-submit:disabled {
  background: #fff;
  color: #ccc;
  border-color: #ccc;
  cursor: not-allowed;
}

/* ── 送信中ローディング ── */
@keyframes cf7-submit-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

.cf7-form-wrapper .wpcf7-submit.is-loading {
  background: #00affa !important;
  border-color: #00affa !important;
  color: #fff !important;
  cursor: wait !important;
  animation: cf7-submit-pulse 1.1s ease-in-out infinite;
}

@media (max-width: 768px) {
  .ja-cf7-wrap .wpcf7 {
    padding: 22px 18px;
  }

  .cf7-form-wrapper .entry-submit-btn,
  .cf7-form-wrapper .wpcf7-submit {
    width: 100%;
    padding: 17px;
    min-width: unset;
  }

  .cf7-form-wrapper .wpcf7-radio {
    gap: 14px;
  }
}

/* ── 極小SP（400px以下）：横MAX＋アイコン貫通防止 ── */
@media (max-width: 400px) {
  .cf7-form-wrapper .entry-submit-btn,
  .cf7-form-wrapper .wpcf7-submit {
    width: 100%;
    padding: 16px;
    min-width: unset;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
  }
}

/* =========================================================================
   Job Detail v5 — Compact / page-hero MV
   ========================================================================= */

/* ── Info Bar ── */
.jd-bar {
  background: #303030;
  border-bottom: 3px solid #fabe01;
}

.jd-bar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}

.jd-bar-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  min-width: 0;
}

.jd-bar-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.jd-bb {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  background: #fabe01;
  color: #303030;
}

.jd-bb--o {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.jd-bar-salary {
  display: flex;
  align-items: center;
  gap: 4px;
}

.jd-bs-form {
  font-size: 0.62rem;
  font-weight: 800;
  background: #fabe01;
  color: #303030;
  padding: 2px 6px;
}

.jd-bs-amount {
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
}

.jd-bar-loc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.jd-bar-loc i {
  color: #00affa;
}

.jd-bar-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fabe01;
  color: #303030;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 12px 28px;
  text-decoration: none;
  transition: all 0.2s;
}

.jd-bar-btn:hover {
  background: #fff;
}

/* ── Gallery ── */
.jd-gallery {
  background: #f5f5f2;
  padding: 24px 0;
}

.jd-gallery-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.jd-gallery-main {
  position: relative;
  background: #fff;
  border: 1px solid #e0e0dc;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.jd-photo {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.jd-photo.is-on {
  display: flex;
}

.jd-photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.jd-pn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(48, 48, 48, 0.6);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  z-index: 2;
  transition: background 0.2s;
  padding: 0;
}

.jd-pn:hover {
  background: #fabe01;
  color: #303030;
}

.jd-pn-prev {
  left: 8px;
}

.jd-pn-next {
  right: 8px;
}

.jd-gallery-thumbs {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.jd-thumb {
  flex: 1;
  aspect-ratio: 4 / 3;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: #fff;
  opacity: 0.5;
  transition: all 0.2s;
}

.jd-thumb.is-on,
.jd-thumb:hover {
  opacity: 1;
  border-color: #fabe01;
}

.jd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Photos */

/* ── Body ── */
.jd-body {
  background: #fff;
  padding: 28px 0 48px;
}

.inner-1000 {
  max-width: 1000px;
  margin: 0 auto;
}

.jd-tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 20px;
}

.jd-tagline span {
  font-size: 0.7rem;
  color: #999;
  border: 1px solid #e0e0e0;
  padding: 2px 7px;
}

/* Message */
.jd-msg {
  display: flex;
  gap: 14px;
  background: #fffdf5;
  border: 1px solid #f0e8c8;
  border-left: 4px solid #fabe01;
  padding: 16px 18px;
  margin-bottom: 24px;
}

.jd-msg-icon {
  color: #fabe01;
  font-size: 1.1rem;
  flex-shrink: 0;
  padding-top: 2px;
}

.jd-msg-text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #444;
}

/* Section */
.jd-sec {
  margin-bottom: 28px;
}

.jd-h2 {
  font-size: 1.05rem;
  font-weight: 900;
  color: #303030;
  padding: 10px 14px;
  background: #303030;
  color: #fff;
  margin-bottom: 0;
}

/* DL specs */
.jd-dl {
  border: 1px solid #e0e0dc;
}

.jd-di {
  display: flex;
  border-bottom: 1px solid #f0f0ec;
}

.jd-di:last-child {
  border-bottom: none;
}

.jd-di dt {
  width: 130px;
  flex-shrink: 0;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 0.78rem;
  color: #303030;
  background: #fafaf8;
  border-right: 2px solid #fabe01;
}

.jd-di dd {
  flex: 1;
  padding: 12px 14px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #333;
  margin: 0;
}

.jd-di dd strong {
  font-size: 1rem;
  color: #303030;
}

.jd-pill {
  display: inline-block;
  background: #fabe01;
  color: #303030;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 6px;
  margin-left: 4px;
  vertical-align: middle;
}

.jd-sub {
  margin-top: 4px;
  font-size: 0.78rem;
  color: #777;
  padding: 4px 8px;
  background: #f8f8f6;
  border-left: 2px solid #e0e0dc;
}

.jd-train {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 4px;
  margin-left: 8px;
  font-size: 0.78rem;
  color: #666;
  padding: 2px 6px;
  background: #f8f8f6;
  border: 1px solid #e0e0dc;
}

.jd-train i {
  color: #00affa;
}

/* Prose */
.jd-prose {
  background: #fafaf8;
  border: 1px solid #e0e0dc;
  padding: 18px 20px;
  font-size: 0.88rem;
  line-height: 1.8;
  color: #444;
}

/* Bottom CTA */
.jd-bottom-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 28px 20px;
  background: #303030;
}

.jd-bottom-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fabe01;
  color: #303030;
  font-weight: 800;
  font-size: 1rem;
  padding: 16px 48px;
  text-decoration: none;
  transition: all 0.2s;
}

.jd-bottom-btn:hover {
  background: #fff;
}

.jd-bottom-note {
  margin-top: 10px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Fixed bottom bar (mobile) */
.jd-fixed-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 8px 12px;
  background: rgba(48, 48, 48, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.jd-fixed-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: #fabe01;
  color: #303030;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 12px;
  text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .jd-bar-inner {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .jd-bar-info {
    gap: 8px;
  }

  .jd-bar-btn {
    text-align: center;
    justify-content: center;
  }

  .jd-gallery-wrap {
    max-width: 100%;
  }

  .jd-gallery-main {
    aspect-ratio: 16 / 10;
  }

  .jd-di {
    flex-direction: column;
  }

  .jd-di dt {
    width: 100%;
    padding: 8px 12px;
    border-right: none;
    border-bottom: 2px solid #fabe01;
    font-size: 0.75rem;
  }

  .jd-di dd {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .jd-fixed-bar {
    display: block;
  }

  .jd-body {
    padding-bottom: 72px;
  }

  .jd-msg {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .jd-bs-amount {
    font-size: 0.9rem;
  }

  .jd-pn {
    width: 28px;
    height: 28px;
  }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 900px) {

  /* Header */
  .job-header {
    padding: 60px 0;
  }
}

/* =========================================================================
   Entry Modal & Form Styles (Final Optimized)
   ========================================================================= */

/* --- Modal Container --- */
.entry-modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.entry-modal-wrap.is-open {
  opacity: 1;
  visibility: visible;
}

.entry-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(19, 46, 75, 0.85);
  backdrop-filter: blur(5px);
}

.entry-modal-container {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.entry-modal-wrap.is-open .entry-modal-container {
  transform: translateY(0);
}

/* --- Header --- */
.entry-modal-header {
  background: var(--color-navy, #132e4b);
  color: #fff;
  padding: 20px 30px;
  text-align: center;
  flex-shrink: 0;
}

.entry-modal-title {
  font-family: "Roboto", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.entry-modal-sub {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 5px;
}

/* Close Button */
.entry-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.entry-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.entry-modal-close .close-bar {
  position: absolute;
  width: 20px;
  height: 2px;
  background: #fff;
  transform: rotate(45deg);
}

.entry-modal-close .close-bar:last-child {
  transform: rotate(-45deg);
}

/* --- Body Scroll --- */
.entry-modal-body {
  padding: 30px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #f8f8f8;
  flex-grow: 1;
}

/* --- Form Layout --- */
/* CF7応募フォームの旧スタイルをリセット */
.ja-cf7-wrap .cf7-form-wrapper {
  max-width: none;
  margin: 0;
}

.ja-cf7-wrap .form-row {
  margin-bottom: 22px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
}

/* ラベル調整 */
.form-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  /* ★隙間を少し広げました */
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--color-navy, #132e4b);
  font-size: 1rem;
}

/* 必須マーク */
.req {
  background: #d4001a;
  color: #fff;
  border: none;
  font-size: 0.6rem;
  padding: 3px 8px;
  border-radius: 0;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.nonreq {
  background: transparent;
  color: #a1a1a1;
  border: 1px solid #a1a1a1;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 50px;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* --- Inputs --- */
.form-input input[type="text"],
.form-input input[type="email"],
.form-input input[type="tel"],
.form-input textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  background: #fdfdfd;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.form-input input:focus,
.form-input textarea:focus {
  border-color: var(--color-orange, #f55b14);
  background: #fff;
  outline: none;
  box-shadow: 0 4px 12px rgba(245, 91, 20, 0.15);
}

.form-input textarea {
  resize: vertical;
}

/* Readonly Field */
.readonly-input {
  background-color: #f0f4f8 !important;
  color: #555;
  border: none !important;
  font-weight: 700;
  pointer-events: none;
  box-shadow: none !important;
}

/* --- Radio Buttons (Smaller) --- */
.wpcf7-radio {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wpcf7-list-item {
  margin: 0 !important;
}

.wpcf7-list-item label {
  display: block;
  cursor: pointer;
  padding: 0;
}

.wpcf7-list-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* ★性別ボタンを小さく調整 */
.wpcf7-list-item .wpcf7-list-item-label {
  display: block;
  padding: 8px 16px;
  /* パディング縮小 */
  min-width: 60px;
  /* 幅縮小 */
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50px;
  color: #666;
  font-size: 0.9rem;
  /* フォントも少し小さく */
  font-weight: 500;
  transition: all 0.2s ease;
  text-align: center;
}

.wpcf7-list-item input[type="radio"]:checked+.wpcf7-list-item-label {
  background: var(--color-orange, #f55b14);
  color: #fff;
  border-color: var(--color-orange, #f55b14);
  box-shadow: 0 4px 10px rgba(245, 91, 20, 0.3);
  font-weight: 700;
}

.wpcf7-list-item:hover .wpcf7-list-item-label {
  border-color: var(--color-orange, #f55b14);
  color: var(--color-orange, #f55b14);
}

.wpcf7-list-item input[type="radio"]:checked:hover+.wpcf7-list-item-label {
  color: #fff;
}

/* --- Submit Button & Spinner --- */
.submit-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
  padding: 0 20px;
}

.entry-submit-btn {
  min-width: 280px;
  padding: 18px 40px;
  background: var(--color-orange, #f55b14);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(245, 91, 20, 0.3);
}

.entry-submit-btn:hover {
  background: #00affa;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 175, 250, 0.3);
}

/* CF7応募フォーム内ではtransformを無効化（::beforeとのズレ防止） */
.cf7-form-wrapper .entry-submit-btn:hover,
.cf7-form-wrapper .wpcf7-submit:hover {
  transform: none;
  box-shadow: none;
}

.entry-submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Spinner absolute positioning */
.wpcf7-spinner {
  position: absolute !important;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 !important;
}

.wpcf7-response-output {
  border-radius: 8px;
  font-size: 0.9rem;
  margin: 20px 0 !important;
  text-align: center;
}

/* --- Note Area --- */
.cf7-contact-note {
  font-size: 0.85rem;
  color: #666;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 1px dashed #ccc;
}

.note-title {
  color: var(--color-orange);
  font-weight: bold;
  margin-bottom: 5px;
}

.note-info {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-row .label {
  background: #eee;
  padding: 2px 6px;
  font-size: 0.7rem;
  border-radius: 3px;
  font-weight: bold;
}

/* --- Success Animation --- */
.entry-success-area {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 400px;
}

.stamp-animation-container {
  width: 200px;
  height: 200px;
  position: relative;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: stamp-bounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  opacity: 0;
  transform: scale(2);
}

@keyframes stamp-bounce {
  0% {
    opacity: 0;
    transform: scale(3);
  }

  60% {
    opacity: 1;
    transform: scale(0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.stamp-circle {
  position: absolute;
  inset: 0;
  border: 5px solid var(--color-orange, #f55b14);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 8px var(--color-orange, #f55b14);
  opacity: 0.8;
  mask-image: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='0.5' filter='url(%23noise)'/%3E%3C/svg%3E");
  mask-mode: alpha;
}

.stamp-text {
  color: var(--color-orange, #f55b14);
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 1.1;
  text-align: center;
  transform: rotate(-10deg);
  border: 3px solid var(--color-orange, #f55b14);
  padding: 10px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  z-index: 2;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--color-orange);
}

.success-message {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-navy, #132e4b);
  line-height: 1.6;
  opacity: 0;
  animation: fade-in-up 0.5s ease 0.6s forwards;
  transform: translateY(20px);
}

@keyframes fade-in-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-close-modal-final {
  margin-top: 30px;
  background: #ccc;
  color: #fff;
  border: none;
  padding: 10px 30px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  opacity: 0;
  animation: fade-in-up 0.5s ease 0.8s forwards;
}

.btn-close-modal-final:hover {
  background: #999;
}

/* SP Responsive */
@media (max-width: 768px) {
  .entry-modal-container {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }

  .entry-modal-header {
    text-align: left;
    padding-right: 60px;
  }

  .form-row {
    padding: 15px;
  }
}

/* =========================================================================
   Job Entry Form (独自デザイン: je-プレフィックス)
   ========================================================================= */

/* --------------------------------------------
   1. ベーススタイル (共通)
   -------------------------------------------- */

/* フォームコンテナ */
.je-form-wrapper {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 40px;
  margin-top: 40px;
  border: 1px solid #eef2f6;
}

/* 行（Row）の基本 */
.je-row {
  border-bottom: 1px solid #f0f0f0;
  padding: 24px 0;
}

.je-row:last-of-type {
  border-bottom: none;
}

/* ラベルエリア */
/* ラベルのコンテナ */
.je-label {
  display: flex;
  align-items: center;
  /* 上下中央揃え */
  gap: 12px;
  /* ラベルとバッジの間隔 */
  margin-bottom: 10px;
  width: auto;
  /* コンテナ幅を自動調整 */
}

/* ラベルテキスト */
.je-label label {
  font-weight: 700;
  color: var(--job-navy);
  font-size: 1rem;
  line-height: 1;
  /* 高さを抑える */
  margin: 0;
  /* 余計な余白を除去 */
  padding: 0;
  width: auto;
  /* 勝手に広がらないようにする */
  display: inline-block;
}

/* 入力エリア */
.je-input {
  width: 100%;
}

.je-input .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* テキスト・テキストエリア共通 */
.je-text,
.je-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.2s ease;
  appearance: none;
  color: #333;
}

.je-text:focus,
.je-textarea:focus {
  background: #fff;
  border-color: var(--job-accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(245, 91, 20, 0.1);
}

.je-textarea {
  min-height: 160px;
  resize: vertical;
}

/* 送信ボタンエリア */
.je-submit-area {
  margin-top: 50px;
  text-align: center;
}

.je-btn-submit {
  display: inline-block;
  background-color: var(--job-accent);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 18px 80px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 4px 15px rgba(245, 91, 20, 0.3);
}

.je-btn-submit:hover {
  transform: translateY(-2px);
  background-color: #ff7043;
  box-shadow: 0 8px 25px rgba(245, 91, 20, 0.4);
  color: #fff !important;
}

/* 補足エリア (Contact Form 7外で使用する場合など) */
.je-note-area {
  margin-top: 50px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.je-note-title {
  color: #e74c3c;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.je-note-text {
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.je-contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.je-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.je-info-item .label {
  background: #ddd;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 3px;
  color: #555;
}

/* --------------------------------------------
   2. PC用レイアウト (min-width: 769px)
   -------------------------------------------- */
@media screen and (min-width: 769px) {
  .je-form-wrapper {
    padding: 60px 80px;
  }

  /* --- 通常の1列レイアウト (ラベル左・入力右) --- */
  .je-row {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    /* 基本は上揃え */
  }

  /* テキストエリアが無い行は中央揃え */
  .je-row:not(:has(.je-textarea)) {
    align-items: center;
  }

  .je-label {
    width: 260px;
    flex-shrink: 0;
    margin-bottom: 0;
    justify-content: flex-start;
  }

  .je-input {
    flex: 1;
  }

  /* --- 2カラム（横並び）グリッドレイアウト (.je-grid-2) --- */
  /* Contact Form 7側で <div class="je-grid-2">...</div> で囲った部分に適用 
     ここでは「ラベル上・入力下」のスタックレイアウトに変更して2つ並べます
  */

  /* コンテナ: 2つのje-rowを横に並べる */
  .je-grid-2 {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid #f0f0f0;
    align-items: stretch;
    /* 高さを揃える */
  }

  /* グリッド内の行: 幅50%にして縦積みにリセット */
  .je-grid-2 .je-row {
    display: block;
    /* Flex解除して縦積みに */
    width: 50%;
    border-bottom: none;
    padding: 24px 0;
  }

  /* グリッド内のラベル: 幅固定を解除して100%に */
  .je-grid-2 .je-label {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* --------------------------------------------
   3. スマホ用レイアウト (max-width: 768px)
   -------------------------------------------- */
@media screen and (max-width: 768px) {
  .je-form-wrapper {
    padding: 24px 20px;
    margin-top: 30px;
  }

  .je-row {
    padding: 20px 0;
    /* スマホはデフォルトでブロック要素（縦積み）なので指定不要 */
  }

  /* グリッドもスマホでは縦並びに戻す */
  .je-grid-2 {
    display: block;
    border-bottom: none;
  }

  .je-grid-2 .je-row {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .je-text,
  .je-textarea {
    font-size: 16px;
    /* ズーム防止 */
  }

  .je-btn-submit {
    width: 100%;
    padding: 16px;
  }
}

/* ============================================
   Contact Page v2 (.ct-*)
   ============================================ */
.ct-main {
  padding: 60px 0 100px;
  background: #f7f7f4;
}

.ct-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid #e8e8e4;
}

/* ── Contact form overrides (all breakpoints) ── */
.ct-form-area .je-form-wrapper {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.ct-form-area .je-grid-2 {
  display: block !important;
  border-bottom: 1px solid #f0f0f0;
}

.ct-form-area .je-row {
  display: block !important;
  padding: 20px 0;
}

.ct-form-area .je-label {
  width: 100% !important;
  flex-shrink: unset !important;
  margin-bottom: 8px;
}

.ct-form-area .je-input {
  width: 100% !important;
}

.ct-form-area .je-text,
.ct-form-area .je-textarea {
  border-radius: 0;
  background: #fafaf8;
}

.ct-form-area .je-text:focus,
.ct-form-area .je-textarea:focus {
  border-color: #00affa;
  box-shadow: 0 2px 8px rgba(0, 175, 250, 0.12);
  background: #fff;
}

.ct-form-area .je-btn-submit {
  background: #303030;
  border-radius: 0;
  box-shadow: none;
}

.ct-form-area .je-btn-submit:hover {
  background: #00affa;
  box-shadow: 0 4px 16px rgba(0, 175, 250, 0.25);
  transform: none;
}


/* Info column */
.ct-info {
  background: #303030;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
}

.ct-info-inner {
  position: sticky;
  top: 120px;
}

.ct-info-en {
  display: block;
  font-size: 0.55rem;
  font-weight: 900;
  color: #00affa;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ct-info-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 18px;
}

.ct-info-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.9;
  margin-bottom: 20px;
}

.ct-info-text .pc-only {
  display: inline;
}

.ct-info-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #fabe01;
  font-weight: 700;
  margin-bottom: 36px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Info links */
.ct-info-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-info-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s;
}

.ct-info-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}

.ct-info-link span {
  flex: 1;
}

.ct-info-link i:first-child {
  color: #00affa;
  font-size: 0.85rem;
}

.ct-info-link i:last-child {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.3);
}

/* Form column */
.ct-form-area {
  padding: 48px 44px;
}

/* ─ Radio button 1work color overrides ─ */
.ct-form-area .wpcf7-list-item .wpcf7-list-item-label {
  border-radius: 0;
}

.ct-form-area .wpcf7-list-item input[type="radio"]:checked+.wpcf7-list-item-label {
  background: #00affa;
  border-color: #00affa;
  box-shadow: 0 2px 8px rgba(0, 175, 250, 0.2);
}

.ct-form-area .wpcf7-list-item:hover .wpcf7-list-item-label {
  border-color: #00affa;
  color: #00affa;
}

/* ─ Required badge override ─ */
.ct-form-area .req {
  background: #00affa;
  border-radius: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .ct-grid {
    grid-template-columns: 1fr;
  }

  .ct-info {
    padding: 32px 24px;
  }

  .ct-info-inner {
    position: static;
  }

  .ct-info-title {
    font-size: 1.15rem;
  }

  .ct-info-text .pc-only {
    display: none;
  }

  .ct-form-area {
    padding: 32px 20px;
  }

  .ct-form-area .entry-submit-btn {
    min-width: auto;
    width: 100%;
  }
}


/* ============================================
   FAQ Page v2 (.fq-*)
   ============================================ */
.fq-main {
  padding: 60px 0 100px;
  background: #f7f7f4;
}

.fq-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
}

/* ── Sidebar ── */
.fq-nav {
  position: relative;
}

.fq-nav-inner {
  position: sticky;
  top: 120px;
}

.fq-nav-label {
  display: block;
  font-size: 0.55rem;
  font-weight: 900;
  color: #00affa;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.fq-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #888;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.2s;
  margin-bottom: 2px;
}

.fq-nav-link:hover {
  color: #303030;
}

.fq-nav-link.active {
  color: #303030;
  border-left-color: #fabe01;
  background: rgba(250, 190, 1, 0.06);
  font-weight: 800;
}

.fq-nav-link i {
  font-size: 0.8rem;
  color: #ccc;
}

.fq-nav-link.active i {
  color: #fabe01;
}

.fq-nav-cta {
  margin-top: 28px;
  padding: 16px 14px;
  background: #303030;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fq-nav-cta p {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.fq-nav-cta a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fabe01;
  text-decoration: none;
}


/* Category section */
.fq-cat {
  margin-bottom: 48px;
}

.fq-cat:last-child {
  margin-bottom: 0;
}

.fq-cat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.fq-cat-icon {
  width: 36px;
  height: 36px;
  background: #303030;
  color: #fabe01;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.fq-cat-head h2 {
  font-size: 1.05rem;
  font-weight: 900;
  color: #303030;
}

/* FAQ item */
.fq-item {
  background: #fff;
  border-bottom: 1px solid #e8e8e4;
  overflow: hidden;
  transition: background 0.2s;
}

.fq-item:first-child {
  border-top: 2px solid #303030;
}

.fq-item:hover {
  background: #fcfcfa;
}

/* Question */
.fq-q {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}

.fq-badge {
  width: 28px;
  height: 28px;
  background: #303030;
  color: #fabe01;
  font-weight: 900;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fq-q h3 {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
  color: #333;
  margin: 0;
}

.fq-toggle {
  color: #ccc;
  font-size: 1rem;
  transition: color 0.2s;
}

.fq-item.is-open .fq-toggle {
  color: #00affa;
}

/* Answer */
.fq-a {
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.fq-a-inner {
  padding: 0 24px 24px 68px;
}

.fq-a-inner p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.9;
  margin-bottom: 8px;
}

.fq-a-inner p:last-child {
  margin-bottom: 0;
}

.fq-a-inner a {
  color: #00affa;
  text-decoration: underline;
  font-weight: 700;
}

.fq-a-inner strong {
  color: #d4001a;
}

.fq-note {
  font-size: 0.75rem !important;
  color: #999 !important;
}

/* Steps list */
.fq-steps {
  list-style: none;
  counter-reset: fq-s;
  padding: 0;
  margin: 10px 0 0;
}

.fq-steps li {
  counter-increment: fq-s;
  padding: 8px 0 8px 28px;
  font-size: 0.82rem;
  color: #555;
  position: relative;
  line-height: 1.6;
}

.fq-steps li::before {
  content: counter(fq-s);
  position: absolute;
  left: 0;
  font-weight: 900;
  color: #fabe01;
  font-size: 0.75rem;
}

.fq-steps li a {
  color: #00affa;
  text-decoration: underline;
  font-weight: 700;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .fq-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .fq-nav {
    display: none;
  }

  .fq-q {
    padding: 16px 16px;
    gap: 12px;
  }

  .fq-q h3 {
    font-size: 0.85rem;
  }

  .fq-a-inner {
    padding: 0 16px 20px 56px;
  }

  .fq-badge {
    width: 24px;
    height: 24px;
    font-size: 0.6rem;
  }
}

/* ============================================
   Company Info Page — 1work Magazine Layout
   ============================================ */

.l-main-company {
  background: #f5f5f5;
}

/* Section Layout */
.ow-section {
  padding: 80px 0;
}

.ow-section+.ow-section {
  padding-top: 48px;
}

.ow-section--alt {
  background: #fff;
  padding: 80px 0;
}

/* Section Header — Numbered */
.ow-section-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 2px solid #e0e0e0;
}

.ow-section-num {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fabe01;
  line-height: 1;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.ow-section-en {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 4px;
}

.ow-section-title {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 900;
  color: #303030;
  letter-spacing: 0.05em;
}

/* Mission Grid */
.ow-mission-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}

.ow-lead-text {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 800;
  color: #303030;
  line-height: 1.6;
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 4px solid #fabe01;
}

.ow-body-text {
  font-size: 1rem;
  line-height: 2;
  color: #555;
  margin-bottom: 16px;
}

.ow-mission-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ow-stat-item {
  padding: 20px 24px;
  border-bottom: 1px solid #e0e0e0;
}

.ow-stat-item:first-child {
  border-top: 3px solid #303030;
}

.ow-stat-num {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  color: #303030;
  margin-bottom: 4px;
}

.ow-stat-label {
  font-size: 0.85rem;
  color: #888;
}

/* Service List — Horizontal */
.ow-service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ow-service-item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid #e0e0e0;
}

.ow-service-item:first-child {
  padding-top: 0;
}

.ow-service-icon {
  width: 56px;
  height: 56px;
  background: #303030;
  color: #fabe01;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ow-service-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #303030;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.ow-service-body p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #666;
}

/* Info Table */
.ow-info-table {
  border-top: 3px solid #303030;
  max-width: 880px;
  margin: 0 auto;
}

.ow-info-row {
  display: flex;
  border-bottom: 1px solid #e0e0e0;
  margin: 0;
}

.ow-info-row dt {
  width: 200px;
  flex-shrink: 0;
  padding: 18px 24px;
  font-weight: 800;
  color: #303030;
  font-size: 0.85rem;
  background: #f8f8f5;
  border-right: 3px solid #fabe01;
  display: flex;
  align-items: center;
}

.ow-info-row dd {
  flex: 1;
  padding: 18px 24px;
  margin: 0;
  font-size: 0.92rem;
  color: #444;
  display: flex;
  align-items: center;
}

.ow-info-row dd a {
  color: #00affa;
  text-decoration: underline;
}

.ow-info-row dd a:hover {
  color: #303030;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .ow-section {
    padding: 60px 0;
  }

  .ow-section-header {
    gap: 16px;
  }

  .ow-mission-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ow-service-item {
    flex-direction: column;
    gap: 16px;
  }

  .ow-info-row {
    flex-direction: column;
  }

  .ow-info-row dt,
  .ow-info-row dd {
    width: 100%;
    padding: 12px 16px;
  }

  .ow-info-row dt {
    border-right: none;
    border-left: 3px solid #fabe01;
    font-size: 0.78rem;
    padding: 10px 16px;
  }
}

/* ============================================
   お問い合わせページ用 追加スタイル
   ============================================ */

/* フォーム外の注釈ボックス */
.je-contact-note {
  margin-top: 50px;
  padding: 30px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.je-note-title {
  color: #e74c3c;
  /* 注意色の赤 */
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.je-note-text {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: #555;
}

/* 連絡先情報レイアウト */
.je-contact-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.je-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.je-info-item .label {
  background: #ddd;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  color: #555;
  font-family: "Roboto", sans-serif;
  transform: translateY(-1px);
}

.je-info-item a {
  color: var(--job-navy);
  text-decoration: none;
  transition: color 0.3s;
}

.je-info-item a:hover {
  color: var(--job-accent);
  text-decoration: underline;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .je-contact-info {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
}

/* ============================================
   Privacy Policy Page (page-privacy.php)
   ============================================ */

.pp-main {
  padding: 60px 0 100px;
  background: #f7f7f4;
}

.pp-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
}

/* ── Sidebar TOC ── */
.pp-nav {
  position: relative;
}

.pp-nav-inner {
  position: sticky;
  top: 120px;
}

.pp-nav-label {
  display: block;
  font-size: 0.55rem;
  font-weight: 900;
  color: #00affa;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pp-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: pp-toc;
}

.pp-nav-list li {
  counter-increment: pp-toc;
}

.pp-nav-list li a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #888;
  text-decoration: none;
  border-bottom: 1px solid #e8e8e4;
  transition: color 0.2s;
}

.pp-nav-list li a::before {
  content: counter(pp-toc, decimal-leading-zero);
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 900;
  color: #ccc;
  flex-shrink: 0;
}

.pp-nav-list li a:hover {
  color: #303030;
}

.pp-nav-list li a:hover::before {
  color: #fabe01;
}

/* ── Content body ── */
.pp-body {
  background: #fff;
  padding: 48px 44px;
  border: 1px solid #e8e8e4;
}

.pp-intro {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}

.pp-intro p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.9;
}

/* Section */
.pp-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid #f0f0ec;
}

.pp-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.pp-section h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 900;
  color: #303030;
  margin-bottom: 16px;
  line-height: 1.5;
}

.pp-num {
  font-size: 0.7rem;
  font-weight: 900;
  color: #fabe01;
  flex-shrink: 0;
}

.pp-section p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.9;
  margin-bottom: 12px;
}

.pp-section p:last-child {
  margin-bottom: 0;
}

.pp-sub {
  color: #888 !important;
  font-size: 0.82rem !important;
}

.pp-section a {
  color: #00affa;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}

.pp-section a:hover {
  color: #303030;
}

/* Ordered list */
.pp-list {
  list-style: none;
  counter-reset: pp-ol;
  padding: 0;
  margin: 12px 0 0;
  background: #fafaf8;
  border: 1px solid #eee;
}

.pp-list li {
  counter-increment: pp-ol;
  padding: 14px 18px 14px 44px;
  font-size: 0.82rem;
  color: #555;
  line-height: 1.7;
  position: relative;
  border-bottom: 1px solid #f0f0ec;
}

.pp-list li:last-child {
  border-bottom: none;
}

.pp-list li::before {
  content: counter(pp-ol);
  position: absolute;
  left: 16px;
  top: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  color: #fabe01;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .pp-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pp-nav {
    display: none;
  }

  .pp-body {
    padding: 28px 20px;
    border: none;
  }

  .pp-section h2 {
    font-size: 0.95rem;
  }
}


/* ============================================
   Cancellation Page (Multi-step) - 修正版
   ============================================ */

.l-main-cancel {
  padding: 60px 0 120px;
  background-color: #f4f8fb;
}

/* --- プログレスバー --- */
.cancel-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;
  /* スマホで端が見切れないように */
}

.progress-step {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ddd;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
  flex-shrink: 0;
  /* 縮小防止 */
}

.progress-step.active {
  background: var(--job-navy);
}

.progress-line {
  flex: 1;
  height: 4px;
  background: #ddd;
  margin: 0 -10px;
  z-index: 1;
  min-width: 20px;
  /* 線が消えないように最小幅確保 */
}

/* --- コンテンツボックス共通 --- */
.cancel-content-box {
  background: #fff;
  border-radius: 12px;
  padding: 50px;
  /* PCは広めに */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f6;
  text-align: center;
}

/* ▼▼▼ 修正: clampでレスポンシブな文字サイズに ▼▼▼ */
.cancel-head-lg {
  /* スマホ: 22px(1.375rem) 〜 PC: 28.8px(1.8rem) */
  font-size: clamp(1.15rem, 4vw, 1.8rem);
  color: var(--job-navy);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.4;
}

.cancel-head-md {
  /* スマホ: 18px(1.125rem) 〜 PC: 24px(1.5rem) */
  font-size: clamp(1.125rem, 3.5vw, 1.5rem);
  color: var(--job-navy);
  margin-bottom: 30px;
  font-weight: 700;
  border-bottom: 2px solid #f0f0f0;
  display: inline-block;
  padding-bottom: 10px;
  line-height: 1.4;
}

.cancel-lead {
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.8;
}

.u-text-red {
  color: #d32f2f;
  font-weight: bold;
}

/* --- STEP 1: 喪失リスト --- */
.loss-list-wrap {
  background: #fff5f5;
  border: 1px solid #ffebeb;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 40px;
  text-align: left;
}

.loss-title {
  text-align: center;
  color: #d32f2f;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.loss-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.loss-list li:last-child {
  margin-bottom: 0;
}

.loss-list i {
  font-size: 1.5rem;
  color: #d32f2f;
  margin-top: 3px;
  width: 30px;
  text-align: center;
  flex-shrink: 0;
  /* アイコンが潰れないように */
}

.loss-text strong {
  display: block;
  color: #333;
  margin-bottom: 4px;
}

.loss-text span {
  font-size: 0.9rem;
  color: #666;
}

/* --- STEP 2: ルール --- */
.cancel-note-box {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  text-align: left;
  margin-bottom: 30px;
}

.note-title {
  color: #e67e22;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rule-list {
  list-style: none;
  margin-top: 20px;
}

.rule-list li {
  margin-bottom: 20px;
  padding-left: 20px;
  border-left: 4px solid #ddd;
}

.rule-list strong {
  display: block;
  color: var(--job-navy);
  margin-bottom: 5px;
}

.rule-list span {
  font-size: 0.9rem;
  color: #555;
}

/* --- STEP 3: 手順フロー --- */
.step-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.flow-item {
  background: #f0f4f8;
  padding: 20px 15px;
  border-radius: 8px;
  width: 140px;
  text-align: center;
}

.step-num {
  display: block;
  font-size: 1.2rem;
  font-weight: 900;
  color: #ccdbe8;
  margin-bottom: 5px;
  line-height: 1;
}

.flow-item p {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--job-navy);
  line-height: 1.4;
}

.flow-arrow {
  color: #ccc;
  font-size: 1.2rem;
}

/* --- ボタンエリア --- */
.cancel-btn-area {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  margin-top: 20px;
}

.btn-stay {
  background: var(--job-accent);
  color: #fff;
  width: 100%;
  max-width: 400px;
  padding: 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(245, 91, 20, 0.3);
  transition: transform 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-stay:hover {
  transform: translateY(-2px);
  background: #ff7043;
  color: #fff;
}

.btn-proceed {
  background: transparent;
  color: #888;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 10px;
}

.btn-proceed:hover {
  color: #333;
}

.btn-proceed.btn-danger {
  background: #fff;
  border: 2px solid #d32f2f;
  color: #d32f2f;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  margin-top: 10px;
}

.btn-proceed.btn-danger:hover {
  background: #d32f2f;
  color: #fff;
}

.btn-back {
  background: #eee;
  border: none;
  color: #666;
  padding: 10px 30px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
}

/* --- モーダル --- */
.cancel-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(5px);
}

.cancel-modal-content {
  background: #fff;
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: fadeInModal 0.3s;
}

.modal-header {
  background: #f2f2f2;
  padding: 15px;
  text-align: center;
  font-weight: 700;
  color: #333;
}

.modal-body {
  padding: 30px 20px;
  text-align: center;
}

.modal-alert-msg {
  font-size: 1.1rem;
  color: #d32f2f;
  line-height: 1.6;
}

.modal-check-list {
  text-align: left;
  margin-top: 20px;
  font-size: 0.9rem;
  background: #fffcfc;
  padding: 15px;
  border: 1px solid #eee;
}

.modal-check-list li {
  margin-bottom: 8px;
  padding-left: 1.2em;
  text-indent: -1.2em;
}

.modal-check-list li::before {
  content: "✔";
  color: #d32f2f;
  margin-right: 5px;
  font-weight: bold;
}

.modal-footer {
  padding: 20px;
  background: #f9f9f9;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn-modal-cancel {
  background: #ddd;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  color: #555;
}

.btn-modal-dl {
  background: #d32f2f;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

.btn-modal-dl:hover {
  background: #b71c1c;
}

/* ============================================
   ▼▼▼ スマホ対応 (修正箇所) ▼▼▼
   ============================================ */
@media screen and (max-width: 768px) {

  /* メインエリアの上下余白を縮小 */
  .l-main-cancel {
    padding: 30px 0 80px;
  }

  /* ボックスの内側余白(padding)を大幅に減らして横幅を確保 */
  .cancel-content-box {
    padding: 30px 10px;
  }

  /* フォントサイズ・余白の微調整 */
  .cancel-lead {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  /* スマホでの不自然な改行を防ぐため、強制改行(br)を無効化 */
  .cancel-lead br {
    display: none;
  }

  /* 喪失リストの余白調整 */
  .loss-list-wrap {
    padding: 20px 10px;
  }

  .loss-list li {
    gap: 10px;
  }

  /* プログレスバーのサイズ調整 */
  .progress-step {
    width: 60px;
    height: 60px;
    font-size: 0.75rem;
  }

  /* フローチャートの縦並び */
  .step-flow {
    flex-direction: column;
    gap: 15px;
  }

  .flow-item {
    width: 100%;
    max-width: 240px;
    padding: 15px;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  /* モーダルのボタン */
  .modal-footer {
    flex-direction: column-reverse;
    /* キャンセルを下にする */
  }

  .btn-modal-cancel,
  .btn-modal-dl {
    width: 100%;
    text-align: center;
  }

  .cancel-note-box {
    padding: 20px 10px;
  }
}

/* =========================================================================
   Print Button & Print Style (Fixed)
   ========================================================================= */

/* --- 1. 印刷ボタンのスタイル --- */
.print-btn-wrap {
  margin-top: 25px;
  text-align: center;
}

.btn-job-print-simple {
  background: transparent;
  border: none;
  color: #888;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-job-print-simple:hover {
  color: var(--job-accent);
  /* オレンジ色 */
  text-decoration: none;
}

/* --- Print Button (inline with keep) --- */
.jd-sub-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.jd-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f5f5f5;
  color: #303030;
  border: 1.5px solid #ccc;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.2s;
  white-space: nowrap;
}

.jd-print-btn:hover {
  background: #e8e8e8;
}

/* --- 2. 印刷時専用スタイル (@media print) --- */
@media print {

  /* WP管理バー + htmlのmargin-topをリセット */
  #wpadminbar {
    display: none !important;
  }

  html {
    margin-top: 0 !important;
  }

  /* カラー印刷を強制 */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* ヘッダー・フッター系 */
  header,
  .main-footer,
  .ft-cta-block,
  .no-print {
    display: none !important;
  }

  /* 旧ナビ要素 */
  #pc-dock-nav,
  #pc-side-nav,
  .sp-dock-nav,
  .sp-sheet-overlay,
  .sp-sheet-menu,
  #sp-menu-overlay,
  #sp-sheet-menu,
  .loading-screen,
  #entry-form {
    display: none !important;
  }

  /* 求人詳細UI */
  .jd-fixed-bar {
    display: none !important;
  }

  .jd-bar-btn {
    display: none !important;
  }

  .jd-pn {
    display: none !important;
  }

  .jd-bottom-cta {
    display: none !important;
  }

  /* 検索パネル（clip-pathでは印刷時に効かない） */
  #searchPanel,
  .search-panel {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  /* モーダル類（応募フォーム・旧検索） */
  .job-search-modal,
  #job-search-modal,
  .entry-modal-wrap,
  #entry-modal,
  .thanks-modal {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
  }

  /* モバイルナビ */
  .mobile-nav {
    display: none !important;
  }

  /* Ambient背景・confetti の canvas */
  #ambientCanvas,
  canvas {
    display: none !important;
  }

  /* ページヒーロー余白を印刷向けに縮小（ブランクページ防止） */
  .page-hero {
    padding: 24px 0 16px !important;
  }


}