/* Corporate service content: typography and module geometry from j51_carmen.
 * Loaded for the associated English and Japanese corporate-service menu items.
 * Keep the shared navigation/footer on the JOI template's current design.
 */
@font-face {
    font-family: "Corporate Noto Sans";
    src: url("../fonts/noto-sans-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Corporate Oswald";
    src: url("../fonts/oswald-latin-bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}
body.cpt-page :is(.joi-showcase, .joi-top1a, .joi-top2a, .joi-bottom2a) {
    font-family: "Corporate Noto Sans", Arial, Verdana, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 31.5px;
    color: #262626;
}
body.cpt-page :is(.joi-showcase, .joi-top1a, .joi-top2a, .joi-bottom2a) p {
    font-size: inherit;
    line-height: inherit;
    margin: 0 0 24px;
}
body.cpt-page :is(.joi-showcase, .joi-top1a, .joi-top2a, .joi-bottom2a) :is(strong, b) {
    font-weight: 700;
}
body.cpt-page :is(.joi-showcase, .joi-top1a, .joi-top2a, .joi-bottom2a) img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
body.cpt-page :is(.joi-showcase, .joi-top1a, .joi-top2a, .joi-bottom2a) h3 {
    font-family: "Corporate Noto Sans", Arial, Verdana, sans-serif;
    font-size: 25.6px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 12px;
    padding: 0;
}
body.cpt-page :is(.joi-showcase, .joi-top1a, .joi-top2a, .joi-bottom2a) h4 {
    font-family: Arial, sans-serif;
    font-size: 19.2px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0 0 12px;
    padding: 0;
}
body.cpt-page :is(.joi-showcase, .joi-top1a, .joi-top2a, .joi-bottom2a) .container {
    width: 1170px;
    max-width: 100%;
    padding: 0 5px;
    margin: 0 auto;
}
body.cpt-page .banner-area-inner {
    padding: 0;
}
body.cpt-page .banner-area-content h2 {
    font-family: "Corporate Oswald", Arial, Verdana, sans-serif;
    margin: 0 0 9.6px;
}
body.cpt-page :is(.joi-top1a, .joi-bottom2a) {
    max-width: 1180px;
    margin: 0 auto;
}
body.cpt-page :is(.joi-top1a, .joi-bottom2a) > .mod-custom,
body.cpt-page .joi-bottom2a .container {
    display: flow-root;
}
body.cpt-page .joi-top2a {
    background-size: cover;
    background-repeat: no-repeat;
}
body.cpt-page .joi-top2a > .mod-custom {
    width: min(1121px, 95%);
    max-width: none;
    margin: 30px 0 30px max(0px, calc((100% - 1180px) / 2));
    padding: 0;
}
body.cpt-page :is(.joi-top2a, .joi-bottom2a) ul {
    margin: 0 0 0 25px;
    padding: 0;
    line-height: 27px;
}
body.cpt-page .joi-top2a li {
    font-weight: 500;
}
body.cpt-page .joi-top2a .j51_icon_title {
    line-height: 1.4;
    margin-bottom: 5px;
    color: #404040;
}
body.cpt-page .joi-top2a .j51_icon figcaption > p {
    margin: 0;
}
body.cpt-page .joi-top2a .j51_icon figure {
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
}
body.cpt-page .joi-top2a .j51_icon i {
    margin-left: 32px;
}
body.cpt-page .joi-bottom2a .teacher-box-img img {
    height: 100px;
    width: 100px;
}
body.cpt-page .joi-bottom2a .teacher-box-img h4 {
    margin: 20px 0;
}
body.cpt-page .joi-bottom2a .teacher-box-content p {
    margin-bottom: 6px;
}
body.cpt-page .joi-bottom2a .teacher_sedc {
    border-collapse: collapse;
    max-width: 100%;
    border: 1px outset #262626;
}
body.cpt-page .joi-bottom2a .teacher_sedc :is(td, th) {
    border: 1px inset #262626;
}
body.cpt-page .joi-bottom2a .faq-tab .tabs {
    margin: 0 15px;
}
body.cpt-page .joi-bottom2a a {
    color: #00517a;
    text-decoration: none;
}
body.cpt-page .joi-bottom2a .faq-bt-content table {
    max-width: 100%;
}
@media (max-width: 1199px) and (min-width: 768px) {
    body.cpt-page :is(.joi-showcase, .joi-top1a, .joi-top2a, .joi-bottom2a) .container {
        width: 940px;
    }
}
@media (max-width: 1024px) {
    body.cpt-page .joi-bottom2a .faq-bt-content table {
        width: 100% !important;
        table-layout: fixed;
        overflow-wrap: anywhere;
    }
    body.cpt-page .joi-bottom2a .faq-tab .tabs {
        margin-left: 0;
        margin-right: 20px;
    }
}
@media (max-width: 767px) {
    /* The migrated separators are underscore text, which cannot wrap. */
    body.cpt-page .joi-top1a p[style*="#dcdcdc"] {
        overflow: hidden;
    }
    body.cpt-page .joi-bottom2a .faq-bt-content :is(table, tbody, tr, td) {
        display: block;
        width: 100%;
        height: auto !important;
    }
    body.cpt-page .joi-bottom2a .faq-bt-content td {
        padding: 8px 0;
    }
    body.cpt-page .joi-bottom2a .faq-bt-content img {
        float: none !important;
    }
    body.cpt-page :is(.joi-top1a, .joi-bottom2a) {
        padding: 0 15px;
    }
    body.cpt-page .joi-top2a > .mod-custom {
        width: auto;
        margin-left: 15px;
        margin-right: 15px;
    }
    body.cpt-page .joi-top1a img[alt="Social Media Background Collage Blank"] {
        float: none !important;
        display: block;
        margin: 20px auto 40px !important;
    }
    body.cpt-page .joi-top2a img[alt="FlexLessons Corporate"] {
        float: none !important;
        display: block;
        margin: 24px auto !important;
    }
    body.cpt-page .joi-top2a .j51_icon i {
        display: none;
    }
    body.cpt-page .joi-bottom2a .faq-tab .tabs {
        margin: 0;
    }
    body.cpt-page .joi-bottom2a .teacher_sedc {
        overflow-wrap: anywhere;
    }
}
