/*!
Theme Name: Kadence
Theme URI: https://www.kadencewp.com/kadence-theme/
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: Kadence Theme is a lightweight yet full featured WordPress theme for creating beautiful fast loading and accessible websites, easier than ever. It features an easy to use drag and drop header and footer builder to build any type of header in minutes. It features a full library of gorgeous starter templates that are easy to modify with our intelligent global font and color controls. With extensive integration with the most popular 3rd party plugins, you can quickly build impressive ecommerce websites, course websites, business websites, and more.
Version: 1.3.1
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence
Requires at least: 6.3
Tested up to: 6.8.2
Tags: translation-ready, two-columns, right-sidebar, left-sidebar, footer-widgets, blog, custom-logo, custom-background, custom-menu, rtl-language-support, editor-style, threaded-comments, custom-colors, featured-images, wide-blocks, full-width-template, theme-options, e-commerce
Requires PHP: 7.4

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share
what you've learned with others.
*/
/*
 Theme Name:   My Kadence Child
 Template:     kadence
 Version:      1.0
*/

/* ここから自分のカスタマイズ */
.job-meta-extra { 
  margin: 1.5rem 0; padding: 1rem; 
  background:#f7f9fb; border:1px solid #e5edf5; border-radius:8px;
}
.job-meta-extra p { 
  display:flex; gap:.75rem; margin:.4rem 0; 
}
.job-meta-extra .label { 
  min-width:6em; color:#445; font-weight:600; 
}
.job-meta-extra .value { 
  color:#222; 
}

/* --- Reset: フィルターも結果も絶対に見える状態に戻す --- */
.fe-wrap,
.wpc-filters-main-wrap,
.wpc-filters-widget-content,
.wpc-filters-scroll-container,
.wpc-filters-widget-controls-container,
.wpc-filters-section,
.wpc-filters-section.wpc-filter-layout-submit-button {
  position: static !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  z-index: auto !important;
}

/* “Filters”開閉ボタンが残っていても邪魔しない（非表示にしない） */
.wpc-filters-open-button-container,
.wpc-filters-apply-button,
.wpc-filters-submit-button,
.wpc-filters-reset-button,
.wpc-filters-close-button {
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* 結果は常に通常フローで表示（グリッド指定をいったん外す） */
.job-archive {
  display: block !important;   /* まずは block に戻す */
  opacity: 1 !important;
  visibility: visible !important;
  position: static !important;
  z-index: auto !important;
}

/* 個々の求人カードも絶対に表示 */
.job-archive .job-card {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* コンテナ幅だけ広げる */
#inner-wrap.wrap { max-width: 1280px; margin: 0 auto; padding: 16px 20px; }

/* フィルター枠：普通のボックスとして表示（固定しない） */
.fe-wrap{
  background: #f8fafc; border:1px solid #e6edf5; border-radius: 10px;
  padding: 10px 12px; margin-bottom: 18px;
}

/* フィルターの各セクションを薄めに */
.wpc-filters-section{
  background:#fff; border:1px solid #e6edf5; border-radius:8px;
  padding:8px 10px; margin: 8px 0;
}
.wpc-filters-section .wpc-filter-title{ font-weight:700; font-size:.92rem; color:#0f172a; margin-bottom:4px; }

/* 長いチェックボックスは2列＆内側スクロールで縦長回避（でも隠さない） */
.wpc-filters-ul-list{
  list-style:none; margin:0; padding:0;
  display:grid; gap:6px 10px; grid-template-columns: 1fr;
  max-height: 180px; overflow: auto;
}
@media (min-width: 961px){ .wpc-filters-ul-list{ grid-template-columns: 1fr 1fr; } }

/* 結果はシンプルなカードグリッド（安全な指定のみ） */
.job-archive{
  display:grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.job-card{
  background:#fff; border:1px solid #e6edf5; border-radius:10px;
  padding:14px; box-shadow: 0 6px 18px rgba(16,24,40,.06);
}
.job-card h2{ font-size:1.06rem; margin:0 0 .4rem; }
.job-card .meta{ display:flex; flex-wrap:wrap; gap:6px 8px; font-size:.9rem; }
.job-card .meta span{ background:#eef2ff; color:#1e3a8a; border:1px solid #e0e7ff; padding:3px 8px; border-radius:999px; }
.job-card .btn{ display:inline-block; background:#2563eb; color:#fff; padding:8px 12px; border-radius:8px; text-decoration:none; }

.job-detail{ background:#fff; border:1px solid #e6edf5; border-radius:10px; padding:20px; box-shadow:0 6px 18px rgba(16,24,40,.06); }
.job-header{ border-bottom:1px solid #e6edf5; margin-bottom:16px; }
.job-title{ font-size:1.5rem; margin:0 0 4px; }
.job-date{ color:#64748b; font-size:.9rem; }
.job-meta ul{ list-style:none; margin:0 0 16px; padding:0; display:flex; flex-wrap:wrap; gap:12px 20px; }
.job-meta li{ font-size:.95rem; }
.job-content{ margin-bottom:24px; line-height:1.6; }
.btn-apply{ display:inline-block; background:#2563eb; color:#fff; padding:12px 20px; border-radius:8px; text-decoration:none; font-weight:600; }
.btn-apply:hover{ background:#1d4ed8; }