
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@100..900&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');

.okimemo-wrapper table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e6e6e6;
  margin: 10px 0;
  font-size: 14px;
  background: #fff;
}
.okimemo-wrapper table caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  margin-bottom: 6px;
  color: #222;
}
.okimemo-wrapper table th,
.okimemo-wrapper table td {
  padding: 10px 12px;
  border: 1px solid #ececec;
  vertical-align: top;
  line-height: 1.6;
  word-break: break-word;
}
.okimemo-wrapper table th {
  background: #f7f7f9;
  font-weight: 700;
  color: #111;
  text-align: left;
}
.okimemo-wrapper table tr:nth-child(even) td {
  background: #fbfbfc;
}
.okimemo-wrapper table thead th {
  border-bottom: 2px solid #e0e0e0;
}
.okimemo-wrapper table tbody tr:hover td {
  background: #fff7e6;
}

.okimemo-wrapper figure {
  display: block;
  margin: 10px 0;
  max-width: 100%;
}
.okimemo-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 6px 0;
  border-radius: 6px;
  object-fit: contain;
}
.okimemo-wrapper figcaption {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-top: 6px;
}

.okimemo-wrapper input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  margin: 0 8px 0 0;
  vertical-align: middle;
  border: 1px solid #bdbdbd;
  border-radius: 4px;
  background: #fff;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
  cursor: pointer;
}
.okimemo-wrapper input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(66,133,244,0.12);
}
.okimemo-wrapper input[type="checkbox"]:checked {
  background: linear-gradient(#4caf50,#3a9d3a);
  border-color: #3a9d3a;
}
.okimemo-wrapper input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  box-sizing: content-box;
}
.okimemo-wrapper input[type="checkbox"][disabled] {
  opacity: 0.6;
  cursor: default;
}

.okimemo-wrapper .okimemo-table-wrap {
  width: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.okimemo-wrapper ul,
.okimemo-wrapper ol {
  padding-left: 1.2em;
  margin: 8px 0;
}
.okimemo-wrapper code {
  background: #f4f4f5;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.95em;
  color: #111;
}
