@charset "utf-8";

:root {
  --tcdce-main-color: #000000;
  --tcdce-border-color: #dddddd;
}

/* 専用設定 */
body[class*="tcd_classic_editor"] #wpwrap {
  background: #f4f4f4;
}

body[class*="tcd_classic_editor"] #wpcontent {
  padding-left: 0;
}

body[class*="tcd_classic_editor"] #wpbody-content > .notice,
body[class*="tcd_classic_editor"] #wpbody-content > .error {
  display: none;
}

/* reset */
.tcdce-page,
.tcdce-page *,
.tcdce-page *:before,
.tcdce-page *:after {
  box-sizing: border-box;
}

.tcdce-page {
  color: #000;
  font-size: 16px;
  line-height: 1;
  font-family: arial, "Hiragino Sans", "ヒラギノ角ゴ ProN",
    "Hiragino Kaku Gothic ProN", "游ゴシック", yugothic, "メイリオ", meiryo,
    sans-serif;
}

.tcdce-page__inner {
  padding: 40px 0;
  max-width: 1100px;
  width: calc(100% - 40px);
  margin: 0 auto;
}

.tcdce-page__headline {
  font-size: 32px;
  margin: 0;
}

.tcdce-page__desc {
  font-size: 14px;
  line-height: 2.2;
  margin: calc(30px - 0.6em) 0 -0.6em;
}

/* reset */
.tcdce-page a {
  text-decoration: none;
  box-shadow: none;
}

/* header */
.tcdce-header {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 70px;
  padding: 0 35px;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.tcdce-header__nav {
  flex: 1;
  display: flex;
  align-self: stretch;
  gap: 40px;
  margin: 0;
}

.tcdce-header__nav-item {
  margin: 0;
}

.tcdce-header__nav-link {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  color: #000;
  transition: color 0.2s ease;
}

.tcdce-header__nav-link.is-active {
  pointer-events: none;
}

.tcdce-header__nav-link.is-active:after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: #000;
  position: absolute;
  left: 0;
  bottom: -1px;
}

.tcdce-header__info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.tcdce-header__info-link {
  display: grid;
  place-items: center;
  width: 130px;
  height: 45px;
  font-size: 14px;
  color: #000;
  border: 1px solid #ddd;
  border-radius: 3px;
  transition: color 0.3s ease;
}

@media (any-hover: hover) {
  .tcdce-header__nav-link:hover {
    color: rgb(0 0 0 / 50%);
  }

  .tcdce-header__info-link:hover {
    color: rgb(0 0 0 / 50%);
  }
}

/* message */
.tcdce-message {
  position: -webkit-sticky;
  position: sticky;
  top: 32px;
  z-index: 99;
  color: #fff;
  font-size: 14px;
  text-align: center;
  height: 0;
}

.tcdce-message--success,
.tcdce-message--failed,
.tcdce-message--reset,
.tcdce-message--imported {
  position: absolute;
  inset: 0;
  height: 40px;
  line-height: 40px;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.tcdce-message--success,
.tcdce-message--imported {
  background: #00c554;
}

.tcdce-message--failed {
  background: #d80000;
}

.tcdce-message--reset {
  background: #0075c5;
}

.tcdce-page.is-success .tcdce-message,
.tcdce-page.is-failed .tcdce-message,
.tcdce-page.is-reset .tcdce-message,
.tcdce-page.is-imported .tcdce-message {
  height: 40px;
}

.tcdce-page.is-success .tcdce-message--success,
.tcdce-page.is-failed .tcdce-message--failed,
.tcdce-page.is-reset .tcdce-message--reset,
.tcdce-page.is-imported .tcdce-message--imported {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

/* main setting */
.tcdce-setting {
  position: relative;
  padding: 40px;
  background: #fff;
  border: 1px solid var(--tcdce-border-color);
  margin-top: 40px;
}

.tcdce-setting__headline {
  font-size: 20px;
  line-height: 1.6;
  margin: -0.3em 0 calc(40px - 0.3em);
}

/* import / export */
.tcdce-setting-data {
  display: flex;
  gap: 10px;
  position: absolute;
  inset: 30px 40px auto auto;
}

.tcdce-setting-data-action {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 40px;
  border: 1px solid #ddd;
  font-size: 13px;
  padding-inline: 10px 15px;
  transition: opacity 0.5s ease;
}

.tcdce-setting-data-action:has(input:checked) {
  color: #fff;
  background: var(--tcdce-main-color);
  border-color: var(--tcdce-main-color);
}

.tcdce-setting-data-action:hover {
  opacity: 0.8;
}

.tcdce-setting-data-form {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 3;
  display: grid;
  align-content: start;
  row-gap: 10px;
  width: 450px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--tcdce-main-color);
  font-size: 13px;
  line-height: 1.4;
}

.tcdce-setting-data-action:not(:has(input:checked)) + .tcdce-setting-data-form {
  display: none;
}

.tcdce-setting-data-form-button {
  cursor: pointer;
  border: none;
  padding: 0 1em;
  height: 30px;
  font-size: 13px;
  background: var(--tcdce-main-color);
  color: #fff;
}

/* ファイルが未設定の場合にボタン押させない */
input[type="file"]:not([data-file="1"]) + .tcdce-setting-data-form-button {
  opacity: 0.5;
  pointer-events: none;
}

/* UI 汎用 */

/* note */
.tcdce-note {
  font-size: 14px;
  line-height: 1.6;
  padding: 0.7em 1em;
  background: #f6f6f6;
}

/* text */
.tcdce-text {
  position: relative;
}

.tcdce-text__input {
  width: 100%;
  height: 35px;
  padding: 0 10px !important;
  border-radius: 0 !important;
  border-color: var(--tcdce-border-color) !important;
  box-shadow: none !important;
  margin: 0;
}

.tcdce-text__input:focus {
  border-color: var(--tcdce-main-color) !important;
}

.tcdce-text__input.is-empty {
  background: rgb(217 0 0 / 10%);
  border-color: #d90000 !important;
}

.tcdce-text__input-error {
  display: none;
  font-size: 12px;
  color: #d90000;
  margin-top: 5px;
}

.tcdce-text__input.is-empty ~ .tcdce-text__input-error {
  display: block;
}

/* 未入力時にsubmitさせない */
.tcdce-setting:has(.tcdce-text__input.is-empty) .tcdce-submit {
  opacity: 0.5;
  pointer-events: none;
}

/* textarea */
.tcdce-textarea__value {
  width: 100%;
  padding: calc(10px - 0.2rem) 10px !important;
  border-radius: 0 !important;
  border-color: var(--tcdce-border-color) !important;
  box-shadow: none !important;
}

.tcdce-textarea__value:focus {
  border-color: var(--tcdce-main-color) !important;
}

/* number */
.tcdce-number {
  display: flex;
}

.tcdce-number__label {
  position: relative;
  flex: 1;
}

.tcdce-number__label + .tcdce-number__label {
  margin-left: -1px;
}

.tcdce-number__input {
  position: relative;
  width: 100%;
  height: 35px;
  padding: 0 10px !important;
  border-radius: 0 !important;
  border-color: var(--tcdce-border-color) !important;
  box-shadow: none !important;
}

.tcdce-number__icon {
  fill: var(--tcdce-main-color);
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 100%;
  font-size: 14px;
}

.tcdce-number__icon:has(svg) {
  font-size: 24px;
}

.tcdce-number__icon + .tcdce-number__input {
  padding: 0 10px 0 40px !important;
}

.tcdce-number__unit {
  pointer-events: none;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-size: 12px;
  color: #999;
}

.tcdce-number__input:focus {
  z-index: 1;
  border-color: var(--tcdce-main-color) !important;
}

.tcdce-number__input:hover ~ .tcdce-number__unit,
.tcdce-number__input:focus ~ .tcdce-number__unit {
  display: none;
}

/* radio */
.tcdce-radio {
  display: flex;
}

.tcdce-radio__label {
  flex: 1;
}

.tcdce-radio__label + .tcdce-radio__label {
  margin-left: -1px;
}

.tcdce-radio__input {
  display: none !important;
}

.tcdce-radio__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 35px;
  border: 1px solid var(--tcdce-border-color);
  font-size: 13px;
}

.tcdce-radio__icon:has(svg) {
  font-size: 24px;
}

.tcdce-radio__input:checked + .tcdce-radio__icon {
  fill: #fff;
  color: #fff;
  background: var(--tcdce-main-color);
  border-color: var(--tcdce-main-color);
  z-index: 1;
}

.tcdce-edit__options-field__item:has(input[type="number"][readonly]) {
  display: none;
}

/* radio icon */
.tcdce-radio-icon {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}

.tcdce-radio-icon__label {
  cursor: pointer;
  display: grid;
  place-items: center;
  height: 30px;
  background: #fafafa;
  font-size: 18px;
  font-family: "editor";
  -webkit-font-smoothing: antialiased;
}

.tcdce-radio-icon__label:has(input:checked) {
  color: #fff;
  background: var(--tcdce-main-color);
}

/* color picker */
.tcdce-color {
  cursor: pointer;
  height: 35px;
  border: 1px solid var(--tcdce-border-color);
}

.tcdce-color__input {
  pointer-events: none;
  width: 100%;
  height: 100% !important;
  padding: 0 !important;
  font-size: 13px;
  text-align: center;
  color: inherit !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  margin: 0;
  -webkit-filter: invert(100%) grayscale(100%) contrast(100);
  filter: invert(100%) grayscale(100%) contrast(100);
}

/* select */
.tcdce-select-box {
  max-width: 100% !important;
  width: 100%;
  height: 35px;
  padding: 0 35px 0 10px !important;
  border-radius: 0 !important;
  border-color: var(--tcdce-border-color) !important;
  box-shadow: none !important;
  background-position: right 10px top 50% !important;
}

.tcdce-select-box:focus,
.tcdce-select-box:hover {
  color: inherit !important;
}

/* .p-vanilla-picker {
  cursor: pointer;
  display: flex;
  width:100%;
  height:35px;
  border: 1px solid var(--tcdce-border-color);
}
.p-vanilla-picker__color {
  flex: 0 0 33px;
  height:100%;
  background: var(--tcdce-border-color);
}
.p-vanilla-picker__sep {
  flex: 0 0 1px;
  height:100%;
  background: var(--tcdce-border-color);
} */
.p-vanilla-picker__value {
  pointer-events: none;
  flex: 1;
  width: 100%;
  padding: 0 !important;
  font-size: 13px;
  text-align: center;
  border: none !important;
  border-radius: 0 !important;
}

/* 画像アップローダー */

.tcdce-image {
  font-size: 13px;
}

.tcdce-image__input {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 35px;
  padding: 1px 10px 0;
  border: 1px solid var(--tcdce-border-color);
}

.tcdce-image__input-icon {
  display: grid;
  font-size: 1.8em;
}

.tcdce-image__uploaded {
  position: relative;
  background: #fafafa;
}

.tcdce-image__delete {
  cursor: pointer;
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #fafafa;
  border-radius: 50%;
}

.tcdce-image__uploaded-image {
  height: 70px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  border: 1px solid var(--tcdce-border-color);
}

.tcdce-image__change {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  color: #fff;
  background: var(--tcdce-main-color);
  margin-top: -1px;
}

.tcdce-image__value,
.tcdce-image__value:not(:placeholder-shown) ~ .tcdce-image__input,
.tcdce-image__value:placeholder-shown ~ .tcdce-image__uploaded {
  display: none;
}

/* toggle */
.tcdce-toggle:has(.tcdce-toggle__label) {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tcdce-toggle-wrapper + .tcdce-toggle-wrapper {
  margin-top: 15px;
}

.tcdce-toggle__input {
  display: none !important;
}

.tcdce-toggle__button {
  position: relative;
  display: flex;
  align-items: center;
  width: 30px;
  height: 17px;
}

.tcdce-toggle__button:before {
  content: "";
  width: 30px;
  height: 10px;
  border-radius: 10px;
  background: var(--tcdce-border-color);
}

.tcdce-toggle__button:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--tcdce-border-color);
}

.tcdce-toggle__input:checked + .tcdce-toggle__button:before {
  background: currentColor;
}

.tcdce-toggle__input:checked + .tcdce-toggle__button:after {
  left: calc(100% - 17px);
  border-color: currentColor;
}

.tcdce-toggle__label {
  font-size: 14px;
  flex: 1;
  opacity: 0.5;
}

.tcdce-toggle__input:checked ~ .tcdce-toggle__label {
  opacity: 1;
}

/* preset */
.tcdce-preset {
  cursor: pointer;
  background: #fff !important;
}

.tcdce-preset::-webkit-input-placeholder {
  font-size: 13px;
  color: #000;
}

.tcdce-preset::-moz-placeholder {
  font-size: 13px;
  color: #000;
}

.tcdce-preset:-ms-input-placeholder {
  font-size: 13px;
  color: #000;
}

.tcdce-preset::-ms-input-placeholder {
  font-size: 13px;
  color: #000;
}

.tcdce-preset::placeholder {
  font-size: 13px;
  color: #000;
}

/* submit */
.tcdce-submit-wrapper {
  display: grid;
  place-items: center;
  margin-top: 40px;
}

.tcdce-edit .tcdce-submit-wrapper,
.tcdce-repeater .tcdce-submit-wrapper {
  margin-top: 25px;
}

.tcdce-submit {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 200px;
  max-width: 100%;
  height: 50px;
  border-radius: 40px;
  border: none;
  background: var(--tcdce-main-color);
  font-size: 14px;
  color: #fff;
  transition: background 0.2s ease;
}

.tcdce-submit:before {
  content: "";
  display: none;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  border: 3px solid rgb(255 255 255 / 50%);
  border-top-color: rgb(255 255 255 / 75%);
  -webkit-animation: submitSpin 1s infinite linear;
  animation: submitSpin 1s infinite linear;
}

.tcdce-submit.is-click {
  color: rgb(255 255 255 / 70%);
  pointer-events: none;
}

.tcdce-submit.is-click:before {
  display: block;
}

@-webkit-keyframes submitSpin {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes submitSpin {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (any-hover: hover) {
  .tcdce-submit:hover {
    background: rgb(0 0 0 / 50%);
  }
}

/* reset */
.tcdce-base-fields__reset {
  text-align: center;
  margin-top: 30px;
}

.tcdce-base-fields__reset-action {
  cursor: pointer;
  font-size: 14px;
  text-decoration: underline;
}

.tcdce-base-fields__reset-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  transition: grid-template-rows 0.3s ease, -ms-grid-rows 0.3s ease;
}

.tcdce-base-fields__reset-action.is-open + .tcdce-base-fields__reset-content {
  grid-template-rows: 1fr;
}

.tcdce-base-fields__reset-inner {
  overflow: hidden;
}

.tcdce-base-fields__reset-desc {
  margin: calc(30px - 0.5em) 0 -0.5em;
  line-height: 2;
  color: #d80000;
}

.tcdce-base-fields__reset-button {
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  width: 200px;
  max-width: 100%;
  height: 50px;
  color: var(--tcdce-main-color);
  background: #fff;
  border: 1px solid var(--tcdce-main-color);
  border-radius: 50px;
  font-size: 14px;
  transition: color 0.3s ease, background 0.3s ease;
  margin-top: 20px;
}

@media (any-hover: hover) {
  .tcdce-base-fields__reset-button:hover {
    color: #fff;
    background: var(--tcdce-main-color);
  }
}

/* repeater */
.tcdce-repeater {
  margin-bottom: 40px;
}

.tcdce-repeater__list {
}

.tcdce-repeater__item {
  width: 100%;
  background: #fff;
  border: 1px solid var(--tcdce-border-color);
  box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 5%);
  margin-bottom: 10px;
}

.tcdce-repeater__item:hover {
  border-color: var(--tcdce-main-color);
}

/* placeholder */
.tcdce-repeater__placeholder {
  height: 52px;
  border: 1px dashed #000000;
  background: #f4f4f4;
  margin: 0 0 10px 0;
}

/* title */
.tcdce-repeater__item-title {
  cursor: pointer;
  display: flex;
  align-items: center;
  height: 50px;
  fill: #000;
}

.tcdce-repeater__item-title__handle {
  cursor: pointer;
  fill: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 50px;
  height: 100%;
  font-size: 24px;
}

.tcdce-repeater__item-title__toggle {
  margin-right: 15px;
}

.tcdce-repeater__item-title__icon {
  display: grid;
  font-size: 2em;
  margin-right: 40px;
}

.tcdce-repeater__item-title__register {
  flex: 1;
  display: flex;
  gap: 10px;
}

.tcdce-repeater__item-title__register-label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 60px;
  height: 25px;
  font-size: 10px;
  color: var(--tcdce-main-color);
  border: 1px solid var(--tcdce-border-color);
  border-radius: 25px;
}

.tcdce-repeater__item-title__register-name {
  flex: 1;
  font-size: 14px;
  line-height: 25px;
  font-weight: 600;
}

.tcdce-repeater__item-title__delete {
  fill: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 50px;
  height: 100%;
  margin-right: -20px;
  z-index: 1;
  font-size: 24px;
}

.tcdce-repeater__item-title__expand {
  fill: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 50px;
  height: 100%;
  font-size: 24px;
}

/* open */
.tcdce-repeater__item.is-open {
  border-color: var(--tcdce-main-color);
}

.tcdce-repeater__item.is-open .tcdce-repeater__item-title {
  fill: #fff;
  color: #fff;
  background: var(--tcdce-main-color);
}

.tcdce-repeater__item.is-open .tcdce-repeater__item-title__register-label {
  color: #fff;
  border-color: #fff;
}

/* toggle */
.tcdce-repeater__item.is-open .tcdce-repeater__item-title__toggle {
  --tcdce-border-color: #333333;
}

.tcdce-repeater__item.is-open
  .tcdce-repeater__item-title__toggle
  .tcdce-toggle__button:after {
  background: #000;
}

/* content */
.tcdce-repeater__item:not(.is-open) .tcdce-repeater__item-content {
  display: none;
}

.tcdce-repeater__item-content {
  padding: 30px;
}

/* edit */
.tcdce-edit {
  display: flex;
  gap: 30px;
}

.tcdce-edit__options-field + .tcdce-edit {
  margin-top: 30px;
}

/* preview */
.tcdce-edit__preview {
  position: -webkit-sticky;
  position: sticky;
  top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 500px;
  padding: 30px;
  border: 1px solid var(--tcdce-border-color);
  background-color: #fff;
  background-image: repeating-linear-gradient(
      45deg,
      #e4e5e4 25%,
      transparent 25%,
      transparent 75%,
      #e4e5e4 75%,
      #e4e5e4
    ),
    repeating-linear-gradient(
      45deg,
      #e4e5e4 25%,
      #ffffff 25%,
      #ffffff 75%,
      #e4e5e4 75%,
      #e4e5e4
    );
  background-position: 0 0, 5px 5px;
  background-size: 10px 10px;
}

.tcdce-edit__preview:has(.tcdce-preview--gmap) {
  height: auto;
}

.tcdce-edit__preview-content {
  flex: 1;
}

/* switch */
.tcdce-edit__preview-switch {
  cursor: pointer;
  position: absolute;
  inset: 10px auto auto 10px;
  display: grid;
  grid-template-columns: 45px 45px 80px;
  grid-template-rows: 30px;
}

.tcdce-edit__preview-switch-item {
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid var(--tcdce-main-color);
  font-size: 20px;
}

.tcdce-edit__preview-switch-item[data-type="pc"] {
  border-radius: 3px 0 0 3px;
}

.tcdce-edit__preview-switch-item[data-type="sp"] {
  border-radius: 0 3px 3px 0;
}

.tcdce-edit__preview-switch[data-device="pc"]
  .tcdce-edit__preview-switch-item[data-type="pc"],
.tcdce-edit__preview-switch[data-device="sp"]
  .tcdce-edit__preview-switch-item[data-type="sp"] {
  color: #fff;
  background: var(--tcdce-main-color);
}

.tcdce-edit__preview-switch[data-device="sp"] ~ .tcdce-edit__preview-content {
  max-width: 400px;
}

/* ガイド */
.tcdce-edit__preview-guide {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  font-size: 12px;
  padding-inline: 10px;
  border: 1px solid var(--tcdce-main-color);
  margin-left: 10px;
  border-radius: 3px;
}

.tcdce-edit__preview-guide:before {
  content: "";
  font-size: 15px;
  width: 1em;
  height: 1em;
  border: 1px dashed;
}

.tcdce-edit__preview-guide:after {
  content: "OFF";
}

.tcdce-edit__preview-switch[data-guide="on"] .tcdce-edit__preview-guide {
  color: #fff;
  background: var(--tcdce-main-color);
}

.tcdce-edit__preview-switch[data-guide="on"] .tcdce-edit__preview-guide:after {
  content: "ON";
}

.tcdce-edit__preview-switch[data-guide="on"] ~ .tcdce-edit__preview-content > *,
.tcdce-edit__preview-switch[data-guide="on"]
  ~ .tcdce-edit__preview-content
  > *:before {
  outline: dashed 2px rgb(0 0 0 / 30%);
}

.tcdce-edit:has(.tcdce-heading-el-type[data-select="0"])
  .tcdce-edit__preview-content
  > *:before {
  outline: none;
}

/* option */
.tcdce-edit__options {
  flex: 1;
}

.tcdce-edit__preview + .tcdce-edit__options {
  flex: 0 0 200px;
}

.tcdce-edit__options-title {
  font-size: 16px;
  line-height: 1.6;
  margin: -0.3em 0 calc(20px - 0.3em);
}

.tcdce-edit__options-field + .tcdce-edit__options-title {
  margin-top: 20px;
}

.tcdce-edit__options-field {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 10px;
}

.tcdce-edit__options-field__item[data-col="0"] {
  display: none;
}

.tcdce-edit__options-field__item[data-col="1"] {
  flex: 0 0 100%;
}

.tcdce-edit__options-field__item[data-col="2"] {
  flex: 0 0 calc(50% - 5px);
}

.tcdce-edit__options-field__item[data-col="3"] {
  flex: 0 0 calc(33% - 5px);
}

.tcdce-edit__options-field__item[data-col="4"] {
  flex: 0 0 calc(25% - 5px);
}

.tcdce-edit__options-field__item:has(.tcdce-color__input[value=""]) {
  /* display: none; */
}

.tcdce-edit__options-name {
  display: block;
  font-size: 11px;
  margin-bottom: 5px;
}

/* repeater add */
.tcdce-repeater-add {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.tcdce-repeater-add__item {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  width: calc((100% - 60px) / 5);
  height: 50px;
  padding: 0 20px;
  border: 1px solid var(--tcdce-border-color);
  font-size: 14px;
  transition: all 0.1s ease;
}

.tcdce-repeater-add__item-icon {
  display: grid;
  font-size: 2em;
  margin-left: -0.2em;
}

.tcdce-repeater-add__item:hover {
  color: #fff;
  background-color: var(--tcdce-main-color);
  border-color: var(--tcdce-main-color);
}

/* クイックタグ未登録 */
.tcdce-repeater-unregistered {
  font-size: 14px;
  margin-bottom: 50px;
}

/* アイテムが存在する場合は非表示 */
.tcdce-repeater:has(.tcdce-repeater__item) + .tcdce-repeater-unregistered {
  display: none;
}

/* プレビュー */
.tcdce-preview--h2,
.tcdce-preview--h3,
.tcdce-preview--h4,
.tcdce-preview--h5,
.tcdce-preview--h6,
.tcdce-preview--ul,
.tcdce-preview--ol,
.tcdce-preview--box,
.tcdce-preview--sb {
  margin-block: 0 !important;
}

.tcdce-preview--ul,
.tcdce-preview--ol {
  width: 100%;
}

/* google map */
.tcdce-preview--gmap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tcdce-preview--gmap-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.tcdce-preview--gmap-marker {
  position: relative;
  z-index: 1;
}

.tcdce-preview--gmap-marker--default {
  margin-top: -37px;
}

.tcdce-preview--gmap-marker--text {
  --tcdce-gmap-image-url: ;
}

/* カラータイプ */
.tcdce-edit:has(.tcdce-radio__input[value="-100"]:checked)
  .tcdce-preview--gmap-bg {
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
}

/* マーカータイプ */
.tcdce-edit:has(.tcdce-radio__input[value="default"]:not(:checked))
  .tcdce-preview--gmap-marker--default,
.tcdce-edit:has(.tcdce-radio__input[value="text"]:not(:checked))
  .tcdce-preview--gmap-marker--text,
.tcdce-edit:has(.tcdce-radio__input[value="image"]:not(:checked))
  .tcdce-preview--gmap-marker--image {
  display: none;
}

.tcdce-gmap-option--text,
.tcdce-gmap-option--image {
  display: none;
}

.tcdce-edit:has(.tcdce-radio__input[value="text"]:checked)
  .tcdce-gmap-option--text,
.tcdce-edit:has(.tcdce-radio__input[value="image"]:checked)
  .tcdce-gmap-option--image {
  display: block;
}

/* モーダル */
body.is-modal-open {
  overflow: hidden;
}

.tcdce-modal,
.tcdce-modal *,
.tcdce-modal *:before,
.tcdce-modal *:after {
  box-sizing: border-box;
}

.tcdce-modal {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  height: 100%;
  color: #000;
  display: none;
  pointer-events: none;
}

.tcdce-modal.is-open {
  display: block;
  pointer-events: auto;
}

.tcdce-modal__scroll {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 0;
  overflow: hidden auto;
}

.tcdce-modal__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: calc(100% - 40px);
  background: #fff;
  border: 1px solid var(--tcdce-border-color);
  padding: 40px;
}

/* header */
.tcdce-modal__header {
  display: flex;
  align-items: center;
  padding: 20px 40px;
  margin: -41px -41px 40px;
  color: #fff;
  background: var(--tcdce-main-color);
}

.tcdce-modal__header-title {
  color: inherit;
  font-size: 24px;
  margin: 0;
  flex: 1;
}

.tcdce-modal__header-close {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 120px;
  height: 45px;
  font-size: 14px;
  border: 1px solid #fff;
  border-radius: 45px;
}

.tcdce-modal__desc {
  margin-bottom: 40px;
}

.tcdce-modal__preset {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 0 40px;
}

.tcdce-modal__preset-item {
  cursor: pointer;
  grid-column: 1 / span 2;
  padding: 20px;
  border: 1px solid var(--tcdce-border-color);
  margin: 0;
}

.tcdce-modal__preset-item.is-select {
  border-color: var(--tcdce-main-color);
  box-shadow: 0px 0px 0px 3px var(--tcdce-main-color);
}

.tcdce-modal__preset-item__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.tcdce-modal__preset-item__preview {
  display: flex;
  justify-content: center;
}

.tcdce-modal__preset-item__preview .tcdce-preview--sb {
  width: 100%;
  max-width: 600px;
}

.tcdce-modal__select {
  position: -webkit-sticky;
  position: sticky;
  bottom: -50px;
  z-index: 1;
  pointer-events: none;
  text-align: center;
}

.tcdce-modal__select-button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 60px;
  border-radius: 60px;
  font-size: 16px;
  color: #fff;
  background: var(--tcdce-main-color);
  opacity: 0.5;
}

.tcdce-modal__select-button.is-selected {
  opacity: 1;
  pointer-events: auto;
}

.tcdce-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 50%);
}

/* base option */
.tcdce-base-fields {
}

.tcdce-base-fields__item {
  width: 100%;
  display: flex;
  gap: 20px;
}

.tcdce-base-fields__item + .tcdce-base-fields__item {
  padding-top: 30px;
  border-top: 1px solid #eee;
  margin-top: 30px;
}

.tcdce-base-fields__item-left {
  flex: 0 0 50%;
}

.tcdce-base-fields__item-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  margin: -0.3em 0;
}

.tcdce-base-fields__item-desc {
  font-size: 11px;
  color: #999;
  margin: calc(10px - 0.25em) 0 -0.25em;
}

.tcdce-base-fields__item-right {
  flex: 0 0 50%;
}

.tcdce-base-fields__item-right .tcdce-number {
  max-width: 200px;
}

.tcdce-base-fields__item-right .tcdce-color {
  max-width: 100px;
}

/* color picker */
.tcdce-color .picker_wrapper.popup {
  width: 180px;
  margin: 0;
  background: #fff;
  border: 1px solid #000;
  box-shadow: 0px 0px 10px 5px rgb(0 0 0 / 5%);
  bottom: calc(100% + 5px);
}

.tcdce-color .picker_wrapper.popup {
  left: 50%;
  transform: translateX(-50%);
}

.tcdce-color .popup.popup_top .picker_arrow {
  -webkit-clip-path: polygon(0 0, 100% 0%, 50% 100%);
  clip-path: polygon(0 0, 100% 0%, 50% 100%);
  transform: none;
  width: 10px;
  height: 5px;
  background: #000;
  bottom: -5px;
}

.tcdce-color .popup.popup_top .picker_arrow {
  left: 50%;
  transform: translateX(-50%);
}

.tcdce-color .picker_wrapper.popup .picker_arrow::before,
.tcdce-color .picker_wrapper.popup .picker_arrow::after {
  content: none;
}

.tcdce-color .picker_hue {
  box-shadow: 0 0 0 1px #ddd;
}

.tcdce-color .picker_slider .picker_selector {
  border-radius: 50%;
}

.tcdce-color .picker_sl {
  box-shadow: 0 0 0 1px #ddd;
}

.tcdce-color .picker_done {
  display: none;
}

.tcdce-color .picker_wrapper.popup .picker_editor input {
  height: 30px;
  padding: 0 10px;
  font-size: 13px;
  box-shadow: 0 0 0 1px #ddd;
}

.tcdce-color .layout_default .picker_sample {
  flex: 0 0 30px;
  box-shadow: 0 0 0 1px #ddd;
}

.tcdce-color .layout_default .picker_editor {
  flex: 1;
  order: 2;
}

/* start guide */
.p-guide-caution {
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 40px;
  padding-block: calc(20px - 0.4em);
  padding-inline: 30px 20px;
  background: #fff;
  border: 1px solid #d90000;
}

/* 警告と同時に設定を操作できないようにする */
.p-guide-caution.is-setting-disabled ~ .tcdce-setting {
  opacity: 0.5;
  pointer-events: none;
}

.p-guide-nav {
  counter-reset: item;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  margin: 40px 0 0;
  font-size: 14px;
}

.p-guide-nav__item:before {
  counter-increment: item;
  content: counter(item);
  display: grid;
  place-items: center;
  background: #000;
  color: #fff;
  border-radius: 50%;
  aspect-ratio: 1;
  font-weight: 600;
  font-size: 20px;
}

.p-guide-nav__item {
  display: grid;
  grid-template-columns: 50px 1fr 200px;
  align-items: center;
  gap: 25px;
  padding: 25px;
  background: #fff;
  border: 1px solid #ddd;
}

.p-guide-nav__item-title {
  font-size: 18px;
  margin-block: 0 15px;
}

.p-guide-nav__item-desc {
  font-size: inherit;
  line-height: 1.8;
  margin: -0.4em 0;
}

.p-guide-nav__item-link {
  display: grid;
  place-items: center;
  width: 100%;
  height: 50px;
  color: #fff;
  background: var(--tcdce-main-color);
  transition: background 0.3s ease;
}

.p-guide-nav__item-manual {
  color: #000;
  text-align: center;
  text-decoration: underline !important;
}

@media (any-hover: hover) {
  .p-guide-nav__item-link:hover {
    color: #fff;
    background: rgb(0 0 0 / 50%);
  }
}

/* UI個別対応 */

/* カスタムタグHTMLトグル */
.tcdce-edit__options-field:has(.tcdce-toggle__input[name*="enclose"]:checked)
  .enclose-target,
.tcdce-edit__options-field:has(
    .tcdce-toggle__input[name*="enclose"]:not(:checked)
  )
  .enclose-target-checked {
  display: none;
}

/* カードリンク */
.tcdce_sc_info {
  display: grid;
  align-items: center;
  padding-inline: 10px;
  font-size: 12px;
  height: 100%;
  border: 1px dotted #ddd;
}

/* ブロックエディタ関連 */
.block-editor-block-icon span[class*="dashicons-tcdce"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.block-editor-block-icon span[class*="dashicons-tcdce"]:before {
  font-family: "editor";
  font-size: 1.4em;
}

.components-dropdown-menu__menu-item span[class*="dashicons-tcdce"]:before {
  font-family: "editor";
  font-size: 1.2em;
}

.dashicons-tcdce-h1:before {
  content: "\e90f";
}

.dashicons-tcdce-h2:before {
  content: "\e910";
}

.dashicons-tcdce-h3:before {
  content: "\e911";
}

.dashicons-tcdce-h4:before {
  content: "\e912";
}

.dashicons-tcdce-h5:before {
  content: "\e913";
}

.dashicons-tcdce-h6:before {
  content: "\e914";
}

.dashicons-tcdce-ul:before {
  content: "\e907";
}

.dashicons-tcdce-ol:before {
  content: "\e915";
}

.dashicons-tcdce-box:before {
  content: "\e91a";
}

.dashicons-tcdce-marker:before {
  content: "\e916";
}

.dashicons-tcdce-button:before {
  content: "\e917";
}

.dashicons-tcdce-sb:before {
  content: "\e90d";
}

.dashicons-tcdce-cardlink:before {
  content: "\e919";
}

.dashicons-tcdce-gmap:before {
  content: "\e918";
}

.dashicons-tcdce-custom_tag:before {
  content: "\e90e";
}

.dashicons-tcdce-heading_label:before {
  content: "";
  width: 1em;
  height: 1em;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 -960 960 960"><path d="M455.38-710h-190q-10.25 0-17.43-7.21-7.18-7.2-7.18-17.5 0-10.29 7.18-17.79t17.43-7.5h430q10.26 0 17.44 7.21 7.18 7.2 7.18 17.5 0 10.29-7.18 17.79t-17.44 7.5h-190v485.38q0 10.26-7.2 17.44-7.21 7.18-17.5 7.18-10.3 0-17.8-7.4-7.5-7.41-7.5-17.98V-710Z"/></svg>')
    no-repeat center / 1em;
  background-color: currentColor;
}

/* UI表示切り替え */

/* 見出し */
.tcdce-heading-bg-type[data-select="0"] ~ *,
.tcdce-heading-bg-type[data-select="1"] ~ .tcdce-heading-bg-g,
.tcdce-heading-bg-type[data-select="2"] ~ .tcdce-heading-bg-color,
.tcdce-heading-bg-type[data-select="3"] ~ .tcdce-heading-bg-color {
  display: none;
}

.tcdce-heading-border-style[data-select="0"] ~ *,
.tcdce-heading-border-style[data-select="1"] ~ .tcdce-heading-border-g,
.tcdce-heading-border-style[data-select="2"] ~ .tcdce-heading-border-g,
.tcdce-heading-border-style[data-select="3"] ~ .tcdce-heading-border-g,
.tcdce-heading-border-style[data-select="4"] ~ .tcdce-heading-border-color,
.tcdce-heading-border-style[data-select="5"] ~ .tcdce-heading-border-color {
  display: none;
}

.tcdce-heading-el-type[data-select="0"] ~ *,
.tcdce-heading-el-type[data-select="1"]
  ~ :is(.tcdce-heading-el-g, .tcdce-heading-el-image),
.tcdce-heading-el-type[data-select="2"]
  ~ :is(.tcdce-heading-el-color, .tcdce-heading-el-image),
.tcdce-heading-el-type[data-select="3"]
  ~ :is(.tcdce-heading-el-color, .tcdce-heading-el-image),
.tcdce-heading-el-type[data-select="4"]
  ~ :is(.tcdce-heading-el-color, .tcdce-heading-el-g) {
  display: none;
}

/* 見出しプリセット別 */
.tcdce-edit__options:has(input[value="preset01"])
  :is(.tcdce-heading-bg, .tcdce-heading-border, .tcdce-heading-el),
.tcdce-edit__options:has(input[value="preset02"])
  :is(.tcdce-heading-bg-type, .tcdce-heading-border, .tcdce-heading-el),
.tcdce-edit__options:has(input[value="preset03"])
  :is(.tcdce-heading-bg-type, .tcdce-heading-border, .tcdce-heading-el),
.tcdce-edit__options:has(input[value="preset04"])
  :is(
    .tcdce-heading-border-style,
    .tcdce-heading-border-position,
    .tcdce-heading-bg,
    .tcdce-heading-el
  ),
.tcdce-edit__options:has(input[value="preset05"])
  :is(
    .tcdce-heading-border-style,
    .tcdce-heading-border-position,
    .tcdce-heading-bg,
    .tcdce-heading-el
  ),
.tcdce-edit__options:has(input[value="preset06"])
  :is(
    .tcdce-heading-border-style,
    .tcdce-heading-border-position,
    .tcdce-heading-bg-type,
    .tcdce-heading-el
  ),
.tcdce-edit__options:has(input[value="preset07"])
  :is(
    .tcdce-heading-border-style,
    .tcdce-heading-border-position,
    .tcdce-heading-bg,
    .tcdce-heading-el
  ),
.tcdce-edit__options:has(input[value="preset08"])
  :is(
    .tcdce-heading-border-style,
    .tcdce-heading-border-position,
    .tcdce-heading-bg,
    .tcdce-heading-el
  ),
.tcdce-edit__options:has(input[value="preset09"])
  :is(
    .tcdce-heading-border-style,
    .tcdce-heading-border-position,
    .tcdce-heading-bg,
    .tcdce-heading-el
  ),
.tcdce-edit__options:has(input[value="preset10"])
  :is(
    .tcdce-heading-border-style,
    .tcdce-heading-border-position,
    .tcdce-heading-bg,
    .tcdce-heading-el
  ),
.tcdce-edit__options:has(input[value="preset11"])
  :is(
    .tcdce-heading-border-style,
    .tcdce-heading-border-position,
    .tcdce-heading-bg,
    .tcdce-heading-el
  ),
.tcdce-edit__options:has(input[value="preset12"])
  :is(
    .tcdce-heading-el-pos-inline,
    .tcdce-heading-el-pos-block,
    .tcdce-heading-bg,
    .tcdce-heading-border
  ),
.tcdce-edit__options:has(input[value="preset13"])
  :is(.tcdce-heading-el-pos-block, .tcdce-heading-bg, .tcdce-heading-border),
.tcdce-edit__options:has(input[value="preset14"])
  :is(.tcdce-heading-el-pos-block, .tcdce-heading-bg, .tcdce-heading-border) {
  display: none;
}

.tcdce-edit__options:not(:has(input[value="preset_custom"]))
  :is(.tcdce-heading-base-width, .tcdce-heading-padding) {
  display: none;
}

/* 囲み枠 */
.tcdce-box-bg-type[data-select="0"] ~ *,
.tcdce-box-bg-type[data-select="1"] ~ .tcdce-box-bg-g,
.tcdce-box-bg-type[data-select="2"] ~ .tcdce-box-bg-color,
.tcdce-box-bg-type[data-select="3"] ~ .tcdce-box-bg-color {
  display: none;
}

.tcdce-box-border-style[data-select="0"] ~ * {
  display: none;
}

.tcdce-box-icon-type[data-select="0"] ~ *,
.tcdce-box-icon-font:not([data-checked="10"]) ~ .tcdce-box-icon-image {
  display: none;
}

/* 囲み枠プリセット別 */
.tcdce-edit__options:has(input[value="preset01"])
  :is(.tcdce-box-icon, .tcdce-box-padding),
.tcdce-edit__options:has(input[value="preset02"])
  :is(.tcdce-box-icon, .tcdce-box-padding),
.tcdce-edit__options:has(input[value="preset03"]) :is(.tcdce-box-padding),
.tcdce-edit__options:has(input[value="preset04"]) :is(.tcdce-box-padding),
.tcdce-edit__options:has(input[value="preset05"]) :is(.tcdce-box-padding),
.tcdce-edit__options:has(input[value="preset06"]) :is(.tcdce-box-padding),
.tcdce-edit__options:has(input[value="preset07"]) :is(.tcdce-box-padding),
.tcdce-edit__options:has(input[value="custom01"]) :is(.tcdce-box-icon) {
  display: none;
}

/* ulリスト */
.tcdce-ul-bg-type[data-select="0"] ~ *,
.tcdce-ul-bg-type[data-select="1"] ~ .tcdce-ul-bg-g,
.tcdce-ul-bg-type[data-select="2"] ~ .tcdce-ul-bg-color,
.tcdce-ul-bg-type[data-select="3"] ~ .tcdce-ul-bg-color {
  display: none;
}

.tcdce-ul-border-style[data-select="0"] ~ * {
  display: none;
}

.tcdce-ul-icon-type[data-select="0"] ~ *,
.tcdce-ul-icon-font:not([data-checked="10"]) ~ .tcdce-ul-icon-image {
  display: none;
}

/* ulリスト別プリセット別 */
.tcdce-edit__options:has(input[value="preset01"])
  :is(.tcdce-ul-bg, .tcdce-ul-border, .tcdce-ul-icon, .tcdce-ul-padding),
.tcdce-edit__options:has(input[value="preset02"])
  :is(.tcdce-ul-icon, .tcdce-ul-padding),
.tcdce-edit__options:has(input[value="preset03"])
  :is(.tcdce-ul-icon, .tcdce-ul-padding),
.tcdce-edit__options:has(input[value="preset04"])
  :is(.tcdce-ul-bg, .tcdce-ul-border, .tcdce-ul-padding),
.tcdce-edit__options:has(input[value="preset05"]) :is(.tcdce-ul-padding),
.tcdce-edit__options:has(input[value="preset06"]) :is(.tcdce-ul-padding),
.tcdce-edit__options:has(input[value="custom01"]) :is(.tcdce-ul-icon) {
  display: none;
}

/* olリスト */
.tcdce-ol-bg-type[data-select="0"] ~ *,
.tcdce-ol-bg-type[data-select="1"] ~ .tcdce-ol-bg-g,
.tcdce-ol-bg-type[data-select="2"] ~ .tcdce-ol-bg-color,
.tcdce-ol-bg-type[data-select="3"] ~ .tcdce-ol-bg-color {
  display: none;
}

.tcdce-ol-border-style[data-select="0"] ~ * {
  display: none;
}

.tcdce-ol-counter-type[data-select="0"]
  ~ :is(.tcdce-ol-counter-color, .tcdce-ol-counter-bg-color),
.tcdce-ol-counter-type[data-select="1"] ~ :is(.tcdce-ol-counter-bg-color) {
  display: none;
}

/* olリスト別プリセット別 */
.tcdce-edit__options:has(input[value="preset01"])
  :is(.tcdce-ol-bg, .tcdce-ol-border, .tcdce-ol-counter, .tcdce-ol-padding),
.tcdce-edit__options:has(input[value="preset02"])
  :is(.tcdce-ol-counter, .tcdce-ol-padding),
.tcdce-edit__options:has(input[value="preset03"])
  :is(.tcdce-ol-bg, .tcdce-ol-border, .tcdce-ol-padding),
.tcdce-edit__options:has(input[value="preset04"]) :is(.tcdce-ol-padding),
.tcdce-edit__options:has(input[value="preset05"])
  :is(.tcdce-ol-bg, .tcdce-ol-border, .tcdce-ol-padding),
.tcdce-edit__options:has(input[value="preset06"]) :is(.tcdce-ol-padding),
.tcdce-edit__options:has(input[value="custom01"]) :is(.tcdce-ol-counter) {
  display: none;
}

/* ボタンプリセット別 */
.tcdce-edit__options:has(input[value="preset01"])
  :is(
    .tcdce-button-hover-color,
    .tcdce-button-gradation1,
    .tcdce-button-gradation2
  ),
.tcdce-edit__options:has(input[value="preset02"])
  :is(.tcdce-button-gradation1, .tcdce-button-gradation2),
.tcdce-edit__options:has(input[value="preset03"])
  :is(.tcdce-button-gradation1, .tcdce-button-gradation2),
.tcdce-edit__options:has(input[value="preset04"])
  :is(.tcdce-button-color, .tcdce-button-hover-color),
.tcdce-edit__options:has(input[value="preset05"])
  :is(.tcdce-button-gradation1, .tcdce-button-gradation2),
.tcdce-edit__options:has(input[value="preset06"])
  :is(.tcdce-button-gradation1, .tcdce-button-gradation2),
.tcdce-edit__options:has(input[value="preset07"])
  :is(.tcdce-button-gradation1, .tcdce-button-gradation2) {
  display: none;
}

/* 吹き出しプリセット別 */
.tcdce-edit__options:has(input[value="preset01"])
  :is(.tcdce-sb-bg-color, .tcdce-sb-border-color, ),
.tcdce-edit__options:has(input[value="preset02"])
  :is(.tcdce-sb-bg-color, .tcdce-sb-border-color, ),
.tcdce-edit__options:has(input[value="preset03"]) :is(.tcdce-sb-border-color, ),
.tcdce-edit__options:has(input[value="preset04"])
  :is(.tcdce-sb-border-color, ) {
  display: none;
}

/* ラベルの見出しプリセット別 */
.tcdce-edit__options:has(input[value="preset01"])
  :is(.tcdce-heading_label-border-color) {
  display: none;
}
