@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.1.0
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* ============================================================
   工場住み込みバイト 記事スタイル
   クラス名はすべて .kiyota-article 配下に限定し
   コクーン本体との衝突を防ぐ
   ============================================================ */

/* ----- ベース ----- */
.kiyota-article {
  font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: #222;
  line-height: 1.85;
}
.kiyota-article * { box-sizing: border-box; }

/* ----- HEROバナー ----- */
.kiyota-article .kiyota-hero {
  background: linear-gradient(135deg, #1a3a6b 0%, #0d7abc 60%, #1aabf5 100%);
  color: #fff;
  border-radius: 12px;
  padding: 36px 24px 28px;
  text-align: center;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.kiyota-article .kiyota-hero::before {
  content: "❄";
  position: absolute; top: -10px; left: 10px;
  font-size: 80px; opacity: 0.08; pointer-events: none;
}
.kiyota-article .kiyota-hero::after {
  content: "🏭";
  position: absolute; bottom: -5px; right: 15px;
  font-size: 70px; opacity: 0.10; pointer-events: none;
}
.kiyota-article .kiyota-hero .hero-badge {
  display: inline-block;
  background: #ff6b00;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
/* h1はコクーンが強く上書きするため詳細度を上げる */
body.cocoon-master .kiyota-article .kiyota-hero h1,
body .kiyota-article .kiyota-hero h1 {
  font-size: clamp(17px, 3vw, 24px) !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
  margin: 0 0 10px !important;
  color: #fff !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  border: none !important;
  background: none !important;
  padding: 0 !important;
}
.kiyota-article .kiyota-hero .hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 18px;
}

/* HEROボタン：コクーンの a 色上書き対策で -webkit-text-fill-color を使う */
body .kiyota-article .kiyota-hero .hero-cta-btn,
body .kiyota-article .kiyota-hero .hero-cta-btn:link,
body .kiyota-article .kiyota-hero .hero-cta-btn:visited {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b00, #ff9900);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-weight: bold;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(255,107,0,0.45);
  transition: transform 0.2s;
}
body .kiyota-article .kiyota-hero .hero-cta-btn:hover {
  transform: translateY(-2px);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* ----- 見出し（コクーン上書き対策） ----- */
body .kiyota-article h2 {
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #1a3a6b !important;
  border-left: 5px solid #0d7abc !important;
  border-bottom: none !important;
  padding: 8px 12px !important;
  background: #f0f8ff !important;
  border-radius: 0 8px 8px 0;
  margin: 36px 0 16px !important;
}
body .kiyota-article h2::after { display: none; } /* コクーン装飾を消す */
body .kiyota-article h3 {
  font-size: 17px !important;
  font-weight: bold !important;
  color: #0d4f8a !important;
  border-bottom: 2px solid #90c8f0 !important;
  padding-bottom: 5px !important;
  margin: 24px 0 12px !important;
  background: none !important;
}
body .kiyota-article h4 {
  font-size: 15px !important;
  font-weight: bold !important;
  color: #333 !important;
  margin: 18px 0 8px !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

/* ----- 冒頭CTAバナー ----- */
.kiyota-article .cta-banner-wrap {
  background: #fff8f0;
  border: 2px solid #ff8c00;
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
}
body .kiyota-article .cta-banner-wrap h3 {
  color: #c05000 !important;
  font-size: 15px !important;
  font-weight: bold !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
.kiyota-article .cta-btn-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* CTAボタン共通 上書き対策 */
body .kiyota-article a.cta-btn-main,
body .kiyota-article a.cta-btn-main:link,
body .kiyota-article a.cta-btn-main:visited {
  display: block;
  background: linear-gradient(135deg, #e63200, #ff6600);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(230,50,0,0.3);
}
body .kiyota-article a.cta-btn-sub,
body .kiyota-article a.cta-btn-sub:link,
body .kiyota-article a.cta-btn-sub:visited {
  display: block;
  background: linear-gradient(135deg, #1565c0, #2196f3);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  padding: 12px 20px;
  border-radius: 8px;
}
body .kiyota-article a.cta-btn-sub2,
body .kiyota-article a.cta-btn-sub2:link,
body .kiyota-article a.cta-btn-sub2:visited {
  display: block;
  background: linear-gradient(135deg, #2e7d32, #43a047);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  padding: 12px 20px;
  border-radius: 8px;
}

/* ----- 目次 ----- */
.kiyota-article .toc-box {
  background: #f0f7ff;
  border: 1px solid #b0d0f0;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0;
}
body .kiyota-article .toc-box h3 {
  font-size: 15px !important;
  font-weight: bold !important;
  color: #1a3a6b !important;
  margin: 0 0 12px !important;
  border: none !important;
  padding: 0 !important;
  background: none !important;
}
.kiyota-article .toc-box ol { margin: 0; padding-left: 20px; }
.kiyota-article .toc-box ol li { margin-bottom: 5px; font-size: 14px; }
.kiyota-article .toc-box ol li a { color: #1565c0; text-decoration: none; }
.kiyota-article .toc-box ol li a:hover { text-decoration: underline; }

/* ----- 産業特色ボックス ----- */
.kiyota-article .industry-box {
  background: linear-gradient(135deg, #1a3a6b 0%, #0d5a9e 100%);
  color: #fff;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}
body .kiyota-article .industry-box h3 {
  color: #ffe082 !important;
  border-bottom: 1px solid rgba(255,255,255,0.3) !important;
  font-size: 17px !important;
  margin-top: 0 !important;
  background: none !important;
  padding-bottom: 8px !important;
}
.kiyota-article .industry-box p,
.kiyota-article .industry-box li { color: #fff; }
.kiyota-article .industry-box ul { padding-left: 20px; }
.kiyota-article .industry-box ul li { margin-bottom: 6px; }
.kiyota-article .industry-box .ind-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #ffe082;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 20px;
  margin: 3px 3px 3px 0;
}

/* ----- 求人カード ----- */
.kiyota-article .job-card {
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  margin: 16px 0;
  background: #fafafa;
  position: relative;
}
.kiyota-article .job-card .job-badge {
  position: absolute; top: -12px; left: 16px;
  background: #e63200;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 12px;
  border-radius: 20px;
}
body .kiyota-article .job-card h4 {
  font-size: 16px !important;
  font-weight: bold !important;
  color: #1a3a6b !important;
  margin: 8px 0 10px !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
}
.kiyota-article .job-card table { width: 100%; border-collapse: collapse; font-size: 14px; }
.kiyota-article .job-card table td {
  padding: 6px 8px;
  border-bottom: 1px solid #e8e8e8;
  vertical-align: top;
}
.kiyota-article .job-card table td:first-child {
  color: #666;
  white-space: nowrap;
  font-weight: bold;
  width: 90px;
}
.kiyota-article .job-micro-copy {
  background: #fffde7;
  border: 1px solid #f9a825;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  color: #6d4c00;
  margin-top: 12px;
}

/* ----- テーブル共通 ----- */
.kiyota-article .ryo-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.kiyota-article .ryo-table th {
  background: #1a3a6b;
  color: #fff;
  padding: 8px 12px;
  text-align: left;
  font-weight: bold;
}
.kiyota-article .ryo-table td { padding: 8px 12px; border-bottom: 1px solid #e0e0e0; vertical-align: top; }
.kiyota-article .ryo-table tr:nth-child(even) td { background: #f5f9ff; }
.kiyota-article .ryo-table .check { color: #2e7d32; font-weight: bold; }
.kiyota-article .ryo-table .tri { color: #f57c00; }

.kiyota-article .life-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
.kiyota-article .life-table th {
  background: #37474f;
  color: #fff;
  padding: 8px 12px;
  text-align: left;
}
.kiyota-article .life-table td { padding: 8px 12px; border-bottom: 1px solid #e0e0e0; }
.kiyota-article .life-table tr:nth-child(even) td { background: #f5f5f5; }

/* ----- 職種グリッド ----- */
.kiyota-article .shokutype-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.kiyota-article .shokutype-card {
  flex: 1 1 calc(50% - 10px);
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  border-radius: 10px;
  padding: 14px;
  border-left: 4px solid #1565c0;
  min-width: 130px;
}
.kiyota-article .shokutype-card .st-icon { font-size: 24px; display: block; margin-bottom: 4px; }
.kiyota-article .shokutype-card .st-name { font-size: 14px; font-weight: bold; color: #1a3a6b; }
.kiyota-article .shokutype-card .st-desc { font-size: 12px; color: #444; margin-top: 4px; }

/* ----- Q&A ----- */
.kiyota-article .qa-item {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin: 10px 0;
  overflow: hidden;
}
.kiyota-article .qa-q {
  background: #1a3a6b;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  padding: 14px 16px;
}
.kiyota-article .qa-q::before { content: "Q. "; color: #ffe082; }
.kiyota-article .qa-a {
  background: #fff;
  padding: 14px 16px;
  font-size: 14px;
  color: #333;
}
.kiyota-article .qa-a::before { content: "A. "; color: #0d7abc; font-weight: bold; }

/* ----- 貯金シミュレーター ----- */
.kiyota-article .sim-box {
  background: linear-gradient(135deg, #1b5e20, #2e7d32);
  color: #fff;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}
body .kiyota-article .sim-box h3 {
  color: #a5d6a7 !important;
  border-bottom: 1px solid rgba(255,255,255,0.3) !important;
  margin-top: 0 !important;
  background: none !important;
  padding-bottom: 8px !important;
}
.kiyota-article .sim-box table { width: 100%; border-collapse: collapse; color: #fff; font-size: 14px; }
.kiyota-article .sim-box table th { background: rgba(0,0,0,0.3); padding: 8px 12px; text-align: center; }
.kiyota-article .sim-box table td { padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,0.15); text-align: center; }
.kiyota-article .sim-box table td:first-child { text-align: left; }
.kiyota-article .sim-box .sim-note { font-size: 12px; color: rgba(255,255,255,0.75); margin-top: 10px; }
.kiyota-article .sim-highlight { color: #ffee58; font-weight: bold; font-size: 17px; }

/* ----- 応募フロー ----- */
.kiyota-article .flow-list { list-style: none; padding: 0; margin: 16px 0; counter-reset: flow-counter; }
.kiyota-article .flow-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed #ddd;
  counter-increment: flow-counter;
}
.kiyota-article .flow-list li::before {
  content: counter(flow-counter);
  background: #1a3a6b;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kiyota-article .flow-list li .fl-title { font-weight: bold; font-size: 15px; color: #1a3a6b; }
.kiyota-article .flow-list li .fl-desc { font-size: 13px; color: #555; margin-top: 2px; }

/* ----- 未経験・多世代歓迎ボックス ----- */
.kiyota-article .welcome-box {
  border: 2px solid #f57c00;
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
  background: #fffde7;
}
body .kiyota-article .welcome-box h3 {
  color: #e65100 !important;
  border: none !important;
  margin-top: 0 !important;
  background: none !important;
  padding: 0 0 8px 0 !important;
}
.kiyota-article .welcome-tag {
  display: inline-block;
  background: #e65100;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 20px;
  margin: 3px;
}

/* ----- 注意・情報ボックス ----- */
.kiyota-article .note-box {
  background: #e3f2fd;
  border-left: 4px solid #1565c0;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  font-size: 13px;
  color: #0d47a1;
  margin: 12px 0;
}
.kiyota-article .warn-box {
  background: #fff8e1;
  border-left: 4px solid #f57c00;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  font-size: 13px;
  color: #7a4400;
  margin: 12px 0;
}

/* ----- 最終CTAバナー ----- */
.kiyota-article .final-cta {
  background: linear-gradient(135deg, #c62828, #e53935);
  color: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  margin: 36px 0 0;
}
/* final-cta 内の h2 をコクーンから守る */
body .kiyota-article .final-cta h2 {
  color: #fff !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
  font-size: 20px !important;
  margin: 0 0 8px !important;
}
body .kiyota-article .final-cta h2::after { display: none; }
.kiyota-article .final-cta > p { color: rgba(255,255,255,0.9); margin-bottom: 16px; font-size: 14px; }

/* 最終CTAボタン：黄色背景で文字色問題を根本解決 */
body .kiyota-article a.final-cta-btn,
body .kiyota-article a.final-cta-btn:link,
body .kiyota-article a.final-cta-btn:visited {
  display: inline-block;
  background: #fff200;
  color: #c62828 !important;
  -webkit-text-fill-color: #c62828 !important;
  font-weight: bold;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  margin: 6px;
  border: 2px solid rgba(0,0,0,0.06);
}
body .kiyota-article a.final-cta-btn:hover {
  opacity: 0.9;
  color: #c62828 !important;
  -webkit-text-fill-color: #c62828 !important;
}
body .kiyota-article a.final-cta-btn.btn-blue,
body .kiyota-article a.final-cta-btn.btn-blue:link,
body .kiyota-article a.final-cta-btn.btn-blue:visited {
  color: #1565c0 !important;
  -webkit-text-fill-color: #1565c0 !important;
}
body .kiyota-article a.final-cta-btn.btn-green,
body .kiyota-article a.final-cta-btn.btn-green:link,
body .kiyota-article a.final-cta-btn.btn-green:visited {
  color: #2e7d32 !important;
  -webkit-text-fill-color: #2e7d32 !important;
}

/* ----- 休日スポットカード ----- */
.kiyota-article .spot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}
.kiyota-article .spot-card {
  flex: 1 1 calc(50% - 12px);
  background: #f9fbe7;
  border: 1px solid #c5e1a5;
  border-radius: 10px;
  padding: 14px;
  min-width: 150px;
}
.kiyota-article .spot-card .spot-icon { font-size: 24px; display: block; margin-bottom: 6px; }
body .kiyota-article .spot-card h4 {
  font-size: 14px !important;
  font-weight: bold !important;
  color: #33691e !important;
  margin: 0 0 5px !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
}
.kiyota-article .spot-card p { font-size: 12px; color: #555; margin: 0; }

/* ----- 装飾ユーティリティ ----- */
.kiyota-article .marker-y {
  background: linear-gradient(transparent 60%, #fff176 60%);
}
.kiyota-article .text-bold-red { color: #c62828; font-weight: bold; }
.kiyota-article .text-bold-blue { color: #1565c0; font-weight: bold; }
.kiyota-article .small-note { font-size: 12px; color: #888; margin: 8px 0; }

/* ----- レスポンシブ ----- */
@media screen and (max-width: 600px) {
  .kiyota-article .shokutype-card { flex: 1 1 calc(50% - 10px); }
  .kiyota-article .spot-card { flex: 1 1 100%; }
  body .kiyota-article .kiyota-hero h1 { font-size: 17px !important; }
  .kiyota-article .cta-btn-list { gap: 8px; }
  .kiyota-article .job-detail-row { grid-template-columns: 1fr; }
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
@media screen and (max-width: 1240px) { }
@media screen and (max-width: 1023px) { }
@media screen and (max-width: 834px) { }
@media screen and (max-width: 480px) { }

/* ============================================================
   コクーン親テーマの a タグ color 強制上書きを完全打ち消し
   子テーマ style.css の末尾に追記してください
   ============================================================ */

/* 親テーマ: a { color: #1967d2 } を上書き */
/* :link :visited :hover :active の4擬似クラス全指定で完全制圧 */

body .kiyota-article a.hero-cta-btn,
body .kiyota-article a.hero-cta-btn:link,
body .kiyota-article a.hero-cta-btn:visited,
body .kiyota-article a.hero-cta-btn:hover,
body .kiyota-article a.hero-cta-btn:active {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

body .kiyota-article a.cta-btn-main,
body .kiyota-article a.cta-btn-main:link,
body .kiyota-article a.cta-btn-main:visited,
body .kiyota-article a.cta-btn-main:hover,
body .kiyota-article a.cta-btn-main:active {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

body .kiyota-article a.cta-btn-sub,
body .kiyota-article a.cta-btn-sub:link,
body .kiyota-article a.cta-btn-sub:visited,
body .kiyota-article a.cta-btn-sub:hover,
body .kiyota-article a.cta-btn-sub:active {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

body .kiyota-article a.cta-btn-sub2,
body .kiyota-article a.cta-btn-sub2:link,
body .kiyota-article a.cta-btn-sub2:visited,
body .kiyota-article a.cta-btn-sub2:hover,
body .kiyota-article a.cta-btn-sub2:active {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* 最終CTAボタン（黄色背景 → 文字は濃い色）*/
body .kiyota-article a.final-cta-btn,
body .kiyota-article a.final-cta-btn:link,
body .kiyota-article a.final-cta-btn:visited,
body .kiyota-article a.final-cta-btn:hover,
body .kiyota-article a.final-cta-btn:active {
  color: #c62828 !important;
  -webkit-text-fill-color: #c62828 !important;
}

body .kiyota-article a.final-cta-btn.btn-blue,
body .kiyota-article a.final-cta-btn.btn-blue:link,
body .kiyota-article a.final-cta-btn.btn-blue:visited,
body .kiyota-article a.final-cta-btn.btn-blue:hover,
body .kiyota-article a.final-cta-btn.btn-blue:active {
  color: #1565c0 !important;
  -webkit-text-fill-color: #1565c0 !important;
}

body .kiyota-article a.final-cta-btn.btn-green,
body .kiyota-article a.final-cta-btn.btn-green:link,
body .kiyota-article a.final-cta-btn.btn-green:visited,
body .kiyota-article a.final-cta-btn.btn-green:hover,
body .kiyota-article a.final-cta-btn.btn-green:active {
  color: #2e7d32 !important;
  -webkit-text-fill-color: #2e7d32 !important;
}


