/* Container ⇔ .cm-editor-index */
.editor-styles-wrapper.editor-styles-wrapper.editor-styles-wrapper #ez-toc-container,
.cm-editor #ez-toc-container,
#ez-toc-container {
  padding: 1.25rem 1.5rem !important;
  border-radius: 0.25rem !important;
  background: var(--Bg02, #E9EEF1) !important;
  border: none !important;
  box-shadow: none !important;
}
@media screen and (min-width: 1024px) {
  .editor-styles-wrapper.editor-styles-wrapper.editor-styles-wrapper #ez-toc-container,
  .cm-editor #ez-toc-container,
  #ez-toc-container {
    padding: 1.875rem 1.875rem !important;
  }
}

/* Title ⇔ .cm-editor-index__title */
.editor-styles-wrapper.editor-styles-wrapper.editor-styles-wrapper #ez-toc-container .ez-toc-title-container,
.cm-editor #ez-toc-container .ez-toc-title-container,
#ez-toc-container .ez-toc-title-container {
  padding-bottom: 0.5rem !important;
  border-bottom: var(--border-gray) !important;
}
.editor-styles-wrapper.editor-styles-wrapper.editor-styles-wrapper #ez-toc-container .ez-toc-title,
.cm-editor #ez-toc-container .ez-toc-title,
#ez-toc-container .ez-toc-title {
  margin: 0 !important;
  font-size: 1rem !important;
  line-height: 1.4 !important;
}
@media screen and (min-width: 1024px) {
  .editor-styles-wrapper.editor-styles-wrapper.editor-styles-wrapper #ez-toc-container .ez-toc-title,
  .cm-editor #ez-toc-container .ez-toc-title,
  #ez-toc-container .ez-toc-title {
    font-size: 1.3125rem !important;
  }
}

/* List ⇔ .cm-editor-index__list */
.editor-styles-wrapper.editor-styles-wrapper.editor-styles-wrapper #ez-toc-container .ez-toc-list,
.cm-editor #ez-toc-container .ez-toc-list,
#ez-toc-container .ez-toc-list {
  margin-top: 0.75rem !important;
  padding-left: 0 !important;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
      -ms-flex-direction: column !important;
          flex-direction: column !important;
  gap: 0.2em !important;
  font-size: 0.875rem !important;
  list-style: none !important;
}
@media screen and (min-width: 1024px) {
  .editor-styles-wrapper.editor-styles-wrapper.editor-styles-wrapper #ez-toc-container .ez-toc-list,
  .cm-editor #ez-toc-container .ez-toc-list,
  #ez-toc-container .ez-toc-list {
    font-size: 1rem !important;
  }
}

/* Links ⇔ .cm-editor-index__list a */
.editor-styles-wrapper.editor-styles-wrapper.editor-styles-wrapper #ez-toc-container .ez-toc-link,
.cm-editor #ez-toc-container .ez-toc-link,
#ez-toc-container .ez-toc-link {
  color: var(--color) !important;
  text-decoration: none !important;
}
.editor-styles-wrapper.editor-styles-wrapper.editor-styles-wrapper #ez-toc-container .ez-toc-link:hover,
.cm-editor #ez-toc-container .ez-toc-link:hover,
#ez-toc-container .ez-toc-link:hover {
  color: var(--color-accent) !important;
}

/* Top level items ⇔ .cm-editor-index__list > li */
.editor-styles-wrapper.editor-styles-wrapper.editor-styles-wrapper #ez-toc-container nav > ul.ez-toc-list > li,
.cm-editor #ez-toc-container nav > ul.ez-toc-list > li,
#ez-toc-container nav > ul.ez-toc-list > li {
  position: relative !important;
  font-weight: 700 !important;
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 1.5em !important;
}
.editor-styles-wrapper.editor-styles-wrapper.editor-styles-wrapper #ez-toc-container nav > ul.ez-toc-list > li::before,
.cm-editor #ez-toc-container nav > ul.ez-toc-list > li::before,
#ez-toc-container nav > ul.ez-toc-list > li::before {
  content: "●" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.1em !important;
  pointer-events: none !important;
  display: block !important;
}

/* Nested list (level-2,3...) ⇔ .cm-editor-index__list > li ul */
.editor-styles-wrapper.editor-styles-wrapper.editor-styles-wrapper #ez-toc-container nav > ul.ez-toc-list > li ul,
.cm-editor #ez-toc-container nav > ul.ez-toc-list > li ul,
#ez-toc-container nav > ul.ez-toc-list > li ul {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
      -ms-flex-direction: column !important;
          flex-direction: column !important;
  font-weight: 500 !important;
  counter-reset: item !important;
  margin: 0.2em 0 0 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
}

/* Nested list items with decimal-leading-zero counter */
.editor-styles-wrapper.editor-styles-wrapper.editor-styles-wrapper #ez-toc-container nav > ul.ez-toc-list > li ul li,
.cm-editor #ez-toc-container nav > ul.ez-toc-list > li ul li,
#ez-toc-container nav > ul.ez-toc-list > li ul li {
  counter-increment: item !important;
  list-style: none !important;
  padding-top: 0.2em !important;
  margin-left: 0 !important;
}
.editor-styles-wrapper.editor-styles-wrapper.editor-styles-wrapper #ez-toc-container nav > ul.ez-toc-list > li ul li::before,
.cm-editor #ez-toc-container nav > ul.ez-toc-list > li ul li::before,
#ez-toc-container nav > ul.ez-toc-list > li ul li::before {
  content: counter(item, decimal-leading-zero) "." !important;
  margin-right: 0.3em !important;
}

/* 採用情報YouTube埋め込み */
@media (hover: hover) {
  .c-card-blog__link:hover .c-card-blog__pic iframe, a:hover .c-card-blog__link .c-card-blog__pic iframe {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
}
.c-card-blog__pic iframe {
  aspect-ratio: 600/335 !important;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: 0.4s var(--easeOutQuart);
  transition: 0.4s var(--easeOutQuart);
}

/* CF7のスタイル */
.wpcf7 input[type=tel]{
  width: 100% !important;
  padding: 1rem 1rem !important;
  border-radius: 0.25rem !important;
  background: var(--gray04, #F3F3F3) !important;
  height: 3.125rem !important;
  border: var(--border) !important;
  border-color: transparent !important;
}
.wpcf7 input[type=tel]:focus{
  border-color: var(--color-accent) !important;
}
@media screen and (min-width: 1024px) {
  .wpcf7 input[type=tel] {
    padding: 1rem 2rem !important;
    height: 3.75rem !important;
  }
}

.cm-form-inputs--row dd .wpcf7-checkbox,
.cm-form-inputs--row dd span.wpcf7-form-control-wrap {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
      -ms-flex-direction: column !important;
          flex-direction: column !important;
  gap: 0.5rem !important;
}
@media screen and (max-width: 1023px) {
  .cm-form-inputs--row dd .wpcf7-checkbox,
  .cm-form-inputs--row dd span.wpcf7-form-control-wrap {
    padding-top: 0.375rem !important;
  }
}
@media screen and (min-width: 1024px) {
  .cm-form-inputs--row dd .wpcf7-checkbox,
  .cm-form-inputs--row dd span.wpcf7-form-control-wrap {
    gap: 0.75rem !important;
  }
}
/* 
.wpcf7-list-item.first {
  margin: 0 !important;
} */

/* カスタムCF7エラー */
/* @media screen and (min-width: 1024px) {
    .cm-form .wpcf7-not-valid-tip, .cm-form .error {
        margin-top: 0.625rem;
        font-size: 0.875rem;
    }
}

.cm-form .wpcf7-not-valid-tip, .cm-form .error {
    margin-top: 0.375rem;
    display: block;
    width: 100%;
    color: var(--Main, #EB322D);
    font-size: 0.75rem;
    font-weight: 700;
}
.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 1em;
    font-weight: normal;
    display: block;
} */
