/* Original medical_search layout. All preview rules stay inside this body. */
#medicalPreview{color:#333;background:#fff;font-size:.16rem;line-height:.28rem;position:relative}
#medicalPreview *,#medicalPreview *::before,#medicalPreview *::after{box-sizing:border-box}
#medicalPreview [hidden]{display:none!important}
#medicalPreview button,#medicalPreview input,#medicalPreview select{font-family:inherit}
#medicalPreview button{cursor:pointer}
#medicalPreview button:disabled{cursor:not-allowed}
#medicalPreview button:focus-visible,#medicalPreview a:focus-visible,#medicalPreview input:focus-visible,#medicalPreview select:focus-visible,#medicalPreview summary:focus-visible,#medicalPreview [tabindex]:focus-visible{outline:3px solid #79b4df;outline-offset:3px}
#medicalPreview .mp-container{width:12.4rem;max-width:calc(100% - 64px);margin:0 auto}
#medicalPreview .mp-section-title{font-size:.48rem;line-height:.72rem;text-align:center;color:#0068b7;padding:0 1.5rem;margin:0;font-weight:normal}
#medicalPreview[data-preview-lang=EN] .mp-section-title{line-height:.6rem}
#medicalPreview .mp-section-intro{text-align:center;color:#333;font-size:.16rem;line-height:.28rem;margin:.3rem auto 0;padding:0 .46rem}
#medicalPreview .mp-map-section{padding-top:1rem}
#medicalPreview .mp-network-map{width:12rem;max-width:100%;min-height:400px;margin:.55rem auto 0;display:flex;align-items:center;justify-content:center;background:#fff}
#medicalPreview .mp-network-map>svg{display:block;width:100%;height:auto;overflow:visible}
#medicalPreview .mp-network-map [data-city][role=button]{cursor:pointer}
#medicalPreview .mp-network-map [data-city].is-unavailable{cursor:default}
#medicalPreview .mp-mobile-city-counts{display:none}
#medicalPreview .map-loading{display:flex;align-items:center;gap:12px;color:#666;font-size:16px}
#medicalPreview .loading-dot{display:inline-block;flex:none;width:18px;height:18px;border:2px solid #d0e1ed;border-top-color:#0068b7;border-radius:50%;animation:mp-preview-loading .8s linear infinite}
@keyframes mp-preview-loading{to{transform:rotate(360deg)}}
#medicalPreview .map-fallback{max-width:560px;text-align:center;color:#666}
#medicalPreview .map-fallback p{font-size:16px;line-height:1.8}
#medicalPreview .map-fallback .button{margin-top:20px}
#medicalPreview .mp-search-section{padding-top:1.3rem;padding-bottom:1.48rem;scroll-margin-top:25px;outline:none}
#medicalPreview .mp-search-form{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:.5rem}
#medicalPreview .filter-field{min-width:0;margin:0;padding:0}
#medicalPreview .region-field{width:27.4193548%}
#medicalPreview .type-field{width:33.7096774%}
#medicalPreview .keyword-field{width:34.1935484%}
#medicalPreview .filter-field dt{height:.56rem;line-height:.56rem;padding-right:.16rem;font-size:.16rem}
#medicalPreview .filter-field label{font:inherit;color:#333}
#medicalPreview .filter-field dd{width:100%;position:relative;margin:0;padding:0}
#medicalPreview .filter-field select,#medicalPreview .filter-field input{display:block;width:100%;height:.54rem;padding:0 .22rem;font-size:.16rem;line-height:normal;color:#333;background:#fff;border:1px solid #cacfd2;border-radius:.08rem;outline:none}
#medicalPreview .filter-field select{padding-right:.45rem;appearance:none;-webkit-appearance:none}
#medicalPreview .filter-field .select-arrow{position:absolute;right:.22rem;top:50%;width:0;height:0;border-right:.06rem solid transparent;border-left:.06rem solid transparent;border-top:.09rem solid #999;transform:translateY(-50%);pointer-events:none}
#medicalPreview .filter-field input::placeholder{color:#afb5bb}
#medicalPreview .search-input input{padding-right:.55rem}
#medicalPreview .mp-search-icon{position:absolute;right:.14rem;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;border:0;background:none;width:.3rem;height:.3rem;padding:0}
#medicalPreview .mp-search-icon i{display:block}
#medicalPreview .button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 24px;border:1px solid #0068b7;border-radius:4px;font-size:16px;line-height:1.5}
#medicalPreview .button.primary{background:#0068b7;color:#fff}
#medicalPreview .button.secondary{background:#fff;color:#0068b7}
#medicalPreview .result-status{min-height:180px;display:flex;align-items:center;justify-content:center;gap:14px;color:#666}
#medicalPreview .data-error,#medicalPreview .empty-state{text-align:center;padding:40px 24px;margin-top:.5rem;background:#f5f6fa;color:#555}
#medicalPreview .data-error h3,#medicalPreview .empty-state h3{font-size:20px;color:#333;margin:0;font-weight:normal}
#medicalPreview .data-error p,#medicalPreview .empty-state p{font-size:16px;margin:12px 0 24px;line-height:1.8}
#medicalPreview .institution-table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;border:0;margin-top:.5rem}
#medicalPreview .institution-table th{width:50%;height:.56rem;padding:0 .2rem;background:#f5f6fa;font-size:.18rem;line-height:.28rem;text-align:center;font-weight:bold;color:#222;border:0}
#medicalPreview .institution-table td{padding:.24rem .5rem;vertical-align:top;border:0}
#medicalPreview .institution-table tbody tr:nth-child(even){background:#f5f6fa}
#medicalPreview .institution-name{font-family:inherit;font-size:.16rem;line-height:.28rem;color:#333;font-weight:normal;margin:0;overflow-wrap:anywhere}
#medicalPreview .institution-address{font-size:.16rem;line-height:.28rem;color:#333;overflow-wrap:anywhere;margin:0}
#medicalPreview .institution-notice{font-size:12px;line-height:1.7;color:#775b2a;margin-top:7px}
#medicalPreview .institution-cards{display:none}
#medicalPreview .pagination{display:flex;justify-content:flex-end;align-items:center;font-size:.18rem;color:#222;margin-top:.2rem;gap:0}
#medicalPreview .page-button{display:flex;align-items:center;justify-content:center;border:0;background:#f5f6fa;padding:0;width:.24rem;height:.24rem;min-width:24px;min-height:24px;color:#333}
#medicalPreview .page-button:first-child{border-radius:4px 0 0 4px}
#medicalPreview .page-button:last-child{border-radius:0 4px 4px 0}
#medicalPreview .page-button i{display:block}
#medicalPreview #pageIndicator{font-size:12px;line-height:24px;min-height:24px;padding:0 3px;color:#999;background:#f5f6fa;font-variant-numeric:tabular-nums}
#medicalPreview .mp-load-more{display:none}
#medicalPreview .mp-video-section{padding:.7rem 0}
#medicalPreview .mp-service-video{width:6.2rem;height:3.7rem;max-width:100%;margin:.7rem auto 0;border-radius:.16rem;overflow:hidden;background:#303030}
#medicalPreview .mp-service-video video{display:block;width:100%;height:100%;object-fit:contain}
#medicalPreview .clinic-map-dialog{max-width:1000px;width:calc(100% - 40px);max-height:90vh;padding:0;margin:auto;border:0;border-radius:0;color:#333;background:#fff;box-shadow:0 12px 50px #0004}
#medicalPreview .clinic-map-dialog:not([open]){display:none}
#medicalPreview .clinic-map-dialog::backdrop{background:rgba(0,0,0,.5)}
#medicalPreview .dialog-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px 30px 10px}
#medicalPreview .dialog-header h2{font-size:28px;line-height:1.5;color:#0068b7;text-align:center;flex:1;margin:0;font-weight:normal}
#medicalPreview .dialog-close{border:0;background:transparent;padding:6px;min-width:36px;min-height:36px;color:#777;flex:none}
#medicalPreview .dialog-close svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
#medicalPreview .dialog-body{max-height:calc(90vh - 150px);padding:20px;overflow:auto}
#medicalPreview .dialog-body img{display:block;width:auto;max-width:100%;height:auto;margin:auto}
#medicalPreview .dialog-body p{padding:35px 15px;text-align:center;font-size:16px;color:#666}
#medicalPreview .dialog-note{padding:10px 25px 20px;font-size:13px;line-height:1.8;color:#666;text-align:center}
#medicalPreview .sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
#medicalPreview .mp-skip-link{position:absolute;left:20px;top:10px;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;background:#fff;color:#0068b7;padding:0;z-index:3;font-size:16px}
#medicalPreview .mp-skip-link:focus{width:auto;height:auto;overflow:visible;clip:auto;clip-path:none;padding:10px}
#medicalPreview .mp-noscript{margin:30px;padding:18px;background:#fff4dc;color:#775b2a;font-size:16px;text-align:center}
@media(max-width:1240px){
 #medicalPreview .mp-container{width:auto;max-width:none;margin:0 .32rem}
 #medicalPreview .mp-section-title{padding:0 .5rem}
 #medicalPreview .mp-search-form{display:block;padding:0 .24rem}
 #medicalPreview .filter-field{width:100%;margin-top:.5rem}
 #medicalPreview .filter-field:first-child{margin-top:0}
 #medicalPreview .filter-field dt{height:auto;font-size:.32rem;line-height:.52rem;padding:0}
 #medicalPreview .filter-field dd{margin-top:.2rem}
 #medicalPreview .filter-field select,#medicalPreview .filter-field input{height:.88rem;font-size:max(16px,.3rem);border-radius:.16rem}
 #medicalPreview .mp-search-icon{height:.4rem;width:.4rem;right:.18rem}
 #medicalPreview .mp-search-icon i{width:.3rem;height:.3rem;background-size:.3rem .3rem}
 #medicalPreview .mp-search-section{padding-bottom:1rem;scroll-margin-top:20px}
 #medicalPreview .table-container{display:none}
 #medicalPreview .institution-cards{display:block;margin-top:.5rem}
 #medicalPreview .institution-card{padding:.3rem;background:#f5f6fa;border:0;border-radius:.16rem;margin-top:.24rem}
 #medicalPreview .institution-card:first-child{margin-top:0}
 #medicalPreview .mp-card-label{font-size:.32rem;font-weight:bold;line-height:.52rem;margin:0 0 3px;color:#333}
 #medicalPreview .institution-name,#medicalPreview .institution-address{font-size:max(14px,.28rem);line-height:1.75;color:#333}
 #medicalPreview .card-address{margin-top:.4rem}
 #medicalPreview .institution-notice{font-size:12px;line-height:1.7}
 #medicalPreview .pagination{display:none}
 #medicalPreview .mp-load-more{display:block;text-align:center;margin-top:.64rem}
 #medicalPreview .mp-load-more button{border:0;background:none;display:inline-flex;align-items:center;justify-content:center;gap:.1rem;padding:0;font-size:.3rem;line-height:.56rem;color:#333}
 #medicalPreview .mp-load-more i{width:.4rem;height:.4rem;background-size:.4rem .4rem;transform:rotate(90deg)}
 #medicalPreview .mp-load-more button:disabled{color:#666}
 #medicalPreview .mp-load-more button:disabled i{display:none}
 #medicalPreview .mp-video-section{padding:1rem 0 1.2rem}
 #medicalPreview .mp-service-video{margin-top:.8rem}
}
@media(max-width:912px){
 #medicalPreview .mp-network-map{width:calc(100% + .32rem);max-width:none;min-height:220px;margin:.6rem -.16rem 0}
 #medicalPreview .mp-network-map>svg{overflow:hidden}
 #medicalPreview .mp-network-map .mp-card-background,#medicalPreview .mp-network-map .mp-card-icon,#medicalPreview .mp-network-map .mp-card-arrow,#medicalPreview .mp-network-map [data-city-count],#medicalPreview .mp-network-map [data-city-unit]{display:none}
 #medicalPreview .mp-network-map .mp-map-label{transform:var(--mobile-position)}
 #medicalPreview .mp-network-map .mp-map-label .mp-card{transform:none;opacity:1}
 #medicalPreview .mp-network-map .mp-map-leaders{display:none}
 #medicalPreview .mp-network-map .mp-mobile-hit{display:block}
 #medicalPreview .mp-network-map .mp-map-label [data-city-name]{fill:#fff;font-size:20px;text-anchor:middle;paint-order:stroke;stroke:#0068b7;stroke-width:1.4px;stroke-linejoin:round;text-shadow:0 1px 1px rgba(0,0,0,.6);pointer-events:all}
 #medicalPreview[data-preview-lang=EN] .mp-network-map .mp-map-label [data-city-name]{font-size:18px}
 #medicalPreview .mp-mobile-city-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem 0;margin-top:.4rem;padding:0 .12rem}
 #medicalPreview .city-button{border:0;background:none;padding:0;display:flex;flex-direction:column;gap:2px;align-items:center;justify-content:flex-start;font-size:max(12px,.24rem);line-height:1.5;color:#333;font-weight:bold;text-align:center;min-width:0;min-height:44px}
 #medicalPreview .city-button strong{font-size:inherit;font-weight:normal;color:#0068b7;font-variant-numeric:tabular-nums}
 #medicalPreview .city-button[aria-pressed=true]{color:#0068b7}
 #medicalPreview .city-button.zero-city,#medicalPreview .city-button.zero-city strong{color:#666}
 #medicalPreview .mp-section-intro{font-size:.3rem;line-height:.5rem}
 #medicalPreview .clinic-map-dialog{width:calc(100% - 24px)}
 #medicalPreview .dialog-header{padding:18px 16px 6px;gap:10px}
 #medicalPreview .dialog-header h2{font-size:20px}
 #medicalPreview .dialog-body{padding:12px}
 #medicalPreview .dialog-note{font-size:12px;padding:10px 16px 18px}
 #medicalPreview .map-loading,#medicalPreview .map-fallback p{font-size:14px}
 #medicalPreview .data-error,#medicalPreview .empty-state{padding:30px 18px}
 #medicalPreview .data-error h3,#medicalPreview .empty-state h3{font-size:18px}
 #medicalPreview .data-error p,#medicalPreview .empty-state p{font-size:14px}
 #medicalPreview .mp-noscript{font-size:14px;margin:20px 16px}
}
@media(max-width:480px){
 #medicalPreview[data-preview-lang=EN] .mp-mobile-city-counts{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){
 #medicalPreview *,#medicalPreview *::before,#medicalPreview *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

#medicalPreview .mp-count-status{margin:.2rem auto 0;text-align:center;color:#666;font-size:max(12px,.16rem);line-height:1.7}
#medicalPreview .mp-count-retry{margin-left:10px;background:none;border:0;border-bottom:1px solid #0068b7;color:#0068b7;padding:2px 4px;font:inherit}
