@font-face {
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 400;
    src: url("fonts/NotoSansJP-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Noto Sans";
    font-style: normal;
    font-weight: 400;
    src: url("fonts/NotoSans-Regular.ttf") format("truetype");
}

body {
    background: #FFF;
    margin: 0 auto;
    font-size: 16px;
    color: #262626;
}

html body.en-gb {
    font-family: "Noto Sans", sans-serif;
}

html body.ja-jp {
    font-family: "Noto Sans JP", sans-serif;
}

body.en-gb .tabItem,
body.en-gb .tabItem-active {
    font-family: "Noto Sans", sans-serif;
}

body.ja-jp .tabItem,
body.ja-jp .tabItem-active {
    font-family: "Noto Sans JP", sans-serif;
}

#MainContentWrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 1120px;
}

div {
    display: block;
}

iframe {
    width: 100%;
    margin: 0px auto;
    border: 0px solid black;
}

h1 {
    font-size: 0;
    color: white;
    font-weight: bold;
    text-transform: capitalize;
    padding-bottom: 0;
    border-bottom: 0px solid #414141;
    line-height: 0;
    margin-bottom: 0px;
    border: none;
}

ul, li {
    margin: 0px;
    padding: 0px;
}

li {
    width: 33.33%;
    margin: 0;
    padding: 0;
}

.tabs-control {
    padding: 0 0 20px 0;
}

.tabs {
    display: flex;
    text-align: center;
    border-bottom: 0px;
    font-size: 0px;
    z-index: 0;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.tabs:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0em;
    left: 0em;
    width: 100%;
    height: 0em;
    z-index: -1;
    border-right: 0px solid #fff;
    border-bottom: 0em solid #FFFFFF;
}

.tabs li {
    text-transform: none;
    color: #262626;
    font-size: 16px;
    letter-spacing: 0.5px;
    line-height: 18px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    background-color: #E8E8E8;
    margin: 0;
    font-weight: normal;
    border: none;
    border-top: 0px solid transparent; 
    width: 33.33%;
    border-radius: 0;
    box-sizing: border-box;
    transition: background-color 0.15s ease, color 0.15s ease, border-top 0.15s ease; /* Smooth out the new transitions */
}


.tabs li.active,
.tabItem-active:link,
.tabItem:visited,
.tabItem-active:visited,
.tabItem-active,
.tabs li:not(.active):hover{
    background-color: #FFFFFF !important;
    border-top: 3px solid #138995 !important;
}

.tabs li:not(.active):hover a {
    color: #138995;
}

.tabs li a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 16px 24px !important;
    margin: 0;
    border-radius: 0;
    font-family: inherit;
    font-weight: 400;
    font-size: 18px;
    text-transform: none;
    color: #262626;
    font-style: normal;
    text-decoration: none;
    border: none;
    background: transparent !important;
    transition: none;
    box-sizing: border-box;
}

.tabs li.active a,
.tabItem-active:link,
.tabItem:visited,
.tabItem-active:visited,
.tabItem-active{
    color: #005D63;
}


.tabItem-active:link,
.tabItem:visited,
.tabItem-active:visited,
.tabItem{
    background: #E5E8E8;
    transition: none !important;
    border: none;
}
.tabItem:hover {
    background: #FFF;
    color: #138995;
}

.tabItem-active:before{
    display: none;
}

@media (max-width: 1119px) {
    .tabs li {
        width: 33.33%;
        font-size: 15px;
    }
    
    .tabs li a {
        padding: 14px 20px !important;
    }
}

@media (max-width: 631px) {
    .tabs {
        flex-direction: column;
    }

    .tabs li {
        width: 100%;
        margin-bottom: 2px;
    }

    .tabItem:link,
    .tabItem-active:link,
    .tabItem:visited,
    .tabItem-active:visited,
    .tabItem,
    .tabItem-active {
        font-size: 16px !important;
        box-sizing: border-box;
        text-align: center;
        margin-right: 0;
        min-width: 0;
    }

    .tabs li a {
        position: relative;
    }
}