section.ns_article {
    max-width: 68ch;
    font-size: 18px;
    margin: auto;
}
.pageLaboratory-typeB .boxArticleBodyA h2 {
    color: #000;
    position: relative;
    padding-left: 20px;
}
.pageLaboratory-typeB .boxArticleBodyA h2::before{
    content:"";
    width:10px;
    height: 100%;
    position: absolute;
    background-color: #e6891c;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
.ns_info{
    text-align: right;
}
.ns_category {
    margin:10px 0;
    width: 100%;
    text-align: right;
}
.ns_category span {
    font-size: 16px;
    background: #e6891c;
    color: #fff;
    padding: 5px 10px;
    margin: 5px 10px 5px 0;
    display: inline-block;
    width: fit-content;
}
.ns_main-img {
    text-align: center;
    margin-bottom:30px;
}
.ns_main-img img{
    width:100%;
    aspect-ratio:16 / 9;
    object-fit:cover;
}
.ns_main-img img.ns_sp{
    display:none;
}
.ns_abstruct {
    border: 1px solid;
    padding: 10px;
    padding-bottom: 0;
}
.ns_abstruct > *:last-child {
    margin-bottom: -5px;
}
.ns_abstruct:not(:has(*)) {
    display: none;
}

.boxArticleBodyA .ns_footnote {
    margin: 50px 0px !Important;
}

.ns_footnote *{
    font-size: 14px !Important;
}

ol.ns_references {
    list-style: none;
    padding-left: 0px;
}

.ns_pager *{
    font-size: 14px !Important;
}

.ns_pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 50px 0;
    row-gap: 10px;
}

.ns_pager_prev {
    width: 200px;
    padding: 0 10px;
    background-image: linear-gradient(90deg, #e6891c 50%, transparent);
    color: white;
}

.ns_artcie_prev {
    width: 200px;
    padding-left: 1em;
}

.ns_pager_next {
    width: 200px;
    padding: 0 10px;
    background-image: linear-gradient(270deg, #e6891c 50%, transparent);
    color: white;
    text-align: right;
}

.ns_artcie_next  {
    width: 200px;
    padding-right: 1em;
    text-align: right;
}

.ns_bottom_button div {
    margin: 10px;
}

hr {
    margin: 30px 0;
}

h2+ul{
    margin-left: 15px;
}
.ns_article ul, .ns_article ol {
    margin-top: 5px;
    margin-bottom: 5px;
}

.ns_article li{
    line-height:2;
}
pre:has(code) {
    background: #dedede;
    font-family: "Fira Code", monospace;
    padding: 10px;
    line-height: 1.2;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}
code {
    font-size: 14px;
    background: #dedede;
    vertical-align: text-bottom;
}
em {
    font-style: italic;
}
.ns_article img{
    margin: 20px auto;
}
.ns_article p{
    margin-bottom: 20px;
}
[class*="ns_category-section"] {
    display: flex;
    flex-wrap: wrap;
}

.pageLaboratory [class*="ns_category-section"]>div {
    width: calc(50% - 50px);
    margin: 10px 5px;
    background: #f4f4f4;
    padding: 10px 20px;
}

.ns_category-section-noimg div.ns_article {
    width: 100%;
}
[class*="ns_category-section"] div a{
    display:flex;
    flex-wrap: wrap;
    height: 100%;
    align-content: flex-start;
}

[class*="ns_category-section"] h2.ns_category-title {
    color: #000;
    position: relative;
    padding-left: 20px;
    font-size: 24px;
    margin: 100px 0 20px;
    width: 100%;
}
[class*="ns_category-section"] h2.ns_category-title::before{
    content:"";
    width:10px;
    height: 100%;
    position: absolute;
    background-color: #e6891c;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
[class*="ns_category-section"] p {
    margin: 0;
}

[class*="ns_category-section"] div.ns_info {
    width:100%;
    text-align: left;
}
[class*="ns_category-section"] p.ns_date {
    text-align: right;
    margin-bottom: 5px;
}
[class*="ns_category-section"] p.ns_article-title {
    font-size: 22px;
    font-weight: bold;
}
[class*="ns_category-section"] .ns_abstract:has(+ .ns_thumb-img) {
    width: 50%;
}
[class*="ns_category-section"] .ns_abstract p{
    font-size:16px;
}
[class*="ns_category-section"] .ns_thumb-img {
    width: calc(50% - 10px);
    margin-left: 10px;
}
[class*="ns_category-section"] .ns_thumb-img img{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background-position: center;
}


.breadcrumb {display: none;}

.ns_breadcrumb{
    background-color:rgba(240,240,240,.9);
    margin:0 calc( -1 * (50vw - 50%) );
}

.ns_breadcrumb>div{
    max-width:1206px;
    margin:0 auto;
}

.ns_breadcrumb ul{
    font-size:0;
    box-sizing:border-box;
}

.ns_breadcrumb li:nth-of-type(n+2):before{
    content:"＞";
    display:inline;
    margin:0 .5em;
}

.ns_breadcrumb a{
    color:#231f20;
}

.ns_breadcrumb a:hover{
    text-decoration:underline;
}

.ns_breadcrumb li{
    display:inline;
    letter-spacing:.01em;
}

@media(min-width: 1280px){
    .ns_breadcrumb>div{padding:0 80px;}
}

@media(min-width: 768px)and (max-width: 1279px){
    .ns_breadcrumb>div{padding:0 50px;}
}

@media(min-width: 768px){
    .ns_breadcrumb ul{padding:9px 0;}
    .ns_breadcrumb li{font-size:14px;line-height:22px;}
}

@media(max-width: 767px){
    .pageLaboratory .ns_category-section>div {width: 100%;}
    .pageLaboratory [class*="ns_category-section"]>div {width: 100%;}
    .ns_breadcrumb>div{padding:0 20px;}
    .ns_breadcrumb ul{padding:1px 0;}
    .ns_breadcrumb li{font-size:10px;line-height:20px;}
    .dirMenu+.wrapper .ns_breadcrumb{min-height:42px;}
}

.boxArticleBodyA p + ul,
.boxArticleBodyA p + ol {
    margin-top: 20px;
}

.boxArticleBodyA ul + p,
.boxArticleBodyA ol + p {
    margin-top: 20px;
}

/* チーム紹介 */
.ns_team-profile{
  margin-top: 40px;
  border-top: 1px solid #e7e7e7;
}

.ns_team-profile__inner{
  padding: 10px 0;
}

.ns_team-profile__title{
  font-size: 16px !important;
  font-weight: bold;
  margin-bottom: 6px;
}

.ns_team-profile__lead{
  font-size: 14px !important;
  margin: 0;
}

/* 本文より小さくする */
.ns_team-profile{
  font-size: 14px !important;
  line-height: 1.7;
}

.ns_team-profile__title{
  font-size: 14px !important;
  margin: 0 0 8px;
  font-weight: bold;
}

.ns_team-profile__lead{
  font-size: 14px !important;
  margin: 0 !important;
}

.ns_article .ns_team-profile { font-size: 15px !important; }

/* チーム紹介：区切り線（確実に表示するためhrを使用） */
.ns_team-profile__divider{
  border: 0;
  border-top: 1px solid #cfcfcf; /* 少し濃くして視認性UP */
  margin: 40px 0 18px;           /* 上：本文との距離 / 下：ボックスとの距離 */
}