body {
	background: #f6f9f0;
	color: #342;
	margin: 8px 0;
	padding: 0;
}
h1 {
	display: none;
	font-size: 1.5em;
	font-style: italic;
	margin: 0;
}
.calendar {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.toolbar {
	z-index: 11;
}
.prev, .next {
	border-color: transparent;
	border-style: solid;
	border-width: .5em .9em;
	color: #342;
	content: ' ';
	display: inline-block;
	height: 0;
	margin: 0 1em;
	outline: none;
	transition: .2s;
	width: 0;
}
.prev:hover, .next:hover {
	color: #f13875;
}
.prev {
	border-right-color: inherit;
}
.next {
	border-left-color: inherit;
}
.year, .month {
	display: inline-block;
	font-family: 'Geostar Fill', cursive;
	font-size: 1.3em;
	font-style: italic;
	font-weight: bold;
	transform: translate(-.1em, 0);
}
.year::after {
	content: '/';
	padding: 0 .3em;
}
.grid {
	background: #342;
	border: #333 solid;
	border-width: 1px 0 1px 1px;
	box-sizing: border-box;
	color: #333;
	display: flex;
	flex-direction: column;
	max-width: 800px;
	transition: opacity .5s;
	width: 100%;
}
@media screen and (min-width: 891px) {
	.grid { max-width: 90%; }
}
.week {
	display: flex;
	flex-direction: row;
}
.day {
	background: #e9f0e0;
	border: #333 solid;
	border-width: 0 1px 0 0;
	box-sizing: border-box;
	max-width: 14.3%;
	position: relative;
	width: 14.3%;
}
.day-passed::after {
	background: #09090519;
	content: " ";
	display: block;
	height: calc(100% + 1px); /* 1px is for hide text on the border. */
	left: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
	width: calc(100% + 1px); /* 1px is for hide text on the border. */
	z-index: 1;
}
.passed-hours {
	background: #09090519;
	content: " ";
	display: block;
	height: calc(100% + 1px); /* 1px is for hide text on the border. */
	left: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
	z-index: 2;
}
.day-name {
	background: #233;
	border-bottom-width: 1px;
	color: #eed;
	font-weight: bold;
	text-align: center;
}
.day-label {
	background: #455;
	border-bottom: none;
	color: #eed;
	font-family: 'Geostar Fill', cursive;
	padding-left: 2px;
	text-align: left;
	transition: .2s;
}
.day-label-other-month {
	background: #788;
	color: #bcc;
	cursor: pointer;
}
.today {
	background: #f13875;
	color: #fff;
	cursor: pointer;
}
.day-label-other-month:hover {
	background: #eee;
	color: #f13875;
}
.task-list {
	min-height: 4em;
	width: 100%;
}
.task {
	font-size: .8em;
	font-style: italic;
	height: 1.5em;
	padding: 0;
	position: relative;
}
.task-labeled {
	background: #342;
	text-align: center;
	text-shadow: 0 0 1px #fff;
	white-space: nowrap;
	word-break: keep-all;
	z-index: 1;
}
/* start-end mark */
:root {
	--start-bg: url('data:image/svg+xml;,<svg xmlns="http://www.w3.org/2000/svg" width="3" height="6"><path stroke="none" fill="%23e9f0e0" d="M0 0l3 6h-3z"/></svg>');
	--end-bg: url('data:image/svg+xml;,<svg xmlns="http://www.w3.org/2000/svg" width="3" height="6"><path stroke="none" fill="%23e9f0e0" d="M3 0h-3l3 6h3z"/></svg>');
	--bg-size: 2.5px 100%;
}
.task-start::before,
.task-after::after {
	content: ' ';
	display: inline-block;
	width: 6px;
}
.task-start {
	background-image: var(--start-bg);
	background-position: left bottom;
	background-repeat: no-repeat;
	background-size: var(--bg-size);
}
.task-end {
	background-image: var(--end-bg);
	background-position: right top;
	background-repeat: no-repeat;
	background-size: var(--bg-size);
}
.task-start.task-end {
	background-image: var(--start-bg), var(--end-bg);
	background-position: left bottom, right top;
	background-size: var(--bg-size), var(--bg-size);
}
.task-end-unknown,
.task-start.task-line-hide {
	background: linear-gradient(to right, #34200, #342ff), var(--start-bg) no-repeat left bottom;
	background-size: auto, var(--bg-size);
}
.task-milestone {
	background-image: unset;
	padding: 0;
	width: 0;
}
.task-milestone::before {
	background: inherit;
	content: " ";
	display: inline-block;
	height: .8em;
	width: .8em;
}
.task-endstone {
	background: linear-gradient(to left, #34200, #342ff), var(--end-bg) no-repeat right top;
	background-size: auto, var(--bg-size);
}
.task-endstone::after {
	color: #f33;
	content: "(ここまで)";
	font-weight: bold;
}
.task-endless::before {
	border-radius: 50%;
}
.canceled {
	opacity: .5;
	text-decoration: line-through;
}
/* task types */
.task-type-all {
	background: #999 !important;
	color: #222;
	height: 5em;
	line-height: 5em;
}

