﻿
@charset "UTF-8";

/* =====================================================
   原稿ページ 下部CSS（repost 用）
   site-colors.css の変数を参照
   Lightning G3 / 子テーマ前提
===================================================== */

/* =====================================================
   関連企業
===================================================== */
.related-company-jobs {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 20px;
  margin: 0 0 20px 0;
  border: 2px solid var(--site-primary, #37B1BE);
}

.related-company-jobs .wp-block-heading2 {
  font-size: 20px !important;
  color: #343434;
  margin: 0 0 10px 0;
  padding: 0;
}

.related-company-jobs .main-dtl-list {
  border-bottom: 1px solid #E9E9E9;
  border-radius: 8px 8px 0 0;
  border-left: none;
  border-right: none;
  border-top: none;
}

.related-company-jobs .main-dtl-list:hover {
  box-shadow: none;
}

.related-company-jobs .main-dtl-list:last-child {
  border-bottom: none;
}

.related-company-jobs .video-wrapper2 {
  position: relative;
  width: 96%;
  padding-top: 56.25%;
  overflow: hidden;
}

.video-wrapper2 video,
.video-wrapper2 iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

@media (max-width: 900px) {
  .related-company-jobs .video-wrapper2 {
    width: 100% !important;
  }
}

/* =====================================================
   こちらの求人も見られています
===================================================== */
.wp-block-heading3 {
  font-size: 20px !important;
  color: #343434;
  margin: 30px 0 10px 0;
  padding: 0;
}

/* グリッド */
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

/* カード全体 */
.job-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.job-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, .15);
}

/* 画像 */
.job-card-thumb {
  position: relative;
  aspect-ratio: 4 / 2.8;
  overflow: hidden;
}

.job-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* お祝い金バッジ */
.badge.oiwai {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff6b6b;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
}

/* 本文 */
.job-card-body {
  padding: 16px;
  flex-grow: 1;
}

.job-title {
  font-size: 16px;
  line-height: 1.2em;
  margin-bottom: 3px;
  color: #1E1E1E;
}

.job-title-sub {
  font-size: 14px;
  color: var(--site-primary, #37B1BE);
  display: block;
  line-height: 1.2em;
  margin-bottom: 3px;
}

/* 雇用形態 */
.job-koyo {
  background: var(--site-employment, #FDAD2F);
  color: #FFFFFF;
  padding: 3px;
  font-size: 10px;
  display: inline-block;
  border-radius: 3px;
}

/* 求人情報 */
.job-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
}

.job-meta li {
  display: grid;
  grid-template-columns: 30px 1fr;
  column-gap: 12px;
  margin-bottom: 10px;
  align-items: center;
}

.job-meta strong {
  color: #777;
  line-height: 1.2;
  white-space: pre-line;
}

/* フッター */
.job-card-footer {
  margin-top: auto;
  display: flex;
  gap: 8px;
  padding: 16px;
  border-top: 1px solid #eee;
}

/* 共通ボタン */
.job-card-footer a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .25s ease;
}

.job-card-footer a:hover {
  color: #FFFFFF;
}

/* 応募ボタン */
.job-card-footer .btn-entry {
  background: var(--site-cta, #FF5175);
  color: #fff;
}

.job-card-footer .btn-entry:hover {
  background: var(--site-cta-hover, #E83E65);
  color: #fff;
}

/* 詳細ボタン */
.job-card-footer .btn-detail {
  background: var(--site-primary, #37B1BE);
  color: #fff;
}

.job-card-footer .btn-detail:hover {
  background: var(--site-primary-hover, #278E98);
  color: #fff;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   同カテゴリのカテゴリ表示
===================================================== */
.taxonomy-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 20px;
  border: 1px solid color-mix(
    in srgb,
    var(--site-primary, #37B1BE) 14%,
    white
  );
  background: #FFFFFF;
  border-radius: 10px;
}

.taxonomy-title-wrapper h3 {
  font-size: 20px;
  color: #333;
  margin: 0 !important;
  padding: 0 !important;
}

/* カテゴリリスト */
.taxonomy-categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 30px;
  list-style-type: none;
}

.taxonomy-list-wrapper {
  padding-bottom: 0;
  margin-bottom: 0;
}

.taxonomy-categories-list li {
  padding: 5px 10px;
  text-align: center;
  margin-bottom: -15px !important;
}

.taxonomy-categories-list li a {
  color: var(--site-primary, #37B1BE);
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

.taxonomy-categories-list li a:hover {
  color: var(--site-primary-hover, #278E98);
}

/* 下部カテゴリリンク */
.archive-btm-cont-link {
  display: inline-block;
  border: 1px solid color-mix(
    in srgb,
    var(--site-primary, #37B1BE) 14%,
    white
  );
  border-radius: 5px;
  margin: 10px 0 !important;
  background: var(--site-primary-soft, #EAF7F8);
  padding: 10px 20px;
}

.archive-btm-cont-link a {
  color: var(--site-primary, #37B1BE);
  font-size: 14px;
  font-weight: bold;
  transition: color 0.3s ease;
  letter-spacing: 0.1em;
}

.archive-btm-cont-link a:hover {
  color: var(--site-primary-hover, #278E98);
}

.archive-btm-cont-link:hover {
  border-color: var(--site-primary, #37B1BE);
}
