@charset "UTF-8";
body{
	font-family:
		"Helvetica Neue",
		Arial,
		"Hiragino Kaku Gothic ProN",
		"Hiragino Sans",
		Meiryo,
		sans-serif;
	text-align: justify;
	text-justify: inter-ideograph;
	font-size: 16px;
	min-height: 100vh;
	position: relative;
	box-sizing: border-box;
	color:#333;
	background-color:#EFEFEF;
}
h1,h2,h3,h4{
	font-size:1em;
	line-height: 1em;
	padding:0;
	margin:0;
	color:#543f32;
}
img.ofit{
  object-fit: cover;
  font-family: 'object-fit: cover;';
}
.sp-only{display: none;}
.pc-only{display: block;}

/* コンテナ全体のスタイル */
.container {
    margin-left: 250px; /* 左メニューの幅を考慮 */
    padding: 20px;
    display: flex;
    flex-direction: column; /* 子要素を縦に並べる */
    align-items: center; /* 中央寄せ */
    min-height: 100vh; /* 画面全体に拡張 */
    box-sizing: border-box; /* パディングを含めた幅計算 */
}
.page-container {
    margin-left: 250px; /* 左メニューの幅を考慮 */
    padding: 20px;
    display: flex;
    flex-direction: column; /* 子要素を縦に並べる */
    min-height: 100vh; /* 画面全体に拡張 */
    box-sizing: border-box; /* パディングを含めた幅計算 */
}
/* メインコンテンツ */
main {
    width: 100%; /* 親幅に合わせる */
    flex: 1;
    display: flex;
    justify-content: center; /* 中央寄せ */
    align-items: flex-start; /* 上寄せ */
}

.content {
    width: 1024px; /* 固定幅 */
    max-width: 100%; /* 狭い画面では横幅に対応 */
    background-color: #fff;
    padding: 20px;
    /* border: 1px solid #ccc; */
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}

/* サイドバーメニュー */
.sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background-color: #222;
    color: #fff;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding-top: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
}
.sidebar-edit-link{
    position:absolute;
    top:10px;
    left:10px;
}
.sidebar-edit-link a{
    color:#DDD;
    text-decoration:none;
}
/* ヘッダー */
.sidebar-header {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar-header .logo {
    font-size: 18px;
    font-weight: bold;
    color: #DDD;
    text-decoration: none;
}

/* ユーザー情報 */
.sidebar-user {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar-user img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}
.sidebar-user a{
    color:#DDD;
    text-decoration:none;
    transition:0.2s;
}
.sidebar-user a:hover{
    color:#FFF;
}
.sidebar-username {
    margin-top: 10px;
    font-size: 14px;
}

/* メニュー全体 */
.sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* メニューリンク */
.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}
.sidebar-menu a i {
    margin-right: 10px;
}
.sidebar-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* 階層メニュー（リンクに矢印アイコン） */
.sidebar-menu .has-submenu > a {
    position:relative;
    cursor: pointer;
}
.sidebar-menu .arrow {
    transition: transform 0.3s ease;
    position:absolute;
    right:20px;
}
.sidebar-menu .lock {
    transition: transform 0.3s ease;
    position:absolute;
    right:20px;
}
.lock-link a:hover{
    cursor: not-allowed;       /* 禁止マークを表示 */
}
/* 矢印回転：open クラスがあれば rotate(90deg) */
.sidebar-menu .has-submenu.open > a .arrow {
    transform: rotate(90deg);
}

/* サブメニュー：display:none で完全に非表示 */
.sidebar-menu .sub-menu {
    background-color: #333;
}

/* サブメニュー内リンク */
.sidebar-menu .sub-menu li a {
    display: block;
    padding-left: 40px;
    font-size: 13px;
    color: #bbb;
    text-decoration: none;
}
.sidebar-menu .sub-menu li a:hover {
    background-color: #444;
    color: #fff;
}



/* メインメニューのスタイル */
.report-menu {
    list-style: none; /* 箇条書きマーカーを削除 */
    margin: 0;
    padding: 0;
}
.wrap-daily-report {
    display: flex;
    gap: 20px;
    width: 1024px;
    max-width:100%;
}

.daily-report-left, .daily-report-right {
    width: 50%;
}

.daily-report-left form {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.daily-report-left label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.daily-report-left input,
.daily-report-left select,
.daily-report-left textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.daily-report-right {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.report-item {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.report-item p {
    margin: 5px 0;
}
/* 前月・次月ボタンのスタイル */
.pagination-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #0073aa;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 5px;
}

.pagination-button:hover {
    background-color: #005885;
}

/* 無効化されたボタンのスタイル */
.pagination-button.disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    pointer-events: none;
}

/* レポートセクションの全体スタイル */
.report-section {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.report-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

/* 日別工数一覧 */
.daily-hours-list {
    margin-top: 20px;
}

.daily-hours-list table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.daily-hours-list th, 
.daily-hours-list td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.daily-hours-list th {
    background-color: #f1f1f1;
    font-weight: bold;
}

/* 修正フォームのスタイル */
.edit-form {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.edit-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.edit-form input[type="text"],
.edit-form input[type="date"],
.edit-form select,
.edit-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.edit-form button {
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #0073aa;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.edit-form button:hover {
    background-color: #005885;
}

/* 削除ボタンのスタイル */
.edit-form .delete-button {
    background-color: #d9534f;
    margin-left: 10px;
}

.edit-form .delete-button:hover {
    background-color: #c9302c;
}

/* メッセージ通知 */
.message {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #d6e9c6;
    background-color: #dff0d8;
    color: #3c763d;
    border-radius: 5px;
}

.message.error {
    border-color: #ebccd1;
    background-color: #f2dede;
    color: #a94442;
}
.wrap-daily-report-view {
    display: flex;
    gap: 20px;
    width:1024px;
    max-width:100%;
}

.daily-report-left {
    width: 40%;
    border-right: 1px solid #ddd;
    padding-right: 20px;
}

.daily-report-right {
    width: 60%;
    padding-left: 20px;
}

.daily-report-left h3 {
    margin-top:10px;
    font-size: 18px;
}

.daily-report-left .date-list {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-top: 10px;
}

.daily-report-left .date-list th,
.daily-report-left .date-list td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    background-color:#FFF;
}

.daily-report-left .date-list th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.daily-report-left .date-list tr:hover {
    background-color: #f9f9f9;
}

.daily-report-left .date-list td a {
    text-decoration: none;
    color: #0073aa;
}

.daily-report-left .date-list td a:hover {
    text-decoration: underline;
}

.daily-report-right h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.daily-report-right form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.daily-report-right form label {
    font-weight: bold;
    margin-bottom: 5px;
}

.daily-report-right form input[type="number"],
.daily-report-right form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.daily-report-right form textarea {
    resize: vertical;
    min-height: 100px;
}

.daily-report-right form .button-primary {
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.daily-report-right form .button-primary:hover {
    background-color: #005177;
}

.daily-report-right form .button-secondary {
    background-color: #f4f4f4;
    color: #333;
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.daily-report-right form .button-secondary:hover {
    background-color: #e4e4e4;
}

/* 修正フォーム全体のスタイル */
.edit-report-form {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.report-details {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
}

.report-details th, .report-details td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.report-details th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.report-details tr:hover {
    background-color: #f9f9f9;
}

.report-details .edit-button {
    text-decoration: none;
    color: #fff;
    background-color: #0073aa;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.report-details .edit-button:hover {
    background-color: #005177;
}
/* カテゴリごとの工数表スタイル */
table.category-summary {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

table.category-summary thead tr {
    background-color: #f1f1f1;
}

table.category-summary thead th {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    font-weight: bold;
}

table.category-summary tbody td {
    padding: 8px 10px;
    border: 1px solid #ddd;
    text-align: left;
}

table.category-summary tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

table.category-summary tbody tr:nth-child(even) {
    background-color: #f6f6f6;
}

table.category-summary tbody tr:hover {
    background-color: #eef;
}

table.category-summary td:first-child {
    font-weight: bold;
}
/* 部署別カテゴリ工数集計テーブル */
table.department-category-summary {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

table.department-category-summary thead tr {
    background-color: #f1f1f1;
}

table.department-category-summary thead th {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    font-weight: bold;
}

table.department-category-summary tbody td {
    padding: 8px 10px;
    border: 1px solid #ddd;
    text-align: left;
}

table.department-category-summary tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

table.department-category-summary tbody tr:nth-child(even) {
    background-color: #f6f6f6;
}

table.department-category-summary tbody tr:hover {
    background-color: #eef;
}

/* ───────── ロードマップ全体のコンテナ ───────── */
.roadmap-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.roadmap-title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
  color: #333;
}

/* ───────── タイムライン本体 ───────── */
.roadmap {
  position: relative;
  padding-left: 40px;
}

/* タイムライン中央の縦線 */
.roadmap::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: #ccc;
}

/* ───────── 各アイテム ───────── */
.roadmap-item {
  position: relative;
  margin-bottom: 40px;
}

/* 丸いマーカー */
.roadmap-marker {
  position: absolute;
  left: 11px; /* 縦線（20px）から左右中央にくるように調整 */
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #fff;
  border: 3px solid #0073aa;
  box-sizing: border-box;
}

/* 日付・テキストを囲む枠 */
.roadmap-content {
  padding: 10px 20px;
  background-color: #f9f9f9;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  margin-left: 40px; /* 縦線+マーカー分を空ける */
}

/* 日付部分 */
.roadmap-date {
  font-size: 16px;
  font-weight: 600;
  color: #0073aa;
  margin-bottom: 6px;
}

/* テキスト部分 */
.roadmap-text {
  font-size: 15px;
  color: #555;
  line-height: 1.4;
}
/* 完了済みアイテム全体を判別するためのスタイル */
.roadmap-item.completed .roadmap-marker {
  background-color: #28a745;      /* マーカー本体を緑色塗りつぶし */
  border-color: #28a745;          /* 枠も緑に */
}

/* チェックマーク自体のデザイン */
.roadmap-check {
  display: inline-block;
  color: #28a745;       /* 緑色 */
  font-size: 18px;
  line-height: 1;
  margin-right: 6px;
  vertical-align: middle;
}
.sidebar-foot{
    position:absolute;
    bottom:10px;
    text-align:center;
    width:100%;
    font-size:12px;
    color:#BBB;
}
.sidebar-foot a{
    font-size:12px;
    color:#AAA;
    text-decoration:none;
}
.sidebar-foot a:hover{
    color:#FFF;
}
/* style.css に追記してください */

/* ───────────────────────────────────────────────────
   簡易スタイル for daily_report_view 修正版
────────────────────────────────────────────────── */
.user-report{
  display:flex;
}
/* 全体ラップ */
.report-view-wrap {
  max-width: 1000px;
  padding: 0 15px;
  font-size: 14px;
}

/* 月ナビゲーション */
.month-nav {
  margin-bottom: 16px;
}
.month-nav a {
  color: #0073aa;
  text-decoration: none;
  margin-right: 12px;
}
.month-nav a:hover {
  text-decoration: underline;
}

/* テーブル共通 */
.report-logs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.report-logs-table th,
.report-logs-table td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}

/* ヘッダー背景色 */
.report-logs-table thead th {
  background-color: #f5f5f5;
  font-weight: bold;
}

/* 奇数行・偶数行の色分け */
.report-logs-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}
.report-logs-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

/* 部署／ユーザーレポート見出し */
.report-view-wrap h3,
.report-view-wrap h4 {
  margin-top: 24px;
  margin-bottom: 8px;
}

/* メンバーリンク */
.report-logs-table a {
  color: #0073aa;
  text-decoration: none;
}
.report-logs-table a:hover {
  text-decoration: underline;
}

/* 編集フォーム */
.daily-report-right form {
  display: flex;
  flex-direction: column;
}
.daily-report-right label {
  margin-top: 8px;
  font-weight: bold;
}
.daily-report-right input[type="number"],
.daily-report-right textarea {
  margin-bottom: 8px;
  padding: 4px 8px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}
.daily-report-right .button-primary,
.daily-report-right .button-secondary {
  margin-top: 8px;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
}
.daily-report-right .button-secondary {
  background-color: #ccc;
  border: none;
}
.daily-report-right .button-primary {
  background-color: #0073aa;
  color: #fff;
  border: none;
}

/* ページネーション（必要であれば追加） */
.report-logs-pagination {
  text-align: center;
  margin-top: 12px;
}
.report-logs-pagination .page-numbers {
  display: inline-block;
  margin: 0 4px;
  padding: 6px 10px;
  border: 1px solid #ccc;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}
.report-logs-pagination .page-numbers.current {
  background-color: #0073aa;
  color: #fff;
  border-color: #0073aa;
}
.report-logs-pagination .page-numbers:hover {
  background-color: #0073aa;
  color: #fff;
  border-color: #0073aa;
}

.category-management-container {
  max-width: 1000px;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.category-management-container h2 {
  font-size: 24px;
  margin-bottom: 16px;
  border-bottom: 2px solid #0073aa;
  padding-bottom: 8px;
  color: #0073aa;
}
.category-management-container h3 {
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 12px;
  color: #333;
}
.category-management-container .cm-form label {
  display: block;
  margin-bottom: 4px;
  font-weight: bold;
}
.category-management-container .cm-form input[type="text"],
.category-management-container .cm-form select {
  width: 50%;
  padding: 6px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.category-management-container .cm-form button {
  background-color: #0073aa;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.category-management-container .cm-form button:hover {
  background-color: #006799;
}
.category-management-container .cm-message {
  margin-bottom: 20px;
}
.category-management-container .cm-error {
  color: #c00;
}
.category-management-container .cm-success {
  color: #007a00;
}
.category-management-container .cm-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 20px 0;
}
.category-management-container .cm-link-edit {
  color: #0073aa;
  text-decoration: none;
}
.category-management-container .cm-link-edit:hover {
  text-decoration: underline;
}
.category-management-container .cm-link-delete {
  color: #d54e21;
  text-decoration: none;
}
.category-management-container .cm-link-delete:hover {
  text-decoration: underline;
}
.category-management-container .cm-no-permission {
  color: #888;
}
.category-management-container .cm-admin-note,
.category-management-container .cm-user-note {
  font-size: 14px;
  margin-bottom: 16px;
}
.category-management-container .cm-admin-note {
  color: #005a9c;
  font-weight: bold;
}
.category-management-container .cm-user-note {
  color: #333;
}
.cm-table th,
.cm-table td {
  padding: 10px;
  vertical-align: middle;
}

/* ───────── レスポンシブ対応 ───────── */
@media screen and (max-width: 600px) {
  .roadmap-container {
    padding: 20px 10px;
  }
  .roadmap {
    padding-left: 30px;
  }
  .roadmap::before {
    left: 15px;
  }
  .roadmap-marker {
    left: 6px;
    width: 12px;
    height: 12px;
    border-width: 2px;
  }
  .roadmap-content {
    margin-left: 30px;
    padding: 8px 15px;
  }
  .roadmap-date {
    font-size: 14px;
  }
  .roadmap-text {
    font-size: 14px;
  }
}
/* ───────────────────────────────────────────────────
   ★ 簡易スタイル for 作業日報ログ一覧
────────────────────────────────────────────────── */

/* 全体ラップ */
.report-logs-wrap {
  margin: 20px auto;
  max-width: 1000px;
  padding: 0 15px;
}

/* テーブル共通 */
.report-logs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.report-logs-table th,
.report-logs-table td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

/* ヘッダー背景色 */
.report-logs-table thead th {
  background-color: #f5f5f5;
  font-weight: bold;
}

/* 奇数行・偶数行の色分け（ストライプ） */
.report-logs-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

.report-logs-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

/* ページネーションラップ */
.report-logs-pagination {
  text-align: center;
  margin-top: 12px;
}

/* ページ番号リンク */
.report-logs-pagination .page-numbers {
  display: inline-block;
  margin: 0 4px;
  padding: 6px 10px;
  border: 1px solid #ccc;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}

.report-logs-pagination .page-numbers.current {
  background-color: #0073aa;
  color: #fff;
  border-color: #0073aa;
}

.report-logs-pagination .page-numbers:hover {
  background-color: #0073aa;
  color: #fff;
  border-color: #0073aa;
}


/* 1024px =================================================== */
@media screen and (max-width: 1024px) {

}
/* 768px ==================================================== */
@media screen and (max-width: 768px) {
	.sp-only{display: block;}
	.pc-only{display: none;}

	.drawer-nav {
		position: fixed;
		z-index: 2;
		top: 0;
		overflow: hidden;
		width: 14rem;
		height: 100%;
		color:#543f32;
		background-color:#ede4cd;
	}
	.drawer-menu-item{
		padding:0.65rem;
	}
    .container {
        margin-left: 0px; /* 左メニューの幅を考慮 */
        padding: 20px;
        display: flex;
        flex-direction: column; /* 子要素を縦に並べる */
        align-items: center; /* 中央寄せ */
        min-height: 100vh; /* 画面全体に拡張 */
        background-color: #f9f9f9; /* 背景色を調整 */
        box-sizing: border-box; /* パディングを含めた幅計算 */
    }
}
/* 480px ==================================================== */
@media screen and (max-width: 480px) {}
/* 320px ==================================================== */
@media screen and (max-width: 320px) {}
/* 320px ==================================================== */
