/*
Theme Name: PAIR UP
Theme URI: https://example.com
Author: PAIR UP
Description: 士業・管理部門・コンサル転職に特化した求人サイト PAIR UP のオリジナルテーマ
Version: 1.0
*/

/* =============================================
   VARIABLES & RESET
   ============================================= */
:root {
  --pink:      #ff4f8b;
  --orange:    #ff8a3d;
  --grad:      linear-gradient(90deg, var(--pink), var(--orange));
  --turquoise: #62c3d9;
  --green:     #39b48e;
  --text:      #1f2430;
  --muted:     #6d7486;
  --line:      #e9edf4;
  --bg:        #ffffff;
  --bg-soft:   #f7f8fb;
  --shadow:    0 12px 28px rgba(25,30,45,.08);
  --shadow2:   0 18px 45px rgba(25,30,45,.12);
  --r-xl: 24px;
  --r-lg: 18px;
  --r-md: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Noto Sans JP",
               "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 18% 8%,  rgba(98,195,217,.16), transparent 60%),
    radial-gradient(900px 420px at 85% 10%, rgba(255,79,139,.12), transparent 60%),
    radial-gradient(900px 420px at 55% 75%, rgba(255,138,61,.10), transparent 60%),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1400px, 94vw); margin: 0 auto; }

/* =============================================
   HEADER
   ============================================= */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(233,237,244,.8);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px 0; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  display: flex; align-items: center; justify-content: center;
  height: 48px; padding: 6px 10px;
  border-radius: 14px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  overflow: hidden; flex: 0 0 auto;
}
.logo-img { height: 36px; width: auto; max-width: 160px; object-fit: contain; display: block; }
.brand strong { letter-spacing: .08em; font-weight: 900; line-height: 1.1; }
.brand small { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { padding: 10px 12px; border-radius: 12px; color: #2a3140; font-weight: 800; font-size: 12px; letter-spacing: .04em; border: 1px solid transparent; }
.nav a span { display: block; font-size: 10px; font-weight: 700; color: var(--muted); margin-top: 2px; }
.nav a:hover { background: #fff; border-color: var(--line); box-shadow: 0 10px 22px rgba(25,30,45,.06); }
.nav .cta { color: #fff; border: none; background: var(--grad); box-shadow: 0 12px 26px rgba(255,79,139,.22); padding: 11px 14px; border-radius: 14px; }
.nav .cta span { color: rgba(255,255,255,.9); }

/* =============================================
   FV HERO
   ============================================= */
.hero {
  position: relative; width: 100%; height: 540px;
  overflow: hidden; display: flex;
  flex-direction: column; justify-content: center; align-items: center;
}
.fv-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg,#29ABE2 0%,#4BBFED 18%,#7DCFE8 32%,#F5A623 62%,#F07830 80%,#E8621A 100%) !important;
}
.fv-bg::after {
  content:''; position:absolute; inset:0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}
.fv-track-wrap { position:absolute; left:0; right:0; overflow:visible; z-index:2; }
.fv-track-top    { top:20px; }
.fv-track-bottom { bottom:0px; }
.fv-track { display:flex; gap:16px; width:max-content; will-change:transform; padding:0 8px; }
.fv-track-forward { animation: scrollFwd 36s linear infinite; }
.fv-track-reverse { animation: scrollRev 40s linear infinite; }
@keyframes scrollFwd { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes scrollRev { from{transform:translateX(-50%)} to{transform:translateX(0)} }
.fv-card { flex-shrink:0; overflow:hidden; border:2.5px solid rgba(255,255,255,.85); box-shadow:0 8px 28px rgba(0,0,0,.22); background:rgba(255,255,255,.1); }
.fv-card img { width:100%; height:100%; object-fit:cover; display:block; }
.fv-card-a { width:220px; height:160px; border-radius:8px 8px 50% 8px;  transform:rotate(-1.5deg); }
.fv-card-b { width:180px; height:180px; border-radius:50% 8px 8px 8px;  transform:rotate(1.2deg);  }
.fv-card-c { width:240px; height:155px; border-radius:8px 50% 8px 8px;  transform:rotate(-1deg);   }
.fv-card-d { width:190px; height:170px; border-radius:8px 8px 8px 50%;  transform:rotate(1.8deg);  }
.fv-center { position:relative; z-index:10; text-align:center; opacity:0; animation:fsu .8s ease forwards .5s; }
.fv-catch-en { font-family:'DM Sans',sans-serif; font-style:italic; font-size:12px; color:rgba(255,255,255,.8); letter-spacing:.2em; margin-bottom:8px; }
.fv-catch-ja { font-family:'Noto Serif JP',serif; font-size:clamp(30px,3.6vw,52px); font-weight:700; color:#fff; letter-spacing:.06em; line-height:1.4; text-shadow:0 2px 24px rgba(0,0,0,.18); }
.fv-cta { display:flex; gap:14px; justify-content:center; align-items:center; margin-top:24px; flex-wrap:wrap; }
.fv-btn { display:inline-flex; align-items:center; gap:6px; padding:12px 26px; border-radius:40px; font-family:'Noto Serif JP',serif; font-size:12px; letter-spacing:.06em; cursor:pointer; text-decoration:none; white-space:nowrap; transition:transform .15s,box-shadow .15s; border:none; }
.fv-btn:hover { transform:translateY(-2px); }
.fv-btn-primary { background:rgba(255,255,255,.95); color:#E8621A; box-shadow:0 8px 24px rgba(0,0,0,.18); font-weight:800; }
.fv-btn-ghost   { background:transparent; color:#fff; border:2px solid rgba(255,255,255,.8); backdrop-filter:blur(6px); }
.fv-btn-entry   { background:var(--grad); color:#fff; box-shadow:0 8px 24px rgba(255,79,139,.4); font-weight:800; }
.fv-btn-white   { background:rgba(255,255,255,.95); color:#2a3140; box-shadow:0 8px 24px rgba(0,0,0,.15); font-weight:800; }
.fv-date-vert { position:absolute; left:10px; top:50%; writing-mode:vertical-rl; transform:rotate(180deg) translateY(50%); font-family:'DM Sans',sans-serif; font-size:8px; letter-spacing:.16em; color:rgba(255,255,255,.5); z-index:10; opacity:0; animation:fi 1s ease forwards 1s; }
.fv-date-end  { position:absolute; bottom:18px; left:52px; font-family:'DM Sans',sans-serif; font-size:10px; letter-spacing:.1em; color:rgba(255,255,255,.65); display:flex; align-items:center; gap:5px; z-index:10; opacity:0; animation:fi 1s ease forwards 1.1s; }
.fv-date-end::before { content:''; width:12px; height:12px; border:1.5px solid rgba(255,255,255,.55); border-radius:50%; display:inline-block; }
.fv-scroll-ring { position:absolute; bottom:18px; right:24px; width:64px; height:64px; z-index:10; opacity:0; animation:fi 1s ease forwards 1.2s; }
.fv-scroll-ring svg { animation:rot 12s linear infinite; }
.fv-scroll-arrow { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); color:rgba(255,255,255,.8); font-size:13px; animation:bd 1.6s ease-in-out infinite; }
@keyframes fsu { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }
@keyframes fi  { from{opacity:0} to{opacity:1} }
@keyframes rot { from{transform:rotate(0)} to{transform:rotate(360deg)} }
@keyframes bd  { 0%,100%{transform:translate(-50%,-65%)} 50%{transform:translate(-50%,-35%)} }
@media(max-width:960px) {
  .hero { height:460px; }
  .fv-card-a{width:180px;height:132px} .fv-card-b{width:150px;height:150px} .fv-card-c{width:196px;height:126px} .fv-card-d{width:158px;height:140px}
  .fv-catch-ja{font-size:32px}
}
@media(max-width:640px) {
  .hero { height:420px; }
  .fv-track-top{top:14px} .fv-track-bottom{bottom:14px}
  .fv-card-a{width:140px;height:104px} .fv-card-b{width:116px;height:116px} .fv-card-c{width:156px;height:100px} .fv-card-d{width:126px;height:112px}
  .fv-catch-ja{font-size:26px}
}

/* =============================================
   BRAND LOGO 修正
   ============================================= */
.brand-text { display:flex; flex-direction:column; }

/* =============================================
   MAIN / SECTION
   ============================================= */
.main { padding: 32px 0 80px; }
.section { padding: 60px 0; }

/* =============================================
   CARDS / GRID
   ============================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
@media(max-width:1024px) { .grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:640px)  { .grid { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow2); }
.card-inner { padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 10px; height: 100%; }

.service-name {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 999px;
  background: var(--grad); color: #fff;
  font-size: 11px; font-weight: 900; letter-spacing: .04em;
  align-self: flex-start;
}

.badge-row { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line);
  font-size: 11px; font-weight: 700; color: var(--muted);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
.dot.g { background: var(--green); }

.job-title { font-size: 15px; font-weight: 900; line-height: 1.5; letter-spacing: .02em; }

.meta { display: flex; flex-wrap: wrap; gap: 6px; }
.meta-item {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line);
  font-size: 11px; font-weight: 700; color: var(--muted);
}

.desc { font-size: 12px; line-height: 1.75; color: #4a5168; flex: 1; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  padding: 3px 10px; border-radius: 999px;
  background: rgba(255,79,139,.07); color: var(--pink);
  font-size: 11px; font-weight: 800; border: 1px solid rgba(255,79,139,.15);
}

.card-actions {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; border-top: 1px solid var(--line); margin-top: auto;
}
.link { font-size: 12px; font-weight: 800; color: var(--muted); transition: color .15s; }
.link:hover { color: var(--pink); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: 999px;
  font-weight: 900; font-size: 13px; cursor: pointer;
  border: none; transition: all .2s; letter-spacing: .04em;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 20px rgba(255,79,139,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,79,139,.35); }
.btn-ghost {
  background: transparent; color: var(--muted);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--pink); color: var(--pink); }
.btn-small { padding: 7px 16px; font-size: 12px; }
.btn-cancel {
  background: var(--bg-soft); color: var(--muted);
  border: 1px solid var(--line);
}

/* =============================================
   SECTION TITLE
   ============================================= */
.section-title { text-align: center; margin-bottom: 10px; }
.section-title h2 { font-size: clamp(20px,2.5vw,32px); font-weight: 900; letter-spacing: .04em; }

/* =============================================
   JOBS PAGE — フィルターパネル
   ============================================= */
.jobs-page-header {
  display: flex; align-items: baseline; gap: 16px;
  margin: 32px 0 20px; flex-wrap: wrap;
}
.jobs-page-title { font-size: 22px; font-weight: 900; letter-spacing: .02em; margin: 0; }
.jobs-page-count { font-size: 13px; color: var(--muted); margin: 0; }
.jobs-page-count span { font-weight: 900; color: var(--pink); font-size: 16px; }

.jobs-filter-panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: 20px; box-shadow: var(--shadow);
  padding: 20px 24px 16px; margin-bottom: 28px;
}
.jfp-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-bottom: 16px;
}
@media(max-width:900px)  { .jfp-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:480px)  { .jfp-grid { grid-template-columns: 1fr; } }

.jfp-item { display: flex; flex-direction: column; gap: 6px; }
.jfp-label { font-size: 11px; font-weight: 900; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.jfp-select-wrap { position: relative; }
.jfp-select {
  width: 100%; appearance: none; -webkit-appearance: none;
  padding: 9px 36px 9px 14px; border: 1.5px solid var(--line);
  border-radius: 12px; background: #fafafa;
  font-size: 13px; font-weight: 700; font-family: inherit;
  color: #2a3140; cursor: pointer; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.jfp-select:hover  { border-color: var(--pink); }
.jfp-select:focus  { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,79,139,.12); background: #fff; }
.jfp-arrow { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 10px; color: var(--muted); pointer-events: none; }
.jfp-footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.jfp-reset { padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); font-size: 12px; font-weight: 800; cursor: pointer; font-family: inherit; transition: all .15s; }
.jfp-reset:hover { border-color: #e44; color: #e44; }
.jfp-apply-btn { padding: 9px 24px; font-size: 13px; font-weight: 900; }
.jobs-empty { text-align: center; padding: 60px 20px; color: var(--muted); font-size: 14px; line-height: 2; }

/* =============================================
   JOB DETAIL PAGE
   ============================================= */
.jd-back { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; color: var(--muted); margin: 24px 0 20px; transition: color .15s; }
.jd-back:hover { color: var(--pink); }

.jd-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; padding-bottom: 64px; }
@media(max-width:900px) { .jd-layout { grid-template-columns: 1fr; } .jd-sidebar { order: -1; } }

.jd-hero { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 28px 28px 24px; margin-bottom: 16px; }
.jd-title { font-size: 22px; font-weight: 900; line-height: 1.45; margin: 14px 0 14px; letter-spacing: .02em; }

.jd-section { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 24px 28px; margin-bottom: 16px; }
.jd-section-title { font-size: 15px; font-weight: 900; letter-spacing: .04em; margin: 0 0 16px; padding-left: 10px; border-left: 3px solid var(--pink); color: #1a1a1a; }

.jd-table { display: flex; flex-direction: column; }
.jd-row { display: flex; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.jd-row:last-child { border-bottom: none; }
.jd-th { flex: 0 0 100px; font-weight: 900; color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.jd-td { flex: 1; font-weight: 700; color: #1a1a1a; }

.jd-lead { font-size: 13px; line-height: 1.85; color: #3a4050; margin: 0 0 16px; }

.jd-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.jd-list li { font-size: 13px; font-weight: 700; padding-left: 18px; position: relative; line-height: 1.65; color: #2a3140; }
.jd-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

.jd-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 14px; }
.jd-cta-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-xl); box-shadow: 0 8px 32px rgba(0,0,0,.09); padding: 22px 22px 20px; }
.jd-cta-label { font-size: 11px; font-weight: 900; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.jd-cta-salary { font-size: 18px; font-weight: 900; color: #1a1a1a; margin-bottom: 16px; letter-spacing: .02em; }
.jd-cta-btn { width: 100%; padding: 13px; font-size: 14px; font-weight: 900; border-radius: 14px; margin-bottom: 10px; }
.jd-cta-note { text-align: center; font-size: 11px; color: var(--muted); margin: 0 0 14px; }
.jd-cta-divider { height: 1px; background: var(--line); margin-bottom: 14px; }
.jd-cta-meta { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 700; }

.jd-sidebar-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 18px 20px; }
.jd-sidebar-box-title { font-size: 11px; font-weight: 900; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.jd-agent-mini { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.jd-agent-avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 900; flex-shrink: 0; }
.jd-agent-name  { font-size: 13px; font-weight: 900; color: #1a1a1a; }
.jd-agent-catch { font-size: 11px; color: var(--muted); margin-top: 2px; }
.jd-agent-link  { font-size: 12px; font-weight: 800; color: var(--pink); border-bottom: 1px solid var(--pink); padding-bottom: 1px; transition: opacity .15s; }
.jd-agent-link:hover { opacity: .7; }

/* =============================================
   AGENT CARDS
   ============================================= */
.agent-grid { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.agent-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--shadow);
  padding: 24px 28px; display: flex; gap: 20px;
  align-items: flex-start; transition: transform .2s, box-shadow .2s;
}
.agent-card:hover { transform: translateY(-3px); box-shadow: var(--shadow2); }
.agent-rank-num {
  font-size: 32px; font-weight: 900; min-width: 48px;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.agent-card-body { flex: 1; }
.agent-card-name { font-size: 18px; font-weight: 900; margin-bottom: 4px; }
.agent-card-catch { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.agent-card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.agent-card-desc { font-size: 12px; line-height: 1.8; color: #4a5168; margin-bottom: 12px; }
.agent-score {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 999px;
  background: linear-gradient(90deg,#f7c948,#f5a623);
  color: #fff; font-size: 12px; font-weight: 900;
}
.agent-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* =============================================
   MODAL
   ============================================= */
.overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(15,20,35,.55); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 16px;
}
.overlay.show { display: flex; }
.modal {
  background: #fff; border-radius: 28px;
  width: min(520px, 100%); max-height: 90vh;
  overflow-y: auto; box-shadow: 0 32px 80px rgba(0,0,0,.22);
}
.modal-head { padding: 28px 28px 0; }
.modal-head h2 { font-size: 20px; font-weight: 900; margin: 16px 0 6px; }
.modal-head p  { font-size: 12px; color: var(--muted); }
.modal-body { padding: 20px 28px; }
.modal-actions { display: flex; gap: 10px; padding: 0 28px 24px; justify-content: flex-end; }
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 800; color: var(--muted); }
.field input, .field textarea {
  padding: 10px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); font: inherit; font-size: 13px;
  outline: none; transition: border-color .15s;
}
.field input:focus, .field textarea:focus { border-color: var(--pink); }
.field textarea { min-height: 90px; resize: vertical; }

/* =============================================
   TOAST
   ============================================= */
.toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 99999;
  background: #1f2430; color: #fff;
  padding: 12px 22px; border-radius: 14px;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #1f2430; color: rgba(255,255,255,.6);
  text-align: center; padding: 28px 16px;
  font-size: 12px; font-weight: 700;
}

/* =============================================
   ポップアップ式フィルター（トップページ求人一覧）
   ============================================= */
.jobs-header { margin: 24px 0 12px; position: relative; }

.jobs-title-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.jobs-title-row h2 { margin: 0; font-size: 18px; letter-spacing: .02em; flex-shrink: 0; }

.jobs-all-link {
  margin-left: auto; flex-shrink: 0;
  font-size: 12px; font-weight: 800; color: var(--pink);
  border-bottom: 1px solid var(--pink); padding-bottom: 1px;
  transition: opacity .15s;
}
.jobs-all-link:hover { opacity: .7; }

/* フィルタートリガー群 */
.filter-triggers { display: flex; align-items: center; gap: 6px; }

.filter-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff; color: #2a3140;
  font-size: 12px; font-weight: 800;
  cursor: pointer; transition: all .15s;
  font-family: inherit; white-space: nowrap;
}
.filter-trigger:hover { border-color: var(--pink); color: var(--pink); }
.filter-trigger.is-active {
  background: var(--grad); color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(255,79,139,.25);
}
.ft-arrow { font-size: 9px; color: var(--muted); transition: transform .2s; }
.filter-trigger.is-active .ft-arrow { color: rgba(255,255,255,.8); }

/* リセットボタン */
.filter-reset {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff; color: var(--muted);
  font-size: 12px; font-weight: 800;
  cursor: pointer; font-family: inherit;
  transition: all .15s; white-space: nowrap;
}
.filter-reset:hover { border-color: #e44; color: #e44; }

/* 選択中タグ行 */
.filter-tags-row {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 8px;
}
.active-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,79,139,.08);
  border: 1px solid rgba(255,79,139,.25);
  color: var(--pink); font-size: 12px; font-weight: 800;
}
.active-tag button {
  background: none; border: none; cursor: pointer;
  color: var(--pink); font-size: 11px; padding: 0 0 0 2px; line-height: 1;
}

/* ポップアップ本体 — デフォルトは非表示 */
.filter-popup {
  position: absolute; top: calc(100% + 4px); left: 0;
  z-index: 500; width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,.13);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.filter-popup.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}
.fp-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.fp-close {
  background: none; border: none; cursor: pointer;
  font-size: 13px; color: var(--muted); padding: 2px 6px;
  border-radius: 6px; transition: background .15s;
}
.fp-close:hover { background: #f0f0f0; }
.fp-options {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; padding: 10px 12px;
  max-height: 240px; overflow-y: auto;
}
.fp-opt {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 10px;
  font-size: 13px; font-weight: 700;
  cursor: pointer; transition: background .12s;
}
.fp-opt:hover { background: #f7f7f7; }
.fp-opt input[type=checkbox] {
  accent-color: var(--pink);
  width: 15px; height: 15px; cursor: pointer; flex-shrink: 0;
}
.fp-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px 13px;
  border-top: 1px solid var(--line);
}
.fp-clear {
  background: none; border: none; cursor: pointer;
  font-size: 12px; color: var(--muted); font-family: inherit;
  font-weight: 800; padding: 4px 0; transition: color .15s;
}
.fp-clear:hover { color: var(--pink); }
.fp-apply {
  padding: 8px 18px; border-radius: 999px;
  background: var(--grad); color: #fff; border: none;
  font-size: 12px; font-weight: 900;
  cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 12px rgba(255,79,139,.22);
  transition: opacity .15s;
}
.fp-apply:hover { opacity: .85; }

/* 背景オーバーレイ（クリックで閉じる用） */
.filter-backdrop {
  position: fixed; inset: 0; z-index: 490; display: none;
}
.filter-backdrop.open { display: block; }

/* 0件メッセージ */
.jobs-empty {
  text-align: center; padding: 48px 0;
  color: var(--muted); font-size: 14px; line-height: 1.8;
}

/* 一覧を見るボタン */
.jobs-more { display: flex; justify-content: center; margin: 32px 0 8px; }
.jobs-more-btn {
  padding: 14px 48px; font-size: 14px;
  border: 2px solid var(--line); border-radius: 999px;
  font-weight: 900; letter-spacing: .04em;
  transition: all .15s; color: inherit; background: #fff;
}
.jobs-more-btn:hover {
  border-color: var(--pink); color: var(--pink);
  box-shadow: 0 8px 20px rgba(255,79,139,.12);
  transform: translateY(-1px);
}

@media(max-width:768px) {
  .jobs-title-row { gap: 8px; }
  .jobs-all-link  { margin-left: 0; width: 100%; order: 3; }
  .filter-popup   { width: calc(100vw - 32px); }
}

/* =============================================
   エージェントセクション
   ============================================= */
.agent-section { margin-top: 56px; }

.ranking-hero {
  position: relative; overflow: hidden;
  padding: 28px 28px 24px; border-radius: 28px;
  background:
    radial-gradient(900px 260px at 0% 0%, rgba(255,79,139,.18), transparent 60%),
    radial-gradient(900px 260px at 100% 0%, rgba(255,138,61,.18), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,248,251,.98));
  border: 1px solid rgba(255,79,139,.18);
  box-shadow: 0 20px 50px rgba(255,79,139,.10);
  margin-bottom: 20px;
}
.ranking-crown {
  position: absolute; top: 16px; right: 20px;
  font-size: 40px; filter: drop-shadow(0 8px 18px rgba(255,138,61,.20));
}
.ranking-hero-rank {
  display: inline-flex; align-items: center;
  padding: 8px 14px; border-radius: 999px;
  background: var(--grad); color: #fff;
  font-size: 12px; font-weight: 1000; letter-spacing: .08em;
  box-shadow: 0 12px 26px rgba(255,79,139,.18);
  margin-bottom: 14px;
}
.ranking-hero-head {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 18px;
  margin-bottom: 18px; padding-right: 52px;
}
.ranking-hero-head h3 {
  margin: 0 0 8px; font-size: 34px; line-height: 1.15; color: #2a3140;
}
.ranking-hero-head p {
  margin: 0; font-size: 15px; line-height: 1.8;
  color: #4a5263; max-width: 64ch;
}
.ranking-score {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 108px; padding: 10px 14px; border-radius: 16px;
  background: #fff; border: 1px solid rgba(255,79,139,.14);
  box-shadow: 0 12px 24px rgba(25,30,45,.06);
  color: #d63d73; font-size: 14px; font-weight: 1000; flex-shrink: 0;
}
.ranking-bars { display: grid; gap: 10px; margin-bottom: 18px; }
.ranking-bar-row {
  display: grid; grid-template-columns: 90px 1fr;
  gap: 12px; align-items: center;
}
.ranking-bar-row span { font-size: 13px; font-weight: 900; color: #2a3140; }
.ranking-bar {
  width: 100%; height: 12px; border-radius: 999px;
  background: rgba(255,79,139,.08); overflow: hidden;
}
.ranking-bar i {
  display: block; height: 100%; border-radius: 999px;
  background: var(--grad); box-shadow: 0 6px 14px rgba(255,79,139,.18);
}
.ranking-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.ranking-meta-item {
  display: inline-flex; align-items: center;
  padding: 9px 13px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line);
  color: var(--muted); font-size: 13px; font-weight: 700;
  box-shadow: 0 10px 22px rgba(25,30,45,.05);
}
.ranking-points { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.ranking-point {
  display: inline-flex; align-items: center;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(255,79,139,.08); border: 1px solid rgba(255,79,139,.14);
  color: #d63d73; font-size: 12px; font-weight: 900;
}
.ranking-actions {
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* 2位以降グリッド */
.agent-ranking-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 18px;
}
@media(max-width:900px) { .agent-ranking-grid { grid-template-columns: 1fr; } }

.agent-rank-card {
  position: relative;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(233,237,244,.95);
  border-radius: 24px; box-shadow: var(--shadow);
  overflow: hidden; height: 100%;
}
.agent-rank-card.silver { border-color: rgba(140,150,170,.18); box-shadow: 0 16px 36px rgba(140,150,170,.10); }
.agent-rank-card.bronze { border-color: rgba(191,123,78,.18); box-shadow: 0 16px 36px rgba(191,123,78,.10); }

.agent-rank-badge {
  position: absolute; top: 14px; right: 14px;
  min-width: 54px; text-align: center;
  padding: 8px 12px; border-radius: 999px;
  background: var(--grad); color: #fff;
  font-size: 12px; font-weight: 1000;
  box-shadow: 0 12px 26px rgba(255,79,139,.18);
}
.agent-rank-card-inner {
  display: flex; flex-direction: column;
  height: 100%; padding: 24px 20px 20px;
}
.agent-rank-top {
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  padding-right: 56px; margin-bottom: 10px;
}
.agent-rank-top h3 { margin: 0; font-size: 24px; line-height: 1.25; color: #2a3140; }
.mini-score {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 58px; padding: 7px 10px; border-radius: 999px;
  background: rgba(255,79,139,.08); border: 1px solid rgba(255,79,139,.14);
  color: #d63d73; font-size: 12px; font-weight: 1000; flex-shrink: 0;
}
.agent-rank-catch { margin: 0 0 14px; color: #3a4050; font-size: 14px; line-height: 1.8; font-weight: 800; }
.agent-rank-meta { display: grid; gap: 8px; margin-bottom: 14px; }
.agent-rank-meta span {
  display: block; padding: 10px 12px; border-radius: 14px;
  background: var(--bg-soft); border: 1px solid var(--line);
  color: var(--muted); font-size: 13px; font-weight: 700;
}
.agent-rank-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.agent-rank-tags span {
  display: inline-flex; align-items: center;
  padding: 8px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(25,30,45,.05);
  color: #2a3140; font-size: 12px; font-weight: 900;
}
.agent-actions {
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: auto;
}

/* =============================================
   口コミ（Voice）セクション
   ============================================= */
.voice-section { margin-top: 56px; }
.voice-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 18px;
}
@media(max-width:900px) { .voice-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:640px) { .voice-grid { grid-template-columns: 1fr; } }

.voice-card {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(233,237,244,.95);
  border-radius: 24px; box-shadow: var(--shadow);
  overflow: hidden; height: 100%;
}
.voice-card-inner {
  display: flex; flex-direction: column;
  height: 100%; padding: 22px 20px;
}
.voice-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.voice-avatar {
  width: 48px; height: 48px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad); color: #fff;
  font-size: 18px; font-weight: 1000; flex-shrink: 0;
  box-shadow: 0 12px 24px rgba(255,79,139,.18);
}
.voice-profile { display: grid; gap: 4px; }
.voice-profile strong { font-size: 14px; line-height: 1.4; color: #2a3140; }
.voice-profile span { font-size: 12px; color: var(--muted); }
.voice-text { margin: 0; color: #3a4050; font-size: 14px; line-height: 1.9; flex-grow: 1; }
.voice-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.voice-tag {
  display: inline-flex; align-items: center;
  padding: 8px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(25,30,45,.05);
  color: #2a3140; font-size: 12px; font-weight: 900;
}

/* =============================================
   スマホ対応（追加レスポンシブ）
   ============================================= */

/* ---- ヘッダー：スマホ ---- */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: nowrap;
    padding: 10px 0;
    gap: 8px;
  }
  .brand {
    gap: 8px;
    flex-shrink: 0;
    max-width: 50%;
  }
  .brand-logo {
    height: 36px;
    padding: 4px 8px;
    flex-shrink: 0;
  }
  .logo-img { height: 28px; }
  .brand-text strong { font-size: 13px; }
  .brand-text small  { font-size: 10px; }

  /* スマホでは主要ナビだけ残す（CONTACTとENTRYだけ表示） */
  .nav {
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
  .nav a:not(.cta):not([href*="contact"]) {
    display: none;
  }
  .nav a[href*="contact"] {
    padding: 8px 10px;
    font-size: 11px;
    border-radius: 10px;
  }
  .nav .cta {
    padding: 8px 10px;
    font-size: 11px;
    border-radius: 10px;
    white-space: nowrap;
  }
  .nav a span { display: none; }
}

/* ---- エージェント1位ヒーローカード：スマホ ---- */
@media (max-width: 640px) {
  .ranking-hero {
    padding: 20px 16px 18px;
    border-radius: 20px;
  }
  .ranking-hero-head {
    flex-direction: column;
    gap: 10px;
    padding-right: 48px;
  }
  .ranking-hero-head h3 {
    font-size: 22px;
  }
  .ranking-hero-head p {
    font-size: 13px;
  }
  .ranking-score {
    align-self: flex-start;
    min-width: auto;
    font-size: 12px;
  }
  .ranking-crown {
    font-size: 28px;
    top: 12px;
    right: 14px;
  }
  .ranking-meta {
    flex-direction: column;
    gap: 8px;
  }
  .ranking-meta-item {
    font-size: 12px;
    padding: 8px 12px;
  }
  .ranking-bar-row {
    grid-template-columns: 72px 1fr;
    gap: 8px;
  }
  .ranking-bar-row span { font-size: 12px; }

  /* 2位以降カード */
  .agent-rank-card-inner { padding: 18px 16px 16px; }
  .agent-rank-top h3 { font-size: 18px; }
  .agent-rank-catch { font-size: 13px; }
  .agent-rank-meta span { font-size: 12px; }

  /* 求人カード */
  .job-title { font-size: 14px; }
  .meta-item { font-size: 12px; padding: 6px 8px; }

  /* FVボタン */
  .fv-btn { font-size: 11px; padding: 10px 18px; }
  .fv-cta { margin-bottom: 48px; }
}

/* ---- ブランドテキスト：スマホで折り返し防止 ---- */
@media (max-width: 480px) {
  .brand-text strong { font-size: 12px; letter-spacing: .04em; }
  .brand-text small  { display: none; }
  .nav .cta span { display: none; }
}

/* =============================================
   ハンバーガー & ドロワーメニュー
   ============================================= */

/* ハンバーガーボタン：スマホのみ表示 */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 4px 12px rgba(25,30,45,.08);
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: #2a3140;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
/* ✕ に変化 */
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* PC ではハンバーガーを隠す */
@media (min-width: 769px) {
  .hamburger { display: none !important; }
  .nav-pc    { display: flex !important; }
  .drawer, .drawer-overlay { display: none !important; }
}

/* スマホではPC ナビを隠してハンバーガーを出す */
@media (max-width: 768px) {
  .nav-pc    { display: none !important; }
  .hamburger { display: flex; }
}

/* ---- ドロワーオーバーレイ ---- */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(15,20,35,.5);
  z-index: 998;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }

/* ---- ドロワー本体 ---- */
.drawer {
  position: fixed; top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: #fff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,.12);
}
.drawer.open { transform: translateX(0); }

/* ドロワーヘッダー */
.drawer-header {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.drawer-logo {
  font-size: 16px; font-weight: 900;
  background: linear-gradient(90deg,#29ABE2,#F5A623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: .08em;
}
.drawer-close {
  background: none; border: none;
  font-size: 18px; cursor: pointer;
  color: var(--muted); padding: 4px 8px;
  border-radius: 8px; line-height: 1;
  transition: background .15s;
}
.drawer-close:hover { background: #f0f0f0; }

/* ドロワーナビリスト */
.drawer-nav {
  list-style: none; padding: 12px 0; margin: 0;
  flex: 1; overflow-y: auto;
}
.drawer-nav li { border-bottom: 1px solid var(--line); }
.drawer-link {
  display: flex; align-items: center;
  gap: 12px; padding: 16px 20px;
  text-decoration: none;
  transition: background .15s;
}
.drawer-link:hover { background: #f7f8fb; }
.drawer-en {
  font-size: 11px; font-weight: 900;
  color: var(--pink); letter-spacing: .1em;
  min-width: 52px;
}
.drawer-ja {
  font-size: 14px; font-weight: 700;
  color: #2a3140;
}

/* ドロワーCTAボタン */
.drawer-cta {
  padding: 20px;
  border-top: 1px solid var(--line);
}

/* サイドバー：スマホでstickyを解除 */
@media (max-width: 900px) {
  .jd-sidebar {
    position: static;
    top: auto;
  }
}

/* =============================================
   フローティングエントリーボタン（スマホ専用）
   ============================================= */
.float-entry {
  display: none; /* PCでは非表示 */
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 900;
  width: calc(100% - 32px);
  max-width: 400px;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s;
  opacity: 0;
  pointer-events: none;
}
.float-entry.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}
.float-entry-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  border-radius: 999px;
  border: none;
  background: var(--grad);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  font-family: inherit;
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(255,79,139,.35), 0 2px 8px rgba(0,0,0,.12);
  transition: transform .15s, box-shadow .15s;
}
.float-entry-btn:active {
  transform: scale(.97);
  box-shadow: 0 4px 16px rgba(255,79,139,.3);
}
.float-entry-icon { font-size: 16px; }
.float-entry-text { flex: 1; text-align: center; }
.float-entry-arrow { font-size: 18px; font-weight: 900; }

/* スマホのみ表示 */
@media (max-width: 768px) {
  .float-entry { display: block; }
}

/* TOPページではフローティングエントリーボタンを非表示 */
.home .float-entry { display: none !important; }

/* =============================================
   フッター
   ============================================= */
.site-footer {
  background: #111827;
  color: rgba(255,255,255,.75);
  margin-top: 80px;
  padding: 56px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
  font-size: 20px; font-weight: 900;
  background: linear-gradient(90deg,#29ABE2,#F5A623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: .1em;
  margin-bottom: 12px;
}
.footer-desc {
  font-size: 13px; line-height: 1.8;
  color: rgba(255,255,255,.55);
}
.footer-info-title {
  font-size: 11px; font-weight: 900;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin: 0 0 14px;
}
.footer-dl { display: flex; flex-direction: column; gap: 10px; }
.footer-dl-row { display: flex; gap: 12px; font-size: 13px; }
.footer-dl-row dt { color: rgba(255,255,255,.4); white-space: nowrap; min-width: 64px; }
.footer-dl-row dd { color: rgba(255,255,255,.75); line-height: 1.7; }
.footer-dl-row dd a { color: #4BBFED; text-decoration: none; }
.footer-dl-row dd a:hover { text-decoration: underline; }
.footer-links ul { list-style: none; padding: 0; margin: 0 0 0; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.65); text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 11px;
  color: rgba(255,255,255,.3);
  letter-spacing: .06em;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* 利用規約・プライバシーポリシー */
.legal-body h2 {
  font-size: 16px; font-weight: 900;
  margin: 36px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--pink);
  color: #1a1a1a;
}
.legal-body p { font-size: 14px; line-height: 1.9; color: #444; margin-bottom: 14px; }
.legal-body ul { padding-left: 20px; margin-bottom: 14px; }
.legal-body ul li { font-size: 14px; line-height: 1.9; color: #444; }

.footer-company-link {
  font-size: 14px; font-weight: 700;
  color: #4BBFED;
  text-decoration: none;
  transition: color .15s;
}
.footer-company-link:hover { color: #fff; }

/* フッター：シンプル版 */
.site-footer {
  background: #111827;
  padding: 32px 0;
  margin-top: 80px;
  text-align: center;
}
.footer-links-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.footer-links-row a {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .15s;
}
.footer-links-row a:hover { color: #fff; }
.footer-sep { color: rgba(255,255,255,.2); font-size: 12px; }
.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,.3);
  letter-spacing: .06em;
}

/* FV CTAボタン：サイズアップ＆スマホ縦並び */
.fv-cta {
  flex-direction: row;
  gap: 12px;
}
.fv-btn {
  font-size: 13px !important;
  padding: 14px 28px !important;
  min-width: 200px;
  justify-content: center;
}
@media (max-width: 640px) {
  .fv-cta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 0 24px;
  }
  .fv-btn {
    width: 100% !important;
    font-size: 14px !important;
    padding: 16px 24px !important;
    min-width: unset;
  }
}

/* スマホ：求人一覧ヘッダーとすべての求人リンクのマージン調整 */
@media (max-width: 768px) {
  .jobs-header { margin: 36px 0 16px; }
  .jobs-all-link { margin-top: 6px; }
}

/* FV：スマホでテキストと写真が重ならないよう高さを拡張 */
@media (max-width: 640px) {
  .hero { height: 580px; }
  .fv-center {
    padding: 0 20px;
    width: 100%;
  }
  .fv-catch-ja {
    font-size: 30px !important;
    text-shadow: 0 2px 20px rgba(0,0,0,.5);
  }
  .fv-catch-en {
    text-shadow: 0 1px 8px rgba(0,0,0,.4);
  }
  .fv-track-top    { top: 10px; }
  .fv-track-bottom { bottom: -10px; }
}

/* コンタクト〜フッター間の余白をなくす */
.site-footer { margin-top: 0 !important; }
#contact { padding-bottom: 0; }

/* スマホ：CTAボタンと下写真トラックの間隔を縮める */
@media (max-width: 640px) {
  .fv-cta { margin-bottom: 20px; }
  .fv-track-bottom { bottom: -20px; }
}

/* スマホ：CTAボタンと下写真トラックをぴったり近づける */
@media (max-width: 640px) {
  .fv-cta { margin-bottom: 0 !important; padding-bottom: 0; }
  .fv-track-bottom { bottom: -60px !important; }
  .hero { height: 520px !important; }
}

/* スマホ：FV背景のはみ出しをなくす */
@media (max-width: 640px) {
  .hero { overflow: hidden !important; }
  .fv-bg { height: 100%; }
  .fv-track-bottom { bottom: 0 !important; }
  .hero { height: 540px !important; }
}