/*
Theme Name: Innerworks
Theme URI: https://example.com/
Author: Innerworks
Description: 在宅特化求人サイトInnerworks用のWordPressテーマ雛形
Version: 1.0.0
Text Domain: innerworks
*/
:root {
  --blue: #2563eb;
  --blue-dark: #0f172a;
  --teal: #14b8a6;
  --green: #22c55e;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --radius: 28px;
  --shadow: 0 20px 60px rgba(15, 23, 42, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  background: #fff;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #eef2f7;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.04em;
  background: linear-gradient(90deg, #60a5fa, #0d9488);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.global-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
  color: #334155;
}

.global-nav a:hover {
  color: var(--blue);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--teal), var(--green));
  box-shadow: 0 12px 30px rgba(20, 184, 166, .22);
}

.menu-toggle,
.menu-button {
  display: none;
}

.hero {
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, #dbeafe 0, transparent 30%), linear-gradient(135deg, #eff6ff 0%, #fff 50%, #ecfdf5 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
  padding-block: 74px;
}

.eyebrow {
  display: inline-flex;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 6px 24px rgba(37, 99, 235, .08);
}

h1 {
  margin: 18px 0 0;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.18;
  letter-spacing: -.05em;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 650;
}

.search-panel {
  margin-top: 34px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr auto;
  gap: 12px;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search-panel label {
  display: block;
  padding: 13px 15px;
  border: 1px solid #eef2f7;
  border-radius: 18px;
  background: var(--soft);
}

.search-panel span {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.search-panel select,
.search-panel input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
  font-weight: 800;
}

.search-panel button {
  border: 0;
  border-radius: 18px;
  padding: 0 24px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(37, 99, 235, .25);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 370px;
  border-radius: 36px;
  background: linear-gradient(135deg, #fff, #eff6ff 45%, #ecfdf5);
  box-shadow: inset 0 0 60px rgba(37, 99, 235, .06);
  overflow: hidden;
  padding: 18px;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(37, 99, 235, .08);
  z-index: 0;
}

.hero-visual::before {
  width: 190px;
  height: 190px;
  right: -50px;
  top: -50px;
}

.hero-visual::after {
  width: 260px;
  height: 260px;
  left: -80px;
  bottom: -100px;
  background: rgba(20, 184, 166, .1);
}

.hero-visual-image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(15, 23, 42, 0.08));
}

.section {
  padding-block: 72px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 32px;
}

h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -.04em;
}

.section-head a {
  color: var(--blue);
  font-weight: 900;
  font-size: 14px;
}

.center-title {
  text-align: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.category-card {
  min-height: 150px;
  padding: 22px;
  border: 1px solid #eaf0f7;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .03);
  transition: .2s ease;
}

.category-card:hover,
.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, .08);
}

.category-card span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eff6ff;
  font-size: 24px;
}

.category-card h3 {
  margin: 20px 0 8px;
  font-size: 14px;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.reasons,
.flow {
  background: #f8fafc;
}

.reason-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid #eaf0f7;
  border-radius: 32px;
  background: #fff;
}

.reason-grid article {
  padding: 34px;
  border-right: 1px solid #eaf0f7;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.reason-grid article:last-child {
  border-right: 0;
}

.reason-image {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto 8px;
  object-fit: contain;
}

.reason-grid h3,
.job-card h3,
.flow-grid h3 {
  margin: 18px 0 0;
  font-size: 18px;
}

.reason-grid p,
.flow-grid p,
.job-card p,
.voice-grid p {
  color: #64748b;
  line-height: 1.8;
  font-weight: 600;
}

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

.job-card {
  padding: 26px;
  border: 1px solid #eaf0f7;
  border-radius: 26px;
  background: #fff;
  transition: .2s ease;
}

.job-top {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.job-top p {
  flex: 1;
  margin: 0;
  color: #475569;
  font-size: 13px;
  font-weight: 900;
}

.company-logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--blue);
  background: #eff6ff;
  font-weight: 900;
}

.job-card strong {
  display: block;
  margin-top: 18px;
  font-size: 17px;
}

.job-card small {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-weight: 800;
}

.job-card p {
  min-height: 76px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  padding: 7px 11px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.job-card>.detail-link {
  width: 100%;
  margin-top: 22px;
}

.flow-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.flow-grid article {
  position: relative;
  padding: 26px;
  border: 1px solid #eaf0f7;
  border-radius: 26px;
  background: #fff;
}

.flow-grid b {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-right: 12px;
  border: 1px solid #dbeafe;
  border-radius: 50%;
  color: var(--blue);
}

.flow-grid span {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: #eff6ff;
  font-size: 24px;
}

.voice-grid {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 18px;
  -webkit-overflow-scrolling: touch;
}

.voice-grid article {
  flex: 0 0 min(360px, 82vw);
  scroll-snap-align: start;
  padding: 30px;
  border: 1px solid #eaf0f7;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .04);
}

.voice-grid strong {
  color: #64748b;
  font-size: 14px;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dbeafe;
}

.dots span:first-child {
  background: var(--blue);
}

.cta-section {
  padding-bottom: 72px;
}

.cta-box {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 44px;
  border-radius: 34px;
  color: #fff;
  background: linear-gradient(90deg, #2563eb, #10b981);
  box-shadow: 0 24px 70px rgba(37, 99, 235, .18);
}

.cta-box::before {
  content: "";
  position: absolute;
  left: -60px;
  top: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.cta-box h2 {
  position: relative;
  font-size: clamp(28px, 4vw, 42px);
}

.cta-box p {
  position: relative;
  color: #e0f2fe;
  font-weight: 800;
}

.cta-box a {
  position: relative;
  padding: 16px 34px;
  border-radius: 18px;
  background: #fff;
  color: var(--blue);
  font-weight: 900;
  white-space: nowrap;
}

.site-footer {
  padding: 56px 0 28px;
  border-top: 1px solid #eaf0f7;
  background: #f8fafc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 34px;
}

.footer-grid h3 {
  margin: 0 0 16px;
  font-size: 15px;
}

.footer-grid a:not(.logo) {
  display: block;
  margin: 0 0 12px;
  color: #64748b;
  font-size: 13px;
  font-weight: 750;
}

.footer-brand p {
  color: #64748b;
  line-height: 1.8;
  font-size: 14px;
  font-weight: 650;
}

.sns {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.sns span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #0f172a;
  font-weight: 900;
}

.copyright {
  margin: 34px 0 0;
  text-align: center;
  color: #64748b;
  font-size: 13px;
  font-weight: 750;
}

@media (max-width: 1024px) {
  .container {
    width: min(100% - 32px, 900px);
  }

  .global-nav {
    position: absolute;
    inset: 72px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid #eaf0f7;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .global-nav a {
    padding: 14px;
    border-radius: 14px;
  }

  .global-nav a:hover {
    background: #eff6ff;
  }

  .menu-button {
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid #eaf0f7;
    border-radius: 14px;
  }

  .menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #0f172a;
  }

  .menu-toggle:checked~.global-nav {
    display: flex;
  }

  .header-cta {
    padding: 11px 14px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 52px;
  }

  .hero-visual {
    min-height: 320px;
    order: -1;
  }

  .hero-visual-image {
    max-width: 500px;
  }

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

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

  .reason-grid article {
    border-bottom: 1px solid #eaf0f7;
  }

  .reason-image {
    max-width: 280px;
  }

  .job-grid,
  .voice-grid {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 18px;
    -webkit-overflow-scrolling: touch;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 560px);
  }

  .header-inner {
    min-height: 66px;
    gap: 10px;
  }

  .logo {
    font-size: 24px;
  }

  .header-cta {
    font-size: 12px;
    padding: 10px 12px;
  }

  .global-nav {
    inset: 66px 12px auto 12px;
  }

  .hero-grid {
    padding-block: 34px;
    gap: 30px;
  }

  h1 {
    font-size: 32px;
  }

  .lead {
    font-size: 15px;
    line-height: 1.8;
  }

  .search-panel {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .search-panel button {
    min-height: 56px;
  }

  .hero-visual {
    min-height: 260px;
    border-radius: 28px;
    padding: 12px;
  }

  .hero-visual-image {
    max-width: 100%;
  }

  .section {
    padding-block: 52px;
  }

  .section-head {
    align-items: flex-start;
  }

  .section-head a {
    display: none;
  }

  .category-grid,
  .reason-grid,
  .flow-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .reason-grid article {
    border-right: 0;
  }

  .reason-image {
    max-width: 100%;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }

  .cta-box a {
    width: 100%;
    text-align: center;
  }
}


/* Jobs listing / detail pages */
.page-hero,
.detail-hero {
  padding: 70px 0 58px;
  background: linear-gradient(135deg, #eff6ff, #fff 48%, #ecfdf5);
}

.page-hero h1,
.detail-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: -.05em;
}

.listing-search {
  margin-top: 30px;
}

.listing-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.filter-panel,
.apply-box,
.company-panel,
.detail-main,
.listing-card {
  border: 1px solid #eaf0f7;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .04);
}

.filter-panel {
  position: sticky;
  top: 92px;
  padding: 24px;
}

.filter-panel h2,
.listing-head h2,
.company-panel h2,
.detail-block h2 {
  font-size: 22px;
}

.filter-group {
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid #eaf0f7;
}

.filter-group h3 {
  margin: 0 0 14px;
  font-size: 15px;
}

.filter-group label {
  display: block;
  margin: 12px 0;
  color: #475569;
  font-weight: 800;
}

.filter-group input {
  margin-right: 8px;
}

.filter-group select,
.listing-head select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}

.listing-main {
  min-width: 0;
}

.listing-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.listing-head p {
  margin: 8px 0 0;
  color: #64748b;
  font-weight: 700;
}

.listing-list {
  display: grid;
  gap: 18px;
}

.listing-card {
  padding: 26px;
}

.listing-card h3 {
  margin: 20px 0 16px;
  font-size: 24px;
}

.listing-card h3 a:hover {
  color: var(--blue);
}

.listing-card dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
}

.listing-card dl div {
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
}

.listing-card dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.listing-card dd {
  margin: 6px 0 0;
  font-weight: 900;
}

.listing-card>p {
  min-height: auto;
  margin: 18px 0;
}

.listing-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.detail-link,
.side-apply,
.apply-box a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 16px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.pagination a,
.pagination span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #eaf0f7;
  font-weight: 900;
  color: #64748b;
}

.pagination .current {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.detail-hero-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.breadcrumb {
  display: inline-flex;
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 24px;
}

.detail-company {
  margin-bottom: 22px;
}

.apply-box {
  position: sticky;
  top: 92px;
  padding: 26px;
}

.apply-box strong {
  display: block;
  font-size: 24px;
}

.apply-box small {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-weight: 900;
}

.apply-box a {
  width: 100%;
  margin-top: 22px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

.detail-main {
  padding: 34px;
}

.detail-block+.detail-block {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid #eaf0f7;
}

.detail-block p,
.detail-block li {
  color: #475569;
  line-height: 1.9;
  font-weight: 650;
}

.detail-block li {
  margin: 8px 0;
}

.detail-block table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
}

.detail-block th,
.detail-block td {
  padding: 18px;
  border-bottom: 1px solid #eaf0f7;
  text-align: left;
  vertical-align: top;
}

.detail-block th {
  width: 180px;
  background: #f8fafc;
  color: #475569;
}

.company-panel {
  position: sticky;
  top: 92px;
  padding: 26px;
}

.company-name {
  margin: 16px 0 22px;
  font-size: 18px;
  font-weight: 900;
}

.company-panel dl {
  margin: 0;
}

.company-panel dl div {
  padding: 16px 0;
  border-top: 1px solid #eaf0f7;
}

.company-panel dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.company-panel dd {
  margin: 6px 0 0;
  color: #334155;
  font-weight: 800;
  line-height: 1.7;
}

.side-apply {
  width: 100%;
  margin-top: 22px;
}

@media (max-width: 1024px) {

  .listing-layout,
  .detail-hero-inner,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel,
  .apply-box,
  .company-panel {
    position: static;
  }
}

@media (max-width: 720px) {

  .page-hero,
  .detail-hero {
    padding: 44px 0 36px;
  }

  .listing-head,
  .listing-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .listing-card dl {
    grid-template-columns: 1fr;
  }

  .detail-main,
  .listing-card,
  .filter-panel,
  .apply-box,
  .company-panel {
    padding: 22px;
    border-radius: 22px;
  }

  .detail-block th,
  .detail-block td {
    display: block;
    width: 100%;
    padding: 14px;
  }

  .detail-block td {
    border-bottom: 1px solid #eaf0f7;
  }
}

.condition-list {
  margin: 0;
  padding-left: 1.2em;
  color: #475569;
  font-weight: 800;
  line-height: 1.8;
}

.empty-state {
  padding: 34px;
  border: 1px solid #eaf0f7;
  border-radius: 28px;
  background: #fff;
  text-align: center;
}

.empty-state h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.empty-state p {
  color: #64748b;
  font-weight: 700;
  line-height: 1.8;
}

.empty-state .detail-link {
  margin-top: 12px;
}


.voice-grid::-webkit-scrollbar {
  height: 8px;
}

.voice-grid::-webkit-scrollbar-track {
  background: #eff6ff;
  border-radius: 999px;
}

.voice-grid::-webkit-scrollbar-thumb {
  background: #bfdbfe;
  border-radius: 999px;
}

.voice-grid::-webkit-scrollbar-thumb:hover {
  background: #93c5fd;
}

.voice-scroll-hint {
  margin-top: 14px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

/* Generic content pages / WordPress fixed-page friendly layout */
.content-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start
}

.content-side {
  position: sticky;
  top: 92px;
  padding: 24px;
  border: 1px solid #eaf0f7;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .04)
}

.content-side h2 {
  font-size: 20px;
  margin-bottom: 18px
}

.content-side a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid #eaf0f7;
  color: #475569;
  font-weight: 850
}

.content-side a:hover {
  color: var(--blue)
}

.content-card {
  padding: 34px;
  border: 1px solid #eaf0f7;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .04)
}

.content-card h2 {
  margin-bottom: 18px
}

.content-card p,
.content-card li {
  color: #475569;
  line-height: 1.9;
  font-weight: 650
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px
}

.feature-list article,
.price-grid article {
  padding: 22px;
  border-radius: 22px;
  background: #f8fafc;
  border: 1px solid #eaf0f7
}

.feature-list span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--blue);
  font-weight: 900
}

.feature-list h3,
.price-grid h3 {
  margin: 16px 0 8px
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px
}

.price-grid strong {
  display: block;
  color: var(--blue);
  font-size: 22px;
  margin: 8px 0 12px
}

.simple-form {
  display: grid;
  gap: 16px
}

.simple-form label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-weight: 900
}

.simple-form input,
.simple-form textarea {
  width: 100%;
  border: 1px solid #dbe4ef;
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
  background: #fff
}

.simple-form button {
  width: fit-content;
  border: 0;
  border-radius: 16px;
  padding: 15px 30px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  cursor: pointer
}

.legal-text h3 {
  margin-top: 28px
}

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

  .content-side {
    position: static
  }

  .feature-list,
  .price-grid {
    grid-template-columns: 1fr
  }
}

/* Rich content pages */
.content-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.content-side {
  position: sticky;
  top: 92px;
  padding: 24px;
  border: 1px solid #eaf0f7;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .04);
}

.content-side h2 {
  font-size: 20px;
  margin-bottom: 18px;
}

.content-side a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid #eaf0f7;
  color: #475569;
  font-weight: 850;
}

.content-side a:hover {
  color: var(--blue);
}

.content-main {
  display: grid;
  gap: 24px;
}

.content-card {
  padding: 34px;
  border: 1px solid #eaf0f7;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .04);
}

.content-card h2 {
  margin-bottom: 18px;
}

.content-card h3 {
  margin-top: 24px;
}

.content-card p,
.content-card li,
.content-card td {
  color: #475569;
  line-height: 1.9;
  font-weight: 650;
}

.content-card a:not(.detail-link) {
  color: var(--blue);
  font-weight: 900;
}

.feature-list,
.price-grid,
.job-guide-grid,
.column-grid,
.case-grid,
.job-mini-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.feature-list article,
.price-grid article,
.job-guide-grid article,
.column-grid article,
.case-grid article,
.job-mini-list article {
  padding: 22px;
  border-radius: 22px;
  background: #f8fafc;
  border: 1px solid #eaf0f7;
}

.feature-list span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--blue);
  font-weight: 900;
}

.price-grid strong {
  display: block;
  color: var(--blue);
  font-size: 22px;
  margin: 8px 0 12px;
}

.job-mini-list b {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #059669;
  font-size: 12px;
}

.ranking-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.ranking-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: 22px;
  background: #f8fafc;
  border: 1px solid #eaf0f7;
}

.ranking-list span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--blue);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.number-list,
.timeline-list {
  counter-reset: item;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 18px;
}

.number-list li,
.timeline-list li {
  position: relative;
  padding: 20px 20px 20px 68px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #eaf0f7;
}

.number-list li::before,
.timeline-list li::before {
  counter-increment: item;
  content: counter(item);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--blue);
  font-weight: 900;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.check-grid p {
  margin: 0;
  padding: 14px 16px 14px 42px;
  border-radius: 16px;
  background: #f8fafc;
  position: relative;
}

.check-grid p::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: #10b981;
  font-weight: 900;
}

.rich-list {
  padding-left: 1.3em;
}

.faq-list details {
  border: 1px solid #eaf0f7;
  border-radius: 18px;
  padding: 18px 20px;
  background: #f8fafc;
}

.faq-list details+details {
  margin-top: 12px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
  color: #0f172a;
}

.simple-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.simple-form label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-weight: 900;
}

.simple-form input,
.simple-form textarea,
.simple-form select {
  width: 100%;
  border: 1px solid #dbe4ef;
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
  background: #fff;
}

.simple-form button {
  width: fit-content;
  border: 0;
  border-radius: 16px;
  padding: 15px 30px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
}

.company-table th,
.company-table td {
  padding: 18px;
  border-bottom: 1px solid #eaf0f7;
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 190px;
  background: #f8fafc;
  color: #334155;
}

.column-tag {
  display: inline-block;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--blue) !important;
  font-size: 12px;
  font-weight: 900 !important;
}

.note-text {
  padding: 16px;
  border-radius: 16px;
  background: #fff7ed;
  color: #9a3412 !important;
}

.article-body h3 {
  border-left: 4px solid var(--blue);
  padding-left: 12px;
}

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

  .content-side {
    position: static;
  }

  .feature-list,
  .price-grid,
  .job-guide-grid,
  .column-grid,
  .case-grid,
  .job-mini-list {
    grid-template-columns: 1fr;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }
}

/* 求人一覧ページ：HTML版 jobs.html に寄せる追加CSS */
.job-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #eff6ff;
  font-size: 22px;
  margin-bottom: 18px;
}

.job-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.job-meta-grid div {
  padding: 16px;
  border-radius: 18px;
  background: #f8fafc;
}

.job-meta-grid span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.job-meta-grid strong {
  display: block;
  color: #0f172a;
  font-weight: 950;
  line-height: 1.5;
}

.listing-card h3 a {
  color: inherit;
}

@media (max-width: 768px) {
  .job-meta-grid {
    grid-template-columns: 1fr;
  }
}

/* 求人詳細ページ：HTML版 job-detail.html に寄せる追加CSS */
.detail-hero {
  padding: 80px 0 70px;
  background: linear-gradient(135deg, #f8fbff 0%, #f7fffb 100%);
  border-bottom: 1px solid #eaf0f7;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
  align-items: center;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 24px;
  color: #2563eb;
  font-weight: 900;
}

.job-detail-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: #eff6ff;
  font-size: 24px;
  margin-bottom: 18px;
}

.detail-hero h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -.06em;
  margin: 0;
}

.detail-hero-copy>p {
  margin: 24px 0 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 800;
  max-width: 760px;
}

.detail-tags {
  margin-top: 18px;
}

.detail-apply-card {
  padding: 30px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid #eaf0f7;
  box-shadow: 0 20px 60px rgba(15, 23, 42, .08);
}

.detail-apply-card strong {
  display: block;
  font-size: 26px;
  color: #0f172a;
  font-weight: 950;
  line-height: 1.4;
}

.detail-apply-card p {
  color: #64748b;
  font-weight: 900;
  margin: 12px 0 22px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: start;
}

.detail-content {
  display: grid;
  gap: 24px;
}

.detail-card,
.detail-summary-card {
  padding: 34px;
  border: 1px solid #eaf0f7;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .04);
}

.detail-card h2,
.detail-summary-card h2 {
  margin: 0 0 22px;
  font-size: 26px;
}

.detail-card h3 {
  margin: 28px 0 12px;
  font-size: 19px;
}

.detail-card p,
.detail-summary-card p {
  color: #475569;
  line-height: 2;
  font-weight: 700;
}

.detail-card ul {
  margin: 22px 0 0;
  padding-left: 1.4em;
  display: grid;
  gap: 12px;
}

.detail-card li {
  color: #334155;
  line-height: 1.8;
  font-weight: 800;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.detail-info-grid div {
  padding: 18px;
  border-radius: 18px;
  background: #f8fafc;
}

.detail-info-grid span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.detail-info-grid strong {
  display: block;
  color: #0f172a;
  line-height: 1.6;
}

.detail-flow {
  counter-reset: flow;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.detail-flow li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 18px;
  background: #f8fafc;
}

.detail-flow li::before {
  counter-increment: flow;
  content: counter(flow);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #2563eb;
  color: #fff;
  font-weight: 950;
}

.detail-flow strong,
.detail-flow span {
  grid-column: 2;
}

.detail-flow strong {
  color: #0f172a;
  font-size: 17px;
}

.detail-flow span {
  color: #64748b;
  font-weight: 700;
  line-height: 1.7;
}

.detail-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 20px;
}

.detail-summary-card dl {
  display: grid;
  gap: 0;
  margin: 0 0 24px;
}

.detail-summary-card dl div {
  padding: 18px 0;
  border-bottom: 1px solid #eaf0f7;
}

.detail-summary-card dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.detail-summary-card dd {
  margin: 0;
  color: #0f172a;
  font-weight: 950;
  line-height: 1.6;
}

.detail-summary-card.muted {
  background: #f8fafc;
}

@media (max-width: 1024px) {

  .detail-hero-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .detail-hero {
    padding: 54px 0;
  }

  .detail-info-grid {
    grid-template-columns: 1fr;
  }

  .detail-card,
  .detail-summary-card,
  .detail-apply-card {
    padding: 24px;
  }
}

/* ===== Innerworks Job Detail V2 ===== */
.job-detail-page {
  background: #ffffff;
}

.job-detail-page .job-detail-hero {
  padding: 72px 0 88px;
  background: linear-gradient(90deg, #f8fbff 0%, #f7fffb 100%);
}

.job-detail-page .job-detail-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 56px;
  align-items: start;
}

.job-detail-page .job-detail-back {
  display: inline-flex;
  color: #2563eb;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  margin-bottom: 28px;
}

.job-detail-page .job-detail-mini-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #eff6ff;
  color: #2563eb;
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 22px;
}

.job-detail-page .job-detail-title {
  margin: 0;
  color: #0f172a;
  font-size: clamp(52px, 5vw, 74px);
  line-height: 1.08;
  letter-spacing: -0.06em;
  font-weight: 900;
  max-width: 820px;
}

.job-detail-page .job-detail-lead {
  margin: 26px 0 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 700;
  max-width: 920px;
}

.job-detail-page .job-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.job-detail-page .job-detail-tags span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2563eb;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.job-detail-page .job-detail-cta-card {
  background: #fff;
  border: 1px solid #e6edf7;
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
  align-self: start;
  margin-top: 18px;
}

.job-detail-page .job-detail-cta-card__salary {
  display: block;
  color: #0f172a;
  font-size: 26px;
  line-height: 1.4;
  font-weight: 900;
}

.job-detail-page .job-detail-cta-card__meta {
  margin: 12px 0 26px;
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
}

.job-detail-page .job-detail-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 56px;
  border-radius: 18px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  box-shadow: none;
}

.job-detail-page .job-detail-body {
  padding-top: 76px;
}

.job-detail-page .job-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 32px;
  align-items: start;
}

.job-detail-page .job-detail-main {
  display: grid;
  gap: 28px;
}

.job-detail-page .job-detail-card {
  background: #fff;
  border: 1px solid #e6edf7;
  border-radius: 32px;
  padding: 36px 38px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.03);
}

.job-detail-page .job-detail-card h2 {
  margin: 0 0 24px;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 900;
}

.job-detail-page .job-detail-card h3 {
  margin: 34px 0 14px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
}

.job-detail-page .job-detail-card p {
  margin: 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.95;
  font-weight: 700;
}

.job-detail-page .job-detail-card ul {
  margin: 26px 0 0;
  padding-left: 22px;
}

.job-detail-page .job-detail-card li {
  color: #334155;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 700;
  margin-bottom: 10px;
}

.job-detail-page .job-detail-summary-card h2 {
  margin-bottom: 18px;
}

.job-detail-page .job-detail-summary-card dl {
  margin: 0 0 26px;
}

.job-detail-page .job-detail-summary-card dl div {
  padding: 18px 0;
  border-top: 1px solid #e6edf7;
}

.job-detail-page .job-detail-summary-card dl div:first-child {
  border-top: 1px solid #e6edf7;
}

.job-detail-page .job-detail-summary-card dt {
  margin-bottom: 10px;
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

.job-detail-page .job-detail-summary-card dd {
  margin: 0;
  color: #334155;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 900;
}

@media (max-width: 1024px) {

  .job-detail-page .job-detail-hero__grid,
  .job-detail-page .job-detail-layout {
    grid-template-columns: 1fr;
  }

  .job-detail-page .job-detail-cta-card {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .job-detail-page .job-detail-hero {
    padding: 56px 0 64px;
  }

  .job-detail-page .job-detail-title {
    font-size: 42px;
  }

  .job-detail-page .job-detail-lead,
  .job-detail-page .job-detail-card p,
  .job-detail-page .job-detail-card li,
  .job-detail-page .job-detail-summary-card dd {
    font-size: 16px;
  }

  .job-detail-page .job-detail-card,
  .job-detail-page .job-detail-cta-card {
    padding: 24px;
    border-radius: 24px;
  }
}

/* ===== Innerworks Job Detail V2 ===== */
.job-detail-page {
  background: #ffffff;
}

.job-detail-page .job-detail-hero {
  padding: 72px 0 88px;
  background: linear-gradient(90deg, #f8fbff 0%, #f7fffb 100%);
}

.job-detail-page .job-detail-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 56px;
  align-items: start;
}

.job-detail-page .job-detail-back {
  display: inline-flex;
  color: #2563eb;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  margin-bottom: 28px;
}

.job-detail-page .job-detail-mini-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #eff6ff;
  color: #2563eb;
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 22px;
}

.job-detail-page .job-detail-title {
  margin: 0;
  color: #0f172a;
  font-size: clamp(52px, 5vw, 74px);
  line-height: 1.08;
  letter-spacing: -0.06em;
  font-weight: 900;
  max-width: 820px;
}

.job-detail-page .job-detail-lead {
  margin: 26px 0 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 700;
  max-width: 920px;
}

.job-detail-page .job-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.job-detail-page .job-detail-tags span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2563eb;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.job-detail-page .job-detail-cta-card {
  background: #fff;
  border: 1px solid #e6edf7;
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
  align-self: start;
  margin-top: 18px;
}

.job-detail-page .job-detail-cta-card__salary {
  display: block;
  color: #0f172a;
  font-size: 26px;
  line-height: 1.4;
  font-weight: 900;
}

.job-detail-page .job-detail-cta-card__meta {
  margin: 12px 0 26px;
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
}

.job-detail-page .job-detail-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 56px;
  border-radius: 18px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  box-shadow: none;
}

.job-detail-page .job-detail-body {
  padding-top: 76px;
}

.job-detail-page .job-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 32px;
  align-items: start;
}

.job-detail-page .job-detail-main {
  display: grid;
  gap: 28px;
}

.job-detail-page .job-detail-card {
  background: #fff;
  border: 1px solid #e6edf7;
  border-radius: 32px;
  padding: 36px 38px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.03);
}

.job-detail-page .job-detail-card h2 {
  margin: 0 0 24px;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 900;
}

.job-detail-page .job-detail-card h3 {
  margin: 34px 0 14px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
}

.job-detail-page .job-detail-card p {
  margin: 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.95;
  font-weight: 700;
}

.job-detail-page .job-detail-card ul {
  margin: 26px 0 0;
  padding-left: 22px;
}

.job-detail-page .job-detail-card li {
  color: #334155;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 700;
  margin-bottom: 10px;
}

.job-detail-page .job-detail-summary-card h2 {
  margin-bottom: 18px;
}

.job-detail-page .job-detail-summary-card dl {
  margin: 0 0 26px;
}

.job-detail-page .job-detail-summary-card dl div {
  padding: 18px 0;
  border-top: 1px solid #e6edf7;
}

.job-detail-page .job-detail-summary-card dl div:first-child {
  border-top: 1px solid #e6edf7;
}

.job-detail-page .job-detail-summary-card dt {
  margin-bottom: 10px;
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

.job-detail-page .job-detail-summary-card dd {
  margin: 0;
  color: #334155;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 900;
}

@media (max-width: 1024px) {

  .job-detail-page .job-detail-hero__grid,
  .job-detail-page .job-detail-layout {
    grid-template-columns: 1fr;
  }

  .job-detail-page .job-detail-cta-card {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .job-detail-page .job-detail-hero {
    padding: 56px 0 64px;
  }

  .job-detail-page .job-detail-title {
    font-size: 42px;
  }

  .job-detail-page .job-detail-lead,
  .job-detail-page .job-detail-card p,
  .job-detail-page .job-detail-card li,
  .job-detail-page .job-detail-summary-card dd {
    font-size: 16px;
  }

  .job-detail-page .job-detail-card,
  .job-detail-page .job-detail-cta-card {
    padding: 24px;
    border-radius: 24px;
  }
}


/* v3: タイトル上の絵文字アイコン削除 */
.job-detail-page .job-detail-mini-icon {
  display: none !important;
}

.job-detail-page .job-detail-back {
  margin-bottom: 54px;
}

/* v4: 求人カードのアイコン削除 */
.job-icon,
.job-detail-mini-icon,
.job-card .company-logo,
.listing-card .company-logo,
.job-top .company-logo {
  display: none !important;
}

/* アイコン削除後の余白調整 */
.listing-card .job-icon+h3,
.job-card .company-logo+h3 {
  margin-top: 0 !important;
}

.listing-card h3 {
  margin-top: 0;
}

.job-card .job-top:empty,
.listing-card .job-top:empty {
  display: none !important;
}

/* フッター簡略化・WordPress用URL対応 */
.footer-simple {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-simple .footer-brand {
  max-width: 420px;
}

.footer-simple-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 24px;
  max-width: 640px;
}

.footer-simple-nav a {
  color: #475569;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.footer-simple-nav a:hover {
  color: var(--blue);
}

@media (max-width: 768px) {
  .footer-simple {
    flex-direction: column;
  }

  .footer-simple-nav {
    justify-content: flex-start;
    gap: 12px 18px;
  }
}

/* v2: フッター強制シンプル化 */
.site-footer .footer-grid>div:not(.footer-brand),
.site-footer .footer-grid .sns {
  display: none !important;
}

.site-footer .footer-grid {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 40px !important;
}

.site-footer .footer-brand {
  max-width: 420px !important;
}

.innerworks-footer-simple {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 40px !important;
}

.innerworks-footer-brand {
  max-width: 420px !important;
}

.innerworks-footer-brand p {
  color: #64748b;
  line-height: 1.9;
  font-weight: 700;
  margin-top: 14px;
}

.innerworks-footer-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  gap: 14px 24px !important;
  max-width: 680px !important;
}

.innerworks-footer-nav a {
  color: #475569 !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

.innerworks-footer-nav a:hover {
  color: var(--blue) !important;
}

@media (max-width: 768px) {

  .site-footer .footer-grid,
  .innerworks-footer-simple {
    flex-direction: column !important;
  }

  .innerworks-footer-nav {
    justify-content: flex-start !important;
    gap: 12px 18px !important;
  }
}

/* お問い合わせページ */
.innerworks-contact-page .contact-hero {
  padding: 74px 0 70px;
  background: linear-gradient(90deg, #f8fbff 0%, #f7fffb 100%);
  border-bottom: 1px solid #eaf0f7;
}

.innerworks-contact-page .contact-hero h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.innerworks-contact-page .contact-hero p {
  margin: 28px 0 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 800;
}

.innerworks-contact-page .contact-section {
  padding-top: 76px;
}

.innerworks-contact-page .contact-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.innerworks-contact-page .contact-side,
.innerworks-contact-page .contact-card {
  background: #fff;
  border: 1px solid #e6edf7;
  border-radius: 28px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.innerworks-contact-page .contact-side {
  padding: 28px;
  position: sticky;
  top: 100px;
}

.innerworks-contact-page .contact-side h2 {
  margin: 0 0 22px;
  color: #0f172a;
  font-size: 22px;
  font-weight: 950;
}

.innerworks-contact-page .contact-side nav {
  display: grid;
}

.innerworks-contact-page .contact-side a {
  display: block;
  padding: 16px 0;
  border-top: 1px solid #e6edf7;
  color: #475569;
  text-decoration: none;
  font-weight: 900;
}

.innerworks-contact-page .contact-side a:hover {
  color: #2563eb;
}

.innerworks-contact-page .contact-card {
  padding: 42px;
}

.innerworks-contact-page .contact-card h2 {
  margin: 0 0 22px;
  color: #0f172a;
  font-size: 34px;
  line-height: 1.3;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.innerworks-contact-page .contact-lead {
  margin: 0 0 30px;
  color: #475569;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 800;
}

.innerworks-contact-page .innerworks-contact-form {
  display: grid;
  gap: 22px;
}

.innerworks-contact-page .innerworks-contact-form label {
  display: grid;
  gap: 10px;
  color: #334155;
  font-weight: 950;
}

.innerworks-contact-page .innerworks-contact-form label span {
  font-size: 15px;
}

.innerworks-contact-page .innerworks-contact-form input,
.innerworks-contact-page .innerworks-contact-form select,
.innerworks-contact-page .innerworks-contact-form textarea {
  width: 100%;
  border: 1px solid #dbe4ef;
  border-radius: 16px;
  padding: 15px 18px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-weight: 700;
  outline: none;
}

.innerworks-contact-page .innerworks-contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.innerworks-contact-page .innerworks-contact-form input:focus,
.innerworks-contact-page .innerworks-contact-form select:focus,
.innerworks-contact-page .innerworks-contact-form textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.innerworks-contact-page .innerworks-contact-form button {
  width: fit-content;
  min-width: 140px;
  border: 0;
  border-radius: 18px;
  padding: 18px 32px;
  background: #2563eb;
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}

.innerworks-contact-page .innerworks-contact-form button:hover {
  opacity: 0.92;
}

@media (max-width: 1024px) {
  .innerworks-contact-page .contact-layout {
    grid-template-columns: 1fr;
  }

  .innerworks-contact-page .contact-side {
    position: static;
  }
}

@media (max-width: 768px) {
  .innerworks-contact-page .contact-hero {
    padding: 54px 0;
  }

  .innerworks-contact-page .contact-section {
    padding-top: 48px;
  }

  .innerworks-contact-page .contact-card,
  .innerworks-contact-page .contact-side {
    padding: 24px;
    border-radius: 24px;
  }

  .innerworks-contact-page .contact-card h2 {
    font-size: 28px;
  }
}

/* お問い合わせページ：Contact Form 7対応 */
.innerworks-contact-page .contact-hero {
  padding: 74px 0 70px;
  background: linear-gradient(90deg, #f8fbff 0%, #f7fffb 100%);
  border-bottom: 1px solid #eaf0f7;
}

.innerworks-contact-page .contact-hero h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.innerworks-contact-page .contact-hero p {
  margin: 28px 0 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 800;
}

.innerworks-contact-page .contact-section {
  padding-top: 76px;
}

.innerworks-contact-page .contact-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.innerworks-contact-page .contact-side,
.innerworks-contact-page .contact-card {
  background: #fff;
  border: 1px solid #e6edf7;
  border-radius: 28px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.innerworks-contact-page .contact-side {
  padding: 28px;
  position: sticky;
  top: 100px;
}

.innerworks-contact-page .contact-side h2 {
  margin: 0 0 22px;
  color: #0f172a;
  font-size: 22px;
  font-weight: 950;
}

.innerworks-contact-page .contact-side nav {
  display: grid;
}

.innerworks-contact-page .contact-side a {
  display: block;
  padding: 16px 0;
  border-top: 1px solid #e6edf7;
  color: #475569;
  text-decoration: none;
  font-weight: 900;
}

.innerworks-contact-page .contact-side a:hover {
  color: #2563eb;
}

.innerworks-contact-page .contact-card {
  padding: 42px;
}

.innerworks-contact-page .contact-card h2 {
  margin: 0 0 22px;
  color: #0f172a;
  font-size: 34px;
  line-height: 1.3;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.innerworks-contact-page .contact-lead {
  margin: 0 0 30px;
  color: #475569;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 800;
}

/* Contact Form 7 */
.innerworks-contact-page .innerworks-cf7-wrap form {
  display: grid;
  gap: 22px;
}

.innerworks-contact-page .innerworks-cf7-wrap p {
  margin: 0;
}

.innerworks-contact-page .innerworks-cf7-wrap label {
  display: grid;
  gap: 10px;
  color: #334155;
  font-weight: 950;
}

.innerworks-contact-page .innerworks-cf7-wrap input[type="text"],
.innerworks-contact-page .innerworks-cf7-wrap input[type="email"],
.innerworks-contact-page .innerworks-cf7-wrap input[type="tel"],
.innerworks-contact-page .innerworks-cf7-wrap select,
.innerworks-contact-page .innerworks-cf7-wrap textarea {
  width: 100%;
  border: 1px solid #dbe4ef;
  border-radius: 16px;
  padding: 15px 18px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-weight: 700;
  outline: none;
}

.innerworks-contact-page .innerworks-cf7-wrap textarea {
  resize: vertical;
  min-height: 150px;
}

.innerworks-contact-page .innerworks-cf7-wrap input:focus,
.innerworks-contact-page .innerworks-cf7-wrap select:focus,
.innerworks-contact-page .innerworks-cf7-wrap textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.innerworks-contact-page .innerworks-cf7-wrap input[type="submit"] {
  width: fit-content;
  min-width: 140px;
  border: 0;
  border-radius: 18px;
  padding: 18px 32px;
  background: #2563eb;
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}

.innerworks-contact-page .innerworks-cf7-wrap input[type="submit"]:hover {
  opacity: 0.92;
}

.innerworks-contact-page .wpcf7-not-valid-tip {
  margin-top: 8px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 800;
}

.innerworks-contact-page .wpcf7-response-output {
  margin: 22px 0 0 !important;
  padding: 14px 18px !important;
  border-radius: 16px;
  font-weight: 800;
}

@media (max-width: 1024px) {
  .innerworks-contact-page .contact-layout {
    grid-template-columns: 1fr;
  }

  .innerworks-contact-page .contact-side {
    position: static;
  }
}

@media (max-width: 768px) {
  .innerworks-contact-page .contact-hero {
    padding: 54px 0;
  }

  .innerworks-contact-page .contact-section {
    padding-top: 48px;
  }

  .innerworks-contact-page .contact-card,
  .innerworks-contact-page .contact-side {
    padding: 24px;
    border-radius: 24px;
  }

  .innerworks-contact-page .contact-card h2 {
    font-size: 28px;
  }
}

/* スマホ時：TOP FVの表示順を「テキスト → 画像 → 検索フォーム」に変更 */
@media (max-width: 768px) {
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .hero-copy {
    display: contents !important;
  }

  .hero-copy .eyebrow {
    order: 1 !important;
  }

  .hero-copy h1 {
    order: 2 !important;
  }

  .hero-copy .lead {
    order: 3 !important;
  }

  .hero-visual {
    order: 4 !important;
    margin-top: 28px !important;
    margin-bottom: 28px !important;
  }

  .hero-copy .search-panel {
    order: 5 !important;
  }
}

/* スマホ：人気の求人カテゴリを横3つ並びに変更 */
@media (max-width: 768px) {
  .category-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .category-card {
    min-height: auto !important;
    padding: 18px 8px !important;
    border-radius: 18px !important;
    text-align: center !important;
  }

  .category-card span {
    width: 42px !important;
    height: 42px !important;
    margin: 0 auto 12px !important;
    font-size: 18px !important;
  }

  .category-card h3 {
    font-size: 12px !important;
    line-height: 1.45 !important;
    margin: 0 0 8px !important;
    word-break: keep-all !important;
  }

  .category-card p {
    font-size: 12px !important;
    margin: 0 !important;
  }
}

/* かなり小さいスマホでも3列を維持 */
@media (max-width: 380px) {
  .category-grid {
    gap: 8px !important;
  }

  .category-card {
    padding: 16px 6px !important;
  }

  .category-card h3 {
    font-size: 11px !important;
  }
}

/* スマホ：おすすめ求人を横並びではなく縦に3件表示 */
@media (max-width: 768px) {

  .jobs .job-grid,
  .job-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .jobs .job-card,
  .job-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
    scroll-snap-align: unset !important;
    padding: 26px !important;
    border-radius: 24px !important;
  }

  .jobs .job-card h3,
  .job-card h3 {
    font-size: 22px !important;
    line-height: 1.45 !important;
    word-break: normal !important;
  }

  .jobs .job-card p,
  .job-card p {
    font-size: 15px !important;
    line-height: 1.85 !important;
  }

  .jobs .job-card .tags,
  .job-card .tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .jobs .job-card .detail-link,
  .job-card .detail-link {
    width: 100% !important;
    margin-top: 18px !important;
  }

  /* 横スクロール用の指定が残っている場合の打ち消し */
  .jobs .job-grid::-webkit-scrollbar,
  .job-grid::-webkit-scrollbar {
    display: none !important;
  }
}

/* CTAを求人一覧導線として自然に見せる */
.cta-box a[href*="/jobs"] {
  text-align: center;
}

/* スマホ：おすすめ求人の見出しを中央寄せ */
@media (max-width: 768px) {
  .jobs .section-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .jobs .section-head h2 {
    width: 100% !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .jobs .section-head a {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* スマホFV：タイトル → 画像 → 説明文 の順番に変更し、画像と文字を少し重ねる */
@media (max-width: 768px) {
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .hero-copy {
    display: contents !important;
  }

  .hero-copy .eyebrow {
    order: 1 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-copy h1 {
    order: 2 !important;
    margin-bottom: 0 !important;
  }

  .hero-visual {
    order: 3 !important;
    margin-top: -8px !important;
    margin-bottom: -34px !important;
    position: relative !important;
    z-index: 1 !important;
  }

  .hero-visual-image {
    width: 100% !important;
    display: block !important;
  }

  .hero-copy .lead {
    order: 4 !important;
    position: relative !important;
    z-index: 2 !important;
    margin-top: 0 !important;
    background: transparent !important;
  }

  .hero-copy .search-panel {
    order: 5 !important;
    margin-top: 30px !important;
  }
}

/* かなり小さいスマホでは重なりを少し弱める */
@media (max-width: 380px) {
  .hero-visual {
    margin-bottom: -24px !important;
  }
}

/* スマホFV：説明文を画像ブロック内に表示＋タイトルとの間隔調整 */
@media (max-width: 768px) {
  .hero-copy .eyebrow {
    margin-bottom: 14px !important;
  }

  .hero-copy h1 {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
  }

  /* 元の説明文はスマホでは非表示にし、画像ブロック内に同じ文言を表示 */
  .hero-copy .lead {
    display: none !important;
  }

  .hero-visual {
    order: 3 !important;
    position: relative !important;
    margin-top: 0 !important;
    margin-bottom: 28px !important;
    padding-bottom: 0 !important;
  }

  .hero-visual::after {
    content: "フルリモート・在宅勤務に特化した求人サイト。未経験歓迎から専門職まで、あなたに合った働き方をサポートします。";
    display: block;
    position: relative;
    z-index: 2;
    margin: -22px 14px 0;
    padding: 0 2px;
    color: #475569;
    font-size: 16px;
    line-height: 1.9;
    font-weight: 850;
    letter-spacing: .01em;
  }

  .hero-copy .search-panel {
    order: 4 !important;
    margin-top: 26px !important;
  }
}

@media (max-width: 380px) {
  .hero-copy .eyebrow {
    margin-bottom: 10px !important;
  }

  .hero-visual::after {
    margin-top: -18px;
    font-size: 15px;
  }
}

/* スマホFV：画像内テキスト崩れ修正版 v2 */
@media (max-width: 768px) {
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .hero-copy {
    display: contents !important;
  }

  .hero-copy .eyebrow {
    order: 1 !important;
    margin: 0 auto 12px !important;
  }

  .hero-copy h1 {
    order: 2 !important;
    margin-top: 0 !important;
    margin-bottom: 18px !important;
  }

  /* 元の説明文はスマホでは非表示 */
  .hero-copy .lead {
    display: none !important;
  }

  .hero-visual {
    order: 3 !important;
    position: relative !important;
    width: 100% !important;
    margin: 0 0 30px !important;
    overflow: hidden !important;
    border-radius: 28px !important;
  }

  .hero-visual-image {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* 説明文を画像ブロック下部に横幅いっぱいで配置 */
  .hero-visual::after {
    content: "フルリモート・在宅勤務に特化した求人サイト。未経験歓迎から専門職まで、あなたに合った働き方をサポートします。";
    position: absolute !important;
    left: 18px !important;
    right: 18px !important;
    bottom: 18px !important;
    z-index: 3 !important;
    display: block !important;
    width: auto !important;
    max-width: none !important;
    padding: 14px 16px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.82) !important;
    color: #475569 !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  .hero-copy .search-panel {
    order: 4 !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 380px) {
  .hero-visual::after {
    left: 14px !important;
    right: 14px !important;
    bottom: 14px !important;
    padding: 12px 14px !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
  }
}

/* スマホFV：崩れ修正・自然な並びに変更 */
@media (max-width: 768px) {
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .hero-copy {
    display: contents !important;
  }

  /* 在宅ワーク専門の求人サイト */
  .hero-copy .eyebrow {
    order: 1 !important;
    margin: 0 auto 12px !important;
  }

  /* 自分らしく働ける、在宅ワークが見つかる。 */
  .hero-copy h1 {
    order: 2 !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
  }

  /* 画像 */
  .hero-visual {
    order: 3 !important;
    position: relative !important;
    width: 100% !important;
    margin: 0 0 22px !important;
    overflow: hidden !important;
    border-radius: 28px !important;
    z-index: 1 !important;
  }

  .hero-visual-image {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    opacity: 1 !important;
  }

  /* 以前追加した画像内テキストを完全に削除 */
  .hero-visual::after {
    content: none !important;
    display: none !important;
  }

  /* 説明文を画像の下に自然に表示 */
  .hero-copy .lead {
    order: 4 !important;
    display: block !important;
    position: static !important;
    z-index: auto !important;
    margin: 0 0 28px !important;
    color: #475569 !important;
    font-size: 16px !important;
    line-height: 1.9 !important;
    font-weight: 850 !important;
    background: transparent !important;
    text-align: left !important;
  }

  /* 検索フォーム */
  .hero-copy .search-panel {
    order: 5 !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 380px) {
  .hero-copy .eyebrow {
    margin-bottom: 10px !important;
  }

  .hero-copy h1 {
    margin-bottom: 18px !important;
  }

  .hero-visual {
    margin-bottom: 20px !important;
  }

  .hero-copy .lead {
    font-size: 15px !important;
    line-height: 1.85 !important;
  }
}

/* スマホFV：文字と画像を近づけ、説明文幅を画像ボックスに揃える */
@media (max-width: 768px) {
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .hero-copy {
    display: contents !important;
  }

  .hero-copy .eyebrow {
    order: 1 !important;
    margin: 0 auto 10px !important;
  }

  .hero-copy h1 {
    order: 2 !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
  }

  .hero-visual {
    order: 3 !important;
    width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    border-radius: 28px !important;
    overflow: hidden !important;
  }

  .hero-visual-image {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    opacity: 1 !important;
  }

  .hero-visual::after {
    content: none !important;
    display: none !important;
  }

  .hero-copy .lead {
    order: 4 !important;
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 24px !important;
    color: #475569 !important;
    font-size: 16px !important;
    line-height: 1.9 !important;
    font-weight: 850 !important;
    text-align: left !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }

  .hero-copy .search-panel {
    order: 5 !important;
    margin-top: 0 !important;
  }
}

/* かなり小さいスマホ用 */
@media (max-width: 380px) {
  .hero-copy .eyebrow {
    margin-bottom: 8px !important;
  }

  .hero-copy h1 {
    margin-bottom: 10px !important;
  }

  .hero-visual {
    margin-bottom: 12px !important;
  }

  .hero-copy .lead {
    font-size: 15px !important;
    line-height: 1.85 !important;
  }
}

/* TOPおすすめ求人：カード全体を求人一覧への導線にする */
.jobs .job-card[role="link"] {
  cursor: pointer;
}

.jobs .job-card h3 a {
  color: inherit;
  text-decoration: none;
}

.jobs .job-card h3 a:hover {
  color: #2563eb;
}

.jobs .job-card[role="link"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

/* TOPおすすめ求人：外側リンクは一覧、カード内は求人詳細へ */
.jobs .section-head a {
  cursor: pointer;
}

.jobs .job-card[role="link"] {
  cursor: pointer;
}

.jobs .job-card h3 a {
  color: inherit;
  text-decoration: none;
}

.jobs .job-card h3 a:hover {
  color: #2563eb;
}

.jobs .job-card[role="link"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

/* ボタン押下時にカードonclickと二重発火しにくくする */
.jobs .job-card .detail-link {
  position: relative;
  z-index: 2;
}

/* TOPおすすめ求人：PC中央配置＋スマホですべての求人を見るを表示 */
.jobs .section-head {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 16px !important;
  margin-bottom: 34px !important;
}

.jobs .section-head h2 {
  width: 100% !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.jobs .section-head>a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 180px !important;
  padding: 12px 22px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #2563eb !important;
  border: 1px solid rgba(37, 99, 235, 0.22) !important;
  font-weight: 850 !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: static !important;
  z-index: 5 !important;
}

/* スマホ時も確実に表示 */
@media (max-width: 768px) {
  .jobs .section-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 14px !important;
    margin-bottom: 24px !important;
  }

  .jobs .section-head h2 {
    display: block !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  .jobs .section-head>a {
    display: inline-flex !important;
    margin: 0 auto !important;
    min-width: 170px !important;
    padding: 11px 20px !important;
    font-size: 14px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

/* 求人一覧ページ：絞り込みアコーディオン化 */
.filter-panel {
  align-self: start;
}

.filter-accordion {
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.filter-accordion>summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #0f172a;
  font-size: 20px;
  font-weight: 950;
}

.filter-accordion>summary::-webkit-details-marker,
.filter-group-accordion>summary::-webkit-details-marker {
  display: none;
}

.filter-accordion>summary::after {
  content: "＋";
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 20px;
  line-height: 1;
  flex: 0 0 auto;
}

.filter-accordion[open]>summary::after {
  content: "−";
}

.filter-accordion>summary small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

.filter-accordion-body {
  padding: 0 24px 24px;
}

.filter-group-accordion {
  border-top: 1px solid #e2e8f0;
  padding: 16px 0;
}

.filter-group-accordion:first-child {
  border-top: 0;
  padding-top: 0;
}

.filter-group-accordion>summary {
  list-style: none;
  cursor: pointer;
  color: #0f172a;
  font-size: 15px;
  font-weight: 950;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-group-accordion>summary::after {
  content: "＋";
  color: #2563eb;
  font-weight: 950;
}

.filter-group-accordion[open]>summary::after {
  content: "−";
}

.filter-group-body {
  display: grid;
  gap: 12px;
  padding-top: 14px;
}

.filter-group-body label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
}

/* 既存の filter-group 指定が残っていても影響しにくくする */
.filter-panel .filter-group {
  display: none !important;
}

/* スマホでは絞り込みを求人一覧の上に表示 */
@media (max-width: 768px) {
  .listing-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .filter-panel {
    width: 100% !important;
    order: 1 !important;
  }

  .listing-main {
    order: 2 !important;
  }

  .filter-accordion>summary {
    padding: 18px 20px;
    font-size: 18px;
  }

  .filter-accordion-body {
    padding: 0 20px 20px;
  }
}

/* 求人一覧：絞り込み部分と検索ボタンの距離を近づける */
.filter-panel {
  margin-top: 0 !important;
}

.filter-accordion {
  margin-bottom: 14px !important;
}

.filter-accordion>summary {
  padding-bottom: 16px !important;
}

.filter-accordion-body {
  padding-bottom: 16px !important;
}

.filter-group-accordion {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.filter-group-body {
  padding-top: 10px !important;
  gap: 10px !important;
}

/* 検索フォーム全体の余白を調整 */
.job-search,
.search-box,
.search-panel,
.jobs-search,
.archive-search,
.listing-search {
  margin-bottom: 18px !important;
}

/* 求人一覧ページの検索ボタン周りを詰める */
.job-search button,
.search-box button,
.search-panel button,
.jobs-search button,
.archive-search button,
.listing-search button {
  margin-top: 10px !important;
}

/* 絞り込みと一覧エリアの隙間を少し詰める */
.listing-layout {
  gap: 22px !important;
}

/* スマホ時はさらに近づける */
@media (max-width: 768px) {
  .filter-accordion {
    margin-bottom: 10px !important;
  }

  .filter-accordion>summary {
    padding-top: 16px !important;
    padding-bottom: 14px !important;
  }

  .filter-accordion-body {
    padding-bottom: 14px !important;
  }

  .listing-layout {
    gap: 16px !important;
  }

  .job-search,
  .search-box,
  .search-panel,
  .jobs-search,
  .archive-search,
  .listing-search {
    margin-bottom: 14px !important;
  }

  .job-search button,
  .search-box button,
  .search-panel button,
  .jobs-search button,
  .archive-search button,
  .listing-search button {
    margin-top: 8px !important;
  }
}

/* 求人一覧：検索ボタンと絞り込みの間をほぼ無くす */
@media (max-width: 768px) {

  /* 検索フォームの下余白を削る */
  .jobs-hero,
  .job-archive-hero,
  .archive-hero,
  .search-hero {
    padding-bottom: 8px !important;
    margin-bottom: 0 !important;
  }

  .job-search,
  .search-box,
  .search-panel,
  .jobs-search,
  .archive-search,
  .listing-search {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .job-search button,
  .search-box button,
  .search-panel button,
  .jobs-search button,
  .archive-search button,
  .listing-search button {
    margin-bottom: 0 !important;
  }

  /* 検索エリアと一覧エリアの間を詰める */
  .listing-section,
  .jobs-list-section,
  .archive-jobs-section,
  .jobs-archive,
  .job-listing {
    padding-top: 8px !important;
    margin-top: 0 !important;
  }

  .listing-layout {
    gap: 8px !important;
    margin-top: 0 !important;
  }

  /* 絞り込みボックスを上に寄せる */
  .filter-panel {
    margin-top: 0 !important;
    padding-top: 0 !important;
    order: 1 !important;
  }

  .filter-accordion {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
  }

  .filter-accordion>summary {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  .filter-accordion-body {
    padding-bottom: 14px !important;
  }

  .listing-main {
    order: 2 !important;
  }

  /* 見出し側も近づける */
  .listing-main h1,
  .listing-main h2,
  .jobs-list-title,
  .archive-title {
    margin-top: 8px !important;
  }
}

/* PCでも少しだけ詰める */
@media (min-width: 769px) {
  .listing-layout {
    gap: 20px !important;
  }

  .filter-panel {
    margin-top: 0 !important;
  }
}

/* 求人一覧：検索フォームと絞り込みの余白を自然に詰める修正版 */
@media (max-width: 768px) {

  /* 前回の強い詰め指定・食い込みをリセット */
  .jobs-hero,
  .job-archive-hero,
  .archive-hero,
  .search-hero {
    margin-bottom: 0 !important;
    padding-bottom: 24px !important;
  }

  /* 検索フォームの下だけ少し余白 */
  .job-search,
  .search-box,
  .jobs-search,
  .archive-search,
  .listing-search {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  /* TOPの検索フォームと求人一覧ページの検索フォームが同じ .search-panel の場合があるため控えめに指定 */
  main .search-panel {
    margin-bottom: 0 !important;
  }

  /* 一覧セクションを検索フォームの直後に自然に配置 */
  .listing-section,
  .jobs-list-section,
  .archive-jobs-section,
  .jobs-archive,
  .job-listing {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .listing-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    margin-top: 0 !important;
  }

  /* 絞り込みボックス */
  .filter-panel {
    order: 1 !important;
    width: 100% !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .filter-accordion {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
  }

  .filter-accordion>summary {
    padding: 18px 20px !important;
  }

  .filter-accordion-body {
    padding: 0 20px 18px !important;
  }

  .listing-main {
    order: 2 !important;
  }

  /* 求人一覧タイトルの上を詰めるが、詰めすぎない */
  .listing-main h1,
  .listing-main h2,
  .jobs-list-title,
  .archive-title {
    margin-top: 0 !important;
  }
}

/* もし前回CSSが残っていても、下に入れればこちらが優先されます */
@media (max-width: 768px) {
  .filter-panel {
    transform: none !important;
    position: static !important;
  }

  .listing-layout {
    transform: none !important;
  }
}

/* 求人一覧：絞り込みを検索フォーム直下に自然配置 */
@media (max-width: 768px) {
  .page-hero {
    padding-bottom: 34px !important;
  }

  .page-hero .container {
    display: block !important;
  }

  .listing-search {
    margin-bottom: 14px !important;
  }

  .filter-panel-under-search {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .filter-panel-under-search .filter-accordion {
    margin: 0 !important;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07) !important;
  }

  .filter-panel-under-search .filter-accordion>summary {
    padding: 18px 20px !important;
  }

  .filter-panel-under-search .filter-accordion-body {
    padding: 0 20px 18px !important;
  }

  /* 求人一覧エリアは通常位置に戻す */
  .listing-layout {
    display: block !important;
    margin-top: 0 !important;
    transform: none !important;
  }

  .listing-main {
    margin-top: 0 !important;
  }

  .section:has(.listing-layout) {
    padding-top: 34px !important;
  }
}

/* PCでも検索フォーム直下に自然に配置 */
@media (min-width: 769px) {
  .filter-panel-under-search {
    max-width: 1040px !important;
    margin: 24px auto 0 !important;
  }

  .filter-panel-under-search .filter-accordion {
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06) !important;
  }

  .listing-layout {
    display: block !important;
  }

  .listing-main {
    width: 100% !important;
  }
}

/* 以前の余白調整CSSの影響をリセット */
.filter-panel:not(.filter-panel-under-search) {
  display: none !important;
}

/* 求人一覧：検索ボタンと絞り込みの間に少しだけ余白を入れる */
@media (max-width: 768px) {
  .filter-panel-under-search {
    margin-top: 14px !important;
  }

  .filter-panel-under-search .filter-accordion {
    margin-top: 0 !important;
  }

  /* 検索フォーム側の下余白は増やしすぎない */
  .listing-search,
  .job-search,
  .search-box,
  .jobs-search,
  .archive-search {
    margin-bottom: 0 !important;
  }

  /* 求人一覧との間も自然に */
  .page-hero {
    padding-bottom: 36px !important;
  }
}

/* さらに小さい画面では少しだけ詰める */
@media (max-width: 380px) {
  .filter-panel-under-search {
    margin-top: 12px !important;
  }
}

/* LINE応募遷移ページ */
.line-entry-page {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.line-entry-hero {
  padding: 72px 0 88px;
}

.line-entry-container {
  max-width: 880px;
}

.line-entry-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 34px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  padding: 52px;
  text-align: center;
}

.line-entry-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #eafff0;
  color: #06c755;
  font-size: 14px;
  font-weight: 950;
}

.line-entry-card h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.line-entry-lead {
  margin: 22px auto 0;
  max-width: 680px;
  color: #475569;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 800;
}

.line-entry-flow {
  margin-top: 36px;
  text-align: left;
}

.line-entry-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 28px;
}

.line-entry-step b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  font-size: 16px;
  font-weight: 950;
}

.line-entry-step h2 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 20px;
  font-weight: 950;
}

.line-entry-step p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 800;
}

.line-entry-url-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.line-entry-url-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 16px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
  outline: none;
}

.line-entry-url-box button,
.line-entry-button {
  border: 0;
  border-radius: 16px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.line-entry-url-box button {
  background: #2563eb;
  color: #ffffff;
}

.line-entry-url-box button.is-copied {
  background: #06c755;
}

.copy-message {
  min-height: 24px;
  margin: 10px 0 0;
  color: #06c755;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.line-entry-button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  width: 100%;
  background: #06c755;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(6, 199, 85, 0.22);
}

.line-entry-button:hover,
.line-entry-url-box button:hover {
  transform: translateY(-2px);
}

.line-entry-back {
  display: block;
  margin-top: 18px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 768px) {
  .line-entry-hero {
    padding: 42px 0 64px;
  }

  .line-entry-card {
    padding: 32px 20px;
    border-radius: 28px;
  }

  .line-entry-card h1 {
    font-size: 30px;
    text-align: left;
  }

  .line-entry-lead {
    text-align: left;
    font-size: 15px;
  }

  .line-entry-url-box {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .line-entry-url-box button,
  .line-entry-button {
    width: 100%;
  }
}