@charset"utf-8";



/*採用ページのみヘッダーの下マージン無し*/
header .navbar{
  margin-bottom:0 !important;
  box-shadow:none !important;
}



.head-saiyo_01{
border-bottom: 1px solid var(--border-gray_02);
margin-bottom: 2rem !important;
padding-top★: 1rem;
padding-bottom★: 1rem ;
--bs-bg-opacity★: 1;
background-color: var(--skyblue-color_01) ;
box-shadow: 0 4px 8px -4px var(--border-gray_01);
}

.head-saiyo_01 a:hover {  text-decoration:none;
    opacity: initial;
    filter: initial;
    -moz-opacity: initial;
}





/* --- ナビゲーション全体の基本設定 --- */
.nav-underline_01 {
  border-top: none;
  border-bottom: none;
}


/* --- 1. まずPC用の設定（基本スタイル）を書く --- */
.nav-underline_01 {
  display: flex;
  align-items: stretch;
}

.nav-underline_01 .nav-item {
  border-left: 1px solid #ccc; /* グレーの線 */
  padding: 0.5rem 1rem;
  text-align: center;
  flex-grow: 1;
  text-decoration: none; /* 下線を消す */
}

/* 一番右の項目に右線を引く */
.nav-underline_01 .nav-item:last-of-type {
  border-right: 1px solid #ccc;
}

@media (min-width:992px) {
.nav-underline_01 .nav-link:focus, .nav-underline_01 .nav-link:hover {
    border-bottom-color:#0d6efd ;/*currentcolor*/
}

.nav-underline_01 .nav-link {
padding-top: 15px !important;
padding-bottom: 10px !important;
    font-weight: bold;
    font-size: 1.2rem;

    padding-right★: 0;
    padding-left★: 0;
    border-bottom:5px solid transparent;
  }
}

/* --- 2. スマホの時だけ設定を「上書き」して変える --- */
@media (max-width: 991px) {
  .nav-underline_01 {
    flex-direction: column; /* 縦並び */
  }

  .nav-underline_01 .nav-item {
    border-left: none;    /* PC用の左線を消す */
    border-right: none !important; /* PC用の右線を消す */
    border-bottom: 1px solid #ddd; /* 代わりに下線を引く */
    text-align: left;      /* 左寄せにする */
  }

  /* 一番上だけ上線を引く
  .nav-underline_01 .nav-item:first-child {
    border-top: 1px solid #ddd;
  } */

  /* スマホ時の一番下の線を消す */
  .nav-underline_01 .nav-item:last-of-type {
    border-bottom: none;
  }

.nav-underline_01 .nav-link:focus, .nav-underline_01 .nav-link:hover {
    border-left-color:#0d6efd ;/*currentcolor*/
}
.nav-underline_01 .nav-link {    border-left:10px solid transparent;     font-weight: bold;
  }
}







/* PC（768px以上）の時だけ右側に境界線を引く設定 */
@media (min-width: 768px) {
  .border-md-end {
    border-right: 1px solid  #7b9ab9 !important; /* Bootstrap標準のボーダー色 #dee2e6 */
  }
}

.nav-saiyo_01 .border-bottom,
.nav-saiyo_01 .border-md-end{
      border-bottom: 1px solid  #7b9ab9 !important; 
}
.nav-saiyo_01 {
    border: 1px solid #7b9ab9 !important;
}


.nav-saiyo_01{
    background-color: var(--skyblue-color_01);/*--gray-color_01*/
}

.nav-saiyo_01 a:hover{text-decoration: underline !important;}








.table-saiyo_01,
.table-saiyo_01 td,
.table-saiyo_01 th {
    border: none !important;}


.table-saiyo_01 td,
.table-saiyo_01 th {
  text-align: center !important;
  border-bottom: solid 1px #dee2e6 !important;
}









/*営業職1week用__________________________________*/
/* --- テーブル全体の基本設定 --- */
.schedule-table_01 {
  background-color: #f5f5f5;
  min-width: 958px;
  width: 100%;
  border-collapse: collapse;
  /* テーブル全体のレイアウトを固定 */
  table-layout: fixed;
}

/* --- ヘッダー（曜日）の設定 --- */
.schedule-table_01 thead th {
  background-color: #595959;/*#333*/
  color: #fff;
  padding: 10px;
  border: 1px solid #eee;
  font-weight: bold;
}

/* --- セル（td）の設定 --- */
.schedule-table_01 td {
  /* Firefox対策：高さを最小にして子要素の計算を促す */
  height: 1px;
  padding: 2px; 
  vertical-align: top;
  position: relative; /* ★重要：中のカードの配置基準にする */
border:none;  /*削除してもいい*/
  /*border: 1px solid red;*/
  /*border-bottom: none;*/
}

/* 時間列（一番左）のスタイル */
.schedule-table_01 td:first-child {
  background-color: white;
  border: none;
}

/* 2行目以降の最初のtd（時間）にドット線を引く */
.schedule-table_01 tr:not(:first-child) td:first-child {
  border-top: dotted 1px #ddd;
}

/* 予定が入るセル（時間列より右）の文字サイズ */
.schedule-table_01 td:not(:first-child) {
  font-size: 0.8rem;
}

/* 時間表示セルの高さ確保 */
.time-cell {
  height: 5.1rem !important; /* 約80px */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fafafa;
  font-weight: bold;
}

/* rowspanがある場合の高さ調整 */
.schedule-table_01 td[rowspan] {
  height: auto;
}

/* --- カード（中身）のデザイン --- */
.schedule-card {
  /* ★Firefox対策：親セルの四隅にピッタリ貼り付ける */
  position: absolute;
  top: 2px;    /* tdのpaddingと同じ値 */
  bottom: 2px;
  left: 2px;
  right: 2px;

  display: flex;
  flex-direction: column;
  min-height: 50px;
  border-radius: 0.25rem;
  padding: 8px;
  box-sizing: border-box;
  
  /* 配置設定 */
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;

  /* テキストの折り返し設定 */
  overflow-wrap: break-word;
  word-break: break-all;
  white-space: normal;
}

/* --- 配色バリエーション --- */
.schedule-card { background-color: #0059b3; color: white; } /* 通常（青） */
.hiru { background-color: #bdbdbd; color: #333; }          /* 昼（黄）#ddda8f */
.orange { background-color: #ff6700; color: white; }       /* 訪問（橙） */
.idou{background-color: #970c4e; color: white;}/* 移動時間 #997f0a*/

/* --- カード内の各パーツ --- */

/* テキスト部分（2行で省略） */
.card-text_02 {
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1; /* 余白を埋める */
}

/* 詳細ボタン（右下に配置） */
.shousai_01 {
  color: white;
  font-size: 0.7rem;
  border-radius: 0.25rem;
  width: fit-content;
  white-space: nowrap;
  padding: 1px 6px;
  padding-top: 2px;
  margin-top: auto;  /* ★これで一番下に押し出す */
  margin-left: auto; /* ★これで右に寄せる */
  cursor: pointer;
}

/* ホバー時の効果（モーダル用） */
.modal-bg_01:hover {
  cursor: pointer;
  text-decoration: underline;
  opacity: 0.8;
}

/* --- Firefox専用の最終微調整 --- */
@-moz-document url-prefix() {
  /* セルが absolute によって潰れるのを防ぐための最小高 */
  .schedule-table_01 td:not(:first-child) {
    min-height: 5.1rem;
  }
}





/*ボタンをわずかに脈動させる（生存確認効果）＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿
.shousai_01 {
  position: relative;
  overflow: hidden; 
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
}

.shousai_01 {
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

*/


/*キラッと光が走る（リフレッシュ効果）＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿*/
.shousai_01 {
  position: relative;
  overflow: hidden; /* 光がはみ出さないように */
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* 光の筋を作る */
.shousai_01::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  transition: all 0.6s;
  animation: shine 3s infinite; /* 3秒ごとに光る */
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 100%; }
  100% { left: 100%; }
}






/* 電車SVGの調整*/
.bi-custom-train {
    display: inline-block;
    vertical-align: -0.125em; /* 本家Bootstrap Iconsと同じ調整値 */
}













/*1day用__________________________________*/

.timeline {
  list-style: none;
  padding: 0;
}

.timeline-item {
  display: flex;      /* 時間と内容を横並びにする */
  position: relative;
  padding-bottom: 40px;
}

/* 左側の時間エリア */
.time {
  width: 112px;        /* 時間の幅を固定 80px*/
  text-align: right;
  padding-right: 26px; /* ★ここを増やすと「時間と線」が離れる */ /* 線との距離 40px*/
  font-weight: bold;
}

/* 右側の内容エリア */
.content {
  flex: 1;            /* 残りの幅をすべて使う */
  padding-left: 26px;  /* ★ここを増やすと「線と内容」が離れる */  /* 線との距離 40px*/
}

/* 基本の線：全項目に表示するが、上から下までではなく「次の項目の丸」まで伸ばす設定にする */
.timeline-item::after {
  content: "";
  position: absolute;
  left: 112px;          /* ★.timeのwidthと同じ数値に固定 */
  top: 10px;          /* ★開始位置を「丸の高さ」に合わせる */
  width: 2px;
  height: 100%;       /* ★110%ではなく100%に戻す */
  background: #dbdbdb;
}

/* 丸（●） */
.timeline-item::before {
  content: "";
  position: absolute;
  left: 108px;/*76px 線の位置(80px)から、丸の幅の半分(5px)を引いた数値にする */  /* 線の位置(80px)から中心を調整(80-4) */
  /*線の位置（中心）: 80px（.time の幅） ＋ 1px（線の太さ 2px の半分） ＝ 81px
丸の中心までの距離: 丸の幅が 10px なので、中心は 5px
丸の配置位置（left）: 81px（線の中心） － 5px（丸の半分） ＝ 76px*/
  top: 5px;
  width: 10px;
  height: 10px;
  background: rgb(79, 185, 255);
  border-radius: 50%;
  z-index: 1;
}

/* 1番目の線の開始位置調整 */
.timeline-item:first-child::after {
  top: 10px;
  height: calc(110% - 10px);
}

/* ★重要：一番最後の項目の「線」だけを完全に消す */
.timeline-item:last-child::after {
  display: none !important;
}

.timeline img {margin-bottom: 1.5rem ;}





.week-day-title {
  font-weight: bold;
  font-size: 1.5rem; /* h4_01と同じ */
  margin: 1rem 0;
  border-radius: 45px;

  /* --- h4と高さを合わせる設定 --- */
  padding-top: calc(0.7rem + 1px);
  padding-bottom: calc(0.7rem - 1px);
  padding-right: 1.9rem; /* 左右の余白は元の1.9remを維持 */
  padding-left: 1.9rem;

  line-height: 1.2; /* h4_01と同じ */
  background-color:var(--skyblue-color_01);
}









/*左2列、右1列＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿*/
/* スマホ：デフォルトは記述順通り縦一列 */
.custom-layout {
  display: flex;
  flex-direction: column;
}

/* PC（md以上）：L字レイアウトを構築 */
@media (min-width: 768px) {
  .custom-layout_02 {
    display: grid !important;
    grid-template-columns: 1fr 1fr; /* 左右 50% */
    /* 1行目は青ブロックの高さ、2行目は余った分。最後に薄紫が下まで突き抜ける */
    grid-template-rows: auto 1fr; 
    column-gap: 1.5rem; /* Bootstrapのgutter相当 */
  }

  .block-a_02 {
    grid-column: 1;
    grid-row: 1;
  }

  .block-b_02 {
    grid-column: 1;
    grid-row: 2;
    /* 黄緑を薄紫の下端に合わせたいなら self-end、上に詰めたいなら self-start */
    align-self: stretch; 
  }

  .block-c_02 {
    grid-column: 2;
    /* 1行目から2行目（さらにその下まで）突き抜ける設定 */
    grid-row: 1 / span 2; 
  }
  
  /* 余白調整：PCのときだけ、左側2つの間の余白を調整する場合 */
  .block-a_02 .mb-3 { margin-bottom: 1.5rem !important; }
}

@media (min-width:991px) and (max-width:1200px){
  .custom-layout_02{
    grid-template-columns: 1.1fr 0.9fr; /* 合計2になるように調整（左が狭くなる） */
  }
}

@media (min-width:768px) and (max-width:992px){
  .custom-layout_02{
    grid-template-columns: 0.9fr 1.1fr; /* 合計2になるように調整（左が狭くなる） */
  }
}






dl.yotei_01 {
  display: grid;
  grid-template-columns: 5rem 1fr;
  width: 100%;
  border-top: 1px solid #ccc;
}

dl.yotei_01 dt,
dl.yotei_01 dd {
  padding: 12px 1rem;
  border-bottom: 1px solid #ccc;
  margin: 0;
  /* 
     ddの中身が複数行になっても、
     dtとddの高さが自動で揃うのがGridの強みです 
  */
}

dl.yotei_01 dt {
  background-color: #f9f9f9;
  font-weight: bold;
  
  /* --- 中央配置の魔法 --- */
  display: flex;
  justify-content: center; /* 左右の中央 */
  align-items: center;     /* 上下の中央 */
  /* ---------------------- */
}

dl.yotei_01 dd {
  background-color: #fff;
  /* ddは左寄せのまま、上下だけ中央にしたい場合 */
  display: flex;
  align-items: center; 
}
