@import url('https://fonts.googleapis.com/css2?family=Hachi+Maru+Pop&family=New+Tegomin&family=Zen+Kurenaido&display=swap');

* {
  padding: 0;
  margin: 0;
}

body {
  background-color: powderblue;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  text-align: center;
  font-family: 'Hachi Maru Pop', cursive;
  overflow-x: hidden;
}

.LR {
  display: flex;
}

.title {
  margin-bottom: 20px;
  font-size: 50px;
  font-weight: bold;
}

/* タスク追加 */
.add {
  margin-right: 30px;
  margin-left: auto;
}

.detail {
  background-color: white;
  width: 500px;
  height: 200px;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 1em;
}

input[type="text"] {
  width: 80%;
  height: 30px;
  margin-bottom: 20px;
  font-size: 20px;
}

input[type="date"] {
  width: 180px;
  height: 120px;
  margin-left: 50px;
  margin-right: 20px;
}

input[type="button"] {
  /* ボタンの標準スタイル削除（参考：https://qiita.com/nabettu/items/1593af04e48444c45c53）ここから */
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
  /* ここまで */
  
  width: 30px;
  height: 30px;
  margin: 5px;
  font-size: 0;
}

#red {
  background-color: lightcoral;
}

#orange {
  background-color: sandybrown;
}

#yellow {
  background-color: khaki;
}

#green {
  background-color: lightgreen;
}

#bluegreen {
  background-color: aquamarine;
}

#blue {
  background-color: lightskyblue;
}

#purple {
  background-color: plum;
}

#pink {
  background-color: pink;
}

button{
  /* ボタンの標準スタイル削除（参考：https://qiita.com/nabettu/items/1593af04e48444c45c53）ここから */
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
  /* ここまで */

  background-color: white;
  border-radius: 1em;
  width: 80px;
  height: 80px;
  margin-right: 20px;
  font-size: 50px;
  float: right;
}

/* タスクリスト */
.tasklist {
  margin-right: auto;
}

.list {
  background-color: white;
  width: 500px;
  min-height: 200px;
  max-height: 500px;
  padding: 20px;
  font-size: 20px;
  text-align: left;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  margin-left: 30px;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* 期末課題で追加した部分 */

.citySelect {
  margin-top: 10px;
}

.list {
  position: relative;
}

figure {
  display: inline-block;
  position: absolute;
  top: 30px;
  left: 320px;
}

img {
  width: auto;
  height: 140px;
}

figcaption {
  text-align: center;
}