@charset "utf-8";
/*
	Theme Name: diver_child
	Template: diver
	Description:  Diverの子テーマです。
	Theme URI: http://tan-taka.com/diver/
	Author: Takato Takagi
 */

.sc_article_excerpt {
	margin-top: 1em;
	font-size: 13px;
}

.post_list_thumb .newlabel::before {
	content: "";
	top: 0;
	left: 0;
	border-bottom: 4em solid transparent;
	border-left: 4em solid #f66;
	position: absolute;
}

.post_list_thumb .newlabel span {
	white-space: nowrap;
	display: block;
	top: 8px;
	transform: rotate(-45deg);
	left: 2px;
	position: absolute;
	z-index: 101;
	background: 0 0;
}

/*
シフト管理のCSS
 */

.employee_info {
	margin-bottom: 1.5em;
}

.shift {
	font-size: 1.5em;
}

.shift_application,
.shift-view {
	padding: 0.5em;
	background-color: white;
	border: solid;
	border-width: thin;
	border-color: rgb(208, 204, 204)
}

.shift_request {
	padding: 0.5em;
	background-color: white;
	border: solid;
	border-width: thin;
	border-color: rgb(208, 204, 204);

}

.shift_request_form {
	display: flex;
	width: 100%;
}

.form-kibou {
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-weight: bold;
}

.date_kibou {
	margin: 1em;
}

.menu_kibou {
	margin: 1em;
	/* width: 8%; */
}

.menu-kibou {
	width: 80px;
	height: 40px;
	font-weight: bold;
	text-align: center;
	top: 50%;
}

.kibou_button {
	background-color: #eb6100;
	margin: 0.5em;
	font-weight: bold;
	border: none;
}

.kibou_button:hover {
	color: #fff;
	background: #f56500;
}

a.sheet_URL:link {
	color: #0000EE;
	text-decoration: underline;
}

.date {
	font-size: 18px !important;
	;
	text-align: center;
	width: 130px !important;
}

/* フェロー協議書ページ専用のCSS///
//////////////////////////////*/

.fellow-discussion h1 {
	color: #333;
	text-align: left;
}

.fellow-discussion p {
	color: #666;
	text-align: left;
}

.fellow-discussion .notice p {
	padding: 10px 20px;
}

/* IDセレクタを使用して特定のテーブルにスタイルを適用します */
#fellow-schedule-table {
	margin-top: 20px;
	margin-bottom: 20px;
}

#fellow-schedule-table thead {
	background-color: #4CAF50;
	/* ヘッダーの背景色 */
	color: white;
}

#fellow-schedule-table thead th {
	text-align: center;
}

#fellow-schedule-table th,
#fellow-schedule-table td {
	text-align: left;
	padding: 15px;
	border: 1px solid #ddd;
	font-weight: bold;
}

#fellow-schedule-table tbody tr {
	background-color: #ecf4ec;
	/* 行の背景色 */
}

#fellow-schedule-table th {
	background-color: #4CAF50
}

.fellow-discussion a {
	color: #1a73e8;
	text-decoration: underline;
	font-weight: bold;
	background-color: #e8f0fe;
	padding: 2px 6px;
	border-radius: 4px;
	display: inline-block;
	transition: background-color 0.3s, color 0.3s;
}

.fellow-discussion a:hover {
	color: #0c47a1;
	text-decoration: none;
	background-color: #c6d9f1;
}

/* レスポンシブデザイン対応 */
@media screen and (max-width: 600px) {

	/* ヘッダーの背景色を維持 */
	#fellow-schedule-table thead,
	#fellow-schedule-table th {
		background-color: #4CAF50 !important;
		/* ヘッダーの背景色 */
		color: white !important;
		display: block;
		/* モバイルではブロック表示 */
	}

	/* 行の背景色を維持 */
	#fellow-schedule-table tbody tr {
		background-color: #ecf4ec !important;
		/* 行の背景色 */
	}

	#fellow-schedule-table,
	#fellow-schedule-table tbody,
	#fellow-schedule-table tr,
	#fellow-schedule-table td {
		display: block;
		width: 100%;
	}

	#fellow-schedule-table tr {
		margin-bottom: 15px;
	}

	#fellow-schedule-table td {
		text-align: right;
		padding-left: 50%;
		position: relative;
	}

	#fellow-schedule-table td:before {
		content: attr(data-label);
		position: absolute;
		left: 10px;
		width: 50%;
		padding-right: 10px;
		white-space: normal;
		text-align: left;
		font-weight: bold;
	}

	/* セルの内容が1行に収まるようにスタイルを設定 */
	#fellow-schedule-table .deadline {
		white-space: normal;
		overflow: visible;
		text-overflow: clip;
		max-width: none;
	}

	#fellow-schedule-table td.deadline {
		display: none;
	}

	/* モバイル専用の日程入力期限セルを表示する */
	#fellow-schedule-table td.deadline-mobile {
		display: block;
		text-align: right;
		padding-left: 50%;
		position: relative;
	}

	/* 文言「期限後は入力できなくなります」のフォントサイズを調整 */
	#fellow-schedule-table .deadline-mobile span {
		font-size: 0.7em;
		display: block;
	}

	/* スマホ表示時にテーブルヘッダーを非表示にする */
	#fellow-schedule-table thead {
		display: none;
	}

	#fellow-schedule-table td:nth-of-type(1)::before {
		content: "階層";
	}

	#fellow-schedule-table td:nth-of-type(2)::before {
		content: "予定協議期間";
	}

	#fellow-schedule-table td:nth-of-type(3)::before {
		content: "日程入力期限";
	}
}


/* デスクトップビューではデータラベルを非表示にする */
@media screen and (min-width: 601px) {
	.deadline-mobile {
		display: none;
	}

	#fellow-schedule-table td:nth-of-type(1)::before,
	#fellow-schedule-table td:nth-of-type(2)::before,
	#fellow-schedule-table td:nth-of-type(3)::before {
		content: none;
	}
}