pre code.acms-admin-hljs {
  display: block;
  overflow-x: auto;
  padding: 1em
}
code.acms-admin-hljs {
  padding: 3px 5px
}
/*

Atom One Dark by Daniel Gamage
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax

base:    #282c34
mono-1:  #abb2bf
mono-2:  #818896
mono-3:  #5c6370
hue-1:   #56b6c2
hue-2:   #61aeee
hue-3:   #c678dd
hue-4:   #98c379
hue-5:   #e06c75
hue-5-2: #be5046
hue-6:   #d19a66
hue-6-2: #e6c07b

*/
.acms-admin-hljs {
  color: #abb2bf;
  background: #282c34
}
.acms-admin-hljs-comment,
.acms-admin-hljs-quote {
  color: #5c6370;
  font-style: italic
}
.acms-admin-hljs-doctag,
.acms-admin-hljs-keyword,
.acms-admin-hljs-formula {
  color: #c678dd
}
.acms-admin-hljs-section,
.acms-admin-hljs-name,
.acms-admin-hljs-selector-tag,
.acms-admin-hljs-deletion,
.acms-admin-hljs-subst {
  color: #e06c75
}
.acms-admin-hljs-literal {
  color: #56b6c2
}
.acms-admin-hljs-string,
.acms-admin-hljs-regexp,
.acms-admin-hljs-addition,
.acms-admin-hljs-attribute,
.acms-admin-hljs-meta .acms-admin-hljs-string {
  color: #98c379
}
.acms-admin-hljs-attr,
.acms-admin-hljs-variable,
.acms-admin-hljs-template-variable,
.acms-admin-hljs-type,
.acms-admin-hljs-selector-class,
.acms-admin-hljs-selector-attr,
.acms-admin-hljs-selector-pseudo,
.acms-admin-hljs-number {
  color: #d19a66
}
.acms-admin-hljs-symbol,
.acms-admin-hljs-bullet,
.acms-admin-hljs-link,
.acms-admin-hljs-meta,
.acms-admin-hljs-selector-id,
.acms-admin-hljs-title {
  color: #61aeee
}
.acms-admin-hljs-built_in,
.acms-admin-hljs-title.class_,
.acms-admin-hljs-class .acms-admin-hljs-title {
  color: #e6c07b
}
.acms-admin-hljs-emphasis {
  font-style: italic
}
.acms-admin-hljs-strong {
  font-weight: bold
}
.acms-admin-hljs-link {
  text-decoration: underline
}

.customFieldContainer {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 64px;
  max-width: 960px;
}

.customFieldContainer h2 {
  color: #333;
  margin: 0;
  font-size: 20px;
  margin-bottom: 1em;
}

/* ジェネレーター：全体
-------------------------------------- */
.customFieldFunction {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 24px;
  background: #fff;
}

/* ジェネレーター：フィールドグループ、ユニットグループ
-------------------------------------- */
.customFieldGeneratorGroup {
  display: grid;
  row-gap: 24px;
  column-gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "areaTitle  areaVal ."
    "areaButton .       .";
}
.customFieldGeneratorGroup.-openGroup {
  grid-template-areas: "areaTitle  areaVal .";
}
.customFieldGeneratorGroup dd {
  margin: 0;
}
.customFieldGeneratorGroupTitle {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: areaTitle;
}
.customFieldGeneratorGroup.-openGroup > .customFieldGeneratorGroupTitle {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
}
.customFieldGeneratorBasic > .customFieldGeneratorGroupTitle {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
}
.customFieldGeneratorGroupVal {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
  grid-area: areaVal;
}
.customFieldGeneratorGroup.-openGroup > .customFieldGeneratorGroupVal {
  -ms-grid-row: 1;
  -ms-grid-column: 2;
}
.customFieldGeneratorGroupButton {
  -ms-grid-row: 3;
  -ms-grid-column: 1;
  grid-area: areaButton;
}

/* ジェネレーター：ベーシック
-------------------------------------- */
.customFieldGeneratorBasic {
  display: grid;
  row-gap: 24px;
  column-gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "areaInput   areaTitle       areaField"
    "areaPlaceholder areaTooltip areaTooltip";
}
.customFieldGeneratorBasic label,
.customFieldGeneratorBasic dt,
.customFieldGeneratorGroup label,
.customFieldGeneratorGroup dt {
  display: flex;
  gap: 4px;
  align-items: center;
  padding-bottom: 8px;
}
.customFieldGeneratorBasicInput {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: areaInput;
}
.customFieldGeneratorBasicTitle {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: areaTitle;
}
.customFieldGeneratorGroup.-openGroup > .customFieldGeneratorBasicTitle {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
}
.customFieldGeneratorBasic > .customFieldGeneratorBasicTitle {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
}
.customFieldGeneratorBasicField {
  -ms-grid-row: 1;
  -ms-grid-column: 5;
  grid-area: areaField;
}
.customFieldGeneratorBasicTooltip {
  -ms-grid-row: 3;
  -ms-grid-column: 3;
  -ms-grid-column-span: 3;
  grid-area: areaTooltip;
}
.customFieldGeneratorBasicPlaceholder {
  -ms-grid-row: 3;
  -ms-grid-column: 1;
  grid-area: areaPlaceholder;
}

/* ジェネレーター：バリデーター
-------------------------------------- */
.customFieldValidatorLabel {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.customFieldValidatorToggle {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transition: transform;
  transform: rotateZ(45deg);
  transform-origin: center center;
}

/* アコーディオン
-------------------------------------- */
.customFieldAccordionContent {
  display: grid;
  transition: 0.3s;
  transition-property: grid-template-rows;
}
.customFieldAccordionContent[aria-hidden=true] {
  grid-template-rows: 0fr;
}

.customFieldAccordionContent[aria-hidden=false] {
  grid-template-rows: 1fr;
}
.customFieldAccordionContent__inner {
  overflow: hidden;
}

/* ナビゲーター：コード操作
-------------------------------------- */
.customFieldNavigatorCode {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 20px;
}
.customFieldNavigatorCodeButtonList {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

/* ボタン
-------------------------------------- */
.customFieldCopied {
  position: absolute;
  bottom: -52px;
  left: -30px;
  background-color: rgba(0, 0, 0, .5);
  font-size: 10px;
  width: 150px;
  padding: 10px;
  color: #ffffff;
  text-align: center;
  display: inline-block;
  border-radius: 3px;
  transition: background-color .2s ease-in;
}

.hljs {
  border-radius: 5px;
  padding: 20px;
  /* background-color: #F0F0F0 !important; */
  min-height: 19.391px;
}

.customFieldCopied:after {
  content: ' ';
  position: absolute;
	height: 0;
  width: 0;
  top: 0;
	left: 50%;
	border: 6px solid transparent;
	border-bottom-color: rgba(0, 0, 0, .5);
  margin-top: -12px;
  margin-left: -6px;
  transition: border .2s ease-in;
}

.customFieldCopied.active:after {
  border-bottom-color: rgba(0, 0, 0, .8);
}

.customFieldLabelRequired {
  background-color: #c40f32;
  color: #ffffff;
  font-size: 11px;
  padding: 2px 5px;
  border-radius: 2px;
  margin-left: 10px;
}

.customFieldUseSnippet {
  display: inline-block;
  margin-left: 25px;
}

.customFieldLine {
  height: 1px;
  background-color: #cccccc;
  border: none;
}

.customFieldValidatorArea {
  display: grid;
  gap: 16px;
  grid-template-colmuns: repeat(1, minmax(0, 1fr));
  margin-top: 8px;
  background-color: #F7F7F7;
  padding: 20px;
}

.customFieldValidatorArea .acms-admin-icon-tooltip {
  margin-left: 10px;
}

.customFieldBold {
  margin-bottom: 10px;
}
.customFieldBold .acms-admin-icon-tooltip {
  margin-left: 10px;
}

.customFieldOptionTable {
  width: auto !important;
  /* border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc; */
}

.customFieldOptionTable th,
.customFieldOptionTable td {
  border: none;
  white-space: nowrap;
  padding-top: 5px;
  padding-bottom: 5px;
}

.customFieldOptionTable th:nth-child(1) {
  width: 20%;
}

.customFieldOptionTable th:nth-child(2) {
  width: 12%;
}

.customFieldOptionTable th:nth-child(3) {
  width: 62%;
}

.customFieldOptionTable tr {
  /* border-bottom: 1px solid #cccccc; */
}

.customFieldOptionTable th:first-child,
.customFieldOptionTable td:first-child {
  padding-left: 0;
}

.customFieldOptionTable th:last-child,
.customFieldOptionTable td:last-child {
  padding-right: 0;
}

.customFieldOptionTable td:last-child {
  width: 50px;
}

.customFieldOptionTable .acms-admin-btn-admin {
  margin-right: 0 !important;
}

.customFieldOptionTableInput {
  display: table;
  /*width: 100%;*/
}

.customFieldOptionTableAppend {
  display: table-cell;
}

.customFieldOptionTable input {
  display: table-cell;
}

.customFieldBasicTable {
  border: none !important;
}

.customFieldBasicTable tr {
  border: none !important;
}

.customFieldBasicTable td {
  border-bottom: none !important;
}

.customFieldBasicTable .acms-admin-label {
  margin-left: 10px;
}

.customFieldBasicTable th {
  white-space: nowrap;
}

.customFieldBasicTableFirst td:nth-child(1) {
  width: 12%;
}

.customFieldBasicTableFirst td:nth-child(2) {
  width: 20%;
}

.customFieldBasicTableFirst td:nth-child(3) {
  width: 20%;
}

.customFieldBasicTableFirst td:nth-child(4) {
  width: 48%;
}

.customFieldBasicTableFirst {
  margin-bottom: 10px;
}

.customFieldBasicTable tr:last-child td {
  padding-bottom: 5px;
}

.customFieldSizeInput {
  width: 50%;
}

.customFieldLine {
  height: 1px;
  background-color: #cccccc;
}

.customFieldBasicTableImg td {
  width: 25%;
  white-space: nowrap;
}

.customFieldBasicTableFile td:nth-child(1) {
  width: 25%;
}

.customFieldInputGroup {
  position: relative;
  display: table;
  border-collapse: separate;
  width: 100%;
}

.customFieldInputGroup input {
  display: table-cell;
  position: relative;
  z-index: 2;
  float: left;
  width: 100%;
  margin-bottom: 0;
}

.customFieldInputGroupAddon {
  width: 1%;
  white-space: nowrap;
  vertical-align: middle;
  display: table-cell;
  padding-right: 10px;
}

.customFieldBasicTableGroup {
  border-bottom: none;
  width: 40%;
}

.customFieldGroupBtn {
  width: 185px;
}

.customFieldBasicTable tr {
  border: none;
}

.customFieldBasicTable tr:last-child td {
  border-bottom: none;
}

.customFieldBasicTable th:first-child,
.customFieldBasicTable td:first-child {
  padding-left: 0 !important;
}

.customFieldSubTable {
  background: transparent;
  border: none;
  border-top: 1px solid #cccccc;
  margin-top: 10px;
}

.customFieldGroupSubTable {
  border-top: none;
  margin-top: 0;
}

.customFieldSubTable tr {
  border: none;
}

.customFieldSubTable tbody tr:last-child td,
.customFieldSubTable tbody tr:last-child th {
  border-bottom: none;
}

.customFieldCopied.active {
  background-color: rgba(0, 0, 0, 0.8);
}

#converter {
  background-color: rgba(0, 0, 0, 0.5);
}

.customFieldBold {
  font-weight: bold;
}

.customFieldSnippet {
  margin-left: 10px;
}

.customFieldOptionBlock {
  margin-left: 20px;
  margin-bottom: 10px;
}

.customFieldCopyBtn {
  position: relative;
  top: -2px;
}

.customFieldPreview {
  background-color: #ffffff;
  padding: 15px;
}

.customFieldPreview input[type=text],
.customFieldPreview textarea {
  color: #dddddd;
}

.customFieldUseSnippetLabel {
  color: #006dec;
  cursor: pointer;
  display: inline-block;
  height: 27px;
  vertical-align: middle;
  line-height: 27px;
}

.customFieldFileContainer {
  padding-top: 10px;
}

.customFieldInputFileGroup {
  display: inline-block;
  width: 300px;
  padding-right: 5px;
}

.customFieldInputFileExtGroup {
  width: 100px;
  display: inline-block;
  margin-left: 5px;
}

.customFieldFileNameOptContainer {
  padding-bottom: 10px;
}

.customFieldMakeBtn {
  padding-right: 70px;
  padding-left: 70px;
}

.customFieldDirectionBtnGroup {
  display: inline-table;
  overflow: hidden;
  margin-right: 15px;
  border-radius: 3px;
  vertical-align: middle;
}

.customFieldDirectionBtnGroup input {
  display: none;
}

.customFieldDirectionBtnGroupSide {
  display: inline-block;
  margin-right: 5px;
}

.customFieldDirectionBtn {
  display: table-cell;
  background-color: #F7F7F7;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 5px 10px;
  font-size: 11px;
  cursor: pointer;
}

.customFieldDirectionBtn.active {
  background-color: #e1e1e1;
  border-color: rgba(0, 0, 0, .3);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.3);
  color: #333;
}

.customFieldDirectionBtn img {
  display: inline-block;
  width: 18px;
  height: auto;
  vertical-align: middle;
}

.customFIeldmakerHeilighter {
  margin: 0;
}

