/* Shared upload-ready layout system */
:root {
  --site-max: 1240px;
  --site-gutter: clamp(48px, 6vw, 86px);
  --hero-size: 620px;
  --section-xl: 112px;
  --section-lg: 96px;
  --section-md: 72px;
  --section-sm: 56px;
  --accent-red: #A6192E;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.wrap {
  width: min(calc(100% - (var(--site-gutter) * 2)), var(--site-max)) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.header-in {
  min-height: 78px;
  padding: 0 var(--site-gutter) !important;
}

.logo-lockup {
  gap: 14px;
}

.site-logo {
  display: block;
  width: auto;
  height: 43px;
  object-fit: contain;
}

nav ul {
  gap: 22px;
  align-items: center;
}

nav a,
.contact-link {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

nav a::after {
  background: var(--accent-red) !important;
  height: 2px !important;
}

nav a.active::after,
nav a:hover::after {
  background: var(--accent-red) !important;
}

.hero-band {
  position: relative;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.hero-band h1 {
  color: var(--white);
  margin-top: 0 !important;
}

.hero,
.hero-band {
  height: var(--hero-size) !important;
  min-height: var(--hero-size) !important;
  max-height: var(--hero-size) !important;
}

.page-home .hero {
  height: 100vh !important;
  height: 100svh !important;
  min-height: 100vh !important;
  min-height: 100svh !important;
  max-height: none !important;
}

.hero-content,
.hero-in,
.hero-band .wrap {
  width: min(calc(100% - (var(--site-gutter) * 2)), var(--site-max)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 74px !important;
}

.hero h1,
.hero-band h1 {
  font-size: 58px !important;
  line-height: 1.06 !important;
  max-width: 820px;
  letter-spacing: 0 !important;
}

.section,
.phil-section {
  padding-top: var(--section-lg) !important;
  padding-bottom: var(--section-lg) !important;
}

.about,
.lead-section {
  padding-top: var(--section-xl) !important;
  padding-bottom: var(--section-xl) !important;
}

.biz-band,
.vm-dark {
  padding-top: var(--section-lg) !important;
  padding-bottom: var(--section-lg) !important;
}

.team-roster-section {
  padding-top: var(--section-md) !important;
  padding-bottom: var(--section-lg) !important;
}

.head {
  max-width: 760px;
  margin-bottom: 52px;
}

.head h2 {
  font-size: 42px !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

.intro-reg {
  max-width: 680px;
}

.stat-footnote,
.stat-foot,
.track-foot,
.flagship-foot {
  text-align: right;
}

.contact-drawer {
  right: 0 !important;
  width: min(440px, 100vw) !important;
  max-width: calc(100vw - 24px) !important;
  transform: none !important;
  clip-path: inset(0 0 0 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: clip-path .35s cubic-bezier(.4, 0, .2, 1), opacity .25s ease !important;
}

.contact-drawer.open {
  transform: none !important;
  clip-path: inset(0 0 0 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-backdrop:not(.open) {
  visibility: hidden;
}

.japan-outline-map {
  max-width: 390px !important;
}

.japan-outline-map .land path,
.japan-outline-map .land circle {
  fill: #F2F2F0 !important;
  stroke: #B9B9B9;
  stroke-width: 0.8;
}

.hub-dots circle {
  r: 3.6px;
  stroke: var(--white);
  stroke-width: 1.2;
}

.hub-layout {
  gap: 72px !important;
}

.footer-logo {
  display: block;
  width: auto;
  height: 52px;
  object-fit: contain;
}

.stat-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.stat-actions .stat-footnote {
  margin-top: 0 !important;
  text-align: right;
}

.stat-know-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border: 1px solid var(--black);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.stat-know-more:hover {
  background: var(--black);
  color: var(--white);
}

footer .foot-grid {
  grid-template-columns: minmax(260px, 1.7fr) repeat(5, minmax(130px, 1fr)) !important;
  gap: clamp(24px, 3vw, 38px) !important;
  align-items: start;
}

footer .foot-grid p {
  margin-top: 18px;
  max-width: 34ch;
  color: var(--grey-3);
  font-size: 0.86rem;
  line-height: 1.65;
}

footer .foot-grid ul {
  margin: 0;
  padding: 0;
}

footer .foot-grid li {
  line-height: 1.45;
}

.foot-brand-copy {
  color: var(--grey-3);
}

.foot-address {
  margin-top: 22px;
  color: var(--grey-4);
  font-size: 0.78rem;
  line-height: 1.55;
}

.foot-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.foot-bottom a {
  color: var(--grey-3);
  border-bottom: 1px solid rgba(255,255,255,0.26);
  padding-bottom: 2px;
}

.foot-bottom a:hover {
  color: var(--white);
  border-color: var(--white);
}

.foot-social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-3);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  padding: 0;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.foot-social a:hover {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}

.social-icon-linkedin {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.social-icon-globe {
  position: relative;
  width: 17px;
  height: 17px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.social-icon-globe::before,
.social-icon-globe::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.social-icon-globe::before {
  inset: 2px 5px;
  border-left: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  border-radius: 50%;
}

.social-icon-globe::after {
  left: 2px;
  right: 2px;
  top: 50%;
  border-top: 1.5px solid currentColor;
  transform: translateY(-50%);
}

.foot-bottom {
  align-items: flex-start;
}

.foot-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-end;
}

.legal-hero {
  padding-top: 168px;
  padding-bottom: 72px;
  background: var(--black);
  color: var(--white);
}

.legal-hero h1 {
  margin-top: 14px;
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.1;
}

.legal-content {
  background: var(--white);
  color: var(--ink);
}

.legal-wrap {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: start;
}

.legal-meta {
  color: var(--grey-5);
  font-size: 0.78rem;
  line-height: 1.7;
}

.legal-body {
  max-width: 860px;
}

.legal-body h2 {
  margin-top: 42px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.25;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  color: var(--grey-6);
  font-size: 0.96rem;
  line-height: 1.75;
}

.legal-body p {
  margin-top: 14px;
}

.legal-body ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.legal-body a {
  color: var(--black);
  border-bottom: 1px solid var(--grey-3);
}

.legal-consent-button {
  margin-top: 10px;
  padding: 13px 22px;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
}

.legal-consent-button:hover,
.legal-consent-button:focus-visible {
  background: var(--grey-6);
  outline: none;
}

.cookie-consent {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 10050;
  display: none;
  color: var(--ink);
}

.cookie-consent.open {
  display: block;
}

.cookie-consent-panel {
  max-width: 1180px;
  margin: 0 auto;
  background: rgba(255,255,255,0.98);
  border: 1px solid var(--grey-2);
  box-shadow: 0 24px 70px rgba(0,0,0,0.24);
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.cookie-consent h2 {
  font-family: 'Noto Serif', serif;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}

.cookie-consent p {
  margin-top: 8px;
  color: var(--grey-6);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 78ch;
}

.cookie-consent a {
  border-bottom: 1px solid var(--grey-3);
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-consent button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
}

.cookie-consent button:hover,
.cookie-consent button:focus-visible {
  background: var(--grey-1);
  outline: none;
}

.cookie-consent .cookie-primary {
  background: var(--black);
  color: var(--white);
}

.cookie-consent .cookie-primary:hover,
.cookie-consent .cookie-primary:focus-visible {
  background: var(--grey-6);
}

.cookie-consent-preferences {
  display: none;
  grid-column: 1 / -1;
  border-top: 1px solid var(--grey-2);
  padding-top: 18px;
}

.cookie-consent.manage .cookie-consent-preferences {
  display: grid;
  gap: 12px;
}

.cookie-choice {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--grey-2);
}

.cookie-choice:last-child {
  border-bottom: 0;
}

.cookie-choice strong {
  display: block;
  font-size: 0.92rem;
}

.cookie-choice span {
  display: block;
  margin-top: 3px;
  color: var(--grey-5);
  font-size: 0.78rem;
  line-height: 1.45;
}

.cookie-choice input {
  width: 20px;
  height: 20px;
  accent-color: var(--black);
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  :root {
    --site-gutter: 32px;
    --hero-size: 560px;
    --section-xl: 96px;
    --section-lg: 80px;
    --section-md: 64px;
  }

  nav ul {
    gap: 16px;
  }

  nav a,
  .contact-link {
    font-size: 0.68rem;
  }

  footer .foot-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .cookie-consent-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cookie-consent-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  :root {
    --site-gutter: 22px;
    --hero-size: 450px;
    --section-xl: 72px;
    --section-lg: 64px;
    --section-md: 56px;
    --section-sm: 40px;
  }

  html,
  body,
  header,
  main {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .header-in {
    min-height: 72px;
    position: relative;
    width: 100vw !important;
    max-width: 100vw !important;
    padding-left: var(--site-gutter) !important;
    padding-right: var(--site-gutter) !important;
  }

  .header-cta {
    position: absolute;
    top: 50%;
    right: var(--site-gutter);
    transform: translateY(-50%);
    display: flex !important;
    align-items: center;
    gap: 10px !important;
    margin-left: auto;
  }

  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-consent-panel {
    padding: 18px;
    gap: 16px;
  }

  .cookie-consent-actions,
  .cookie-consent button {
    width: 100%;
  }

  .cookie-consent-actions {
    flex-direction: column;
  }

  .cookie-choice {
    align-items: flex-start;
    gap: 16px;
  }

  .contact-link {
    width: 38px;
    height: 38px;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--black);
    background: var(--white);
    color: var(--black) !important;
    font-size: 0 !important;
    letter-spacing: 0 !important;
    overflow: hidden;
  }

  .contact-link svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
  }

  .nav-toggle {
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 0 !important;
    border: 1px solid var(--black) !important;
    background: var(--white) !important;
  }

  .nav-toggle span {
    background: var(--black) !important;
  }

  .site-logo {
    height: 34px;
  }

  .hero h1,
  .hero-band h1 {
    font-size: 40px !important;
  }

  .page-home .hero-content {
    max-width: calc(100vw - (var(--site-gutter) * 2)) !important;
    overflow: hidden;
  }

  .page-home .hero,
  .hero-band {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: hidden;
  }

  .page-home .hero h1 {
    font-size: 34px !important;
    line-height: 1.08 !important;
    max-width: 10.5ch !important;
  }

  .page-home .hero-sub {
    max-width: 28ch !important;
    font-size: 0.95rem !important;
  }

  .page-home .eyebrow {
    display: block;
    max-width: 31ch;
    white-space: normal !important;
    font-size: 0.58rem !important;
    letter-spacing: 0.12em !important;
    line-height: 1.45;
  }

  .section,
  .about,
  .biz-band,
  .phil-section,
  .vm-dark,
  .lead-section {
    padding-top: var(--section-lg) !important;
    padding-bottom: var(--section-lg) !important;
  }

  .hero-content,
  .hero-in,
  .hero-band .wrap {
    padding-bottom: 52px !important;
  }

  .stat-actions {
    justify-content: flex-start;
  }

  .stat-actions .stat-footnote {
    text-align: left;
  }

  footer .foot-grid {
    grid-template-columns: 1fr !important;
  }

  .foot-bottom {
    flex-direction: column;
  }

  .foot-bottom-links {
    justify-content: flex-start;
  }

  .legal-hero {
    padding-top: 132px;
    padding-bottom: 56px;
  }

  .legal-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
