.elementor-1404 .elementor-element.elementor-element-2cf8100 .elementor-toc__header-title{text-align:start;}.elementor-1404 .elementor-element.elementor-element-2cf8100 .elementor-toc__header{flex-direction:row;}.elementor-1404 .elementor-element.elementor-element-2cf8100{--item-text-hover-decoration:underline;}.elementor-1404 .elementor-element.elementor-element-0bc2a74{line-height:34px;}/* Start custom CSS for text-editor, class: .elementor-element-e6a1883 *//* Elementor TOC の番号を1階層・シンプルな連番にする */
.elementor-toc__list {
    counter-reset: single-level-counter !important;
}

/* リストマーカーは消す */
.elementor-toc__list-item {
    list-style: none !important;
}

/* リンクテキストの前にだけ番号を付ける */
.elementor-toc__list-item .elementor-toc__link {
    position: relative;
    padding-left: 1.8em; /* ここはお好みで調整OK */
}

/* ここで連番を振る（1. 2. 3. ...） */
.elementor-toc__list-item .elementor-toc__link::before {
    counter-increment: single-level-counter !important;
    content: counter(single-level-counter) ". " !important;
    position: absolute;
    left: 0;
}

/* 中身が空のリンクはカウントしない＆非表示 */
.elementor-toc__list-item .elementor-toc__link:empty {
    display: none !important;
}
.elementor-toc__list-item .elementor-toc__link:empty::before {
    content: "" !important;
    counter-increment: none !important;
}

/* Elementor の h2 見出しを小さめに＆余白調整 */
.elementor h2 {
  font-size: 1.4em !important;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 10px !important;   /* ← 余白を消す */
  margin-bottom: 0.8em;       /* 下の余白だけ残す（調整可） */
}

/* Elementor の h3 見出しを小さめに＆余白調整 */
.elementor h3 {
  font-size: 1.3em !important;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 0 !important;   /* 上余白を消す */
  margin-bottom: 0.6em;       /* 下だけ残す */
}/* End custom CSS */
/* Start custom CSS for column, class: .elementor-element-69d15f9 *//* 本文エリア内の H2 に 1. 2. 3... を自動で付ける */
#main-content {
    counter-reset: h2-counter;
     
}

#main-content h2 {
    counter-increment: h2-counter;
    position: relative;
    padding-left: 2em; /* 番号分の余白。お好みで調整 */
}

#main-content h2::before {
    content: counter(h2-counter) ". ";
    position: absolute;
    left: 0.5em;
}/* End custom CSS */