body {
    overflow-y: scroll !important;
}

main {
    width: 100%;
    overflow: hidden;
}

header h1 {
    margin-bottom: 0;
    font-weight: 900;
    font-family: 'Noto Sans JP', sans-serif;
}

.navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath stroke='rgba(0,0,0,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24' /%3E%3C/svg%3E");
}


footer, nav.navbar.navbar-expand-lg, .top #topics {
    color: #fff;
    background-image: linear-gradient(to right, #F62837 0% 50%, #F62837 50% 100% );
}

footer .container, nav.navbar.navbar-expand-lg .container, .top #topics .container {
    background-image: linear-gradient(115deg, #F62837 0 15px, #F62837 15px 30px, #F62837 30px 100% );
}

footer .footer-nav {
    text-align: right;
    margin: auto;
}

footer .footer-nav a {
    text-decoration: none;
    color: #ffffff;
}

footer .copyright {
    text-align: right;
    margin: auto;
    padding: 1em;
    background: #cb0d29; 
    font-size: 0.75em;
}

#search-form {
    max-width: 950px;
    margin: 3em auto 3em;
}

.top #search-form {
    margin: 0 auto 3em;
}

#search-form .container.pb-5.mb-5 {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.top dt{
  float: left;
}

.top dd{
  margin-left: 80px;
}

.navbar-dark a.nav-link {
    color: #fff;
}

input#inlineFormInputNameGroup,
select#inlineFormSelectPref,
#search-form .btn,
#detailsearch .col.flex-fill .btn {
    border-radius: 5px !important;
}

#search-form .btn-light {
    outline: 3px solid #132F3D !important;
    outline-offset: -3px !important;
    background: #fff;
}

#search-form .text-end {
    display: none;
}

#detailsearch .bg-primary {
    background: transparent !important;
    text-align: left !important;
    color: #333;
    padding: 0 !important;
    font-size: 1em;
}

#detailsearch .col.flex-fill {
    padding: 3em;
    border: 1px solid #D8D8D8;
    border-radius: 5px;
    position: relative;
}

#detailsearch .col.flex-fill:before {
    content: "";
    display: block;
    width: 33px;
    height: 8px;
    background: url(https://www.jamstec.go.jp/souran/content/images/simple/search-detail.svg) no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: -25px;
    left: 0;
    right: 0;
    margin: auto;
}

#category-list-simple .category button h3 {
    background: #F62837;
}

#category-list-simple #category-1 button h3 {
    background: #F62837;
}

#category-list-simple #category-2 h3 {
    background: #F62837;
}

#category-list-simple #category-3 h3 {
    background: #F62837;
}

#category-list-simple #category-4 h3 {
    background: #F62837;
}

.page-link {
    color: #231815;
}

.table td, .table th {
    word-break: break-word;
    padding: 1em;
}

.table th {
    text-align: center;
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    color: #231815;
    --bs-table-accent-bg: #FFFFFF;
}

.table-striped>tbody>tr:nth-of-type(even)>* {
	color: #231815;
	--bs-table-accent-bg: #F1F1F1;
}

#table-search thead tr > th:nth-of-type(1),
#table-search tr > td > .table tr > th {
    width: 6%;
}

#table-search thead tr > th:nth-of-type(2),
#table-search tr > td > .table tr > td:nth-of-type(1) {
    width: 25%; 
}

#table-search thead tr > th:nth-of-type(3),
#table-search tr > td > .table tr > td:nth-of-type(2) {
    width: 15%; 
}

#table-search thead tr > th:nth-of-type(4),
#table-search tr > td > .table tr > td:nth-of-type(3) {
    width: 12.5%;
}

#table-search thead tr > th:nth-of-type(5),
#table-search tr > td > .table tr > td:nth-of-type(4) {
    width: 12.5%;
}

#table-search thead tr > th:nth-of-type(6),
#table-search tr > td > .table tr > td:nth-of-type(5) {
    width: 15%;
}

#table-search thead tr > th:nth-of-type(7),
#table-search tr > td > .table tr > td:nth-of-type(6) {
    width: 10%;
}

#table-search .collapse th,
#table-search .collapsing th {
    width: 6%;
}

#table-search tr > td > .table > tbody > tr {
    border-top: none;
    border-bottom: none;
}

#table-search tr > td > .table tr > th,
#table-search .collapse th,
#table-search .collapsing th {
    border: none;
}
#table-search tr > td > .table tr > td,
#table-search .collapse td,
#table-search .collapsing td {
    border-top: none;
    border-bottom: none;
    border-right:none;
}


@media (max-width: 767.98px) {
.table td, .table th {
    padding: 0.5em;
}

.page-item:nth-child(6) .page-link, .page-item:nth-child(7) .page-link, .page-item:nth-child(8) .page-link, .page-item:nth-child(9) .page-link {
display: none;
}

}

/**/

#seach-results .col>* {
 /*   background-color: #d2cfde;*/
    color: #333;
}

#seach-results .list-group,
#seach-results .list-group-item {
    background: none;
    color: #333;
}

.prof-name {
    font-size: 1.5rem;
}

.absolute-center {
    top: 36%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 60% !important;
}

.custom-scrollbar {
    margin-right: .75em;
    scrollbar-width: thin;
    /*細さ*/
    scrollbar-color: #999999 #ffffff;
    /*つまみの色 軌道の色*/
    word-break: break-all;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background-color: #ffffff;
    border-radius: 100px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #999999;
    border-radius: 100px;
}

/*その他*/
.h4,
h4 {
    font-size: 1rem;
}

.card-title {
    color: #000;
}

.card-text {
    color: #333;
}

#details #category-list p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

@media (max-width: 767.98px) {
    #category-list h3 {
        font-size: 1.2em;
    }

    #category-list h4 {
        font-size: 1em;
    }

    #details #category-list p {
        font-size: calc(24 / 740 * 100vw);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }
	
    #footerNavUni {
		gap: 1em !important;
	}
}

@media (min-width: 992px) {
    .form-label {
        color: #231815;
    }
}

@media (max-width: 767.98px) {
    .ms-n25 {
        margin-left: -16%;
    }
}

.youtube {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.youtube iframe {
    width: 100%;
    height: 100%;
}

.vsb-lab {
    display: none;
}

.topics-list {
    display: flex;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .topics-list>* {
        flex: 0 0 auto;
        width: 50%;
        max-width: 100%;
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5);
        margin-top: var(--bs-gutter-y);
    }
}

.topic-list dt {
    float: left;
}

.topic-list dd {
    margin-left: 7em;
}

#detailsearch h3,
#detailsearch-modal h3 {
    color: #fff;
}

.form .text-shadow-center {
    color: #333;
}

@media (max-width: 1399.98px) and (min-width: 768px) {
    .container-md.p-0.px-md-3 {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100%;
    }
}

.text-primary {
    color: #000 !important;
    text-shadow: none;
    font-weight: bold;
}

.style-department-tag {
    border: none;
    margin: 0px;
    padding: 0px;
    width: 100%;
    text-align: left;
}

.style-department-tag h3 {
    font-size: 1em;
    margin-bottom: 0px;
}

.child-block:hover > .dropdown-menu  {
      display: block;
}

.topic-link {
   color: #212529;
   text-decoration: none;
}

.toppic-block {
    max-height: 1000px;
    overflow-y: auto;
}

.logo-size {
   height: 50px;
}


.btn-primary {
   color: #fff;
   background-color: #F62837;
   border-color: #F62837;
}

.btn-primary:hover {
    color: #fff;
   background-color: #f1646e !important;
   border-color: #f1646e !important;
}

.bg-primary {
   background-color: #ffcccc !important;
}

.btn:focus {
   background-color: #f1646e;
   border-color: #f1646e;
 }

.bg-color-popup {
   background-color: #ea9ba0;
 }

.position_absolute {
   position: fixed !important;
   bottom: 0;
   width: 100%;
}

.scroll-sub-item {
   max-height: 330px;
   overflow-y: auto;
}

.researcher-img-size {
 /*  height: 196px; */
}

.style-table {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* number of lines to show */
  line-clamp: 4; 
  -webkit-box-orient: vertical;
}

td a:visited {
 /* color: #551A8B;  */
}



@page {
  size: A4;
  margin: 0;
}

@media print {
  .position_absolute {
      position: static !important;
  }

 .navbar-dark a.nav-link {
    color: #000;
 }

 .btn-primary {
    color: #000;
 }
footer, nav.navbar.navbar-expand-lg, .top #topics {
    color: #000;
}

footer .footer-nav a {
    color: #000;
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}
.p-3 {
    padding: 1rem!important;
}

.row-cols-1>* {
    flex: 0 0 auto;
    width: 100%
}
.row-cols-md-3>* {
        flex: 0 0 auto;
        width: 33.3333333333%
    }
	
.mb-4 {
    margin-bottom: 1.5rem!important
}
#footerNavUni {
    gap: 5em;
}

}

.inactive {
   opacity: 0.8;
}
#category-list-simple .category div h3 {
    background: #F62837;
}

#category-list-simple #category-1 div h3 {
    background: #F62837;
}

 /* ヒアリングシート_画面デザイン  START*/


.customer-style-1 {
   /* header-simple-templateのsnippetsで設定する */
   /* content/images/logo.png */
   /* 画像を content/images に置き、名前を logo.png に変更します  */
   /* favicon: headのchunksで設定する */
}

.customer-style-2 {
   /* (2, 8) 共有してファイル検索トップページに入る  */
}

.customer-style-3 {
   background-image: linear-gradient(115deg, #475a72 15px, #475a72 15px 30px, #475a72 30px 100% ) !important;
   color: #fff !important;
}
/* (3-1) rd_t_settings tableで設定する */

.customer-style-4 {
   /* Default: no image
      add a image to : content/images/
      upload to resource Template Variables of TOP : TOP > insert > choose a image > save
      Elements > Manage Elements > Template Variables > main-image-simple > Template Access > [3] TOPテンプレート(国公立) > save  
  */
}

.customer-style-5 {
    background-color: #fff !important; 
  /* background-color: rgb(236,245,231) !important;*/

}
/* 5と同じ色  */
select{
   background-color: #fff !important;
}

.simp-template {
	color: #000000 !important;
}

.customer-style-6 {
    color: #fff;
    background-color: #1e2e3d !important;
    border-color: #1e2e3d !important;
}

.customer-style-6:hover {
    color: #fff;
    background-color: #323433  !important;
    border-color: #323433  !important;
}

.customer-style-6:active {
    box-shadow: 0 0 0 0.2rem #323433;
}

.customer-style-6:focus {
    box-shadow: 0 0 0 0.2rem #323433;
} 

.customer-style-6:not(:disabled):not(.disabled):active:focus, .customer-style-6:not(:disabled):not(.disabled).active:focus, .show > .customer-style-6 .dropdown-toggle:focus {
   box-shadow: none;
}
/* (6-1, 6-2) toppage-simple-menuのsnippetsで設定する */

.customer-style-7 {
    text-align: right;
    margin: auto;
    padding: 1em;
    background: #323433 !important;
    font-size: 0.75em;
    color: #fff !important;
}

.customer-style-8 {
    /* (2, 8) 共有してファイル検索トップページに入る  */
}

.customer-style-9 {
   background: #1350ad !important;
}

.customer-style-10 {
   background: #1350ad !important;
}

.customer-style-11 {
   background: #1350ad !important;
}

.base-color {
    color: #1e2e3d !important;
}
.customer-style-12 {
    background-color: #1e2e3d !important;
    --bs-text-opacity: 1;
    color: rgba(var(--bs-white-rgb),var(--bs-text-opacity)) !important;
}

.item_level4 {
    margin-top: 5px;
    margin-bottom: 0px;
  /*  background-color: #1e2e3d !important;*/
    --bs-text-opacity: 1;
    color: #000 !important;
    padding: 5px;
    margin-left: -10px;
}

.popup-background {
   background-color: #555756 ;
}

.popup-title-background {
   background-color: #323433;
}

/* ヒアリングシート_画面デザイン  END*/

.fileArea {
   word-break: break-word; 
}

#detail-content ul {
   background-color: #fafafa;
}

.btn-top {
    width: 110px;
    bottom: 85px;
    right: 50px;
    display: none;
    position: fixed;
    z-index: 99;
    border: none;
    outline: none;
    cursor: pointer;
}
#detail-menu{
        max-height: 670px;
        overflow-y: auto;
        overflow-x: clip;
        scrollbar-width: thin;
        scrollbar-color: #999999 #ffffff;
        word-break: break-all;
    }
.showMenu {
  display: none !important;
}
.hideMenu {
   display: block;
}

.profile div.on {
    /*background: url(../image/point_up.png) no-repeat scroll 0 center transparent;*/
}

.slide-button {
    margin: 0 auto 30px;
    width: 125px;
    cursor: pointer;
    cursor: hand;
    /*background: url(../image/point_holizen.png) no-repeat scroll 0 center transparent; */
    /* padding-left: 15px; */
    color: blue;
}

.style-notification {
	border: 1px solid #D8D8D8;
    border-radius: 5px;
    padding: 1em;
	margin-top: 15px;
}

.style-detail-position {
	max-width:20%;
}

#details > .row > .flex-fill > .h-100 > ul {
   list-style-type: none !important;
	padding-left:0px;
}

.top .main_bg {
    background-image: url();
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 593px;
}

@media (max-width: 767.98px) {
    .top .main_bg {
        background-image: url();
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        height: calc(300 / 740 * 100vw);
    }
}

.style-main-tag {
	margin-bottom: 80px;
}
.margin-top-0 {
	margin-top: 0px !important;
}
.margin-bottom-0 {
	margin-bottom: 0px !important;
}
.margin-bottom-15 {
	margin-bottom: 1.5rem  !important;
}

.display-none {
	display: none !important;
}

.display-block {
	display: block !important;
}

.margin-left-5 {
	margin-left: 5px !important;
}

.topic-style {
	margin-bottom: 0.5rem;
}

.topic-style-child {
	padding-right: 10px;font-weight: 700;
}

.gap-5 {
	gap: 5em;
}
.width-50per {
	width: 50%;
}
.margin-bottom-level1 {
	margin-bottom: 1.5rem;
}

.input-cb-style {
	margin-right: 5px;cursor: pointer;
}

.cursor-pointer {
	cursor: pointer;
}

.font-size-1 {
	font-size: 1em;
}

.font-weight-bold {
	font-weight: bold;
}

.result-style-highlight {
	border-top: #dee2e6 solid 1px;
}

.result-style-preview {
	width: 1em;
	height: 1em;
	margin-top: 4px;
}
.result-style-preview-btn {
	width: 25px;
}

.detail-pr50 {
	padding-right: 50px;
}

.detail-p-absolute {
	position: absolute;
}

.detail-pb-100 {
	padding-bottom: 100px;
}

.detail-category-style {
	position: sticky;
	top: 0;
}
.detail-category-list-style {
	list-style: none;
	padding: 0;
}

.detail-pd-5-0 {
	padding: 5px 0;
}

.detail-base-color {
	color: var(--bs-link-color);
}

.detail-li-value {
	padding: 5px 0;padding-left: 20px;
}

.list-style-number {
	list-style-type: number;
}
 
.hideItem {
  display: none !important;
}

.form-select-1 {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
	background-image: url(https://www.jamstec.go.jp/souran//content/images/dropdown.svg);
	background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
