.hero {
  max-width: 1488px;
  margin: 22px auto;
  padding: 0 20px;
  position: relative;
}
.hero-slider {
  height: 720px;
  margin-bottom: 14px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, #dce8fb, #f0f5ff);
  box-shadow: var(--shadow-md);
}
.hero-slider::before,
.hero-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 9%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}
.hero-slider::before {
  left: 0;
  background: linear-gradient(90deg, rgba(9, 27, 56, 0.24), rgba(9, 27, 56, 0));
}
.hero-slider::after {
  right: 0;
  background: linear-gradient(270deg, rgba(9, 27, 56, 0.24), rgba(9, 27, 56, 0));
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0;
  transform: scale(1.02) translateX(8px);
  transition: opacity 1.15s ease, transform 5.5s linear;
}
.slide.is-active {
  opacity: 1;
  transform: scale(1) translateX(0);
  z-index: 2;
}

/* ===== Hero Image Position Control (PC) ===== */
.slide.slide-outlook1 {
  object-position: center 65%;
}

.slide.slide-outlook2 {
  object-position: center 60%;
}

.slide.slide-outlook3 {
  object-position: center 60%;
}

.hero-dots {
  position: static;
  width: fit-content;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dbe5f5;
  box-shadow: 0 6px 16px rgba(15, 52, 119, 0.14);
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: #9fb2d8;
  cursor: pointer;
  transition: all .25s;
}
.hero-dot.is-active {
  width: 28px;
  background: #1f4fd6;
}

.hero-copy {
  position: absolute;
  left: 48px;
  bottom: 72px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(220, 232, 249, 0.95);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  z-index: 6;
}
.copy-main { margin: 0; font-size: 30px; font-weight: 900; white-space: pre-line; line-height: 1.35; }
.copy-sub { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

.card, .section {
  max-width: 1120px;
  margin: 22px auto;
  padding: 0 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.section { position: relative; }
.section h2 {
  margin: 0 0 14px;
  font-size: 28px;
  color: var(--primary);
  letter-spacing: 0.01em;
}
.alt {
  background: linear-gradient(180deg, #eef5ff, #f7fbff);
  padding-top: 32px;
  padding-bottom: 32px;
  border-radius: 22px;
  border: 1px solid #e5effd;
}

.tel-block a {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
}
.tel-block p {
  margin: 4px 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.time-table table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}
.time-table th, .time-table td {
  border: 1px solid var(--line);
  text-align: center;
  padding: 10px;
}
.time-table th {
  background: #f0f6ff;
  color: #274a7f;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: start;
}
.two-col img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.more {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: var(--primary);
  font-weight: 700;
  padding: 8px 12px;
  border: 1px solid #cfe0fb;
  border-radius: 999px;
  transition: all .2s;
}
.more:hover {
  background: #edf4ff;
  border-color: #b9d2f9;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chips a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}
.chips a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(16, 56, 115, 0.12);
}

.treatment-lead {
  margin: 0 0 14px;
  color: var(--muted);
}

.grid-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.treatment-card {
  border: 1px solid #cfe0fb;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 10px 20px rgba(16, 56, 115, 0.07);
  min-height: 110px;
  display: grid;
  align-content: center;
  gap: 4px;
}

.treatment-card.large {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, #eaf3ff, #f8fbff);
  border-color: #b8cff6;
}

.treatment-name {
  margin: 0;
  color: #183b7a;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
}

.treatment-card:not(.large) .treatment-name {
  font-size: 24px;
}

.treatment-note {
  margin: 0;
  color: #516280;
  font-size: 14px;
}

.care-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 12px;
}

.care-feature {
  margin: 0;
  border: 1px solid #cfe0fb;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 22px rgba(16, 56, 115, 0.08);
  display: grid;
  grid-template-columns: minmax(260px, 38%) 1fr;
  min-height: 260px;
}

.care-vaccine .care-visual {
  order: 2;
}

.care-visual {
  position: relative;
}

.care-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 31, 72, 0.08), rgba(8, 31, 72, 0));
  pointer-events: none;
}

.care-vaccine .care-visual::after {
  background: linear-gradient(270deg, rgba(8, 31, 72, 0.08), rgba(8, 31, 72, 0));
}

.care-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.care-feature-body {
  padding: 20px 22px;
  display: grid;
  align-content: center;
  gap: 10px;
}

.care-kicker {
  margin: 0;
  color: #5f79a8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.care-feature-body h3 {
  margin: 0;
  color: #163b7a;
  font-size: 34px;
  line-height: 1.2;
}

.care-feature-body p {
  margin: 0;
  color: #516280;
  font-size: 15px;
}

.care-tags {
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.care-tags li {
  border-radius: 999px;
  background: #edf3ff;
  color: #25457f;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
}

.care-note {
  margin-top: 6px !important;
  font-size: 14px !important;
  color: #3d4e6c !important;
}


.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.news-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: 100px 56px 1fr;
  gap: 10px;
  align-items: center;
  transition: box-shadow .2s;
}
.news-list li:hover { box-shadow: var(--shadow-sm); }
.news-list time { color: #54627b; font-weight: 600; }
.news-list span {
  text-align: center;
  border-radius: 999px;
  background: #ffe6e6;
  color: #ad2e2e;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 0;
}
.news-list p { margin: 0; }

.floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(15,61,133,.25);
  z-index: 10;
}

.schedule-title {
  max-width: 1120px;
  margin: 16px auto 12px;
  padding: 0 20px;
  font-size: 28px;
  color: var(--primary);
  letter-spacing: 0.01em;
}

/* ===== About Image Rotator ===== */
.about-media {
  display: grid;
  gap: 12px;
}

.about-rotator {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: #eef3fc;
}

.about-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.about-slide.is-active {
  opacity: 1;
}

.about-dots {
  width: fit-content;
  margin: 0 auto;
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #dbe5f5;
  box-shadow: 0 6px 14px rgba(15, 52, 119, 0.12);
}

.about-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: #9fb2d8;
  cursor: pointer;
  transition: all .25s;
}

.about-dot.is-active {
  width: 24px;
  background: #1f4fd6;
}

@media (max-width: 900px) {
  .about-rotator {
    aspect-ratio: 4 / 3;
  }
}


/* ===== Access Section ===== */
.access-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.access-card {
  margin: 0;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid #cfe0fb;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 24px rgba(16, 56, 115, 0.08);
}

.access-card h3 {
  margin: 0 0 10px;
  color: #173f84;
  font-size: 22px;
}

.access-map-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d6e4fa;
  background: #e9f1ff;
}

.access-map-wrap iframe {
  display: block;
  width: 100%;
  height: 360px;
}

.access-address {
  margin: 10px 2px 0;
  color: #4f6080;
  font-size: 14px;
}

.parking-image {
  width: 100%;
  height: 230px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid #d6e4fa;
  display: block;
}

.access-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #22395f;
  line-height: 1.9;
}

@media (max-width: 900px) {
  .access-layout {
    grid-template-columns: 1fr;
  }

  .access-map-wrap iframe {
    height: 300px;
  }

  .parking-image {
    height: 210px;
  }
}

/* ===== Access Section (Vertical Redesign) ===== */
.access-layout {
  grid-template-columns: 1fr;
  gap: 18px;
}

.access-card {
  padding: 18px;
  border-radius: 22px;
}

.access-map-card {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(53, 116, 229, 0.12), transparent 60%),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.access-parking-card {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(29, 83, 174, 0.10), transparent 62%),
    linear-gradient(180deg, #ffffff, #f7faff);
}

.access-card h3 {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1.2;
}

.access-map-wrap {
  border-radius: 16px;
  border: 1px solid #c7d9f7;
  box-shadow: 0 8px 18px rgba(19, 61, 126, 0.12);
}

.access-map-wrap iframe {
  height: 430px;
}

.access-address {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #2b4675;
}

.parking-image {
  height: 340px;
  border-radius: 16px;
  border: 1px solid #c7d9f7;
  box-shadow: 0 8px 18px rgba(19, 61, 126, 0.12);
}

.access-list {
  margin-top: 14px;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: #26406d;
  font-size: 20px;
  line-height: 1.65;
}

.access-list li {
  position: relative;
  padding-left: 24px;
}

.access-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2a5ed1;
  position: absolute;
  left: 4px;
  top: 0.7em;
}

@media (max-width: 900px) {
  .access-card {
    padding: 14px;
    border-radius: 16px;
  }

  .access-card h3 {
    font-size: 28px;
  }

  .access-map-wrap iframe {
    height: 300px;
  }

  .access-address {
    font-size: 16px;
  }

  .parking-image {
    height: 220px;
  }

  .access-list {
    font-size: 18px;
  }
}

/* ===== Access Section (Stacked Smart Layout) ===== */
.access-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.access-panel {
  border: 1px solid #cfe0fb;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: 0 12px 22px rgba(16, 56, 115, 0.08);
  padding: 16px;
}

.access-row {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
  align-items: start;
}

.access-map-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #c7d9f7;
  box-shadow: 0 8px 16px rgba(19, 61, 126, 0.10);
}

.access-map-wrap iframe {
  display: block;
  width: 100%;
  height: 380px;
}

.access-text {
  min-width: 0;
  background: #ffffff;
  border: 1px solid #dbe7fb;
  border-radius: 14px;
  padding: 14px;
}

.access-main {
  margin: 0;
  color: #1d3f7f;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.35;
}

.access-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: #2a456e;
  font-size: 18px;
  line-height: 1.65;
}

.access-list li {
  position: relative;
  padding-left: 20px;
}

.access-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #2a5ed1;
  position: absolute;
  left: 2px;
  top: 0.72em;
}

.access-row-parking {
  grid-template-columns: 0.95fr 1.05fr;
}

.parking-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #c7d9f7;
  box-shadow: 0 8px 16px rgba(19, 61, 126, 0.10);
}

@media (max-width: 1000px) {
  .access-row,
  .access-row-parking {
    grid-template-columns: 1fr;
  }

  .access-map-wrap iframe {
    height: 300px;
  }

  .parking-image {
    height: 220px;
  }

  .access-main {
    font-size: 24px;
  }

  .access-list {
    font-size: 17px;
  }
}

/* ===== Access Fine Tuning (No Text Box / No Bold / Full Parking Image) ===== */
.access-text {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 2px 0;
}

.access-main {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.55;
  color: #2a456e;
}

.access-list {
  font-size: 18px;
  font-weight: 400;
  color: #2a456e;
  gap: 6px;
}

.access-list li {
  padding-left: 18px;
}

.access-list li::before {
  width: 6px;
  height: 6px;
  top: 0.75em;
}

.parking-image {
  height: auto;
  object-fit: contain;
  background: #ffffff;
}

@media (max-width: 1000px) {
  .access-main {
    font-size: 20px;
  }

  .access-list {
    font-size: 16px;
  }

  .parking-image {
    height: auto;
  }
}

/* ===== Access V2 (Reference Style) ===== */
.accessv2-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.accessv2-line {
  width: 4px;
  height: 54px;
  border-radius: 2px;
  background: linear-gradient(to bottom, #2aa0b4, #0f2744);
}

.accessv2-title {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  font-weight: 600;
  color: #0f2744;
  line-height: 1;
}

.accessv2-sub {
  margin: 4px 0 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #1a7a8a;
  text-transform: uppercase;
}

.accessv2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.accessv2-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(15, 39, 68, 0.10);
}

.accessv2-card-map {
  grid-column: 1 / 2;
}

.accessv2-card-info {
  grid-column: 2 / 3;
}

.accessv2-card-parking {
  grid-column: 1 / 3;
}

.accessv2-map {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
  filter: saturate(0.92) contrast(1.04);
}



.accessv2-body {
  padding: 26px;
}

.accessv2-label {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1a7a8a;
  font-weight: 700;
}

.accessv2-postal {
  margin: 0;
  font-size: 12px;
  color: #6b8299;
}

.accessv2-address {
  margin: 8px 0 18px;
  font-size: 26px;
  line-height: 1.35;
  color: #0f2744;
  font-weight: 700;
}

.accessv2-item {
  border-top: 1px solid #d0e4ed;
  padding: 12px 0;
}

.accessv2-item-head {
  margin: 0;
  font-size: 11px;
  color: #6b8299;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.accessv2-item-text {
  margin: 4px 0 0;
  font-size: 14px;
  color: #1a2a3a;
  line-height: 1.5;
}

.accessv2-parking-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
}

.accessv2-parking-badge {
  background: linear-gradient(135deg, #0f2744 0%, #1a4a7a 100%);
  padding: 28px 24px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
}

.accessv2-badge-p {
  margin: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #e8a020;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
}

.accessv2-badge-text {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.06em;
}

.accessv2-parking-info {
  padding: 24px 26px;
  border-right: 1px solid #d0e4ed;
}

.accessv2-parking-title {
  margin: 0 0 10px;
  font-size: 20px;
  color: #0f2744;
  font-weight: 700;
}

.accessv2-parking-note {
  margin: 0 0 14px;
  font-size: 14px;
  color: #6b8299;
  line-height: 1.6;
}

.accessv2-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.accessv2-tag {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.accessv2-tag-green {
  background: #e6f7ed;
  color: #1a7a4a;
}

.accessv2-tag-blue {
  background: #e8f6f9;
  color: #1a7a8a;
}

.accessv2-parking-map {
  min-width: 240px;
  padding: 18px;
  display: grid;
  place-items: center;
}

.accessv2-parking-image {
  width: 220px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #d0e4ed;
}

@media (max-width: 780px) {
  .accessv2-grid {
    grid-template-columns: 1fr;
  }

  .accessv2-card-map,
  .accessv2-card-info,
  .accessv2-card-parking {
    grid-column: 1 / 2;
  }

  .accessv2-title {
    font-size: 36px;
  }

  .accessv2-address {
    font-size: 22px;
  }

  .accessv2-parking-inner {
    grid-template-columns: 1fr;
  }

  .accessv2-parking-info {
    border-right: none;
    border-bottom: 1px solid #d0e4ed;
  }

  .accessv2-parking-map {
    min-width: 0;
  }
}

/* ===== Shared Section Heading ===== */
.section-heading-wrap {
  max-width: 1120px;
  margin: 16px auto 12px;
  padding: 0 20px;
}

.sec-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
}

.sec-heading-line {
  width: 4px;
  height: 48px;
  border-radius: 2px;
  background: linear-gradient(to bottom, #2aa0b4, #0f2744);
  flex-shrink: 0;
}

.sec-heading-title {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 600;
  color: #0f2744;
  line-height: 1;
  letter-spacing: 0.02em;
}

.sec-heading-sub {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a7a8a;
}

@media (max-width: 900px) {
  .sec-heading-line {
    height: 40px;
  }

  .sec-heading-title {
    font-size: 30px;
  }

  .sec-heading-sub {
    font-size: 11px;
    letter-spacing: 0.12em;
  }
}

/* ===== Access V2 Request Adjustments ===== */
.accessv2-grid {
  align-items: start;
}

.accessv2-card-map {
  display: flex;
}

.accessv2-map {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 360px;
}

.accessv2-parking-image {
  width: 440px;
  max-width: none;
}

.accessv2-parking-map {
  min-width: 460px;
}

@media (max-width: 780px) {
  .accessv2-map {
    min-height: 300px;
  }

  .accessv2-parking-map {
    min-width: 0;
  }

  .accessv2-parking-image {
    width: 100%;
    max-width: 100%;
  }
}

/* ===== Access V2 Polish (Map/Info + Parking Simplify) ===== */
.accessv2-grid {
  grid-template-columns: 1.12fr 0.88fr;
  gap: 20px;
  align-items: stretch;
}

.accessv2-card-map,
.accessv2-card-info {
  min-height: 420px;
}

.accessv2-card-map {
  border: 1px solid #d6e4ef;
}

.accessv2-map {
  min-height: 420px;
  height: 100%;
}

.accessv2-card-info {
  border: 1px solid #d6e4ef;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.accessv2-body {
  height: 100%;
  padding: 28px;
  display: grid;
  align-content: center;
  gap: 0;
}

.accessv2-address {
  margin-bottom: 16px;
}

.accessv2-item {
  padding: 14px 0;
}

.accessv2-card-parking {
  border: 1px solid #d6e4ef;
}

.accessv2-parking-inner {
  grid-template-columns: 1.28fr 0.72fr;
  align-items: stretch;
}

.accessv2-parking-map {
  order: 1;
  min-width: 0;
  padding: 16px;
}

.accessv2-parking-image {
  width: 100%;
  max-width: 100%;
  min-height: 340px;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.accessv2-parking-info {
  order: 2;
  border-right: none;
  border-left: 1px solid #d0e4ed;
  padding: 24px 24px;
}

/* remove old badge presentation completely */
.accessv2-parking-badge,
.accessv2-badge-p,
.accessv2-badge-text {
  display: none !important;
}

@media (max-width: 980px) {
  .accessv2-grid {
    grid-template-columns: 1fr;
  }

  .accessv2-card-map,
  .accessv2-card-info,
  .accessv2-card-parking {
    grid-column: 1 / 2;
    min-height: 0;
  }

  .accessv2-map {
    min-height: 300px;
  }

  .accessv2-parking-inner {
    grid-template-columns: 1fr;
  }

  .accessv2-parking-info {
    border-left: none;
    border-top: 1px solid #d0e4ed;
  }

  .accessv2-parking-image {
    min-height: 0;
    height: auto;
  }
}

/* ===== Access V2 Final Tuning ===== */
.accessv2-card-map {
  padding: 14px;
  overflow: visible;
}

.accessv2-map {
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(18, 58, 120, 0.12);
}

.accessv2-parking-inner {
  grid-template-columns: 1fr 1fr;
}

.accessv2-parking-info {
  order: 1;
  padding: 20px 20px;
}

.accessv2-parking-title {
  font-size: 17px;
}

.accessv2-parking-note {
  font-size: 12px;
  margin-bottom: 10px;
}

.accessv2-parking-map {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.accessv2-parking-image {
  width: 85%;
  min-height: 0;
  height: auto;
}

@media (max-width: 980px) {
  .accessv2-card-map {
    padding: 10px;
  }

  .accessv2-parking-image {
    width: 100%;
  }
}

/* ===== Mobile Hero Tuning ===== */
@media (max-width: 900px) {
  .hero {
    margin: 12px auto 16px;
    padding: 0 12px;
  }

  .hero-slider {
    height: 62svh;
    min-height: 420px;
    max-height: 560px;
    border-radius: 16px;
    margin-bottom: 10px;
  }

  .hero-slider::before,
  .hero-slider::after {
    width: 7%;
  }

  .slide.slide-outlook1 {
    object-position: center 58%;
  }

  .slide.slide-outlook2,
  .slide.slide-outlook3 {
    object-position: center 55%;
  }

  .hero-copy {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .copy-main {
    font-size: 20px;
    line-height: 1.35;
  }

  .copy-sub {
    font-size: 13px;
    line-height: 1.55;
  }

  .hero-dots {
    padding: 7px 12px;
    gap: 8px;
  }
}

/* ===== Mobile Hero Copy Fit ===== */
@media (max-width: 900px) {
  .hero-copy {
    left: 50%;
    right: auto;
    bottom: 14px;
    width: min(92%, 560px);
    transform: translateX(-50%);
    padding: 11px 12px;
  }

  .copy-main {
    white-space: normal;
    font-size: clamp(19px, 5.2vw, 24px);
    line-height: 1.32;
    letter-spacing: 0.01em;
  }

  .copy-sub {
    margin-top: 4px;
    font-size: clamp(12px, 3.5vw, 14px);
    line-height: 1.55;
  }
}

/* ===== Mobile Global Cleanup (No PC impact) ===== */
@media (max-width: 900px) {
  :root {
    --sp-gutter: 16px;
  }

  /* 1) Horizontal spacing: unify left/right margins */
  .hero,
  .section,
  .card,
  .section-heading-wrap,
  .schedule-title {
    padding-left: var(--sp-gutter) !important;
    padding-right: var(--sp-gutter) !important;
  }

  .hero,
  .section,
  .card {
    margin-top: 14px;
    margin-bottom: 14px;
  }

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

  /* 2) Hero readability */
  .hero-slider {
    height: min(62svh, 520px);
    min-height: 400px;
    border-radius: 14px;
  }

  .hero-copy {
    width: calc(100% - 24px);
    left: 12px;
    right: 12px;
    transform: none;
    bottom: 12px;
    padding: 12px;
  }

  .copy-main {
    font-size: clamp(20px, 6vw, 24px);
    line-height: 1.35;
    white-space: normal;
  }

  .copy-sub {
    font-size: clamp(12px, 3.6vw, 14px);
    line-height: 1.5;
  }

  /* 3) Schedule table: keep readable on narrow screens */
  .time-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .time-table table {
    min-width: 640px;
  }

  /* 4) Any image + text horizontal blocks => vertical */
  .two-col,
  .care-feature,
  .accessv2-grid,
  .accessv2-parking-inner,
  .access-row,
  .access-row-parking {
    grid-template-columns: 1fr !important;
  }

  .care-feature,
  .accessv2-card,
  .access-panel,
  .access-card {
    border-radius: 16px;
    overflow: hidden;
  }

  /* 5) About section image/text */
  .about-media {
    gap: 10px;
  }

  .about-rotator {
    aspect-ratio: 4 / 3;
  }

  /* 6) Treatment cards */
  .grid-links {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .treatment-card {
    min-height: 0;
    padding: 14px 14px;
  }

  .treatment-name {
    font-size: 24px;
  }

  .treatment-card:not(.large) .treatment-name {
    font-size: 22px;
  }

  /* 7) Checkup/Vaccine cards image behavior on mobile */
  .care-feature {
    min-height: 0;
  }

  .care-feature img {
    height: 220px;
    object-fit: cover;
  }

  .care-feature-body {
    padding: 14px;
    gap: 8px;
  }

  .care-feature-body h3 {
    font-size: 28px;
  }

  .care-tags {
    gap: 6px;
  }

  .care-tags li {
    font-size: 17px;
    padding: 6px 10px;
  }

  /* 8) Access section mobile cleanup */
  .accessv2-heading {
    margin-bottom: 14px;
  }

  .accessv2-title {
    font-size: 34px;
  }

  .accessv2-sub {
    font-size: 17px;
    letter-spacing: 0.08em;
  }

  .accessv2-grid {
    gap: 14px;
  }

  .accessv2-card-map {
    padding: 10px;
  }

  .accessv2-map {
    min-height: 260px;
    height: 260px;
    border-radius: 12px;
  }

  .accessv2-card-info,
  .accessv2-card-parking {
    min-height: 0;
  }

  .accessv2-body {
    padding: 16px;
  }

  .accessv2-address {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .accessv2-item {
    padding: 10px 0;
  }

  .accessv2-item-text {
    font-size: 17px;
  }

  .accessv2-parking-info {
    border-left: none !important;
    border-top: none !important;
    border-bottom: 1px solid #d0e4ed;
    padding: 16px;
  }

  .accessv2-parking-map {
    padding: 12px;
    min-width: 0;
  }

  .accessv2-parking-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    object-fit: contain;
  }

  /* 9) News readability */
  .news-list li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
  }

  /* 10) Footer horizontal space alignment */
  .footer-inner,
  .footer-bottom {
    padding-left: var(--sp-gutter) !important;
    padding-right: var(--sp-gutter) !important;
  }
}

/* ===== Mobile Hero/Doctor Final Adjust ===== */
@media (max-width: 900px) {
  /* place copy in upper safe area, away from dots */
  .hero-copy {
    top: 100px !important;
    bottom: auto !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    transform: none !important;
    padding: 10px 12px !important;
    z-index: 6;
  }

  .copy-main {
    font-size: clamp(18px, 5vw, 22px) !important;
    line-height: 1.3 !important;
  }

  .copy-sub {
    font-size: clamp(11px, 3.3vw, 13px) !important;
    line-height: 1.45 !important;
  }

  /* doctor slide: adjust Y position for better head visibility */
  .about-rotator .about-slide:nth-child(4) {
    object-position: center 25% !important;
  }
}

/* ===== Mobile Schedule Side Spacing ===== */
@media (max-width: 900px) {
  .schedule.card {
    margin-left: var(--sp-gutter);
    margin-right: var(--sp-gutter);
    width: auto;
  }
}

/* ===== Mobile Hero Copy: Right Bottom ===== */
@media (max-width: 900px) {
  .hero-copy {
    top: auto !important;
    bottom: 18px !important;
    left: auto !important;
    right: 12px !important;
    width: calc(50% - 12px) !important;
    min-width: 180px;
    max-width: 320px;
    transform: none !important;
    padding: 10px 12px !important;
    border-radius: 12px;
  }

  .copy-main {
    font-size: clamp(16px, 3.6vw, 20px) !important;
    line-height: 1.3 !important;
  }

  .copy-sub {
    font-size: clamp(10px, 2.6vw, 12px) !important;
    line-height: 1.45 !important;
  }
}

/* ===== Mobile Hero Copy Lift Up ===== */
@media (max-width: 900px) {
  .hero-copy {
    bottom: 64px !important;
  }
}
