/*---------------------
リセット
---------------------*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: Lato, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka, "MS PGothic", Arial, Helvetica, Verdana, sans-serif;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
main,
article,
aside,
details,
figcaption,
figure,
header,
footer,
nav,
section {
	display: block;
}
audio,
canvas,
video {
	display: inline-block;
	max-width: 100%;
}
html {
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}
*,
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
figure {
	-webkit-margin-before: 0;
	-webkit-margin-after: 0;
	-webkit-margin-start: 0;
	-webkit-margin-end: 0;
}


body {
	background-color: rgb(240,240,240);
	color: #000;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.7;
}
a:link,
a:visited {
	color: black;
}
a:hover {
	color: black;
}
a:active {
	color: black;
}


body > header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	width: 100%;
	padding: 15px 30px;
	background: #333;
	color: white;
}
h1 {
	margin-right: 20px;
}
h1 div {
	text-align: center;
}
h1 .title {
	border-bottom: 1px solid white;
	font-size: 150%;
	font-weight: bold;
}
.logo {
	position: absolute;
	top: 15px;
	right: 30px;
	width: 100px;
	height: auto;
}
nav {
	display: flex;
}
nav a {
	display: block;
	padding: 8px 15px;
	background: white;
	border: 1px solid rgb(230,230,230);
	border-radius: 3px;
	box-shadow: 0 0 5px rgba(0,0,0,0.05);
	margin-right: 10px;
	font-size: 110%;
	text-decoration: none;
}
nav .reload i {
	color: #0ab202;
}
nav .task_add i {
	color: #006bb2;
}
nav .reception i {
	color: #e58900;
}
nav a:hover,
nav a:active {
	background: #ddd;
	border-color: #ddd;
}





.task_list_all {
	position: fixed;
	top: 100px;
	left: 0;
	overflow-y: scroll;
	width: 280px;
	height: calc(100% - 100px);
}
.task_list_all section {
	background: white;
	border-bottom: 1px solid #ccc;
}
.task_list_all section:first-of-type {
	border-top: 1px solid #ccc;
}
.task_list_all section.progress-delivery {
	display: none;
}
.task_list_all #filter_display_delivery:checked ~ section.progress-delivery {
	display: block;
}
.task_list_all a {
	display: flex;
	justify-content: space-between;
	padding: 10px;
	border-left: 10px solid #006bb2;
	text-decoration: none;
}
.task_list_all .progress-unconfirmed a {
	border-left-color: #e50a00;
}
.task_list_all .progress-current a {
	border-left-color: #e58900;
}
.task_list_all .progress-complete a {
	border-left-color: #0ab202;
}
.task_list_all .progress-delivery a {
	border-left-color: #888;
}
.task_list_all a:hover,
.task_list_all a:active {
	background: rgb(250,250,250);
}
.task_list_all .type {
	align-self: center;
}
.task_list_all .type ul {
	display: flex;
}
.task_list_all .type li {
	color: #006bb2;
	list-style: none;
}




main {
	-margin-top: 100px;
	-margin-left: 280px;
	margin: 100px 20px;
}
.id-357 main {
	margin-left: 0;
}



.topic {
	padding: 16px;
}
.topic > .attention {
	display: inline-block;
	padding: 5px 10px;
	background: red;
	border-radius: 3px;
	font-size: 120%;
	font-weight: bold;
	color: white;
}
.topic table {
	overflow: hidden;
	max-width: 1036px;
	background: white;
	border-radius: 5px;
	box-shadow: 0 0 5px rgba(0,0,0,0.05);
	border-collapse: collapse;
	font-size: 90%;
}
.topic tr:first-child {
	background: #e50a00;
	color: white;
	text-align: center;
	font-weight: bold;
}
.topic tr:first-child td {
	padding: 6px 12px;
}
.topic tr:nth-child(n+2):hover,
.topic tr:nth-child(n+2):active {
	background: rgb(250,250,250);
}
.topic td {
	border-bottom: 1px solid #ccc;
}
.topic a {
	display: block;
	width: 100%;
	padding: 6px 12px;
}
.topic td:first-child span {
	padding-left: 0.5em;
}
.topic tr:first-child td,
.topic tr:last-child td {
	border-bottom: none;
}
.topic a:link,
.topic a:visited,
.topic a:hover,
.topic a:active {
	text-decoration: none;
}
.elapsed_date.attention i {
	color: #e50a00;
}
.elapsed_date.caution {
	color: #e50a00;
}
.elapsed_date.caution .no_icon {
	font-weight: bold;
}



main > input {
	display: hidden;
}

.task_list_filter_check {
	display: none;
}
.task_list_filter {
	width: 700px;
	margin: 8px;
}
.task_list_filter ul {
	display: flex;
}
.task_list_filter li {
	width: calc( 100% / 6 );
	padding: 5px 10px;
	background: white;
	border: solid #ccc;
	border-width: 1px 0 1px 1px;
	list-style: none;
	text-align: center;
	color: #aaa;
}
.task_list_filter li:first-child {
	background: #777;
	border-radius: 5px 0 0 5px;
	color: white;
	font-weight: bold;
}
.task_list_filter li:last-child {
	border-right-width: 1px;
	border-radius: 0 5px 5px 0;
}
.task_list_filter li label{
	display: block;
	cursor: pointer;
}
.task_list_filter li a{
	display: block;
}
#task_list_filter_type_sale:checked ~ .task_list_filter .sale,
#task_list_filter_type_inspection:checked ~ .task_list_filter .inspection,
#task_list_filter_type_repair:checked ~ .task_list_filter .repair,
#task_list_filter_type_recall:checked ~ .task_list_filter .recall,
#task_list_filter_type_claim:checked ~ .task_list_filter .claim,
#task_list_filter_type_custom:checked ~ .task_list_filter .custom,
#task_list_filter_type_accident:checked ~ .task_list_filter .accident {
	background: #006bb2;
	color: white;
}
.id-22 .task_list section {
	display: none;
}
.task_list section.type-none,
#task_list_filter_type_sale:checked ~ .task_list section.type-sale,
#task_list_filter_type_inspection:checked ~ .task_list section.type-inspection,
#task_list_filter_type_repair:checked ~ .task_list section.type-repair,
#task_list_filter_type_recall:checked ~ .task_list section.type-recall,
#task_list_filter_type_claim:checked ~ .task_list section.type-claim,
#task_list_filter_type_custom:checked ~ .task_list section.type-custom,
#task_list_filter_type_accident:checked ~ .task_list section.type-accident {
	display: block;
}


.task_list {
	display:-moz-flex;
	display:-webkit-flex;
	display:-o-flex;
	display:-ms-flex;
	display: flex;
	flex-wrap: wrap;
	-padding: 8px;
}
.fullsize {
	display: none;
	position: absolute;
	bottom: 5px;
	right: 5px;
	background: white;
	border: 2px solid #e58900;
	border-radius: 5px;
}
section:hover .fullsize {
	display: block;
}
.fullsize:hover {
	background: #e50a00;
	border-color: #e50a00;
}
.fullsize a {
	display: block;
	padding: 5px;
	text-decoration: none;
}
.fullsize i {
	display: block;
	margin: 0;
	font-size: 150%;
	color: #e58900;
}
.fullsize:hover i {
	color: white;
}
.task_list section {
	position: relative;
	width: 510px;
	background: white;
	border: 1px solid rgb(230,230,230);
	border-radius: 5px;
	margin: 8px;
	box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}
.task_list section:hover,
.task_list section:active {
	background: rgb(248,248,248);
	box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}
.task_list section > a {
	display: block;
	height: 100%;
	text-decoration: none !important;
}
.task_list li,
.task_list dd {
	background: white;
}
.task_list .progress {
	position: relative;
	background: #006bb2;
	height: 5px;
	border-radius: 5px 5px 0 0;
}
.task_list .progress span {
	position: absolute;
	top: 4px;
	right: 0;
	background: #006bb2;
	padding: 5px 10px;
	border-bottom-left-radius: 5px;
	color: white;
	font-weight: bold;
}
.task_list .progress.unconfirmed span {
	animation:blink 1s ease-in-out infinite alternate;
}
@keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
.task_list .progress.unconfirmed,
.task_list .progress.unconfirmed span {
	background: #e50a00;
}
.task_list .progress.current,
.task_list .progress.current span {
	background: #e58900;
}
.task_list .progress.complete,
.task_list .progress.complete span {
	background: #0ab202;
}
.task_list .progress.delivery,
.task_list .progress.delivery span {
	background: #888;
}
.task_list .manager {
	position: absolute;
	top: 3.5em;
	right: 5px;
	font-size: 80%;
}
.task_list .wrapper {
	margin: 10px 15px 0;
	font-size: 90%;
}
.task_list .wrapper > div {
	margin-bottom: 15px;
}
.task_list .wrapper > .title {
	display: flex;
	align-items: center;
	font-size: 150%;
}
.task_list .title > span {
	margin-right: 0.5em;
}
.maker {
	width: auto;
	height: 1em;
	margin-right: 0.3em;
	vertical-align: text-bottom;
}
.number {
	padding: 0 5px;
	border: 2px solid #056600;
	border-radius: 4px;
	font-size: 75%;
	font-weight: bold;
}
.fa-line {
	color: #00b900;
}
.notice li {
	background: none;
	list-style: none;
}
.progress_detail span {
	padding: 7px 10px;
	border-radius: 3px;
	color: white;
}
.progress_detail .service {
	background: #e50a00;
}
.progress_detail .parts {
	background: #e8e000;
	color: black;
}
.progress_detail .testride {
	background: #006bb2;
}
.task_list .type ul {
	display: flex;
}
.task_list .type li {
	width: calc( 100% / 5 );
	padding: 5px 10px;
	border: solid #ccc;
	border-width: 1px 0 1px 1px;
	list-style: none;
	text-align: center;
	color: #aaa;
}
.task_list .type li:first-child {
	background: #777;
	border-radius: 5px 0 0 5px;
	color: white;
	font-weight: bold;
}
.task_list .type li:last-child {
	border-right-width: 1px;
	border-radius: 0 5px 5px 0;
}
.task_list .type .checked {
	background: #006bb2;
	color: white;
}
.contents {
	display: flex;
	margin-bottom: 0 !important;
}
.contents > div:first-child {
	display: flex;
	flex-direction: column;
	width: calc( 100% - 215px );
	margin-right: 15px;
}
.contents > div:last-child {
	width: 200px;
}
.detail {
	overflow: hidden;
	background: white;
	border: 1px solid #ccc;
	border-radius: 5px;
	margin-bottom: 15px;
	word-break: break-all;
}
.detail input {
	display: none;
}
.detail label {
	cursor: pointer;
}
.detail .title {
	position: relative;
	display: block;
	overflow: hidden;
	background: #777;
	padding: 5px;
	border-radius: 4px 4px 0 0;
	color: white;
	font-weight: bold;
	text-align: center;
}
.detail label span {
	position: absolute;
	top: 5px;
	right: 5px;
	color: #e58900;
}
.detail label:hover span {
	color: #e50a00;
}
.detail .cf_detail {
	overflow-y: scroll;
	max-height: 10em;
	padding: 5px 10px;
}
.detail input:checked ~ .cf_detail {
	display: none;
}
.detail object {
	display: inline-block;
}
.detail .history {
	display: none;
}
.detail input:checked ~ .history {
	display: block;
}
.detail .history table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}
.detail .history tr:nth-child(even) {
	background: #eee;
}
.detail .history td {
	padding: 5px;
}
.link_file {
	display: inline-block;
	padding: 5px 10px;
	background: #e58900;
	border-radius: 5px;
	margin-bottom: 5px;
	text-decoration: none;
}
.link_file:link,
.link_file:visited {
	color: white;
}
.link_file:hover {
	background: #e50a00;
}
.scheduled {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 15px;
}
.scheduled > * {
	width: 50%;
	padding: 5px 10px;
	border: solid #ccc;
	border-width: 1px 0 0 1px;
	text-align: center;
}
.scheduled dt {
	background: #777;
	color: white;
	font-weight: bold;
}
.scheduled > *:nth-child(even) {
	border-right-width: 1px;
}
.scheduled > *:nth-child(1) {
	border-top-left-radius: 5px;
}
.scheduled > *:nth-child(2) {
	border-top-right-radius: 5px;
}
.scheduled > *:nth-last-child(2) {
	border-bottom-width: 1px;
	border-bottom-left-radius: 5px;
}
.scheduled > *:nth-last-child(1) {
	border-bottom-width: 1px;
	border-bottom-right-radius: 5px;
}
.scheduled a:link,
.scheduled a:visited {
	color: #e58900;
}
.scheduled a:hover,
.scheduled a:active {
	color: #e50a00;
}
.scheduled .inspection {
	position: relative;
}
.inspection_part {
	position: absolute;
	bottom: 0;
	left: 1em;
	display: none;
	box-shadow: 0 0 5px rgba(0,0,0,0.05);
}
.inspection_part div {
	padding: 5px;
	background: #777;
	border-radius: 5px 5px 0 0;
	color: white;
	font-weight: bold;
}
.inspection_part ul {
	display: flex;
}
.inspection_part ul li {
	display: block;
	width: 50px;
	padding: 5px 10px;
	background: white;
	border: solid #ccc;
	border-width: 0 0 1px 1px;
	list-style: none;
}
.inspection_part ul li:first-child {
	border-radius: 0 0 0 5px;
}
.inspection_part ul li:last-child {
	border-right-width: 1px;
	border-radius: 0 0 5px 0;
}
.scheduled .inspection:hover .inspection_part,
.scheduled .inspection:active .inspection_part,
.inspection_part:hover,
.inspection_part:active {
	display: block;
}
.photo {
	display: flex;
	align-items: flex-start;
	margin-bottom: 15px;
}
.photo object {
	width: calc( (100% - 10px) / 3 );
	border: 1px solid #ccc;
	margin-right: 5px;
}
.photo object:last-child {
	margin-right: 0;
}
.photo a {
	display: block;
}
.photo img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
}
.task_list .replacement,
.task_list .custom {
	display: flex;
	flex-direction: column;
	margin-bottom: 15px;
}
.task_list .replacement li,
.task_list .custom li {
	padding: 2px 8px;
	border: solid #ccc;
	border-width: 1px 1px 0 1px;
	list-style: none;
	color: #aaa;
}
.task_list .replacement li:first-child,
.task_list .custom li:first-child {
	padding: 5px;
	background: #777;
	border-radius: 5px 5px 0 0;
	color: white;
	font-weight: bold;
	text-align: center;
}
.task_list .replacement li:last-child,
.task_list .custom li:last-child {
	border-bottom-width: 1px;
	border-radius: 0 0 5px 5px;
}
.task_list .replacement .checked,
.task_list .custom .checked {
	background: #006bb2;
	color: white;
}


i {
	margin-right: 0.3em;
}
i.completed {
	color: #0ab202;
}

.single main {
	display: flex;
}
.single main > div {
	align-self: flex-start;
}
.single .task_list {
	display: block;
	width: 542px;
}
.single .detail div:last-child {
	max-height: 20em;
}


#substitute_display {
	display: none;
}
.substitute_list {
	position: fixed;
	top: calc(100vh - 35px);
	right: 0;
}
#substitute_display:checked ~ .substitute_list {
	top: auto;
	bottom: 0;
}
.substitute_list .title {
	text-align: right;
}
.substitute_list .title label {
	display: inline-block;
	padding: 0 20px;
	background: #333;
	border-top-left-radius: 5px;
	line-height: 35px;
	cursor: pointer;
	color: white;
}
.substitute_list .title label:hover,
.substitute_list .title label:active {
	background: #e50a00;
}
.substitute_list .fa-chevron-circle-down {
	display: none;
}
#substitute_display:checked ~ .substitute_list .fa-chevron-circle-up {
	display: none;
}
#substitute_display:checked ~ .substitute_list .fa-chevron-circle-down {
	display: inline;
}
.substitute_list .content {
	box-shadow: 0 0 5px rgba(0,0,0,0.05);
    border-spacing: 0;
}
.substitute_list thead th {
	padding: 8px;
	background: #777;
	color: white;
	font-weight: bold;
}
.substitute_list thead th:first-child {
	overflow: hidden;
	border-top-left-radius: 5px;
}
.substitute_list tbody tr {
	position: relative;
}
.substitute_list tbody td {
	background: white;
	padding: 2px 8px;
	border-bottom: 1px solid #ccc;
}
.substitute_list tbody td:first-child {
	border-left: 1px solid rgb(230,230,230);
}
.substitute_list tbody tr:last-child td {
	border-bottom: none;
}
.substitute_list .content label {
	display: block;
	cursor: pointer;
}
.substitute_list .content label:hover,
.substitute_list .content label:active {
	color: #e50a00;
}
.substitute_list input {
	display: none;
}
.substitute_list .edit {
	display: none;
	overflow: visible;
	position: absolute;
	bottom: calc(100% + 2px);
	left: -20px;
	z-index: 9999;
	padding: 8px;
	background: white;
	border: 1px solid rgb(230,230,230);
	border-radius: 5px;
	filter:drop-shadow(0 0 5px rgba(0, 0, 0, 0.2));
}
#substitute_display:checked ~ .substitute_list .display_alt:checked ~ .edit {
	display: block;
}
.substitute_list .edit:before {
	content: "";
	position: absolute;
	top: 100%;
	left: 35px;
	margin-left: -7px;
	border: 7px solid transparent;
	border-top: 7px solid white;
}
.substitute_list > form {
	display: none;
}



.task_history {
	overflow: hidden;
	width: 510px;
	background-color: white;
	border: 1px solid rgb(230,230,230);
	border-radius: 5px;
	box-shadow: 0 0 5px rgb(0 0 0 / 5%);
	margin: 8px;
}
.task_history .title {
	padding: 10px;
	background: #777;
	color: white;
	text-align: center;
	font-weight: bold;
}
.task_history table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}
.task_history tr:nth-child(even) {
	background: #eee;
}
.task_history td {
	padding: 5px;
}
.task_history form {
	padding: 10px 15px 5px;
	border: 1px solid #ccc;
	border-radius: 5px;
	margin: 15px;
}
.task_history input[type="date"] {
	margin-bottom:5px;
}
.task_history textarea {
	width: 100%;
	height: 4em;
}


.required {
	margin-left: 1em;
	color: #e50a00;
	font-size: 80%
}
.task_edit {
	overflow: hidden;
	flex: 1;
	border: 1px solid rgb(230,230,230);
	border-radius: 5px;
	box-shadow: 0 0 5px rgb(0 0 0 / 5%);
	margin: 8px;
	transition-property: background-color;
	transition-duration: 0.1s;
	transition-timing-function: ease-out;
}
.id-357 .task_edit {
	margin: 116px 16px 16px;
}
.task_edit .title {
	position: relative;
	padding: 10px;
	background: #777;
	color: white;
	text-align: center;
	font-weight: bold;
}
.task_edit .title label {
	position: absolute;
	top: 0;
	right: 0;
	padding: 10px 15px;
	background: #e58900;
}
.task_edit .title label:hover,
.task_edit .title label:active {
	background: #e50a00;
}
.task_edit form {
	display: flex;
	padding: 15px 15px 0;
	background-color: white;
}
.task_edit form > div {
	flex: 1;
}
.task_edit form > div:first-child {
	margin-right: 15px;
}
.task_edit section {
	padding: 15px;
	border: 1px solid #ccc;
	border-radius: 5px;
	margin-bottom: 15px;
}
.task_edit form section:hover {
	border-color: #e50a00;
}
.task_edit h2 {
	margin-bottom: 15px;
	text-align: center;
}
.task_edit table {
	width: 100%;
}
.task_edit th {
	text-align: left;
	font-weight: bold;
}
.task_edit h3 {
	margin-top: 15px;
	margin-bottom: 5px;
	font-weight: bold;
}
.task_edit input[type=text] {
	padding: 5px;
	width: 100%;
}
.task_edit textarea {
	width: 100%;
	height: 10em;
}
.task_edit input[type=text] + input[type=text] {
	margin-top: 5px;
}
.task_edit label {
	cursor: pointer;
}
.task_edit input[type=submit] {
	display: none;
}
.task_edit #customer-postcode-first {
	width: 3em;
}
.task_edit #customer-postcode-last {
	width: 4em;
}
.task_edit .section_file td {
	position: relative;
}
.task_edit form.delete {
	display: none;
}
.task_edit .section_file .delete {
	margin-left: 0.5em;
}
.task_edit .section_file .after {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999;
	padding: 5px;
	background: #e50a00;
	color: white;
}
.task_edit .section_file .after label {
	margin-left: 0.5em;
}
.task_edit .section_file input[type=checkbox],
.task_edit .section_file input[type=checkbox] ~ .after {
	display: none;
}
.task_edit .section_file input[type=checkbox]:checked ~ .before {
	display: none;
}
.task_edit .section_file input[type=checkbox]:checked ~ .after {
	display: block;
}
.task_edit .type,
.task_edit .self-replacement,
.task_edit .replacement,
.task_edit .custom {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.task_edit .type > div,
.task_edit .self-replacement > div,
.task_edit .replacement > div,
.task_edit .custom > div {
	width: 50%;
}
.task_edit .section_schedule .attention {
	color: #e50a00;
}



/* フルサイズ */
@media screen and ( min-width:1025px ) {
	.detail {
		margin-bottom: 15px;
	}
	.task_list .scheduled {
		margin-bottom: 15px;
	}
	.task_list .replacement {
		margin-bottom: 15px;
	}
	.task_list .custom {
		margin-bottom: 15px;
	}
}

/* レスポンシブ */
@media screen and ( max-width:1024px ) {
	body {
		font-size: 170%;
	}
	header {
		justify-content: space-between;
	}
	.logo {
		display: none;
	}
	h1 .title {
		border-bottom: none;
	}
	h1 .description {
		display: none;
	}
	nav a {
		border-radius: 10px;
		margin-right: 0;
		margin-left: 20px;
	}
	nav i {
		margin: 0;
	}
	main {
		padding: 0 20px;
		margin-left: 0;
	}
	.task_list_all {
		display: none;
	}
	.task_list_filter {
		width: 100%;
	}
	.task_list {
		width: 100%;
		margin: 0;
	}
	.task_list section {
		width: 100%;
		border-width: 1px 0 1px 0;
		border-radius: 0;
		margin: 0 0 40px;
	}
	.fullsize {
		display: block;
	}
	.progress {
		border-radius: 0;
	}
	.progress span {
		right: 20px;
	}
	.wrapper {
		margin: 10px 20px;
	}
	.wrapper > div {
		margin-bottom: 20px;
	}
	.contents > div:first-child {
		width: calc( 100% - 270px );
		margin-right: 20px;
	}
	.contents > div:last-child {
		width: 270px;
	}
	.display_for_pc {
		display: none;
	}
	.single main {
		display: block;
	}
	.single .task_list {
		width: auto;
	}
	.substitute_list {
		top: calc(100vh - 70px);
	}
	.substitute_list .title label {
		border-top-left-radius: 10px;
		line-height: 70px;
	}
	.task_edit form {
		display: block;
	}
}