:root {
  --navy: #071a2f;
  --navy-soft: #0c2945;
  --ink: #102234;
  --muted: #647485;
  --paper: #f4f7f9;
  --white: #ffffff;
  --line: rgba(7, 26, 47, .12);
  --copper: #bd7d45;
  --copper-light: #e6b887;
  --teal: #2b8b8d;
  --shadow: 0 24px 70px rgba(4, 19, 34, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.skip-link { position: fixed; top: 0; left: 0; transform: translateY(-120%); z-index: 100; background: #fff; padding: .8rem 1rem; }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.header-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; font-weight: 700; letter-spacing: .03em; }
.brand-mark { width: 54px; height: 44px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,.12)); }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy small { margin-top: 5px; color: rgba(255,255,255,.62); font-size: .68rem; font-weight: 500; letter-spacing: .16em; }
.nav { display: flex; align-items: center; gap: 28px; font-size: .9rem; }
.nav a { color: rgba(255,255,255,.78); transition: color .2s; }
.nav a:hover, .nav a:focus-visible { color: #fff; }
.nav .nav-cta { padding: 10px 17px; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; }
.menu-toggle { display: none; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 8px 13px; }

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 15%, rgba(43,139,141,.38), transparent 33%),
    linear-gradient(122deg, #06172a 0%, #0a2945 70%, #0c3548 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.hero::after {
  content: ""; position: absolute; width: 480px; height: 480px; right: -120px; bottom: -180px;
  border: 1px solid rgba(230,184,135,.25); border-radius: 50%; box-shadow: 0 0 0 80px rgba(230,184,135,.035), 0 0 0 160px rgba(230,184,135,.025);
}
.hero-inner { position: relative; z-index: 2; padding: 190px 0 100px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 72px; }
.eyebrow { margin: 0 0 22px; color: var(--copper-light); text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; font-weight: 700; }
.hero h1 { margin: 0; max-width: 680px; font-size: clamp(2.65rem, 5.4vw, 5.1rem); font-weight: 600; line-height: 1.08; letter-spacing: -.04em; }
.hero h1 span { color: var(--copper-light); }
.hero-lead { max-width: 610px; margin: 30px 0 38px; color: rgba(255,255,255,.76); font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: .92rem; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--copper-light); color: var(--navy); }
.button-secondary { color: #fff; border: 1px solid rgba(255,255,255,.35); }
.hero-panel { position: relative; padding: 32px; border: 1px solid rgba(255,255,255,.16); border-radius: 28px; background: rgba(255,255,255,.07); backdrop-filter: blur(16px); box-shadow: 0 28px 80px rgba(0,0,0,.22); }
.hero-panel::before { content: ""; position: absolute; top: 0; left: 32px; width: 68px; height: 3px; background: var(--copper-light); }
.hero-panel-logo { display: grid; place-items: center; min-height: 154px; margin: -10px 0 20px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.96); }
.hero-panel-logo img { width: 170px; height: 142px; object-fit: contain; }
.hero-panel p { margin: 0 0 18px; color: rgba(255,255,255,.62); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-list { margin: 0; padding: 0; list-style: none; display: grid; }
.hero-list li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.hero-list li:last-child { border-bottom: 0; }
.hero-list span { color: rgba(255,255,255,.58); font-size: .82rem; }

.trust-strip { position: relative; z-index: 3; margin-top: -44px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.trust-item { padding: 26px 30px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; margin-bottom: 4px; color: var(--navy); font-size: 1rem; }
.trust-item span { color: var(--muted); font-size: .82rem; }

.section { padding: 116px 0; }
.section-soft { background: var(--paper); }
.section-head { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: end; margin-bottom: 52px; }
.kicker { margin: 0 0 12px; color: var(--teal); font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h2 { margin: 0; color: var(--navy); font-family: Georgia, "Yu Mincho", serif; font-size: clamp(2rem, 3.8vw, 3.5rem); font-weight: 500; line-height: 1.2; letter-spacing: -.03em; }
.section-head > p { margin: 0; color: var(--muted); }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 360px; padding: 38px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.service-card.dark { color: #fff; background: var(--navy); border-color: transparent; }
.service-num { color: var(--copper); font-family: Georgia, serif; font-size: .9rem; }
.service-card h3 { margin: 52px 0 14px; font-size: 1.55rem; line-height: 1.35; }
.service-card p { max-width: 520px; color: var(--muted); }
.service-card.dark p { color: rgba(255,255,255,.66); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tag { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; color: var(--muted); }
.dark .tag { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.7); }

.promise { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.promise-visual { position: relative; min-height: 480px; border-radius: 28px; overflow: hidden; background: linear-gradient(145deg, var(--navy-soft), #174457); }
.promise-visual img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.promise-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,26,47,.65), transparent 60%); }
.promise-badge { position: absolute; z-index: 2; left: 26px; bottom: 26px; width: 150px; height: 150px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; text-align: center; font-family: Georgia, serif; font-size: .92rem; line-height: 1.45; background: rgba(7,26,47,.35); backdrop-filter: blur(8px); }
.promise-copy p { color: var(--muted); }
.principles { margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.principles b { color: var(--copper); font-family: Georgia, serif; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.process-card { padding: 30px; border-top: 2px solid var(--copper); background: #fff; }
.process-card span { color: var(--teal); font-size: .74rem; font-weight: 800; letter-spacing: .15em; }
.process-card h3 { margin: 14px 0 8px; color: var(--navy); font-size: 1.08rem; }
.process-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.cta { padding: 0 0 100px; background: var(--paper); }
.cta-box { position: relative; overflow: hidden; padding: 70px; border-radius: 30px; color: #fff; background: var(--navy); }
.cta-box::after { content: "M&H"; position: absolute; right: -16px; bottom: -65px; color: rgba(255,255,255,.04); font-family: Georgia, serif; font-size: 13rem; line-height: 1; }
.cta-box h2 { max-width: 760px; color: #fff; }
.cta-box p { max-width: 620px; margin: 22px 0 30px; color: rgba(255,255,255,.68); }
.cta-box .button { position: relative; z-index: 2; }

.footer { padding: 54px 0 34px; color: rgba(255,255,255,.68); background: #04111f; }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.footer .brand { color: #fff; }
.footer .brand-mark { background: rgba(255,255,255,.94); border-radius: 10px; padding: 4px; }
.footer-note { max-width: 420px; margin: 20px 0 0; font-size: .84rem; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 28px; font-size: .82rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .75rem; }

.subpage-header { position: relative; color: #fff; background: var(--navy); }
.subpage-header .site-header { position: relative; }
.page-hero { padding: 82px 0 76px; background: radial-gradient(circle at 80% 20%, rgba(43,139,141,.28), transparent 36%); }
.page-hero h1 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(2.5rem, 5vw, 4.8rem); font-weight: 500; line-height: 1.15; }
.page-hero p { margin: 16px 0 0; color: rgba(255,255,255,.66); }
.page-content { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 86px 0 110px; }
.page-content h2 { margin-top: 55px; padding-top: 34px; border-top: 1px solid var(--line); font-family: inherit; font-size: 1.45rem; font-weight: 700; letter-spacing: 0; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { margin-top: 34px; color: var(--navy); }
.page-content p, .page-content li { color: #46596b; }
.page-content dl { display: grid; grid-template-columns: 180px 1fr; margin: 0; border-top: 1px solid var(--line); }
.page-content dt, .page-content dd { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
.page-content dt { color: var(--muted); }
.notice { margin: 30px 0; padding: 22px 24px; border-left: 3px solid var(--copper); background: var(--paper); }

@media (max-width: 820px) {
  .shell { width: min(100% - 28px, 680px); }
  .header-inner { height: 72px; }
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 14px; right: 14px; display: none; padding: 20px; background: #0b2944; border: 1px solid rgba(255,255,255,.15); border-radius: 16px; box-shadow: var(--shadow); }
  .nav.open { display: grid; }
  .hero { min-height: auto; }
  .hero-inner { padding: 145px 0 105px; grid-template-columns: 1fr; gap: 44px; }
  .hero-panel { padding: 24px; }
  .trust-strip { margin-top: -28px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 20px 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 82px 0; }
  .section-head, .promise { grid-template-columns: 1fr; gap: 28px; }
  .service-grid, .process-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 30px; }
  .service-card h3 { margin-top: 34px; }
  .promise-visual { min-height: 360px; }
  .cta-box { padding: 42px 28px; }
  .footer-top { grid-template-columns: 1fr; }
  .page-content dl { grid-template-columns: 1fr; }
  .page-content dt { padding-bottom: 3px; border-bottom: 0; font-size: .82rem; }
  .page-content dd { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Keep language choices visible on both desktop and mobile. */
.header-inner { height: auto; min-height: 112px; flex-wrap: wrap; gap: 12px 24px; padding-top: 15px; padding-bottom: 12px; }
.language-switch { flex: 0 0 100%; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; font-size: .875rem; line-height: 1.4; }
.language-switch a { padding: 8px 11px; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; color: #fff; }
.language-switch a[aria-current="page"] { background: #fff; color: var(--navy); font-weight: 700; }
.language-switch a:focus-visible, .locale-contact a:focus-visible { outline: 3px solid var(--copper-light); outline-offset: 3px; }
.locale-contact { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0; color: var(--ink); font-size: .94rem; }
.page-content .locale-contact { width: 100%; }
.locale-contact a, .translation-note a { text-decoration: underline; text-underline-offset: 3px; }
.translation-note { padding: 16px 20px; border-left: 3px solid var(--teal); background: var(--paper); font-size: .94rem; }
html:not([lang="ja"]) body { font-family: Arial, "Noto Sans JP", sans-serif; }
html:not([lang="ja"]) .hero h1 { font-size: clamp(2.3rem, 4.8vw, 4.5rem); line-height: 1.12; letter-spacing: -.025em; }
html:not([lang="ja"]) .hero-list li { flex-wrap: wrap; gap: 3px 12px; }
html:not([lang="ja"]) .page-hero h1 { overflow-wrap: anywhere; }
html:not([lang="ja"]) .promise-badge { width: 160px; height: 160px; }
@media (max-width: 1000px) {
  .header-inner > .nav { gap: 16px; font-size: .875rem; }
}
@media (max-width: 820px) {
  .header-inner { min-height: 128px; padding-top: 12px; gap: 10px; }
  .language-switch { justify-content: flex-start; }
  .language-switch a { min-height: 42px; display: inline-flex; align-items: center; }
  .nav { top: 128px; }
  .hero-inner { padding-top: 180px; }
  .brand-copy { font-size: .9rem; }
  .brand { gap: 8px; }
  html[lang="es-MX"] .hero h1 { font-size: clamp(2.15rem, 8vw, 3.2rem); }
}
@media (max-width: 380px) {
  .language-switch { font-size: .8125rem; gap: 4px; }
  .language-switch a { padding: 7px 9px; }
  .brand-mark { width: 38px; height: 36px; }
}
