/* ============================================
   MARUOKA CLINIC — TOP PAGE
   Clean, premium medical institution design
   Modeled after the pre-hannyabuilder theme
   ============================================ */

/* ============================
   SCOPED CUSTOM PROPERTIES
   ============================ */
.hp-top {
  --t-heading: 'Lucida Grande', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --t-body: 'Lucida Grande', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --c-dark: #002745;
  --c-blue: #2D8C46;
  --c-blue-deep: #1f6e35;
  --c-red: #c0392b;
  --c-text: #444;
  --c-text-secondary: #5a6370;
  --c-text-muted: #8e959e;
  --c-border: #e2e5e9;
  --c-border-light: #eef0f2;
  --c-bg: #ffffff;
  --c-bg-cool: #EEF8F8;
  --c-bg-warm: #faf9f7;
  --c-medical: #2D8C46;
  --c-beauty: #FF1A6F;
  --c-kaigo: #3d5164;
  --c-line: #06c755;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 4px rgba(0,0,0,0.03);
  --shadow-md: 0 2px 4px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 8px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.08);
  --shadow-xl: 0 8px 16px rgba(0,0,0,0.06), 0 16px 48px rgba(0,0,0,0.1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1100px;
}

/* ============================
   BASE
   ============================ */
.hp-top {
  font-family: var(--t-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hp-top *,
.hp-top *::before,
.hp-top *::after {
  box-sizing: border-box;
  margin: 0;
  /* padding: 0 removed — was overriding .hp-btn padding from components.css */
}

.hp-top img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.hp-top a {
  color: var(--c-blue);
  text-decoration: none;
  transition: color 0.25s ease;
}

.hp-top a:hover {
  color: var(--c-blue-deep);
}

/* Override .hp-top a color for fixed CTA buttons (white text on colored bg) */
.hp-top .hp-fixed-cta a,
.hp-top .hp-fixed-cta a:hover,
.hp-fixed-cta a,
.hp-fixed-cta a:hover {
  color: #fff;
}

/* Override .hp-top a color for inline-hours tel button (white text on green bg) */
.hp-top .hp-inline-hours__tel-btn,
.hp-top .hp-inline-hours__tel-btn:hover {
  color: #fff;
}

/* Override link color inside hero */
.hp-hero--v2 a,
.hp-hero--v2 a:hover {
  color: #fff;
}

/* Override for hamburger menu CTA buttons (white text on colored bg) */
.hp-top .hp-header__mobile-cta-link,
.hp-top .hp-header__mobile-cta-link:hover {
  color: #fff;
}

.hp-top .hp-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================
   HERO v2 — Clean, modern FV
   ============================ */
.hp-hero--v2 {
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
  background: #1a2e3d;
}

@media (min-width: 768px) {
  .hp-hero--v2 { min-height: 520px; }
}

@media (min-width: 1100px) {
  .hp-hero--v2 { min-height: 580px; }
}

.hp-hero__bg {
  position: absolute;
  inset: 0;
}

.hp-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.hp-hero__overlay-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      to right,
      rgba(0, 39, 69, 0.62) 0%,
      rgba(0, 39, 69, 0.35) 45%,
      rgba(0, 39, 69, 0.05) 100%
    );
}

@media (max-width: 767px) {
  .hp-hero__overlay-gradient {
    background:
      linear-gradient(
        to bottom,
        rgba(0, 39, 69, 0.15) 0%,
        rgba(0, 39, 69, 0.55) 50%,
        rgba(0, 39, 69, 0.80) 100%
      );
  }
}

.hp-hero__content {
  position: relative;
  z-index: 3;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: flex-end;
  min-height: 420px;
}

@media (min-width: 768px) {
  .hp-hero__content {
    align-items: center;
    min-height: 520px;
  }
}

@media (min-width: 1100px) {
  .hp-hero__content { min-height: 580px; }
}

.hp-hero__text-block {
  padding: 0 0 32px;
  max-width: 600px;
}

@media (min-width: 768px) {
  .hp-hero__text-block {
    padding: 40px 0;
  }
}

.hp-hero__eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .hp-hero__eyebrow { font-size: 13px; margin-bottom: 16px; }
}

.hp-hero__heading {
  font-family: var(--t-heading);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .hp-hero__heading { font-size: 34px; margin-bottom: 16px; }
  .hp-hero__br-sp { display: none; }
}

@media (min-width: 1100px) {
  .hp-hero__heading { font-size: 40px; }
}

@media (max-width: 767px) {
  .hp-hero__br-pc { display: none; }
}

.hp-hero__lead {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

@media (min-width: 768px) {
  .hp-hero__lead { font-size: 15px; margin-bottom: 20px; }
}

/* Badges — desktop only */
.hp-hero__badges--desktop-only {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

@media (min-width: 768px) {
  .hp-hero__badges--desktop-only {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
  }
}

.hp-hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Action buttons */
.hp-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 768px) {
  .hp-hero__actions {
    flex-direction: row;
    gap: 12px;
  }
}

.hp-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.hp-hero--v2 .hp-hero__btn--primary {
  background: var(--c-blue);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(45, 140, 70, 0.35);
  border: 2px solid var(--c-blue);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.hp-hero--v2 .hp-hero__btn--primary:hover {
  background: var(--c-blue-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 140, 70, 0.4);
}

.hp-hero--v2 .hp-hero__btn--primary svg {
  stroke: #fff;
}

.hp-hero--v2 .hp-hero__btn--secondary {
  background: transparent;
  color: #fff;
  font-weight: 800;
  border: 2px solid rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.hp-hero--v2 .hp-hero__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

.hp-hero__btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.hp-hero__btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

@media (min-width: 768px) {
  .hp-hero__btn { padding: 16px 36px; font-size: 16px; }
}

/* ============================
   INLINE HOURS (mobile)
   Replaces side-panel on mobile
   ============================ */
.hp-inline-hours {
  background: var(--c-bg-cool);
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--c-border-light);
}

@media (min-width: 900px) {
  .hp-inline-hours { display: none; }
}

.hp-inline-hours__header {
  text-align: center;
  margin-bottom: 16px;
}

.hp-inline-hours__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 4px;
}

.hp-inline-hours__title {
  font-family: var(--t-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--c-dark);
  letter-spacing: 0.15em;
  margin: 0;
}

.hp-inline-hours__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 12px;
  /* Fade hint on right edge to indicate scrollability */
  -webkit-mask-image: linear-gradient(to right, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, #000 92%, transparent 100%);
}

/* Remove fade hint when fully scrolled or on wider screens */
@media (min-width: 420px) {
  .hp-inline-hours__table-wrap {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.hp-inline-hours__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: center;
  min-width: 340px;
}

.hp-inline-hours__table thead th {
  background: var(--c-dark);
  color: #fff;
  padding: 8px 4px;
  font-weight: 600;
  font-size: 12px;
}

.hp-inline-hours__table tbody td,
.hp-inline-hours__table tbody th {
  padding: 10px 6px;
  border-bottom: 1px solid var(--c-border);
}

.hp-inline-hours__table tbody th {
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  color: var(--c-dark);
  padding-left: 8px;
  white-space: nowrap;
}

.hp-inline-hours__dept {
  min-width: 100px;
}

.hp-inline-hours__table tbody td {
  font-weight: 700;
  color: var(--c-blue);
}

.hp-inline-hours__table tbody td small {
  font-size: 10px;
  color: var(--c-text-muted);
  font-weight: 500;
}

.hp-inline-hours__meta {
  text-align: center;
}

.hp-inline-hours__time {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 4px;
}

.hp-inline-hours__note {
  font-size: 11px;
  color: var(--c-text-muted);
  margin-bottom: 2px;
}

.hp-inline-hours__cta {
  text-align: center;
  margin-top: 14px;
}

.hp-inline-hours__tel-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 28px;
  background: var(--c-blue);
  color: #fff;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 0.2s ease;
}

.hp-inline-hours__tel-btn:hover {
  background: var(--c-blue-deep);
  color: #fff;
}

/* Legacy hero styles kept for compatibility */
.hp-hero__slides {
  position: absolute;
  inset: 0;
}

.hp-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  will-change: opacity;
}

.hp-hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hp-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.hp-hero__caption {
  position: absolute;
  left: clamp(20px, 7vw, 72px);
  right: auto;
  bottom: clamp(26px, 7vw, 58px);
  z-index: 4;
  width: min(86vw, 560px);
  background: none;
  color: #fff;
  padding: 0;
  text-align: left;
}

.hp-hero__caption-main {
  font-family: var(--t-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  line-height: 1.4;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.hp-hero__caption-sub {
  font-size: 13px;
  opacity: 0.94;
  letter-spacing: 0.05em;
  font-weight: 500;
  line-height: 1.7;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

/* --- Arrows --- */
.hp-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.hp-hero__arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.hp-hero__arrow--prev { left: 12px; }
.hp-hero__arrow--next { right: 12px; }

.hp-hero__arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--c-dark);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Dots --- */
.hp-hero__dots {
  position: absolute;
  left: clamp(20px, 7vw, 72px);
  bottom: 20px;
  transform: none;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hp-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.hp-hero__dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

.hp-hero__dot:hover {
  background: rgba(255, 255, 255, 0.72);
}

/* ============================
   QUICK INFO BAR
   ============================ */
.hp-quickinfo {
  background: var(--c-bg-cool);
  border-bottom: 1px solid var(--c-border-light);
  padding: 12px 0;
}

.hp-quickinfo__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hp-quickinfo__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-text-secondary);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.hp-quickinfo__item strong {
  color: var(--c-dark);
}

/* --- Reserve button --- */
.hp-btn--reserve {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-blue);
  color: #fff;
  padding: 10px 26px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(45, 140, 70, 0.2);
}

.hp-btn--reserve:hover {
  background: var(--c-blue-deep);
  color: #fff;
  box-shadow: 0 4px 12px rgba(45, 140, 70, 0.3);
  transform: translateY(-1px);
}

/* ============================
   IMPORTANT NOTICES — /maru/ green bar
   ============================ */
.hp-notices {
  width: 100%;
  background: #2D8C46;
}

.hp-notices__box {
  max-width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  align-items: stretch;
}

.hp-notices__label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hp-notices__label img {
  max-width: 100%;
  height: auto;
}

.hp-notices__content {
  width: auto;
  padding: 0 0 0 8px;
}

.hp-notices__list {
  list-style: none;
  width: 100%;
  padding: 18px 0;
}

.hp-notices__list li {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 24px;
  width: 100%;
  padding: 18px 0;
  text-align: left;
  border-bottom: 1px dotted #fff;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  align-items: center;
}

.hp-notices__list li:last-child {
  border-bottom: none;
}

.hp-notices__date {
  width: auto;
  padding-left: 0;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.hp-notices__summary {
  width: auto;
  min-width: 0;
  padding-right: 24px;
  line-height: 1.6;
}

.hp-notices__summary a {
  color: #fff;
  text-decoration: none;
  display: block;
  word-break: break-word;
}

.hp-notices__summary a:hover {
  color: rgba(255, 255, 255, 0.84);
}

/* ============================
   SECTION SYSTEM
   ============================ */
.hp-top .hp-section {
  padding: 52px 0;
}

.hp-top .hp-section--light {
  background: var(--c-bg-cool);
}

.hp-top .hp-section--warm {
  background: var(--c-bg-warm);
}

/* --- Section headings --- */
.hp-section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.hp-section-heading__en {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  color: #2D8C46;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hp-section-heading__ja {
  font-family: var(--t-heading);
  font-size: 2.8rem;
  font-weight: 600;
  color: #002745;
  letter-spacing: 0.2em;
  margin: 0;
  line-height: 1.3;
}

.hp-section-heading__line {
  display: none;
}

/* ============================
   3-BRANCH CARDS
   ============================ */
.hp-top .hp-branch {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.hp-top .hp-branch__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 36px 24px 30px;
  text-decoration: none;
  color: var(--c-text);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out-quart),
              box-shadow 0.35s var(--ease-out-quart);
}

/* Colored top accent */
.hp-top .hp-branch__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  transition: height 0.3s var(--ease-out-quart);
}

.hp-top .hp-branch__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  color: var(--c-text);
}

.hp-top .hp-branch__card:hover::before {
  height: 4px;
}

.hp-top .hp-branch__card--medical::before { background: var(--c-medical); }
.hp-top .hp-branch__card--beauty::before  { background: var(--c-beauty); }
.hp-top .hp-branch__card--kaigo::before   { background: var(--c-kaigo); }

/* Icon circle */
.hp-top .hp-branch__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.3s var(--ease-out-quart);
}

.hp-top .hp-branch__card:hover .hp-branch__icon {
  transform: scale(1.06);
}

.hp-top .hp-branch__card--medical .hp-branch__icon { background: #eaf2f8; }
.hp-top .hp-branch__card--beauty  .hp-branch__icon { background: #ffe0ee; }
.hp-top .hp-branch__card--kaigo   .hp-branch__icon { background: #ebedef; }

.hp-top .hp-branch__icon svg {
  width: 28px;
  height: 28px;
}

.hp-top .hp-branch__card--medical .hp-branch__icon svg { fill: var(--c-medical); }
.hp-top .hp-branch__card--beauty  .hp-branch__icon svg { fill: var(--c-beauty); }
.hp-top .hp-branch__card--kaigo   .hp-branch__icon svg { fill: var(--c-kaigo); }

.hp-top .hp-branch__title {
  font-family: var(--t-heading);
  font-size: 19px;
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.hp-top .hp-branch__sub {
  display: block;
  font-size: 12px;
  color: var(--c-beauty);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.hp-top .hp-branch__desc {
  font-size: 13px;
  color: var(--c-text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.hp-top .hp-branch__arrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.25s var(--ease-out-quart);
}

.hp-top .hp-branch__card:hover .hp-branch__arrow {
  gap: 8px;
}

/* ============================
   NEWS LIST
   ============================ */
.hp-news-list {
  list-style: none;
  max-width: 880px;
  margin: 0 auto;
}

.hp-news-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-border-light);
  transition: background 0.2s ease;
}

.hp-news-item:last-child {
  border-bottom: none;
}

.hp-news-item__thumb {
  width: 110px;
  min-width: 110px;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  overflow: hidden;
  background: #f0f0f0;
}

.hp-news-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease-out-quart);
}

.hp-news-item:hover .hp-news-item__thumb img {
  transform: scale(1.05);
}

.hp-news-item__body {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.hp-news-item__date {
  font-size: 12px;
  color: var(--c-text-muted);
  letter-spacing: 0.03em;
  margin-right: 8px;
}

.hp-news-item__tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

.hp-news-item__tag--info   { background: #e8f0fe; color: #1a56a8; }
.hp-news-item__tag--column { background: #e6f4ea; color: #1e7e34; }
.hp-news-item__tag--beauty { background: #fce8ef; color: #a31545; }

.hp-news-item__title {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--c-text);
  line-height: 1.65;
  margin-top: 5px;
  transition: color 0.2s ease;
}

.hp-news-item__title:hover {
  color: var(--c-blue);
}

/* ============================
   CLINIC HOURS TABLE
   ============================ */
.hp-top .hp-hours-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.hp-top .hp-hours {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 14px;
  border: 1px solid #d5d8dc;
  border-radius: 6px;
  overflow: hidden;
}

.hp-top .hp-hours th,
.hp-top .hp-hours td {
  padding: 11px 10px;
  text-align: center;
  border-bottom: 1px solid #dfe2e6;
  border-right: 1px solid #dfe2e6;
}

.hp-top .hp-hours th:last-child,
.hp-top .hp-hours td:last-child {
  border-right: none;
}

.hp-top .hp-hours tbody tr:last-child th,
.hp-top .hp-hours tbody tr:last-child td {
  border-bottom: none;
}

.hp-top .hp-hours thead th {
  background: var(--c-dark);
  color: #fff;
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.04em;
}

.hp-top .hp-hours thead th:first-child {
  border-radius: 5px 0 0 0;
}

.hp-top .hp-hours thead th:last-child {
  border-radius: 0 5px 0 0;
}

.hp-top .hp-hours tbody th {
  background: #f5f6f7;
  text-align: left;
  font-weight: 500;
  color: var(--c-text);
  font-size: 13px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.hp-top .hp-hours__mark {
  color: var(--c-blue);
  font-weight: 700;
  font-size: 16px;
}

.hp-top .hp-hours__closed {
  color: #c8ccd0;
  font-size: 14px;
}

.hp-hours-note {
  font-size: 12.5px;
  color: var(--c-text-muted);
  margin-top: 14px;
  text-align: center;
  letter-spacing: 0.01em;
}

.hp-text-center { text-align: center; }
.hp-mt-lg { margin-top: 24px; }

/* ============================
   DEPARTMENT GRID (10 icons)
   ============================ */
.hp-top .hp-dept-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}

.hp-top .hp-dept-item {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 22px 10px 18px;
  text-align: center;
  text-decoration: none;
  color: var(--c-text);
  transition: border-color 0.25s ease,
              box-shadow 0.25s ease,
              transform 0.25s var(--ease-out-quart);
}

.hp-top .hp-dept-item:hover {
  border-color: var(--c-blue);
  box-shadow: 0 2px 8px rgba(45, 140, 70, 0.1);
  transform: translateY(-3px);
  color: var(--c-text);
}

/* Beauty highlight */
.hp-top .hp-dept-item--highlight {
  border-color: rgba(255, 26, 111, 0.3);
  background: #fff0f6;
}

.hp-top .hp-dept-item--highlight:hover {
  border-color: var(--c-beauty);
  box-shadow: 0 2px 8px rgba(255, 26, 111, 0.12);
}

/* Icon */
.hp-top .hp-dept-item__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-bg-cool);
  transition: transform 0.3s var(--ease-out-quart);
}

.hp-top .hp-dept-item:hover .hp-dept-item__icon {
  transform: scale(1.08);
}

.hp-top .hp-dept-item--highlight .hp-dept-item__icon {
  background: #ffe0ee;
}

.hp-top .hp-dept-item__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--c-dark);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hp-top .hp-dept-item--highlight .hp-dept-item__icon svg {
  stroke: var(--c-beauty);
}

.hp-top .hp-dept-item__name {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--c-text);
  letter-spacing: 0.02em;
}

.hp-top .hp-dept-item--highlight .hp-dept-item__name {
  color: var(--c-beauty);
  font-weight: 700;
}

/* Department description paragraph */
.hp-dept-desc {
  width: 65%;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  color: var(--c-text);
}

/* Pink (婦人科) */
.hp-top .hp-dept-item--pink .hp-dept-item__name {
  color: #FF1A6F;
  font-weight: 600;
}
.hp-top .hp-dept-item--pink:hover {
  border-color: #FF1A6F;
  box-shadow: 0 2px 8px rgba(255, 26, 111, 0.12);
}

/* Blue (アンチエイジング, 健康診断, 予防接種) */
.hp-top .hp-dept-item--blue .hp-dept-item__name {
  color: #0090E0;
  font-weight: 600;
}
.hp-top .hp-dept-item--blue:hover {
  border-color: #0090E0;
  box-shadow: 0 2px 8px rgba(0, 144, 224, 0.12);
}

/* ============================
   CLINIC INFO BLOCK
   ============================ */
.hp-clinic-info {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  max-width: 880px;
  margin: 0 auto;
  flex-direction: column;
}

.hp-clinic-info__photo {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.hp-clinic-info__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.hp-clinic-info__details {
  width: 100%;
}

.hp-clinic-info__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.hp-clinic-info__table th,
.hp-clinic-info__table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--c-border-light);
  text-align: left;
  vertical-align: top;
}

.hp-clinic-info__table th {
  width: 80px;
  font-weight: 600;
  color: var(--c-dark);
  background: #f5f6f7;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.hp-clinic-info__table td {
  color: var(--c-text-secondary);
}

.hp-clinic-info__table td a {
  color: var(--c-blue);
  font-weight: 600;
}

/* ============================
   CARE SECTION (compact)
   ============================ */
.hp-top .hp-care-compact {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  background: var(--c-bg-cool);
  border-radius: 8px;
  border-left: 3px solid var(--c-kaigo);
  flex-direction: column;
  text-align: center;
}

.hp-top .hp-care-compact__title {
  font-family: var(--t-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--c-kaigo);
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.hp-top .hp-care-compact__desc {
  font-size: 13.5px;
  color: var(--c-text-secondary);
  line-height: 1.75;
}

/* Outline button */
.hp-btn.hp-btn--outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--c-text);
  background: var(--c-bg);
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.hp-btn.hp-btn--outline:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
  background: #f0f8ff;
}

.hp-btn--sm {
  padding: 8px 20px;
  font-size: 13px;
}

/* ============================
   ARTICLE CARDS
   ============================ */
.hp-top .hp-articles,
.hp-top .hp-articles--3,
.hp-top .hp-articles--4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.hp-top .hp-article-card {
  display: block;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: var(--c-text);
  transition: transform 0.3s var(--ease-out-quart),
              box-shadow 0.3s var(--ease-out-quart);
}

.hp-top .hp-article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: var(--c-text);
}

.hp-top .hp-article-card__img-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f0f0f0;
}

.hp-top .hp-article-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out-quart);
}

.hp-top .hp-article-card:hover .hp-article-card__img-wrap img {
  transform: scale(1.05);
}

.hp-top .hp-article-card__body {
  padding: 14px 16px 16px;
}

.hp-top .hp-article-card__tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.02em;
}

.hp-top .hp-article-card__tag--news   { background: #e8f0fe; color: #1a56a8; }
.hp-top .hp-article-card__tag--column { background: #e6f4ea; color: #1e7e34; }
.hp-top .hp-article-card__tag--beauty { background: #fce8ef; color: #a31545; }

.hp-top .hp-article-card__date {
  display: block;
  font-size: 12px;
  color: var(--c-text-muted);
  margin: 6px 0 4px;
  letter-spacing: 0.02em;
}

.hp-top .hp-article-card__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text);
  line-height: 1.55;
  margin: 0;
}

.hp-top .hp-column-preview__intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 250, 244, 0.94) 100%);
  border: 1px solid rgba(45, 140, 70, 0.12);
  box-shadow: var(--shadow-sm);
}

.hp-top .hp-column-preview__intro-title {
  font-size: 28px;
  line-height: 1.35;
  color: var(--c-dark);
  margin-bottom: 8px;
}

.hp-top .hp-column-preview__intro-text {
  color: var(--c-text-secondary);
  font-size: 14px;
  line-height: 1.85;
}

.hp-top .hp-column-preview__intro-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.hp-top .hp-column-preview__intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hp-top .hp-column-preview__intro-cta--medical {
  background: linear-gradient(135deg, #2d7d6a 0%, #3f9c87 100%);
}

.hp-top .hp-column-preview__intro-cta--care {
  background: linear-gradient(135deg, #173246 0%, #25536d 100%);
}

.hp-top .hp-column-preview__intro-cta:hover {
  transform: translateY(-1px);
}

.hp-top .hp-column-preview__group + .hp-column-preview__group,
.hp-top .hp-column-preview__topics {
  margin-top: 36px;
}

.hp-top .hp-column-preview__group {
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(0, 39, 69, 0.08);
  box-shadow: 0 20px 40px rgba(10, 29, 49, 0.06);
}

.hp-top .hp-column-preview__group-heading,
.hp-top .hp-column-preview__topic-head {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.hp-top .hp-column-preview__group-eyebrow,
.hp-top .hp-column-preview__topic-eyebrow {
  color: var(--c-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hp-top .hp-column-preview__group-title,
.hp-top .hp-column-preview__topic-title {
  margin: 0;
  color: var(--c-dark);
  font-size: 24px;
  line-height: 1.4;
}

.hp-top .hp-column-preview__topics {
  display: grid;
  gap: 20px;
}

.hp-top .hp-column-preview__topic-block {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.99) 0%, rgba(245, 250, 246, 0.96) 100%);
  border: 1px solid rgba(45, 140, 70, 0.12);
  box-shadow: 0 20px 40px rgba(10, 29, 49, 0.06);
}

.hp-top .hp-column-preview__topic-block.is-care {
  border-color: rgba(0, 39, 69, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.99) 0%, rgba(241, 246, 252, 0.96) 100%);
}

.hp-top .hp-column-preview__theme-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.hp-top .hp-column-preview__theme-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(45, 140, 70, 0.12);
  color: var(--c-text);
  box-shadow: 0 12px 24px rgba(10, 29, 49, 0.05);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.hp-top .hp-column-preview__theme-card.is-care {
  border-color: rgba(0, 39, 69, 0.12);
}

.hp-top .hp-column-preview__theme-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(10, 29, 49, 0.08);
  border-color: rgba(45, 140, 70, 0.24);
}

.hp-top .hp-column-preview__theme-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.hp-top .hp-column-preview__theme-meta {
  color: var(--c-text-muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.hp-top .hp-top-homecare__card {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.95fr);
  gap: 24px;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 247, 241, 0.96) 45%, rgba(241, 248, 243, 0.98) 100%);
  border: 1px solid rgba(233, 121, 41, 0.16);
  box-shadow: 0 28px 60px rgba(10, 29, 49, 0.08);
}

.hp-top .hp-top-homecare__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #d8742f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hp-top .hp-top-homecare__title {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.25;
  color: var(--c-dark);
  margin-bottom: 14px;
}

.hp-top .hp-top-homecare__text {
  color: var(--c-text-secondary);
  font-size: 15px;
  line-height: 1.95;
}

.hp-top .hp-top-homecare__link {
  display: inline-block;
  margin-top: 8px;
  color: var(--c-blue);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 2px solid var(--c-blue);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.hp-top .hp-top-homecare__link:hover {
  opacity: 0.7;
}

.hp-top .hp-top-homecare__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  align-content: flex-start;
}

.hp-top .hp-top-homecare__badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(45, 140, 70, 0.12);
  color: var(--c-dark);
  font-size: 12px;
  font-weight: 700;
}

.hp-top .hp-top-homecare__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d8742f 0%, #ef9a4d 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(216, 116, 47, 0.22);
}

.hp-top .hp-top-homecare__cta.is-outline {
  color: #1A3A4A;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(26, 58, 74, 0.12);
  box-shadow: none;
}

.hp-top .hp-topic-index__lead {
  max-width: 760px;
  margin: 0 auto 34px;
  color: var(--c-text-secondary);
  font-size: 15px;
  line-height: 1.95;
  text-align: center;
}

.hp-top .hp-topic-index {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 18px;
}

.hp-top .hp-topic-index__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 312px;
  padding: 30px 28px 26px;
  border-radius: 28px;
  border: 1px solid rgba(45, 140, 70, 0.14);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.99) 0%, rgba(244, 250, 244, 0.96) 100%),
    #fff;
  box-shadow: 0 26px 56px rgba(6, 20, 31, 0.08);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.28s var(--ease-out-quart), box-shadow 0.28s var(--ease-out-quart), border-color 0.28s ease;
}

.hp-top .hp-topic-index__card::before {
  content: "";
  position: absolute;
  inset: auto -54px -54px auto;
  width: 146px;
  height: 146px;
  border-radius: 50%;
  background: rgba(6, 147, 227, 0.08);
}

.hp-top .hp-topic-index__card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 6px;
  background: rgba(45, 140, 70, 0.14);
}

.hp-top .hp-topic-index__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(6, 20, 31, 0.13);
  border-color: rgba(6, 147, 227, 0.24);
}

.hp-top .hp-topic-index__card.is-column::before {
  background: rgba(45, 140, 70, 0.1);
}

.hp-top .hp-topic-index__card.is-column::after {
  background: linear-gradient(90deg, rgba(45, 140, 70, 0.9) 0%, rgba(93, 178, 92, 0.65) 100%);
}

.hp-top .hp-topic-index__card.is-beauty::before {
  background: rgba(233, 121, 41, 0.14);
}

.hp-top .hp-topic-index__card.is-beauty::after {
  background: linear-gradient(90deg, rgba(233, 121, 41, 0.9) 0%, rgba(45, 140, 70, 0.72) 100%);
}

.hp-top .hp-topic-index__card.is-care::before {
  background: rgba(0, 39, 69, 0.12);
}

.hp-top .hp-topic-index__card.is-care::after {
  background: linear-gradient(90deg, rgba(0, 39, 69, 0.9) 0%, rgba(45, 140, 70, 0.62) 100%);
}

.hp-top .hp-topic-index__eyebrow,
.hp-top .hp-topic-index__label,
.hp-top .hp-topic-index__desc,
.hp-top .hp-topic-index__meta,
.hp-top .hp-topic-index__cta {
  position: relative;
  z-index: 1;
}

.hp-top .hp-topic-index__eyebrow {
  color: var(--c-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hp-top .hp-topic-index__label {
  color: var(--c-text);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

.hp-top .hp-topic-index__desc {
  color: var(--c-text-secondary);
  font-size: 14px;
  line-height: 1.9;
}

.hp-top .hp-topic-index__meta {
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--c-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.hp-top .hp-topic-index__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--c-text);
  font-size: 14px;
  font-weight: 700;
}

.hp-top .hp-topic-index__quicklinks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 42px;
}

.hp-top .hp-topic-index__quicklink {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(45, 140, 70, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hp-top .hp-topic-index__quicklink:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(45, 140, 70, 0.24);
}

.hp-top .hp-topic-index__quicklink-eyebrow {
  color: var(--c-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hp-top .hp-topic-index__quicklink-label {
  color: var(--c-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.hp-top .hp-topic-index__quicklink-desc {
  color: var(--c-text-muted);
  font-size: 13px;
  line-height: 1.75;
}

.hp-top .hp-topic-index__quicklink.is-tft {
  border-color: rgba(233, 121, 41, 0.16);
}

.hp-top .hp-topic-index__quicklink.is-care {
  border-color: rgba(0, 39, 69, 0.12);
}

.hp-top .hp-topic-index__quicklink.is-branch {
  border-color: rgba(0, 39, 69, 0.12);
}

.hp-top .hp-topic-index__recent-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.hp-top .hp-topic-index__recent-kicker {
  color: var(--c-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hp-top .hp-topic-index__recent-title {
  margin: 0;
  color: var(--c-text);
  font-size: 24px;
  line-height: 1.4;
}

.hp-top .hp-topic-preview__lead {
  max-width: 760px;
  margin: 0 auto 34px;
  color: var(--c-text-secondary);
  font-size: 15px;
  line-height: 1.95;
  text-align: center;
}

.hp-top .hp-topic-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hp-top .hp-topic-preview__panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100%;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(45, 140, 70, 0.14);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.99) 0%, rgba(244, 250, 244, 0.96) 100%);
  box-shadow: 0 24px 48px rgba(6, 20, 31, 0.08);
}

.hp-top .hp-topic-preview__panel.is-care {
  border-color: rgba(0, 39, 69, 0.14);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.99) 0%, rgba(240, 246, 252, 0.96) 100%);
}

.hp-top .hp-topic-preview__eyebrow {
  display: inline-block;
  color: var(--c-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hp-top .hp-topic-preview__title {
  margin: 10px 0 10px;
  color: var(--c-text);
  font-size: 28px;
  line-height: 1.35;
}

.hp-top .hp-topic-preview__desc {
  margin: 0;
  color: var(--c-text-secondary);
  font-size: 14px;
  line-height: 1.9;
}

.hp-top .hp-topic-preview__links {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-top .hp-topic-preview__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--c-text);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hp-top .hp-topic-preview__link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hp-top .hp-topic-preview__link-label {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

.hp-top .hp-topic-preview__link-meta {
  flex-shrink: 0;
  color: var(--c-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.hp-top .hp-topic-preview__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--c-text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.hp-top .hp-empty {
  padding: 28px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.hp-top .hp-empty__text {
  color: var(--c-text-secondary);
  font-size: 14px;
}

/* --- Section "more" link --- */
.hp-section__more {
  text-align: center;
  margin-top: 28px;
}

.hp-section__more a {
  display: inline-block;
  color: var(--c-blue);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 9px 28px;
  border: 1px solid var(--c-blue);
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.hp-section__more a:hover {
  background: var(--c-blue);
  color: #fff;
  transform: translateY(-1px);
}

/* ============================
   BEAUTY CTA BANNER
   ============================ */
.hp-top .hp-beauty-cta {
  padding: 0 20px 56px;
}

.hp-top .hp-cta-banner--beauty {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
  padding: 44px 28px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 26, 111, 0.92) 0%, rgba(255, 81, 146, 0.92) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Subtle pattern overlay */
.hp-top .hp-cta-banner--beauty::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
  pointer-events: none;
}

.hp-top .hp-cta-banner__sub {
  display: block;
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 6px;
  letter-spacing: 0.14em;
  position: relative;
}

.hp-top .hp-cta-banner__title {
  font-family: var(--t-heading);
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
  position: relative;
}

.hp-top .hp-cta-banner__text {
  font-size: 13.5px;
  opacity: 0.88;
  margin-bottom: 22px;
  line-height: 1.7;
  position: relative;
}

.hp-top .hp-cta-banner .hp-btn--white {
  display: inline-block;
  background: #fff;
  color: var(--c-beauty);
  padding: 13px 32px;
  border-radius: 5px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
  position: relative;
  transition: transform 0.25s var(--ease-out-quart),
              box-shadow 0.25s ease;
}

.hp-top .hp-cta-banner .hp-btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  color: var(--c-beauty);
}

.hp-top .hp-cta-banner__contact {
  margin-top: 16px;
  font-size: 13px;
  opacity: 0.8;
  position: relative;
}

.hp-top .hp-cta-banner__contact a {
  color: #fff;
  font-weight: 600;
}

/* FOOTER — All styles in components.css */

/* ============================
   PAGE TOP BUTTON
   ============================ */
.hp-pagetop {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 100;
  width: 44px;
  height: 44px;
  background: var(--c-dark);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.35s ease,
              visibility 0.35s ease,
              transform 0.35s var(--ease-out-quart),
              background 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.hp-pagetop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hp-pagetop:hover {
  background: var(--c-blue);
}

.hp-pagetop svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================
   FADE-UP SCROLL ANIMATION
   ============================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.7s var(--ease-out-expo);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-d1 { transition-delay: 0.08s; }
.fade-up-d2 { transition-delay: 0.16s; }
.fade-up-d3 { transition-delay: 0.24s; }
.fade-up-d4 { transition-delay: 0.32s; }

/* Respect reduced-motion preference — show content immediately */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================
   RESPONSIVE — Small tablet (>= 500px)
   ============================ */
@media (min-width: 500px) {
  .hp-hero {
    height: 420px;
  }

  .hp-hero__caption {
    width: min(78vw, 580px);
  }

  .hp-hero__caption-main {
    font-size: 24px;
  }

  .hp-hero__caption-sub {
    font-size: 13.5px;
  }

  .hp-top .hp-branch {
    grid-template-columns: repeat(3, 1fr);
  }

  .hp-top .hp-dept-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hp-top .hp-articles,
  .hp-top .hp-articles--3,
  .hp-top .hp-articles--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-top .hp-topic-index__label {
    font-size: 24px;
  }

  .hp-top .hp-topic-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-top .hp-topic-index__quicklinks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-top .hp-column-preview__theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-top .hp-topic-preview {
    grid-template-columns: 1fr;
  }

  .hp-news-item__thumb {
    width: 130px;
    min-width: 130px;
  }

  .hp-clinic-info {
    flex-direction: row;
  }

  .hp-clinic-info__photo {
    width: 42%;
    min-width: 240px;
  }

  .hp-clinic-info__details {
    flex: 1;
  }

  .hp-top .hp-care-compact {
    flex-direction: row;
    text-align: left;
  }
}

/* ============================
   RESPONSIVE — Tablet (>= 768px)
   ============================ */
@media (min-width: 768px) {
  .hp-hero {
    height: 520px;
  }

  .hp-hero__caption {
    bottom: 52px;
    width: min(58vw, 620px);
  }

  .hp-hero__caption-main {
    font-size: 32px;
    letter-spacing: 0.1em;
  }

  .hp-hero__caption-sub {
    font-size: 14px;
  }

  .hp-hero__arrow {
    width: 44px;
    height: 44px;
  }

  .hp-hero__arrow svg {
    width: 18px;
    height: 18px;
  }

  .hp-section-heading__ja {
    font-size: 2.8rem;
  }

  .hp-top .hp-dept-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .hp-top .hp-articles,
  .hp-top .hp-articles--3,
  .hp-top .hp-articles--4 {
    grid-template-columns: repeat(3, 1fr);
  }

  .hp-top .hp-topic-index__card {
    min-height: 240px;
  }

  .hp-top .hp-topic-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hp-top .hp-topic-index__quicklinks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hp-top .hp-column-preview__intro {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hp-top .hp-column-preview__intro-copy {
    max-width: 680px;
  }

  .hp-top .hp-column-preview__intro-actions {
    justify-content: flex-end;
  }

  .hp-top .hp-column-preview__topics {
    grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.95fr);
    align-items: start;
  }

  .hp-top .hp-top-homecare__card {
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
    align-items: center;
  }

  .hp-top .hp-topic-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-top .hp-section {
    padding: 60px 0;
  }

  .hp-quickinfo__container {
    gap: 26px;
  }

}

/* ============================
   RESPONSIVE — Desktop (>= 900px)
   ============================ */
@media (min-width: 900px) {
  .hp-hero {
    height: 580px;
  }

  .hp-hero__caption-main {
    font-size: 40px;
    letter-spacing: 0.12em;
  }

  .hp-hero__caption-sub {
    font-size: 15px;
  }

  .hp-hero__arrow--prev { left: 24px; }
  .hp-hero__arrow--next { right: 24px; }

  .hp-section-heading__ja {
    font-size: 2.8rem;
  }

  .hp-top .hp-section {
    padding: 68px 0;
  }

  .hp-top .hp-cta-banner__title {
    font-size: 26px;
  }

  .hp-top .hp-container {
    padding: 0 28px;
  }
}

/* ============================
   RESPONSIVE — Wide (>= 1100px)
   ============================ */
@media (min-width: 1100px) {
  .hp-hero {
    height: 640px;
  }

  .hp-hero__caption {
    left: 88px;
    bottom: 60px;
  }

  .hp-hero__caption-main {
    font-size: 48px;
  }

  .hp-hero__caption-sub {
    font-size: 16px;
  }

  .hp-hero__arrow--prev { left: 32px; }
  .hp-hero__arrow--next { right: 32px; }

  .hp-hero__arrow {
    width: 48px;
    height: 48px;
  }

  .hp-hero__arrow svg {
    width: 20px;
    height: 20px;
  }

  .hp-top .hp-articles--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 639px) {
  .hp-top .hp-column-preview__intro,
  .hp-top .hp-column-preview__topic-block,
  .hp-top .hp-top-homecare__card {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .hp-top .hp-column-preview__intro-cta,
  .hp-top .hp-top-homecare__cta {
    width: 100%;
  }

  .hp-top .hp-column-preview__intro-actions {
    width: 100%;
    flex-direction: column;
  }

  .hp-top .hp-top-homecare__badge {
    width: 100%;
    justify-content: center;
  }

  .hp-top .hp-column-preview__theme-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================
   RESPONSIVE — Mobile only (max 767px)
   ============================ */
@media (max-width: 767px) {
  .hp-top .hp-footer {
    padding-bottom: 84px;
  }

  .hp-quickinfo__container {
    flex-direction: column;
    gap: 8px;
  }

  .hp-hero {
    height: 360px;
  }

  .hp-hero__caption {
    left: 18px;
    bottom: 34px;
    width: calc(100% - 36px);
  }

  .hp-hero__caption-main {
    font-size: 21px;
  }

  .hp-hero__caption-sub {
    font-size: 12px;
  }

  .hp-hero__arrow {
    width: 34px;
    height: 34px;
  }

  .hp-hero__arrow svg {
    width: 14px;
    height: 14px;
  }

  .hp-hero__arrow--prev { left: 10px; }
  .hp-hero__arrow--next { right: 10px; }

  .hp-hero__dots {
    left: 18px;
    bottom: 14px;
  }

  .hp-section-heading__en {
    font-size: 1rem;
  }

  .hp-section-heading__ja {
    font-size: 1.75rem;
    letter-spacing: 0.1em;
  }

  .hp-top .hp-section {
    padding: 40px 0;
  }
}

/* ============================
   CLINIC PR — /maru/ faithful
   ============================ */
.hp-clinic-pr__desc {
  width: 90%;
  max-width: 900px;
  margin: 0 auto 50px;
  font-size: 16px;
  line-height: 1.8;
  text-align: left;
  color: var(--c-text);
}

.hp-clinic-pr__links {
  max-width: var(--container);
  margin: 0 auto 60px;
  overflow: hidden;
}

.hp-clinic-pr__link-l {
  width: 50%;
  float: left;
  text-align: left;
}

.hp-clinic-pr__link-r {
  width: 50%;
  float: right;
  text-align: right;
}

.hp-clinic-pr__links img {
  width: 95%;
  height: auto;
  transition: opacity 0.3s ease;
}

.hp-clinic-pr__links a:hover img {
  opacity: 0.9;
}

/* SNS items */
.hp-clinic-pr__sns {
  list-style: none;
  width: 100%;
  margin: 80px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.hp-clinic-pr__sns li {
  display: inline-block;
}

.hp-clinic-pr__sns-icon {
  margin: 0 20px;
}

.hp-clinic-pr__sns-icon img {
  width: 70px;
  height: 70px;
  transition: opacity 0.3s ease;
}

.hp-clinic-pr__sns-icon a:hover img {
  opacity: 0.9;
}

/* ============================
   CARE HOME — /maru/ faithful
   ============================ */
.hp-care-home-bg {
  width: 100%;
  min-height: auto;
  margin: 0 auto;
  padding: 60px 0 40px;
  background: #EEF8F8;
  position: relative;
}

.hp-care-home-inner {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.hp-care-home-left {
  width: 52%;
  float: left;
  padding: 20px 0 0;
}

.hp-care-home-left__catch {
  margin: 0 auto;
  width: 45%;
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  color: var(--c-text);
}

.hp-care-home-left__desc {
  margin: 50px auto 0;
  width: 48%;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
  white-space: nowrap;
  color: var(--c-text);
}

.hp-care-home-left__links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 40px 0 0;
  padding: 0;
}

.hp-care-home-left__links li {
  width: calc(50% - 6px);
  margin: 0;
  padding: 0;
  font-size: 16px;
}

.hp-care-home-right {
  width: 45%;
  height: 420px;
  float: right;
  background: url('../images/top_img03.jpg') no-repeat top right;
  background-size: cover;
  border-radius: 16px;
}

/* btn-flat (green slide-fill) */
a.hp-btn-flat {
  display: block;
  overflow: hidden;
  position: relative;
  padding: 16px 13px;
  color: #2D8C46;
  border-radius: 5px;
  border: solid 1px #2D8C46;
  text-decoration: none;
  font-size: 15px;
  text-align: center;
  transition: color 0.3s ease;
}

a.hp-btn-flat span {
  position: relative;
  z-index: 1;
}

a.hp-btn-flat:hover {
  color: #fff;
}

a.hp-btn-flat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #2D8C46;
  transform: translateX(-100%);
  transition: transform 0.5s ease-in-out;
}

a.hp-btn-flat:hover::before {
  transform: translateX(0);
}

/* ============================
   VACANCY TABLE — /maru/ faithful
   ============================ */
.hp-vacant {
  width: 100%;
  margin: 0 auto;
}

.hp-vacant table {
  margin: 20px auto 10px;
  padding: 0;
  width: 80%;
  border: 1px solid #000;
  border-collapse: collapse;
}

.hp-vacant th {
  padding: 20px;
  vertical-align: middle;
  border-bottom: 1px solid #000;
  border-left: 1px solid #000;
  text-align: center;
  background: #E5E5E5;
  letter-spacing: 0.2em;
  font-size: 16px;
  font-weight: 600;
}

.hp-vacant td {
  padding: 20px;
  vertical-align: middle;
  text-align: left;
  border-bottom: 1px solid #000;
  border-left: 1px solid #000;
}

.hp-vacant__th1,
.hp-vacant__td1 {
  width: 65%;
}

.hp-vacant__th2,
.hp-vacant__td2 {
  width: 15%;
  text-align: center !important;
}

.hp-vacant td a {
  color: #000;
  text-decoration: none;
}

.hp-vacant td a:hover {
  color: #2D8C46;
}

.hp-vacant--recruiting {
  color: #c0392b;
  font-weight: 700;
}

.hp-vacant__update {
  width: 80%;
  margin: 20px auto;
  text-align: right;
  font-size: 14px;
  color: var(--c-text);
}

/* Care inquiry */
.hp-care-inquiry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.hp-care-inquiry__tel {
  text-align: center;
}

.hp-care-inquiry__tel-label {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: #5c7080;
}

.hp-care-inquiry__tel-number {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #002745;
  text-decoration: none;
}

.hp-care-inquiry__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================
   CARE SERVICE — /maru/ faithful
   ============================ */
.hp-care-service {
  width: 100%;
  padding: 80px 0 100px;
  background: #f2f2f2;
}

.hp-care-service__buttons {
  list-style: none;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hp-care-service__buttons li {
  display: flex;
  font-size: 16px;
}

.hp-care-service__more {
  margin-top: 26px;
  text-align: center;
}

/* btn-flat2 (pink slide-fill) */
a.hp-btn-flat2 {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 100%;
  min-width: 180px;
  padding: 18px 18px;
  color: #FF5192;
  background: #fff;
  border-radius: 5px;
  border: solid 1px #FF5192;
  text-decoration: none;
  line-height: 1.5;
  min-height: 74px;
  font-size: 16px;
  text-align: center;
  transition: color 0.3s ease;
}

a.hp-btn-flat2 p,
a.hp-btn-flat2 .hp-btn-flat2__label {
  position: relative;
  z-index: 1;
  margin: 0;
  display: block;
  width: 100%;
  line-height: 1.45;
  white-space: normal;
}

a.hp-btn-flat2:hover {
  color: #fff;
}

a.hp-btn-flat2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FF5192;
  transform: translateX(-100%);
  transition: transform 0.5s ease-in-out;
}

a.hp-btn-flat2:hover::before {
  transform: translateX(0);
}

/* ============================
   RECRUIT SECTION — /maru/ faithful
   ============================ */
.hp-recruit {
  width: 100%;
  height: 480px;
  margin: 0 auto;
  padding: 70px 0 0;
  background: url('../images/top_bg2.jpg') no-repeat center top;
  background-size: cover;
}

.hp-recruit .hp-section-heading__en {
  color: #002745;
}

.hp-recruit .hp-section-heading__ja {
  color: #002745;
}

.hp-recruit__text {
  text-align: center;
  font-size: 23px;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin: 10px auto 30px;
  color: var(--c-text);
}

.hp-recruit__buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================
   CONTACT SECTION — /maru/ faithful
   ============================ */
.hp-contact-tel {
  width: 80%;
  margin: 30px auto 10px;
  font-size: 28px;
  font-weight: bold;
  color: #2D8C46;
  text-align: center;
  white-space: nowrap;
}

/* ============================
   RESPONSIVE — New sections (mobile)
   ============================ */
@media (max-width: 767px) {
  .hp-notices__box {
    max-width: calc(100% - 24px);
    grid-template-columns: 1fr;
  }

  .hp-notices__label {
    padding: 16px 20px 8px;
    border-right: 0;
  }

  .hp-notices__content {
    width: auto;
    padding: 0 18px 16px;
  }

  .hp-notices__list {
    padding: 0;
  }

  .hp-notices__list li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }

  .hp-notices__date {
    margin-right: 0;
    font-size: 12px;
  }

  .hp-notices__summary {
    padding-right: 0;
    font-size: 13px;
  }

  .hp-clinic-pr__desc {
    width: 100%;
    font-size: 14px;
  }
  .hp-clinic-pr__links {
    margin-bottom: 30px;
  }
  .hp-clinic-pr__link-l,
  .hp-clinic-pr__link-r {
    width: 100%;
    float: none;
    text-align: center;
    margin-bottom: 15px;
  }
  .hp-clinic-pr__links img {
    width: 100%;
  }
  .hp-clinic-pr__sns {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
  }
  .hp-care-home-bg {
    min-height: auto;
    padding: 60px 20px;
  }
  .hp-care-home-left,
  .hp-care-home-right {
    width: 100%;
    float: none;
  }
  .hp-care-home-left__catch,
  .hp-care-home-left__desc {
    width: 100%;
    white-space: normal;
  }
  .hp-care-home-left__links {
    width: 100%;
    gap: 10px;
  }
  .hp-care-home-left__links li {
    width: 100%;
  }
  .hp-care-home-right {
    display: none;
  }
  .hp-vacant table {
    width: 100%;
    font-size: 12px;
  }
  .hp-vacant th,
  .hp-vacant td {
    padding: 10px 8px;
  }
  .hp-vacant__update {
    width: 100%;
  }
  .hp-recruit {
    height: auto;
    padding: 50px 20px;
  }
  .hp-recruit__text {
    font-size: 16px;
  }
  .hp-contact-tel {
    font-size: 18px;
    white-space: normal;
    width: 100%;
  }
  .hp-dept-desc {
    width: 95%;
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .hp-top .hp-topic-index {
    gap: 18px;
  }

  .hp-top .hp-topic-preview {
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .hp-top .hp-topic-index,
  .hp-top .hp-topic-index__quicklinks {
    grid-template-columns: 1fr;
  }

  .hp-top .hp-topic-preview {
    grid-template-columns: 1fr;
  }

  .hp-top .hp-topic-index__card {
    min-height: auto;
    padding: 22px 20px 20px;
    border-radius: 22px;
  }

  .hp-top .hp-topic-index__label {
    font-size: 20px;
  }

  .hp-top .hp-topic-index__quicklink {
    padding: 18px 18px 16px;
  }

  .hp-top .hp-topic-index__quicklink-label,
  .hp-top .hp-topic-index__recent-title {
    font-size: 20px;
  }

  .hp-top .hp-topic-preview__panel {
    padding: 22px 20px 20px;
    border-radius: 22px;
  }

  .hp-top .hp-topic-preview__title {
    font-size: 22px;
  }

  .hp-top .hp-topic-preview__link {
    align-items: flex-start;
    flex-direction: column;
  }

  .hp-top .hp-topic-preview__link-meta {
    font-size: 11px;
  }
}

/* ============================
   PRINT STYLES
   ============================ */
@media print {
  .hp-header,
  .hp-hero,
  .hp-quickinfo,
  .hp-fixed-cta,
  .hp-pagetop,
  .hp-beauty-cta {
    display: none;
  }

  .hp-top .hp-section {
    padding: 24px 0;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   FINAL POLISH OVERRIDES
   ============================================ */
.hp-top .hp-hero--static {
  margin-bottom: clamp(28px, 5vw, 52px);
}

/* Split layout: white left panel + photo right */
.hp-top .hp-hero--static .hp-hero__slides {
  position: relative;
  min-height: clamp(380px, 54vh, 540px);
  overflow: hidden;
  border-radius: 0;
  background: #ffffff;
}

.hp-top .hp-hero--static .hp-hero__slides::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 38%, rgba(255, 255, 255, 0.6) 50%, transparent 62%);
  z-index: 0;
}

.hp-top .hp-hero--static .hp-hero__slide {
  position: relative;
  inset: auto;
  display: block;
  opacity: 1;
  z-index: 1;
}

.hp-top .hp-hero--static .hp-hero__slide.is-active {
  z-index: 2;
}

.hp-top .hp-hero--static .hp-hero__slide img {
  display: block;
  width: 100%;
  height: clamp(380px, 54vh, 540px);
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.06) saturate(1.05);
}

.hp-top .hp-hero--static .hp-hero__arrow,
.hp-top .hp-hero--static .hp-hero__dots {
  display: none !important;
}

/* --- Caption on white panel (left side) --- */
.hp-top .hp-hero__caption--minimal {
  position: absolute;
  left: clamp(24px, 6vw, 80px);
  right: auto;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 5;
  width: min(560px, calc(100% - 48px));
}

.hp-top .hp-hero__caption--minimal .hp-hero__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #2D8C46;
}

.hp-top .hp-hero__caption--minimal .hp-hero__caption-main {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.35;
  color: #002745;
}

.hp-top .hp-hero__caption--minimal .hp-hero__caption-sub {
  margin: 0;
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: #5c7080;
}

.hp-top .hp-hero__caption--minimal .hp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* Hero CTA buttons — green + outline */
.hp-btn--pill-white {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 10rem;
  background: #2D8C46;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hp-btn--pill-white:hover {
  background: #247a3c;
  transform: translateY(-2px);
}

.hp-btn--pill-white-outline {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 10rem;
  background: transparent;
  border: 2px solid #2D8C46;
  color: #2D8C46;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hp-btn--pill-white-outline:hover {
  background: #2D8C46;
  color: #ffffff;
  transform: translateY(-2px);
}

.hp-top .hp-priority-links {
  padding-top: 0;
}

/* --- Primary: 3 large cards --- */
.hp-priority-links__primary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 16px;
}

.hp-priority-link--lg {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
  padding: 28px 26px 24px;
  border-radius: 20px;
  text-decoration: none;
  color: #12344e;
  background: #ffffff;
  border: 1px solid rgba(17, 63, 96, 0.08);
  box-shadow: 0 12px 28px rgba(10, 37, 58, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hp-priority-link--lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(10, 37, 58, 0.11);
  border-color: rgba(45, 140, 70, 0.22);
}

.hp-priority-link__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #2f8b49;
}

.hp-priority-link__title {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
}

.hp-priority-link__text {
  margin: 0;
  font-size: 0.92rem;
  color: #587080;
  line-height: 1.7;
}

.hp-priority-link__cta {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: #2D8C46;
}

.hp-priority-link--lg.is-reserve {
  background: linear-gradient(135deg, #fff4f8 0%, #fff 100%);
}

.hp-priority-link--lg.is-reserve .hp-priority-link__eyebrow {
  color: #d6336c;
}

.hp-priority-link--lg.is-facility {
  background: linear-gradient(135deg, #f3fbf5 0%, #fff 100%);
}

/* --- Secondary: compact link row --- */
.hp-priority-links__secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.hp-priority-link--sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 10rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2D8C46;
  background: #ffffff;
  border: 1px solid rgba(45, 140, 70, 0.18);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hp-priority-link--sm:hover {
  background: #f3fbf5;
  border-color: rgba(45, 140, 70, 0.35);
  transform: translateY(-1px);
}

.hp-priority-link--sm__arrow {
  font-size: 0.8rem;
  opacity: 0.6;
}

.hp-clinic-pr__desc {
  max-width: 62rem;
  margin: 0 auto 24px;
  text-align: center;
  line-height: 2;
  color: #516676;
}

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

.hp-clinic-pr__card {
  display: block;
  padding: 26px 24px 24px;
  border-radius: 28px;
  text-decoration: none;
  color: #103754;
  background: #ffffff;
  border: 1px solid rgba(17, 63, 96, 0.08);
  box-shadow: 0 18px 36px rgba(10, 37, 58, 0.08);
}

.hp-clinic-pr__card-eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #2f8b49;
}

.hp-clinic-pr__card-title {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.hp-clinic-pr__card-text {
  margin: 0;
  line-height: 1.9;
  color: #5b7180;
}

.hp-outpatient {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(13, 50, 85, 0.1);
  box-shadow: 0 8px 20px rgba(10, 37, 58, 0.06);
}

.hp-outpatient__left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.hp-outpatient__left img {
  width: 120px;
  height: auto;
  border-radius: 14px;
}

.hp-outpatient__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hp-outpatient__list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(13, 50, 85, 0.1);
}

.hp-outpatient__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.hp-outpatient__links a {
  color: #2f8b49;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .hp-priority-links__primary {
    grid-template-columns: 1fr 1fr;
  }

  .hp-clinic-pr__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hp-outpatient {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  /* Mobile: stack text above photo */
  .hp-top .hp-hero--static .hp-hero__slides {
    min-height: auto;
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .hp-top .hp-hero--static .hp-hero__slides::after {
    display: none;
  }

  .hp-top .hp-hero--static .hp-hero__slide {
    display: flex;
    flex-direction: column;
  }

  .hp-top .hp-hero--static .hp-hero__slide img {
    height: 220px;
    min-height: auto;
    order: 1;
  }

  .hp-top .hp-hero__caption--minimal {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    padding: 28px 20px 24px;
    order: 2;
  }

  .hp-top .hp-hero__caption--minimal .hp-hero__caption-main {
    max-width: none;
    font-size: 1.5rem;
  }

  .hp-top .hp-hero__caption--minimal .hp-hero__caption-sub {
    max-width: none;
    font-size: 0.85rem;
  }

  .hp-top .hp-hero__caption--minimal .hp-hero__cta .hp-btn--pill-white,
  .hp-top .hp-hero__caption--minimal .hp-hero__cta .hp-btn--pill-white-outline {
    width: 100%;
    text-align: center;
  }

  .hp-priority-links__primary {
    grid-template-columns: 1fr;
  }

  .hp-priority-link--lg {
    min-height: auto;
  }

  .hp-priority-links__secondary {
    flex-direction: column;
  }

  .hp-priority-link--sm {
    justify-content: center;
  }

  .hp-top .hp-top-homecare__card {
    grid-template-columns: 1fr;
  }

  .hp-clinic-pr__grid {
    grid-template-columns: 1fr;
  }

  .hp-clinic-pr__card {
    min-height: auto;
  }
}

/* ============================================
   FINAL TOPPAGE POLISH
   ============================================ */
.hp-top .hp-hero--static .hp-hero__slide img {
  object-position: center center;
}

.hp-top .hp-hero__caption--minimal {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4.5vw, 46px);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 250, 246, 0.88) 100%);
  box-shadow: 0 28px 60px rgba(10, 29, 49, 0.16);
  backdrop-filter: blur(10px);
}

.hp-top .hp-hero__caption--minimal .hp-hero__eyebrow {
  color: #2D7D6A;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hp-top .hp-hero__caption--minimal .hp-hero__caption-main {
  font-family: var(--hp-font-heading);
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  line-height: 1.22;
  letter-spacing: 0.04em;
  color: #1A3A4A;
}

.hp-top .hp-hero__caption--minimal .hp-hero__caption-sub {
  max-width: 38rem;
  color: #53646e;
  font-size: clamp(0.94rem, 1.45vw, 1.03rem);
  line-height: 1.9;
}

.hp-top .hp-header {
  border-bottom-color: transparent;
  box-shadow: none;
}

.hp-top .hp-hero__caption--minimal {
  width: min(600px, calc(100% - 56px));
}

.hp-top .hp-hero__caption--minimal .hp-hero__caption-main {
  max-width: 10.5ch;
  line-height: 1.14;
  letter-spacing: 0.03em;
}

.hp-top .hp-hero__caption--minimal .hp-hero__caption-sub {
  max-width: 35ch;
}

/* Legacy badge styles removed — now using .hp-hero__badges--desktop-only */

/* Legacy pill button styles kept for backward compat */
.hp-btn--pill-white {
  background: linear-gradient(135deg, #E8712A 0%, #F0903C 100%);
  box-shadow: 0 14px 30px rgba(232, 113, 42, 0.28);
  color: #fff;
}

.hp-btn--pill-white:hover {
  background: linear-gradient(135deg, #D4621F 0%, #E8712A 100%);
  color: #fff;
}

.hp-btn--pill-white-outline {
  border-color: #2D7D6A;
  color: #2D7D6A;
  background: rgba(255, 255, 255, 0.72);
}

.hp-btn--pill-white-outline:hover {
  background: #2D7D6A;
}

.hp-priority-link--lg.is-beauty {
  background: linear-gradient(145deg, rgba(255, 244, 248, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
  border-color: rgba(232, 91, 138, 0.18);
}

.hp-priority-link--lg.is-beauty .hp-priority-link__eyebrow {
  color: #E85B8A;
}

.hp-priority-link--sm.is-recruit {
  border-color: rgba(26, 58, 74, 0.12);
  color: #1A3A4A;
}

.hp-top .hp-dept-item {
  position: relative;
  overflow: hidden;
}

.hp-dept-item__keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.hp-dept-item__keywords li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(45, 125, 106, 0.08);
  color: #2D7D6A;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hp-dept-item__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: #1A3A4A;
  font-size: 0.84rem;
  font-weight: 700;
}

.hp-column-preview__intro {
  align-items: end;
}

.hp-column-preview__intro-title,
.hp-column-preview__group-title,
.hp-column-preview__topic-title,
.hp-clinic-pr__card-title {
  font-family: var(--hp-font-heading);
}

.hp-column-preview__intro-cta {
  border-color: transparent;
}

.hp-top .hp-column-preview__theme-card {
  min-height: 120px;
}

.hp-clinic-pr__card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hp-clinic-pr__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 42px rgba(10, 37, 58, 0.12);
  border-color: rgba(45, 125, 106, 0.18);
}

/* Legacy mobile badge override removed */
