body {
    background: #fff;
    font-family: a-otf-ud-shin-go-pr6n, sans-serif;
    overflow-y: scroll !important;
    overflow-x: hidden;
}

.bg-light {
    background: #e2e2e3 !important;
}

.ff-mincho {
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

.bg-top-left {
    background: url(content/images/lab/bg-top-topics.svg) no-repeat;
    background-position: calc(140 / 1210 * 100vw) calc(120 / 1210 * 100vw);
}

.bg-top-right {
    background: url(content/images/lab/bg-top-about.svg) no-repeat;
    background-position: calc(170 / 1210 * 100vw) calc(120 / 1210 * 100vw);
}

.topic-list {
    font-size: 1.5em;
    font-weight: bold;
    line-height: 2;
    padding: 0 1em 1em;
    border-left: 17px solid #000;
    margin-left: 0.25em;
    max-height: 500px;
    overflow-y: auto;

}

h2.topic-title {
    position: absolute;
    width: calc(32 / 1200 * 100vw);
    left: calc(0 / 1200 * 100vw);
}

.about-title {
    padding-left: calc(88 / 1200 * 100vw);
    padding-top: calc(32 / 1200 * 100vw);
}

.bg-one-right {
    background: url(content/images/lab/bg-one.svg) no-repeat;
    background-position: calc(780 / 1200 * 100vw);
}

.bg-two-left {
    background: url(content/images/lab/bg-two.svg) no-repeat;
    background-position: calc(50 / 1200 * 100vw);
}

.bg-three-right {
    background: url(content/images/lab/bg-three.svg) no-repeat;
    background-position: calc(950 / 1200 * 100vw);
}

.bg-three-left {
    background: url(content/images/lab/bg-three.svg) no-repeat;
    background-position: calc(100 / 1200 * 100vw);
}


.fluid-box {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

.fluid-box-inner {
    margin: 0 auto;
    padding: 25px;
}

header h1 {
    margin-bottom: 0;
    font-weight: normal;
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    color: #ffffff;
}

.navbar-toggler {
    height: 1.5em;
}

.navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");

}

.main_bg {
    /*background-image: url(content/images/lab/main-sp.png);*/
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    height: 508px;
    margin-bottom: 1.5em;
}

@media (min-width: 768px) {
    .style-height {
        min-height: 400px;
     }
    .bt_en {
       font-size: 12px !important;
       font-weight: bold;
    }
    .footer-link {
        margin: 0 80px;
    }
    .main_bg {
       /* background-image: url(content/images/lab/main-sub-pc.png);*/
        background-repeat: no-repeat;
        background-position: left top;
        background-size: cover;
        height: 556px;
    }

    .toppage .main_bg,
    .group-search .main_bg {
       /* background-image: url(content/images/lab/main-top-pc.png);*/
        background-repeat: no-repeat;
        background-position: left top;
        background-size: cover;
        height: 941px;
    }
	.style-detail-department {
		padding-right: 50px;
		width: 85%;
		/* max-width: 75%; */
		min-width: 50%;
		word-break: break-word;
	}
}

.mv h2 {
    font-family: "Arial", "メイリオ";
    font-weight: bold;
    font-size: 3.5rem;
    color: #ffffff;
}

.mv h2 a {
    color: #ffffff;
}

.mv h2+span {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

footer {
    background: #000000;
    color: #fff;
    padding: 1em 0 1em;
}

footer .footer-nav {
    text-align: center;
    margin: auto;
}

footer .footer-nav a {
    text-decoration: none;
    color: #ffffff;
}

footer .copyright {
    text-align: center;
    margin: auto;
    font-size: 8px;
}

.btn-lang {
    color: #fff;
    text-shadow: 1px 1px 1px rgb(0, 0, 0, 0.3);
}

.btn-lang:hover,
.btn-lang:active,
.btn-lang:focus {
    color: #0f3157;
    text-shadow: none;
}

.btn-lang.disabled,
.btn-lang:disabled,
fieldset:disabled .btn-lang {
    color: #0f3157;
    background: #ffffff;
    opacity: 1;
    text-shadow: none;
}

/*.card-main-square {
    display: block;
    width: 100%;
    padding-top: 100%;
    background: url(https://researchers.general.hokudai.ac.jp/search/content/images/card-main-square_bg.svg) no-repeat;
    background-size: cover;
    position: relative;
}*/

.card-main-square {
    padding: 1.5rem !important;
    text-align: center;
    vertical-align: middle;
    display: block;
    width: 100%;
    position: relative;
    padding: 1.5rem;
    text-align: center;
    /* height: 300px; */
}

.card-main-image {
   /* width: 100%;
    height: 368px;*/
	border: #fff solid 3px;
	max-height: 150px;
}

.card-title {
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

#seach-results .col>* {
    --bs-bg-opacity: 1;
    background-color: #dee2e4;
	color: #212529;
}

#seach-results .list-group,
#seach-results .list-group-item {
    background: none;
}

/*.absolute-center-card-main {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 60% !important;
}

.absolute-center {
    top: 36%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 60% !important;
}*/

/*.underline-90 {
    border-bottom: 5px solid #fff;
    position: relative;
    padding: 5px 10px;
}

.underline-90::before {
    content: "";
    display: block;
    width: calc(100% - 60px);
    border-bottom: 5px solid #3c3d42;
    position: absolute;
    bottom: -3px;
    left: 0;
}*/

.custom-scrollbar {
    margin-right: .75em;
    scrollbar-width: thin;
    /*細さ*/
    scrollbar-color: #999999 #ffffff;
    /*つまみの色 軌道の色*/
}

.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;
}

.dropdown:hover>.dropdown-menu {
    display: block;
}

.text-shadow-center {
    text-shadow: 0px 0px 1px rgb(0 0 0), 0px 0px 1px rgb(0 0 0);
}

.mh-md-940 {
    min-height: auto;
}

img.pro-img {
    width: 100%;
}

@media (min-width: 768px) {

    .bt_en {
       font-size: 12px !important;
       font-weight: bold;
    }
    .mh-md-940 {
        min-height: 940px;
    }

}

@media (max-width: 767.98px) {
   .position-department-title {
	padding-left: 0px !important;
        padding-right: 0px !important;
        padding-bottom: 1rem !important;
        padding-top: 1rem !important;
    }

   .style-font-size {
      font-size: calc(24 / 740 * 100vw) !important;
   }

   .style-btn-block {
     width: 2rem !important;
     height: 2rem !important;
     line-height: 2rem !important;
     font-size: 14px;
   }
    .bt_ja {
       font-size: 12px !important;
       font-weight: bold;
    }

    .bt_en {
       font-size: 8px !important;
       font-weight: bold;
    }

    .font-sp {
        font-size: calc(20 / 740 * 100vw);
    }

    #category-list h3 {
        font-size: calc(28 / 740 * 100vw);
    }

    #category-list h4 {
        font-size: calc(18 / 740 * 100vw);
    }

    #details #category-list p {
        font-size: calc(18 / 740 * 100vw);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }

    .mh-md-white {
        background: #ffffff !important;
    }

    img.pro-img {
        width: 150%;
        margin-left: -50%;
    }



    h2.topic-title img {
        width: calc(32 / 740 * 100vw);
    }

    .topic-list {
        font-size: calc(24 / 740 * 100vw);
        border-left: 10px solid #000;
    }

    .top-bnr {
         width: 3.5rem !important;
         height: 3.2rem !important;
         background-color: #23651c;
         margin: 10px;
         background-size: 100%;
         background-position: center;
         display: flex;
         justify-content: center;
         align-items: center;
     }
	.category-box>.row {
		width: 100%;
		margin-bottom: 2rem;
		margin: 0;
		margin-bottom: 2rem;
	}
	.btn-searchm-master {
		border: none;
		padding: 15px;
		margin-bottom: 18px;
		width: 90%;
		pointer-events: auto;
		min-height: 100px;
		height: 80%;
	}
	.style-detail-department {
		padding-right: 10px;
		/* width: 85%; */
		max-width: 75%;
		word-break: break-word;
	}
}

@media (min-width: 576px) {
    .bt_en {
       font-size: 12px !important;
       font-weight: bold;
    }
     .footer-link {
         margin: 0 80px;
     }
    .mv h2 {
        font-size: 6.5rem;
    }

    .mv h2+span {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .bt_en {
       font-size: 12px !important;
       font-weight: bold;
    }
    .form-label {
        color: #212529;
    }
    .footer-link {
          margin: 0 80px;
    }
}

.youtube {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.youtube iframe {
    width: 100%;
    height: 100%;
}

.vsb-lab {
    display: inline-block;
}

.hdn-lab {
    display: none;
}

.topics-list-item {
    display: flex !important;
    align-items: center !important;
    border-bottom: 2px solid white;

}

.topics-list-img {
    flex: 1 0 0%;
}

.topics-list-text {
    flex: 0 0 auto;
    width: 66.66666667%;
}

.topic-list dt {
    float: left;
}

.topic-list dd {
    margin-left: 7em;
}

.form .btn {
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
}

.form .btn-check:focus+.btn,
.form .btn:focus {
    background-color: #fff;
    background-image: none;
    border-color: #ced4da;
    box-shadow: none;
}

.form .btn-check:active+.btn:focus,
.form .btn-check:checked+.btn:focus,
.form .btn.active:focus,
.form .btn.show:focus,
.form .btn:active:focus {
    background-color: #fff;
    background-image: none;
    border-color: #ced4da;
    box-shadow: none;
}

#detailsearch .bg-primary,
#detailsearch-modal .bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
}

#detailsearch .btn,
#category-list .btn,
#detailsearch-modal .btn {
    --bs-btn-color: #fff;
    --bs-btn-bg: #212529;
    --bs-btn-border-color: #212529;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #1c1f23;
    --bs-btn-hover-border-color: #1a1e21;
    --bs-btn-focus-shadow-rgb: 66, 70, 73;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #1a1e21;
    --bs-btn-active-border-color: #191c1f;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #212529;
    --bs-btn-disabled-border-color: #212529;
}

#detailsearch-modal h3 {
    color: #fff;
}

#pagenation {
    position: relative;
    margin-bottom: 2rem;
}

.page-link {
    color: rgba(235, 92, 1, 1);
    text-decoration: underline;
    font-weight: bold;
}

.pagination .page-link:active {
    color: rgba(33, 37, 41, 1) !important;
    text-decoration: none;
}

@media (min-width: 768px) {
    .bt_en {
       font-size: 12px !important;
       font-weight: bold;
    }
    .pagination {
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        justify-content: center;
    }
	.category-box>.row {
		width: 100%;
		margin: 0;
		margin-bottom: 2rem;
	}
	.btn-searchm-master {
		border: none;
		padding: 15px;
		margin: 18px;
		width: 90%;
		pointer-events: auto;
		min-height: 100px;
		height: 80%;
	}
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #212529;
    --bs-btn-border-color: #212529;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #1c1f23;
    --bs-btn-hover-border-color: #1a1e21;
    --bs-btn-focus-shadow-rgb: 66, 70, 73;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #1a1e21;
    --bs-btn-active-border-color: #191c1f;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #212529;
    --bs-btn-disabled-border-color: #212529;
}

.form .text-shadow-center {
    color: #333;
}

/*組織別検索*/
.category-bg-child {
    position: relative;
    width: 100%;
    padding: 0;
	height: 100px;
}

.category-bg-child::before {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.category-bg-child h4 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.category-box {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
	padding: 0;
}



.category-box:nth-child(odd)>.row {
    --bs-bg-opacity: 1;
    background-color: #dee2e4;
}

.category-box:nth-child(even)>.row {
    float: right;
    --bs-bg-opacity: 1;
    background-color: #e2f4cd !important;
}
/*
.category-box:nth-child(odd) {
    background: url(content/images/lab/bg-one.svg) no-repeat;
    background-position: calc(780 / 1200 * 100vw);
}

.category-box:nth-child(even) {
    background: url(content/images/lab/bg-two.svg) no-repeat;
    background-position: calc(50 / 1200 * 100vw);
}*/

.category-parent {
    flex: 0 0 auto;
    width: 100%;
    display: block;
}

.category-parent .dropdown {
    padding-left: 2rem;
}

.category-bg-parent {
    pointer-events: none;
    background: none;
    border: none;
    width: 100%;
}

.category-parent h4.category-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: calc(42 / 740 * 100vw) !important;
    font-weight: 900 !important;
    text-align: center;
    margin-top: 0.5em;
    color: #212529;
}

.category-box:nth-child(even) .category-parent h4.category-title {
	color: #212529 !important
}

.category-child-box {
    flex: 0 0 auto;
    width: 100%;
    display: block;
}

.category-child {
    flex: 0 0 auto;
    width: 33%;
    margin-bottom: 1.5rem;
}

.category-bg-child {
    background: rgba(255, 255, 255, 1) url(content/images/btn-bg-cate-c.png);
    border: none;
    background-size: 100%;
    background-repeat: no-repeat;
    color: #333;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.category-bg-child:hover {
    background-color: rgba(237, 237, 237, 1);
}

.category-child-box .row {
    padding: 1rem;
}

.category-child h4.category-title {
    margin-bottom: 0;
}

.category-parent .dropdown:hover>.dropdown-menu {
    display: none !important;
}

@media (max-width: 991.98px) {
    .bt_en {
       font-size: 8px !important;
       font-weight: bold;
    }
	/*
    .category-box:nth-child(odd) {
        background: url(content/images/lab/bg-one.svg) no-repeat;
        background-position: 100% center;
        background-size: contain;
    }

    .category-box:nth-child(even) {
        background: url(content/images/lab/bg-two.svg) no-repeat;
        background-position: 0 center;
        background-size: contain;
    }*/

    .bg-three-right {
        width: 100%;
    }
	.category-child {
		flex: 0 0 auto;
		width: 50%;
		margin-bottom: 1.5rem;
	}

}

@media (min-width: 992px) {
    .bt_en {
       font-size: 12px !important;
       font-weight: bold;
    }
    .category-box>.row {
        width: 100%;
        margin-bottom: 50px;
    }

    .category-bg-child {
        position: relative;
        width: 100%;
        padding: 0;
    }

    .category-bg-child::before {
        content: "";
        display: block;
        padding-bottom: 100%;
    }

    .category-bg-child h4 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }

    .category-box:nth-child(odd),
    .category-box:nth-child(even) {
      /*  min-height: 400px; */
        margin-bottom: 50px;
    }

    .category-box:nth-child(odd) {
        background-position: right;
    }

    
    

    .category-child-box .row {
        padding: 3rem;
		padding-top: 1rem;
    }

    .category-child-box {
        flex: 0 0 auto;
        width: 100%;
        display: block;
    }

    .category-parent h4.category-title {
        font-size: 2rem !important;
        font-weight: 900 !important;
        text-align: left;
    }

    .category-box:nth-child(even) .category-parent h4.category-title {
        color: #fff;
        text-align: left;
    }

    .bg-one-right {
        background: url(content/images/lab/bg-one.svg) no-repeat;
        background-position: right;
    }

    .bg-three-right {
        background: url(content/images/lab/bg-three.svg) no-repeat;
        background-position: 80% center;
    }

}

@media (max-width: 1399.98px) and (min-width: 992px) {
    .bt_en {
       font-size: 12px !important;
       font-weight: bold;
    }
    .category-child-box {
        width: 100%;
    }

}

@media (max-width: 1399.98px) and (min-width: 768px) {
    .bt_en {
       font-size: 12px !important;
       font-weight: bold;
    }
      .footer-link {
          margin: 0 60px;
     } 
    .container-md.p-0.px-md-3 {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100%;
    }
}

h2.display-3.mb-5.text-md-end.fw-bold {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900 !important;
}
.btn-top {
    bottom: 40px;
    right: 40px;
    display: none;
    position: fixed;
    z-index: 99;
    border: none;
    outline: none;
    cursor: pointer;
}
.category-custom{
    position: sticky;
    top: 0;
    z-index: 1;
}

.border-top {
    border-top: var(--bs-border-width) var(--bs-border-style) #b9b9b9!important;
}

.img-prof img {
    /* max-width: 250px;
    max-height: 250px;
    height: 250px;
    width: auto !important; */
	width: auto !important;
	max-height: 140px;
}

ul a {
  /* color: #fff;*/
}



.popup-background {
   background-color: #6c757d;
}

.popup-title-background {
   background-color: #212529;
}


.top-bnr {
    width: calc(187 / 1920 * 100vw);
    height: calc(162 / 1920 * 100vw);
    background-color: #23651c;
    margin: 10px;
    background-size: 100%;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-bnr a {
    width: 80%;
    margin: auto;
}

.top-bnr a img {
    width: 100%;
    user-select: none;
}

.top-list-menu {
    width: 112px;
    height: 100px;
    text-align: center;
    padding: 0;
}
.top-list-menu a {
   color: #fff;
   text-decoration: none;
   font-size: 18px;
}

.topic-title {
    cursor: pointer;
    color: black;
    text-decoration: none;
}


.topic-title:hover {
   color: var(--bs-link-hover-color);
}

.style-btn-block {
  width:2.5rem;
  height:2.5rem;
  line-height:2.5;
}
 /* ヒアリングシート_画面デザイン  START*/
.template2-customer-style-1 {
   /* header-lab-snippets-menuのsnippetsで設定する */
   /* content/images/logo.png */
   /* 画像を content/images に置き、名前を logo.png に変更します  */
}

.template2-customer-style-2 {
   /* 大学名と制度名学校が名前を別の名前に変更したい場合は、ここで編集してください
   getTitle2, TOP_GET_TITLE_TEMP2のsnippetsで設定する  */
	/*color: #fff;*/
}

.template2-customer-style-3 {
	background-color: #23651C !important;
    border-color: #23651C !important;
	color: #fff !important;
}
.template2-customer-style-3.disabled, .template2-customer-style-3:disabled {
    background-color: #23651C !important;
    border-color: #23651C !important;
    opacity: 1;
}
.template2-customer-style-3-title {
    background-color: #23651C !important;
    border-color: #23651C !important;
	color: #FFFFFF !important;
}

.template2-customer-style-3:hover,.template2-customer-style-3.show {
    opacity: 0.7;
    background-color: #fff !important;
    border-color: #fff !important;
}

.template2-customer-style-3:focus, .template2-customer-style-3.focus {
    box-shadow: 0 0 0 3px #fff;
}


.template2-customer-style-3:active, .template2-customer-style-3.active,.show > .template2-customer-style-3.dropdown-toggle {
    background-color: #70b0de;
    background-image: none;
	border-color: #70b0de;
    /*border-color: #032c4b;*/
}

.template2-btn-outline-primary-style-3 {
    color: #fff;
    background-color: transparent;
    background-image: none;
    border-color: #70b0de;
}

.template2-btn-outline-primary-style-3:hover {
    color: #000;
    background-color: #fff;
    border-color: #fff;
}

.template2-btn-outline-primary-style-3:focus, .template2-btn-outline-primary-style-3.focus {
    box-shadow: 0 0 0 3px rgba(235, 92, 1, 0.5);
}

.template2-btn-outline-primary-style-3.disabled, .template2-btn-outline-primary-style-3:disabled {
    color: #000;
    background-color: transparent;
}

.template2-btn-outline-primary-style-3:active, .template2-btn-outline-primary-style-3.active,.show > .template2-btn-outline-primary-style-3.dropdown-toggle {
    color: #000;
    background-color: #fff;
    border-color: #fff;
}

.template2-customer-style-4 {
	/* header-lab-snippets-menuのsnippetsで設定する
	TEMPLATE2_MENUのsnippetsで設定する
	get data from API*/
}

/* template2-customer-style-5 START */
.main_bg::before {
	/* background: url(content/images/lab/main-bg-particle-sub.svg), url(content/images/lab/main.jpg);*/
}
/* template2-customer-style-5 END */

/* template2-customer-style-6 START */
.template2-customer-style-6 {
	/*画像を about-bg-pc.jpg という名前に変更します
	以下のリンクに従ってください
	content/images/lab/about-bg-pc.jpg
	古い写真を削除して新しい写真を上書きします
	*/
}
/* template2-customer-style-6 END */

/* template2-customer-style-7 START */
.template2-customer-style-7 {
	background: #23651c;
   /* color: #fff;*/
}
.template2-customer-style-7-btn {
    background: #e2f4cd;
    color: #212529;
	border-color: #e2f4cd !important;
}
.template2-customer-style-7 > div > div > a {
	/*background: #70b0de;
    color: #fff;*/
}
.main_bg::after {

	/*background: linear-gradient(to right, transparent 25%, #black 25%) !important;*/
}
/* template2-customer-style-7 END */

/* template2-customer-style-8 START */
.template2-customer-style-8 {
	/*background: #e2e2e3 !important; */
   /*b color: #fff;*/
}
.category-box:nth-child(odd)>.row {
  /*  background-color: red;*/
}
/* template2-customer-style-8 END */

/* template2-customer-style 9 START */
.template2-customer-style-9 {
	background: #e2f4cd !important;
    color: #212529;
}

.category-box:nth-child(even)>.row {
   /* background-color: green !important;*/
}
/* template2-customer-style 9 END */

/* template2-customer-style 10 START */
/*Button TOP: イメージを変える*/
.popup-title-background {
	background-color: #000 !important;
    border-color: #000 !important;
	color: #FFFFFF !important;
}

.template2-customer-style-10 {
	background-color: #23651c !important;
    border-color: #23651c !important;
	color: #fff !important;
}

.template2-customer-style-10.disabled, .template2-customer-style-10:disabled {
    background-color: #000;
    border-color: #000;
    opacity: 1;
}
.template2-customer-style-10-title {
    background-color: #23651c !important;
    border-color: #23651c !important;
	color: #fff !important;
}

.template2-customer-style-10:hover,.template2-customer-style-10.show {
    opacity: 0.7;
    background-color: #23651c;
    border-color: #23651c;
}

.template2-customer-style-10:focus, .template2-customer-style-10.focus {
    box-shadow: 0 0 0 3px #23651c;
}

.template2-customer-style-10.disabled, .template2-customer-style-10:disabled {
    background-color: #000;
    border-color: #000;
    opacity: 1;
}

.template2-customer-style-10:active, .template2-customer-style-10.active,.show > .template2-customer-style-10.dropdown-toggle {
    background-color: #000;
    background-image: none;
	border-color: #000;
    /*border-color: #032c4b;*/
}

#detailsearch-modal .bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
}

#detailsearch-modal .btn {
    --bs-btn-color: #fff;
    --bs-btn-bg: #000;
    --bs-btn-border-color: #212529;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #1c1f23;
    --bs-btn-hover-border-color: #1a1e21;
    --bs-btn-focus-shadow-rgb: 66, 70, 73;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #1a1e21;
    --bs-btn-active-border-color: #191c1f;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #212529;
    --bs-btn-disabled-border-color: #70b0de;
}

#detailsearch-modal h3 {
    color: #fff;
}

.template2-customer-style-11 {
	/* 大学名と制度名学校が名前を別の名前に変更したい場合は、ここで編集してください
   TOP_GET_TITLE_TEMP2のsnippetsで設定する  */
}

.template2-customer-style-12 {
	background: #ffffff;
    color: #212529;
}

.template2-customer-style-13 {
	background-color: #dee2e4 !important;
    color: #212529 !important;
}

/* template2-customer-style-14 START */
.page-item>a{
    color:rgba(235, 92, 1, 1); !important;
}

.bg-one-right {
    background: url(content/images/lab/bg-one.svg) no-repeat;
    background-position: right;
}
.bg-three-right {
    background: url(content/images/lab/bg-three.svg) no-repeat;
    background-position: 80% center;
}
/* template2-customer-style-14 END */
.template2-customer-style-15 {
   /* color: aqua;*/
}

 /* ヒアリングシート_画面デザイン  END*/

.search-master-area {
	background-color: #dee2e4 !important;
	color: #212529;
}

.category-title-search {
	font-size: 2rem !important;
	font-weight: 900 !important;
	padding-top: 20px;
	padding-left: 2rem;
}

.category-child-area {
	padding: 0rem 1rem 2rem 1.5rem;
}

.detail-sub-title {
	padding-left: 15px;
}

.slide-button {
	color: blue;
    text-align: center;
    cursor: pointer;
}

.style-invitation {
	color: #e50016;
}

.thumbnail-download {
    text-align: center;
    display: grid;
    justify-items: end;
}

.text-download-title {
    font-size: .75rem;
}

.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;
}

/* 20251210 追加  */
.top .main_bg::after,
.subpage .main_bg::after {
    background: none !important;
}

.row.position-relative {
    margin-bottom: 2em;
}
.style-block {
	padding-top: 1.5rem !important;
	padding-bottom: 2rem !important;
}
.scroll-sub-item {
   max-height: 330px;
   overflow-y: auto;
}
.pos-title {
	padding-bottom: 1rem;
}

.style-detail-position {
	vertical-align: text-bottom;
	min-width: 25%;
  /*  white-space: nowrap;*/ 
  	word-break: normal;
}

.style-detail-department-position {
	width: 100%;
  	table-layout: auto;
}

/* 20260107 追加  */
h4.fw-bold.prof-cate {
	font-size: 1.25rem;
}

h5.fw-bold.prof-cate {
	font-size: 1rem;
}

.card-body.p-4.template2-customer-style-15 {
    padding: 0 1.5rem 1.5rem 1.5rem !important;
}

/* 20260120 追加  */
/* .topics-list-img img.w-100 {
    width: auto !important;
    max-height: 90px;
} */

.topics-list-text {
	width: 0% !important;
	word-break: break-word;
}
.offset-md-4 {
    margin-left: 50%;
}
.col-md-8 {
    flex: 0 0 auto;
    width: 80%;
}

#details .position-relative a p {
    /* background-color: red;
*/    line-height: 1.25;
    word-break: break-word;
    font-size: clamp(12px, 1vw, 14px);
}

/* =====20260430==== */
/* ===== Fix row tràn margin âm trên mobile ===== */
.img-prof > .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  --bs-gutter-x: 0;
}

/* ===== Cỡ chữ chung ===== */
.style-detail-department,
.style-detail-position {
  font-size: 16px;
}

.img-prof p {
  font-size: 15px;
}

/* ===== Department & position layout (desktop) ===== */
.style-detail-department-position {
  width: 100%;
  border-collapse: collapse;
}

.style-detail-department-position .style-detail-department {
  width: 1%;
  white-space: nowrap;
  padding-right: 2rem;
}

.style-detail-department-position .style-detail-position {
  width: auto;
  white-space: nowrap;
  text-align: left;
}

/* ===== Desktop & Tablet (≥768px) ===== */
@media (min-width: 768px) {
  .img-prof > .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: start;
  }

  .img-prof > .row > [class*="col-xl-2"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem !important;
    flex-shrink: 0;
  }

  .img-prof > .row > [class*="col-xl-2"] img.w-100 {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }

  .img-prof > .row > [class*="col-xl-10"] {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
}

/* ===== Mobile (<768px) ===== */
@media (max-width: 767px) {
  .img-prof > .row {
    display: flex;
    flex-wrap: wrap;
  }

  .img-prof > .row > [class*="col-xl-2"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center;
  }

  .img-prof > .row > [class*="col-xl-2"] img.w-100 {
    width: auto !important;
    max-width: 200px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }

  .img-prof > .row > [class*="col-xl-10"] {
    width: 100% !important;
    padding: 0 1rem !important;
  }

  /* Table thành block để department wrap được */
  .style-detail-department-position,
  .style-detail-department-position tbody,
  .style-detail-department-position tr {
    display: block;
    width: 100%;
  }

  .style-detail-department-position tr {
    margin-bottom: 0.5rem;
  }

  .style-detail-department-position .style-detail-department {
    display: inline;
    white-space: normal !important;
    word-break: break-word;
    padding-right: 0 !important;
    margin-right: 1rem;
  }

  .style-detail-department-position .style-detail-position {
    display: inline;
    white-space: nowrap;
    padding-left: 0;
    font-weight: bold;
  }

	/* topic image */
  .bg-three-left {
    background-position: calc(100 / 1200 * 100vw);
    margin-right:5%;
  }
  .bg-secondary {
    margin-left: 20%;
  }
}