@charset "utf-8";
/* CSS Document */
/* 全体 */
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body{
	background: #f1f1f1;
}

section#container{
	text-align: center;
	margin: 0 auto;
}

/* タイマー */
section#days {
    display: inline-block;
    margin: 0 auto 10px;
    background: #9708CC;
    color: #FFF;
    position: relative;
    border-radius: 2rem;
	font-size: 1.25rem;
	padding: 0.95rem;
	text-align: center;
	margin-top: 1rem;
}
section#atdays:after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    margin-left: -10px;
    border: 10px solid transparent;
    border-top: 10px solid #9708CC;
    z-index: 2;
	border-radius: 2rem;
}
span#countTimer {
	padding-top: 0.25rem;
	margin-top: 0.25rem;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.08rem;
    text-align: center;
}
span#countTimer span {
    font-size: 1rem;
    font-weight: 400;
    margin-right: 10px;
	padding-top: 0.25rem;
	margin-top: 0.25rem;
}

/* ToDo */

h1{
	font-size: 2rem;
	color: #333;
	margin-bottom: 60px;
	font-weight: 600;
}

.btn {
  color: #FFF;
  font-weight: bold;
  border: none;
  border-radius: 3px;
  width: 80px;
  height: 50px;
  cursor: pointer;
  margin-left: 10px;
	text-align: center;
}

.wrapper {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 100px 20px 0;
  max-width: 1000px;
}

.input-area {
  text-align: left;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

input {
  border: 1px solid #CCC;
  outline: none;
  border-radius: 5px;
}

.task-area {
  width: 70%;
}

.date-area {
  width: 15%;
}

label {
  font-size: 14px;
  font-weight: bold;
}

.task-input {
  font-size: 18px;
  padding: 10px;
  margin-right: 10px;
  width: 100%;
}
span.task-re{
	color: #F00;
}


.error-msg {
  font-size: 12px;
  font-weight: bold;
  color: red;
  display: none;
}

.error-msg.show {
  display: block;
}

.date {
  border: 1px solid #CCC;
  padding: 12px 10px;
}

.add-btn {
  background: #9708CC;
  margin-top: 15px;
	width: 100px;
	text-align: center;
}

.display-task {
  text-align: left;
  width: 100%;
  margin: 100px auto 0 auto;
}

.task-item {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  border-radius: 5px;
  border: 1px solid #CCC;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFF;
  padding: 8px 20px;
  transition: 0.3s linear;
}

.item-wrapper {
  display: flex;
  justify-content: flex-end;
}

.item-date {
  background: #000000;
  color: #FFF;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.complete {
  background: #ffef64;
}

.delete-btn {
  background: #e95656;
}

.complete-btn {
  background: #0881f1;
}

div#readme{
	font-size: 1.25rem;
	padding: 0.95rem;
	margin: 1rem;
	text-align: center;
}