/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --red: #e63329; --red-dark: #c0271e; --navy: #0f1c2e; --navy2: #1a2d47;
  --blue: #1e5fa8; --white: #ffffff; --gray-50: #f8f9fa; --gray-100: #f1f3f5;
  --gray-200: #e9ecef; --gray-400: #adb5bd; --gray-500: #6c757d; --gray-700: #343a40;
  --green: #2d9f5c; --green-light: #e6f7ed; --wa-green: #25D366; --ig-pink: #e1306c;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08); --shadow-md: 0 4px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.16); --radius: 12px; --radius-sm: 8px; --transition: .2s ease;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter','Noto Sans JP',sans-serif; background: var(--gray-50); color: var(--gray-700); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }
.header { background: var(--navy); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 2px; font-size: 1.4rem; font-weight: 700; }
.logo-ndc { color: var(--white); }
.logo-jobs { color: var(--red); }
.header-nav { display: flex; align-items: center; gap: 16px; }
.nav-link { color: var(--gray-400); font-size: .9rem; transition: color var(--transition); }
.nav-link:hover { color: var(--white); }
.btn-cv { background: var(--red); color: var(--white); padding: 8px 18px; border-radius: 20px; font-size: .875rem; font-weight: 600; transition: background var(--transition); }
.btn-cv:hover { background: var(--red-dark); }
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 60%, #1a3a6e 100%); padding: 64px 0 80px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: '日本'; position: absolute; right: -20px; top: 50%; transform: translateY(-50%); font-size: 200px; font-family: 'Noto Sans JP'; color: rgba(255,255,255,.03); pointer-events: none; }
.hero-badge { display: inline-block; background: rgba(230,51,41,.15); border: 1px solid rgba(230,51,41,.4); color: #ff8a85; padding: 6px 16px; border-radius: 20px; font-size: .8rem; font-weight: 600; letter-spacing: .5px; margin-bottom: 20px; }
.hero-title { font-size: clamp(2rem,5vw,3.2rem); font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 16px; }
.hero-sub { color: rgba(255,255,255,.65); font-size: 1.05rem; max-width: 520px; margin: 0 auto 36px; }
.search-wrap { display: flex; gap: 10px; max-width: 680px; margin: 0 auto; }
.search-box { flex: 1; background: var(--white); border-radius: var(--radius); display: flex; align-items: center; padding: 0 16px; box-shadow: var(--shadow-lg); }
.search-icon { color: var(--gray-400); flex-shrink: 0; }
.search-input { flex: 1; border: none; outline: none; padding: 14px 12px; font-size: 1rem; font-family: inherit; background: transparent; }
.search-btn { background: var(--red); color: var(--white); border: none; cursor: pointer; padding: 14px 28px; border-radius: var(--radius); font-size: 1rem; font-weight: 600; font-family: inherit; transition: background var(--transition); white-space: nowrap; box-shadow: var(--shadow-lg); }
.search-btn:hover { background: var(--red-dark); }
.filters-section { background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 20px 0; position: sticky; top: 64px; z-index: 90; box-shadow: var(--shadow-sm); }
.filters-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.filter-group { display: flex; flex-direction: column; gap: 4px; }
.filter-label { font-size: .75rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: .4px; }
.filter-select { border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); padding: 8px 12px; font-size: .9rem; font-family: inherit; background: var(--gray-50); cursor: pointer; outline: none; transition: border-color var(--transition); min-width: 150px; }
.filter-select:focus { border-color: var(--blue); }
.btn-reset { padding: 8px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); background: var(--white); font-size: .875rem; cursor: pointer; color: var(--gray-500); font-family: inherit; transition: all var(--transition); margin-top: 18px; }
.btn-reset:hover { border-color: var(--red); color: var(--red); }
.job-count-row { display: flex; justify-content: space-between; align-items: center; padding: 20px 0 8px; }
.job-count { font-size: .95rem; color: var(--gray-500); }
.job-count b { color: var(--gray-700); }
.job-count-sub { font-size: .8rem; color: var(--gray-400); }
.job-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(340px,1fr)); gap: 20px; padding-bottom: 60px; }
.job-card { background: var(--white); border-radius: var(--radius); border: 1.5px solid var(--gray-200); padding: 24px; transition: all var(--transition); cursor: pointer; display: flex; flex-direction: column; gap: 14px; }
.job-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-header { display: flex; align-items: flex-start; gap: 14px; }
.card-logo { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--gray-100); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; border: 1px solid var(--gray-200); }
.card-title-wrap { flex: 1; }
.card-title { font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.card-company { font-size: .875rem; color: var(--gray-500); margin-top: 2px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 20px; font-size: .75rem; font-weight: 600; }
.tag-bidang { background: #e8f0fe; color: #1a56db; }
.tag-visa { background: #fef3c7; color: #92400e; }
.tag-level { background: var(--green-light); color: #166534; }
.tag-domisili-jp { background: #fee2e2; color: #991b1b; }
.tag-domisili-id { background: #ede9fe; color: #5b21b6; }
.card-desc { font-size: .875rem; color: var(--gray-500); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.card-fee { font-size: .8rem; font-weight: 600; color: var(--gray-500); }
.card-fee span { color: var(--red); }
.card-cta { background: var(--navy); color: var(--white); border: none; padding: 10px 20px; border-radius: 8px; font-size: .875rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: background var(--transition); }
.card-cta:hover { background: var(--blue); }
.no-results { text-align: center; padding: 80px 20px; color: var(--gray-500); font-size: 1rem; }
.no-results-icon { font-size: 3rem; margin-bottom: 12px; }
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: var(--white); border-radius: 16px; width: 100%; max-width: 520px; padding: 36px; position: relative; box-shadow: var(--shadow-lg); max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: 16px; right: 16px; background: var(--gray-100); border: none; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; font-size: 1rem; display: flex; align-items: center; justify-content: center; color: var(--gray-500); transition: background var(--transition); }
.modal-close:hover { background: var(--gray-200); }
.modal-title { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.modal-job-name { font-size: .9rem; color: var(--blue); font-weight: 600; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-200); }
.modal-step { display: flex; flex-direction: column; gap: 16px; }
.cv-info-box { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: 16px; display: flex; gap: 12px; align-items: flex-start; }
.cv-info-icon { font-size: 1.5rem; flex-shrink: 0; }
.cv-info-title { font-weight: 700; font-size: .9rem; color: var(--navy); margin-bottom: 4px; }
.cv-info-desc { font-size: .85rem; color: var(--gray-500); }
.modal-btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-make-cv { flex: 1; background: var(--red); color: var(--white); padding: 12px; border-radius: var(--radius-sm); font-weight: 600; text-align: center; font-size: .9rem; transition: background var(--transition); }
.btn-make-cv:hover { background: var(--red-dark); }
.btn-have-cv { flex: 1; background: var(--navy); color: var(--white); border: none; padding: 12px; border-radius: var(--radius-sm); font-weight: 600; cursor: pointer; font-size: .9rem; font-family: inherit; transition: background var(--transition); }
.btn-have-cv:hover { background: var(--navy2); }
.fee-box { background: #fff8f8; border: 1.5px solid #fecaca; border-radius: var(--radius-sm); padding: 18px; font-size: .9rem; }
.fee-box h3 { font-size: 1rem; color: var(--navy); margin-bottom: 10px; }
.fee-item { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed #fee2e2; }
.fee-item:last-child { border: none; }
.fee-item .fee-label { color: var(--gray-500); }
.fee-item .fee-val { font-weight: 700; color: var(--red); }
.fee-note { font-size: .8rem; color: var(--gray-500); margin-top: 10px; }
.fee-agree { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; cursor: pointer; }
.fee-agree input { margin-top: 3px; cursor: pointer; accent-color: var(--blue); }
.btn-agree { background: var(--gray-200); color: var(--gray-500); border: none; padding: 12px; border-radius: var(--radius-sm); font-weight: 600; cursor: not-allowed; font-size: .9rem; font-family: inherit; transition: all var(--transition); }
.btn-agree.active { background: var(--green); color: var(--white); cursor: pointer; }
.btn-agree.active:hover { background: #227a47; }
.contact-intro { font-size: .9rem; color: var(--gray-500); }
.contact-options { display: flex; gap: 12px; }
.contact-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; border-radius: var(--radius-sm); font-weight: 700; font-size: 1rem; transition: opacity var(--transition); }
.contact-btn:hover { opacity: .85; }
.contact-wa { background: var(--wa-green); color: var(--white); }
.contact-ig { background: linear-gradient(45deg,#f09433 0%,#e6683c 25%,var(--ig-pink) 50%,#833ab4 75%,#5851db 100%); color: var(--white); }
.contact-note { font-size: .8rem; color: var(--gray-400); text-align: center; }
.footer { background: var(--navy); padding: 32px 0; }
.footer-inner { text-align: center; }
.footer a { color: var(--red); }
.footer p { color: rgba(255,255,255,.6); font-size: .875rem; }
.footer-sub { font-size: .8rem; margin-top: 6px; color: rgba(255,255,255,.35) !important; }
@media (max-width:768px) {
  .hero { padding: 48px 0 64px; } .search-wrap { flex-direction: column; } .search-btn { border-radius: var(--radius); }
  .filters-section { position: static; } .filters-row { flex-direction: column; } .filter-select { width: 100%; }
  .job-grid { grid-template-columns: 1fr; } .modal { padding: 24px; } .contact-options { flex-direction: column; }
}