@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ==========================================================================
   JOBPICK 企業LP (single-company.php) 確定仕様CSS
   ========================================================================== */

/* 2. ベース全体設計 */
.jp-back-to-list {
  margin-top: 32px;
  text-align: center;
}

.jp-back-to-list a {
  display: inline-block;
  padding: 12px 32px;
  background-color: #475569;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: background-color 0.2s ease;
}

.jp-company-lp {
  --jp-bg-main: #f4f7fb;
  --jp-card-bg: #ffffff;
  --jp-text-dark: #1e293b;
  --jp-text-muted: #64748b;
  --jp-primary-blue: #1d4ed8;
  --jp-sky-bg: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #f0f9ff 100%);
  --jp-radius-lg: 16px;
  --jp-radius-md: 12px;
  --jp-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --jp-shadow-md: 0 10px 20px -5px rgba(0, 0, 0, 0.08);

  background-color: var(--jp-bg-main);
  padding-top: 1rem;
  padding-bottom: 4rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.jp-company-lp .jp-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* 3. 架空デモ企業注意バナー */
.jp-demo-banner {
  background-color: #fffbe3;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.jp-demo-banner p {
  margin: 0;
  color: #b45309;
  font-size: 0.875rem;
  font-weight: 600;
}

/* 4. ① ヒーローファーストビュー (FV) */
.jp-hero {
  background: var(--jp-sky-bg);
  border-radius: var(--jp-radius-lg);
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--jp-shadow-md);
  position: relative;
  overflow: hidden;
}

.jp-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.jp-hero__badge-top span {
  display: inline-block;
  background-color: #2563eb;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.3em 0.9em;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.jp-hero__title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--jp-text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.jp-hero__catch {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0284c7;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.jp-hero__meta-info {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9375rem;
  color: var(--jp-text-dark);
}
.jp-meta-item strong {
  font-weight: 700;
}

.jp-hero__visual {
  display: flex;
  justify-content: center;
}

.jp-hero__img-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--jp-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border: 4px solid #ffffff;
  background-color: #e2e8f0;
}

.jp-hero__img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* No Image 表示用スタイル */
.jp-no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  color: #64748b;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* 5. カードセクション共通 */
.jp-card-section {
  background: var(--jp-card-bg);
  border-radius: var(--jp-radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--jp-shadow-sm);
  border: 1px solid #e2e8f0;
}

.jp-sec-heading {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--jp-text-dark);
  margin-bottom: 0.5rem;
  padding-left: 0.875rem;
  border-left: 4px solid #0284c7;
  line-height: 1.2;
}

.jp-sec-sub {
  font-size: 0.875rem;
  color: var(--jp-text-muted);
  margin-bottom: 1.5rem;
}

.jp-sec-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
  margin: 0;
}

/* 6. ③ 公式リンク（カラフルなグラデーションカード） */
.jp-link-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.jp-link-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--jp-radius-md);
  padding: 1.25rem 1rem;
  text-decoration: none !important;
  color: #ffffff !important;
  box-shadow: var(--jp-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  position: relative;
  overflow: hidden;
}

.jp-link-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--jp-shadow-md);
  opacity: 0.95;
}

/* ブランドカラーグラデーション */
.jp-link-card--web {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
}
.jp-link-card--insta {
  background: linear-gradient(135deg, #c13584 0%, #e1306c 50%, #f56040 100%);
}
.jp-link-card--map {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}
.jp-link-card--recruit {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
}

.jp-link-card__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
}

.jp-link-card__icon {
  font-size: 1.25rem;
  line-height: 1;
}

.jp-link-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
}

.jp-link-card__arrow {
  margin-left: auto;
  font-style: normal;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.jp-link-card:hover .jp-link-card__arrow {
  transform: translateX(4px);
  color: #ffffff;
}

.jp-link-card__desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
  margin: 0;
}

/* 7. ④ 職種ごとに求める人材（青枠ヘッダーにタイトル収容） */
.jp-role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.jp-role-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--jp-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.jp-role-card__header {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.jp-role-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1e3a8a;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.2em 0.5em;
  border-radius: 4px;
  flex-shrink: 0;
}

.jp-role-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.jp-role-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.jp-role-card__sub {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--jp-text-muted);
  margin-bottom: 0.5rem;
}

.jp-role-card__persons ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 1rem 0 !important;
}

.jp-role-card__persons li {
  font-size: 0.875rem;
  color: var(--jp-text-dark);
  line-height: 1.5;
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.375rem;
}

.jp-role-card__persons li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #0284c7;
  font-size: 0.75rem;
}

.jp-role-card__note {
  margin-top: auto;
  font-size: 0.8125rem;
  color: var(--jp-text-muted);
  background: #f8fafc;
  padding: 0.75rem;
  border-radius: 6px;
  line-height: 1.5;
  margin-bottom: 0;
}

/* 8. ⑤ YouTubeエリア */
.jp-youtube-sub {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.jp-youtube-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.jp-youtube-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.jp-youtube-desc {
  font-size: 0.875rem;
  color: var(--jp-text-muted);
  line-height: 1.6;
  margin: 0 0 0.5rem 0;
}
.jp-youtube-date {
  font-size: 0.8125rem;
  color: var(--jp-text-muted);
  margin: 0;
}

/* 9. ⑥ 特徴（省スペース・コンパクトタグ一覧） */
.jp-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.jp-feature-compact-tag {
  display: inline-flex;
  align-items: center;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.4rem 0.875rem;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.jp-feature-compact-tag:hover {
  background-color: #e2e8f0;
}

.jp-tag-icon {
  font-style: normal;
  color: #0284c7;
  font-weight: 800;
  margin-right: 0.375rem;
}

/* 10. ⑦ 掲載情報について（横長一列構造） */
.jp-info-section {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
}

.jp-info-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.jp-info-date {
  font-size: 0.9375rem;
  color: var(--jp-text-dark);
  margin: 0;
}

.jp-info-text p {
  font-size: 0.8125rem;
  color: var(--jp-text-muted);
  line-height: 1.6;
  margin-bottom: 0.375rem;
}
.jp-info-text p:last-child {
  margin-bottom: 0;
}

/* 11. スマホ表示（レスポンシブ最適化） */
@media (max-width: 900px) {
  .jp-link-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .jp-hero__inner {
    grid-template-columns: 1fr;
  }
  .jp-role-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .jp-link-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   JOBPICK 企業一覧・カード表示スタイル (JP-T061)
   ========================================================================== */

.jp-company-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .jp-company-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .jp-company-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.jp-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.jp-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #f8fafc;
  overflow: hidden;
}

.jp-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jp-card__noimage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #94a3b8;
  font-size: 0.875rem;
}

.jp-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.jp-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.jp-tag {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.jp-tag--area {
  background-color: #e0f2fe;
  color: #0369a1;
}

.jp-tag--industry {
  background-color: #f3e8ff;
  color: #6b21a8;
}

.jp-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.jp-card__title a {
  color: #1e293b;
  text-decoration: none;
}

.jp-card__title a:hover {
  color: #0284c7;
}

.jp-card__catchphrase {
  font-size: 0.875rem;
  color: #475569;
  margin: 0 0 12px 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jp-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}

.jp-icon-link {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  text-decoration: none;
  background-color: #f1f5f9;
  color: #334155;
  font-weight: 500;
}

.jp-icon-link:hover {
  background-color: #e2e8f0;
}

.jp-card__btn-wrap {
  margin-top: 12px;
}

.jp-card__btn {
  display: block;
  text-align: center;
  background-color: #0284c7;
  color: #ffffff;
  padding: 8px 0;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
}

.jp-card__btn:hover {
  background-color: #0369a1;
}

.jp-pagination {
  margin-top: 32px;
  text-align: center;
}

/* ==========================================================================
   JOBPICK 検索エリアスタイル (JP-T062)
   ========================================================================== */

.jp-search-wrapper {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 32px;
}

.jp-search-form__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .jp-search-form__inner {
    flex-direction: row;
    align-items: flex-end;
    flex-wrap: wrap;
  }
}

.jp-search-form__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 160px;
}

.jp-search-form__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
}

.jp-search-form__select {
  width: 100%;
  padding: 8px 12px;
  font-size: 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background-color: #ffffff;
  color: #1e293b;
}

.jp-search-form__buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

@media (min-width: 768px) {
  .jp-search-form__buttons {
    margin-top: 0;
  }
}

.jp-search-form__btn-submit {
  background-color: #0284c7;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 9px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.jp-search-form__btn-submit:hover {
  background-color: #0369a1;
}

.jp-search-form__btn-reset {
  display: inline-block;
  font-size: 0.85rem;
  color: #64748b;
  text-decoration: underline;
  white-space: nowrap;
}

.jp-search-form__btn-reset:hover {
  color: #0f172a;
}

/* 0件メッセージ案内 */
.jp-no-posts-wrapper {
  padding: 40px 16px;
  text-align: center;
  background-color: #f8fafc;
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
}

.jp-no-posts {
  font-size: 1rem;
  font-weight: 700;
  color: #334155;
  margin: 0 0 8px 0;
}

.jp-no-posts-sub {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}