@charset "UTF-8";
/* CSS Document */

body{
  padding-top: 15vh;
}
/* 中身-モバイルファースト======================================================================================================== */
/* 共通テキストスタイル */
#column_detail .font_size1{ font-size: 1.2em; }
#column_detail .font_weight700{ font-weight: 700; }
#column_detail .font_weight800{ font-weight: 800; }
#column_detail .font_weight900{ font-weight: 900;}
#column_detail .font_red{ color: #c00; }
#column_detail .font_blue{ color: #00489d; }
#column_detail .font_green{ color: #00910f; }
#column_detail .font_orange{ color: #ff890b; }



#detail_header {
  margin-bottom: 60px;
}
#detail_header .category{
  display: flex;
  margin-bottom: 10px;
}
#detail_header .category span{
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.05);
  font-size: 10px;
  line-height: 1;
  width: 80px;
  padding: 3px 0;
  margin-left: 5px;
  text-align: center;
}
#detail_header .category span:first-child{
  margin-left: 0;
}
#detail_header h3{
  font-size: 20px;
  font-weight: 700;
  margin-bottom: .5em;
}

.toc{
  background-color: #eee;
  padding: 20px;
}
.toc dt{
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
}
/* .toc li{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.toc li:last-child{
  margin-bottom: 0;
}
.toc li span{
  display: block;
  width: 2em;
}
.toc li p{
  flex: 1;
  display: block;
}
.toc li ul{
  width: 100%;
  padding-left: 2em;
} */
.toc ol{
  counter-reset: chapter;
  list-style: none;
}
.toc ol > li {
  counter-increment: chapter; /* 章の番号を増やす */
  margin-bottom: 5px;
  display: flex;
  flex-wrap: wrap;
}
.toc li:last-child{
  margin-bottom: 0;
}
.toc ol > li::before {
  content: counter(chapter) "."; /* 章の番号を表示 */
  margin-right: 0.5em;
}
.toc ol > li a{
  flex: 1;
}
.toc ol ol {
  width: 100%;
  counter-reset: section;
  list-style: none;
  padding-left: 2em;
}
.toc ol ol li {
  counter-increment: section; /* 小見出しの番号を増やす */
  margin-bottom: 0;
}
.toc ol ol li::before {
  content: counter(chapter) "-" counter(section) "."; /* 1-1形式 */
}


#detail_contents{
  counter-reset: chapter;
  list-style: none;
}
#detail_contents section{
  margin-top: 60px;
}
#detail_contents > section{
  counter-reset: section;
}
#detail_contents h4{
  font-size: 18px;
  font-weight: 700;
  margin-bottom: .5em;
  counter-increment: chapter; /* 章の番号を増やす */
}
#detail_contents h4::before {
  content: counter(chapter) "."; /* 章の番号を表示 */
  margin-right: 0.5em;
}
#detail_contents p{
  margin-bottom: 1em;
}
#detail_contents p:last-child{
  margin-bottom: 0;
}
#detail_contents .photo{
  margin-bottom: 1em;
}
#detail_contents .photo figure{
  text-align: center;
}
#detail_contents .photo figure img{
  max-width: 100%;
  /* aspect-ratio: 3 / 2; */
  /* object-fit: contain; */
}
#detail_contents .photo ul{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#detail_contents .photo li{
  /* width: 48%; */
  width: 100%;
  margin-bottom: 20px;
}
#detail_contents .photo li:last-child{
  margin-bottom: 0px;
}
/* #detail_contents .photo li:first-child{
  width: 100%;
}
#detail_contents .photo li:nth-last-child(2){
  margin-bottom: 20px;
} */
#detail_contents .photo p{
  font-size: 12px;
}


#detail_contents .section_in_section{
  margin-top: 40px;
}
#detail_contents h5{
  font-size: 16px;
  font-weight: 700;
  margin-bottom: .5em;
}
#detail_contents h5::before {
  counter-increment: section; /* 節番号を増やす */
  content: counter(chapter) "-" counter(section) "."; /* 1-1形式 */
}

.column_nav{
  margin-top: 60px;
  margin-bottom: 60px;
}


#detail_footer{
  padding: 60px 0;
  background-color: #f3f3f3;
}
#detail_footer h3{
  display: block;
  font-size: 18px;
  font-weight: 700;
}
#detail_footer #column_card .inner ul{
  justify-content: flex-start;
}
#detail_footer #column_card .inner li{
margin-right: 2%;
}
#detail_footer #column_card .inner li:nth-child(3n){
margin-right: 0;
}

/* PCのみ======================================================================================================== */
@media print, screen and (min-width: 751px){
body{
  padding-top: 10vh;
}  
#topic_path{
  width: 1000px;
}


#column_detail > .contents_size{
  width: 1000px;
  margin: 0 auto;
  font-size: 16px;
}
#detail_header h3{
  font-size: 30px;
}

.toc{
  padding: 40px;
}
.toc dl{
  display: flex;
}
.toc dt{
  padding: 0;
  margin: 0 3em 0 0;
  border: none;
}
.toc dd{
  border-left: 1px solid #ccc;
  padding-left: 3em;
}


#detail_contents section{
  margin-top: 100px;
}
#detail_contents h4{
  font-size: 24px;
}


#detail_contents .section_in_section{
  margin-top: 60px;
}
#detail_contents h5{
  font-size: 24px;
}

.column_nav{
  margin-top: 100px;
  margin-bottom: 100px;
}


#detail_footer{
  padding: 100px 0;
}
#detail_footer h3{
  font-size: 24px;
  margin-bottom: 20px;
}


}

