/* Shared corrections without replacing the existing desktop/mobile designs. */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip-path: inset(50%); white-space: nowrap; border: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #00a0e9; outline-offset: 3px; }
img[width][height] { height: auto; }
.lightball { min-height: 600px; }
.lightball canvas { max-width: 100%; }
@media (max-width: 1180px) {
    body:not(:has(.mianBox)), html { min-width: 0; }
    .ma, .top_con, .header_con { width: calc(100% - 32px); max-width: 1180px; }
    .top-nav, .lightball, .banner { min-width: 0; }
    .top-navList li { margin-left: 6px; padding: 0 6px; }
    .leftWrap, .rightWrap { max-width: 100%; }
}
@media (max-width: 767px) {
    html, body { min-width: 0; height: auto; }
    body { overflow-wrap: break-word; }
    .mianBox { padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px)); }
    .mianBox header img { display: block; max-width: 100%; height: auto; }
    .mianBox section { padding-top: 28px; padding-bottom: 28px; }
    .mianBox section h1 { margin-bottom: 24px; }
    .mianBox p, .mianBox dd { line-height: 1.8; }
    nav:has(ul.a_fex) { padding-bottom: env(safe-area-inset-bottom, 0px); }
    nav ul.a_fex a { min-height: 44px; }
    .body .banner, .body .tab-top, .body .content { max-width: 100%; box-sizing: border-box; }
    table { max-width: 100%; }
    table th, table td { overflow-wrap: anywhere; }
    .top-nav { position: relative; background: #313131; }
    .top-nav .toolNav { display: none; }
    .top-nav .top-nav-ma { height: auto; padding: 14px 0 0; }
    .clubLogo { float: none; display: block; padding-top: 0; }
    .clubLogo img { max-width: 200px; height: auto; }
    .top-navList { display: flex; flex-wrap: wrap; float: none; margin: 12px 0 0; }
    .top-navList li { float: none; flex: 1 1 30%; margin: 0; padding: 0 4px; height: auto; min-height: 44px; line-height: 44px; text-align: center; box-sizing: border-box; }
    .top-navList .newicon { display: none; }
    #subPage .content, .joinClub { padding-top: 24px; }
    .leftWrap, .rightWrap, .detailWrap .item, .detailWrap .item-con,
    .content.joinClub .details-right, .content.joinClub .sidebar-left { width: 100%; max-width: 100%; float: none; margin-left: 0; margin-right: 0; box-sizing: border-box; }
    .content.joinClub .sidebar-left { position: static; display: flex; flex-wrap: wrap; }
    .content.joinClub .sidebar-left li { flex: 1; }
    .content.joinClub .sidebar-left li a { padding: 12px 4px; text-align: center; }
    .content.joinClub .details-right { margin-top: 20px; padding: 0; }
    .detailWrap .item { padding: 20px 16px; }
    .class-sign { padding: 20px 16px; }
    .leftWrap .seachWrap { width: 100%; box-sizing: border-box; }
    .footer .ma { display: flex; flex-wrap: wrap; gap: 20px; }
    .footer .ma > * { float: none; max-width: 100%; margin-left: 0; margin-right: 0; }
    .footer .followUs { width: 100%; }
    .footer { min-width: 0; }
    .joinClub img, .editormd-preview-container img { max-width: 100%; height: auto; }
    .joinClub table { width: 100%; table-layout: fixed; }
    .content.joinClub .form input, .content.joinClub .form textarea { max-width: 100%; box-sizing: border-box; }
    .lightball .bottom-navList { max-width: 100%; display: flex; }
    .lightball .bottom-navList li { flex: 1; width: auto !important; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 767px) {
    .my-wrap { min-width: 0; }
    .my-wrap .container, .part1 .container, .part2 .container, .part3 .container,
    .part4 .container, .part5 .container { width: calc(100% - 32px); max-width: 100%; }
    .top1 { height: auto; }
    .top1 > img { width: 100%; height: auto; }
    .top .btn-box, .topp { max-width: 100%; box-sizing: border-box; }
    .site-section-heading { line-height: 1.5; }
}

.meeting-entry { min-height: 40vh; }


@media (max-width: 767px) {
    .class-sign { height: auto; padding: 36px 16px 20px; box-sizing: border-box; background-size: cover; }
    .class-sign .name { float: none; display: block; font-size: 22px; line-height: 1.5; }
    .class-sign .time { display: block; margin: 10px 0 0; line-height: 1.6; }
    .class-sign .sign-btn { position: static; display: block; margin-top: 14px; }
}

/* The mobile hero contains a drawn button; give it a real accessible link. */
.mianBox header .mobile-join-link {
    position: absolute;
    left: 50%; top: 85.5%; transform: translate(-50%, -50%);
    width: 30%; height: 20%; min-height: 44px;
    display: block; z-index: 1;
}
