 body {
     margin: 0;
     background-color: #eef2f5;
     font-family: sans-serif;
 }

 /* 1〜4.3の全体を包む親：ここで横並びにする */
 .wrapper {
     display: flex;
     width: 100%;
     /* max-width: 1200px; */
     /* パソコンで見やすいサイズ */
     margin: 0 auto;
     /* 画面の真ん中に寄せる */
     min-height: 100vh;
 }
 .sp-wrapper {
    display: flex;
    width: 100%;

    /* margin: */
 }

 /* ==========================================
           3. サイドバー（左側のリモコン領域）
        =========================================== */
 .plbutton-main {
     width: 30%;
     padding: 15px;
     background-color: #2c3e50;
     max-width: 230px;
     /* 格好いい濃いネイビー */
     min-width: 200px;
     display: flex;
     flex-direction: column;
     align-items: stretch;
     /* 子供を親と一緒のサイズに引っ張る */
     box-sizing: border-box;
     /* 親のサイズを超えないようにするpaddingとかが足されて親より大きくなるから
 */
 }

 .plbutton-button {
     margin-top: 10px;
     margin-bottom: 10px;
     padding: 12px;
     font-size: 14px;
     /* font-weight: bold; */
     background-color: white;
     /* border: none;
            border-radius: 6px;
            cursor: pointer; */
     text-align: center;
 }

 .plbutton-button:hover {
     background-color: #e0e0e0;
 }

 /* 文字 */
 h1 {
     font-size: 40px;
     text-align: center;
     color: #333;
     /* margin-top: 0; */
 }

 h1#yearandday {
     font-size: 30px;
     text-align: center;
     color: #333;
     /* margin-top: 0; */
 }


 /* ==========================================
           4. 画面表示エリア（右側のメインコンテンツ領域）
        =========================================== */
 .main-content {
     flex: 1;

     margin: 20px;
     padding: 20px;
     background: white;
     border-radius: 8px;
     /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); */
 }

 /* 各部屋の表示・非表示ルール */
 .content-check {
     display: block;
     /* 最初はこちらを表示 */
 }

 .content-build {
     display: none;
     /* 最初は隠しておく */
 }

 .content-staff {
     display: none;
 }

 /* シフトカードたちのデザイン（元のやつをそのままキープ） */
 .shift-card {
     background: #fff;
     border: 1px solid #ddd;
     border-left: 6px solid #007bff;
     padding: 15px;
     margin-bottom: 15px;
     border-radius: 4px;
 }

 .staff-name {
     font-size: 16px;
     font-weight: bold;
     color: #007bff;
     margin-bottom: 5px;
 }

 .date-list {
     font-size: 14px;
     color: #555;
     line-height: 1.6;
 }

 .btn-clear {
     background: #dc3545;
     color: white;
     border: none;
     padding: 8px 15px;
     border-radius: 4px;
     cursor: pointer;
     float: right;
     font-weight: bold;
     margin-bottom: 5px;
 }

 .text-name {
     font-size: 16px;
     font-weight: bold;
     color: #007bff;
     margin-bottom: 5px;
     text-align: left;
 }

 .text-message {
     margin-bottom: 20px;
     padding: 10px;
     background: #f9f9f9;
     border-radius: 5px;
     font-size: 14px;
     color: #555;
     width: 100%;
     white-space: pre-wrap;
     box-sizing: border-box;
     text-align: left;
 }

 .design01 {
     width: 100%;
     text-align: center;
     border-collapse: collapse;
     /* 重なる線を１ピクセルで表示するために使用 */
     border-spacing: 0;
 }

 .design01 th {
     padding: 10px;
     background: #e9faf9;
     border: solid 1px #778ca3;
 }

 .design01 th.yasumi {
     padding: 10px;
     background: #6ee70b;
     border: solid 1px #e90134;
 }

 .design01 th.name {
     padding: 10px;
     background: #bd6c6c;
     border: solid 1px #e90134;
 }

 .design01 td {
     padding: 10px;
     border: solid 1px #006fe6;
 }

 .staff-name {

     /* マウスカーソルをポインターにする場合 */
     position: relative;
     /* 画面全体ではなくstaff-nameを基準に枠を表示させる命令 */
     box-sizing: border-box;
     transition: outline 0.1s ease;
     /* アニメーションを滑らかにする場合 */
 }


 /* ホバー時に枠線を表示する */
 .staff-name.has-memo:hover::after {
     content: attr(data-memo);
     position: absolute;
     bottom: 100%;
     left: 100%;
     width: auto;
     height: auto;
     background-color: #ffffff;
     color: #333333;
     border: 1px solid #cccccc;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
     padding: 6px 12px;
     border-radius: 6px;
     font-size: 12px;
     white-space: nowrap;
     z-index: 100;
     text-align: center;
 }

 .staff-name.has-memo {
     cursor: pointer;
 }


 .staff-name.memo-name::before {
     content: "!";
     /* display: inline-flex;
        align-items: center;
        justify-content: center; */
     margin-right: 6px;
     font-weight: 900;
     /* 極太にすると色の変化がハッキリ見えます */

     /* ▼ 背景に色やグラデーションを設定 ▼ */
     background: linear-gradient(135deg, #ff4d4f, #ff7a45);


     -webkit-background-clip: text;
     /* 背景を文字の形にくりぬく */
     background-clip: text;
     /* 標準仕様で互換性を保つための処理 */


     -webkit-text-fill-color: transparent;
     /*文字の色を消して新しい色がかかるようにする */
     color: transparent;
     /* ここで透明にしている予備ブラウザでは消えない可能性があるか */

 }

 th.sunday {
     color: #ff4d4f;
 }

 /* 赤 */
 th.saturday {
     color: #1890ff;
 }

 /* 青 */

 /* .staff-name {
     position: relative;
      吹き出しを浮かす基準 
     cursor: pointer;
 } */

 /* 2. マウスを乗せたときだけ出る白枠（中身は空）
 .staff-name:hover::after {
     content: "テスト表示OK！";
     /* ★文字がなくても枠線を見るなら content: ""; でOK 
     position: absolute;
     bottom: 100%;
     /* セルの真上 
     left: 50%;
     transform: translateX(-50%);
     margin-bottom: 5px;

     /* シンプルな白枠デザイン 
     background: white;
     border: 2px solid #007bff;
     /* 分かりやすい青枠 
     padding: 5px 10px;
     border-radius: 4px;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
     white-space: nowrap;
     z-index: 10;
 } */