/* ---------------------------
  base
----------------------------- */
body {
  color: #333333;
  font-size: 14px;
  font-family: 'Noto Sans JP', sans-serif;
  font-feature-settings: "palt";
  letter-spacing: 0.025em;
  overflow-x: hidden;
}
a {
  color: #333333;
}
img {
  max-width: 100%;
  height: auto;
}
* {
  box-sizing: border-box;
}
input,textarea,button {
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  border: none;
  border-radius: 0;
  font-family: 'Noto Sans JP', sans-serif;
  padding: 0;
  margin: 0;
}
button {
  cursor: pointer;
}

/* ---------------------------
  utility
----------------------------- */
.wrapper {
  margin: 0 auto;
  max-width: 480px;
  padding: 0 32px;
}
@media screen and (max-width: 480px) {
  .wrapper {
    padding: 0 16px;
  }
}

/* ---------------------------
  common
----------------------------- */
.body-inner {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
header {
  background-color: #f2f2f2;
}
.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
h1 {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}
footer {
  height: 40px;
  background-color: #f2f2f2;
  font-size: 10px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
}

/* ---------------------------
  list
----------------------------- */
.list-wrapper {
  padding: 64px 0;
}
.list li {
  display: flex;
  margin-bottom: 8px;
  padding-right: 40px;
  background-image: url(../img/sort.svg);
  background-size: 6px;
  background-position: center right 16px;
  background-repeat: no-repeat;
  cursor: grab;
  box-shadow: 1px 1px 5px rgb(0 0 0 / 5%);
}
.list li:active {
  background-color: #fafafa;
}
.list li.is_focus {
  background-color: #fafafa;
}
textarea {
  resize: vertical;
  width: calc(100% - 28px);
  height: calc(1.5em + 14px);
  min-height: calc(1.5em + 14px);
  font-size: 16px;
  line-height: 1.8;
  outline: none;
  padding: 4px 8px;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border: 1px solid #cccccc;
  border-radius: 50%;
  cursor: pointer;
  margin: 0;
  margin-top: 8px;
  margin-left: 8px;
  position: relative;
  background-color: #ffffff;
}
input[type="checkbox"]::after {
  content: "";
  width: 12px;
  height: 12px;
  display: block;
  background-image: url(../img/check.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 10;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
input[type="checkbox"]:checked {
  background-color: #19ce0e;
  border: 1px solid #19ce0e;
}

/* ---------------------------
  button
----------------------------- */
.btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f2f2f2;
  margin-top: 32px;
  padding-top: 8px;
}
.btn {
  padding: 8px;
  padding-left: 8px;
  border-radius: 50%;
  transition: .1s ease-in;
}
.btn--plus:hover {
  opacity: 0.8;
}
.btn--garbage {
  cursor: inherit;
  position: relative;
  z-index: 1000;
  outline: none;
}
.btn--garbage.ui-droppable-hover {
  background-color: #ffedd0;
}
