@charset "utf-8";

#memo {
  width: 50ch;
  height: calc(1.5em * 10);
  line-height: 1.5;
}

body {
  background-color: #d1d6f4;
}

h1 {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0 7px;
  color: #333333;
}

h1:before {
  background-size: cover;
  background-repeat: no-repeat;
  width: 1em;
  height: 1em;
  background-image: url("image/pen.png");
  content: '';
}

p {
  margin: 0;
  padding: 0;
}

.content-wrap {
  width: fit-content;
  margin: 50px auto;
}

.title {
  margin: 1em 0 0.3em;
}

.content-box {
  background-color: #ffffff;
  width: 100ch;
  padding: 20px;
}

ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.time-wrap {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #666;
}

.article-title {
  margin-top: 1em;
  padding: 0.5em;
  color: #42455c;
  font-size: 0.9em;
  border-bottom: 3px dotted #c3c7dd;
}

.memos {
  margin: 2em 0;
}

.back-input {
  margin: 25px 0 20px;
  text-align: right;
}

.back-input a {
  color: #333;
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: 0.3em 2.5em 0.3em 1.5em;
  font-size: 0.95rem;
  border-radius: 20px;
  background-color: #ffffff;
}

.back-input a:after {
  content: '';
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 1px #333;
  border-right: solid 1px #333;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 10px;
  bottom: 0;
  margin: auto;
}

.back-input a:hover {
  background-color: #ffffff;
  opacity: 0.5;
}

.cate-link-wrap {
  display: flex;
  color: #5b5f7b;
  font-size: 0.9rem;
}

.cate-link-wrap a {
  text-decoration: none;
  color: #5b5f7b;
  border-bottom: 1px solid #989dbe;
}

.link-wrap {
  display: flex;
  margin-bottom: 20px;
}

.link-wrap a {
  padding-right: 1ch;
  font-size: 0.93rem;
  text-decoration: none;
  color: #ffffff;
  background-color: #989dbe;
  padding: 0.2em 0.8em 0.25em;
  border-radius: 30px;
  margin-right: 1em;
  font-size: 0.8rem;
}

.link-wrap a:hover,
button:hover {
  opacity: 0.5;
}

.pc-visible {
  display: flex;
  justify-content: space-between;
}

.memopage-wrap {
  box-shadow: 2px 2px 4px gray;
}

button {
  border: none;
  background-color: #989dbe;
  color: #ffffff;
  padding: 0.2em 0.8em 0.25em;
  border-radius: 30px;
  margin-right: 1em;
}

.btn {
  margin-top: 1em;
}
.del {
  margin-bottom: 15px;
}
@media (max-width: 600px) {
  .content-wrap {
    width: auto;
    margin: 30px 15px;
  }

  .content-box {
    width: auto;
  }

  .pc-visible {
    display: block;
  }

  .link-wrap {
    margin-bottom: 15px;
  }
#memo{
  width: 48ch;
}

}