@font-face {
    font-family: "nsjp";
    font-weight: 300;
    src: url("./assets/webfonts/NotoSansJP-Regular.ttf");
}
@font-face {
    font-family: "nsjp";
    font-weight: 400;
    src: url("./assets/webfonts/NotoSansJP-Medium.ttf");
}
@font-face {
    font-family: "nsjp";
    font-weight: 600;
    src: url("./assets/webfonts/NotoSansJP-Bold.ttf");
}

body {
    background-color: #2678AB;
    color: #ffffff;
    font-family: "nsjp", sans-serif;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.3px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    /*background: linear-gradient(to right, #ffb905, #f8df9d);*/
    /*-webkit-background-clip: text;*/
    /*-webkit-text-fill-color: transparent;*/
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
}
a {
    color: #ffffff !important;
}
p {
    color: #ffffff !important;
    line-height: 1.4;
    margin: 0 0 5px;
}
img {
    margin: 5px auto 10px;
    width: 100%;
}
img.logo {
    margin: 0;
    max-width: 80px;
}
.responsive-button {
    display: flex;
    flex-direction: row;
    gap: 5px;
    visibility: hidden;
}
.language-switcher {
    background-color: #212529;
    border-radius: 5px;
    margin: 0;
    padding: 0;
}
.language-switcher li {
    list-style: none;
}
.language-switcher .dropdown-menu[data-bs-popper] {
    left: unset;
    right: 0;
}
.language-switcher img {
    margin: 0;
    max-width: 30px;
}
.language-switcher button.btn.btn-dark.dropdown-toggle.language {
    background-color: #212529;
}
nav.navbar {
    left: unset;
    position: fixed;
    right: unset;
    top: 0;
    transition: 0.3s;
    width: 100%;
    z-index: 10;
}
button.navbar-toggler:focus {
    box-shadow: unset;
}
nav.ani-nav {
    border-radius: 5px;
    left: 0;
    margin: auto;
    right: 0;
    top: 1%;
    transition: 0.3s;
    width: 80%;
}
nav.navbar a.nav-link.active {
    background-color: #113D58;
    border-radius: 5px;
    padding: 10px;
}
.content-container {
    margin: 110px 0 50px;
    padding: 0 15px;
    position: relative;
}
.column-style {
    background-color: #095F95;
    border-radius: 10px;
    height: 100%;
    padding: 15px;
}
.column-style .title {
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    margin: 5px 0;
}
.column-style .desc {
    color: #ffffff;
    margin: 5px 0 30px;
}
.column-style .detail-btn {
    background-color: #FF55C3;
    border: 1px solid #FF55C3;
    border-radius: 5px;
    color: #ffffff;
    margin: 0 auto 0 0;
    max-width: 120px;
    padding: 5px 15px;
    width: 100%;
}
.bg-image {
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px;
    min-height: 160px;
}
.mobile-container {
    display: none;
}
.mobile-menu .nav-item {
    flex: 0 0 auto;
    margin-right: 1rem;
}
.scrollspy-sidebar {
    max-height: 100vh;
    overflow-y: auto;
    padding-top: 1rem;
}
.container {
    max-width: 1250px;
}
.row .row:nth-child(odd) {
    background-color: #0000000f;
    border-radius: 5px;
    margin: 15px auto;
}
ul.navbar-nav {
    gap: 15px;
    justify-content: flex-end;
    width: 100%;
}
a.dropdown-item img {
    margin: 0;
    width: 30px;
}
.mobile-menu {
    display: none;
    margin: auto auto 2rem;
    max-width: 50%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.mobile-menu ul {
    display: inline-flex;
    flex-direction: row;
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobile-menu ul li a.nav-link.active {
    background-color: #113D58;
    border-radius: 5px;
    color: #ffffff;
    padding: 10px 15px;
}
.btn-dark,
.btn-dark:hover,
.btn-dark:focus-visible,
.btn-dark:focus,
.btn-dark:active {
    background-color: #113D58;
}

.modal-header {
    border-bottom: none;
}
.modal.modal-right .modal-dialog {
    height: 100%;
    margin: 0;
    max-width: 100%;
    position: fixed;
    right: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    top: 0;
    width: 30%; /* or 400px or any fixed width */
}
.modal.modal-right.show .modal-dialog {
    transform: translateX(0);
}
.modal.modal-right .modal-content {
    border-radius: 10px;
    height: 100%;
}
h3.modal-title {
    color: #000000;
    font-weight: 400;
}
.modal-content,
.modal-content p {
    color: #000000 !important;
    margin: 0 0 15px;
}
.modal-content img {
    border-radius: 10px;
    max-width: 60%;
}
.modal-content .button-pos {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 30px 0 0;
}
.modal-content .button-pos button {
    background-color: #D9D9D9;
    border: 1px solid #D9D9D9;
    border-radius: 10px;
    color: #000000;
    min-width: 160px;
    padding: 10px 15px;
}
.modal-content .button-pos button:disabled {
    background-color: #cccccc6e;
    border: 1px solid #cccccc6e;
    color: #00000054;
}


@media (max-width: 991px) {
    .desktop-container {
        display: none;
    }
    .mobile-container {
        display: block;
    }
    .navbar-collapse {
        margin: 10px 0 0;
    }
    ul.navbar-nav {
        gap: 5px;
    }
    nav.ani-nav {
        top: 1%;
        width: 95%;
    }
    button.btn.btn-dark.dropdown-toggle.language {
        background-color: #343a40;
        border: 1px solid #343a40;
        text-align: left;
        width: 100%;
    }
    .responsive-button {
        visibility: visible;
    }
    .mobile-menu {
        display: block;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    img {
        margin: 5px auto 10px;
        max-width: 80%;
        width: 100%;
    }
}
