/* ============================================================
   HGHC 共通スタイルシート
   Harbor Gate Healthcare Consulting Inc.
   ============================================================ */

:root {
  --navy: #0d1f3c;
  --navy-mid: #1a3258;
  --navy-light: #243d6a;
  --gold: #b8954a;
  --gold-light: #d4af72;
  --gold-pale: #f0e8d4;
  --gold-on-navy: #e8c87a;
  --cream: #faf8f4;
  --gray-50: #f6f5f2;
  --gray-100: #e8e6e1;
  --gray-400: #9a9590;
  --gray-600: #5a5550;
  --gray-800: #2a2825;
  --white: #ffffff;
  --serif-en: 'Cormorant Garamond', serif;
  --serif-jp: 'Noto Serif JP', serif;
  --sans-jp: 'Noto Sans JP', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans-jp);
  font-weight: 300;
  color: var(--gray-800);
  background: var(--cream);
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(13, 31, 60, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(232,200,122,0.25);
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-logo-text { display: flex; flex-direction: column; gap: 1px; }

.header-logo-abbr {
  font-family: var(--serif-en);
  font-size: 20px;
  font-weight: 500;
  color: var(--gold-on-navy);
  letter-spacing: 0.15em;
  line-height: 1;
}

.header-logo-name {
  font-family: var(--sans-jp);
  font-size: 10px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  line-height: 1;
}

nav.desktop-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

nav.desktop-nav a {
  font-family: var(--sans-jp);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.25s;
}

nav.desktop-nav a:hover,
nav.desktop-nav a.active { color: var(--gold-on-navy); }

nav.desktop-nav a.active {
  border-bottom: 1px solid rgba(232,200,122,0.5);
  padding-bottom: 2px;
}

.nav-contact {
  color: var(--gold-on-navy) !important;
  border: 1px solid rgba(232,200,122,0.45);
  padding: 7px 18px;
  border-radius: 1px;
  transition: background 0.25s, color 0.25s !important;
}

.nav-contact:hover {
  background: var(--gold) !important;
  color: var(--white) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: rgba(255,255,255,0.8);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(10, 20, 45, 0.98);
  backdrop-filter: blur(12px);
  z-index: 199;
  padding: 24px 6vw 32px;
  flex-direction: column;
  border-bottom: 1px solid rgba(232,200,122,0.2);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--gold-on-navy); }

.mobile-nav-contact {
  margin-top: 16px;
  background: var(--gold);
  color: var(--white) !important;
  text-align: center;
  padding: 14px !important;
  border-radius: 1px;
  border-bottom: none !important;
  font-weight: 500 !important;
}

/* ── PAGE HERO（内部ページ用、小さいヒーロー） ── */
.page-hero {
  background: var(--navy);
  padding: 120px 6vw 72px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.34) saturate(0.72);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,31,60,0.88) 42%, rgba(13,31,60,0.68) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-label {
  font-family: var(--serif-en);
  font-size: 11px;
  color: var(--gold-on-navy);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.page-hero-label::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold-on-navy);
}

.page-hero-title {
  font-family: var(--serif-jp);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 16px;
}

.page-hero-title em { font-style: normal; color: var(--gold-on-navy); }

.page-hero-desc {
  font-size: clamp(14px, 1.8vw, 16px);
  color: rgba(255,255,255,0.76);
  max-width: 560px;
  line-height: 2;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 12px 6vw;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-400);
}

.breadcrumb a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--gold); }

.breadcrumb-sep { color: var(--gray-100); }

.breadcrumb-current { color: var(--navy); }

/* ── SECTION COMMON ── */
section { padding: 96px 6vw; }

.section-label {
  font-family: var(--serif-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label-dark { color: #7d612b; }
.section-label-dark::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: #7d612b;
}

.section-label-light { color: #f0d68a; }
.section-label-light::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: #f0d68a;
}

.section-title {
  font-family: var(--serif-jp);
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 48px;
}

.section-title em { font-style: normal; color: var(--gold); }
.section-title-light { color: var(--white) !important; }
.section-title-light em { color: var(--gold-on-navy) !important; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--navy-mid);
  padding: 80px 6vw;
  text-align: center;
}

.cta-banner-title {
  font-family: var(--serif-jp);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  line-height: 2;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--white);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  padding: 16px 44px;
  text-decoration: none;
  border-radius: 1px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--gold-on-navy);
  font-size: 14px;
  letter-spacing: 0.1em;
  padding: 14px 36px;
  text-decoration: none;
  border: 1px solid var(--gold-on-navy);
  border-radius: 1px;
  transition: background 0.3s, color 0.3s;
}

.btn-outline:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 52px 6vw 32px;
  border-top: 1px solid rgba(232,200,122,0.12);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo-abbr {
  font-family: var(--serif-en);
  font-size: 20px;
  font-weight: 500;
  color: var(--gold-on-navy);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.footer-logo-name {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.9;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.9;
  margin-top: 14px;
  max-width: 300px;
}

.footer-nav-title {
  font-family: var(--serif-en);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-on-navy);
  margin-bottom: 16px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.04em;
}

.footer-nav-list a:hover { color: var(--gold-on-navy); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}


.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ── FADE IN ── */
.fade-in {
  opacity: 1;
  transform: none;
  transition: none;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav.desktop-nav { gap: 18px; }
  nav.desktop-nav a { font-size: 12px; }
}

@media (max-width: 900px) {
  nav.desktop-nav { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  section { padding: 72px 5vw; }
  .cta-banner { padding: 64px 5vw; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 100px 5vw 56px; }
}
