@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
    --primary-color: #0d172b;
    --second-color: #fff;
    --third-color: #e7e7e7;
}

html,
body {
    font-size: 16px;
    height: 100%;
    color: var(--primary-color);
    font-weight: 400;
    line-height: 1.8;
}
body {
    margin: 0;
}
html[lang="ja"] body,
html[lang="ja"] button,
html[lang="ja"] input,
html[lang="ja"] select,
html[lang="ja"] textarea {
    font-family: "Poppins", "Noto Sans JP", sans-serif !important;
}
html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3,
html[lang="ja"] h4,
html[lang="ja"] h5,
html[lang="ja"] h6,
b {
    font-weight: 500;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #0d172b;
	font-family: "Poppins", "Noto Sans JP", sans-serif !important;
}
a {
    text-decoration: none;
}
a:focus {
    outline: none;
}
.entry-content a {
    text-decoration: none;
}
.text-center {
    text-align: center;
}
.section-gap {
    padding-top: 0;
}
.inner-wrap {
    max-width: 1240px;
}

.site-logo {
    padding: 15px 0;
}
.site-logo img {
    max-height: 50px;
}
/* btn */
.custom-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #0d172b;
    border-radius: 50px;
    padding: 8px 10px 8px 46px;
    font-size: 18px !important;
    background-color: transparent;
    color: #0d172b;
    text-decoration: none;
    transition: background-color 0.1s ease, color 0.1s ease;
    letter-spacing: 3px;
    font-weight: 700;
}

.custom-button .circle {
    background-color: #0d172b;
    color: white;
    border-radius: 9999px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 22px;
    transition: transform 0.1s ease;
    will-change: transform;
    font-size: 0;
}
.custom-button .circle::after {
    content: "";
    display: block;
    background: url(../images/common/arrow-right-white.png) no-repeat;
    width: 15px;
    height: 15px;
    background-size: 100%;
    position: absolute;
}

.custom-button:hover {
    background-color: #0d172b;
    color: #ffffff !important;
}
.custom-button:hover .circle {
    transform: scale(1.1);
    background-color: #fff;
}
.custom-button:hover .circle::after {
    background-image: url(../images/common/arrow-right-black.png);
}
.technology .custom-button {
    border-color: #fff;
    color: #fff !important;
}
.technology .custom-button:hover{
    background-color: #fff !important;
    color: #0d172b !important;
}
.technology .custom-button .circle{
    background-color: #fff;
}
.technology .custom-button:hover .circle{
    background-color: #0d172b;
}
.technology .custom-button .circle::after {
    background-image: url(../images/common/arrow-right-black.png);
}
.technology .custom-button:hover .circle::after {
    background-image: url(../images/common/arrow-right-white.png);
}
/* Header */
#masthead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
}
#masthead .header-top {
    padding: 0;
    width: 25%;
}
#masthead .header-bottom {
    background-color: transparent;
    width: 75%;
}
#masthead .menu-toggle {
    font-size: 16px;
    margin: auto;
    display: block;
    height: auto;
    position: relative;
    background-color: transparent;
    min-width: auto;
    border: none;
    margin-left: auto;
    margin-right: 0;
    border-radius: 0;
}
#masthead .menu-toggle span,
#masthead .menu-toggle span:before,
#masthead .menu-toggle span:after {
    background: var(--primary-color);
}
#masthead .menu-toggle:hover,
#masthead .menu-toggle:focus,
#masthead .menu-toggle.active span {
    background-color: transparent;
}
#masthead .main-navigation a {
    color: var(--primary-color);
    font-size: 1.4vw;
    margin-right: 1.9vw;
    transition: all 0.1s ease;
}
#masthead .main-navigation a:hover, #masthead .main-navigation .current-menu-item a {
    color: #8d939e;
}
.main-navigation ul#primary-menu > li {
    background-color: #fff;
}
.site-header {
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.home .site-header {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.home .site-header.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#masthead ul.nav-menu > li.nav-btn > a {
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    padding: 10px 15px;
    margin-right: 0;
    transition: all 0.1s ease;
}
#masthead ul.nav-menu > li.nav-btn > a:hover {
    border-color: #8d939e;
}
#masthead ul.nav-menu > li.nav-btn > a{
    margin: 0 auto;
    max-width: 250px;
}
.menu-sp-menu-container{
    display: none !important;
}
@media screen and (min-width: 1400px) {
    #masthead .main-navigation a {
        font-size: 16px;
        margin-right: 40px;
    }
}
@media screen and (min-width: 1024px) {
    #masthead .menu-toggle {
        display: none;
    }
    #masthead .main-navigation ul.nav-menu {
        background-color: transparent;
        text-align: right;
    }
    .main-navigation ul.nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    #masthead ul.nav-menu > li.nav-btn > a{
        margin-top: 0;
        max-width: auto;
        padding: 8px 25px;
    }
}
@media screen and (max-width: 1023px) {
    #masthead .site-branding{
        min-height: 60px;
    }
    .site-logo {
        padding: 10px 0;
    }
    .site-logo img{
        visibility: hidden;
    }
    .custom-logo-link{
        background: url(../images/common/sp-logo.png) no-repeat left top;
        height: 45px;
        background-size: contain;
    }
    #masthead .main-navigation a {
        font-size: 1.3rem;
        text-align: left;
        margin-right: 0;
        padding-left: 0;
        font-weight: 600;
        padding-bottom: 8px;
        padding-top: 35px;
        letter-spacing: 1px;
    }
    .menu-main-menu-container{
        display: none !important;
    }
    .menu-sp-menu-container{
        display: block !important;
    }
    .menu-sp-menu-container .nav-menu{
        background-color: #fff;
        padding: 35px 6% 150px;
        overflow: auto;
    }
    .menu-sp-menu-container .dropdown-toggle .fa-caret-down{
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .menu-sp-menu-container .dropdown-toggle .fa-caret-down:before{
        content: "\f067"
    }
    .menu-sp-menu-container .dropdown-toggle.active .fa-caret-down:before{
        content: "\f068";
    }
    .menu-sp-menu-container button.dropdown-toggle{
        background-color: #999999;
        border-radius: 50px;
        top: 15px;
        right: 38px;
        width: 38px;
        height: 38px;
    }
    .main-navigation ul.nav-menu{
        background-color: #F6F6F6;
        height: 100vh;
    }
    .main-navigation ul.nav-menu > li {
        padding: 0 6%;
        background-color: #fff;
    }
    .main-navigation ul.nav-menu > li:first-child{
        border-radius: 10px 10px 0 0;
        padding-top: 10px;
    }
    .main-navigation ul.nav-menu > li.before-last{
        border-radius: 0 0 10px 10px;
        padding-bottom: 55px;
    }
    .main-navigation ul.nav-menu > li.before-last > a{
        border-bottom: 1px solid #000;
    }
    .main-navigation ul.nav-menu > li > a{
        border-top: 1px solid #000;
        text-align: left;
    }
    .main-navigation ul.nav-menu > li:first-child > a{
        border-top: none;
    }
    .main-navigation ul.nav-menu > li:first-child button.dropdown-toggle{
        top: 35px;
    }
    .main-navigation ul ul{
        background-color: #fff;
    }
    .main-navigation ul.sub-menu {
        padding-left: 7%;
    }
    .main-navigation ul.sub-menu li a::before{
        content: '・';
        display: inline-block;
    }
    .main-navigation ul.sub-menu li a{
        padding-top: 0px;
        padding-bottom: 25px;
        line-height: 1;
        padding-right: 0 !important;
    }
    #masthead ul.nav-menu > li.nav-btn > a{
        text-align: center;
        font-size: 96%;
        padding: 13px;
    }
    #masthead ul.nav-menu > li.nav-btn {
        padding: 35px 20px 40px;
        background-color: transparent;
    }
}
@media screen and (max-width: 767px) {
    /* #masthead.site-header .main-navigation ul.nav-menu {
        max-width: 100%;
        height: 100vh;
        background-color: var(--second-color);
    } */
    .custom-logo-link{
        height: 40px;
    }
    .custom-button {
        font-size: 16px !important;
    }
    .custom-button .circle{
        width: 36px;
        height: 36px;
    }
    .custom-button .circle::after{
        width: 13px;
        height: 13px;
    }
    #masthead .main-navigation a{
        font-size: 1.15rem;
    }
    .menu-sp-menu-container button.dropdown-toggle{
        width: 32px;
        height: 32px;
        right: 6%;
    }
}
/* Footer */
a, #colophon a:hover, #colophon a:focus {
    text-underline-offset: 2px;
}
#colophon {
    background-color: var(--primary-color);
}
#colophon .site-info {
    border-top: none;
}
#colophon .site-info span {
    font-size: 12px;
    display: block;
    text-align: left;
}
#colophon .inner-footer {
    display: flex;
    padding: 80px 0 10px;
}
#colophon .footer-logo {
    width: 30%;
}
#colophon .footer-logo .f-logo {
    width: 185px;
}
#colophon .nav-footer {
    display: flex;
    width: 70%;
}
#colophon .nav-footer .nav-inner {
    width: calc((100% / 4) + 40px);
}
#colophon .nav-footer .nav-inner.widthless {
    width: calc((100% / 4) - 40px);
}
#colophon .nav-footer .nav-inner h3 {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 15px;
}
#colophon .nav-footer .nav-inner ul {
    color: var(--second-color);
    border-left: 1px solid var(--second-color);
    list-style: none;
    margin: 0;
    padding: 0;
}
#colophon .nav-footer .nav-inner ul li {
    padding-left: 10px;
    font-size: 13px;
    display: inline-block;
    width: 100%;
    padding-bottom: 5px;
}
#colophon .nav-footer .nav-inner ul li:first-child{
    margin-top: -5px;
}
#colophon .nav-footer .nav-inner ul li:last-child {
    margin-bottom: 0;
}
#colophon .nav-footer .nav-inner li:before {
    content: "";
}
#colophon .nav-footer .nav-inner ul.sub-menu {
    border-left: none;
    padding-left: 20px;
}
#colophon .nav-footer .nav-inner ul.sub-menu li:before {
    content: "•";
}
#colophon .nav-footer .nav-inner .nav-btn a {
    display: inline-block;
    font-size: 17px;
    border: 1px solid var(--second-color);
    border-radius: 30px;
    padding: 12px 22px;
    text-decoration: none;
    margin-left: 20px;
}
/* #colophon .nav-footer .nav-inner .external {
    margin-top: 40px;
} */
#colophon .nav-footer .nav-inner .external a {
    text-decoration: none;
}
#colophon .nav-footer .nav-inner .external i {
    margin-left: 10px;
}
#colophon .nav-footer .nav-inner .border-none {
    border: none;
}
@media screen and (max-width: 768px) {
    #colophon .inner-footer {
        display: flex;
        gap: 20px;
        padding: 40px 0 20px;
        flex-direction: column;
    }
    #colophon .footer-logo {
        width: 50%;
    }
    #colophon .footer-logo .f-logo {
        width: 230px;
    }
    #colophon .nav-footer{
        width: 100%;
    }
}
@media screen and (max-width: 767px) {
    #colophon .inner-footer {
        display: flex;
        gap: 20px;
        padding: 40px 0 20px;
        flex-direction: column;
    }
    #colophon .nav-footer {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        gap: 30px 0;
    }
    #masthead .site-branding {
        width: 130px;
    }
    #colophon .nav-footer .nav-inner {
        width: 50%;
    }
    #colophon .nav-footer .nav-inner.widthless {
        width: 100%;
    }
    #colophon .nav-footer .nav-inner.widthless .widthless-d-flex {
        display: flex;
    }
    #colophon .nav-footer .nav-inner.widthless .widthless-d-flex div {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    #colophon .nav-footer .nav-inner.widthless .widthless-d-flex h3 {
        margin-top: 0;
        border-right: 1px solid #fff;
        width: 33%;
        text-align: center;
        font-size: 14px;
    }
    #colophon .nav-footer .nav-inner.widthless .widthless-d-flex h3:first-child{
        text-align: left;
    }
    #colophon .nav-footer .nav-inner.widthless .widthless-d-flex h3:last-child{
        text-align: right;
        border-right: none;
    }
    #colophon .nav-footer .nav-inner:last-child {
        width: 100%;
    }
    #colophon .nav-footer .nav-inner:last-child li:before {
        display: none;
    }
    #colophon .nav-footer .nav-inner:last-child ul li {
        width: auto;
    }
    #colophon .nav-footer .nav-inner:last-child ul {
        text-align: center;
    }
    #colophon .nav-footer .nav-inner:last-child .nav-btn a {
        width: 200px;
        max-width: 100%;
        margin-left: 0;
    }
    #colophon .nav-footer .nav-inner:last-child h3.nav-btn {
        text-align: center;
        border-bottom: 1px solid var(--second-color);
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }
    #colophon .footer-logo {
        width: 50%;
    }
}
.backtotop {
    background-color: transparent;
    width: auto;
    height: auto;
    font-size: 14px;
    color: var(--second-color);
}
.backtotop span{
    text-shadow: 1px 1px #333;
}
.backtotop .fas.fa-chevron-up {
    margin-left: 5px;
    border-radius: 30px;
    background-color: var(--second-color);
    color: #333;
    padding: 10px;
    border: 1px solid #333;
}
.backtotop:hover {
    background-color: transparent;
}
#content {
    margin-top: var(--header-height, 0px);
}
.wrapper {
    max-width: 1240px;
}
.inner-wrapper {
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    border-radius: 15px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
}
.bg-gray {
    background-color: #ededed;
    padding: 100px 20px 100px;
}
.bg-white {
    background-color: #ffffff;
}
h1.page-title {
    font-size: 4.5rem;
    font-weight: 700 !important;
    margin-bottom: 5rem;
}
.sub-title {
    font-size: 1.3rem;
    display: block;
    font-weight: 600;
}

.title-h h1 {
    font-size: 4.5rem;
    font-weight: 700 !important;
    font-family: "Poppins", sans-serif !important;
    letter-spacing: 2px;
    line-height: 1.2;
}
.pc {
    display: block !important;
}
.sp {
    display: none !important;
}
@media screen and (max-width: 767px) {
    .pc {
        display: none !important;
    }
    .sp {
        display: block !important;
    }
    h1.page-title {
        font-size: 3rem;
        margin-bottom: 3.5rem;
    }
    .sub-title {
        font-size: 1rem;
    }
    .bg-gray {
        padding: 80px 20px 40px;
    }
}
/* Top page */
.banner-top {
    position: relative;
    width: 100%;
    /*max-height: 100vh;
    overflow: hidden;*/
}
.banner-top .video video {
    object-fit: cover !important;
    /*width: 100vw !important;
    height: 100vh !important;*/
}
@media screen and (max-width: 768px) {
    .banner-top .video video {
        height: 80vh !important;
    }
}
.hero-image {
    width: 100%;
    height: auto;
    display: block;
}
.hero-text {
    position: absolute;
    top: 40%;
    left: 5%;
    color: white;
    font-family: "Poppins", sans-serif;
}
.hero-text h1 {
    font-size: clamp(1rem, 3.35vw, 2.6rem);
    font-weight: 600 !important;
    line-height: 1.5;
    color: #fff;
    letter-spacing: 3px;
    font-family: 'Noto Sans JP', sans-serif;
}
.hero-text p {
    margin-top: 0;
    line-height: 1.6;
    font-weight: 500;
    color: #ccc;
    font-size: clamp(1rem, 1.25vw, 1.45rem);
}
.separator {
    width: 400px;
    border-bottom: 2px solid white;
    margin: 2rem 0;
}
.swiper {
    padding: 0 20px;
}

.swiper-wrapper {
    align-items: center;
    margin-top: 20px;
}
.news-top {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 40px 0;
}
.news-top .news-item {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.06);
    width: calc(100% / 3 - 27px);
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.news-top .news-item img {
    display: block;
    object-fit: cover;
    aspect-ratio: 7 / 4;
    overflow-clip-margin: unset;
}
.news-top .news-content {
    padding: 16px;
    padding: 30px 35px 35px;
}
.news-top.swiper{
    padding: 40px 0 !important;
}
.news-top .news-taxonomy {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    position: absolute;
    top: 10px;
    font-family: "Poppins", sans-serif;
    letter-spacing: 3px;
    line-height: 1.5;
    left: 20px;
}
.news-top .news-date {
    font-size: 14px;
    color: #0d172b;
    margin-bottom: 6px;
    font-weight: 500;
    letter-spacing: 1px;
}
.news-top .news-title {
    text-decoration: underline;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-top .no-thumbnail .news-taxonomy {
    color: #0d172b;
}
.news-top .news-item.no-thumbnail img {
    padding: 10px 20px;
    opacity: 1;
}
.banner-top img {
    object-fit: cover;
}
.news-thumbnail-wrapper {
    position: relative;
    overflow: hidden;
}
.news-thumbnail-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}
.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /*  overlay  */
    opacity: 1;
    transition: opacity 0.3s ease;
}
.news-item.no-thumbnail .news-overlay {
    display: none;
}
/*.news-thumbnail-wrapper:hover .news-overlay {
    opacity: 1;
}*/


#news .swiper-container {
    position: relative;
}
#news .swiper-wrapper {
  display: flex;
  align-items: stretch;
}
#news .swiper-slide {
    display: flex;
    flex-direction: column;
    height: auto;
}
#news .swiper-pagination-bullet {
    background: #bde0fe !important;
    width: 15px;
    height: 15px;
    opacity: 1;
}
#news .swiper-pagination-bullet-active {
    background: #0066c0 !important;
}
#news .news-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
@media screen and (max-width: 768px) {
    #news .news-item {
        width: 100%;
        flex-wrap: wrap;
    }
    #news.wrapper{
        padding-right: 0;
        padding-left: 0;
    }
}
@media screen and (max-width: 767px) {
  #news .swiper-slide {
    width: 80% !important; 
  }
}

body,
button,
input,
select,
textarea {
    font-size: inherit;
}
@media screen and (max-width: 1200px) {
    .hero-text {
        top: 20%;
    }
    .banner-top img {
        object-fit: cover;
        aspect-ratio: 6 / 10;
    }
}
@media screen and (max-width: 768px) {
    .hero-text {
        top: 45%;
        left: 1%;
    }
    .title-h h1 {
        font-size: 2.8rem;
    }
}
@media screen and (max-width: 767px) {
    .hero-text {
        bottom: 30%;
        top: auto;
    }
    .separator {
        margin: 2rem 0;
        border-bottom: none;
    }

    .news-top .news-item {
        width: calc(100% / 1 - 10px);
    }
    .hero-text p {
        /* font-size: 1rem; */
        font-size: 4vw;
        line-height: 1.5;
    }
    .hero-text h1 {
        /* font-size: 1.8rem; */
        font-weight: 600 !important;
        font-size: 7.7vw;
        letter-spacing: 0;
        text-align: justify;
    }
    .title-h h1 {
        font-size: 3rem;
    }
    .home .slick-slide {
        padding: 10px 0;
    }
    .banner-top .video video{
        aspect-ratio: 9 / 16;
        height: auto !important;
    }
}
/* news */
.search-news {
    display: flex;
    width: 360px;
}
.search-news input[type="text"] {
    border-radius: 8px;
    padding: 8px 15px;
}
.search-news button {
    border: none;
    align-self: center;
    background: transparent;
    padding: 9px 0 9px 15px;
}
.search-news button img {
    width: 36px;
}
.news-filter-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 100px 0 60px;
    gap: 25px 10px;
    max-width: 900px;
    margin: 0 auto;
    justify-content: right;
    width: 100%;
}
.news-filter-container div:first-child {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 16px;
    width: 60%;
    justify-content: right;
}
.news-filter-container div:last-child {
    width: 50%;
    align-self: flex-start;
}
.news-list {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 100px;
    width: 100%;
}
.filter-btn {
    display: inline-block;
    padding: 2px 15px;
    border: 1px solid #333;
    background: #fff;
    text-decoration: none;
    color: #333;
    border-radius: 50px;
    transition: all 0.2s ease-in-out;
    min-width: 100px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 18px;
}
.filter-btn:hover {
    background-color: #e2e2e2;
}
.filter-btn.active {
    background-color: #ededed;
    color: #333;
    border-color: #333;
}
.news-list .news-item {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #949494;
    padding-bottom: 30px;
    padding-top: 30px;
    color: #4d4d4d;
    justify-content: space-between;
}
.news-list .news-item:first-child {
    border-top: 1px solid #949494;
}
.news-list .news-item div:first-child{
    display: flex;
    gap: 40px;
}
.news-list .news-item div{
    align-self: center;
}
.news-category .badge {
    min-width: 90px;
    border-radius: 50px;
    padding: 2px 20px;
    text-transform: uppercase;
    background-color: #ededed;
    display: inline-block;
    text-align: center;
}
.news-title{
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-list .btn-icon {
    position: relative;
    display: block;
    border-radius: 50%;
    border: 1px solid #000;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
    z-index: 1;
}
.news-list .btn-icon::before {
    content: '';
    display: block;
    background: url(../images/common/arrow-right-black.png) no-repeat;
    width: 15px;
    height: 15px;
    background-size: 100%;
    position: absolute;
    left: 17px;
    top: 17px;
}
.news-item:hover .btn-icon::before {
    background-image: url(../images/common/arrow-right-white.png);
}
.news-item:hover .btn-icon {
    background-color: #0d172b;
}
.post-type-archive-news .news-list{
    margin-top: 100px;
}
@media screen and (max-width: 991px) {
    .filter-btn {
        min-width: 90px;
    }
}
@media screen and (max-width: 767px) {
    .news-filter-container {
        justify-content: center;
        padding: 70px 0 50px;
    }
    .news-filter-container div {
        width: 100% !important;
    }
    .news-filter-container div > a {
        width: calc(50% - 8px);
    }
    .news-list {
        padding-bottom: 40px;
    }
    .news-list .news-item div:first-child {
        gap: 10px;
        flex-wrap: wrap;
    }
    .news-list .news-item{
        gap: 10px;
    }
    .news-list .btn-icon{
        width: 40px;
        height: 40px;
    }
    .news-list .btn-icon::before {
        width: 13px;
        height: 13px;
        left: 12px;
        top: 12px;
    }
    .post-type-archive-news .news-list{
        margin-top: 60px;
    }
}
.btn-block {
    text-align: center;
    margin: 50px 0 70px;
}
.bg-gray .btn-block{
    margin-bottom: 0;
}
.custom-button.black-btn {
    background: #0d172b;
    color: #fff;
    transition: all 0.1s ease;
    min-width: 250px;
}
.custom-button.black-btn .circle {
    margin-right: -52px;
    margin-left: 52px;
}
.custom-button.black-btn:hover .circle {
    background-color: #0d172b;
}
.custom-button.black-btn:hover .circle::after{
    background-image: url(../images/common/arrow-right-white.png);
}
.custom-button.black-btn:hover {
    opacity: 0.8;
}
.pagination {
    text-align: center;
    margin-top: 40px;
}
.pagination .page-numbers,
.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    border-radius: 5px;
    background-color: #ededed;
    color: #333333;
    margin-bottom: 5px;
    transition: all 0.1s ease;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover,
.pagination .page-numbers:focus,
.pagination .page-numbers.prev:hover,
.pagination .page-numbers.next:hover,
.pagination .page-numbers.prev:focus,
.pagination .page-numbers.next:focus {
    background-color: #949494;
    color: #fff;
}

/* single */
.single .entry-meta {
    display: none;
}
#header-image .post-title {
    display: block;
    text-align: left;
    margin-bottom: 40px;
}
.single .navigation.post-navigation {
    display: none;
}
.single .inner-wrapper .content-area {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 0 40px;
    border-bottom: 1px solid #949494;
    margin-bottom: 100px;
    display: flex;
}
.single .bg-white > .inner-wrapper .content-area {
    padding-top: 40px;
    margin-bottom: 20px;
}
.single .post-title {
    font-size: 1.7rem;
    font-weight: 500;
    margin-bottom: 30px;
    margin-top: 30px;
}
.single .post-taxonomy {
    display: inline-block;
    margin-right: 15px;
}
.single .post-taxonomy span {
    background-color: var(--primary-color);
    color: #fff;
    padding: 2px 5px;
    border-radius: 20px;
    min-width: 90px;
    display: inline-block;
    text-align: center;
    margin-right: 5px;
}
.single .post-date {
    display: inline-block;
}
.single-featured-image {
    margin-bottom: 30px;
}
.single-featured-image img {
    border-radius: 15px;
    width: 100%;
}
@media screen and (max-width: 767px) {
    .single .inner-wrapper .content-area {
        padding-top: 40px;
        margin-bottom: 60px;
    }
    .single .bg-white > .inner-wrapper .content-area {
        padding-top: 0;
        margin-bottom: 0;
    }
    .single-featured-image img {
        border-radius: 10px;
    }
    .btn-block {
        margin-bottom: 50px;
    }
}
/*history*/
.history .timeline-container {
    /*padding: 20px 0 50px;
    overflow: hidden;
    margin: 0;
    padding-left: 0;
    padding-right: 6em;
    padding-bottom: 6em;
    max-width: 100%;*/
}
.history .swiper-slide {
  /*width: calc(50% - 20px);
  box-sizing: border-box;
  flex-shrink: 0;*/
}
.timeline-container .swiper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.history .swiper {
    overflow: visible;
}
.history .year-block {
  flex-shrink: 0;
}
.history .timeline-line {
    position: absolute;
    top: -38px;
    width: 120%;
    height: 1px;
    background-color: #cacaca;
}

.history .nav-buttons {
    position: absolute;
    top: -172px;
    right: 50px;
    display: flex;
    gap: 10px;
}

.history .nav-button {
    width: 50px;
    height: 50px;
    border: 1px solid #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-image: url(../images/common/arrow-right-black.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30%;
}
.history .nav-button.left{
    background-image: url(../images/common/arrow-left-black.png);
}
.history .timeline-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 40px; 
    padding: 100px 10%; 
}

.history .year-block {
    width: 100%;
    /*flex: 0 0 40%; */
    scroll-snap-align: start;
    position: relative;
    box-sizing: border-box;
}

.history .year-label {
    position: absolute;
    top: -104px;
    left: 12%;
    transform: translateX(-50%);
    font-size: 28px;
    font-weight: bold;
    background-color: #fff;
    padding: 0 10px;
    z-index: 5;
}

.history .dot {
    position: absolute;
    top: -39px;
    left: 10%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-color: #000;
    border-radius: 50%;
    z-index: 6;
}
.history .dot::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    border-left: 2px dotted #aaa;
    z-index: 4;
}

.history .content-box {
    width: 100%;
    /*height: 200px;*/
    background-color: #f3f3f3;
    padding: 30px;
    border-radius: 10px;
}

.history .content-box ul li {
    color: #969696;
    font-size: 0.82rem;
}
.history .swiper-button {
    display: flex;
    justify-content: flex-end;
    margin-top: .5rem;
    width: 88%;
}
.history .button-prev {
    margin: 0 8px;
    cursor: pointer;
}
.icon.icon-prev
{
    background: url(../images/common/arrow-left-black.png) center center / 100% auto no-repeat;
}
.history .button-next {
    margin: 0 8px;
    cursor: pointer;
}
.icon.icon-next {
    background: url(../images/common/arrow-right-black.png) center center / 100% auto no-repeat;
}
.history  .swiper-wrapper {
    margin-top: 200px;
    margin-bottom: 50px;
}
.history .swiper-horizontal > .swiper-scrollbar, .history .swiper-scrollbar.swiper-scrollbar-horizontal {
    position: relative;
    height: 2px;
    width: 76%;
    margin: 0 auto;
}
.history .swiper-button-prev, .history .swiper-button-next{
    display: none;
}
.history .swiper-button-next:after, .history .swiper-button-prev:after{
    font-size: 25px;
    color: #0d172b;
}
.history .swiper-button-next{
    right: 0;
}
@media screen and (max-width: 768px) {
    .history .nav-buttons{
        right: 0;
    }
    .history .swiper-horizontal > .swiper-scrollbar, .history .swiper-scrollbar.swiper-scrollbar-horizontal{
        width: 100%; 
    }
}
@media screen and (max-width: 767px) {
    .history .year-block{
        flex: 0 0 100%;
    }
    .swiper-scrollbar{
        display: none;
    }
    .history .nav-buttons{
        display: none;
    }
    .history .swiper-button-prev, .history .swiper-button-next{
        display: block;
    }
    .history .dot{
        top: -43px;
    }
    .history .year-label{
        top: -100px;
    }
    .history .swiper-wrapper{
        margin-top: 97px;
    }
    .history .timeline-line{
        top: -43px;
    }
    .history .timeline-container{
        padding-bottom: 0;
    }
}

/* Page loader */
body {
    overflow: hidden;
}
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999; /* Ensure it is on top of all other content */
    display: flex;
    align-items: center;
    justify-content: center;
}
.loader {
    width: 48px;
    height: 48px;
    border: 3px solid #000;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}
.loader::after {
    content: '';  
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid;
    border-color: #FF4B46 transparent;
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* top-slide-product*/

.top-slide-product{
    width: 100%;
    height: 100%;
    /*pointer-events: none;*/
}
.top-slide-product .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.top-slide-product .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    text-align:center;
    max-height: 278px;
    box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.3);
}
.top-slide-product .swiper-slide > div {
    padding-bottom: 20px;
}
.top-slide-product .swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}
.top-slide-product .sp-pd{
    padding-top: 10px;
}
/* @media screen and (max-width: 767px) {
    .top-slide-product .swiper-slide > div.vertical > img {
        width: auto;
        max-height: 200px;
    }
    .top-slide-product .swiper-slide > div > img {
        width: 200px;
        height: auto;
    }
} */

/*event*/
.event{
    max-width: 1000px;
    margin: auto;
}
.event .event-thumbnail img{
    transition: all 0.3s ease;
    aspect-ratio: 2;
    object-fit: cover;
    object-position: 39% 60%;
    width: 100%;
    border-radius: 15px;
}
.event .event-title{
    font-size: 1.4rem;
    padding-top: 2.7rem;
    font-weight: 600;
}
.event .event-item{
    padding-top: 8rem;
}
.event .event-item:first-child {
    padding-top: 5.5rem;
}
.event p {
    margin: 0;
}
.event-content{
    line-height: 2.1;
    text-align: justify;
    hyphens: auto;
}

/* csr */
.event-date{
    font-weight: 600;
}
.event.csr-list .event-item{
    border-bottom: 1px solid #ccc;
    padding-bottom: 90px;
    padding-top: 90px;
}
.event.csr-list .event-title{
    font-size: 1.5rem;
    margin-bottom: 40px;
}
.event.csr-list .event-thumbnail{
    padding-bottom: 40px;
}
.event.csr-list .event-thumbnail img{
    aspect-ratio: 1.8;
    object-position: bottom;
}
.event a{
    text-decoration: underline !important;
    color: #0d172b !important;
}
@media screen and (max-width: 767px) {
    .event .event-item {
        padding-top: 0;
    }
    .event .event-content{
        padding-top: 1rem;
    }
    .event .event-thumbnail img{
        aspect-ratio: 4 / 2.2;
        object-position: 43% 70%;
        border-radius: 10px;
    }
    .event.csr-list .event-title{
        margin-bottom: 20px;
        margin-top: 0;
    }
    .event.csr-list .event-thumbnail{
        padding-bottom: 20px;
    }
    .event .event-title{
        font-size: 1.3rem;
    }
    .event .event-item:first-child {
        padding-top: 0;
    }
}