/* Company introduction and uncropped panoramic venue image. */
.ey_about .cont { height: auto; overflow: visible; display: block; -webkit-line-clamp: unset; text-indent: 0; text-align: justify; }
.ey_about .cont p { margin: 0 0 12px; font-size: inherit; line-height: inherit; color: inherit; }
.ey_about .cont p:last-child { margin-bottom: 0; }
.ey_about .cont .company-slogan { margin-bottom: 18px; text-align: center; font-size: 22px; font-weight: bold; color: #fff; }
.eygyprofile_con p.company-slogan { margin-bottom: 18px; color: #333 !important; font-size: 22px !important; font-weight: bold; }
.company-visual { width: 100%; margin: 0 auto; overflow: hidden; }
.company-visual img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
    .ey_about .cont .company-slogan { font-size: 18px; }
    .eygyprofile_con p.company-slogan { font-size: 18px !important; margin-bottom: 12px; }
}
/* Keep certificate cards at the proportions of portrait A4 paper. */
.ey_about .ey_honor {
    width: 100%;
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}
.ey_about .ey_honor ul li { height: auto; aspect-ratio: 210 / 297; }
.ey_about .ey_honor ul li:hover { border: 1px solid #e6e6e6; }
@media (max-width: 1080px) {
    .ey_about .ey_honor { max-width: 760px; }
}
@media (max-width: 767px) {
    .ey_about .ey_honor { max-width: 480px; }
}
#honor .eygyhonor_img a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.honor-preview {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: 100vw;
    max-height: 100vh;
    max-height: 100dvh;
    margin: 0;
    padding: 40px 24px;
    border: 0;
    background: rgba(0, 0, 0, .88);
    overflow: hidden;
    cursor: zoom-out;
}
.honor-preview[open] { display: flex; align-items: center; justify-content: center; }
.honor-preview::backdrop { background: transparent; }
.honor-preview img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    background: #fff;
}
.honor-preview-close {
    position: absolute;
    top: 8px;
    right: 12px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font: 32px/36px Arial, sans-serif;
    cursor: pointer;
}
.honor-preview-close:focus-visible { outline: 2px solid #fff; }
