/* クレジット（Powered by～）非表示 */
.site-footer-copyright p:nth-child(2) {
  display: none !important;
}

/* テーブル非レスポンシブ */
.wp-block-table.custom-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.wp-block-table.custom-table table {
    width: auto;
    max-width: 100%;
    white-space: nowrap;
}
/* PC用: テーブル幅いっぱいに広げる */
@media screen and (min-width: 768px) {
    .wp-block-table.custom-table table {
        width: 100%;
        white-space: normal; /* PCではテキスト折り返しを許可 */
    }
}

/* サイトロゴとナビを縦に積む */
div#site-header-container {
  display: block;
  text-align: center;
}

/* ヘッダーナビを横幅100%に */
body:not(.header_scrolled) .global-nav--layout--float-right {
  display: block;
  width: 100%;
}
.global-nav-list {
  justify-content: space-between;
  width: 100%;
}

/* ロゴ中央配置 */
.site-header--layout--nav-float .site-header-logo {
  display: inline-block;
  width: auto;
}

/* スクロール時にロゴ画像を非表示とする */
.header_scrolled .site-header-logo {
    display: none;
}

/* ========================
   モバイル用グローバルナビ
======================== */
@media (max-width: 991.98px) {
  html, body {
    overflow-x: hidden;
  }

  .global-nav {
    width: auto !important;
    display: block;
    margin-bottom: 0.8em;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
    z-index: 10000;
  }

  .global-nav::-webkit-scrollbar {
    display: none;
  }

  /* スクロール時のグラデ矢印（現在未使用なので content: none） */
  .global-nav::after {
    content: none !important;
  }

  /* ナビリスト：横スクロール対応 */
  .global-nav-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    column-gap: 4px !important;
    justify-content: flex-start !important;
    width: max-content;
    padding: 0 10px;
  }

  .global-nav-list > li {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 0 4px !important;
  }

  .global-nav-list > li a {
    font-size: 12.5px !important;
    line-height: 1.2 !important;
    padding: 4px 4px !important;
    display: inline-block !important;
    font-weight: 600 !important;
  }

  /* 補足説明を非表示 */
  .global-nav-description {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
  }

/* スクロール矢印のスタイル */
#scroll-arrow {
  border-radius: 0 4px 4px 0;
}

}


/* Table of Contents Plus */
/*全体設定*/
#toc_container {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  box-sizing: border-box;
  line-height: 1;
  margin: 36px auto;
  padding: 1em 2em;
}

/*目次のタイトル*/
#toc_container .toc_title {
  text-align: center;
  margin-top: 0 0 0 35px;
  padding: 0.4em 0;
  font-size: 2em;
  border-bottom: 2px solid #dedede;
}

/*ul全体の設定*/
#toc_container ul {
    list-style: none;
    margin-bottom: 0;
}

/*li全体の設定*/
#toc_container ul li {
    margin: 0;
    padding-left: 0;
    text-indent: 0;
}

/*小見出し*/
#toc_container ul a {
	display: inline-block;
	text-decoration: none;
	color: #444;
	border-bottom: 1px dotted #ccc;
	font-size: 14px;
}

/*大見出し*/
#toc_container .toc_list > li > a {
	border-bottom: 1px solid #ccc;
	font-size: 16px;
}

/*大見出しのアイコン*/
#toc_container .toc_list > li > a:before {
    font-family: FontAwesome;
    content: '\f44b';
    color: #454545;
    font-size: 100%;
    padding-right: 5px;
}

/*小見出しのアイコン*/
#toc_container li li > a:before {
    font-family: FontAwesome;
    content: '\f5a2';
    color: #454545;
    font-size: 100%;
    padding-right: 5px;
}

#toc_container ul ul {
	padding: 1em 0 1em 1em;
}

#toc_container li {
	margin-bottom: 0.8em;
	padding-bottom: 0.2em;
}
/* Table of Contents Plus end */


