/* ═══════════════════════════════════════════════════════
   Maison Gaspard GK — shared stylesheet
   Brand: red #b83334  navy #223a57  navy-deep #162438
   ═══════════════════════════════════════════════════════ */

/* ── FONTS ── */
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/raleway-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Raleway'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('/fonts/raleway-latin-it.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Cormorant Garamond: file-name swap — cormorant-latin.woff2 is italic cut, cormorant-latin-it.woff2 is roman cut */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 500; font-display: swap; src: url('/fonts/cormorant-latin-it.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 500; font-display: swap; src: url('/fonts/cormorant-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Noto Serif JP */
@font-face { font-family: 'Noto Serif JP'; font-style: normal; font-weight: 200; font-display: swap; src: url('/fonts/noto-serif-jp-200.ttf') format('truetype'); }
@font-face { font-family: 'Noto Serif JP'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/noto-serif-jp-300.ttf') format('truetype'); }
@font-face { font-family: 'Noto Serif JP'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/noto-serif-jp-400.ttf') format('truetype'); }

/* ── VARIABLES ── */
:root {
  --red:        #b83334;
  --red-dark:   #8f1f20;
  --navy:       #223a57;
  --navy-deep:  #162438;
  --white:      #ffffff;
  --cream:      #f5f2ec;
  --ink:        #1c1c1e;
  --tile-w:     72px;
  --nav-pr:     calc(var(--tile-w) + 2rem);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Cormorant Garamond', 'Noto Serif JP', Georgia, serif; color: var(--ink); background: var(--cream); overflow-x: hidden; position: relative; }

/* Structured-data elements use Noto Serif JP on all pages — avoids font
   mixing when Japanese terms (Gōdō Kaisha, 合同会社…) appear in English text.
   More-specific rules (.legal-content dt, .company-table th) still win. */
dd, dt, td, th { font-family: 'Noto Serif JP', serif; }

/* Japanese pages: prose elements also use Noto Serif JP */
html[lang="ja"] p,
html[lang="ja"] address,
html[lang="ja"] li { font-family: 'Noto Serif JP', serif; }

/* ════════════════════════════════════════
   BORDER STRIPS

   Left border: position: absolute on body, full page height, z-2.

   Right borders — two mechanisms, same visual result:

   • .hero and .page-hero: pseudo-elements already taken (gradient + diagonal
     slice), so DOM elements are added by the Hugo template. Always cream bg.
       z-2  .border-right-bg   — cream solid strip
       z-3  .border-right      — tile pattern
       z-5  .border-right-cover — 4 px navy-deep, hides left-edge SVG artifact

   • .section--navy in content: CSS pseudo-elements (no JS, no content changes).
     ::before = cream/white bg + 4 px navy-deep cover, via gradient.
     ::after  = tile pattern.
     Sibling selector auto-picks white when .section--white precedes the navy.
   ════════════════════════════════════════ */

/* Left border — single continuous strip spanning the full page */
.border-left {
  position: absolute;
  top: 0; left: -1px;
  width: var(--tile-w);
  height: 100%;
  background-image: url('/img/border-one-tile-2.svg');
  background-repeat: repeat-y;
  background-size: var(--tile-w) auto;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 2;
}

/* Right borders — identical ::before on all three navy section types.
   Multi-layer background: tile on top, then cover+bg gradient below.
   transform: scaleX(-1) mirrors both layers together.
   After mirroring, "to left" gradient → navy-deep ends up on the screen-left
   edge of the strip, hiding the SVG left-edge artifact. */
.hero::before,
.page-hero::before,
.section--navy::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: var(--tile-w);
  background:
    url('/img/border-one-tile-2.svg') 0 0 / var(--tile-w) auto repeat-y,
    linear-gradient(to left, var(--navy-deep) 4px, var(--cream) 4px);
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 2;
}
/* White bg when immediately preceded by a white section */
.section--white + .section--navy::before {
  background:
    url('/img/border-one-tile-2.svg') 0 0 / var(--tile-w) auto repeat-y,
    linear-gradient(to left, var(--navy-deep) 4px, #fff 4px);
}

/* ════════════════════════════════════════
   NAV
   ════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  padding: 1.75rem 2rem 1.75rem 2rem;
  padding-right: var(--nav-pr);
  transition: background 0.5s, padding 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(22, 36, 56, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 1rem;
  padding-bottom: 1rem;
  box-shadow: 0 1px 0 rgba(255,255,255,0.07), 0 4px 32px rgba(0,0,0,0.3);
}

.nav-brand { flex-shrink: 0; display: block; }
.nav-logo { height: 28px; width: auto; opacity: 0.92; transition: opacity 0.2s; display: block; }
.nav-logo:hover { opacity: 1; }

.nav-menu {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.1rem;
}

.nav-link {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.8rem;
  transition: color 0.2s;
  white-space: nowrap;
}
html[lang="ja"] .nav-link { font-family: 'Noto Serif JP', serif; letter-spacing: 0.04em; text-transform: none; font-size: 0.78rem; }
.nav-link:hover { color: #fff; }
.nav-link.active { color: #fff; border-bottom: 2px solid var(--red); }

.nav-lang {
  flex-shrink: 0;
  margin-left: 1.2rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.42rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.28);
  transition: color 0.2s, border-color 0.2s;
}
.nav-lang:hover { color: #fff; border-color: rgba(255,255,255,0.7); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
  z-index: 210;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.82);
  transition: transform 0.28s, opacity 0.28s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════
   HERO (home page, full-screen)
   z-index: 3 so it sits above the left border (z-2)
   but below the right border strips (z-4, 5, 6).
   ════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  background:
    radial-gradient(ellipse 65% 55% at 18% 65%, rgba(184,51,52,0.12) 0%, transparent 60%),
    var(--navy-deep);
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 2rem 10rem;
}
/* Diagonal cream slice into next section. z-index 3 keeps it above the border ::before (z-2). */
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 3;
  height: 120px;
  background: var(--cream);
  clip-path: polygon(80px 100%, 100% 35%, 100% 100%);
}

.hero-content { position: relative; z-index: 1; text-align: center; max-width: 920px; }

.hero-logo {
  display: block;
  width: min(500px, 80vw);
  margin: 0 auto 2.75rem;
  opacity: 0;
  animation: riseIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}
.hero-rule {
  width: 48px; height: 2px;
  background: var(--red);
  margin: 0 auto 2rem;
  opacity: 0;
  animation: fadeIn 0.8s ease 0.9s both;
}
.hero-tagline {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: clamp(0.78rem, 2.2vw, 1rem);
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 0.9s ease 1.1s both;
}
html[lang="ja"] .hero-tagline {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: clamp(0.95rem, 2.6vw, 1.25rem);
  line-height: 1.7;
}
.hero-sub {
  margin-top: 1.5rem;
  font-size: clamp(0.85rem, 1.6vw, 0.95rem);
  color: rgba(255,255,255,0.5);
  line-height: 1.9;
  max-width: 580px;
  margin-left: auto; margin-right: auto;
  opacity: 0;
  animation: fadeIn 0.9s ease 1.3s both;
}
html[lang="ja"] .hero-sub {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(0.82rem, 1.5vw, 0.92rem);
  line-height: 2.1;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  opacity: 0;
  animation: fadeIn 0.9s ease 1.55s both;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 4rem; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  opacity: 0;
  animation: fadeIn 0.8s ease 2s both;
}
.scroll-cue-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.scroll-cue-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollPulse 2.2s ease-in-out 2.5s infinite;
}

/* ════════════════════════════════════════
   PAGE HERO (interior pages)
   z-index: 3 — same as .hero
   ════════════════════════════════════════ */
.page-hero {
  background:
    radial-gradient(ellipse 50% 80% at 10% 110%, rgba(184,51,52,0.09) 0%, transparent 55%),
    var(--navy-deep);
  position: relative;
  z-index: 3;
  padding: 9rem 2rem 6.5rem;
  padding-right: var(--nav-pr);
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  background: var(--cream);
  clip-path: polygon(80px 100%, 100% 32%, 100% 100%);
  z-index: 3;
}
.page-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}
html[lang="ja"] .breadcrumb { font-family: 'Noto Serif JP', serif; letter-spacing: 0.03em; text-transform: none; font-size: 0.72rem; }
.breadcrumb a { color: rgba(255,255,255,0.38); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.65); }
.breadcrumb-sep { opacity: 0.35; }

.page-hero-eyebrow {
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}
html[lang="ja"] .page-hero-eyebrow { font-family: 'Noto Serif JP', serif; letter-spacing: 0.06em; text-transform: none; font-size: 0.8rem; }

.page-hero-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
html[lang="ja"] .page-hero-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  letter-spacing: 0.04em;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.page-hero-sub {
  margin-top: 1.1rem;
  font-size: 1rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.85;
  max-width: 560px;
}
html[lang="ja"] .page-hero-sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.88rem;
  line-height: 2.1;
  font-weight: 200;
}

/* ════════════════════════════════════════
   SECTION BASE
   ════════════════════════════════════════ */
.section {
  background: var(--cream);
  padding: 5.5rem 2rem 6.5rem;
  position: relative;
  overflow: visible;
}
.section--white { background: #fff; }
.section--first { padding-top: 4rem; }
.section--navy {
  background: var(--navy-deep);
  padding: 7rem 2rem 6rem;
  clip-path: polygon(0 80px, 100% 0, 100% 100%, 0 100%);
  margin-top: -80px;
  position: relative;
  z-index: 3;
}

.section-wrap {
  max-width: 880px;
  margin: 0 auto;
  position: relative; z-index: 1;
}

/* Eyebrow */
.section-eyebrow {
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.section-eyebrow::after { content: ''; width: 56px; height: 2px; background: var(--red); }
.section--navy .section-eyebrow { color: rgba(255,255,255,0.9); }
html[lang="ja"] .section-eyebrow { font-family: 'Noto Serif JP', serif; letter-spacing: 0.06em; text-transform: none; }

/* Heading */
.section-heading {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 5.5vw, 3rem);
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 1.75rem;
}
html[lang="ja"] .section-heading { font-family: 'Noto Serif JP', serif; font-weight: 300; letter-spacing: 0.04em; font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
.section--navy .section-heading { color: #fff; }

/* Sub-heading */
.section-subheading {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: 0.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(34,58,87,0.12);
}
.section-subheading:first-child { margin-top: 0; padding-top: 0; border-top: none; }
html[lang="ja"] .section-subheading { font-family: 'Noto Serif JP', serif; letter-spacing: 0.04em; text-transform: none; font-size: 1rem; }

/* Body */
.section-body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #333;
  max-width: 640px;
}
.section-body p + p { margin-top: 1em; }
html[lang="ja"] .section-body { font-family: 'Noto Serif JP', serif; font-size: 0.93rem; line-height: 2.1; }
.section--navy .section-body { color: rgba(255,255,255,0.75); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border: none;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
  line-height: 1;
}
html[lang="ja"] .btn { font-family: 'Noto Serif JP', serif; letter-spacing: 0.04em; text-transform: none; font-size: 0.85rem; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--outline { background: transparent; color: rgba(255,255,255,0.82); border: 1px solid rgba(255,255,255,0.38); }
.btn--outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.75); color: #fff; }
.btn--outline-dark { background: transparent; color: var(--navy); border: 1px solid rgba(34,58,87,0.35); }
.btn--outline-dark:hover { background: rgba(34,58,87,0.06); border-color: var(--navy); }

/* ── FEATURE GRID ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.feature-card { border-top: 2px solid var(--red); padding-top: 1.25rem; }
.feature-card-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.7rem;
}
html[lang="ja"] .feature-card-title { font-family: 'Noto Serif JP', serif; letter-spacing: 0.04em; text-transform: none; font-size: 0.9rem; }
.feature-card-body { font-size: 0.88rem; line-height: 1.85; color: #444; }
html[lang="ja"] .feature-card-body { font-family: 'Noto Serif JP', serif; font-size: 0.82rem; line-height: 2.05; }

/* ── BULLET LIST ── */
.bullet-list { list-style: none; margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.65rem; }
.bullet-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 0.97rem;
  line-height: 1.75;
  color: #333;
}
.section--navy .bullet-list li { color: rgba(255,255,255,0.88); }
html[lang="ja"] .bullet-list li { font-family: 'Noto Serif JP', serif; font-size: 0.88rem; line-height: 2; }
.bullet-list li::before {
  content: '';
  flex-shrink: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 0.6em;
}

/* ── COMPANY TABLE ── */
.company-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.company-table tr { border-bottom: 1px solid rgba(34,58,87,0.1); }
.company-table tr:first-child { border-top: 1px solid rgba(34,58,87,0.1); }
.company-table th {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  text-align: left;
  padding: 0.95rem 1.5rem 0.95rem 0;
  width: 175px;
  vertical-align: top;
  white-space: nowrap;
}
html[lang="ja"] .company-table th { font-family: 'Noto Serif JP', serif; letter-spacing: 0.04em; text-transform: none; font-size: 0.82rem; }
.company-table td { padding: 0.95rem 0; font-size: 0.95rem; color: #333; line-height: 1.75; }
html[lang="ja"] .company-table td { font-family: 'Noto Serif JP', serif; font-size: 0.88rem; line-height: 2; }

/* ── PARTNER PANELS ── */
.partner-panels { display: flex; flex-direction: column; gap: 2rem; margin-top: 2rem; }
.partner-panel {
  padding: 2rem 2rem 2rem 2.25rem;
  background: #fff;
  border-left: 3px solid var(--red);
}
.partner-panel-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.85rem;
}
html[lang="ja"] .partner-panel-title { font-family: 'Noto Serif JP', serif; letter-spacing: 0.04em; text-transform: none; font-size: 0.95rem; }
.partner-panel-body { font-size: 0.93rem; line-height: 1.9; color: #333; }
html[lang="ja"] .partner-panel-body { font-family: 'Noto Serif JP', serif; font-size: 0.87rem; line-height: 2.1; }

/* ── CONTACT CTA (dark section items) ── */
.contact-rule { width: 100%; height: 1px; background: rgba(184,51,52,0.32); margin: 2.25rem 0; }
.contact-details { display: flex; gap: 4.5rem; flex-wrap: wrap; }
.contact-item-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
  margin-bottom: 0.6rem;
}
html[lang="ja"] .contact-item-label { font-family: 'Noto Serif JP', serif; letter-spacing: 0.04em; text-transform: none; }
.contact-item-value { font-size: 0.97rem; line-height: 1.8; color: rgba(255,255,255,0.85); font-style: normal; font-weight: 300; }
html[lang="ja"] .contact-item-value { font-family: 'Noto Serif JP', serif; font-size: 0.92rem; line-height: 2; }
.contact-email-nav {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  transition: color 0.2s;
}
.contact-email-nav:hover { color: #fff; }

/* Contact page (light bg) */
.contact-page-items { display: flex; flex-direction: column; gap: 2.5rem; margin-top: 2rem; max-width: 640px; }
.contact-page-item { border-top: 1px solid rgba(34,58,87,0.12); padding-top: 1.5rem; }
.contact-page-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.7rem;
}
html[lang="ja"] .contact-page-label { font-family: 'Noto Serif JP', serif; letter-spacing: 0.04em; text-transform: none; }
.contact-page-value { font-size: 0.97rem; line-height: 1.8; color: #333; }
html[lang="ja"] .contact-page-value { font-family: 'Noto Serif JP', serif; font-size: 0.9rem; line-height: 2; }
.contact-email-link { color: var(--red); text-decoration: none; border-bottom: 1px solid rgba(184,51,52,0.28); transition: border-color 0.2s; }
.contact-email-link:hover { border-color: var(--red); }
/* Markdown-generated content inside shortcode containers */
.contact-page-item p,
.contact-page-item address { font-size: 0.97rem; line-height: 1.8; color: #333; font-style: normal; }
html[lang="ja"] .contact-page-item p,
html[lang="ja"] .contact-page-item address { font-family: 'Noto Serif JP', serif; font-size: 0.9rem; line-height: 2; }
.contact-page-item p + p { margin-top: 0.75rem; }
.contact-page-item a { color: var(--red); text-decoration: none; border-bottom: 1px solid rgba(184,51,52,0.28); transition: border-color 0.2s; }
.contact-page-item a:hover { border-color: var(--red); }
.contact-item p,
.contact-item address { font-size: 0.97rem; line-height: 1.8; color: rgba(255,255,255,0.85); font-style: normal; font-weight: 300; }
html[lang="ja"] .contact-item p,
html[lang="ja"] .contact-item address { font-family: 'Noto Serif JP', serif; font-size: 0.92rem; line-height: 2; }
.contact-item a { color: rgba(255,255,255,0.85); text-decoration: none; border-bottom: 1px solid var(--red); transition: color 0.2s; }
.contact-item a:hover { color: #fff; }
.partner-panel-body p + p { margin-top: 1rem; }
.partner-panel-body a { color: var(--red); text-decoration: none; border-bottom: 1px solid rgba(184,51,52,0.28); transition: border-color 0.2s; }
.partner-panel-body a:hover { border-color: var(--red); }

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center;
  padding: 4.5rem 2rem;
  border: 1px solid rgba(34,58,87,0.1);
  background: #fff;
  margin-top: 2rem;
}
.empty-state-rule { width: 40px; height: 2px; background: var(--red); margin: 0 auto 2rem; }
.empty-state-text { font-size: 1rem; line-height: 1.9; color: #555; }
html[lang="ja"] .empty-state-text { font-family: 'Noto Serif JP', serif; font-size: 0.9rem; line-height: 2.2; }

/* ── LEGAL / PRIVACY ── */
.legal-content { max-width: 700px; }
.legal-content h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(34,58,87,0.1);
}
html[lang="ja"] .legal-content h2 { font-family: 'Noto Serif JP', serif; letter-spacing: 0.04em; text-transform: none; }
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content p { font-size: 0.92rem; line-height: 1.95; color: #444; margin-top: 0.75rem; }
html[lang="ja"] .legal-content p { font-family: 'Noto Serif JP', serif; font-size: 0.86rem; line-height: 2.15; }
.legal-content dl { margin-top: 0.9rem; }
.legal-content dt { font-family: 'Raleway', sans-serif; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin-top: 1.1rem; }
html[lang="ja"] .legal-content dt { font-family: 'Noto Serif JP', serif; letter-spacing: 0.04em; text-transform: none; font-size: 0.83rem; }
.legal-content dd { font-size: 0.9rem; color: #444; line-height: 1.75; margin-top: 0.2rem; }
html[lang="ja"] .legal-content dd { font-family: 'Noto Serif JP', serif; font-size: 0.84rem; line-height: 2; }
.legal-content ul { list-style: none; margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.65rem; }
.legal-content ul li { display: flex; gap: 0.9rem; align-items: flex-start; font-size: 0.97rem; line-height: 1.75; color: #333; }
html[lang="ja"] .legal-content ul li { font-family: 'Noto Serif JP', serif; font-size: 0.88rem; line-height: 2; }
.legal-content ul li::before { content: ''; flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--red); margin-top: 0.6em; }
.legal-content a[href^="mailto:"] { color: var(--red); text-decoration: none; border-bottom: 1px solid rgba(184,51,52,0.28); transition: border-color 0.2s; }
.legal-content a[href^="mailto:"]:hover { border-color: var(--red); }

/* ── ORIGIN BADGE ── */
.origin-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(34,58,87,0.14);
  padding-top: 1.25rem;
}
.origin-flag { display: flex; gap: 0.3rem; align-items: center; }
.flag-dot { width: 8px; height: 8px; border-radius: 50%; }
.flag-dot.fr-blue  { background: #002395; }
.flag-dot.fr-white { background: #fff; border: 1px solid #ccc; }
.flag-dot.fr-red   { background: #ED2939; }
.flag-dot.jp-white { background: #fff; border: 1px solid #ccc; }
.flag-dot.jp-red   { background: #BC002D; }
.origin-arrow { font-family: 'Raleway', sans-serif; font-size: 0.8rem; color: rgba(34,58,87,0.38); }
.origin-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(34,58,87,0.52);
}
html[lang="ja"] .origin-label { font-family: 'Noto Serif JP', serif; letter-spacing: 0.04em; text-transform: none; }

/* ── LINK WITH ARROW ── */
.read-more {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  transition: gap 0.2s;
}
html[lang="ja"] .read-more { font-family: 'Noto Serif JP', serif; letter-spacing: 0.04em; text-transform: none; font-size: 0.82rem; }
.read-more:hover { gap: 0.85rem; }
.read-more::after { content: '→'; }

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.footer { background: #101b2a; padding: 2rem 3.5rem; margin-top: -1px; position: relative; z-index: 3; }
.footer-disclaimer {
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.25rem;
  max-width: 720px;
}
html[lang="ja"] .footer-disclaimer { font-family: 'Noto Serif JP', serif; font-size: 0.72rem; line-height: 2.1; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1rem;
}
.footer-copy {
  font-family: 'Raleway', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-link {
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  text-decoration: none;
  transition: color 0.2s;
}
html[lang="ja"] .footer-link { font-family: 'Noto Serif JP', serif; letter-spacing: 0.03em; text-transform: none; font-size: 0.7rem; }
.footer-link:hover { color: rgba(255,255,255,0.5); }

/* ════════════════════════════════════════
   SCROLL REVEAL
   ════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.72s ease, transform 0.72s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.38s; }
.reveal-d4 { transition-delay: 0.52s; }

/* ════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════ */
@keyframes riseIn { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollPulse { 0%, 100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(0.55); opacity: 0.3; } }

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-link { font-size: 0.65rem; padding: 0.5rem 0.6rem; }
}

@media (max-width: 768px) {
  :root { --tile-w: 44px; --nav-pr: calc(var(--tile-w) + 1.6rem); }

  .nav { padding: 1.4rem 1.6rem; padding-right: var(--nav-pr); }
  .nav.scrolled { padding: 0.9rem 1.6rem; padding-right: var(--nav-pr); }

  .nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(22, 36, 56, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 199;
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; align-items: center; gap: 0.75rem; }
  .nav-link { font-size: 1rem; letter-spacing: 0.08em; padding: 0.6rem 1.2rem; }
  html[lang="ja"] .nav-link { font-size: 1.05rem; }
  .nav-lang { margin-left: 0; font-size: 0.78rem; padding: 0.55rem 1.2rem; }
  .hamburger { display: flex; }

  .section { padding: 4rem 1.6rem 5rem; }
  .section--first { padding-top: 3rem; }
  .section--navy { padding: 6.5rem 1.6rem 4.5rem; }
  .contact-details { gap: 2.5rem; }
  .footer { padding: 1.5rem 1.6rem; }
  .page-hero { padding: 8rem 1.6rem 5.5rem; padding-right: var(--nav-pr); }

  .company-table th { width: 110px; white-space: normal; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

@media (min-width: 769px) {
  .nav-menu { display: flex !important; }
  .hamburger { display: none !important; }
}

@media (max-width: 500px) {
  .border-left, .hero::before, .page-hero::before, .section--navy::before { display: none; }
  .hero-logo { width: 85vw; }
  .scroll-cue { display: none; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .origin-badge { flex-wrap: wrap; }
}
