@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&display=swap');

body,
.tabItem {
   font-family: 'Jost', sans-serif;;
	font-size: 16px;
	color: #000;
}

#main {
   font-family: inherit;
    max-width: 840px;
    width: 100%;
    margin: 0 auto;
}

body.ja-jp .tabItem,
body.ja-jp {
   font-family: 'Jost', 'Noto Sans JP', sans-serif;
}

body {
    margin: 0;
    -webkit-text-size-adjust: 100%;
}

div {
    display: block;
}

iframe {
    width: 100%;
    height: 100%;
    border: 0 !important;
}

.tabs {
    text-align: center;
    padding: 0;
    margin: 10px 0px 20px 0px;
    max-width: 1276px;
    position: relative;

}

.tabItem:first-letter {
    text-transform: capitalize;
}

.tabs li {
    float: none;
    display: inline-block;
    width: 33% !important;
    box-sizing: border-box;
    margin: 0;
}
.tabs li:first-child a {
    border-radius: 18px 0 0 18px;
}
.tabs li:nth-child(2) a {
    border-left: 0;
    border-right: 0;
}
.tabs li:last-child a {
    border-radius: 0 18px 18px 0
}
.tabItem {
    height: auto;
    line-height: 1.2em;
    display: inline-block;
    box-sizing: border-box;
    padding: 10px 12px;
    width: 100%;
    background: #FFFFFF;
    text-decoration: none;
    font-size: 1em;
    font-weight: normal;
    font-style: inherit;
    text-transform: uppercase;
    color: #000;
    transition: none;
    position: relative;
    font-family: inherit;
    border-top: 1px solid #de1d28;
    border-right: 1px solid #de1d28;
    border-bottom: 1px solid #de1d28;
    border-left: 1px solid #de1d28;
    transition: background 0.5s, color 0.5s, border 0.5s;
}

body.ja-jp .tabItem {
    font-family: 'Noto Sans JP', sans-serif;    
}

.tabs:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0px;
    left: 0em;
    width: 100%;
    height: 0em;
    z-index: 1;
    border-bottom: 0;
}

.tabItem:hover {
    background: #FFF;
    color: #de1d28;
}

.tabItem:active,
.tabItem-active,
.tabItem-active:hover {
    text-decoration: none;
    font-style: normal;
    background: #de1d28;
    z-index: 2;
    color: #FFFFFF;
    border-top: 1px solid #de1d28;
    border-right: 1px solid #de1d28;
    border-bottom: 1px solid #de1d28;
    border-left: 1px solid #de1d28;
}

.tabs-control {
    margin-bottom: 2.0em;
    margin-top: 2px;
}

.tabs li:last-child {
    padding-right: 0px !important;
}

@media (max-width: 662px) {
    .en-gb .tabs li {
        display: block;
        width: calc(100% - 10px) !important;
        margin: 5px;
    }
    .en-gb .tabItem {
        min-width: unset;
    }
    .en-gb .tabItem {
        min-width: unset;
        border-radius: 0 !important;
        border: 1px solid #de1d28 !important;
    }
}

@media (max-width: 425px) {
    .ja-jp .tabs li {
        display: block;
        width: calc(100% - 10px) !important;
        margin: 5px;
    }
    .ja-jp .tabItem {
        min-width: unset;
    }
    .ja-jp .tabItem {
        min-width: unset;
        border-radius: 0 !important;
        border: 1px solid #de1d28 !important;
    }
}