/*Background in Search*/
.topic-title {
	color : white;
}

.top-bnr>a>span:hover {
    color: #0a58ca;
}

.color-with-background>a{
	color : white;	
}

.scroll-top {
	width: 50px;
    height: 62.5px;
    background: url(../../content/images/pri/pagetop.png) no-repeat;
    background-size: 100%;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-top>a>span {
	color: white;
	font-size: 18px;
}

.title-field-advanced-search {
	color: #003a57 !important;
    font-weight: 600;
}

.slide-button {
	text-align: center;
}

.slide-button>button {
    color: #073385;
    font-size: 12px;
    font-weight: 600;
    border: none;
    padding: 10px;
    background-color: #EEEEEE;
}

.bt_ja {
    text-align: center;
    color: #003a57;
    text-decoration: none;
    font-size: 25px;
    font-weight: bold;
}

.bt_en {
    text-align: center;
    color: #003a57;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

body {
    background-size: 100%;
    font-family: a-otf-ud-shin-go-pr6n, sans-serif;
    overflow-y: scroll !important;
}

.page-item > a{
    color:#C55A11
}

#imageShow {
    text-align: center;
}

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");
}

.mv h2 {
    font-weight: 900;
    font-size: 4.5rem;
    color: #8D0000;
    font-family: "M PLUS Rounded 1c";
    z-index: 1;
}

.mv h2 a {
    color: #8D0000;
}

.mv h2+span {
    font-size: 2rem;
    font-weight: 600;
    color: #8D0000;
}

.top .mv h2,.top .mv h2 a,
.top .mv h2+span {
    color: #ffffff;
}

footer {
    background: #8D0000;
    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: #333;
}

.btn-lang:hover,
.btn-lang:active,
.btn-lang:focus {
    color: #fff;
}

.card-main-square {
    display: block;
    width: 100%;
    position: relative;
    padding: 1.5rem;
    text-align: center;
    height: 300px;
}

.card-main-image {
    max-height: 250px;
}

#seach-results .col > * {
    background-color: #696969;
    color: #ffffff;
}

#seach-results .list-group,
#seach-results .list-group-item {
    background: none;
    color: #ffffff;
}

.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;
}

.custom-scrollbar-detail {
    scrollbar-width: thin;
    /*細さ*/
    scrollbar-color: #999999 #ffffff;
    /*つまみの色 軌道の色*/
    word-break: break-all;
}

.custom-scrollbar-detail::-webkit-scrollbar {
    width: 3px;
}

.custom-scrollbar-detail::-webkit-scrollbar-track {
    background-color: #ffffff;
    border-radius: 100px;
}

.custom-scrollbar-detail::-webkit-scrollbar-thumb {
    background-color: #999999;
    border-radius: 100px;
}

.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;
}

/*TOPページ用*/
.absonsive {
    height: calc(200 / 1920 * 100vw);
}

.top-bnr {
    width: calc(187 / 1920 * 100vw);
    height: calc(162 / 1920 * 100vw);
    background: url(../../content/images/pri/bnr-bg-dg.svg) no-repeat;
    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;
}

#bnr-uni {
    position: absolute;
    left: calc(450 / 1920 * 100vw);
    top: calc(0 / 1920 * 100vw);
    background: url(../../content/images/pri/bnr-bg-lg.svg) no-repeat;
    background-size: 100%;
    background-position: center;
}

#bnr-contact {
    position: absolute;
    left: calc(300 / 1920 * 100vw);
    top: calc(81 / 1920 * 100vw);

}

#bnr-top {
    position: absolute;
    left: calc(150 / 1920 * 100vw);
    top: calc(0 / 1920 * 100vw);
    background: url(../../content/images/pri/bnr-bg-lg.svg) no-repeat;
    background-size: 100%;
    background-position: center;
}

#bnr-search {
    position: absolute;
    left: calc(0 / 1920 * 100vw);
    top: calc(81 / 1920 * 100vw);
}

/*翻訳ボタン六角形*/
.hexagon-1 {
    width: 150px;
    height: 130px;
    /* width*√3/2 */
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    /*background: #9995aa;*/
}

.hexagon-1:hover {
    background: #8D0000;
}

.h4,
h4 {
    font-size: 1rem;
}

.bgc_green {
    background-color: #696969;
}

.bgc_red {
    background-color: #8D0000;
}

.card-title {
    color: #ffffff;
}

.card-text {
    color: #ffffff;
}

.bgbl_b1 {
    background-image: url(../../content/images/pri/block_b.png);
    background-repeat: no-repeat;
    background-size: 75% auto;
    height: 133px;
}

.bgbl_b2 {
//background-image: url(../../content/images/pri/block_b.png);
    background-size: 80% auto;
    height: 133px;
    background-repeat: no-repeat;
    margin-top: -20px;
}

.bgbl_b3 {
//background-image: url(../../content/images/pri/block_b.png);
    background-size: 80% auto;
    height: 133px;
    background-repeat: no-repeat;
}

.bgbl_b3-container {
    top: -55px;
}

.bgbl_w1 {
    /* background-image: url(../../content/images/pri/block_w.png); */
    background-repeat: no-repeat;
    background-size: 30% auto;
    position: relative;
    margin-top: -230px;
    background-position: left 0%;
    left: -50px;
    margin-left: -50px;
}

.bgbl_w2 {
    /* background-image: url(../../content/images/pri/block_w.png); */
    background-repeat: no-repeat;
    background-size: 35% auto;
    background-position: 3% -25%;
}

/*水玉背景マージン調整*/
.mto-1 {
    margin-top: -50px;
}

#details #category-list p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.topic-list dt {
    float: left;
}

.topic-list dd {
    margin-left: 7em;
}

#detailsearch h3,
#detailsearch-modal h3 {
    color: #fff;
}

.form .text-shadow-center {
    color: #333;
}

/*組織別検索*/
.category-box:nth-child(even) .category-parent {
    order: 1;
    padding-right: 10px !important;
    padding-left: 0px !important;
}

.category-box:nth-child(even) .category-child-box {
    order: 2;
}

.category-box:nth-child(odd) .category-parent {
    order: 2;
    padding-left: 10px !important;
    padding-right: 0px !important;
}

.category-box:nth-child(odd) .category-child-box {
    order: 1;
}

.category-bg-parent,
.category-bg-child {
    position: relative;
    width: 100%;
    padding: 0;
}

.category-bg-parent::before,
.category-bg-child::before {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.category-bg-parent h4,
.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;
    font-size: 1rem;
}

.category-bg-parent {
    background: #8D0000 url(../../content/images/btn-bg-cate-p.png);
    border: none;
    background-size: 100%;
    background-repeat: no-repeat;
    color: #fff;
    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-parent:hover {
    background-color: rgba(133, 129, 154, 1);
}

.category-box:nth-child(even) .category-bg-parent {
    background: #8D0000 url(../../content/images/btn-bg-cate-p.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-box:nth-child(even) .category-bg-parent:hover {
    background-color: rgba(190, 185, 207, 1);
}



.category-bg-child {
    background: rgba(248, 249, 250, 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 {
    flex: 0 0 auto;
    width: 50%;
    margin-bottom: 1.5rem;
}

.category-title {
    margin-bottom: 0;
}

.col.category-child-box {
    padding: 1rem;
    background: #696969;
}

.category-box {
    margin-bottom: 3rem;
}

.category-box:nth-child(odd) .category-child-box {
    position: relative;
    margin-bottom: 2rem;
}

.category-box:nth-child(odd) .category-child-box:after {
    content: "";
    position: absolute;
    background-image: url(../../content/images/pri/block_b.png);
    background-size: 80% auto;
    height: 133px;
    width: 50%;
    display: block;
    background-repeat: no-repeat;
    margin-top: 0;
    left: 33%;
}

.main_bg_top {
    background: #8D0000;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    position: relative;
    height: 370px;
    text-align: center;
}

.main_bg_top h2 a {
    font-size: 80px;
    text-align: center;
}

.main_bg_top span {
    font-size: 20px !important;
    text-align: center;
}

.bgbl_b1 {
    background-size: 100% auto;
}

.mto-1 {
    margin-top: -30px;
}

.youtube {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.youtube iframe {
    width: 100%;
    height: 100%;
}

.vsb-lab {
    display: none;
}

.topics-list {
    display: flex;
    flex-wrap: wrap;
}

.template3-customer-style-5-color {
   color: #073385 !important;
}

.title-color-detail {
	color : #003a57 !important;
}

/* CSS for Search-title-in-background */
.search-title-in-background {
	background-color: rgba(255, 255, 255, 0.7);
    margin-top: 80px;
    width: 100%;
	padding: 12px;
	z-index: 1;
}

.search-text-in-background {
	font-family: Arial, メイリオ !important;
    font-weight: bold !important;
	padding-top: 10px;
}

.text-detail-in-background {
	background-color: rgba(255, 255, 255, 0.7);
    width: 100%;
	color: #073385;
	font-weight: 600;
}

.text-primary {
    color: #000 !important;
    text-shadow: none;
    font-weight: bold;
}

.btn-top {
    width: 110px;
    bottom: 155px;
    right: 50px;
    display: none;
    position: fixed;
    z-index: 99;
    border: none;
    outline: none;
    cursor: pointer;
}
.border-top {
    border-top: var(--bs-border-width) var(--bs-border-style) #afabab!important;
}

.logo-size {
    height: 69px;
    margin-bottom: 10px;
    margin-top: 15px;
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #ffffff;
    background-color: #8D0000;
    border-color: #8D0000;
    opacity: 1;
}

.btn-primary:hover {
    color: #ffffff;
    background-color: #8D0000;
    border-color: #8D0000;
    opacity: 1;
}

.bg-light {
    --bs-bg-opacity: 1;
    background-color: #696969!important;
}

.text-color-white {
    color: #fff;
}
.topics-list-text {
    color: #fff;
}

.fileArea a {
    color: #f3682a;
}

.bgc_orange {
    background-color: #8D0000;
}

.footer-link {
    margin: 0 80px;
}
.head-common {
    padding: 0;
}

dl, ol, ul {
   padding-inline-start: 50px;
    margin-top: 0;
    margin-bottom: 1rem;
}

.customer-style-3 {
   background-image: linear-gradient(115deg, #F628370 15px, #F62837 15px 30px, #F62837 30px 100% ) !important;
   color: #fff !important;
}

.template3-customer-style-5 {
   background-color: #073385 !important;
   border-color: #073385 !important;
}

.template3-customer-style-5:hover {
    opacity: 0.8;
}

.template3-customer-style-5-lang {
   background-color: #073385 !important;
   border-color: #073385 !important;
}

/* 5と同じ色  */
.hexagon-1:hover {
   background: #a8d5ec !important;
}

.template3-customer-style-6 {
    color: #003a57;
    background-color: #a8d5ec !important;
}

.template3-customer-style-9>a {
    color:#C55A11
}

.template3-customer-style-10 {
    color: #003a57;
}

.popup-background {
   background-color: #a8d5ec;
}

.popup-title-background {
   background-color: #073385;
}

@media (max-width: 767px) {

     #updateTime{
        text-align: end;
        margin-top: -48px;
        font-weight: bolder;
     }

     .topics-list-text.p-3.font-sp{
          margin-left: -14px !important
     }
     .col-md-6.my-5.mx-0.p-5.bg-light{
        width: 100% !important;
        margin-top: -16px !important;
     }
     #topic{
        margin-left: 20px !important;
     }
     .col-md-6.my-5.mx-0.p-5.bgc_red.text-white{
        width: 100% !important;
     }
     .bt_en {
        font-size: 7px !important;
     }

     .row.bg-top-right.my-md-5.position-relative{
        padding-bottom: 209px !important;
     }
     .col-md-6.my-md-5 {
        width: 87% !important;
        margin-left: 26px !important;
     }
     .offset-1.col-11.col-md-7.offset-md-5.p-5.my-5.h-100.position-absolute.end-0.bgc_green{
        width: 100%;
        margin-top: 295px !important;
        height: 275px !important;
     }
    .btn-top {
        width: 75px !important;
        bottom: 25px !important;
        right: 0px !important;
        position: fixed !important;
        z-index: 99 !important;
        border: none !important;
        outline: none !important;
        cursor: pointer !important;
    }

    .btn-top>a>img{
       height: 55px !important;
    }

    #bnr-search {
        position: absolute;
        left: calc(0 / 1920 * 100vw) !important;
        top: calc(110 / 1920 * 100vw) !important;
    }

   #bnr-top {
        position: absolute;
        left: calc(230 / 1920 * 100vw) !important;
        top: calc(0 / 1920 * 100vw) !important;
        background: url(../../content/images/pri/bnr-bg-lg.svg) no-repeat;
        background-size: 100%;
        background-position: center;
    }

    #bnr-contact {
        position: absolute;
        left: calc(460 / 1920 * 100vw) !important;
        top: calc(110 / 1920 * 100vw) !important;
    }

    #bnr-uni {
        position: absolute;
        left: calc(690 / 1920 * 100vw) !important;
        top: calc(0 / 1920 * 100vw) !important;
        background: url(../../content/images/pri/bnr-bg-lg.svg) no-repeat;
        background-size: 100%;
        background-position: center;
    }

    .top-bnr {
         width: 3.5rem !important;
         height: 3.2rem !important;
         background: url(../../content/images/pri/bnr-bg-dg.svg) no-repeat;
         background-size: 100%;
         background-position: center;
         display: flex;
         justify-content: center;
         align-items: center;
     }

    #category-list{
        max-height: 670px;
        overflow-y: auto;
        overflow-x: clip;
        scrollbar-width: thin;
        scrollbar-color: #999999 #ffffff;
        word-break: break-all;
    }

    .main_bg {
        background-image: url(../../content/images/pri/banner_3_1.png);
        background-repeat: no-repeat;
        background-position: center;
        /* background-size: 100% 100%; */
		background-size: 100% auto;
        position: relative;
        /* height: calc(450 / 740 * 100vw); */
        /* max-height: 450px; */
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        flex-direction: column;
        padding-bottom: 50px;
    }

    .main_bg::before {
        content: "";
        background: url(../../content/images/pri/coating.png);
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: center;
        height: calc(210 / 740 * 100vw);
        max-height: 450px;
        width: 100%;
        max-width: calc(1347 / 768 * 100vw);
        display: block;
        position: absolute;
        z-index: 1;
    }

    .main_bg::after {
        background-repeat: no-repeat !important;
        background-size: 100% 100%;
        background-position: center;
        height: calc(450 / 740 * 100vw);
        max-height: 450px;
        width: 100%;
        max-width: 100%;
        display: block;
        position: absolute;
        z-index: -2;
    }

    .top .main_bg::after, .main_bg::after {
        background: url(../../content/images/pri/banner_3_1.png);
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat !important;
    }

    .main_bg > h2 > a {
        font-size: 50px;
        text-align: center;
    }

    .main_bg > span {
        font-size: 10px !important;
        text-align: center;
    }
    .bt_ja {
        font-size: 11px !important;
    }
    .d-md-none {
        display: none!important;
    }
    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    .my-md-5 {
       margin-top: 1rem!important;
       margin-bottom: 1rem!important;
    }
    .col-md-7 {
       flex: 0 0 auto;
       width: 63.33333333%;
    }
    .mb-0.position-absolute.top-50.start-50.translate-middle{
        font-size: 0.5rem !important;
        width: 150px !important;
        width: 80% !important;
    }
    .mb-0.position-absolute.top-50.start-50.translate-middle font{
        font-size: 1.75em !important;
    }
    .ps-5 {
        padding-left: 0rem !important;
    }
    .p-5 {
        padding: 1rem!important;
    }
    .my-5 {
        margin-top: 1rem!important;
        margin-bottom: 1rem!important;
    }
    .w-100.ms-n25{
        height:250px !important;
        margin-top: -41px !important;
    }
    .pt-5 {
        padding-top: 2rem!important;
    }
    .col-md-6.my-5.mx-0.p-5.bgc_red.text-white > div{
        font-size: 1rem !important;
        margin-top: -38px !important;
        margin-left: 20px !important;
    }
    .footer-nav.d-flex.justify-content-center{
        gap: 0em !important;
    }
    .footer-link {
        margin: 0 26px !important;
    }
    .container > .d-none.d-md-block{
        display: block!important;
    }

    #category-list h3 {
        font-size: 1.2em;
    }

    #category-list h4 {
        font-size: 1em;
    }

     #details #category-list p {
          font-size: calc(24 / 740 * 100vw) !important;
          width: 50px !important;
          display: -webkit-box;
         -webkit-box-orient: vertical;
         -webkit-line-clamp: 3;
         overflow: hidden;
     }

	/* CSS for Search-title-in-background */
	.search-title-in-background {
		background-color: rgba(255, 255, 255, 0.7);
		margin-top: 20px;
		width: 100%;
		padding: 12px;
		z-index: 1;
	}

    #category-list h3 {
        font-size: 1.2em;
    }

    #category-list h4 {
        font-size: 1em;
    }

    #details #category-list p {
         font-size: calc(24 / 740 * 100vw) !important;
         width: 50px !important;
         display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }

	.mv h2 {
		font-weight: 900;
		font-size: 2rem;
		color: #8D0000;
		font-family: "M PLUS Rounded 1c";
		z-index: 1;
	}

	.mv h2+span {
		font-size: 1rem;
		font-weight: 600;
		color: #8D0000;
	}

}

@media (min-width: 768px) and (max-width: 1399.99px)  {
    #updateTime{
        text-align: end;
        margin-top: -48px;
        font-weight: bolder;
    }

    .bt_en {
        font-size: 10px !important;
     }
     .bt_ja {
        font-size: 13px !important;
     }

    .main_bg {
        background-image: url(../../content/images/pri/banner_3_1.png);
        background-repeat: no-repeat;
        background-position: center;
        /* background-size: 100% 100%; */
		background-size: 100% auto;
        /* height: calc(480 / 740 * 100vw); */
        /* max-height: 480px; */
        position: relative;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        flex-direction: column;
        padding-bottom: 60px;
    }

    .main_bg::before {
        content: "";
        background: url(../../content/images/pri/coating.png);
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: center;
        height: calc(210 / 740 * 100vw);
        max-height: 480px;
        width: 100%;
        max-width: calc(1347 / 768 * 100vw);
        display: block;
        position: absolute;
        z-index: 1;
    }

    .main_bg::after {
        background-repeat: no-repeat !important;
        background-size: 100% 100%;
        background-position: center;
        height: calc(480 / 740 * 100vw);
        max-height: 480px;
        width: 100%;
        max-width: 100%;
        display: block;
        position: absolute;
        z-index: -2;
    }

    .top .main_bg::after, .main_bg::after {
        background: url(../../content/images/pri/banner_3_1.png);
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat !important;
    }

    .main_bg > h2 > a {
        font-size: 70px;
        text-align: center;
    }

    .main_bg > span {
        font-size: 18px !important;
        text-align: center;
    }
    .bt_ja {
        font-size: 20px !important;
    }
    .mb-0.position-absolute.top-50.start-50.translate-middle{
        font-size: 0.75rem !important;
    }
    .footer-nav.d-flex.justify-content-center{
        gap: 0em !important;
    }

    .container-md.p-0.px-md-3 {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100%;
    }

    .row.bg-top-right.mb-md-5.pb-md-5.position-relative {
        padding: 0 !important;
        margin: 0 !important;
    }

}

@media (min-width: 1400px){
    #updateTime{
        text-align: end;
        margin-top: -48px;
        font-weight: bolder;
    }

    .main_bg {
        background-image: url(../../content/images/pri/banner_3_1.png);
        background-repeat: no-repeat;
        background-position: center;
        /* background-size: 100% 100%; */
		background-size: 100% auto;
        /* height: calc(520 / 740 * 100vw); */
        /* max-height: 520px; */
        position: relative;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        flex-direction: column;
        padding-bottom: 80px;
    }

    .main_bg::before {
        content: "";
        background: url(../../content/images/pri/coating.png);
        background-size: 100% 100%;
		/* background-size: 100% auto; */
        background-repeat: no-repeat;
        background-position: center;
        height: calc(210 / 740 * 100vw);
        max-height: 420px;
        width: 100%;
        max-width: calc(1347 / 768 * 100vw);
        display: block;
        position: absolute;
        z-index: 1;
    }

    .main_bg::after {
        background-repeat: no-repeat !important;
        background-size: 100% 100%;
        background-position: center;
        height: calc(520 / 740 * 100vw);
        max-height: 520px;
        width: 100%;
        max-width: 100%;
        display: block;
        position: absolute;
        z-index: -2;
    }

    .top .main_bg::after, .main_bg::after {
        background: url(../../content/images/pri/banner_3_1.png);
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat !important;
    }

    .main_bg > h2 > a {
        font-size: 85px;
        text-align: center;
    }

    .main_bg > span {
        font-size: 22px !important;
        text-align: center;
    }

    .row.bg-top-right.mb-md-5.pb-md-5.position-relative {
        padding: 0 !important;
        margin: 0 !important;
    }
    .top-bnr {
        max-width: 130px;
        max-height: 130px;

    }

    #bnr-search {
        left: 0;
        top: 56px;
    }

    #bnr-top {
        left: 103px;
        top: 0;
    }

    #bnr-contact {
        left: 207px;
        top: 56px;
    }

    #bnr-uni {
        left: 310px;
        top: 0;
    }
}

@media (min-width: 992px) {
    .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);
    }

    .form-label {
        color: #231815;
    }

    .category-bg-parent,
    .category-bg-child {
        position: relative;
        width: 100%;
        padding: 0;
    }

    .category-bg-parent::before,
    .category-bg-child::before {
        content: "";
        display: block;
        padding-bottom: 100%;
    }

    .category-bg-parent h4,
    .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-bg-parent {
        max-width: 210px;
        max-height: 210px;
    }

    .category-parent {
        flex: 0 0 auto;
        width: 20%;
    }

    .category-child {
        flex: 0 0 auto;
        width: 20%;
    }

    .col.category-child-box {
        width: 75%;
        padding: 1rem;
        background: #696969;
    }

    .category-box:nth-child(even) .col.category-child-box {
        /*background: #A1A1A1 url(../../content/images/pri/block_w.png);*/
        background-position: 0% 120%;
        background-repeat: no-repeat;
        background-size: auto;
        margin-bottom: 0px;
    }

    .category-box:nth-child(odd) .col.category-child-box {
        /*background: #A1A1A1 url(../../content/images/pri/block_w.png);*/
        background-position: 0% 120%;
        background-repeat: no-repeat;
        background-size: auto;
        margin-bottom: 0px;
    }

    .category-box:nth-child(even) .category-child-box>.row {
        /*padding-left: 33.6%;*/
        padding-right: 20px;
        justify-content: start;
    }

    .category-box:nth-child(odd) .category-child-box>.row {
    /*padding-right: 33.6%;*/
    padding-left: 20px;
        justify-content: end;
    }


    .category-box {
        margin-bottom: 6rem;
    }

    .category-box:nth-child(even):after {
        content: "";
        /*    background-image: url(../../content/images/pri/block_w.png); */
        background-repeat: no-repeat;
        background-size: 30% auto;
        position: relative;
        margin-top: -230px;
        background-position: left 0%;
        right: -50px;
        margin-right: -50px;
    }

    .category-box:nth-child(odd) .category-child-box {
        position: relative;
        margin-bottom: 2rem;
    }

    .category-box:nth-child(odd) .category-child-box:after {
        content: "";
        position: absolute;
        background-image: url(../../content/images/pri/block_b.png);
        background-size: 80% auto;
        height: 133px;
        width: 370px;
        display: block;
        background-repeat: no-repeat;
        margin-top: -10px;
        right: 33%;
    }

    .category-box:nth-child(odd) .category-parent{
        padding:0 !important;
        margin:0 !important;
        text-align: right !important;
    }

    .category-box:nth-child(even) .category-parent{
        padding:0 !important;
        margin:0 !important;
        text-align: left !important;
    }

    .category-box:nth-child(odd) .category-parent>.dropdown{
        padding-left: 30px;
    }

    .category-box:nth-child(even) .category-parent>.dropdown{
        padding-right: 30px;
    }

    .category-box:nth-child(even) .category-child-box>.row>.category-child{
        padding: 10px 10px 10px 30px;
        margin: 0;
    }

    .category-box:nth-child(odd) .category-child-box>.row>.category-child {
        padding: 10px 30px 10px 10px;
        margin: 0;
    }
}

@media (max-width: 991px) {
    .topics-list>* {
        flex: 0 0 auto;
        width: 100%;
        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);
    }
}