/* ================================================================
   ページ固有スタイル（各ページの <style> ブロックから統合）
   ================================================================ */

/* ── abroad / 来日STEP ──────────────────────────── */
.step-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.step-card-last { grid-column: 1 / -1; max-width: 340px; width: 100%; margin: 0 auto; }
.step-card {
  background: #fff;
  border: 2.5px solid var(--sumi);
  border-radius: 20px;
  padding: 0; /* 画像がカード端まで広がるため padding は text に移動 */
  overflow: hidden;
  display: flex; flex-direction: column; gap: 0;
}
.step-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-bottom: 2.5px solid var(--sumi);
  background: var(--asagi-2);
  flex-shrink: 0;
}
.step-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* step-card テキストエリア（padding をここで付ける） */
.step-card-text { padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.step-card-num { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 12px; color: var(--shu); letter-spacing: .06em; }
.step-card h4 { font-family: 'Zen Maru Gothic', sans-serif; font-weight: 900; font-size: 17px; margin: 0 0 2px; }
.step-card p { margin: 0; font-size: 14px; color: var(--sumi-2); line-height: 1.7; }

/* ── シンプル枠線フレーム（背景なし・枠線のみ） ─── */
.split-img-frame {
  position: relative;
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: transparent;
}
.split-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* キャラクターイラスト用：正方形・隙間なし */
.split-img-frame.is-char {
  aspect-ratio: 1/1;
}
.split-img-frame.is-char img {
  object-fit: cover;
  padding: 0;
}

/* ── 職種ページ「どんな仕事をするの？」テキスト中央 ── */
.job-what-wrap {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.job-what-wrap h3 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 16px;
  line-height: 1.25;
}
.job-what-wrap p {
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.85;
  margin: 0 0 18px;
}
/* .high ハイライト（h3内） */
.job-what-wrap h3 .high {
  display: inline;
  background: linear-gradient(transparent 52%, var(--yamabuki) 52%);
  padding: 0 2px;
  border: none;
  border-radius: 0;
  color: inherit;
  box-shadow: none;
}

/* key-list：.split-copy外でも動くよう独立定義 */
.job-what-wrap .key-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 560px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.job-what-wrap .key-list li {
  background: white;
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 3px 3px 0 var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
}
.job-what-wrap .key-list li::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--shu);
  border: 2px solid var(--ink);
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .step-cards { grid-template-columns: 1fr; }
  .step-card-last { max-width: 100%; }
}

/* ── abroad / 日本語レベル表 ────────────────────── */
.jlpt-table { width: 100%; border-collapse: collapse; font-family: 'Zen Maru Gothic', sans-serif; font-size: 14px; margin-top: 28px; }
.jlpt-table th, .jlpt-table td { border: 2px solid var(--sumi); padding: 12px 5px; vertical-align: top; }
.jlpt-table thead th { font-weight: 900; font-size: 15px; text-align: center; background: var(--paper); }
.jlpt-table tbody td { font-weight: 600; line-height: 1.7; text-align: center; }
.jlpt-n4 th { background: #e8f5e9; color: #2e7d32; }
.jlpt-n3 th { background: #fff9c4; color: #f57f17; }
.jlpt-n2 th { background: #ffebee; color: #c62828; }
.level-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.dot-n4 { background: #4caf50; }
.dot-n3 { background: #ffc107; }
.dot-n2 { background: #f44336; }

/* ── support / チェックリスト ──────────────────── */
.support-checklist { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.support-checklist li { display: flex; align-items: center; gap: 7px; font-family: 'Zen Maru Gothic', sans-serif; font-weight: 800; font-size: 14px; background: white; border: 2px solid var(--sumi); border-radius: 999px; padding: 6px 16px; }
.support-checklist li::before { content: "✅"; font-size: 15px; }

/* ── hire / カテゴリー選択 ──────────────────────── */
.cat-grid-simple {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.cat-simple-card {
  background: white;
  border: 2px solid rgba(44,44,60,0.15);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 3px 3px 0 rgba(44,44,60,0.08);
}
.cat-simple-card h4 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900; font-size: 17px;
  margin: 0 0 8px; color: var(--ink);
}
.cat-simple-card p { font-size: 13.5px; color: var(--sumi-2); line-height: 1.7; margin: 0; }
@media (max-width: 600px) {
  .cat-grid-simple { grid-template-columns: 1fr; }
}

.cat-selector { display: flex; flex-direction: column; gap: 20px; max-width: 860px; margin: 0 auto; }
.cat-row {
  display: grid;
  grid-template-columns: 1fr auto 180px;
  align-items: center;
  gap: 20px;
  background: white;
  border: 1.5px solid rgba(61,48,96,0.12) !important;
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 4px 14px rgba(61,48,96,0.07) !important;
}
.cat-row .cat-body-text h4 { font-family: 'Zen Maru Gothic', sans-serif; font-weight: 900; font-size: 18px; margin: 0 0 8px; color: var(--ink); }
.cat-row .cat-body-text p { font-size: 13.5px; color: var(--sumi-2); line-height: 1.75; margin: 0; }
.cat-row .cat-arrow { font-size: 28px; color: var(--asagi); flex-shrink: 0; }
.cat-btn-col { display: flex; flex-direction: column; gap: 10px; }
.cat-anchor-btn {
  display: block; background: var(--asagi); color: white;
  border: 2.5px solid var(--sumi); border-radius: 12px;
  padding: 12px 16px;
  font-family: 'Zen Maru Gothic', sans-serif; font-weight: 900; font-size: 13px;
  text-align: center; text-decoration: none;
  box-shadow: 3px 3px 0 var(--sumi); transition: transform .1s, box-shadow .1s; line-height: 1.4;
}
.cat-anchor-btn:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--sumi); }
.cat-anchor-btn.btn-contact { background: var(--shu); }

/* ── hire / セクション番号・タイトル ──────────── */
.section-with-cta { position: relative; }
.sticky-cta-bar { position: sticky; bottom: 24px; z-index: 50; display: flex; justify-content: center; margin-top: 36px; pointer-events: none; }
.sticky-cta-bar a {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--shu); color: white;
  font-family: 'Zen Maru Gothic', sans-serif; font-weight: 900; font-size: 16px;
  padding: 14px 36px; border: 2.5px solid var(--sumi); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--sumi); text-decoration: none; transition: transform .1s, box-shadow .1s;
}
.sticky-cta-bar a:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--sumi); }
.section-num-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--asagi); color: white;
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 22px;
  border: 2.5px solid var(--sumi); box-shadow: 3px 3px 0 var(--sumi);
  margin-right: 14px; flex-shrink: 0;
}
.section-title-row { display: flex; align-items: center; margin-bottom: 28px; }
.section-title-row h2 { font-family: 'Zen Maru Gothic', sans-serif; font-weight: 900; font-size: 28px; margin: 0; }
.dummy-content {
  background: white; border: 2.5px solid var(--sumi); border-radius: 20px;
  padding: 36px 40px; box-shadow: 5px 5px 0 var(--sumi); line-height: 1.9; font-size: 15px; color: var(--ink-2);
}
.dummy-content h3 { font-family: 'Zen Maru Gothic', sans-serif; font-weight: 900; font-size: 20px; color: var(--ink); margin: 28px 0 12px; border-left: 4px solid var(--asagi); padding-left: 12px; }
.dummy-content h3:first-child { margin-top: 0; }
.dummy-content ul { padding-left: 20px; margin: 8px 0; }
.dummy-content ul li { margin-bottom: 6px; }

/* ── hire / お問い合わせフォーム ──────────────── */
.contact-form { max-width: 760px; margin: 0 auto; background: white; border: 2.5px solid rgba(61,48,96,0.2); border-radius: 24px; padding: 48px; box-shadow: 0 4px 20px rgba(61,48,96,0.06) !important; }
.form-note { font-size: 13px; color: var(--sumi-2); margin-bottom: 32px; line-height: 1.8; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-family: 'Zen Maru Gothic', sans-serif; font-weight: 900; font-size: 14px; margin-bottom: 8px; }
.form-group label .req { display: inline-block; background: var(--shu); color: white; font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.form-group label .opt { display: inline-block; background: var(--sumi-2); color: white; font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 2px solid var(--sumi); border-radius: 10px;
  font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 15px; background: var(--paper);
  box-sizing: border-box; transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--asagi); box-shadow: 0 0 0 3px rgba(74,144,164,.2);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.privacy-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--paper); border: 2px solid var(--sumi); border-radius: 10px; padding: 14px 18px;
  font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700; font-size: 14px;
}
.privacy-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--asagi); }
.privacy-row a { color: var(--asagi); }
.submit-btn {
  width: 100%; padding: 18px; background: var(--shu); color: white;
  border: 2.5px solid var(--sumi); border-radius: 14px;
  font-family: 'Zen Maru Gothic', sans-serif; font-weight: 900; font-size: 18px;
  cursor: pointer; box-shadow: 4px 4px 0 var(--sumi); transition: transform .1s, box-shadow .1s; margin-top: 12px;
}
.submit-btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--sumi); }

@media (max-width: 680px) {
  .cat-row { grid-template-columns: 1fr; }
  .cat-row .cat-arrow { display: none; }
  .contact-form { padding: 28px 20px; }
  .form-row-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .gbn-scroll-hint { display: block !important; }
}

/* ================================================================
   FV：縦型3スロットカルーセル（中央拡大・常に正位置）
   ================================================================ */
.gbn-car {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.car-slot {
  position: absolute;
  left: 50%; top: 50%;
  width: 64%;
  aspect-ratio: 1;
  border-radius: 32%;
  overflow: hidden;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 5px 5px 0 rgba(0,0,0,0.2);
  transition: transform 0.75s cubic-bezier(0.33, 1, 0.68, 1),
              opacity   0.75s ease;
}

.car-slot img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}


/* ================================================================
   FV：mini-char（ガンバくん・ルンバくん）絶対配置
   ================================================================ */
.hero-art .mini-char {
  position: absolute;
  z-index: 4;
  width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hero-art .mini-char img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(31,29,46,0.18));
}
.hero-art .mini-char .mc-tag {
  background: white;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 2px 10px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 800; font-size: 11px;
  box-shadow: 2px 2px 0 var(--ink);
  white-space: nowrap;
  margin-top: -6px;
}
.hero-art .mini-char.mc1 { bottom: 2%; left: -6%; }
.hero-art .mini-char.mc2 { bottom: 2%; right: -6%; }


/* ================================================================
   FV：言語対応バッジ行
   ================================================================ */
.hero-lang-row {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; flex-wrap: wrap;
}
.hero-lang-row .lang-label {
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em;
  color: var(--ink-2); text-transform: uppercase;
  margin-right: 4px;
}
.hero-lang-row .lang-flag { font-size: 22px; line-height: 1; }
.hero-lang-row .lang-more {
  background: var(--ink); color: var(--paper);
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800;
  font-family: 'Bricolage Grotesque', sans-serif;
  letter-spacing: 0.06em;
}

/* ================================================================
   TOPページ：海外から来たい方へセクション
   ================================================================ */

/* メインバナー（キャラ＋コピー横並び） */
.abroad-banner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 48px;
  align-items: center;
  background: white;
  border: 1.5px solid rgba(61,48,96,0.12) !important;
  border-radius: 30px;
  box-shadow: 0 6px 20px rgba(61,48,96,0.08) !important;
  padding: 0;
  margin-bottom: 28px;
  overflow: hidden;
}
.abroad-banner-img {
  aspect-ratio: 1/1;
  background: var(--asagi-2);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px;
  overflow: hidden;
}
.abroad-banner-img img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}
.abroad-banner-copy {
  padding: 40px 48px 40px 0;
}
.abroad-banner-copy h3 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.25; margin: 0 0 16px;
}
.abroad-banner-copy h3 .high {
  background: var(--shu) !important; color: var(--paper) !important;
  padding: 0 12px; border-radius: 10px;
  border: 2.5px solid var(--sumi);
  display: inline-block;
  box-shadow: 3px 3px 0 var(--sumi);
}
.abroad-banner-copy p {
  font-size: 15.5px; color: var(--ink-2); line-height: 1.85; margin: 0;
}
.abroad-flags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px;
}
.abroad-flags span {
  background: var(--paper); border: 2px solid var(--ink); border-radius: 999px;
  padding: 5px 14px; font-size: 13px; font-weight: 800;
  font-family: 'Zen Maru Gothic', sans-serif;
  box-shadow: 2px 2px 0 var(--ink);
}

/* 3ステップカード */
.abroad-step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.abroad-step-card {
  border: 1.5px solid rgba(61,48,96,0.12) !important; border-radius: 22px;
  padding: 28px 24px; box-shadow: 0 4px 14px rgba(61,48,96,0.07) !important;
  display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(to bottom, var(--shu) 6px, white 6px);
}
.abroad-step-card:nth-child(2) {
  background: linear-gradient(to bottom, var(--asagi) 6px, white 6px);
}
.abroad-step-card:nth-child(3) {
  background: linear-gradient(to bottom, var(--sumi) 6px, white 6px);
}
.abroad-step-num {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-size: 12px; letter-spacing: 0.12em; color: var(--shu); margin-top: 6px;
}
.abroad-step-card:nth-child(2) .abroad-step-num { color: var(--asagi); }
.abroad-step-card:nth-child(3) .abroad-step-num { color: var(--sumi); }
.abroad-step-card h4 {
  font-family: 'Zen Maru Gothic', sans-serif; font-weight: 900;
  font-size: 18px; margin: 0; line-height: 1.3;
}
.abroad-step-card p {
  font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.75;
}

/* レスポンシブ */
@media (max-width: 980px) {
  .abroad-banner { grid-template-columns: 1fr; gap: 0; }
  .abroad-banner-img { aspect-ratio: 4/3; }
  .abroad-banner-copy { padding: 28px; }
  .abroad-step-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 640px) {
  .abroad-banner { border-radius: 20px; box-shadow: 4px 4px 0 var(--ink); }
  .abroad-banner-img { aspect-ratio: 1/1; }
  .abroad-banner-copy { padding: 20px 20px 24px; }
  .abroad-banner-copy h3 { font-size: clamp(18px, 5.5vw, 24px); margin-bottom: 12px; }
  .abroad-banner-copy p { font-size: 14px; line-height: 1.75; }
  .abroad-flags { gap: 6px; margin-top: 12px; }
  .abroad-flags span { font-size: 12px; padding: 4px 10px; }
  .abroad-banner-copy .btn { width: 100%; justify-content: center; }
  .abroad-step-grid { grid-template-columns: 1fr; gap: 12px; }
  .abroad-step-card { padding: 18px 16px; border-radius: 16px; }
  .abroad-step-card h4 { font-size: 16px; }
  .abroad-step-card p { font-size: 13px; line-height: 1.65; }
  .abroad-step-num { font-size: 11px; }
}

/* ================================================================
   非リンク要素のhoverアニメーション無効化
   <a>タグ以外のカード・セクションは transform しない
   ================================================================ */
.char-card:hover,
.feature-card:hover,
.scene:hover,
.system:hover,
.entry:hover,
.entry-big:hover,
.stat-big:hover {
  transform: none !important;
  box-shadow: 0 6px 20px rgba(61,48,96,0.12) !important;
}
.scene:hover          { box-shadow: 0 4px 14px rgba(61,48,96,0.1) !important; }
.stat-big:hover       { box-shadow: 0 6px 20px rgba(61,48,96,0.12) !important; }

/* ================================================================
   パステルカラー全体変換 — ボーダー・シャドウ柔らかく
   ================================================================ */

/* bigcta 内のボタンだけ、他ページの.btnより少し柔らかい配色にする */
.bigcta .btn { background: white !important; color: var(--sumi) !important; border-color: rgba(61,48,96,0.25) !important; box-shadow: 0 3px 10px rgba(61,48,96,0.1) !important; }
.bigcta .btn-fb { background: #1877F2 !important; color: white !important; border-color: #1877F2 !important; box-shadow: 0 3px 10px rgba(24,119,242,0.25) !important; }
.bigcta .btn-yamabuki { background: var(--yamabuki) !important; color: var(--sumi) !important; border-color: var(--yamabuki) !important; }

/* クラウドタイトルのピル */
.ct-pill {
  border: 2px solid rgba(61,48,96,0.15) !important;
  box-shadow: 0 3px 10px rgba(61,48,96,0.07) !important;
}

/* abroad-banner：スマホでは影を少し軽く */
@media (max-width: 640px) {
  .abroad-banner { box-shadow: 0 4px 14px rgba(61,48,96,0.08) !important; }
}

/* お問い合わせフォーム：入力欄のボーダーも合わせて柔らかく */
.contact-form, .contact-form input, .contact-form textarea, .contact-form select {
  border-color: rgba(61,48,96,0.2) !important;
}

/* ================================================================
   フローティング CTA ボタン (C-7)
   ================================================================ */
.float-cta-wrap {
  position: fixed;
  bottom: 24px;
  right: 16px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.float-cta {
  pointer-events: all;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 80px;
  background: white;
  border-radius: 20px;
  padding: 10px 6px 8px;
  border: 2px solid rgba(61,48,96,0.18);
  box-shadow: 0 6px 20px rgba(61,48,96,0.14);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.float-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(61,48,96,0.2);
}
.float-cta-char {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
}
.float-cta-char--consult {
  width: 62px;
  height: 62px;
  border-radius: 0;
  object-fit: contain;
  margin-bottom: -4px;
}
.float-cta-label {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
  color: var(--sumi);
}
.float-cta-hire {
  background: linear-gradient(160deg, #FFF0F5 0%, #F5EFFE 100%);
  border-color: rgba(200,180,240,0.5);
}
.float-cta-person {
  background: linear-gradient(160deg, #EAF6FB 0%, #FFF0F5 100%);
  border-color: rgba(126,200,227,0.45);
}
@media (max-width: 640px) {
  .float-cta-wrap { bottom: 16px; right: 10px; gap: 8px; }
  .float-cta { width: 68px; padding: 8px 4px 6px; border-radius: 16px; }
  .float-cta-char { width: 44px; height: 44px; }
  .float-cta-char--consult { width: 52px; height: 52px; }
  .float-cta-label { font-size: 9px; }
}

/* ================================================================
   業種カード — ビザ別色分け & グレーアウト (J-4, J-5)
   ================================================================ */

/* cat-body を3行に拡張（h4-en / h4 / ビザバッジ + 矢印） */
.cat .cat-body {
  grid-template-rows: auto auto auto;
}
.cat .arrow-mini {
  grid-row: 1 / span 3;
}

/* ビザバッジ */
.cat-visa-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  font-family: 'Zen Maru Gothic', sans-serif;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 999px;
  grid-column: 1;
  grid-row: 3;
  margin-top: 4px;
  width: fit-content;
}
.cat-visa--tok { background: #FFE0EB; color: #C0305A; }
.cat-visa--gij { background: #EDE0FF; color: #6030A0; }
.cat-visa--alb { background: #FFF5D0; color: #8B6800; }

/* 特定技能カード — ソフトピンク強調 */
.cat--tok .cat-photo { background: var(--sakura-2) !important; }
.cat--tok { border-color: rgba(255,183,206,0.5) !important; }

/* 技人国カード — ラベンダー強調 */
.cat--gij .cat-photo { background: var(--fuji-2) !important; }
.cat--gij { border-color: rgba(200,180,240,0.5) !important; }
.cat--gij .arrow-mini { background: var(--fuji) !important; border-color: var(--fuji) !important; }

/* アルバイトカード — 黄色強調 */
.cat--alb .cat-photo { background: var(--yamabuki-2) !important; }
.cat--alb { border-color: rgba(255,224,128,0.5) !important; }
.cat--alb .arrow-mini { background: var(--yamabuki) !important; border-color: var(--yamabuki) !important; color: var(--sumi) !important; }

/* ================================================================
   お仕事相談ポップアップパネル
   ================================================================ */
.float-person-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: 280px;
  background: white;
  border-radius: 22px;
  padding: 18px 16px 20px;
  box-shadow: 0 8px 32px rgba(61,48,96,0.18);
  border: 1.5px solid rgba(61,48,96,0.12);
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  z-index: 9100;
  pointer-events: auto;
}
.float-person-panel.open {
  display: flex;
}
.float-person-close {
  position: absolute;
  top: 10px; right: 12px;
  background: none; border: none;
  font-size: 16px; color: #999;
  cursor: pointer; line-height: 1;
  padding: 2px 4px;
}
.float-person-close:hover { color: var(--sumi); }
.float-person-ninja {
  width: 80px; height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(61,48,96,0.15);
  background: var(--sakura-2);
}
.float-person-ninja img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.float-person-heading {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 15px;
  line-height: 1.5;
  color: var(--sumi);
  margin: 0;
}
.float-person-stamp {
  display: inline-block;
  background: var(--shu);
  color: white;
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 14px;
}
.float-person-body {
  font-size: 12px;
  line-height: 1.7;
  color: var(--sumi-2);
  margin: 0;
}
.float-person-fb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1877F2;
  color: white;
  border-radius: 999px;
  padding: 9px 16px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  transition: opacity 0.15s;
  width: 100%;
  justify-content: center;
  margin-top: 2px;
}
.float-person-fb:hover { opacity: 0.88; }

/* float-cta-person をボタン要素にしたときのリセット */
button.float-cta {
  appearance: none;
  cursor: pointer;
  font-family: inherit;
}

/* ================================================================
   業種カード — シンプルフラット版 (スクリーンショット準拠)
   ================================================================ */
.cat-simple-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.cat-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px 14px 18px;
  border-radius: 18px;
  border: 1.5px solid;
  text-decoration: none;
  color: inherit;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 120px;
}
.cat-simple:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* 特定技能 — 青系 */
.cat-simple--tok {
  background: #EEF4FF;
  border-color: #C3D6F5;
}
.cat-simple--tok .cat-visa-badge { background: #D8E8FF; color: #2B5FA0; }

/* 技人国 — 緑系 */
.cat-simple--gij {
  background: #EDFAF3;
  border-color: #B0DFC2;
}
.cat-simple--gij .cat-visa-badge { background: #C8F0D8; color: #1A6B40; }

/* アルバイト — 黄系 */
.cat-simple--alb {
  background: #FFFBE8;
  border-color: #F0DC90;
}
.cat-simple--alb .cat-visa-badge { background: #FFE880; color: #7A5A00; }

/* グレーアウト */
.cat-simple--empty {
  opacity: 0.42;
  filter: grayscale(0.5);
  pointer-events: none;
  cursor: default;
}

.cat-simple-icon {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 16px;
  margin: 0 auto 4px;
}
.cat-simple-name {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 17px;
  margin: 0;
  color: var(--sumi);
  line-height: 1.25;
}

/* cat-simple 内のビザバッジはシンプルに */
.cat-simple .cat-visa-badge {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-block;
  margin-top: 2px;
  /* ↑ grid位置指定は不要（flex内なので） */
  grid-column: unset;
  grid-row: unset;
}

@media (max-width: 768px) {
  .cat-simple-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-simple { padding: 18px 10px 14px; min-height: 100px; }
  .cat-simple-icon { width: 140px; height: 140px; }
  .cat-simple-name { font-size: 15px; }
}
@media (max-width: 400px) {
  .cat-simple-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* その他サブページの業種リスト */
.sonota-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.sonota-cat-item {
  background: white;
  border: 1.5px solid rgba(61,48,96,0.12);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 4px 14px rgba(61,48,96,0.07);
  text-align: center;
}
.sonota-icon { font-size: 36px; display: block; margin-bottom: 10px; }
.sonota-cat-item h4 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900; font-size: 18px; margin: 0 0 8px;
  color: var(--sumi);
}
.sonota-cat-item p { font-size: 13.5px; color: var(--sumi-2); line-height: 1.7; margin: 0; }
@media (max-width: 640px) {
  .sonota-cats { grid-template-columns: 1fr; }
}

/* グレーアウト（求人なし） */
.cat--empty {
  opacity: 0.45;
  filter: grayscale(0.6);
  cursor: default !important;
  pointer-events: none;
}
.cat-empty-note {
  display: inline-block;
  font-size: 10px;
  color: #999;
  font-weight: 600;
  grid-column: 1;
  grid-row: 3;
  margin-top: 4px;
}

