@charset "utf-8";

/* ==================================================
   1. 共通見出し & 基本パーツ
================================================== */

/* 本文見出しキャッチコピー枠 */
.job-catch-box {
  background-color: #fff0f5;
  border-left: 5px solid #ff0066;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 15px 0;
}

.job-catch-box p {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ff0066;
  line-height: 1.6;
  margin: 0;
}

.job-intro-text,
.career-lead-text {
  font-size: 0.88rem;
  line-height: 1.85;
  color: #333333;
  margin-bottom: 25px;
}

.career-lead-text {
  line-height: 1.8;
  margin-bottom: 20px;
}

.job-note-text {
  font-size: 0.8rem;
  color: #666666;
  display: block;
  margin-top: 4px;
}

/* サブ見出し（左縦線付き） */
.sub-sec-header {
  padding: 0;
  margin-top: 25px;
  margin-bottom: 15px;
  box-sizing: border-box;
  text-align: left;
}

.sub-sec-header.align-left {
  padding-left: 0;
  padding-right: 0;
}

.sub-sec-header.mt-spacious {
  margin-top: 40px;
}

.sub-sec-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ff0066;
  position: relative;
  padding-left: 12px; /* 縦線の幅(5px) + 余白分 */
  margin-left: 0;
}

.sub-sec-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 1.1em;
  background-color: #ff0066;
  border-radius: 2px;
}

/* 共通セクションタイトル（ひし形＋ピンクテキスト） */
.sec-title-wrap,
.section-title-block {
  width: 100%;
  max-width: 580px;
  margin: 40px auto 25px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
}

.sec-title-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.sec-title-icon,
.yellow-diamond {
  width: 24px;
  height: 24px;
  background-color: #e6e600; /* 明るいイエロー */
  transform: rotate(45deg);
  border-radius: 4px;
  flex-shrink: 0;
  font-size: 0;
}

.yellow-diamond {
  width: 18px;
  height: 18px;
}

.sec-title-text,
.title-text-group {
  display: flex;
  flex-direction: column;
}

.sec-title-main,
.section-pink-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ff0066;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.sec-title-sub,
.section-sub-en {
  font-size: 0.85rem;
  color: #666666;
  font-family: Arial, sans-serif;
  letter-spacing: 0.15em;
  margin-top: 2px;
}

.sec-title-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
  font-weight: 500;
}

.schedule-note {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: #ff0066;
}

/* ダイヤ型区切り線 */
.diamond-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  margin: 0;
  background-color: #ffffff;
  width: 100%;
  box-sizing: border-box;
}

.diamond {
  width: 40px;
  height: 40px;
  background-color: #b3e685;
  border-radius: 8px;
  transform: rotate(45deg);
}

/* ジョブ詳細ブロックのカラーコントロール */
.job-detail-block .sec-title-wrap {
  background-color: #ffffff;
  width: 100%;
  box-sizing: border-box;
}

.job-detail-block .sec-title-main {
  color: #ff007f;
}

.job-detail-block .sec-title-icon {
  background-color: #e6e600;
}

.job-detail-block .sub-sec-header {
  padding-left: 0;
  margin-left: 0;
  text-align: left;
}

.job-detail-block .sub-sec-title {
  margin-left: 0;
  padding-left: 12px;
}


/* ==================================================
   2. 縦ツリー型キャリアプラン（総合職・事務職）
================================================== */

.career-tree-wrap {
  width: 100%;
  margin-top: 15px;
  box-sizing: border-box;
}

/* STARTカード */
.tree-start-card {
  background: #e0f7fa;
  border: 2px solid #00bcd4;
  border-radius: 12px;
  padding: 12px 14px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 188, 212, 0.15);
  position: relative;
  z-index: 2;
}

.tree-start-card .start-badge {
  display: inline-block;
  background-color: #00bcd4;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 2px 10px;
  border-radius: 10px;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.tree-start-card .start-main-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #006064;
  line-height: 1.4;
  flex-grow: 1;
  text-align: center;
}

.tree-start-card .or-text {
  font-size: 0.75rem;
  color: #00838f;
  margin: 0 2px;
}

.start-content-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.start-chara-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 縦の幹線と枝分かれカードグループ */
.tree-branch-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 15px;
  padding-left: 50px;
}

/* 1. 縦線の基本スタイル */
.tree-branch-list::before {
  content: "";
  position: absolute;
  left: 20px;
  top: -15px;
  width: 2px;
  background-color: #b0bec5;
  z-index: 1;
}

/* 2. 【総合職専用】 bottom指定を解除して高さ(px)を強制適用 */
.tree-branch-list:not(.jimu-branch-list)::before {
  bottom: auto !important;   /* ← 親要素の高さ・bottom指定を強制リセット */
  height: 330px !important;  /* ★ 総合職の縦線の長さ（px） */
}

/* 3. 【事務職専用】 bottom指定を解除して高さ(px)を強制適用 */
.tree-branch-list.jimu-branch-list::before {
  bottom: auto !important;   /* ← 親要素の高さ・bottom指定を強制リセット */
  height: 415px !important;  /* ★ 事務職の縦線の長さ（先ほど70px調整でバッチリだった長さ） */
}
/* コースカード */
.tree-course-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 2;
}

.tree-course-card::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 22px;
  width: 50px;
  height: 2px;
  background-color: #b0bec5;
}

.tree-course-card::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 18px;
  border-left: 6px solid #b0bec5;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.tree-course-card.border-cyan {
  border: 1.5px solid #80deea;
  border-left: 5px solid #00bcd4;
}

.tree-course-card.border-pink {
  border: 1.5px solid #ff80ab;
  border-left: 5px solid #ff0066;
}

.course-title-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.course-title-badge.bg-cyan {
  background-color: #e0f7fa;
  color: #00838f;
}

.course-title-badge.bg-pink {
  background-color: #ffe6ee;
  color: #d81b60;
}

/* 箇条書きリスト */
.course-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.course-item-list li {
  font-size: 0.82rem;
  font-weight: bold;
  color: #444444;
  line-height: 1.4;
  position: relative;
  padding-left: 12px;
}

.course-item-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.course-item-list.dot-cyan li::before { color: #00bcd4; }
.course-item-list.dot-pink li::before { color: #ff0066; }

/* 介護系2コースのルートラッパーと正方形風ボタン */
.kaigo-routes-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kaigo-routes-wrap .tree-course-card {
  padding-top: 16px;
  padding-bottom: 16px;
}

.sq-kaigo-btn {
  position: absolute;
  right: 10px;
  top: 46%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  min-height: 48px;
  background: linear-gradient(135deg, #00d2f8 0%, #00bcd4 100%);
  color: #ffffff;
  padding: 6px 8px;
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0, 188, 212, 0.35);
  border: 2px solid #ffffff;
  text-align: center;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.sq-kaigo-btn:hover {
  transform: translateY(-50%) scale(1.02);
  box-shadow: 0 5px 12px rgba(0, 188, 212, 0.45);
}

.sq-kaigo-btn i {
  font-size: 0.6rem;
  margin-left: 2px;
}

/* リンクボタン */
.link-to-kaigo-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background-color: #e0f7fa;
  color: #00838f;
  border: 1px solid #4dd0e1;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  margin-top: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.link-to-kaigo-btn:hover {
  background-color: #00bcd4;
  color: #ffffff;
  border-color: #00bcd4;
  transform: translateY(-1px);
}

.link-to-kaigo-btn i {
  font-size: 0.65rem;
}


/* ==================================================
   3. 介護職 キャリアイメージ図
================================================== */

/* 1. 見出しと文章の幅・左右余白を総合職・事務職（15pxインデント）と完全統一 */
#job-kaigo .sub-sec-header,
#job-kaigo .career-lead-text,
#job-kaigo .job-intro-text {
  width: calc(100% - 30px) !important;
  margin-left: 15px !important;
  margin-right: 15px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

/* 2. 見出しタイトル自体の位置調整 */
#job-kaigo .sub-sec-title {
  margin-left: 0 !important;
  padding-left: 12px !important; /* 左側のピンク縦線＋余白 */
}

/* ==================================================
   3. 介護職 キャリアイメージ図
================================================== */

.kaigo-career-wrap {
  /* 幅と左右の余白を他の要素（西田さん・南波さんのカード等）と統一 */
  width: calc(100% - 30px) !important;
  margin-left: 15px !important;
  margin-right: 15px !important;
  margin-top: 15px;
  margin-bottom: 25px;

  padding: 24px 10px 30px;
  border: 1px solid #d0d0d0;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
  box-sizing: border-box;
}

.kaigo-career-wrap .job-note-text {
  display: block;
  font-size: 0.72rem;
  color: #666666;
  margin-top: 18px;
  margin-bottom: 18px;
  padding: 0 12px;
  text-align: left;
  line-height: 1.4;
}

/* STARTタグ */
.kaigo-start-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.kaigo-start-tag span {
  font-size: 1.3rem;
  font-weight: 900;
  color: #00bcd4;
  letter-spacing: 0.05em;
  font-family: Arial, sans-serif;
}

.kaigo-chara-top {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.kaigo-step-flow {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

/* ステップボックス */
.kaigo-step-box {
  width: 125px;
  padding: 8px 3px;
  border-radius: 10px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.kaigo-step-item,
.kaigo-arrow-down,
.kaigo-arrow-with-note {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-left: 0;
  box-sizing: border-box;
  margin: 3px 0;
}

/* カラー背景バリエーション */
.bg-cyan { background-color: #00d2f8; color: #ffffff; }
.bg-green { background-color: #c8f0c8; color: #2e6b2e; }
.bg-yellow-light { background-color: #fff8b3; color: #5c5200; }
.bg-yellow { background-color: #fff176; color: #423d00; }

/* 矢印とライン */
.line-arrow-stem {
  position: relative;
  display: block;
  width: 2px;
  height: 28px;
  background-color: #b0bec5;
  margin: 0 auto;
}

.line-arrow-stem.short {
  height: 12px;
  margin: 0;
}

.line-arrow-stem::after,
.line-arrow-tip {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 5px;
  height: 5px;
  border-right: 2px solid #b0bec5;
  border-bottom: 2px solid #b0bec5;
}

.line-stem-only {
  position: relative;
  display: block;
  width: 2px;
  height: 36px;
  background-color: #b0bec5;
  margin: 0 auto;
}

.line-stem-only.connect-stem {
  height: 40px;
  margin: 0 auto;
}

.kaigo-arrow-down .line-arrow-stem,
.kaigo-arrow-with-note .line-arrow-stem {
  margin: 0 auto;
}

/* 注記コールアウト */
.kaigo-callout-note,
.kaigo-arrow-with-note .kaigo-callout-note {
  position: absolute;
  left: calc(50% + 8px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #444444;
  line-height: 1.25;
  white-space: nowrap;
}

.kaigo-callout-note.multiline {
  white-space: normal;
  line-height: 1.3;
}

.kaigo-callout-note .sub-note,
.kaigo-arrow-with-note .kaigo-callout-note .sub-note {
  font-size: 0.58rem;
  color: #666666;
  font-weight: normal;
}

.callout-line {
  display: inline-block;
  width: 8px;
  height: 2px;
  background-color: #b0bec5;
  margin-right: 4px;
}

.kaigo-callout-note.bottom-align {
  left: calc(50% - 62px);
  top: -6px;
  white-space: normal;
  display: flex;
  align-items: flex-end;
}

.callout-line-corner {
  display: inline-block;
  width: 8px;
  height: 14px;
  border-left: 2px solid #b0bec5;
  border-bottom: 2px solid #b0bec5;
  margin-right: 4px;
  margin-bottom: 2px;
  flex-shrink: 0;
}

/* 2分岐コネクターエリア */
.kaigo-fork-connector {
  position: relative;
  width: 100%;
  margin: 0 0 2px 0;
}

.fork-stem {
  width: 2px;
  height: 14px;
  background-color: #b0bec5;
  margin: 0 auto;
}

.fork-bar {
  width: 151px;
  height: 2px;
  background-color: #b0bec5;
  margin: 0 auto;
}

.fork-arrows {
  display: flex;
  justify-content: space-between;
  width: 151px;
  margin: 0 auto;
  position: relative;
  height: 6px;
}

.fork-arrows .line-arrow-tip {
  position: relative;
  top: 0;
  transform: rotate(45deg);
}

/* 分岐2列エリア */
.kaigo-fork-columns {
  display: flex;
  justify-content: center;
  gap: 14px;
  width: 100%;
  margin-top: 6px;
  box-sizing: border-box;
}

.fork-course-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 135px;
  background-color: #f7fcfd;
  border: 2px dashed #4dd0e1;
  border-radius: 12px;
  padding: 0 5px 12px;
  box-sizing: border-box;
}

.fork-course-card .course-label-badge {
  display: block;
  width: calc(100% + 20px);
  margin-left: -10px;
  margin-right: -10px;
  margin-top: 0;
  margin-bottom: 15px;
  border-radius: 12px 12px 0 0;
  padding: 8px 4px;
  font-size: 0.6rem;
  font-weight: 800;
  text-align: center;
  box-sizing: border-box;
  white-space: nowrap;
  background-color: #00bcd4;
  color: #ffffff;
  border: none;
}

.course-card-header {
  width: 100%;
  background-color: #00bcd4;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.course-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.fork-course-card .kaigo-step-box,
.course-card-body .kaigo-step-box {
  width: 118px;
  font-size: 0.75rem;
  padding: 6px 2px;
}

.fork-course-card .kaigo-arrow-down,
.course-card-body .kaigo-arrow-down {
  width: 100%;
  padding-left: 0;
  margin: 3px 0;
}

.course-card-body .line-arrow-stem {
  height: 20px;
}

.course-label-badge.bg-cyan-badge {
  background-color: #e0f7fa;
  color: #00838f;
  border: 1px solid #4dd0e1;
}

/* 1. キャラクターの親要素の重なり順を一番上に設定 */
.kaigo-chara-bottom-wrap {
  position: relative !important;
  z-index: 10 !important; /* カード枠より上に表示 */
  text-align: left;
  margin-top: -85px;
  pointer-events: none;
}

.kaigo-chara-bottom {
  position: relative !important;
  z-index: 10 !important;
  width: 45px;
  height: auto;
}

/* 2. カード枠（.fork-course-card）の overflow: hidden を解除 */
/* ※これが有効だと枠からはみ出た画像が切れてしまいます */
.fork-course-card {
  overflow: visible !important;
}

/* 3. コースバッジの上部角丸をカード枠に合わせて個別に設定 */
.fork-course-card .course-label-badge {
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
}


/* ==================================================
   4. タイムスケジュール（縦軸矢印・モーダル）
================================================== */

.schedule-arrow-wrapper {
  position: relative;
  width: 82%;
  max-width: 300px;
  margin: 25px auto 80px;
  padding-left: 45px;
  box-sizing: border-box;
}

.timeline-axis {
  position: absolute;
  left: 5px;
  top: 8px;
  width: 30px;
  bottom: 0;
}

.timeline-axis::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 30px;
  width: 2px;
  background-color: #d0d0d0;
  z-index: 1;
}

.axis-node {
  position: absolute;
  right: -1px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #666666;
  font-family: Arial, sans-serif;
  background: #ffffff;
  padding: 0 2px;
  z-index: 2;
  line-height: 1;
  transform: translateY(-50%);
}

.t-8  { top: 0px; }
.t-9  { top: 60px; }
.t-10 { top: 120px; }
.t-11 { top: 180px; }
.t-12 { top: 240px; }
.t-13 { top: 300px; }
.t-14 { top: 360px; }
.t-15 { top: 420px; }
.t-16 { top: 480px; }
.t-17 { top: 540px; }
.t-18 { top: 600px; }

.schedule-arrow-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.06));
}

.arrow-block {
  position: relative;
  width: 100%;
  padding: 4px 10px;
  box-sizing: border-box;
  color: #222222;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.arrow-block.js-schedule-modal-trigger:hover,
.arrow-block.js-schedule-modal-trigger:active {
  transform: scale(1.02);
  z-index: 10;
  filter: brightness(0.96);
}

.arrow-block.arrow-bottom {
  padding-bottom: 38px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 50% 100%, 0 calc(100% - 32px));
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 50% 100%, 0 calc(100% - 32px));
  border-radius: 0 0 8px 8px;
}

.arrow-block:first-child {
  border-radius: 10px 10px 0 0;
}

/* スケジュール全体枠の下部余裕確保（18:00切れ防止） */
.schedule-arrow-wrapper {
  display: flex;
  align-items: stretch;
  gap: 15px;
  padding-bottom: 40px !important; /* ★ 一番下（18:00）が隠れないよう下余白を追加 */
}

/* タイムラインの文字崩れ防止 */
.timeline-axis .axis-node {
  font-size: 0.75rem;
  font-weight: 700;
  color: #555555;
  white-space: nowrap;
}

/* 高さ設定 */
.b-care-5   { min-height: 5px !important;   height: 5px;   padding: 0 10px !important; }
.b-care-10  { min-height: 10px !important;  height: 10px;  padding: 0 10px !important; }
.b-care-15  { min-height: 15px !important;  height: 15px;  padding: 1px 10px !important; }
.b-care-20  { min-height: 20px !important;  height: 20px;  padding: 2px 10px !important; }
.b-care-30  { min-height: 30px !important;  height: 30px;  padding: 3px 10px !important; }
.b-care-45  { min-height: 45px !important;  height: 45px;  padding: 4px 10px !important; }
.b-care-60  { min-height: 60px !important;  height: 60px;  padding: 6px 10px !important; }
.b-care-90  { min-height: 60px !important;  height: 90px;  padding: 6px 10px !important; }
.b-care-180 { min-height: 180px !important; height: 180px; padding: 10px !important; }

.b-gap {
  background-color: rgba(224, 247, 250, 0.55);
  cursor: default;
}

.b-gap .arrow-title {
  font-size: 0.65rem;
  color: #666666;
  font-weight: 600;
}

/* カラー定義 */
.bg-cyan-dark   { background-color: #00bcd4; color: #ffffff; }
.bg-cyan-mid    { background-color: #4dd0e1; }
.bg-cyan-light  { background-color: #80deea; }
.bg-cyan-soft   { background-color: #b2ebf2; }
.bg-break       { background-color: #fce4ec; cursor: default; }
.bg-mint        { background-color: #a5d6a7; }
.bg-yellow-grad { background: linear-gradient(180deg, #c5e1a5 0%, #fff59d 55%, #fff9c4 100%); }

.arrow-case-badge {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: bold;
  padding: 1px 5px;
  border-radius: 10px;
  margin-right: 4px;
  line-height: 1.1;
}

.arrow-title {
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.arrow-sub {
  font-size: 0.65rem;
  opacity: 0.85;
  margin-top: 1px;
}

.arrow-tap-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background-color: #ff0066;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 12px;
  margin-left: auto;
  font-family: Arial, sans-serif;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.arrow-tap-hint i {
  font-size: 0.6rem;
  color: #ffffff;
}

.arrow-block.js-schedule-modal-trigger:hover .arrow-tap-hint {
  background-color: #e6005c;
  transform: scale(1.05);
}

/* ポップアップ（モーダル） */
.schedule-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.schedule-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.schedule-modal-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.65);
}

.schedule-modal-container {
  position: relative;
  width: 88%;
  max-width: 340px;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  z-index: 10;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.schedule-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #00bcd4;
  color: #ffffff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
}

.schedule-modal-title {
  font-size: 0.95rem;
  font-weight: bold;
  color: #00838f;
  margin-bottom: 10px;
  padding-right: 25px;
}

.schedule-modal-img-wrap {
  width: 100%;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  background-color: #f0f0f0;
}

.schedule-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.schedule-modal-desc {
  font-size: 0.78rem;
  color: #333333;
  line-height: 1.55;
  margin: 0;
}
/* ==================================================
   【デイサービス専用】スケジュール重なり＆高さ潰れ解消
   ※ .kaigo-block-day 内だけに限定しているため訪問介護には一切影響しません
================================================== */

.kaigo-block-day .schedule-arrow-container {
  height: auto !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  overflow: visible !important;
}

/* デイサービス側のみブロック高さを固定拡張 */
/* 【デイサービス専用】文字削除後の高さ最適化＆縦伸ばし解消 */

/* 全体の基本高さをコンパクト化 */
.kaigo-block-day .arrow-block {
  min-height: 38px !important;
  padding: 6px 10px !important;
}

/* 時間（分）に応じた高さの比例指定 */
.kaigo-block-day .arrow-block.b-care-20 { min-height: 20px !important; height: 36px !important; } /* 17:10〜 */
.kaigo-block-day .arrow-block.b-care-30 { min-height: 30px !important; height: 42px !important; } /* 12:00〜, 15:00〜, 17:30〜 */
.kaigo-block-day .arrow-block.b-care-40 { min-height: 40px !important; height: 48px !important; } /* 16:30〜 */
.kaigo-block-day .arrow-block.b-care-60 { min-height: 60px !important; height: 58px !important; } /* 9:00〜, 14:00〜, 15:30〜 */
.kaigo-block-day .arrow-block.b-care-90 { min-height: 90px !important; height: 72px !important; } /* 12:30〜 */
.kaigo-block-day .arrow-block.b-care-120 { min-height: 120px !important; height: 88px !important; }/* 10:00〜 */
.kaigo-block-day .arrow-title {
  font-size: 0.76rem !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.kaigo-block-day .schedule-arrow-wrapper {
  align-items: stretch !important;
  height: auto !important;
}

/* 【デイサービス専用】横幅を訪問介護士と完全に一致させる修正 */

/* 1. スケジュール全体容器の横幅をいっぱいまで拡張 */
.kaigo-block-day .schedule-arrow-wrapper {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* 2. 矢印コンテナを右側にいっぱいに広げる */
.kaigo-block-day .schedule-arrow-container {
  flex: 1 !important;
  width: 100% !important;
}

/* 3. 各矢印ブロックの幅を100%に指定 */
.kaigo-block-day .arrow-block {
  width: 100% !important;
}

/* 【デイサービス専用】12:00〜14:00 のピンポイント高さ調整 */

/* 【デイサービス専用】14:00の位置ズレをピタッと修正 */

/* 12:00〜12:30 昼食準備（30分枠） */
.kaigo-block-day .arrow-block.b-care-30 {
  min-height: 30px !important;
  height: 30px !important;
}

/* 12:30〜14:00 食事見守り / 交代休憩（14:00の目盛り上端にピッタリ着地させる調整） */
.kaigo-block-day .arrow-block.b-care-90 {
  min-height: 72px !important;
  height: 72px !important;
}

/* ==================================================
   【デイサービス専用】16:30〜18:00 ピタリ位置合わせ修正
================================================== */

/* 16:30〜17:10 帰りの支度（40分＝40px：高さをしっかり確保して17:10を17:00直下に配置） */
.kaigo-block-day .arrow-block.b-care-40 {
  min-height: 40px !important;
  height: 40px !important;
  padding: 4px 10px !important;
}

/* 17:10〜17:30 送迎車添乗・送り出し（20分＝20px） */
.kaigo-block-day .arrow-block.b-care-20 {
  min-height: 20px !important;
  height: 20px !important;
  padding: 1px 10px !important;
}

/* 17:30〜18:00 掃除・終礼・退勤（高さを30pxにし、ボタンサイズを共通化） */
.kaigo-block-day .arrow-block.arrow-bottom {
  clip-path: none !important;
  -webkit-clip-path: none !important;
  border-radius: 0 0 10px 10px !important;
  min-height: 30px !important;
  height: 30px !important;
  padding: 3px 10px !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

/* タイトルの文字サイズ統一 */
.kaigo-block-day .arrow-block.arrow-bottom .arrow-title {
  font-size: 0.76rem !important;
  line-height: 1.2 !important;
}

/* CHECKボタンの縮小指定をリセットし、他と完全に同じ共通サイズを適用 */
.kaigo-block-day .arrow-block.arrow-bottom .arrow-tap-hint {
  padding: 3px 8px !important;
  font-size: 0.62rem !important;
}

/* ==================================================
   【訪問介護士専用】最下部（8件目）の先端矢印を四角形に変更
================================================== */

.kaigo-block-houmon .arrow-block.arrow-bottom {
  /* 切り欠き（clip-path）を解除 */
  clip-path: none !important;
  -webkit-clip-path: none !important;
  
  /* 角丸の平らな長方形に固定 */
  border-radius: 0 0 10px 10px !important;
  
  /* 余計な下余白をリセットして四角形内に収める */
  padding-bottom: 6px !important;
  align-items: center !important;
}

/* テキストとCHECKボタンの位置調整 */
.kaigo-block-houmon .arrow-block.arrow-bottom .arrow-title,
.kaigo-block-houmon .arrow-block.arrow-bottom .arrow-tap-hint {
  position: relative !important;
  z-index: 5 !important;
  margin-top: 0 !important;
}

/* ==================================================
   【訪問介護士専用】最下部（8件目）を17:00ピッタリに収める調整
================================================== */

.kaigo-block-houmon .arrow-block.arrow-bottom {
  clip-path: none !important;
  -webkit-clip-path: none !important;
  border-radius: 0 0 10px 10px !important;
  
  /* 高さを小さくして17:00の線にピッタリ着地 */
  min-height: 60px !important;
  height: 60px !important;
  padding: 6px 10px !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

/* テキストとボタンの位置微調整 */
.kaigo-block-houmon .arrow-block.arrow-bottom .arrow-title,
.kaigo-block-houmon .arrow-block.arrow-bottom .arrow-tap-hint {
  position: relative !important;
  z-index: 5 !important;
  margin-top: 0 !important;
}

/* ==================================================
   【訪問介護＆デイサービス共通】タイムスケジュール横幅拡張
================================================== */

/* スケジュールラッパー全体の幅・最大幅を広げる */
.schedule-arrow-wrapper {
  width: 95% !important;
  max-width: 360px !important; /* 横幅を拡張して文字折り返しを防止 */
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 45px !important; /* タイムライン軸のスペース確保 */
  box-sizing: border-box !important;
}

/* 矢印コンテナを横いっぱいに広げる */
.schedule-arrow-container {
  width: 100% !important;
  flex: 1 !important;
}

/* 各ブロック内のテキストが改行・折り返ししないように指定 */
.arrow-title {
  white-space: nowrap !important;
}
/* ==================================================
   5. 選べるワークスタイル
================================================== */

.workstyle-section .sub-sec-header {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

.workstyle-section .sub-sec-header,
.workstyle-section .sec-title-desc {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

.workstyle-cards-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.workstyle-card {
  width: 100%;
  background-color: #ffffff;
  border: 2px solid #f0d8e2;
  border-radius: 16px;
  padding: 20px 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  text-align: center;
}

/* 2. 見出し自体の左余白を縦線幅（12px）のみに設定 */
.workstyle-section .sub-sec-title {
  margin-left: 0 !important;
  padding-left: 12px !important; /* 青い縦線の太さ＋右余白分 */
}

/* 訪問介護エリア（#kaigo-houmon）内のワークスタイル見出し位置補正 */
#kaigo-houmon .workstyle-section .sub-sec-header,
.kaigo-block-houmon .workstyle-section .sub-sec-header {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.ws-card-header {
  margin-bottom: 12px;
}

.ws-type-title {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 900;
  color: #333333;
  margin: 0 0 4px 0;
  position: relative;
  z-index: 1;
}

.ws-type-title.highlight-pink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 6px;
  background-color: #ffb7d5;
  opacity: 0.7;
  z-index: -1;
}

.ws-type-desc {
  font-size: 0.8rem;
  color: #555555;
  font-weight: bold;
  margin: 0;
  line-height: 1.4;
}

.ws-type-desc .sub-small {
  font-size: 0.7rem;
  color: #777777;
  font-weight: normal;
}

.ws-card-time-box {
  background-color: #f2fbfe;
  border: 1px solid #e0f7fa;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.ws-time-header {
  font-size: 0.75rem;
  font-weight: 800;
  color: #00838f;
  margin-bottom: 2px;
}

.ws-time-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ws-time-range {
  font-size: 1.25rem;
  font-weight: 800;
  color: #333333;
  letter-spacing: 0.02em;
}

.ws-time-detail {
  font-size: 0.78rem;
  font-weight: bold;
  color: #666666;
}

.ws-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 8px 10px;
  background-color: #ffffff;
  flex-wrap: wrap;
}

.ws-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.ws-tag.bg-cyan { background-color: #00d2f8; }
.ws-tag.bg-pink { background-color: #ff3377; }

.ws-footer-text {
  font-size: 0.78rem;
  font-weight: 800;
  color: #333333;
  white-space: nowrap;
}

.ws-footer-text.text-pink { color: #ff3377; }
.ws-dot { color: #b0bec5; font-size: 0.7rem; }

.ws-holiday-label {
  font-size: 0.78rem;
  font-weight: bold;
  color: #333333;
  white-space: nowrap;
}

.ws-holiday-num {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ff0066;
  margin: 0 1px;
}


/* ==================================================
   6. 事務職エリア
================================================== */

.jimu-work-box {
  background-color: #ffffff;
  border: 1.5px solid #ffccd8;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 15px 0 25px;
  box-shadow: 0 3px 10px rgba(255, 94, 151, 0.06);
}

.jimu-work-box .course-item-list li {
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: 6px;
}

.jimu-work-box .course-item-list li:last-child {
  margin-bottom: 0;
}


/* ==================================================
   7. 訪問介護 ＆ デイサービス エリア
================================================== */

.kaigo-type-nav {
  display: flex;
  gap: 10px;
  margin: 20px 0 10px;
  width: 100%;
}

.btn-kaigo-type {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  background-color: #ffffff;
  border: 2px solid #00bcd4;
  border-radius: 12px;
  color: #00bcd4;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 188, 212, 0.1);
  transition: all 0.2s ease;
}

.btn-kaigo-type:hover,
.btn-kaigo-type:active {
  background-color: #00bcd4;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 188, 212, 0.25);
}

.btn-kaigo-type .sub-arrow {
  font-size: 0.68rem;
  font-weight: bold;
  margin-top: 2px;
  opacity: 0.85;
}

.btn-kaigo-type:hover .sub-arrow,
.btn-kaigo-type:active .sub-arrow {
  color: #ffffff;
}

/* 背景ブロック共通定義 */
.kaigo-block-houmon,
.kaigo-block-day {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  padding-top: 30px;
  padding-bottom: 35px;
  padding-left: 15px;
  padding-right: 15px;
  border: none;
  border-radius: 0; /* 直角指定 */
  box-sizing: border-box;
}

.kaigo-block-houmon .sub-sec-header,
.kaigo-block-day .sub-sec-header,
.kaigo-block-houmon .job-intro-text,
.kaigo-block-day .job-intro-text,
.kaigo-block-houmon .sec-title-desc,
.kaigo-block-day .sec-title-desc {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

.kaigo-block-houmon .schedule-section-wrap,
.kaigo-block-day .schedule-section-wrap {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

/* 1. 訪問介護エリア（薄い水色背景＆紺色テキスト） */
.kaigo-block-houmon {
  background-color: #f0fbfd;
}

#kaigo-houmon .sub-sec-title,
.kaigo-block-houmon .sub-sec-title {
  color: #003366;
}

#kaigo-houmon .sub-sec-title::before,
.kaigo-block-houmon .sub-sec-title::before {
  background-color: #003366;
}

#kaigo-houmon .schedule-note,
.kaigo-block-houmon .schedule-note {
  color: #003366;
  font-weight: bold;
}

/* 2. デイサービスエリア（薄いブラウン背景＆濃茶色テキスト） */
.kaigo-block-day {
  background-color: #f9f6f0;
}

#kaigo-day .sub-sec-title,
.kaigo-block-day .sub-sec-title {
  color: #5a3a22;
}

#kaigo-day .sub-sec-title::before,
.kaigo-block-day .sub-sec-title::before {
  background-color: #5a3a22;
}

#kaigo-day .schedule-note,
.kaigo-block-day .schedule-note {
  color: #5a3a22;
  font-weight: bold;
}


/* ==================================================
   8. 先輩社員モデルケースカード
================================================== */

.career-senpai-example {
  width: calc(100% - 30px);
  margin-left: 15px;
  margin-right: 15px;
  background-color: #f7fcfd;
  border: 2px solid #00bcd4;
  border-radius: 16px;
  padding: 16px 20px; /* ★左右パディングを16px→20pxに広げてしっかり余白を確保 */
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.12);
  box-sizing: border-box;
}

/* 背景色ブロック内（岩谷さん・弓削さん）の余白補正 */
.kaigo-block-houmon .career-senpai-example,
.kaigo-block-day .career-senpai-example {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* 事務職用カード */
.career-senpai-example.jimu-senpai-border {
  background-color: #fff0f5;
  border-color: #ff5e97;
  box-shadow: 0 4px 12px rgba(255, 94, 151, 0.12);
}

.career-senpai-example.js-senpai-card {
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.career-senpai-example.js-senpai-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 188, 212, 0.2);
}

.cs-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.cs-badge {
  background-color: #00bcd4;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.cs-badge.bg-pink-badge {
  background-color: #ff5e97;
}

.cs-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #00838f;
}

.cs-title.text-pink-title {
  color: #ff3377;
}

.cs-card-body {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
}

.cs-photo-wrap {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.cs-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;          /* ★右側の空間を横いっぱいに広げる */
  min-width: 0;     /* ★テキストあふれを防ぎ、左右余白を正常化 */
}

.cs-name-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.cs-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #333333;
}

.cs-sub {
  font-size: 0.75rem;
  color: #666666;
}

.cs-comment {
  font-size: 0.78rem;
  color: #444444;
  line-height: 1.5;
  margin: 0;
}

/* インタビューを見る リンク（本文すぐ下の右揃え定位置指定） */
.cs-more-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: flex-end; /* ★自分自身を強制的に右揃えに配置 */
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #00bcd4;
  margin-top: -10px;
  padding-top: 0;
  border-top: none !important;
  width: auto;
}

.cs-more-link.text-pink-link {
  color: #ff5e97;
  border-top: none !important;
}

.cs-more-link i {
  font-size: 0.65rem;
}

/* 複数メンバー入りのカード行 */
.cs-member-item {
  padding: 6px 0;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.cs-member-item.js-senpai-card {
  cursor: pointer;
}

.cs-member-item.js-senpai-card:hover {
  background-color: rgba(0, 188, 212, 0.05);
}

/* メンバー間の破線区切り */
.cs-member-divider {
  border: none;
  border-top: 1px dashed #b2ebf2;
  margin: 12px 0;
}


/* ==================================================
   9. レスポンシブ（メディアクエリ）
================================================== */

@media screen and (max-width: 600px) {
  .sec-title-main {
    font-size: 1.3rem;
  }
  .sec-title-icon {
    width: 20px;
    height: 20px;
  }
  .sec-title-desc {
    font-size: 0.78rem;
  }
}

@media screen and (max-width: 480px) {
  .sq-kaigo-btn {
    position: static;
    transform: none;
    width: auto;
    margin: 4px 0 6px auto;
    align-self: flex-end;
  }

  .workstyle-section {
    padding: 25px 12px 30px;
  }

  .ws-card-main {
    flex-direction: column;
    gap: 12px;
  }

  .ws-card-left {
    padding-right: 0;
  }

  .ws-card-right {
    border-left: none;
    border-top: 1px dotted #e0e0e0;
    padding-left: 0;
    padding-top: 12px;
    width: 100%;
  }

  .ws-card-footer {
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
  }
}

@media screen and (max-width: 375px) {
  .kaigo-callout-note {
    font-size: 0.6rem;
  }
}

/* ==================================================
   ワークスタイルキャッチコピー強調枠（紺色）
================================================== */

.ws-catch-box {
  background-color: #ffffff;            /* 白背景で読みやすく */
  border: 2px solid #2a8ff5;            /* 紺色のしっかりした枠線 */
  border-radius: 8px;                   /* 軽く角丸 */
  padding: 10px 14px;                   /* 枠内の余白 */
  margin: 15px 0;                       /* 上下の余白 */
  box-shadow: 0 2px 6px rgba(0, 51, 102, 0.08); /* ほんのり立体感 */
  box-sizing: border-box;
  text-align: center !important; /* 枠全体を中央揃えに指定 */
  color: #2a8ff5;
}

.ws-catch-box p {
  font-size: 0.92rem;
  font-weight: 800;                     /* 太字で強調 */
  color: #2a8ff5;                      /* 紺色の文字 */
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

/* ==================================================
   介護職ナビボタン（トーン調整版）
================================================== */

.kaigo-type-nav {
  display: flex;
  gap: 10px;
  margin: 20px 0 10px;
  width: 100%;
}

.btn-kaigo-type {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

/* 1. 訪問介護士ボタン（紺枠 × 薄い水色背景 × 紺文字） */
.btn-kaigo-type.btn-houmon {
  background-color: #f0fbfd !important;
  border: 2px solid #003366 !important;
  color: #003366 !important;
}

.btn-kaigo-type.btn-houmon .sub-arrow {
  color: #003366 !important;
  opacity: 0.85;
}

.btn-kaigo-type.btn-houmon:hover,
.btn-kaigo-type.btn-houmon:active {
  background-color: #003366 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 51, 102, 0.2);
}

.btn-kaigo-type.btn-houmon:hover .sub-arrow,
.btn-kaigo-type.btn-houmon:active .sub-arrow {
  color: #ffffff !important;
}

/* 2. デイサービスボタン（こげ茶枠 × 薄いブラウン背景 × こげ茶文字） */
.btn-kaigo-type.btn-day {
  background-color: #f9f6f0 !important;
  border: 2px solid #5a3a22 !important;
  color: #5a3a22 !important;
}

.btn-kaigo-type.btn-day .sub-arrow {
  color: #5a3a22 !important;
  opacity: 0.85;
}

.btn-kaigo-type.btn-day:hover,
.btn-kaigo-type.btn-day:active {
  background-color: #5a3a22 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(90, 58, 34, 0.2);
}

.btn-kaigo-type.btn-day:hover .sub-arrow,
.btn-kaigo-type.btn-day:active .sub-arrow {
  color: #ffffff !important;
}

/* ボタン内の矢印サブテキスト基本指定 */
.btn-kaigo-type .sub-arrow {
  font-size: 0.68rem;
  font-weight: bold;
  margin-top: 2px;
}

/* アンカーリンクジャンプ時に固定ヘッダー分の高さを上にずらす */
#job-sougou,
#job-kaigo,
#job-houmon,
#kaigo-day,
#kaigo-career,
#job-jimu {
  scroll-margin-top: 80px; /* 固定ヘッダーの高さ＋十分な余白を設定 */
}

/* 間接部門コースの横矢印を元通り復活させる */
.tree-branch-list > .tree-course-card::before,
.tree-branch-list > .tree-course-card::after {
  display: block !important;
}

/* 総合職の縦線を「サポートコース」の矢印位置（一番下のカードの矢印）にピッタリ着地させる */
#job-sougou .tree-branch-list::before {
  bottom: 135px !important;  /* ★ 80px〜120px程度で調整 */
  height: auto !important;
}

/* ==================================================
   総合職：現場活躍メッセージの強調 ＆ 介護職誘導ボタン
================================================== */
.sougou-field-notice-box {
  background-color: #d8faf4;              /* 爽やかな淡い水色背景 */
  border: 2px dashed #01a098;             /* 水色の点線枠 */
  border-radius: 12px;
  padding: 14px 16px;
  margin: 18px 0 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 3px 8px rgba(0, 188, 212, 0.08);
}

.sougou-field-notice-box .notice-text {
  font-size: 0.88rem;
  font-weight: 500;
  color: #333333;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.sougou-field-notice-box .font-bold {
  font-weight: 800;
  color: #ff3377;                         /* ピンク色で補足強調 */
}

/* 黄色マーカー装飾 */
mark.marker-yellow {
  background: linear-gradient(transparent 50%, #fff100 50%);
  font-weight: 800;
  color: #333333;
  padding: 0 2px;
}

/* 「介護職の仕事をみる」アンカーボタン */
.btn-link-to-kaigo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #ffffff;
  border: 2px solid #01787c;
  color: #00838f;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 7px 20px;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 188, 212, 0.15);
  transition: all 0.2s ease;
}

.btn-link-to-kaigo:hover,
.btn-link-to-kaigo:active {
  background-color: #02b497;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 188, 212, 0.25);
}

.btn-link-to-kaigo i {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

.btn-link-to-kaigo:hover i {
  transform: translateY(2px);            /* ホバー時に矢印が下へ動く */
}