:root {
    --ink: #0b1b3a;
    --navy: #0000ff;
    --brand-blue: #0000ff;
    --brand-green: #33e58c;
    --accent: #0000ff;
    --accent-strong: #0000cc;
    --gold: #f2b843;
    --sky: #e9f7ff;
    --mist: #f4f7fb;
    --line: #cfd8e3;
    --soft: #eef2f7;
    --shadow: 0 18px 40px rgba(19, 33, 64, 0.15);
  }
  
  * {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
    color: var(--ink);
    background: linear-gradient(160deg, #f7fbff 0%, #eefbff 50%, #ffffff 100%);
  }
  
  .page {
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
  }
  
  .page::before,
  .page::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(0.5px);
    opacity: 0.6;
    z-index: 0;
  }
  
  .page::before {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(0, 0, 255, 0.28), rgba(0, 0, 255, 0));
    top: -120px;
    right: -120px;
    animation: float 10s ease-in-out infinite;
  }
  
  .page::after {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(51, 229, 140, 0.25), rgba(51, 229, 140, 0));
    bottom: -140px;
    left: -140px;
    animation: float 12s ease-in-out infinite reverse;
  }
  
  .home .page::before,
  .home .page::after,
  .subpage .page::before,
  .subpage .page::after {
    display: none;
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(18px); }
  }
  
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .container {
    width: min(1100px, 92vw);
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  
  header {
    padding: 28px 0 12px;
    position: sticky;
    top: 0;
    z-index: 10;
    background: #ffffff;
    backdrop-filter: none;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.05);
  }
  
  .site-header {
    background: #ffffff;
  }
  
  .brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: "Mandali", "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif;
    font-weight: 600;
    letter-spacing: 0.01em;
    font-size: 26px;
  }
  
  .brand-logo {
    height: 36px;
    width: auto;
    max-width: 180px;
    display: block;
  }

  .brand-link {
    display: inline-flex;
    line-height: 0;
  }
  
  .brand-name {
    color: var(--brand-blue);
  }
  
  nav {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    font-size: 14px;
  }
  
  nav a {
    color: var(--navy);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.7);
  }
  
  nav a:hover {
    border-color: var(--accent);
    color: var(--accent-strong);
  }
  
  .hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    padding: 24px 0 32px;
    align-items: center;
  }
  
  .hero-card {
    background: linear-gradient(160deg, rgba(233, 247, 255, 0.7), rgba(255, 255, 255, 0.95));
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow);
  }
  
  .hero-title {
    font-size: clamp(24px, 2.8vw, 36px);
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 700;
  }
  
  .hero-sub {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
    margin-bottom: 18px;
  }
  
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease;
  }
  
  .button.primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 12px 20px rgba(0, 0, 255, 0.25);
  }
  
  .button.primary:hover {
    background: var(--accent-strong);
  }
  
  .button.ghost {
    border-color: var(--accent);
    color: var(--accent-strong);
    background: #fff;
  }
  
  .hero-visual {
    min-height: 300px;
    border-radius: 26px;
    background: linear-gradient(140deg, #0000ff 0%, #33e58c 75%);
    color: #fff;
    padding: 28px;
    position: relative;
    overflow: hidden;
  }
  
  .hero-visual h3 {
    margin: 0 0 12px;
    font-size: 20px;
    letter-spacing: 0.08em;
  }
  
  .hero-visual p {
    margin: 0;
    line-height: 1.7;
  }
  
  .hero-visual::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.4);
    bottom: -40px;
    right: -40px;
  }
  
  .section {
    padding: 40px 0;
    scroll-margin-top: 140px;
  }
  
  .section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 18px;
  }
  
  .section-title span {
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.1em;
  }
  
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
  }
  
  .card {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    border: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(18, 33, 64, 0.08);
  }
  
  .card h4 {
    margin: 0 0 12px;
    color: var(--navy);
  }

  .medical-copy {
    font-size: 16px;
    line-height: 1.45;
  }

  .medical-copy p {
    margin: 0 0 14px;
  }

  .medical-copy p:last-child {
    margin-bottom: 0;
  }

  .medical-copy strong {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
  }

  .medical-notes {
    margin-top: 26px;
  }

  .service-copy {
    font-size: 16px;
    line-height: 1.45;
  }

  .service-copy p {
    margin: 0 0 14px;
  }

  .service-copy p:last-child {
    margin-bottom: 0;
  }

  .service-copy strong {
    font-weight: 700;
  }

  .service-note {
    margin-top: 26px;
  }

  .patient-copy {
    font-size: 16px;
    line-height: 1.45;
  }

  .patient-copy p {
    margin: 0 0 14px;
  }

  .patient-copy p:last-child {
    margin-bottom: 0;
  }

  .patient-copy-heading {
    font-weight: 700;
    margin-top: 26px;
  }

  .patient-copy h3.patient-copy-heading {
    font-size: 17px;
    line-height: 1.45;
    margin: 26px 0 10px;
    color: var(--ink);
  }

  .patient-copy-list {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
    padding-left: 1.25em;
  }

  .patient-flow-list,
  .patient-note-list {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
    padding-left: 1.25em;
  }

  .patient-flow-list {
    list-style-position: outside;
  }

  .patient-note-list {
    list-style-position: outside;
  }

  .patient-flow-list li,
  .patient-note-list li {
    padding-left: 0.15em;
  }

  .patient-flow-list strong,
  .patient-note-list strong {
    display: inline;
    margin-right: 0.75em;
  }

  .patient-flow-note {
    display: block;
    margin-top: 2px;
  }

  .patient-copy-underline {
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
  }

  .security-copy {
    font-size: 16px;
    line-height: 1.45;
  }

  .security-copy p {
    margin: 0;
  }

  .security-copy strong {
    font-weight: 700;
  }

  .security-copy a {
    color: #25258f;
    text-decoration: underline;
    text-decoration-thickness: 0.06em;
    text-underline-offset: 0.14em;
  }

  .faq-copy {
    font-size: 16px;
    line-height: 1.45;
  }

  .faq-list {
    display: grid;
    gap: 26px;
    list-style: disc;
    margin: 0;
    padding-left: 1.25em;
  }

  .faq-question {
    font-weight: 700;
    margin: 0 0 8px;
  }

  .faq-answer {
    margin: 0;
  }

  .policy-copy {
    font-size: 16px;
    line-height: 1.45;
  }

  .policy-copy h3 {
    color: #1b1f8b;
    font-size: 18px;
    margin: 24px 0 8px;
  }

  .policy-copy h3:first-child,
  .policy-copy .policy-note + h3 {
    margin-top: 0;
  }

  .policy-copy p {
    margin: 0 0 14px;
  }

  .policy-copy p:last-child {
    margin-bottom: 0;
  }

  .policy-note {
    font-weight: 700;
  }

  .policy-list {
    display: grid;
    gap: 8px;
    margin: 0 0 18px;
    padding-left: 1.25em;
  }

  .contact-copy {
    font-size: 16px;
    line-height: 1.45;
  }

  .contact-copy p {
    margin: 0 0 14px;
  }

  .contact-copy strong {
    font-weight: 700;
  }

  .contact-copy a {
    color: #25258f;
    text-decoration: underline;
    text-decoration-thickness: 0.06em;
    text-underline-offset: 0.14em;
  }

  .contact-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 1.25em;
  }

  .contact-page {
    font-size: 16px;
    line-height: 1.45;
  }

  .contact-intro {
    padding-bottom: 22px;
  }

  .contact-intro p {
    margin: 16px 0 0;
  }

  .contact-type-nav {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-link-button,
  .contact-form-fallback {
    align-items: center;
    background: #eef4ff;
    border: 2px solid #1b1f8b;
    border-radius: 8px;
    color: #1b1f8b;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 48px;
    padding: 12px 16px;
    text-align: center;
    text-decoration: none;
  }

  .contact-link-button:visited,
  .contact-form-fallback:visited {
    color: #1b1f8b;
  }

  .contact-form-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 24px rgba(18, 33, 64, 0.08);
    padding: 20px;
  }

  .contact-form-card p {
    margin: 0 0 16px;
  }

  .contact-copy .contact-link-button {
    margin-top: 2px;
  }

  .contact-form-frame {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: block;
    width: 100%;
  }

  .contact-form-frame--medical {
    height: 1320px;
  }

  .contact-form-frame--patient,
  .contact-form-frame--company {
    height: 1080px;
  }

  .contact-form-fallback {
    margin-top: 14px;
  }

  .results-page {
    font-size: 16px;
    line-height: 1.45;
  }

  .results-title-bar {
    background: #1b1f8b;
    color: #ffffff;
    font-weight: 700;
    margin: 24px 0 20px;
    padding: 14px 18px;
  }

  .results-section {
    padding: 26px 0;
  }

  .results-list {
    display: grid;
    gap: 20px;
  }

  .results-entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.85fr);
    gap: 28px;
    align-items: center;
  }

  .results-entry h3 {
    color: #0b1b3a;
    font-size: 18px;
    margin: 0 0 12px;
  }

  .results-entry p {
    margin: 0 0 8px;
  }

  .results-entry a {
    color: #25258f;
    text-decoration: underline;
    text-decoration-thickness: 0.06em;
    text-underline-offset: 0.14em;
  }

  .results-note {
    color: #1b1f8b;
    font-weight: 700;
  }

  .results-map {
    align-items: center;
    background: #bfbfbf;
    color: #ffffff;
    display: flex;
    font-size: 22px;
    justify-content: center;
    min-height: 96px;
  }

  .results-voice-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-voice-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #d0d6e2;
    border-radius: 8px;
    min-height: 120px;
    padding: 18px 20px;
    position: relative;
  }

  .results-voice-card h3 {
    color: #1b1f8b;
    font-size: 16px;
    margin: 0 0 10px;
  }

  .results-voice-card p {
    margin: 0;
  }

  .results-quote-mark {
    color: rgba(27, 31, 139, 0.22);
    font-size: 52px;
    line-height: 1;
    position: absolute;
    right: 16px;
    top: 10px;
  }

  .results-contact {
    margin-top: 28px;
  }
  
  .news-list {
    display: grid;
    gap: 14px;
  }
  
  .news-item {
    background: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
  }
  
  .news-item time {
    font-weight: 700;
    color: var(--navy);
  }
  
  .tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
  }
  
  .tag {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--soft);
    font-size: 12px;
    color: var(--navy);
  }
  
  .profile-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }
  
  .profile-table th,
  .profile-table td {
    border: 1px solid var(--line);
    padding: 12px;
    text-align: left;
    vertical-align: top;
  }
  
  .profile-table th {
    background: var(--soft);
    width: 180px;
  }
  
  .callout {
    background: linear-gradient(145deg, #fff, #f7fafc);
    border-radius: 22px;
    padding: 22px;
    border: 1px solid var(--line);
    display: grid;
    gap: 12px;
  }
  
  .callout strong {
    color: var(--navy);
  }
  
  .form-card {
    background: #fff;
    border-radius: 20px;
    padding: 22px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  
  form {
    display: grid;
    gap: 12px;
  }
  
  label {
    font-size: 13px;
    color: var(--navy);
  }
  
  input,
  textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    font-family: inherit;
  }
  
  textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  footer {
    padding: 30px 0 40px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: #5d6c86;
  }

  .footer-inner {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
  }
  
  .badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .badge {
    border-radius: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px dashed rgba(255, 255, 255, 0.5);
    font-size: 12px;
  }
  
  .reveal {
    animation: rise 0.8s ease forwards;
  }
  
  .delay-1 { animation-delay: 0.1s; }
  .delay-2 { animation-delay: 0.2s; }
  .delay-3 { animation-delay: 0.3s; }
  
  @media (max-width: 720px) {
    nav {
      gap: 8px 10px;
    }
  
    .news-item {
      grid-template-columns: 1fr;
    }
  
    .profile-table th {
      width: auto;
    }
  }
  
  .home .page {
    background: #f4fbff;
  }
  
  .subpage .page {
    background: #f4fbff;
  }
  
  .home .site-header {
    background: #ffffff;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.05);
    backdrop-filter: none;
  }
  
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  
  .primary-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 14px;
    margin-top: 0;
  }
  
  .primary-nav a {
    background: transparent;
    border-radius: 999px;
    color: #1b2a8b;
    display: inline-flex;
    line-height: 1.35;
    min-height: 28px;
    padding: 4px 12px;
    text-decoration: none;
    border: none;
  }
  
  .primary-nav a:hover {
    color: #0000cc;
  }

  .primary-nav a.is-active,
  .primary-nav a.is-active:hover {
    background: #1b1f8b;
    color: #ffffff;
  }
  
  .hero-banner {
    position: relative;
    background: linear-gradient(90deg, rgba(7, 23, 64, 0.92) 0%, rgba(10, 45, 102, 0.92) 50%, rgba(12, 79, 143, 0.92) 100%),
      url("lung.png");
    border-radius: 0;
    padding: 32px 36px;
    margin: 24px 0 30px;
    color: #ffffff;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center;
  }
  
  .hero-text {
    position: relative;
    z-index: 1;
    padding-left: 0;
    max-width: 620px;
  }
  
  .hero-eyebrow {
    font-size: 16px;
    margin-bottom: 6px;
  }
  
  .hero-text h1 {
    margin: 0 0 6px;
    font-size: 30px;
    line-height: 1.3;
  }
  
  .hero-text p {
    margin: 0;
    font-size: 16px;
  }
  
  .hero-cta {
    position: relative;
    z-index: 1;
    margin-left: auto;
    background: #ffffff;
    color: #142a8b;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
  }
  
  .hero-banner--sub {
    min-height: 160px;
  }
  
  .hero-banner--sub .hero-text {
    max-width: 640px;
  }
  
  .hero-banner--sub .hero-text {
    max-width: 640px;
  }
  
  .hero-banner--sub .hero-text h1 {
    font-size: 26px;
  }
  
  .hero-banner--sub .hero-text p {
    font-size: 15px;
  }
  
  .hero-banner--sub .hero-cta {
    font-size: 14px;
    padding: 10px 18px;
  }

  .home-topics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: -10px 0 26px;
  }

  .home-topic {
    background: #ffffff;
    border: 1px solid #d0d6e2;
    border-left: 4px solid #1b1f8b;
    border-radius: 8px;
    color: #0b1b3a;
    font-size: 14px;
    line-height: 1.8;
    padding: 14px 16px;
  }

  .home-topic h2 {
    color: #1b1f8b;
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 10px;
  }

  .home-topic p {
    margin: 0 0 10px;
  }

  .home-topic p:last-child {
    margin-bottom: 0;
  }

  .home-topic a {
    color: #1b1f8b;
    font-weight: 700;
    text-decoration: none;
  }
  
  .home-cta {
    display: flex;
    gap: 26px;
    justify-content: center;
    margin: 16px 0 30px;
  }
  
  .cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #1b1f8b;
    color: #ffffff;
    padding: 18px 30px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    min-width: 320px;
    justify-content: center;
  }
  
  .cta-pill img {
    width: 36px;
    height: 36px;
  }
  
  .section-heading {
    font-size: 26px;
    margin: 0 0 14px;
    color: #1b1f8b;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .section-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #1b1f8b;
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 0.08em;
  }
  
  .news-row {
    display: grid;
    grid-template-columns: 120px 110px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 2px dotted #9aa2b0;
  }
  
  .news-row:last-child {
    border-bottom: none;
  }
  
  .news-date {
    font-size: 13px;
  }
  
  .news-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #7a7a7a;
    color: #ffffff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
  }
  
  .news-text {
    font-size: 14px;
  }

  .news-more-link {
    align-items: center;
    border: 1px solid #1b1f8b;
    border-radius: 999px;
    color: #1b1f8b;
    display: flex;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    margin: 18px 0 0 auto;
    min-height: 40px;
    padding: 9px 18px;
    text-decoration: none;
    width: fit-content;
  }

  .news-more-link:visited,
  .news-more-link:hover {
    color: #1b1f8b;
  }

  .news-page {
    font-size: 16px;
    line-height: 1.45;
  }
  
  .about-lines {
    display: grid;
    gap: 16px;
  }
  
  .about-line {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
  }
  
  .about-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #1b1f8b;
    position: relative;
  }
  
  .about-icon::after {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    border: 2px solid #1b1f8b;
  }
  
  .about-icon.eye::after {
    inset: 10px;
    border: none;
    border-top: 2px solid #1b1f8b;
    border-bottom: 2px solid #1b1f8b;
    border-radius: 999px;
  }
  
  .about-label {
    font-weight: 700;
    color: #1b1f8b;
    min-width: 80px;
    text-transform: lowercase;
  }
  
  .profile-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
  }
  
  .profile-card {
    background: #ffffff;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #d0d6e2;
  }
  
  .map-card {
    background: #d9d9d9;
    color: #ffffff;
    display: block;
    font-size: 22px;
    border-radius: 6px;
    min-height: 190px;
    overflow: hidden;
  }
  
  .map-card iframe {
    display: block;
    width: 100%;
    height: 100%;
  }
  
  .contact-pill {
    display: block;
    width: min(520px, 90%);
    margin: 12px auto 0;
    text-align: center;
    border: 1px solid #111;
    border-radius: 999px;
    padding: 16px 20px;
    color: #111;
    text-decoration: none;
    font-weight: 700;
    background: #ffffff;
  }

  .back-to-top {
    align-items: center;
    background: #1b1f8b;
    border: 1px solid #1b1f8b;
    border-radius: 999px;
    color: #ffffff;
    display: flex;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    margin-left: auto;
    min-height: 42px;
    padding: 10px 18px;
    text-decoration: none;
    width: fit-content;
  }

  .back-to-top:visited,
  .back-to-top:hover {
    color: #ffffff;
  }
  
  @media (max-width: 900px) {
    .hero-banner {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .hero-text {
      padding-left: 0;
    }
  
    .hero-lung {
      position: static;
      transform: none;
      width: 180px;
    }
  
    .hero-cta {
      margin-left: 0;
    }
  
    .home-cta {
      flex-direction: column;
    }

    .home-topics {
      grid-template-columns: 1fr;
    }
  
    .profile-grid {
      grid-template-columns: 1fr;
    }

    .results-entry,
    .results-voice-grid {
      grid-template-columns: 1fr;
    }

    .contact-type-nav {
      grid-template-columns: 1fr;
    }

    .contact-form-card {
      padding: 14px;
    }

    .contact-form-frame--medical {
      height: 1380px;
    }

    .contact-form-frame--patient,
    .contact-form-frame--company {
      height: 1140px;
    }
  }

  @media (max-width: 720px) {
    .container {
      width: calc(100% - 32px);
    }

    header {
      padding: 16px 0 12px;
      position: static;
    }

    .header-inner {
      align-items: stretch;
      flex-direction: column;
      gap: 14px;
    }

    .brand {
      justify-content: center;
    }

    .brand-logo {
      height: 32px;
      max-width: min(220px, 100%);
    }

    .primary-nav {
      display: grid;
      font-size: 13px;
      gap: 8px;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      width: 100%;
    }

    .primary-nav a {
      align-items: center;
      background: #ffffff;
      border: 1px solid #d8e2f1;
      border-radius: 8px;
      display: flex;
      justify-content: center;
      line-height: 1.35;
      min-height: 44px;
      padding: 8px 10px;
      text-align: center;
    }

    .primary-nav a.is-active,
    .primary-nav a.is-active:hover {
      background: #1b1f8b;
      border-color: #1b1f8b;
      color: #ffffff;
    }

    .hero-banner {
      background-position: center;
      gap: 16px;
      margin: 18px 0 22px;
      min-height: 0;
      padding: 24px 18px;
    }

    .hero-eyebrow {
      font-size: 14px;
    }

    .hero-text h1 {
      font-size: 24px;
      line-height: 1.35;
    }

    .hero-text p,
    .hero-banner--sub .hero-text p {
      font-size: 14px;
      line-height: 1.6;
    }

    .hero-banner--sub .hero-text h1 {
      font-size: 22px;
    }

    .hero-cta {
      text-align: center;
      white-space: normal;
      width: 100%;
    }

    .section {
      padding: 28px 0;
      scroll-margin-top: 24px;
    }

    .card {
      border-radius: 12px;
      padding: 16px;
    }

    .section-heading {
      align-items: flex-start;
      font-size: 21px;
      gap: 8px;
      line-height: 1.35;
      overflow-wrap: anywhere;
    }

    .section-index {
      flex: 0 0 auto;
      font-size: 11px;
      height: 26px;
      margin-top: 1px;
      min-width: 34px;
      padding: 0 8px;
    }

    .home-topics {
      gap: 10px;
      margin: 0 0 22px;
    }

    .home-topic {
      font-size: 14px;
      padding: 14px;
    }

    .home-topic h2 {
      font-size: 17px;
    }

    .home-cta {
      gap: 12px;
      margin: 12px 0 24px;
    }

    .cta-pill {
      border-radius: 12px;
      min-width: 0;
      padding: 14px 18px;
      width: 100%;
    }

    .medical-copy,
    .service-copy,
    .patient-copy,
    .security-copy,
    .faq-copy,
    .policy-copy,
    .contact-copy,
    .contact-page {
      font-size: 15px;
      line-height: 1.65;
    }

    .patient-copy-list,
    .patient-flow-list,
    .patient-note-list,
    .faq-list,
    .policy-list,
    .contact-list {
      gap: 10px;
      padding-left: 1.1em;
    }

    .about-line {
      align-items: flex-start;
      display: grid;
      font-size: 14px;
      grid-template-columns: 28px minmax(64px, auto) minmax(0, 1fr);
      line-height: 1.6;
    }

    .profile-card {
      padding: 8px;
    }

    .profile-table,
    .profile-table tbody,
    .profile-table tr,
    .profile-table th,
    .profile-table td {
      display: block;
      width: 100%;
    }

    .profile-table tr + tr {
      margin-top: 10px;
    }

    .profile-table th {
      border-bottom: 0;
      width: auto;
    }

    .profile-table td {
      border-top: 0;
    }

    .map-card {
      min-height: 240px;
    }

    .contact-link-button,
    .contact-form-fallback {
      min-height: 46px;
      padding: 12px;
      width: 100%;
    }

    .contact-form-card {
      padding: 12px;
    }

    .news-row {
      align-items: flex-start;
      grid-template-columns: 1fr;
      gap: 6px;
    }

    footer {
      line-height: 1.5;
      padding: 22px 0 28px;
      text-align: center;
    }

    .footer-inner {
      align-items: center;
      flex-direction: column-reverse;
      gap: 14px;
    }

    .back-to-top {
      margin-left: 0;
    }
  }

  @media (max-width: 480px) {
    .container {
      width: calc(100% - 24px);
    }

    .hero-banner {
      padding: 22px 14px;
    }

    .hero-text h1 {
      font-size: 22px;
    }

    .section-heading {
      font-size: 19px;
    }

    .card {
      padding: 14px;
    }

    .contact-form-frame--medical {
      height: 1480px;
    }

    .contact-form-frame--patient,
    .contact-form-frame--company {
      height: 1240px;
    }
  }
