@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon
Version:    1.1.4
*/

/************************************
** ヨクバル コラム（Tips）デザイン
** （依頼要綱「TOP、サイトバー、おすすめ3選」完成イメージ準拠）
************************************/

/* 基本 */
/* フォントの全体指定は無効化（フォントは別途読み込むため）2026-06-16
body,
button,
input,
select,
textarea {
  font-family: 'Zen Maru Gothic', "Helvetica Neue", Arial, sans-serif !important;
}
*/
body {
  background-color: #f9fafb !important;
  color: #333333;
  padding-bottom: 90px; /* 追従CTAと重ならないための余白 */
}

/* 2カラムレイアウト（Cocoonの#content-in/#main/#sidebarを完成イメージの構造に上書き） */
/* Cocoonの #container.container は max-width:1536px かつ左寄せのため、広い画面で全体が
   左にずれ右側に余白ができる。幅制限を解除して共有ヘッダー/フッターを全幅にし、
   本文(#content-in 1240px)を margin:auto でビューポート中央に揃える */
#container.container {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* サイト共通の横幅（本番 .lp-two-col__inner と一致: max1240px / 左右24px） */
#content-in {
  width: auto;
  max-width: 1240px;
  margin: 30px auto;
  padding: 0 24px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 35px;
}
#main {
  flex: 1;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}
#sidebar {
  width: 320px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}
.sidebar .widget {
  margin: 0 0 20px;
  padding: 0;
}

/* メインビジュアル（オレンジ柄背景 + ヨクバレッド + 白タイトル。Figmaデザイン準拠 2026-06-19） */
/* 背景は画面端まで全幅（フルブリード）、中身は中央のラッパー内に収める */
.tips-mv-outer {
  margin: 0 calc(50% - 50vw); /* 親の制約を抜けてビューポート端まで広げる */
  padding: 0;
}
.tips-mv {
  position: relative;
  border-radius: 0;
  padding: 0;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #ff8a00; /* 画像読み込み前のフォールバック */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* 中身ラッパー：幅は中央で制限し、タイトルの折り返しを維持する */
.tips-mv-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 30px;
}
.tips-mv-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-right: 60px;
}
/* コピー＋リードのまとまり（PCでは中央揃え、ヨクバレッドはこのブロックの横） */
.tips-mv-text {
  text-align: center;
}
/* ヨクバレッド：PCではコピー・リードのブロックのすぐ左（インフロー）に配置 */
.tips-mv-character {
  flex-shrink: 0;
  align-self: center;
  width: auto;
  height: auto;
  max-height: 210px;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(120, 50, 0, 0.25));
}
.tips-mv-title {
  font-size: clamp(24px, 3.4vw, 42px);
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 6px rgba(166, 75, 0, 0.45);
}
/* タイトルの中点／改行の出し分け：PCは「・」入り1行、SPは3行 */
.tips-mv-br { display: none; }       /* PCでは改行しない */
.tips-mv-dot { display: inline; }    /* PCでは中点を表示 */
.tips-mv-lead {
  font-size: clamp(13px, 1.3vw, 17px);
  color: #fff;
  max-width: 800px;
  margin: 12px auto 0;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
  text-shadow: 0 1px 3px rgba(166, 75, 0, 0.4);
}

/* 正円ビジュアル・カテゴリナビゲーション */
.tips-v-nav-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 35px 20px;
  margin-bottom: 35px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.01);
  text-align: center;
}
.tips-v-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.tips-v-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none !important;
}
.tips-v-nav-img-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border: 3px solid #ffffff;
  background-color: #fff4ec;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tips-v-nav-img-wrap::after {
  content: '🔍';
  font-size: 24px;
  opacity: 0.3;
}
.tips-v-nav-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.tips-v-nav-item:hover .tips-v-nav-img-wrap {
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(230, 126, 34, 0.15);
  border-color: #ffe0b2;
}
.tips-v-nav-text {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  transition: color 0.2s;
}
.tips-v-nav-text::before {
  content: '›';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: #e67e22;
  color: #ffffff;
  border-radius: 50%;
  margin-right: 6px;
  font-size: 12px;
  font-family: sans-serif;
  font-weight: 900;
  padding-bottom: 2px;
  transition: transform 0.2s ease;
}
.tips-v-nav-item:hover .tips-v-nav-text {
  color: #e67e22;
}
.tips-v-nav-item:hover .tips-v-nav-text::before {
  transform: scale(1.1);
}
.tips-v-nav-item.active .tips-v-nav-img-wrap {
  border-color: #e67e22;
  box-shadow: 0 0 0 2px #e67e22;
  background-color: #ffebd6;
}
.tips-v-nav-item.active .tips-v-nav-text {
  color: #e67e22;
}

/* 導入文・目次・各章を包む白背景の共通ボックス */
.tips-content-wrapper {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 40px 35px;
  margin-bottom: 40px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.01);
}

/* 導入文（リード文） */
.tips-lead-section {
  margin-bottom: 40px;
  padding-bottom: 35px;
  border-bottom: 2px solid #f3f4f6;
}
.tips-lead-text {
  font-size: 15px;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 25px;
}
.tips-lead-text p {
  margin-bottom: 12px;
}
.tips-lead-text p:last-child {
  margin-bottom: 0;
}
.tips-lead-highlight {
  color: #e67e22;
  font-weight: 700;
}

/* 目次リンク */
.tips-toc {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-top: 20px;
  box-shadow: none;
}
.tips-toc-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tips-toc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tips-toc-item a {
  display: block;
  padding: 12px;
  background-color: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  color: #4b5563;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.tips-toc-item a:hover {
  background-color: #fff6ee;
  color: #e67e22;
  border-color: #ffe0b2;
  transform: translateY(-1px);
}

/* おすすめ求人3選（横並びセクション） */
.tips-pickup-section {
  margin-bottom: 50px;
  padding-bottom: 35px;
  border-bottom: 2px solid #f3f4f6;
}
.tips-pickup-heading {
  font-size: 16px;
  font-weight: 900;
  color: #1f2937;
  margin-bottom: 22px;
  text-align: center;
  position: relative;
}
.tips-pickup-heading span {
  background: #ffffff;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}
.tips-pickup-heading::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; width: 100%; height: 1px;
  background: #e5e7eb;
  z-index: 1;
}
.tips-pickup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tips-pickup-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.tips-pickup-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(230, 126, 34, 0.12);
  border-color: #e67e22;
}
.tips-pickup-thumb {
  width: 100%;
  height: 135px;
  background: #fff4ec;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f3f4f6;
}
.tips-pickup-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.tips-pickup-card:hover .tips-pickup-thumb img {
  transform: scale(1.04);
}
.tips-pickup-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.tips-pickup-title {
  font-size: 13px;
  font-weight: 800;
  color: #1f2937;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 36px;
}
.tips-pickup-card:hover .tips-pickup-title {
  color: #e67e22;
}
.tips-pickup-company {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 8px;
}
.tips-pickup-salary {
  font-size: 13px;
  color: #d35400;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}
.tips-pickup-salary::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23d35400'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}
.tips-pickup-desc {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tips-pickup-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 16px;
  margin-top: auto;
}
.tips-pickup-tag {
  font-size: 9px;
  font-weight: 700;
  color: #e67e22;
  background-color: #fff0e6;
  padding: 2px 6px;
  border-radius: 4px;
}
.tips-pickup-btn {
  background-color: #f3f4f6;
  color: #4b5563;
  text-align: center;
  padding: 9px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
  border: 1px solid #e5e7eb;
}
.tips-pickup-card:hover .tips-pickup-btn {
  background-color: #e67e22;
  color: #ffffff;
  border-color: #e67e22;
}

/* 章ブロック */
.tips-chapter-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 50px;
  box-shadow: none;
}
.tips-chapter-card:last-child {
  margin-bottom: 0;
}
.tips-chapter-num {
  font-size: 12px;
  font-weight: 700;
  color: #e67e22;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}
.tips-chapter-title {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
  border-bottom: 2px solid #f3f4f6;
  padding-bottom: 12px;
  margin-bottom: 15px;
}
.tips-chapter-desc {
  font-size: 14px;
  color: #6b7280;
  background-color: #f9fafb;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  border-left: 4px solid #e5e7eb;
}

/* 「まず最初に読んでほしい」セクション */
.tips-career-core {
  padding: 20px 12px;
  background-color: #fffaf5;
  border: 1px solid #ffcc99;
  border-radius: 8px;
}
.tips-career-core-title {
  color: #d35400;
  font-size: 17px;
  margin-bottom: 15px;
  font-weight: 900;
}

/* 記事リスト */
.tips-article-list {
  display: flex;
  flex-direction: column;
}
.tips-article-item {
  padding: 16px 0;
  border-bottom: 1px dashed #f3f4f6;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}
.tips-article-item:last-child {
  border-bottom: none;
}
.tips-thumb-wrap {
  width: 110px;
  height: 68px;
  background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
  border-radius: 6px;
  margin-right: 20px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tips-thumb-wrap::before {
  content: 'Y';
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  opacity: 0.7;
}
.tips-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.3s ease;
}
.tips-article-item:hover .tips-thumb-wrap img {
  transform: scale(1.05);
}
.tips-article-body {
  flex-grow: 1;
}
.tips-article-title {
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.5;
  transition: color 0.2s ease;
  text-decoration: none;
}
.tips-article-item:hover .tips-article-title {
  color: #e67e22;
  text-decoration: underline;
}

/* 本サイト送客用リッチボタン */
.tips-send-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff9f43 0%, #e67e22 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 30px;
  margin-top: 25px;
  box-shadow: 0 4px 14px rgba(230, 126, 34, 0.25);
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none !important;
}
.tips-send-cta::after {
  content: '→';
  margin-left: 8px;
  font-weight: 900;
  transition: transform 0.3s;
}
.tips-send-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}
.tips-send-cta:hover::after {
  transform: translateX(4px);
}

/************************************
** サイドバーコンポーネント群
************************************/
.tips-sidebar-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.01);
}
.sidebar .widget .tips-sidebar-card {
  margin-bottom: 0; /* 余白は.widget側で管理 */
}
.tips-sidebar-heading {
  font-size: 14px;
  font-weight: 900;
  color: #1f2937;
  margin-bottom: 14px;
  border-left: 4px solid #e67e22;
  padding-left: 8px;
  line-height: 1.2;
}

/* 項目1：求人検索ボックス */
.tips-search-box-title {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.tips-search-fields {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e67e22;
  box-shadow: 0 2px 6px rgba(230, 126, 34, 0.05);
}
/* Cocoonの input[type=text] / input[type=submit] 既定（width:100%・枠線・グレー背景）を
   打ち消すため、セレクタの詳細度を上げてプロパティを明示的に指定する */
.tips-search-fields .tips-search-input {
  flex: 1;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 12px;
  border: none;
  border-radius: 0;
  font-size: 13px;
  outline: none;
  font-family: inherit;
  background: #ffffff;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
.tips-search-fields .tips-search-submit {
  flex-shrink: 0;
  width: auto;
  margin: 0;
  padding: 0 18px;
  border: none;
  border-radius: 0;
  background: #e67e22;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.tips-search-fields .tips-search-submit:hover { background: #d35400; }

/* 今月のおすすめ求人（サイドバーミニカード） */
.tips-side-job-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tips-side-job-card {
  display: block;
  border: 1px solid #eef0f2;
  background: #fafafa;
  border-radius: 10px;
  padding: 14px;
  transition: all 0.2s ease;
  text-decoration: none !important;
}
.tips-side-job-card:hover {
  border-color: #e67e22;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(230, 126, 34, 0.08);
  transform: translateY(-2px);
}
.tips-side-job-top {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}
.tips-side-job-thumb {
  width: 85px;
  height: 55px;
  background: #eaeaea;
  border-radius: 6px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #bbb;
  font-weight: bold;
}
.tips-side-job-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tips-side-job-title {
  font-size: 13px;
  font-weight: 800;
  color: #1f2937;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tips-side-job-card:hover .tips-side-job-title { color: #e67e22; }
.tips-side-job-company { font-size: 11px; color: #6b7280; margin-bottom: 6px; font-weight: 500; }

.tips-side-job-meta {
  font-size: 12px;
  color: #d35400;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}
.tips-side-job-meta::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23d35400'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.tips-side-job-desc {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tips-side-job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-top: 1px solid #f3f4f6;
  padding-top: 10px;
}
.tips-side-job-tag {
  font-size: 10px;
  font-weight: 700;
  color: #e67e22;
  background-color: #fff0e6;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* 特集用背景画像付きリッチバナーカード */
.tips-sidebar-feature-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 10px;
  height: 130px;
  padding: 15px;
  position: relative;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.tips-sidebar-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
  transition: opacity 0.3s;
}
.tips-sidebar-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(230, 126, 34, 0.15);
}
.tips-sidebar-feature-card:hover::before {
  background: linear-gradient(to top, rgba(230, 126, 34, 0.85) 0%, rgba(0,0,0,0.3) 100%);
}
.tips-feature-card-content { position: relative; z-index: 2; color: #ffffff; }
.tips-feature-card-tag { font-size: 9px; font-weight: 900; background: #e67e22; padding: 1px 6px; border-radius: 3px; display: inline-block; margin-bottom: 4px; letter-spacing: 0.5px; }
.tips-feature-card-title { font-size: 14px; font-weight: 900; line-height: 1.3; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.tips-feature-card-sub { font-size: 10px; color: #f3f4f6; margin-top: 2px; opacity: 0.9; }

/* 公式LINE（フラット単色） */
.tips-line-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #06c755;
  border-radius: 8px;
  padding: 24px 18px;
  text-align: center;
  transition: background 0.2s ease;
  text-decoration: none !important;
}
.tips-line-banner:hover {
  background: #05b34c;
}
.tips-line-banner strong { font-size: 15px; color: #ffffff; margin-bottom: 6px; font-weight: 900; }
.tips-line-banner span { font-size: 11px; color: rgba(255, 255, 255, 0.92); font-weight: 500; line-height: 1.5; }
.tips-line-banner .tips-line-banner-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 28px;
  border: 1.5px solid #ffffff;
  border-radius: 20px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}
.tips-line-banner:hover .tips-line-banner-btn {
  background: #ffffff;
  color: #06c755;
}

/* 追従型固定フッターCTA（全ページ表示） */
.tips-floating-bar {
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 440px;
  z-index: 99999;
}
.tips-floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff9f43 0%, #e67e22 100%);
  color: #ffffff !important;
  font-weight: 700;
  padding: 8px;
  border-radius: 30px;
  box-shadow: 0 8px 25px rgba(230, 126, 34, 0.35);
  font-size: 14px;
  text-align: center;
  text-decoration: none !important;
}
.tips-floating-btn:hover { box-shadow: 0 10px 28px rgba(230, 126, 34, 0.5); }
/* PC表示（768px以上）ではフローティングCTAを非表示。スマホのみ表示 */
@media screen and (min-width: 768px) {
  .tips-floating-bar { display: none !important; }
  body { padding-bottom: 0; } /* CTAが無いので回避余白も解除 */
}

/* Cocoonのモバイル固定フッターメニューは完成イメージに無く、追従CTAと重なる。
   サイドバーをインライン表示にしたため「サイドバー」ボタンも冗長 → 非表示 */
.mobile-footer-menu-buttons { display: none !important; }

/* フッター（Laravel共有フッターをそのまま見せるためCocoon側を無効化） */
#footer {
  padding: 0;
  margin: 0;
  background: transparent !important;
}
#footer-in {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}
/* 共有フッター本体は全幅、内側コンテンツ(max1748px)は中央寄せを保証 */
.yokubaru-shared-footer { width: 100%; }
.yokubaru-footer-inner {
  margin-left: auto !important;
  margin-right: auto !important;
}

/************************************
** レスポンシブ
************************************/
/* Cocoonのブレークポイント(1023px)に合わせてサイドバー落ち */
@media screen and (max-width: 1023px) {
  #content-in {
    flex-direction: column;
    gap: 20px;
    padding: 0 12px;
  }
  #main,
  #sidebar {
    width: 100%;
    margin: 0;
  }
  /* Cocoonはモバイルで #sidebar を隠しスライドインに送るが、
     完成イメージどおり本文の下にサイドバー（検索/おすすめ求人/特集/LINE）を積む */
  #sidebar {
    display: block !important;
    margin-top: 20px;
  }
  .tips-toc-grid { grid-template-columns: repeat(2, 1fr); }
  .tips-v-nav-grid { grid-template-columns: repeat(2, 120px); justify-content: center; gap: 15px; }
  .tips-content-wrapper { padding: 30px 12px; }
  .tips-pickup-grid { grid-template-columns: repeat(2, 1fr); }
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
}

/*768px以下*/
@media screen and (max-width: 768px) {
  .tips-pickup-grid { grid-template-columns: 1fr; }

  /* モバイルは「キャラ左＋タイトル右」、サブコピーは下に全幅 */
  .tips-mv {
    display: block;
    padding: 0;
    min-height: 0;
  }
  .tips-mv-inner {
    padding: 22px 18px;
  }
  /* SPはタイトルを3行で大きく、メインコピー左にヨクバレッドを配置 */
  .tips-mv-br { display: inline; } /* 「ヨクバル就職／転職完全／マニュアル」で改行 */
  .tips-mv-dot { display: none; }  /* 中点は非表示（改行に置き換え） */
  /* テキストの囲みを解除し、タイトル＝キャラ横／リード＝下の全幅 に分ける */
  .tips-mv-text { display: contents; }
  .tips-mv-row {
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding-right: 0; /* PC用の右パディングはSPでは解除（タイトル幅を確保） */
  }
  .tips-mv-character {
    height: auto;
    max-height: none;
    width: 33%;
    max-width: 160px;
    margin-left: -6px; /* 少し左へずらす */
    flex-shrink: 0;
  }
  /* タイトルは可変(vw)で常に大きく、各行は折り返さない */
  .tips-mv-title {
    flex: 0 1 auto;
    min-width: 0;
    text-align: left;
    white-space: nowrap;
    font-size: clamp(26px, 9vw, 44px);
    line-height: 1.18;
  }
  .tips-mv-lead {
    width: 100%;        /* 下段に回り込み、全幅 */
    margin: 10px 0 0;
    text-align: left;
    font-size: 13px;
  }

  /* 記事一覧・トピックス記事もモバイルでは上下ブロック（サムネイル上・タイトル下） */
  .tips-article-item {
    flex-direction: column;
    align-items: stretch;
  }
  .tips-thumb-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;  /* サムネイルは16:9 */
    height: auto;
    margin-right: 0;
    margin-bottom: 12px;
  }
  .tips-article-title {
    font-size: 16px;
    line-height: 1.6;
  }
}

/*480px以下*/
@media screen and (max-width: 480px) {
  .tips-mv-inner { padding: 18px 14px; }
  /* タイトルは大きいまま維持（vw可変） */
  .tips-mv-title { 
    font-size: clamp(26px, 8.7vw, 44px);
    margin-top: 24px; 
  }
  .tips-mv-character { width: 33%; max-width: 150px; }
  .tips-lead-section { margin-bottom: 35px; padding-bottom: 25px; }
  .tips-lead-text { font-size: 14px; }
  .tips-toc-grid { grid-template-columns: 1fr; }
  .tips-chapter-card { margin-bottom: 40px; }
  .tips-chapter-title { font-size: 18px; }
  .tips-v-nav-grid { grid-template-columns: repeat(2, 1fr); }
  .tips-v-nav-img-wrap { width: 100px; height: 100px; }
  .tips-v-nav-text { font-size: 12px; }
}

/* headerメニュー非表示 */
header .md\:hidden{
  display:none;
}