@charset "UTF-8";
/* =========================================================================
   HOSPIT redesign stylesheet  (THE THOR child)
   Palette tuned to the HOSPIT logo: soft aqua teal + warm coral + charcoal.
   ========================================================================= */

:root {
  --hx-ink: #16403d;
  --hx-ink-2: #1c4d49;
  --hx-teal: #3f9b98;
  --hx-teal-dark: #33807d;
  --hx-teal-soft: #57a9a7;
  --hx-coral: #e68984;
  --hx-green: #5aab7a;
  --hx-pink: #d97aa8;
  --hx-blue: #5a8fd0;
  --hx-gray: #7d8a86;
  --hx-text: #1b2b28;
  --hx-muted: #66746f;
  --hx-bg: #faf9f6;
  --hx-soft: #f4f6f4;
  --hx-panel: #ffffff;
  --hx-border: #e9eeeb;
  --hx-border-2: #dde6e2;
  --hx-aqua: #7fc6c8;
  --hx-on-dark: #cfe0dd;
  --hx-shadow: 0 16px 40px rgba(20, 49, 47, 0.12);
  --hx-shadow-sm: 0 8px 24px rgba(20, 49, 47, 0.08);
  --hx-ph: linear-gradient(135deg, #e8efec, #dbe6e2);
}

/* ---- base ------------------------------------------------------------- */
body.hospitx {
  background: var(--hx-bg);
  color: var(--hx-text);
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.01em;
}
.hospitx * { box-sizing: border-box; }
.hx-container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.hx-narrow { width: min(900px, calc(100% - 48px)); margin: 0 auto; }

.hx-kicker {
  margin: 0 0 10px;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--hx-teal);
  text-transform: uppercase;
}
.hx-en { font-family: "Archivo", sans-serif; }

.hx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.hx-btn--primary { background: var(--hx-teal); color: #fff; }
.hx-btn--primary:hover { background: var(--hx-teal-soft); color: #fff; }
.hx-btn--ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.28); }
.hx-btn--ghost:hover { background: rgba(255,255,255,0.16); color: #fff; }
.hx-btn--outline { background: #fff; color: var(--hx-teal-dark); border: 1px solid var(--hx-border-2); }
.hx-btn--outline:hover { border-color: var(--hx-teal); color: var(--hx-teal); }

/* ---- utility bar ------------------------------------------------------ */
.hospitx-utilitybar { background: var(--hx-ink); color: var(--hx-on-dark); font-size: 11.5px; letter-spacing: 0.14em; }
.hospitx-utilitybar__inner {
  max-width: 1200px; margin: 0 auto; padding: 6px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.hospitx-utilitybar__brand { font-family: "Archivo", sans-serif; font-weight: 600; }
.hospitx-utilitybar__note { opacity: .78; }
@media (max-width: 700px) { .hospitx-utilitybar__note { display: none; } }

/* ---- utility top bar -------------------------------------------------- */
.hospitx-utilitybar {
  background: var(--hx-ink);
  color: #cfe0dd;
  font-size: 11.5px;
  letter-spacing: 0.12em;
}
.hospitx-utilitybar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.hospitx-utilitybar__brand { font-family: "Archivo", sans-serif; font-weight: 600; }
.hospitx-utilitybar__note { opacity: 0.75; }
@media (max-width: 600px) {
  .hospitx-utilitybar__note { display: none; }
  .hospitx-utilitybar__inner { justify-content: center; }
}

/* ---- header polish (restyle THE THOR header) -------------------------- */
.hospitx .l-header {
  background: var(--hx-bg) !important;
  border-bottom: 1px solid var(--hx-border);
  box-shadow: none;
}
.hospitx .container-header { align-items: center; }
.hospitx .siteTitle__logo { max-height: 44px; width: auto; }
.hospitx .globalNavi__list { align-items: center; }
.hospitx .globalNavi__list > li > a,
.hospitx .globalNavi__link,
.hospitx .menuBtn__navi a {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--hx-text);
}
.hospitx .globalNavi__list > li > a { position: relative; }
.hospitx .globalNavi__list > li > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--hx-teal);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.hospitx .globalNavi__list > li > a:hover,
.hospitx .globalNavi__link:hover { color: var(--hx-teal-dark) !important; }
.hospitx .globalNavi__list > li > a:hover::after { transform: scaleX(1); }
.hospitx .globalNavi__list .current-menu-item > a,
.hospitx .globalNavi__list .current-menu-parent > a { color: var(--hx-teal-dark) !important; }
.hospitx .globalNavi__list .current-menu-item > a::after { transform: scaleX(1); }
/* search / menu buttons pick up teal on hover */
.hospitx .searchBtn__link:hover,
.hospitx .menuBtn__link:hover { color: var(--hx-teal-dark); }
/* header-bottom search strip */
.hospitx .l-headerBottom { border-bottom: 1px solid var(--hx-border); }
.hospitx .searchHead { background: var(--hx-soft); }
.hospitx .searchHead__keywordItem a:hover { color: var(--hx-teal-dark); }
.hospitx .searchHead__submit { background: var(--hx-teal); color: #fff; }

/* ---- footer: dark HOSPIT media footer (restyle THE THOR .l-footer) ---- */
.hospitx .l-footer { background: #0f2523 !important; color: var(--hx-on-dark) !important; }
.hospitx .l-footer .container,
.hospitx .l-footer .wider { background: transparent !important; }
.hospitx .l-footer a { color: var(--hx-on-dark); }
.hospitx .l-footer a:hover { color: #fff; }

/* footer navi columns (parent: .footer_navi_menu > div) */
.hospitx .l-footer .footer_navi_menu { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.hospitx .l-footer .footer_navi_menu > div { flex: 1 1 220px; min-width: 0; }
.hospitx .l-footer .footer_navi_menu h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.hospitx .l-footer .footer_navi_menu ul { list-style: none; margin: 0; padding: 0; }
.hospitx .l-footer .footer_navi_menu li { margin: 0 0 9px; font-size: 13px; line-height: 1.8; color: #9fbdb8; }
.hospitx .l-footer .footer_navi_menu li a { color: #cfe0dd; }
.hospitx .l-footer .footer_navi_menu li a:hover { color: #fff; }

/* HOSPIT brand column */
.hospitx .l-footer .hospit-footer-menu__brand { flex: 1.4 1 280px; }
.hospitx .l-footer .hospit-footer-menu__brand h4 {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  font-size: 24px;
  color: #fff;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 12px;
}
.hospitx .l-footer .hospit-footer-menu__brand p { font-size: 13px; line-height: 1.9; color: #9fbdb8; margin: 0 0 10px; max-width: 340px; }
.hospitx .l-footer .footer_navi_menu > div > p { font-size: 12.5px; line-height: 1.9; color: #9fbdb8; margin: 0 0 10px; }

/* bottom footer list (footer_menu) */
.hospitx .l-footer .bottomFooter__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0 0 18px; }
.hospitx .l-footer .bottomFooter__list a { font-size: 13px; color: #cfe0dd; }

/* copyright + producer */
.hospitx .bottomFooter__copyright,
.hospitx .l-footer .bottomFooter__producer {
  font-family: "Archivo", sans-serif;
  font-size: 12px;
  color: #6f8783;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  margin-top: 10px;
}
.hospitx .bottomFooter__copyright a,
.hospitx .l-footer .bottomFooter__producer a { color: #8ca8a3; }

/* footer SNS + top button accent */
.hospitx .l-footer .snsFooter__link { color: var(--hx-on-dark); }
.hospitx .l-footer .snsFooter__link:hover { color: #fff; }
.hospitx #bottomFooter__topBtn,
.hospitx .bottomFooter__topBtn { background: var(--hx-teal); }

/* mobile controller bar accents */
.hospitx .controllerFooter { background: var(--hx-ink); }
.hospitx .controllerFooter__list a,
.hospitx .controllerFooter__link,
.hospitx .controllerFooter__menuLabel { color: #cfe0dd; }


/* ---- section heads ---------------------------------------------------- */
.hx-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.hx-head h2 { margin: 0; font-weight: 900; font-size: clamp(24px, 3vw, 34px); letter-spacing: 0.03em; color: var(--hx-text); }
.hx-head .hx-kicker { margin: 0; }
.hx-head--split { justify-content: space-between; align-items: flex-end; }
.hx-head--split a { color: var(--hx-teal-dark); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }

/* =========================================================================
   Article card component
   ========================================================================= */
.hospitx-card { display: block; text-decoration: none; color: inherit; }
.hospitx-card__thumb {
  display: block; width: 100%; aspect-ratio: 16/9;
  background-color: #e8efec; background-image: var(--hx-ph);
  background-size: cover; background-position: center;
}
.hospitx-card__cat { font-size: 11px; font-weight: 700; color: #fff; background: var(--accent, var(--hx-teal)); padding: 3px 10px; border-radius:10px; }
.hospitx-card__date { font-family: "Archivo", sans-serif; color: #9aa8a3; font-size: 12px; }
.hospitx-card__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.hospitx-card__title { display: block; font-size: 16px; font-weight: 700; line-height: 1.55; color: #17302d; }

/* grid card */
.hospitx-card--grid {
  background: var(--hx-panel); border: 1px solid var(--hx-border);
  border-radius:10px; overflow: hidden; transition: box-shadow .2s ease;
}
.hospitx-card--grid:hover { box-shadow: var(--hx-shadow); }
.hospitx-card--grid .hospitx-card__body { display: block; padding: 16px 18px 22px; }

/* row card (archive list) */
.hospitx-card--row {
  display: grid; grid-template-columns: 260px 1fr; gap: 24px;
  background: var(--hx-panel); border: 1px solid var(--hx-border);
  border-radius:10px; overflow: hidden; transition: box-shadow .2s ease;
}
.hospitx-card--row:hover { box-shadow: var(--hx-shadow); }
.hospitx-card--row .hospitx-card__thumb { height: 100%; aspect-ratio: auto; min-height: 180px; }
.hospitx-card--row .hospitx-card__body { display: flex; flex-direction: column; padding: 22px 24px 22px 0; }
.hospitx-card--row .hospitx-card__title { font-size: 19px; margin-bottom: 10px; }
.hospitx-card__excerpt { color: var(--hx-muted); font-size: 13.5px; line-height: 1.85; }

/* rank card (dark ranking rows) */
.hospitx-card--rank {
  position: relative;
  display: grid; grid-template-columns: 76px 132px 1fr; gap: 20px; align-items: center;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
  border-radius:10px; padding: 16px 22px 16px 16px; transition: background .2s ease;
}
.hospitx-card--rank:hover { background: rgba(255,255,255,0.08); }
.hospitx-card--rank .hospitx-card__rank { font-family: "Archivo", sans-serif; font-weight: 900; font-size: 52px; line-height: 1; color: var(--accent); text-align: center; }
.hospitx-card--rank .hospitx-card__thumb { border-radius:10px; aspect-ratio: 4/3; }
.hospitx-card--rank .hospitx-card__cat { color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.hospitx-card--rank .hospitx-card__title { color: #fff; font-size: 17px; }
.hospitx-card--rank .hospitx-card__date { display: none; }

/* small sidebar variants */
.hospitx-side-rank { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; text-decoration: none; padding: 12px; border-radius:10px; }
.hospitx-side-rank:hover { background: var(--hx-soft); }
.hospitx-side-rank__n { font-family: "Archivo", sans-serif; font-weight: 900; font-size: 24px; color: var(--accent, var(--hx-teal)); text-align: center; }
.hospitx-side-rank__t { font-size: 13.5px; font-weight: 700; line-height: 1.55; color: #223a36; }

.hospitx-side-latest { display: grid; grid-template-columns: 68px 1fr; gap: 12px; align-items: center; text-decoration: none; padding: 10px; border-radius:10px; }
.hospitx-side-latest:hover { background: var(--hx-soft); }
.hospitx-side-latest__thumb { border-radius:10px; aspect-ratio: 4/3; background-color: #e8efec; background-image: var(--hx-ph); background-size: cover; background-position: center; }
.hospitx-side-latest__date { display: block; font-family: "Archivo", sans-serif; color: #9aa8a3; font-size: 11px; margin-bottom: 4px; }
.hospitx-side-latest__t { display: block; font-size: 12.5px; font-weight: 700; line-height: 1.5; color: #223a36; }

/* sidebar panel shell */
.hospitx-panel { background: var(--hx-panel); border: 1px solid var(--hx-border); border-radius:10px; overflow: hidden; }
.hospitx-panel__head { background: var(--hx-ink); padding: 16px 20px; display: flex; align-items: baseline; gap: 10px; }
.hospitx-panel__en { font-family: "Archivo", sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 0.16em; color: var(--hx-aqua); }
.hospitx-panel__title { color: #fff; font-weight: 800; font-size: 15px; }
.hospitx-panel__body { padding: 6px 8px; }
.hospitx-cat-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-decoration: none; padding: 12px; border-radius:10px; }
.hospitx-cat-link:hover { background: var(--hx-soft); }
.hospitx-cat-link__name { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: #223a36; }
.hospitx-cat-link__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent, var(--hx-teal)); }
.hospitx-cat-link__count { font-family: "Archivo", sans-serif; font-size: 12px; color: #9aa8a3; }

@media (max-width: 640px) {
  .hospitx-card--row { grid-template-columns: 1fr; }
  .hospitx-card--row .hospitx-card__thumb { aspect-ratio: 16/9; min-height: 0; }
  .hospitx-card--row .hospitx-card__body { padding: 18px 20px 22px; }
  .hospitx-card--rank { grid-template-columns: 56px 96px 1fr; gap: 12px; }
  .hospitx-card--rank .hospitx-card__rank { font-size: 38px; }
}


/* =========================================================================
   TOP PAGE
   ========================================================================= */
.hospitx-home section { position: relative; }

/* hero */
.hospitx-hero { background: var(--hx-ink); overflow: hidden; }
.hospitx-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(63,155,152,0.35), transparent 45%),
              radial-gradient(circle at 15% 90%, rgba(230,137,132,0.22), transparent 40%);
}
.hospitx-hero__inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 84px 24px 76px; }
.hospitx-hero .hx-kicker { color: var(--hx-aqua); letter-spacing: 0.32em; font-size: 13px; margin-bottom: 22px; }
.hospitx-hero h1 { margin: 0; color: #fff; font-weight: 900; font-size: clamp(28px, 5vw, 62px); line-height: 1.28; letter-spacing: 0.02em; }
.hospitx-hero__lead { max-width: 620px; margin: 26px 0 0; color: #bcd1cd; font-size: 17px; line-height: 2; }
.hospitx-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* purpose grid */
.hospitx-purpose { padding: 72px 0 20px; }
.hospitx-purpose__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hospitx-purpose-card {
  display: block; text-decoration: none; background: var(--hx-panel);
  border: 1px solid var(--hx-border); border-top: 3px solid var(--accent, var(--hx-teal));
  border-radius:10px; padding: 24px 22px; transition: transform .2s ease, box-shadow .2s ease;
}
.hospitx-purpose-card:hover { transform: translateY(-4px); box-shadow: var(--hx-shadow); }
.hospitx-purpose-card__label { display: inline-block; font-family: "Archivo", sans-serif; font-weight: 700; letter-spacing: 0.12em; font-size: 11px; color: var(--accent, var(--hx-teal)); background: color-mix(in srgb, var(--accent, #3f9b98) 12%, transparent); padding: 5px 11px; border-radius:10px; }
.hospitx-purpose-card__title { display: block; font-size: 20px; font-weight: 900; margin: 14px 0 8px; color: #17302d; }
.hospitx-purpose-card__text { display: block; color: var(--hx-muted); font-size: 13.5px; line-height: 1.85; }

/* ranking (dark) */
.hospitx-ranking { background: var(--hx-ink); margin-top: 64px; }
.hospitx-ranking__inner { max-width: 1200px; margin: 0 auto; padding: 68px 24px; }
.hospitx-ranking__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.hospitx-ranking__head .hx-kicker { color: var(--hx-aqua); margin: 0 0 10px; }
.hospitx-ranking__head h2 { margin: 0; color: #fff; font-weight: 900; font-size: clamp(24px, 3vw, 36px); letter-spacing: 0.03em; }
.hospitx-ranking__head p { margin: 12px 0 0; color: #9fbdb8; font-size: 13.5px; }
.hospitx-ranking__more { color: var(--hx-aqua); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; border-bottom: 1px solid rgba(127,198,200,0.4); padding-bottom: 3px; }
.hospitx-ranking__list { display: grid; gap: 12px; }

/* featured */
.hospitx-featured { padding: 72px 0 20px; }
.hospitx-featured__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* category deep-dive */
.hospitx-deepdive { padding: 60px 0; }
.hospitx-deepdive__box { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; background: linear-gradient(135deg,#f0f7f5,#eef4f8); border: 1px solid #e4ece9; border-radius:10px; padding: 48px; }
.hospitx-deepdive__box h2 { margin: 0 0 16px; font-weight: 900; font-size: clamp(23px, 2.6vw, 32px); line-height: 1.4; letter-spacing: 0.02em; }
.hospitx-deepdive__box p { margin: 0 0 26px; color: #566661; font-size: 15px; line-height: 2; }
.hospitx-deepdive__links { display: grid; gap: 10px; }
.hospitx-deepdive__link { display: flex; align-items: center; gap: 14px; text-decoration: none; background: #fff; border: 1px solid #e4ece9; border-radius:10px; padding: 15px 18px; color: #223a36; font-weight: 700; font-size: 14.5px; }
.hospitx-deepdive__link:hover { border-color: var(--hx-teal); color: var(--hx-teal); }
.hospitx-deepdive__link .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent, var(--hx-teal)); flex-shrink: 0; }

/* area */
.hospitx-area { padding: 20px 0 60px; }
.hospitx-area__list { display: flex; flex-wrap: wrap; gap: 10px; }
.hospitx-area__list a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border: 1px solid var(--hx-border-2); border-radius: 999px; background: #fff; color: #26433f; font-weight: 700; font-size: 14px; }
.hospitx-area__list a:hover { background: var(--hx-ink); color: #fff; border-color: var(--hx-ink); }

/* latest */
.hospitx-latest { background: var(--hx-soft); border-top: 1px solid var(--hx-border); }
.hospitx-latest__inner { max-width: 1200px; margin: 0 auto; padding: 68px 24px; }
.hospitx-latest__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* policy */
.hospitx-policy { padding: 76px 0; }
.hospitx-policy__box { display: grid; grid-template-columns: 0.4fr 0.6fr; gap: 40px; align-items: start; background: var(--hx-ink); border-radius:10px; padding: 52px 48px; position: relative; overflow: hidden; }
.hospitx-policy__box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 90% 10%, rgba(63,155,152,0.25), transparent 50%); }
.hospitx-policy__box > * { position: relative; }
.hospitx-policy__box .hx-kicker { color: var(--hx-aqua); }
.hospitx-policy__box h2 { margin: 0; color: #fff; font-weight: 900; font-size: clamp(23px, 2.6vw, 32px); line-height: 1.4; }
.hospitx-policy__box p { margin: 0 0 18px; color: var(--hx-on-dark); font-size: 15px; line-height: 2.1; }
.hospitx-policy__note { margin: 0 !important; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.16); color: #8ca8a3 !important; font-size: 13px !important; line-height: 1.9 !important; }

@media (max-width: 900px) {
  .hospitx-purpose__grid, .hospitx-featured__grid, .hospitx-latest__grid { grid-template-columns: repeat(2, 1fr); }
  .hospitx-deepdive__box, .hospitx-policy__box { grid-template-columns: 1fr; padding: 36px 28px; }
  .hospitx-ranking__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .hospitx-hero__inner { padding: 60px 24px; }
  .hospitx-purpose__grid, .hospitx-featured__grid, .hospitx-latest__grid { grid-template-columns: 1fr; }
  .hospitx-hero__actions { display: grid; }
}


/* =========================================================================
   ARCHIVE (記事一覧) + SINGLE (記事ページ) shared layout
   ========================================================================= */
.hospitx-band { background: var(--hx-ink); overflow: hidden; position: relative; }
.hospitx-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 88% 20%, rgba(63,155,152,0.30), transparent 45%); }
.hospitx-band__inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 40px 24px 44px; }
.hospitx-band .hx-kicker { color: var(--hx-aqua); }
.hospitx-band h1 { margin: 0; color: #fff; font-weight: 900; font-size: clamp(28px, 4vw, 44px); letter-spacing: 0.03em; }
.hospitx-band p { margin: 16px 0 0; color: #bcd1cd; font-size: 15px; line-height: 1.9; max-width: 640px; }

.hospitx-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: "Archivo", sans-serif; font-size: 12.5px; color: #9aa8a3; margin-bottom: 18px; }
.hospitx-breadcrumb a { color: #9aa8a3; text-decoration: none; }
.hospitx-breadcrumb .cur { color: var(--hx-on-dark); }

.hospitx-layout { max-width: 1200px; margin: 0 auto; padding: 40px 24px 80px; display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.hospitx-sidebar { display: grid; gap: 28px; position: sticky; top: 96px; }

/* sidebar search box */
.hospitx-searchbox {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--hx-border-2);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(20, 49, 47, 0.04);
}
.hospitx-searchbox__input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  padding: 13px 16px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--hx-heading, #17302d);
}
.hospitx-searchbox__input::placeholder { color: #9aa8a3; }
.hospitx-searchbox:focus-within { border-color: var(--hx-teal); box-shadow: 0 0 0 3px rgba(63, 155, 152, 0.14); }
.hospitx-searchbox__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  align-self: stretch;
  border: none;
  cursor: pointer;
  background: var(--hx-teal);
  color: #fff;
  transition: background 0.2s;
}
.hospitx-searchbox__btn:hover { background: var(--hx-teal-dark); }

/* archive main */
.hospitx-listhead { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 2px solid var(--hx-ink); margin-bottom: 26px; }
.hospitx-listhead__title { font-weight: 900; font-size: 18px; }
.hospitx-listhead__title .num { font-family: "Archivo", sans-serif; color: #9aa8a3; font-weight: 700; font-size: 14px; }
.hospitx-sort { display: flex; gap: 8px; }
.hospitx-sort a { font-size: 13px; font-weight: 700; text-decoration: none; padding: 8px 16px; border-radius: 999px; }
.hospitx-sort a.is-active { color: #fff; background: var(--hx-teal); }
.hospitx-sort a:not(.is-active) { color: #56645f; background: #fff; border: 1px solid var(--hx-border-2); }
.hospitx-list { display: grid; gap: 22px; }

/* pagination */
.hospitx-pager { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.hospitx-pager a, .hospitx-pager span {
  min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border-radius:10px; font-family: "Archivo", sans-serif; font-weight: 700; text-decoration: none;
  background: #fff; border: 1px solid var(--hx-border-2); color: #56645f;
}
.hospitx-pager .current { background: var(--hx-ink); color: #fff; border-color: var(--hx-ink); }

/* single article */
.hospitx-article-head { max-width: 900px; margin: 0 auto; padding: 40px 24px 0; }
.hospitx-article-head .hospitx-breadcrumb a, .hospitx-article-head .hospitx-breadcrumb { color: #9aa8a3; }
.hospitx-article-head .hospitx-breadcrumb .cur { color: #40534e; }
.hospitx-article-cat { display: inline-block; font-size: 11.5px; font-weight: 700; color: #fff; background: var(--accent, var(--hx-green)); padding: 5px 13px; border-radius:10px; margin-bottom: 18px; }
.hospitx-article-head h1 { margin: 0; font-weight: 900; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.42; letter-spacing: 0.02em; color: #16302d; }
.hospitx-author-line { display: flex; align-items: center; gap: 18px; margin: 24px 0 28px; padding-bottom: 24px; border-bottom: 1px solid var(--hx-border); }
.hospitx-author-line__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--hx-teal), var(--hx-ink)); }
.hospitx-author-line__name { font-weight: 700; font-size: 14px; color: #223a36; }
.hospitx-author-line__meta { font-family: "Archivo", sans-serif; font-size: 12.5px; color: #9aa8a3; }
.hospitx-article-cover { border-radius:10px; aspect-ratio: 16/9; background-color: #e8efec; background-image: var(--hx-ph); background-size: cover; background-position: center; }

.hospitx-single-layout { max-width: 1140px; margin: 0 auto; padding: 36px 24px 80px; display: grid; grid-template-columns: 1fr 300px; gap: 52px; align-items: start; }

/* editorial disclosure */
.hospitx-disclosure { background: var(--hx-soft); border: 1px solid #e2ebe7; border-left: 4px solid var(--hx-teal); border-radius:10px; padding: 18px 20px; margin-bottom: 32px; color: #56645f; font-size: 13px; line-height: 1.85; }

/* TOC */
.hospitx-toc { background: #fff; border: 1px solid var(--hx-border); border-radius:10px; padding: 22px 24px; margin-bottom: 40px; }
.hospitx-toc__title { font-weight: 800; font-size: 15px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.hospitx-toc__title::before { content: ""; width: 4px; height: 16px; background: var(--hx-teal); border-radius:10px; }
.hospitx-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; counter-reset: hx-toc; }
.hospitx-toc li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: baseline; }
.hospitx-toc li::before { counter-increment: hx-toc; content: counter(hx-toc, decimal-leading-zero); font-family: "Archivo", sans-serif; font-weight: 800; color: var(--hx-teal); font-size: 14px; }
.hospitx-toc a { color: #33463f; text-decoration: none; font-size: 14.5px; line-height: 1.6; font-weight: 500; }
.hospitx-toc a:hover { color: var(--hx-teal); }

/* article body typography */
.hospitx-body { min-width: 0; }
.hospitx-body p { font-size: 16px; line-height: 2.15; color: #2c3a36; margin: 0 0 28px; }
.hospitx-body h2 { font-weight: 900; font-size: 25px; letter-spacing: 0.02em; color: #16302d; margin: 44px 0 18px; padding-left: 16px; border-left: 5px solid var(--hx-teal); }
.hospitx-body h3 { font-weight: 800; font-size: 20px; color: #16302d; margin: 32px 0 14px; }
.hospitx-body img { max-width: 100%; height: auto; border-radius:10px; }
.hospitx-body ul, .hospitx-body ol { font-size: 16px; line-height: 2; color: #2c3a36; margin: 0 0 28px; padding-left: 1.4em; }

/* comparison table */
.hospitx-compare { border: 1px solid #e4ece9; border-radius:10px; overflow: hidden; margin-bottom: 32px; }
.hospitx-compare table { width: 100%; border-collapse: collapse; }
.hospitx-compare thead th { background: var(--hx-ink); color: var(--hx-on-dark); font-size: 12.5px; font-weight: 700; text-align: left; padding: 14px 16px; }
.hospitx-compare tbody td { border-top: 1px solid #edf1ef; background: #fff; padding: 16px; font-size: 13.5px; color: #4a5852; vertical-align: middle; }
.hospitx-compare tbody td.name { font-weight: 800; color: #17302d; font-size: 14px; }
.hospitx-compare tbody td.name .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; }
.hospitx-compare tbody td.price { font-family: "Archivo", sans-serif; font-weight: 700; color: var(--hx-teal-dark); font-size: 15px; }

/* warning box */
.hospitx-warn { background: #fff5f3; border: 1px solid #f4d9d4; border-radius:10px; padding: 20px 22px; margin-bottom: 36px; }
.hospitx-warn__t { font-weight: 800; color: #c85f54; font-size: 14px; margin-bottom: 8px; }
.hospitx-warn p { margin: 0; color: #7a5450; font-size: 13.5px; line-height: 1.9; }

/* share + author + related */
.hospitx-share { display: flex; align-items: center; gap: 12px; padding: 22px 0; border-top: 1px solid var(--hx-border); border-bottom: 1px solid var(--hx-border); }
.hospitx-share__label { font-weight: 700; font-size: 13px; color: #56645f; }
.hospitx-share__dots { display: flex; gap: 8px; }
.hospitx-share__dots span { width: 38px; height: 38px; border-radius: 50%; }
.hospitx-share__btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-family: "Archivo", sans-serif; font-weight: 700; font-size: 16px;
  text-decoration: none; border: none; cursor: pointer; padding: 0; line-height: 1;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.hospitx-share__btn:hover { transform: translateY(-2px); opacity: 0.92; color: #fff; }
.hospitx-share__copy.is-copied { position: relative; }
.hospitx-share__copy.is-copied::after {
  content: "コピーしました";
  position: absolute; bottom: 46px; left: 50%; transform: translateX(-50%);
  background: #16403d; color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 10px; border-radius: 8px; white-space: nowrap;
}
.hospitx-authorbox { display: flex; gap: 18px; background: var(--hx-soft); border-radius:10px; padding: 24px; margin-top: 32px; }
.hospitx-authorbox__avatar { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--hx-teal), var(--hx-ink)); flex-shrink: 0; }
.hospitx-authorbox__name { font-weight: 800; font-size: 15px; color: #17302d; margin-bottom: 6px; }
.hospitx-authorbox p { margin: 0; color: #56645f; font-size: 13px; line-height: 1.85; }
.hospitx-related { margin-top: 48px; }
.hospitx-related h2 { font-weight: 900; font-size: 22px; letter-spacing: 0.02em; margin: 0 0 20px; }
.hospitx-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

@media (max-width: 980px) {
  .hospitx-layout, .hospitx-single-layout { grid-template-columns: 1fr; }
  .hospitx-sidebar { position: static; }
}
@media (max-width: 640px) {
  .hospitx-related__grid { grid-template-columns: 1fr; }
  .hospitx-compare { overflow-x: auto; }
}
