@charset "utf-8";
/**
 * Summernote コンパクト表示（文字サイズ程度まで縮小）
 */
.note-toolbar {
  padding: 1px 4px;
}

.note-editor .note-toolbar, .note-popover .popover-content {
  margin: 0;
  padding: 2px 5px 5px;
}

.note-btn {
  --_size: auto !important;
  padding: 5px 10px;
  font-size: var(--size, 1rem);
  line-height: 1;
  min-height: calc(var(--size, 1rem) + 5px);
  max-height: calc(var(--size, 1rem) + 5px);
  display: inline-flex;
  align-items: center;
  block-size: auto !important;
}

.note-current-color-button {
  margin-right: 0 !important;
}

.note-btn-group {
  margin-right: 0;
}

.note-editor .note-toolbar > .note-btn-group,
.note-popover .popover-content > .note-btn-group {
  margin-right: 0;
  margin-top: 1px;
}

.note-editor .note-editing-area .note-editable {
  font-size: var(--size, 1rem);
  font-family: var(--font, sans-serif);
}

/* アイコンサイズをフォントサイズに合わせる（ボタンサイズはそのまま） */
.note-toolbar i,
.note-popover i,
.note-btn-group i,
.note-toolbar .note-icon,
.note-popover .note-icon {
  --_size: var(--size, 1rem) !important;
  font-size: var(--size, 1rem) !important;
  inline-size: var(--size, 1rem) !important;
  min-inline-size: var(--size, 1rem) !important;
  block-size: var(--size, 1rem) !important;
  min-block-size: var(--size, 1rem) !important;
}
