.title-only {
    display: none;
}

/* パンくず */
.breadcrumb {
  font-size: 14px;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ページタイトル */
h1.emb-title {
  margin-bottom: 1rem;
}

ul.disc-list {
 list-style: disc;
 padding-top: .7rem;
 padding-left: 1.2rem;
}


/* 目次 */
nav.toc-box {
  border: 1px solid #ddd;
  padding: 15px 20px;
  border-radius: 8px;
  background-color: #fff;
  margin-bottom: 30px;
}

nav.toc-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav.toc-box ul.disc-list,
.emb-section ul.disc-list {
  list-style: disc;
  margin-left: 1.2em;
}

nav.qanda ul ul li{
  background: url(img/icon_qa_question.gif) no-repeat;
  background-position: 0rem;
  padding-left: 1.5rem;
}

nav.toc-box ul ul{
  padding-top: 0.5rem;
  padding-right: 0.5rem;
  padding-bottom: 0;
  padding-left: 1.5rem;
}

nav.toc-box li {
  margin-bottom: 8px;
}

nav.toc-box a:hover {
  text-decoration: underline;
}

/* セクション */
h2.section-midashi {
  border-bottom: 4px solid #c4e6f5;
  padding-bottom: 5px;
  margin-top: 40px;
  margin-bottom: 10px;
}

.emb-section > *:not(h2) {
  padding-left: 1.2em;
}

h3.section-midashi {
  margin-top: 30px;
  margin-bottom: 7px;
}

h4.section-midashi {
  margin-top: 20px;
  margin-bottom: 5px;
}

/* 
.emb-section div.bottom_navi {
    text-align: right;
    padding-bottom: 2rem;
}

.emb-section div.bottom_navi span.before {
    text-align: left;
    float: left
}

.emb-section div.bottom_navi span.next {
    text-align: right;
}
*/

div.bottom_navi {
    text-align: right;
    padding-bottom: 2rem;
    padding-top: .5rem
}

div.bottom_navi span.before {
    text-align: left;
    float: left;
}

div.bottom_navi span.next {
    text-align: right;
}

p.update_time {
    text-align: right;
    padding-top: 1.2rem;
}

/* ページ最下部　余白 */
.emb-container {
  padding-bottom: 2rem;
}

/* ページ途中　余白 */
.emb-container2 {
  padding-bottom: 1rem;
}

h3.section-sub {
  margin-top: .7rem;
  margin-bottom: .5rem;
}

section.emb-section p,
section.emb-section li {
  padding-bottom: .5rem;
  padding-top: .5rem;
}

/* 
section.emb-section p.update_time {
    text-align: right;
    margin-top: .5rem;
}
*/

.emb-section ol {
  padding-top: 0.5rem;
  padding-right: 0.5rem;
  padding-bottom: 0;
  padding-left: 0.5rem;
  margin: .5rem;
}

.emb-section ol.number {
  margin-top: .5rem;
  margin-bottom: .5rem;
  margin-left: 2rem;
  margin-right: 2rem;
  list-style: decimal;
}

.emb-section ol.number li{
 padding-left: .2rem;
}

section.qanda{
  margin-top: 3rem;
}

section.qanda h3 {
  background: url(img/icon_qa_question_b.gif) no-repeat;
  background-position: top 0.2rem left;
}

section.qanda p {
  background: url(img/icon_qa_answer_b.gif) no-repeat;
  padding-left: 2rem;
  background-position: top 0.65rem left;
}

/* ヘルプページ微調整 */

section.emb-section section > h3 {
  padding-left: 0rem;
}

section.emb-section section > h3.qanda {
  padding-left: 2rem;
}

section.emb-section h5 {
  padding-left: 1em;
}

section.emb-section > h5 ~ *:not(h5) {
  padding-left: 3em;
}

/* 画像横並びの親コンテナ */
.emb-img-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 画像 + テキストのセット */
.emb-img-box {
  display: inline-block;
  text-align: center;
  font-size: 14px;
  padding-top: 0.5rem;
}

.emb-img-box span {
  display: inline-block;
  padding-top: 0.4rem;
}

/* 画像 + テキストのセット */
.emb-img-box2 {
  display: inline-block;
  text-align: center;
  font-size: 14px;
  padding-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* 画像 */
.emb-img {
  border: 1px #cccccc solid;
}

/* 画像（ピックアップ） */
.emb-img-p {
  border: 1px #eeeeee solid;
}

/* 画像 中央配置 */
.emb-img-center {
  margin: auto;
}

/* 表 */
.emb-table {
  width: 98%;
  margin: 10px 0px;
  border-collapse: collapse;
  border: 1px solid #000000;
  background-color: #FFFFFF;
  color: #000000;
  text-align: left;
}

.emb-table th,
.emb-table td {
  border: 1px solid #000000;
  text-align: left;
  padding: 5px 10px;
}

.emb-table th {
  background-color: #DFEAF9;
}

.emb-table td.right-align {
      text-align: right; /* テキストを右寄せにする */
    }

.emb-table img.right-align {
          display: block;
          margin-left: auto; /* 画像を右端に寄せる */
        }

.emb-table td.center-align {
      text-align: center; /* テキストを中央寄せにする */
    }

.emb-table th.center-align {
      text-align: center; /* テキストを中央寄せにする */
    }

/* 表2（消えた市町村・科研費） */
.emb-table2 {
  width: 98%;
  margin: 10px 0px 40px 0px;
  border-collapse: collapse;
  border: 1px solid #000000;
  background-color: #FFFFFF;
  color: #000000;
  text-align: left;
  table-layout: fixed;
}

.emb-table2 th,
.emb-table2 td {
  border: 1px solid #dbdbdb;
  text-align: left;
  padding: 5px 10px;
}

.emb-table2 th {
  background-color: #f5fcff;
  text-align: center;
}


.emb-table2 td.center-align {
      text-align: center; /* テキストを中央寄せにする */
    }


/* 2列 */
.emb-2column {
  column-count: 2;
}

.emb-2column-inside {
  break-inside:avoid;
}

/* 導入 */
p.intro {
  margin-bottom: 1rem;
}

p.intro2 {
  margin-top: 1rem;
}

/* 枠囲み */
div.toc-box {
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  margin-bottom: 1rem;
  margin-top: .5rem;
}

div.toc-box ul {
  list-style: none;
  padding-top: .2rem;
  padding-bottom: .2rem;
}

div.toc-box ul.disc-list {
  list-style: disc;
  margin-left: 1.2em;
}

div.toc-box2 {
  border: 3px solid #ff0000;
  background-color: #fff;
  margin-bottom: 1rem;
  margin-top: .5rem;
}

/* ページ最下部 余白 */
/* .emb-container {
  padding-bottom: 60px;
} */


.privacypolicy-button {
  margin-top: 50px;
}

.news-li {
  margin-bottom: 20px;
}

li.selected {
  color: black;
}


