:root {
  --hospit-teal: #5ab7ba;
  --hospit-teal-dark: #3b9fa3;
  --hospit-coral: #ea8585;
  --hospit-coral-dark: #d46d6d;
  --hospit-text: #333333;
  --hospit-muted: #6f777b;
  --hospit-bg: #ffffff;
  --hospit-bg-soft: #f7fbfa;
  --hospit-bg-coral: #fff4f3;
  --hospit-border: #dfe8e8;
  --hospit-shadow: 0 14px 40px rgba(37, 50, 56, 0.08);
  --hospit-shadow-soft: 0 8px 24px rgba(37, 50, 56, 0.06);
  --hospit-radius: 10px;
  --hospit-radius-sm: 12px;
}

/* Header polishing for THE THOR */
.siteTitle__logo {
  max-height: 54px;
  width: auto;
}
.globalNavi__link,
.menuBtn__navi a {
  letter-spacing: 0.03em;
}
.globalNavi__link:hover {
  color: var(--hospit-teal-dark);
}

.hospit-home {
  color: var(--hospit-text);
  background: linear-gradient(180deg, #ffffff 0%, #f9fcfb 40%, #ffffff 100%);
  overflow: hidden;
}
.hospit-home *,
.hospit-home *::before,
.hospit-home *::after {
  box-sizing: border-box;
}
.hospit-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.hospit-section {
  padding: 72px 0;
}
.hospit-kicker {
  margin: 0 0 12px;
  color: var(--hospit-teal-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hospit-home h1,
.hospit-home h2,
.hospit-home h3,
.hospit-home p {
  margin-top: 0;
}
.hospit-home h1 {
  margin-bottom: 20px;
  color: var(--hospit-text);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.25;
  letter-spacing: 0.03em;
}
.hospit-home h2 {
  margin-bottom: 14px;
  color: var(--hospit-text);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.35;
  letter-spacing: 0.03em;
}
.hospit-home h3 {
  color: var(--hospit-text);
  font-size: 19px;
  line-height: 1.55;
}
.hospit-home p {
  color: var(--hospit-muted);
  line-height: 1.9;
}

.hospit-hero {
  position: relative;
  padding: 80px 0 76px;
  background:
    radial-gradient(circle at 12% 8%, rgba(90, 183, 186, 0.16), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(234, 133, 133, 0.15), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f7fbfa 62%, #fff7f6 100%);
}
.hospit-hero::after {
  content: none;
}
.hospit-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
/*
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
*/
  gap: 42px;
  align-items: center;
}
.hospit-hero__lead {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: 17px;
}
.hospit-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hospit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--hospit-teal);
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.hospit-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--hospit-shadow-soft);
  opacity: 0.95;
}
.hospit-btn--primary {
  background: var(--hospit-teal);
  color: #fff !important;
}
.hospit-btn--outline {
  background: #fff;
  color: var(--hospit-teal-dark) !important;
}
.hospit-hero__brand {
  padding: 30px;
  border: 1px solid rgba(90, 183, 186, 0.28);
  border-radius: 10px;
  background: rgba(255,255,255,0.86);
  box-shadow: var(--hospit-shadow);
  backdrop-filter: blur(8px);
}
.hospit-hero__brand img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto 18px;
}
.hospit-hero__brand p {
  margin-bottom: 0;
  text-align: center;
  font-size: 14px;
}

.hospit-section__head {
  max-width: 760px;
  margin: 0 0 28px;
}
.hospit-section__head--split {
  max-width: none;
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
}
.hospit-section__head--split > p,
.hospit-section__head--split > a {
  max-width: 420px;
}
.hospit-section__head a {
  color: var(--hospit-teal-dark);
  font-weight: 700;
}

.hospit-card-grid {
  display: grid;
  gap: 18px;
}
.hospit-card-grid--purpose {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hospit-purpose-card,
.hospit-featured-card,
.hospit-latest-card a {
  display: block;
  text-decoration: none !important;
}
.hospit-purpose-card {
  position: relative;
  min-height: 188px;
  padding: 22px;
  border: 1px solid var(--hospit-border);
  border-radius: var(--hospit-radius);
  background: #fff;
  box-shadow: var(--hospit-shadow-soft);
  overflow: hidden;
}
.hospit-purpose-card::before {
  content: "";
  position: absolute;
  right: -46px;
  top: -46px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(90,183,186,0.14);
}
.hospit-purpose-card--coral::before,
.hospit-purpose-card--pink::before { background: rgba(234,133,133,0.16); }
.hospit-purpose-card span {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 14px;
  color: var(--hospit-teal-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.hospit-purpose-card--coral span,
.hospit-purpose-card--pink span { color: var(--hospit-coral-dark); }
.hospit-purpose-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 10px;
  color: var(--hospit-text);
  font-size: 19px;
  line-height: 1.45;
}
.hospit-purpose-card em {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--hospit-muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.8;
}

.hospit-section--featured {
  background: var(--hospit-bg-soft);
}
.hospit-featured-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.hospit-featured-card {
  padding: 24px;
  border-radius: var(--hospit-radius);
  background: #fff;
  box-shadow: var(--hospit-shadow-soft);
  border: 1px solid var(--hospit-border);
}
.hospit-featured-card h3 {
  margin-bottom: 12px;
}
.hospit-featured-card p {
  margin-bottom: 14px;
  font-size: 14px;
}
.hospit-featured-card span {
  color: var(--hospit-teal-dark);
  font-weight: 700;
}

.hospit-two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 32px;
  align-items: center;
}
.hospit-two-column--reverse {
  grid-template-columns: minmax(320px, 1.1fr) minmax(0, 0.9fr);
}
.hospit-two-column__main {
  padding: 10px 0;
}
.hospit-two-column__main p {
  margin-bottom: 24px;
}
.hospit-link-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(90,183,186,0.26);
  border-radius: var(--hospit-radius);
  background: linear-gradient(180deg, rgba(90,183,186,0.10), #fff);
  box-shadow: var(--hospit-shadow-soft);
}
.hospit-link-panel--coral {
  border-color: rgba(234,133,133,0.28);
  background: linear-gradient(180deg, rgba(234,133,133,0.12), #fff);
}
.hospit-link-panel a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--hospit-border);
  border-radius: 10px;
  background: #fff;
  color: var(--hospit-text);
  font-weight: 700;
  text-decoration: none !important;
}
.hospit-link-panel a:hover {
  color: var(--hospit-teal-dark);
}

.hospit-section--soft {
  background: linear-gradient(135deg, #fff7f6, #f7fbfa);
}
.hospit-editorial-box,
.hospit-policy-box {
  padding: 34px;
  border: 1px solid var(--hospit-border);
  border-radius: 10px;
  background: rgba(255,255,255,0.9);
  box-shadow: var(--hospit-shadow-soft);
}
.hospit-editorial-box p:last-child,
.hospit-policy-box p:last-child {
  margin-bottom: 0;
}

.hospit-area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hospit-area-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--hospit-border);
  border-radius: 999px;
  background: #fff;
  color: var(--hospit-text);
  font-weight: 700;
  text-decoration: none !important;
}
.hospit-area-list a:hover {
  color: #fff;
  background: var(--hospit-teal);
  border-color: var(--hospit-teal);
}

.hospit-section--latest {
  background: var(--hospit-bg-soft);
}
.hospit-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.hospit-latest-card {
  border: 1px solid var(--hospit-border);
  border-radius: var(--hospit-radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--hospit-shadow-soft);
}
.hospit-latest-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.hospit-latest-card span {
  display: block;
  padding: 16px 18px 0;
  color: var(--hospit-muted);
  font-size: 12px;
}
.hospit-latest-card h3 {
  padding: 8px 18px 20px;
  margin: 0;
  font-size: 16px;
}

.hospit-section--policy {
  padding-bottom: 88px;
}
.hospit-policy-box {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: 28px;
  align-items: start;
}
.hospit-policy-note {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--hospit-border);
  font-size: 13px;
}

@media (max-width: 960px) {
  .hospit-hero__inner,
  .hospit-two-column,
  .hospit-two-column--reverse,
  .hospit-policy-box {
    grid-template-columns: 1fr;
  }
  .hospit-card-grid--purpose,
  .hospit-featured-list,
  .hospit-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hospit-section__head--split {
    display: block;
  }
}

@media (max-width: 640px) {
  .hospit-container {
    width: min(100% - 28px, 1120px);
  }
  .hospit-hero {
    padding: 54px 0 54px;
  }
  .hospit-section {
    padding: 54px 0;
  }
  .hospit-card-grid--purpose,
  .hospit-featured-list,
  .hospit-latest-grid {
    grid-template-columns: 1fr;
  }
  .hospit-hero__actions {
    display: grid;
  }
  .hospit-hero__brand,
  .hospit-editorial-box,
  .hospit-policy-box {
    padding: 22px;
    border-radius: 20px;
  }
  .siteTitle__logo {
    max-height: 42px;
  }
}

/* =========================================================
   SEO-safe automatic article blocks: popular + latest
========================================================= */
.hospit-section--popular {
  background: #fff;
}
.hospit-section--popular .hospit-section__head--split > p {
  font-size: 14px;
}
.hospit-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.hospit-article-card {
  position: relative;
  border: 1px solid var(--hospit-border);
  border-radius: var(--hospit-radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--hospit-shadow-soft);
}
.hospit-article-card a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none !important;
}
.hospit-article-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--hospit-bg-soft);
}
.hospit-article-card__rank {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--hospit-teal);
  color: #fff;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(37, 50, 56, 0.15);
}
.hospit-article-card__date {
  display: block;
  padding: 16px 18px 0;
  color: var(--hospit-muted);
  font-size: 12px;
}
.hospit-article-card h3 {
  padding: 8px 18px 8px;
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}
.hospit-article-card p {
  padding: 0 18px 20px;
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
}

/* Keep old latest classes compatible if an older template remains cached. */
.hospit-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 960px) {
  .hospit-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hospit-article-grid,
  .hospit-latest-grid {
    grid-template-columns: 1fr;
  }
}


/* HOSPIT header / footer menu polishing */
.globalNavi__list > li > a,
.globalNavi__link,
.menuBtn__navi a {
  font-weight: 700;
}
.globalNavi__list > li > a:hover,
.menuBtn__navi a:hover {
  color: var(--hospit-teal-dark) !important;
}

.footer_navi_menu.hospit-footer-menu {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.3fr;
  gap: 28px;
  float: none;
  width: 100%;
  padding: 36px 0 22px;
  text-align: left;
}
.footer_navi_menu.hospit-footer-menu > div {
  float: none;
  width: auto;
  margin: 0;
}
.hospit-footer-menu h4 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.hospit-footer-menu p,
.hospit-footer-menu li {
  font-size: 13px;
  line-height: 1.8;
}
.hospit-footer-menu p {
  margin: 0 0 10px;
}
.hospit-footer-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hospit-footer-menu li {
  margin: 0 0 8px;
}
.hospit-footer-menu a {
  text-decoration: none;
}
.hospit-footer-menu a:hover {
  text-decoration: underline;
}
.hospit-footer-menu__brand h4 {
  color: var(--hospit-teal-dark);
  font-size: 22px;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .footer_navi_menu.hospit-footer-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }
}
@media (max-width: 560px) {
  .footer_navi_menu.hospit-footer-menu {
    grid-template-columns: 1fr;
    padding: 28px 0 18px;
  }
}

