:root {
  /* Latin glyphs in Inter, Japanese in Noto Sans JP (both Google Fonts, free) */
  --font: "Inter", "Noto Sans JP", sans-serif;
  --navy: #10366B;
  --navy-dark: #0A2447;
  --red: #D71920;
  --sky: #A9C1E3;
  --ink: #1A1A1A;
  --paper: #FFFFFF;
  --mist: #F3F6FA;
  --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
/* clip (not hidden): no scroll container, so sticky/anchors keep working;
   stops reveal translateX / hero zoom from widening the page. */
main { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  line-height: 1.9;
  color: var(--ink);
  background: var(--paper);
  padding-top: var(--header-h);
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.5; margin: 0 0 .6em; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
/* On navy, red is too faint for a focus ring (2.3:1): use white */
.site-footer :focus-visible, .cta-band :focus-visible, .page-hero :focus-visible,
.hero :focus-visible, .skip-link:focus-visible { outline-color: #fff; }

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 48px);
}

.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 200;
  background: var(--navy); color: #fff; padding: 8px 16px;
}
.skip-link:focus { top: 8px; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: var(--paper);
  border-top: 4px solid var(--red);
  box-shadow: 0 1px 0 rgba(16, 54, 107, .1);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font); font-weight: 700; font-size: 1.35rem;
  color: var(--navy); text-decoration: none;
}
.logo-mark { width: 44px; height: auto; flex: none; }
.logo small { font-family: var(--font); font-size: .7rem; font-weight: 500; margin-left: .3em; }
/* no display here: it would override the browser hiding the closed popover on mobile */
.global-nav { gap: clamp(16px, 2.5vw, 36px); }
.global-nav a {
  position: relative; color: var(--navy); text-decoration: none;
  font-size: .95rem; font-weight: 500; padding: 4px 0;
}
.global-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.global-nav a:hover::after, .global-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Mobile menu: a native popover, no JavaScript. The button opens it, Esc and
   the close button shut it, and browsers announce its open/closed state. */
.nav-toggle, .nav-close, .nav-fallback { display: none; }

@media (min-width: 769px) {
  /* Wide screens: undo the browser's popover styles so the nav is always shown.
     Only while closed: an open menu keeps its overlay look (see below). */
  .global-nav[popover]:not(:popover-open) {
    display: flex; position: static; inset: auto; width: auto; height: auto;
    margin: 0; padding: 0; border: 0; overflow: visible; background: none; color: inherit;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; border: 0; background: none;
    color: var(--navy); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 24px; height: 2px; background: currentColor; position: relative;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -8px; }
  .nav-toggle-bars::after { top: 8px; }
  .logo-mark { width: 36px; }
}

/* Open menu: full-screen navy overlay. Not limited to narrow screens, so a menu
   left open while the screen widens (e.g. a tablet rotated) stays usable. */
.global-nav:popover-open {
  position: fixed; inset: 0; width: auto; height: auto; margin: 0; padding: 0; border: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  background: var(--navy); color: #fff;
}
.global-nav:popover-open a { color: #fff; font-size: 1.2rem; }
/* lines up with the open button in the header (4px red rule + centred in 68px) */
.global-nav:popover-open .nav-close {
  display: flex; position: absolute; top: 16px; right: clamp(16px, 5vw, 48px);
  width: 44px; height: 44px; padding: 0; border: 0; background: none;
  color: #fff; cursor: pointer;
}
.nav-close::before, .nav-close::after {
  content: ""; position: absolute; top: 21px; left: 10px; width: 24px; height: 2px;
  background: currentColor;
}
.nav-close::before { transform: rotate(45deg); }
.nav-close::after { transform: rotate(-45deg); }
/* open menu is navy: current-page underline and focus rings go white */
.global-nav:popover-open a::after { background: #fff; }
.global-nav:popover-open :focus-visible { outline-color: #fff; }
/* the page behind the open menu does not scroll */
html:has(.global-nav:popover-open) { overflow: hidden; }

/* Browsers without popover: the menu button jumps to the footer's link list. */
@supports not selector(:popover-open) {
  @media (max-width: 768px) {
    .nav-toggle, .global-nav { display: none; }
    .nav-fallback {
      display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
      color: var(--navy); font-weight: 700; text-decoration: none;
    }
  }
}

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 56px 0 24px; margin-top: 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.footer-name { font-family: var(--font); font-size: 1.2rem; font-weight: 700; margin: 0 0 4px; }
.footer-company p { margin: 0; }
.footer-logo { color: #fff; width: 56px; margin-bottom: 12px; }
.footer-logo .logo-mark { width: 100%; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { color: #fff; text-decoration: none; font-size: .9rem; opacity: .85; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }
.copyright { margin-top: 40px; font-size: .8rem; opacity: .7; }

/* Shared components */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section.alt { background: var(--mist); }
.section-label {
  display: block; color: var(--red); font-size: .8rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px;
}
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: var(--navy); }

.btn {
  display: inline-flex; align-items: center; gap: .6em;
  background: var(--navy); color: #fff; text-decoration: none;
  padding: 14px 32px; font-weight: 700; border: 2px solid var(--navy);
  transition: background .3s, color .3s;
}
.btn::after { content: "→"; display: inline-block; transition: transform .3s ease; }
.btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn:hover::after { transform: translateX(6px); }

.card {
  background: var(--paper); border: 1px solid rgba(16, 54, 107, .12);
  border-top: 3px solid var(--red); padding: 28px;
}

.page-hero {
  min-height: 40vh; display: flex; align-items: center;
  background: var(--navy); color: #fff;
}
.page-hero .section-label { color: var(--sky); }
/* .page-hero-title: same look as the h1, for pages whose h1 is the article title */
.page-hero h1, .page-hero-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.5; margin: 0; }

@media (max-width: 480px) {
  .footer-inner { flex-direction: column; }
}

/* ===== Top page ===== */
/* Hero: full viewport, sits under the fixed header */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100svh;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 8vh) 0 0;
  display: flex; flex-direction: column;
  color: #fff;
  background: var(--navy-dark);
}
/* Navy veil over the photo so the white copy stays readable */
.hero-sky {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 24, 48, .72) 0%, rgba(7, 24, 48, .38) 42%,
      rgba(7, 24, 48, .12) 68%, rgba(7, 24, 48, .55) 100%);
}
.hero-skyline {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 22% 70%;
}
/* Wide screens: the tower stands on the left, so the copy sits on the right */
@media (min-width: 900px) {
  .hero-inner { text-align: right; }
  .hero .hero-inner > * { max-width: 55%; margin-left: auto; }
  .hero-kicker { justify-content: flex-end; }
}
.hero-inner { position: relative; width: 100%; }
.hero-kicker {
  margin: 0 0 1.2rem; color: var(--sky);
  font-size: .8rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  display: flex; align-items: center; gap: 1em;
}
.hero-kicker::before { content: ""; width: 48px; height: 2px; background: var(--red); }
.hero h1 {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 5.5rem); line-height: 1.25; letter-spacing: .04em;
  color: #fff; margin: 0;
  word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance;
  text-shadow: 0 2px 24px rgba(7, 24, 48, .55);
}
.hero-sub {
  margin: 1.2rem 0 0; font-size: clamp(.95rem, 1.6vw, 1.15rem);
  letter-spacing: .18em; color: rgba(255, 255, 255, .85);
}
.scroll-cue {
  position: absolute; left: clamp(16px, 5vw, 48px); bottom: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-size: .7rem; letter-spacing: .3em;
}
.scroll-cue span { writing-mode: vertical-rl; }
.scroll-cue::after {
  content: ""; width: 1px; height: 72px;
  background: linear-gradient(var(--paper), rgba(255, 255, 255, 0));
}

/* About */
.about-grid { display: grid; gap: 24px 64px; }
.lead-text {
  font-family: var(--font); font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 2.1; color: var(--navy); margin: 0 0 2rem;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 2fr; align-items: start; }
}

/* Business cards */
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.biz-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .biz-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .biz-grid { grid-template-columns: repeat(4, 1fr); } }
.biz-card {
  display: flex; flex-direction: column; color: var(--ink); text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(16, 54, 107, .14); }
.biz-num {
  font-family: var(--font); font-weight: 700; color: var(--red);
  font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1; margin-bottom: 20px;
}
.biz-title { font-size: 1.15rem; color: var(--navy); margin: 0 0 4px; }
.biz-en { font-size: .75rem; letter-spacing: .15em; color: var(--red); text-transform: uppercase; }
.biz-summary { font-size: .92rem; margin: 16px 0 24px; flex: 1; }
.biz-more { font-size: .85rem; font-weight: 700; color: var(--navy-dark); }
.biz-more::after { content: " →"; display: inline-block; transition: transform .3s ease; }
.biz-card:hover .biz-more::after { transform: translateX(6px); }

/* Message */
.message-inner { max-width: 880px; }
.message-excerpt {
  margin: 0 0 2rem; padding: 8px 0 8px clamp(20px, 4vw, 40px);
  border-left: 3px solid var(--red);
  font-family: var(--font); font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  line-height: 2; color: var(--navy);
}
.message-excerpt p { margin: 0; }

/* News */
.news-grid { display: grid; gap: 24px 64px; }
@media (min-width: 900px) { .news-grid { grid-template-columns: 1fr 2fr; } }
.news-list { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 1px solid rgba(16, 54, 107, .15); }
.news-list li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px;
  padding: 20px 0; border-bottom: 1px solid rgba(16, 54, 107, .15);
}
.news-list time { font-variant-numeric: tabular-nums; color: var(--navy); font-size: .9rem; letter-spacing: .05em; }
.news-cat {
  font-size: .72rem; font-weight: 700; color: var(--red);
  border: 1px solid var(--red); padding: 0 10px; line-height: 1.8;
}
.news-list a { flex-basis: 100%; color: var(--ink); text-decoration: none; }
.news-list a:hover { color: var(--red); text-decoration: underline; }
@media (min-width: 640px) { .news-list a { flex-basis: auto; flex: 1; } }

/* Contact CTA band */
.cta-band {
  background:
    linear-gradient(100deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff; border-top: 4px solid var(--red);
}
.cta-inner { text-align: center; }
.cta-band .section-label { color: var(--sky); }
.cta-link {
  display: inline-flex; align-items: center; gap: .8em;
  font-family: var(--font); font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.6rem); color: #fff; text-decoration: none;
  padding-bottom: 6px; border-bottom: 2px solid rgba(255, 255, 255, .35);
  transition: border-color .3s;
}
.cta-link::after { content: "→"; transition: transform .3s ease; }
.cta-link:hover { border-color: var(--red); }
.cta-link:hover::after { transform: translateX(8px); }

/* ===== Subpages: company / business / message ===== */
.breadcrumb { padding: 16px 0; font-size: .85rem; color: #555; }
.breadcrumb a { color: var(--navy); }
.philosophy {
  margin: 0; padding: 8px 0 8px clamp(20px, 4vw, 40px);
  border-left: 4px solid var(--red);
  font-family: var(--font); font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.9; color: var(--navy);
}
.philosophy p { margin: 0; }
.name-origin { display: grid; gap: 32px; }
.name-origin p { margin: 0 0 1em; }
@media (min-width: 900px) { .name-origin { grid-template-columns: 1fr 2fr; gap: 64px; } }

.company-table { width: 100%; border-collapse: collapse; background: var(--paper); }
.company-table th, .company-table td {
  padding: 20px 24px; text-align: left; vertical-align: top;
  border-bottom: 1px solid rgba(16, 54, 107, .15);
}
.company-table th { width: 220px; background: var(--mist); color: var(--navy); font-weight: 700; }
.company-table ul { margin: 0; padding-left: 1.2em; }
@media (max-width: 639px) {
  .company-table, .company-table tbody, .company-table tr,
  .company-table th, .company-table td { display: block; width: 100%; }
  .company-table th { padding: 10px 16px; border-bottom: 0; }
  .company-table td { padding: 12px 16px 20px; }
}

.business-list { padding-block: clamp(32px, 6vw, 72px); }
.business-item {
  display: grid; gap: 24px; align-items: center;
  padding: clamp(32px, 5vw, 56px) 0;
  border-bottom: 1px solid rgba(16, 54, 107, .12);
}
.business-visual {
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--sky); min-height: 220px;
}
.business-visual .biz-icon { width: 140px; height: 140px; }
.business-text h2 { color: var(--navy); font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .2em; }
.business-text .biz-num { display: block; color: var(--red); font-family: var(--font); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.business-text .biz-en { display: block; color: #555; letter-spacing: .1em; margin-bottom: 1em; font-size: .9rem; }
.business-text ul { padding-left: 1.2em; margin: 0; }
@media (min-width: 900px) {
  .business-item { grid-template-columns: 1fr 1fr; gap: 64px; }
  .business-item:nth-child(even) .business-visual { order: 2; }
}

.message-layout { display: grid; gap: 32px; }
.message-side { background: var(--navy); overflow: hidden; min-height: 200px; }
.message-side img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; display: block; }
.message-body h2 { color: var(--navy); font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
.signature { margin-top: 2em; text-align: right; font-family: var(--font); }
.signature span { margin-right: 1em; }
.signature strong { font-size: 1.3rem; }
@media (min-width: 900px) {
  .message-layout { grid-template-columns: 280px 1fr; gap: 64px; }
  .message-side { min-height: 480px; }
}

/* Newsroom / Privacy / Contact */
.news-articles { max-width: 760px; }
.news-article { padding: 32px 0; border-bottom: 1px solid rgba(16, 54, 107, .15); }
.news-article:first-child { padding-top: 0; }
.news-meta { display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.news-meta time { font-variant-numeric: tabular-nums; color: var(--navy); letter-spacing: .05em; }
.news-article .news-cat { background: var(--navy-dark); color: #fff; border-color: var(--navy-dark); }
.news-article h2:not(.article-title) { font-size: 1.3rem; color: var(--navy); margin: 0 0 .6rem; }
.news-articles .news-list li { flex-wrap: wrap; }
.news-summary { flex-basis: 100%; margin: .2rem 0 .6rem; color: var(--navy-dark); font-size: .9rem; opacity: .8; }
.news-article .article-title { font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--navy); margin: .4rem 0 1.4rem; }
.article-image { margin: 0 0 1.6rem; }
.article-image img { display: block; max-width: 100%; height: auto; }
.article-body { line-height: 1.95; }
.article-body h2, .article-body h3 { font-family: var(--font); color: var(--navy); margin: 2em 0 .6em; }
.article-body p { margin: 0 0 1.2em; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.6em; }
.article-body blockquote { margin: 1.4em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--sky); }
.article-body a { color: var(--red); text-decoration: underline; }
.article-body img { max-width: 100%; height: auto; }
.press-contact { margin-top: 2.4rem; padding: 20px 24px; background: var(--mist); border-top: 3px solid var(--red); }
.press-contact h3 { font-size: 1rem; margin: 0 0 .5em; color: var(--navy); }
.press-contact p { margin: 0; }
.article-back { margin-top: 2rem; }
.policy { max-width: 760px; line-height: 1.95; }
.policy h2 { font-size: 1.15rem; color: var(--navy); margin: 2.4rem 0 .6rem; padding-left: 12px; border-left: 3px solid var(--red); }
.policy-sign { margin-top: 3rem; text-align: right; }
.contact { max-width: 760px; line-height: 1.95; }
.contact-info { display: grid; grid-template-columns: 1fr; gap: 4px 24px; margin: 2rem 0; padding: 24px; background: var(--mist); border-top: 3px solid var(--red); }
.contact-info dt { font-weight: 700; color: var(--navy); }
.contact-info dd { margin: 0 0 12px; }
@media (min-width: 640px) {
  .contact-info { grid-template-columns: 8em 1fr; }
  .contact-info dd { margin: 0; }
}
.contact-sub { font-size: 1.1rem; color: var(--navy); margin-top: 2.5rem; }
.contact-cats { padding-left: 1.2rem; }
.contact-note { font-size: .9rem; margin-top: 2rem; }
.btn.is-disabled { opacity: .55; cursor: not-allowed; }
.btn.is-disabled:hover { background: var(--navy); border-color: var(--navy); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
