@charset "UTF-8";

/* =============================================================================
 *  datepicker.css（PC）  面接のご希望日時用カレンダー
 * ========================================================================== */

/* ---- 対象の入力欄 ---- */
.hkdp_input {
	cursor: pointer;
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9a94f' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: center right 15px !important;
	background-size: 20px 20px !important;
	padding-right: 45px !important;
}

/* ---- カレンダー本体 ---- */
.hkdp {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 320px;
	background: #fff;
	border: 1px solid #d9cd97;
	border-radius: 10px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
	box-sizing: border-box;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.4;
	color: #000;
	text-align: left;
}

/* ---- 年月と前後の月ボタン ---- */
.hkdp_head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #ffd40b;
	padding: 10px 8px;
}
.hkdp_title {
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 1px;
}
.hkdp_nav {
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	border-radius: 50%;
	cursor: pointer;
	overflow: hidden;
	text-indent: -9999px;
	position: relative;
	padding: 0;
}
.hkdp_nav:hover { background: rgba(255, 255, 255, 0.55); }
.hkdp_nav:disabled { opacity: 0.25; cursor: default; background: transparent; }
.hkdp_nav:before {
	content: "";
	width: 9px;
	height: 9px;
	border-top: 2px solid #000;
	border-left: 2px solid #000;
	position: absolute;
	top: 50%;
	left: 50%;
	text-indent: 0;
}
.hkdp_prev:before { transform: translate(-30%, -50%) rotate(-45deg); }
.hkdp_next:before { transform: translate(-70%, -50%) rotate(135deg); }

/* ---- 日付グリッド ---- */
.hkdp_body { padding: 10px 10px 0 10px; }
.hkdp_cal {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}
.hkdp_cal th {
	font-size: 12px;
	font-weight: bold;
	padding: 4px 0;
	text-align: center;
	color: #464646;
}
.hkdp_cal td {
	padding: 1px;
	text-align: center;
}
.hkdp_cal .hkdp_w0 { color: #d64545; }
.hkdp_cal .hkdp_w6 { color: #3a71c1; }

.hkdp_day {
	display: block;
	width: 100%;
	height: 32px;
	line-height: 32px;
	padding: 0;
	border: none;
	background: transparent;
	border-radius: 6px;
	font-size: 14px;
	font-weight: bold;
	color: inherit;
	cursor: pointer;
	box-sizing: border-box;
}
.hkdp_day:hover { background: #fdf3c6; }
.hkdp_day.is-holiday { color: #d64545; }
.hkdp_day.is-selected,
.hkdp_day.is-selected:hover {
	background: #ffd40b;
	color: #000;
}
.hkdp_day.is-disabled {
	color: #c9c9c9;
	background: #f5f5f5;
	cursor: default;
	text-decoration: line-through;
}

/* ---- 時間帯（CONFIG.timeSlots を設定した場合のみ表示） ---- */
.hkdp_time {
	padding: 8px 10px 0 10px;
	border-top: 1px dashed #e0d9b8;
	margin-top: 8px;
}
.hkdp_time_ttl {
	font-size: 12px;
	font-weight: bold;
	margin-bottom: 6px;
	color: #464646;
}
.hkdp_time_list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}
.hkdp_time_list li { width: 50%; padding: 3px; box-sizing: border-box; }
.hkdp_time_btn {
	width: 100%;
	height: 30px;
	border: 1px solid #d9cd97;
	background: #fff;
	border-radius: 6px;
	font-size: 13px;
	font-weight: bold;
	cursor: pointer;
}
.hkdp_time_btn:hover { background: #fdf3c6; }
.hkdp_time_btn:disabled { color: #c9c9c9; border-color: #e5e5e5; background: #f5f5f5; cursor: default; }

/* ---- 注意書き・操作ボタン ---- */
.hkdp_note {
	font-size: 11px;
	line-height: 1.6;
	color: #767676;
	padding: 10px 12px 0 12px;
}
.hkdp_note:empty { display: none; }
.hkdp_foot {
	display: flex;
	justify-content: flex-end;
	padding: 8px 10px 10px 10px;
}
.hkdp_btn {
	border: 1px solid #d9cd97;
	background: #fff;
	border-radius: 6px;
	font-size: 12px;
	font-weight: bold;
	padding: 6px 14px;
	margin-left: 6px;
	cursor: pointer;
	color: #000;
}
.hkdp_btn:hover { background: #fdf3c6; }
