/*-------------------------------------
  toc設定
---------------------------------------*/
#toc,
#toc2 {
  padding: 1rem;
  border: 1px solid #484848;
}

#toc a,
#toc2 a {
  text-decoration: underline;
}

#toc .toc-level-h2::before,
#toc .toc-level-h3::before,
#toc .toc-level-h4::before,
#toc .toc-level-h5::before,
#toc .toc-level-h6::before,
#toc2 .toc-level-h2::before,
#toc2 .toc-level-h3::before,
#toc2 .toc-level-h4::before,
#toc2 .toc-level-h5::before,
#toc2 .toc-level-h6::before {
  content: "└";
}

#toc .toc-level-h2,
#toc2 .toc-level-h2 {
  margin-left: 1em;
  text-indent: -1em;
}

#toc .toc-level-h3,
#toc2 .toc-level-h3 {
  margin-left: 2em;
  text-indent: -1em;
}

#toc .toc-level-h4,
#toc2 .toc-level-h4 {
  margin-left: 3em;
  text-indent: -1em;
}

#toc .toc-level-h5,
#toc2 .toc-level-h5 {
  margin-left: 4em;
  text-indent: -1em;
}

#toc .toc-level-h6,
#toc2 .toc-level-h6 {
  margin-left: 5em;
  text-indent: -1em;
}

#toc details,
#toc2 details {
  padding-bottom: calc(50px + 1rem);
  position: relative;
}

#toc details summary,
#toc2 details summary {
  display: flex;
  align-items: center;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  cursor: pointer;
}

#toc details summary::after,
#toc2 details summary::after {
  transform: rotate(45deg);
}

#toc details[open] summary::after,
#toc2 details[open] summary::after {
  transform: rotate(-135deg);
}


/*-------------------------------------
  ページトップボタン
---------------------------------------*/

#pagetop {
  opacity: 1;
  position: fixed;
  bottom: 30px;
  right: 55px;
  transition: opacity .5s;
  z-index: 2;
}

#pagetop a {
  background-color: rgba(51, 51, 51, .8);
  border-radius: 5px;
  color: #fff;
  display: block;
  font-size: 12px;
  line-height: 1.5em;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  #pagetop {
    right: 8%;
  }
}


/*-------------------------------------
  ページ全体
---------------------------------------*/
.seo_sample_page {
  display: flex;
}

@media screen and (max-width: 767px) {
  .seo_sample_page {
    padding: 0 5px;
  }
}

.seo_sample_page_main {
  font-size: 16px;
  line-height: 32px;
  width: 100%;
}

@media screen and (min-width: 768px),
print {
  .seo_sample_page_main {
    width: 70%;
  }
}

.seo_sample_page_main section {
  margin-top: 80px;
  margin-bottom: 80px;
}

.seo_sample_page_main .seo_sample_page_top {
  margin-top: 40px;
  margin-bottom: 40px;
}

.seo_sample_page_main h1 {
  font-size: 32px;
  font-weight: bold;
  font-style: italic;
}

.seo_sample_page_main h2 {
  font-size: 28px;
  font-weight: bold;
  font-style: italic;
  padding: 2%;
}

.seo_sample_page_main h3 {
  font-size: 24px;
  font-weight: bold;
  font-style: italic;
  margin: 20px 0;
}

.seo_sample_page_main .h2-box {
  background-color: #004da1;
  color: #fff;
  /*background-color: #f6f6f6;*/
}

.seo_sample_page_main .text-box {
  margin-bottom: 40px;
}

.seo_sample_page_main p {
  margin-top: 20px;
}

.seo_sample_page_main img {
  width: 100%;
}

@media screen and (max-width: 767px) {

  .seo_sample_page_main {
    font-size: 14px;
  }

  .seo_sample_page_main h1 {
    font-size: 22px;
  }

  .seo_sample_page_main h2 {
    font-size: 20px;
  }

  .seo_sample_page_main h3 {
    font-size: 18px;
  }
}

.column-block-img .img-box {
  margin-top: 40px;
  gap: 30px;
  display: flex;
  justify-content: center;
}

.column-block-img .img-box-1 {
  width: 100%;
}

.column-block-img .img-box-2 {
  width: 50%;
}

.column-block-img .img-box-3 {
  width: 35%;
}

@media screen and (max-width: 767px) {
  .column-block-img .img-box {
    flex-wrap: wrap;
  }

  .column-block-img .img-box-1,
  .column-block-img .img-box-2,
  .column-block-img .img-box-3 {
    width: 100%;
  }
}


/*-------------------------------------
  サイドメニュー
---------------------------------------*/
.seo_sample_page_menu {
  max-width: 30%;
  width: 100%;
  padding-left: 2rem;
  overflow: visible;
  font-size: 16px;
  line-height: 32px;
}

.seo_sample_page_menu section {
  margin-top: 40px;
  margin-bottom: 40px;
}


.seo_sample_page_menu img {
  width: 100%;
}


.menu-table-of-contents {
  position: sticky;
  top: 0;
}

.pick-up {
  font-size: 24px;
}

.articlelinkList2 {
  overflow-y: auto !important;
}

.articlelinkList2 li {
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid #595f60;
}

.articlelinkList2 li:nth-child(1) {
  border: none;

}

.articlelinkList2 .article-img-box {
  width: 30%;
}

.articlelinkList2 div {
  margin-left: 1rem;
}

.articlelinkList2 p {
  display: none;
}

.close .c-button--secondaryB-white::after {
  transform: rotate(45deg);
}

.open .c-button--secondaryB-white::after {
  transform: rotate(-135deg);
}