:root {
  --green-900: #083c46;
  --green-800: #095361;
  --green-700: #0b6470;
  --green-100: #dceff0;
  --green-050: #f0f8f8;
  --ink: #18353b;
  --muted: #5a7075;
  --line: #d8e5e7;
  --paper: #f6fafa;
  --white: #fdfefd;
  --radius: 14px;
}

/* Hospital-specific identity and editorial layout. */
.hospital-brand { display: inline-flex; align-items: center; gap: 12px; width: auto; min-width: 248px; }
.hospital-brand-mark { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(145deg, #0b7380, #084b57); color: #fff; font-family: Arial, sans-serif; font-size: 17px; font-weight: 800; letter-spacing: -.04em; box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.hospital-brand-copy { display: grid; line-height: 1.2; }
.hospital-brand-copy strong { color: var(--green-900); font-size: 21px; letter-spacing: .06em; }
.hospital-brand-copy small { margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.hospital-brand-text { padding-left: 2px; }
.hospital-brand-text .hospital-brand-copy strong { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; font-size: 24px; font-weight: 800; letter-spacing: .12em; }
.hospital-brand-text .hospital-brand-copy small { letter-spacing: .16em; }
.hospital-hero { position: relative; display: flex; align-items: center; overflow: hidden; }
.hospital-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hospital-hero .hero-scrim { background: linear-gradient(90deg, rgba(5,43,51,.94) 0%, rgba(7,58,66,.78) 44%, rgba(7,58,66,.12) 79%); }
.hospital-hero .image-disclaimer, .inner-hero .image-disclaimer { position: absolute; right: 22px; bottom: 15px; z-index: 2; margin: 0; color: rgba(255,255,255,.8); font-size: 11px; }
.hospital-overview { background: linear-gradient(180deg, #f5fbfb, #eef7f7); }
.hospital-links { background: #fff; }
.hospital-card-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hospital-card { display: block; min-height: 248px; background: linear-gradient(160deg, #fff, #f1f9f9); }
.hospital-card > div { min-height: 248px; padding: 28px; }
.hospital-card .card-number { margin: 0 0 28px; padding: 0; color: #78aeb3; font-size: 13px; letter-spacing: .12em; }
.advantage-section { position: relative; overflow: hidden; background: #edf7f6; }
.advantage-section::before { position: absolute; top: -180px; right: -120px; width: 420px; height: 420px; border: 1px solid rgba(11,100,112,.12); border-radius: 50%; content: ""; }
.section-heading.advantage-heading { position: relative; max-width: 940px; }
.advantage-grid { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.advantage-card { grid-column: span 3; min-height: 270px; padding: 30px; border: 1px solid rgba(9,83,97,.11); border-radius: 18px; background: rgba(255,255,255,.86); box-shadow: 0 18px 50px rgba(8,60,70,.07); }
.advantage-card-wide { grid-column: span 6; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 32px; align-items: center; min-height: 180px; }
.advantage-card-wide > .advantage-number, .advantage-card-wide > h3, .advantage-card-wide > p { grid-column: 1; min-width: 0; margin: 0; }
.advantage-card-wide > a { grid-column: 2; grid-row: 1 / span 3; white-space: nowrap; }
.advantage-number { display: block; margin-bottom: 42px; color: #357b82; font: 700 11px/1.4 Arial, sans-serif; letter-spacing: .14em; }
.advantage-card-wide .advantage-number { margin: 0; }
.advantage-card h3 { margin: 0 0 12px; color: var(--green-900); font-size: 23px; line-height: 1.35; }
.advantage-card p { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.advantage-card a { color: var(--green-700); font-weight: 700; }
.advantage-boundary { position: relative; display: flex; gap: 28px; align-items: center; justify-content: space-between; margin-top: 22px; padding: 25px 28px; border-left: 4px solid #0b7380; border-radius: 4px 15px 15px 4px; background: #fff; }
.advantage-boundary div { max-width: 800px; }
.advantage-boundary strong { color: var(--green-900); }
.advantage-boundary p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.advantage-boundary .button { flex: 0 0 auto; }
.contact-visual { background: #eef7f7; }
.contact-visual-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: center; }
.contact-visual h2 { margin: 0 0 18px; color: var(--green-900); font-size: clamp(30px, 3.5vw, 46px); line-height: 1.25; }
.contact-visual p:not(.section-kicker) { margin: 0 0 26px; color: var(--muted); font-size: 17px; }
.contact-visual figure { margin: 0; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 22px 55px rgba(8,60,70,.12); }
.contact-visual figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.contact-visual figcaption { padding: 8px 13px; color: var(--muted); font-size: 11px; text-align: right; }
.hospital-footer-brand { display: flex; align-items: center; gap: 14px; }
.hospital-footer-brand .hospital-brand-mark { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.14); box-shadow: none; }
.hospital-footer-brand strong { color: #fff; font-size: 22px; letter-spacing: .06em; }
.hospital-footer-brand p { margin: 4px 0 0; }
.hospital-footer-brand-text { padding-left: 0; }
.site-footer { background: #073640; }
.floating-phone { background: linear-gradient(135deg, #0d7c88, #0a5f6b); }

@media (max-width: 1120px) {
  .hospital-card-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-card-wide { grid-template-columns: 1fr; gap: 8px; }
  .advantage-card-wide > a { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
  .hospital-brand { min-width: 220px; }
  .site-nav ul { gap: 16px; }
}

@media (max-width: 767px) {
  .hospital-brand { min-width: 0; width: min(225px, calc(100vw - 82px)); }
  .hospital-brand-mark { flex-basis: 38px; width: 38px; height: 38px; border-radius: 11px; font-size: 15px; }
  .hospital-brand-copy strong { font-size: 18px; }
  .hospital-brand-copy small { font-size: 9px; }
  .hospital-hero, .hero { min-height: 570px; }
  .hospital-hero > img { object-position: 58% center; }
  .hospital-hero .hero-scrim { background: linear-gradient(90deg, rgba(5,43,51,.94), rgba(7,58,66,.68)); }
  .hospital-hero .image-disclaimer, .inner-hero .image-disclaimer { right: 14px; bottom: 9px; max-width: 220px; text-align: right; }
  .hospital-card-grid, .contact-visual-grid { grid-template-columns: 1fr; }
  .advantage-grid { grid-template-columns: 1fr; }
  .advantage-card, .advantage-card-wide { grid-column: auto; min-height: 0; padding: 24px; }
  .advantage-number { margin-bottom: 24px; }
  .advantage-boundary { align-items: stretch; flex-direction: column; padding: 22px; }
  .advantage-boundary .button { width: 100%; }
  .hospital-card, .hospital-card > div { min-height: 220px; }
  .contact-visual-grid { gap: 34px; }
  .contact-visual figure { order: -1; }
}

@media (prefers-color-scheme: dark) {
  .hospital-brand-copy strong { color: #eefafa; }
  .hospital-brand-copy small { color: #b7d1d4; }
  .hospital-overview, .hospital-links, .contact-visual, .hospital-card, .advantage-section { background: #0b3d46; }
  .advantage-card, .advantage-boundary { border-color: rgba(255,255,255,.12); background: #0d4650; }
  .advantage-card h3, .advantage-boundary strong { color: #eefafa; }
  .advantage-card p, .advantage-boundary p { color: #b7cccf; }
  .contact-visual h2 { color: #eefafa; }
  .contact-visual p:not(.section-kicker) { color: #b7cccf; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Source Han Sans CN", "Microsoft YaHei", Arial, sans-serif; line-height: 1.75; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green-700); text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; height: 74px; border-bottom: 1px solid rgba(7, 86, 70, .10); background: rgba(253, 254, 253, .96); backdrop-filter: blur(12px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 34px; }
.brand { flex: 0 0 auto; width: 230px; }
.brand img { width: 100%; max-height: 48px; object-fit: contain; object-position: left center; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.site-nav li { position: relative; }
.site-nav a { display: block; padding: 24px 0 20px; border-bottom: 3px solid transparent; color: #294b44; font-size: 15px; font-weight: 600; white-space: nowrap; }
.site-nav a:hover, .site-nav a.active { border-color: var(--green-700); color: var(--green-700); }
.sub-menu { position: absolute; top: 68px; left: -22px; min-width: 170px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); background: var(--white); box-shadow: 0 18px 36px rgba(7, 63, 53, .12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s ease; }
.sub-menu a { padding: 10px 0; border-bottom-width: 1px; }
.site-nav li:hover .sub-menu { opacity: 1; visibility: visible; transform: none; }
.header-phone { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--green-700); color: white; font-weight: 700; }
.header-phone:hover { background: var(--green-800); color: white; }
.mobile-menu-button { display: none; margin-left: auto; padding: 8px; border: 0; background: transparent; }
.mobile-menu-button span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--green-900); }

.hero { min-height: 620px; background: var(--green-900); }
.hero-swiper, .hero-slide { min-height: 620px; }
.hero-slide { position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 42, 35, .92) 0%, rgba(3, 42, 35, .72) 48%, rgba(3, 42, 35, .12) 100%); }
.hero-content { position: relative; z-index: 1; padding-top: 62px; padding-bottom: 62px; color: white; }
.hero-kicker, .section-kicker { margin: 0 0 15px; color: #a8dacd; font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(42px, 5vw, 66px); line-height: 1.15; font-weight: 700; letter-spacing: -.03em; }
.hero-description { max-width: 620px; margin: 24px 0 30px; color: rgba(255, 255, 255, .84); font-size: 19px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-swiper .swiper-pagination { bottom: 28px; }
.hero-swiper .swiper-pagination-bullet { width: 26px; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .7); }
.hero-swiper .swiper-pagination-bullet-active { background: white; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 10px; font-weight: 700; line-height: 1; white-space: nowrap; transition: transform .2s ease, background-color .2s ease; }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--green-700); color: white; }
.button-primary:hover { background: var(--green-800); color: white; }
.button-secondary { border-color: rgba(255, 255, 255, .58); background: rgba(255, 255, 255, .08); color: white; }
.button-secondary:hover { background: white; color: var(--green-900); }
.button-dark { background: var(--green-900); color: white; }
.button-dark:hover { background: var(--green-800); color: white; }
.button-light { background: white; color: var(--green-900); }
.button-light:hover { background: var(--green-100); color: var(--green-900); }

.trust-strip { border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid div { padding: 24px 28px; border-right: 1px solid var(--line); }
.trust-grid div:first-child { padding-left: 0; }
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { margin-bottom: 4px; color: var(--green-800); font-size: 17px; }
.trust-grid span { color: var(--muted); font-size: 14px; }

.section { padding: 92px 0; }
.section-soft { background: var(--paper); }
.section-heading { max-width: 690px; margin-bottom: 38px; }
.section-heading.narrow { margin-bottom: 44px; }
.section-heading h2, .about-copy h2, .contact-band h2, .detail-copy h2, .article-card h2 { margin: 0 0 14px; color: var(--green-900); font-size: clamp(30px, 3.5vw, 46px); line-height: 1.25; letter-spacing: -.02em; }
.section-heading p, .about-copy > p, .detail-copy > p, .article-card header > p, .lead-copy { margin: 0; color: var(--muted); font-size: 17px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { display: grid; grid-template-columns: 42% 1fr; min-height: 250px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(7, 63, 53, .10); color: inherit; }
.service-card img { width: 100%; height: 100%; object-fit: cover; }
.service-card > div { display: flex; flex-direction: column; padding: 28px; }
.service-card h3, .research-item h3, .knowledge-list h3, .knowledge-cards h3 { margin: 0 0 10px; color: var(--ink); font-size: 21px; line-height: 1.4; }
.service-card p, .research-item p, .knowledge-list p, .knowledge-cards p { margin: 0; color: var(--muted); font-size: 15px; }
.service-card span { margin-top: auto; padding-top: 16px; color: var(--green-700); font-weight: 700; }
.text-link { display: inline-block; margin-top: 28px; color: var(--green-700); font-weight: 700; }

.about-section { overflow: hidden; background: var(--green-050); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.about-image { overflow: hidden; border-radius: var(--radius); }
.about-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-copy .section-kicker { color: var(--green-700); }
.about-points { display: grid; gap: 12px; margin: 28px 0; }
.about-points span { padding: 12px 16px; border-left: 3px solid var(--green-700); background: rgba(255, 255, 255, .72); color: #31534c; font-weight: 600; }

.research-section { background: var(--white); }
.research-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 22px; }
.research-item { overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.research-item:first-child { grid-row: span 2; }
.research-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.research-item:first-child img { height: 65%; aspect-ratio: auto; }
.research-item > div { padding: 22px; }

.knowledge-section { background: var(--green-050); }
.knowledge-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; }
.knowledge-list { display: grid; }
.knowledge-list a { padding: 20px 0 24px; border-bottom: 1px solid #cbded8; }
.knowledge-list a:first-child { padding-top: 0; }
.knowledge-list span, .knowledge-cards span, .article-meta { color: var(--green-700); font-size: 13px; font-weight: 700; }
.knowledge-list h3 { margin: 6px 0; }

.contact-band { padding: 52px 0; background: var(--green-800); color: white; }
.contact-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.contact-band h2 { margin-bottom: 8px; color: white; }
.contact-band p { margin: 0; color: rgba(255, 255, 255, .78); }

.inner-hero { position: relative; height: 340px; display: flex; align-items: flex-end; overflow: hidden; background: var(--green-900); }
.inner-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.inner-hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 54, 45, .88), rgba(4, 54, 45, .26)); }
.inner-hero-content { position: relative; padding-bottom: 56px; color: white; }
.inner-hero-content p { margin: 0 0 5px; color: #bfe5da; font-size: 14px; letter-spacing: .06em; }
.inner-hero-content h1 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.2; }
.breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: rgba(255,255,255,.82); font-size: 14px; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.article-source { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.article-source p { margin: 4px 0; }
.listing-grid { margin-top: 12px; }
.knowledge-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.knowledge-cards > a { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.knowledge-cards img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.knowledge-cards > a > div { padding: 24px; }
.knowledge-cards h3 { margin-top: 7px; }
.page-pagination { margin-top: 42px; text-align: center; }
.search-page-form { max-width: 760px; margin-bottom: 46px; }
.search-page-form label { display: block; margin-bottom: 9px; color: var(--green-900); font-weight: 700; }
.search-page-form > div { display: flex; gap: 10px; }
.search-page-form input { min-width: 0; flex: 1; height: 48px; padding: 0 15px; border: 1px solid #a9beb8; border-radius: 10px; background: var(--white); color: var(--ink); }
.search-page-form input:focus { border-color: var(--green-700); outline: 3px solid rgba(11, 107, 87, .16); }
.search-results { max-width: 860px; }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.detail-image { overflow: hidden; border-radius: var(--radius); }
.detail-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.detail-copy .section-kicker { color: var(--green-700); }
.detail-copy .button { margin-top: 26px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; align-items: start; }
.article-card { min-width: 0; }
.article-card header { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article-card header h2 { font-size: clamp(30px, 3vw, 42px); }
.rich-content { color: #324d47; font-size: 16px; }
.rich-content h2, .rich-content h3 { margin: 34px 0 12px; color: var(--green-900); line-height: 1.4; }
.rich-content h2 { font-size: 26px; }
.rich-content h3 { font-size: 21px; }
.rich-content p { margin: 0 0 18px; }
.rich-content ul, .rich-content ol { margin: 0 0 22px; padding-left: 24px; }
.rich-content li { margin: 7px 0; }
.rich-content img { height: auto !important; border-radius: var(--radius); }
.rich-content blockquote { margin: 26px 0; padding: 18px 22px; border-left: 3px solid var(--green-700); background: var(--green-050); color: #3e5b55; }
.contact-aside, .contact-panel { position: sticky; top: 98px; padding: 28px; border-radius: var(--radius); background: var(--green-050); }
.contact-aside h2, .contact-panel h2 { margin: 0 0 12px; color: var(--green-900); font-size: 23px; }
.contact-aside p, .contact-panel p { color: var(--muted); }
.contact-aside .button { margin-top: 12px; }
.contact-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 54px; }
.contact-number { display: block; margin: 16px 0; color: var(--green-700); font-size: 28px; font-weight: 700; }

.boundary-note { padding: 22px 0; border-top: 1px solid #b9d4cc; background: var(--green-100); }
.boundary-inner { display: flex; gap: 24px; align-items: baseline; }
.boundary-inner strong { flex: 0 0 auto; color: var(--green-900); }
.boundary-inner p { margin: 0; color: #49645d; }
.site-footer { padding: 62px 0 26px; background: #082f28; color: rgba(255, 255, 255, .72); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr 1fr; gap: 70px; }
.footer-brand img { width: 260px; max-height: 58px; object-fit: contain; object-position: left; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 380px; margin-top: 22px; }
.site-footer h2 { margin: 0 0 18px; color: white; font-size: 18px; }
.site-footer a { color: rgba(255, 255, 255, .82); }
.site-footer a:hover { color: white; }
.footer-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.site-footer p { margin: 0 0 10px; }
.footer-friends { display: flex; gap: 18px; align-items: flex-start; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); font-size: 14px; }
.footer-friends strong { flex: 0 0 auto; color: #fff; }
.footer-friends div { display: flex; flex-wrap: wrap; gap: 7px 20px; }
.footer-friends a { position: relative; color: rgba(255,255,255,.68); }
.footer-friends a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .13); font-size: 13px; }
.footer-bottom p:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.floating-phone { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: inline-flex; align-items: center; justify-content: flex-start; gap: 10px; width: 142px; min-height: 50px; padding: 8px 12px 8px 9px; border: 1px solid rgba(255,255,255,.18); border-radius: 15px; background: linear-gradient(135deg, #0c8068, #096b58); color: white; box-shadow: 0 12px 30px rgba(4, 54, 45, .24), inset 0 1px 0 rgba(255,255,255,.15); font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.floating-phone i, .floating-qr-trigger i, .support-trigger i { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px; font-size: 15px; }
.floating-phone i { background: rgba(255,255,255,.15); }
.floating-phone:hover { color: white; background: linear-gradient(135deg, #0b765f, #075646); box-shadow: 0 16px 34px rgba(4, 54, 45, .31), inset 0 1px 0 rgba(255,255,255,.16); transform: translateX(-4px); }
.floating-qr { position: fixed; right: 22px; bottom: 82px; z-index: 41; }
.floating-qr-trigger { display: inline-flex; align-items: center; justify-content: flex-start; gap: 10px; width: 142px; min-height: 50px; padding: 8px 12px 8px 9px; border: 1px solid rgba(7, 86, 70, .12); border-radius: 15px; background: rgba(255,255,255,.96); color: var(--green-800); box-shadow: 0 12px 30px rgba(7, 63, 53, .14), inset 0 1px 0 #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font: inherit; font-weight: 700; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.floating-qr-trigger i, .support-trigger i { background: var(--green-050); color: var(--green-700); }
.floating-qr-trigger:hover, .floating-qr-trigger:focus-visible { border-color: rgba(7, 86, 70, .25); outline: none; background: #fff; box-shadow: 0 16px 34px rgba(7, 63, 53, .2), inset 0 1px 0 #fff; transform: translateX(-4px); }
.floating-qr-panel { position: absolute; right: 0; bottom: 54px; width: 316px; padding: 16px; border: 1px solid rgba(7, 63, 53, .15); border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 18px 48px rgba(7, 63, 53, .26); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.floating-qr.is-open .floating-qr-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.floating-qr-panel header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: var(--green-900); }
.floating-qr-close { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--green-050); color: var(--green-900); font-size: 23px; line-height: 1; cursor: pointer; }
.floating-qr-tabs { display: flex; gap: 7px; margin-bottom: 12px; }
.floating-qr-tabs button { flex: 1; min-width: 0; padding: 7px 8px; border: 1px solid #c9dbd6; border-radius: 8px; background: #fff; color: var(--green-800); cursor: pointer; }
.floating-qr-tabs button[aria-selected="true"] { border-color: var(--green-700); background: var(--green-700); color: #fff; }
.floating-qr-cards figure { margin: 0; text-align: center; }
.floating-qr-cards figure[hidden] { display: none; }
.floating-qr-cards a { display: block; overflow: hidden; width: 282px; height: 358px; border: 1px solid #dce7e4; border-radius: 10px; background: #fff; }
.floating-qr-cards img { display: block; width: 282px; height: 358px; object-fit: contain; }
.floating-qr-cards figcaption { margin-top: 9px; color: var(--muted); font-size: 13px; }
@media (hover: hover) and (pointer: fine) {
  .floating-qr:hover .floating-qr-panel { opacity: 1; visibility: visible; transform: translateY(0); }
}
.support-widget { position: fixed; right: 22px; bottom: 142px; z-index: 42; }
.support-trigger { display: inline-flex; align-items: center; justify-content: flex-start; gap: 10px; width: 142px; min-height: 50px; padding: 8px 12px 8px 9px; border: 1px solid rgba(7, 86, 70, .12); border-radius: 15px; background: rgba(255,255,255,.96); color: var(--green-800); box-shadow: 0 12px 30px rgba(7, 63, 53, .14), inset 0 1px 0 #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font: inherit; font-weight: 700; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.support-trigger:hover, .support-trigger:focus-visible { border-color: rgba(7, 86, 70, .25); outline: none; background: #fff; box-shadow: 0 16px 34px rgba(7, 63, 53, .2), inset 0 1px 0 #fff; transform: translateX(-4px); }
.floating-phone:focus-visible, .floating-qr-trigger:focus-visible, .support-trigger:focus-visible { outline: 3px solid rgba(28, 151, 123, .3); outline-offset: 3px; }
.floating-phone:active, .floating-qr-trigger:active, .support-trigger:active { transform: translateX(-2px) scale(.98); }
.support-panel { position: absolute; right: 0; bottom: 58px; display: flex; flex-direction: column; width: 392px; max-height: min(700px, calc(100vh - 200px)); overflow: hidden; border: 1px solid rgba(7, 63, 53, .12); border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 24px 64px rgba(4, 54, 45, .28), 0 2px 8px rgba(4,54,45,.08); opacity: 0; visibility: hidden; transform: translateY(10px) scale(.985); transform-origin: bottom right; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.support-widget.is-open .support-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.support-header { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 15px 18px; background: linear-gradient(135deg, #086451, #06483d); color: #fff; }
.support-header div { display: grid; gap: 2px; }
.support-header strong { font-size: 16px; letter-spacing: .01em; }
.support-header small { position: relative; padding-left: 13px; color: rgba(255,255,255,.78); font-size: 12px; }
.support-header small::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: #68ddb9; box-shadow: 0 0 0 3px rgba(104,221,185,.14); transform: translateY(-50%); }
.support-header button { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; font-size: 22px; cursor: pointer; }
.support-notice { margin: 0 !important; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--green-050); color: var(--muted); font-size: 12px; line-height: 1.6; }
.support-log { min-height: 165px; flex: 1; overflow: auto; padding: 16px; background: linear-gradient(180deg, #f5faf8, #fbfdfc); }
.support-message { display: flex; margin-bottom: 10px; }
.support-message.is-user { justify-content: flex-end; }
.support-message p { max-width: 84%; margin: 0; padding: 11px 13px; border: 1px solid rgba(7,86,70,.06); border-radius: 14px 14px 14px 4px; background: #fff; box-shadow: 0 5px 18px rgba(7,63,53,.08); color: #29463f; white-space: pre-wrap; word-break: break-word; }
.support-message.is-user p { border-color: transparent; border-radius: 14px 14px 4px 14px; background: linear-gradient(135deg, #0b8068, #086451); color: #fff; }
.support-quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px 16px 0; background: #fff; }
.support-quick button { padding: 6px 9px; border: 1px solid #bdd2cc; border-radius: 999px; background: #fff; color: var(--green-800); font-size: 12px; cursor: pointer; }
.support-composer { display: grid; grid-template-columns: 1fr 54px; gap: 8px; padding: 10px 16px 12px; background: #fff; }
.support-composer textarea, .support-lead input, .support-lead textarea { width: 100%; resize: none; border: 1px solid #bfd1cc; border-radius: 9px; padding: 9px 10px; color: var(--ink); background: #fff; }
.support-composer button { border: 0; border-radius: 11px; padding: 0 12px; background: linear-gradient(135deg, #0b8068, #086451); color: #fff; font-weight: 700; cursor: pointer; }
.support-composer button:disabled, .support-lead-actions button[type="submit"]:disabled { opacity: .5; cursor: not-allowed; }
.support-lead-toggle { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; margin: 0 16px 16px; padding: 10px 12px; border: 1px solid #c9ded8; border-radius: 13px; background: #f4faf8; color: var(--green-800); text-align: left; cursor: pointer; transition: border-color .18s ease, background-color .18s ease, transform .18s ease; }
.support-lead-toggle:hover { border-color: #7fb8aa; background: #edf8f4; transform: translateY(-1px); }
.support-lead-toggle-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #dcefe9; color: var(--green-700); }
.support-lead-toggle span:nth-child(2) { display: grid; gap: 1px; }
.support-lead-toggle strong { font-size: 14px; }
.support-lead-toggle small { color: var(--muted); font-size: 12px; font-weight: 400; }
.support-lead-toggle > .fa-angle-right { color: #73938b; font-size: 16px; }
.support-lead { min-height: 0; flex: 1; overflow: auto; padding: 18px; background: linear-gradient(180deg, #f7fbfa, #fff); }
.support-lead[hidden] { display: none; }
.support-widget.is-lead-open .support-notice, .support-widget.is-lead-open .support-log, .support-widget.is-lead-open .support-quick, .support-widget.is-lead-open .support-composer, .support-widget.is-lead-open .support-lead-toggle { display: none; }
.support-lead-intro { display: flex; gap: 12px; margin-bottom: 18px; padding: 14px; border: 1px solid #d8e8e4; border-radius: 14px; background: #fff; }
.support-lead-intro > span { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; background: var(--green-100); color: var(--green-700); font-size: 17px; }
.support-lead-intro strong { color: var(--green-900); font-size: 15px; }
.support-lead-intro p { margin: 3px 0 0 !important; color: var(--muted); font-size: 12px; line-height: 1.6; }
.support-lead > label:not(.support-consent) { display: grid; gap: 7px; margin-top: 13px; color: var(--green-900); font-size: 13px; font-weight: 700; }
.support-lead label em { color: #c64040; font-style: normal; }
.support-lead input, .support-lead textarea { min-height: 46px; border-color: #b9d0ca; border-radius: 11px; padding: 10px 12px; font-size: 14px; font-weight: 400; }
.support-lead input:focus, .support-lead textarea:focus, .support-composer textarea:focus { border-color: var(--green-700); outline: 3px solid rgba(11,107,87,.13); }
.support-consent { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.support-consent input { width: auto; margin-top: 3px; }
.support-lead [data-support-lead-result] { min-height: 19px; margin: 0 0 8px; color: var(--green-700); font-size: 12px; }
.support-lead-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 9px; }
.support-lead-actions button { min-height: 44px; border: 1px solid #bdd2cc; border-radius: 11px; background: #fff; color: var(--green-800); font-weight: 700; cursor: pointer; }
.support-lead-actions button[type="submit"] { border-color: transparent; background: linear-gradient(135deg, #0b8068, #086451); color: #fff; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 1024px) {
  .header-phone { display: none; }
  .site-nav ul { gap: 18px; }
  .brand { width: 210px; }
  .research-grid { grid-template-columns: 1fr 1fr; }
  .research-item:first-child { grid-row: auto; }
  .research-item:first-child img { height: auto; aspect-ratio: 16 / 9; }
}

@media (max-width: 767px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-header { height: 66px; }
  .header-inner { gap: 12px; }
  .brand { width: min(210px, calc(100vw - 90px)); }
  .mobile-menu-button { display: block; }
  .site-nav { position: absolute; top: 66px; left: 0; right: 0; display: none; padding: 10px 18px 18px; border-top: 1px solid var(--line); background: var(--white); box-shadow: 0 16px 32px rgba(7, 63, 53, .12); }
  .menu-open .site-nav { display: block; }
  .site-nav ul { display: block; }
  .site-nav a { padding: 11px 0; border-bottom-width: 1px; }
  .sub-menu { position: static; display: grid; min-width: 0; padding: 0 0 0 18px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .hero, .hero-swiper, .hero-slide { min-height: 560px; }
  .hero-scrim { background: linear-gradient(90deg, rgba(3, 42, 35, .92), rgba(3, 42, 35, .62)); }
  .hero-content { padding-top: 46px; padding-bottom: 70px; }
  .hero h1 { font-size: clamp(36px, 11vw, 48px); }
  .hero-description { margin: 18px 0 24px; font-size: 16px; }
  .button { min-height: 46px; }
  .trust-grid, .service-grid, .about-grid, .research-grid, .knowledge-layout, .knowledge-cards, .detail-grid, .article-layout, .contact-page-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-grid div { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid div:last-child { border-bottom: 0; }
  .section { padding: 64px 0; }
  .section-heading { margin-bottom: 28px; }
  .service-card { grid-template-columns: 1fr; }
  .service-card img { aspect-ratio: 16 / 9; }
  .about-grid, .knowledge-layout, .detail-grid { gap: 34px; }
  .about-image { order: 2; }
  .contact-band-inner, .boundary-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .contact-band-inner { display: flex; }
  .inner-hero { height: 260px; }
  .inner-hero-content { padding-bottom: 34px; }
  .article-layout, .contact-page-grid { gap: 30px; }
  .contact-aside, .contact-panel { position: static; }
  .footer-grid { gap: 34px; }
  .footer-friends { flex-direction: column; gap: 8px; margin-top: 28px; }
  .footer-friends div { gap: 7px 16px; }
  .footer-bottom { display: flex; margin-top: 34px; }
  .floating-phone, .floating-qr-trigger, .support-trigger { justify-content: center; width: 50px; min-height: 50px; padding: 8px; border-radius: 15px; }
  .floating-phone span, .floating-qr-trigger span, .support-trigger span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .floating-phone i, .floating-qr-trigger i, .support-trigger i { flex-basis: 32px; }
  .floating-phone { right: 14px; bottom: 14px; }
  .floating-qr { right: 72px; bottom: 14px; }
  .floating-qr-panel { position: fixed; inset: 72px 14px 78px; display: flex; flex-direction: column; width: auto; max-height: none; overflow: hidden; }
  .floating-qr-cards { min-height: 0; flex: 1; }
  .floating-qr-cards figure { display: flex; height: 100%; flex-direction: column; align-items: center; }
  .floating-qr-cards a { display: flex; min-height: 0; flex: 1; width: 100%; height: auto; align-items: center; justify-content: center; }
  .floating-qr-cards img { width: auto; max-width: 100%; height: auto; max-height: calc(100dvh - 250px); margin-inline: auto; object-fit: contain; }
  .support-widget { right: 130px; bottom: 14px; }
  .support-panel { position: fixed; inset: 72px 10px 78px; width: auto; max-height: none; }
  .floating-phone, .floating-qr, .support-widget { transition: opacity .18s ease, visibility .18s ease, transform .18s ease; }
  body.qr-panel-open .floating-phone, body.qr-panel-open .support-widget,
  body.support-panel-open .floating-phone, body.support-panel-open .floating-qr { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); }
}

@media (prefers-color-scheme: dark) {
  body { color: #e6f2ee; background: #092f29; }
  .site-header { background: rgba(8, 47, 40, .96); border-color: rgba(255, 255, 255, .10); }
  .brand img { filter: brightness(0) invert(1); }
  .site-nav a { color: #d9ebe5; }
  .mobile-menu-button span { background: white; }
  .site-nav, .sub-menu { background: #0b3b33; border-color: rgba(255, 255, 255, .12); }
  .trust-strip, .section-soft, .about-section, .knowledge-section, .service-card, .research-item, .knowledge-cards > a, .contact-aside, .contact-panel { background: #0b3b33; }
  .trust-strip, .service-card, .knowledge-cards > a { border-color: rgba(255, 255, 255, .12); }
  .section-heading h2, .about-copy h2, .detail-copy h2, .article-card h2, .service-card h3, .research-item h3, .knowledge-list h3, .knowledge-cards h3, .rich-content h2, .rich-content h3, .contact-aside h2, .contact-panel h2 { color: #ecf7f3; }
  .section-heading p, .about-copy > p, .detail-copy > p, .service-card p, .research-item p, .knowledge-list p, .knowledge-cards p, .rich-content, .contact-aside p, .contact-panel p { color: #b5c9c3; }
  .about-points span, .rich-content blockquote { background: rgba(255, 255, 255, .06); color: #d3e5df; }
  .boundary-note { background: #0f493e; border-color: rgba(255, 255, 255, .12); }
  .boundary-inner strong { color: white; }
  .boundary-inner p { color: #c5ddd6; }
}

/* Final specificity guards for the hospital theme. */
.brand.hospital-brand { display: inline-flex; align-items: center; gap: 12px; width: auto; min-width: 248px; }
.service-card.hospital-card { display: block; min-height: 248px; background: linear-gradient(160deg, #fff, #f1f9f9); }
.service-card.hospital-card > div { min-height: 248px; padding: 28px; }
.site-footer { background: #073640; }
.floating-phone { background: linear-gradient(135deg, #0d7c88, #0a5f6b); }
@media (max-width: 1120px) { .brand.hospital-brand { min-width: 220px; } }
@media (max-width: 767px) {
  .brand.hospital-brand { min-width: 0; width: min(225px, calc(100vw - 82px)); }
  .service-card.hospital-card, .service-card.hospital-card > div { min-height: 220px; }
}
@media (prefers-color-scheme: dark) { .service-card.hospital-card { background: #0b3d46; } }
