@charset "UTF-8";
/* 全体のレイアウト */
#form-fields-container {
  max-width: 800px;
  margin: 20px auto;
  background-color: #f7f7f7;
  padding: 20px;
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* フォーム項目のリスト */
#form-fields-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#form-email-settings-list .setting-group {
  background-color: #ddd;
  padding: 10px;
  margin: 1em auto;
}

.form-input-content {
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2509803922);
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2509803922);
  margin-bottom: 1em;
  border: 1px solid #000;
}

.list-move {
  padding: 8px;
}

.form-field-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #ffffff;
  margin-bottom: 10px;
  padding: 10px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 5px;
}
.form-field-item:last-child {
  margin-bottom: 0;
}
.form-field-item textarea {
  height: 200px;
}
.form-field-item textarea#easy_form_confirm_url, .form-field-item textarea#easy_form_complete_url {
  height: auto;
}
.form-field-item .field-htmlbox {
  width: 100%;
}
.form-field-item .field-htmlbox textarea {
  margin-top: 1em;
  width: 100%;
}

.form-input-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.form-input-container .field-group {
  width: 100%;
}
.form-input-container .field-group input,
.form-input-container .field-group select {
  width: 100%;
}
@media screen and (max-width: 1400px) {
  .form-input-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: left;
        -ms-flex-pack: left;
            justify-content: left;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}

/* フォーム入力フィールドのスタイル */
.form-field-item input,
.form-field-item select {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-size: 14px;
}

#form-require-settings-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1em;
}
#form-require-settings-list li {
  margin-bottom: 0;
}
#form-require-settings-list li label input {
  margin-right: 0;
}

/* ボタンスタイル */
#add-field,
#save-fields,
.remove-field,
.add-option,
.remove-option {
  background-color: #0073aa;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}

#add-field:hover,
#save-fields:hover,
.remove-field:hover {
  background-color: #005177;
}

/* 削除ボタンのスタイル */
.remove-field {
  background-color: #dc3232;
}

.remove-option {
  background-color: #ff00ff;
}

.remove-field:hover {
  background-color: #a82020;
}

/* ラベルのスタイル */
.form-field-item input::-webkit-input-placeholder {
  color: #999;
}

.form-field-item input::-moz-placeholder {
  color: #999;
}

.form-field-item input:-ms-input-placeholder {
  color: #999;
}

.form-field-item input::-ms-input-placeholder {
  color: #999;
}

.form-field-item input::placeholder {
  color: #999;
}

/* フォームのアニメーション */
.form-field-item {
  -webkit-animation: fadeIn 0.5s ease;
  animation: fadeIn 0.5s ease;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
.form-input {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 3px;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.form-input span {
  background-color: #136fff;
  color: #fff;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 2px 3px;
  min-width: 45px;
  text-align: center;
}

/* ヘッダーと説明のスタイル */
h1 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}

p {
  color: #666;
  margin-bottom: 20px;
  font-size: 14px;
}

.field-group {
  padding: 5px 0;
}

.field-group label {
  display: block;
  font-weight: bold;
}

.field-group.fg-options {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 115, 170, 0.5647058824);
          box-shadow: 0 1px 1px rgba(0, 115, 170, 0.5647058824);
  padding: 5px;
}

.field-group.fg-options .option-group {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  padding: 5px 0;
  /* background-color: green; */
}

.field-group.fg-options .option-group input {
  width: 100%;
}

.field-options {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  width: 100%;
  padding: 5px 0;
}

.file-options {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  width: 100%;
  padding: 5px 0;
}
.file-options label {
  background-color: #114514;
  color: #FFF;
  padding: 5px;
  margin: 10px 0;
  display: block;
  border-radius: 5px;
}
.file-options input[type=text] {
  width: 100%;
}

.option-list {
  margin-top: 10px;
}
.field-controls {
  padding: 5px;
}

.modify-option-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 115, 170, 0.5647058824);
          box-shadow: 0 1px 1px rgba(0, 115, 170, 0.5647058824);
  padding: 5px;
}

.notice.notice-error.notce--swlr-no-activated {
  display: none !important;
}

#easy-form-encrypt-settings #form-email-settings-list .setting-group .form-field-item {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
  gap: 1em;
}

/* DB画面のCSS */
.db-back {
  margin: 1em 0;
}

.esf_database {
  background-color: #fff;
  padding: 1em;
  overflow-x: scroll;
  width: auto;
  min-width: 1200px;
  border-collapse: collapse;
}
.esf_database > tbody > tr > th,
.esf_database > tbody > tr > td {
  border: 1px solid #000;
}
.esf_database tbody tr th,
.esf_database tbody tr td {
  padding: 0.2em 0.5em;
}
.esf_database tbody tr th {
  text-align: left;
}
table.esf_database_sub_table {
  border: none;
}
table.esf_database_sub_table tbody tr td {
  white-space: nowrap;
}

.form-db-links {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1em;
}
@media screen and (max-width: 1024px) {
  .form-db-links {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 767px) {
  .form-db-links {
    grid-template-columns: 1fr;
  }
}
.form-db-links li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  height: 90px;
  font-size: clamp(20px, 3vw, 30px);
  background-color: #fff;
  text-decoration: none;
  -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1254901961);
          box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1254901961);
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.form-db-links li a:hover {
  -webkit-box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.1254901961);
          box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.1254901961);
  -webkit-transition: 0.3s;
  transition: 0.3s;
  background-color: rgba(255, 255, 255, 0.662745098);
}