/* Exer Japan — shared tokens (爽やか refresh: lighter rules, sky tones, softer ink) */
:root {
  --navy: #0B3E6F;          /* slightly lighter than #072C4F for a fresher feel */
  --navy-deep: #072C4F;     /* keep the original deep navy for occasional use   */
  --navy-dark: #0F172A;
  --navy-soft: #1E3A5F;
  --teal: #0EA5E9;
  --teal-light: #7DD3FC;
  --teal-50: rgba(14, 165, 233, 0.08);
  --sky:        #E0F2FE;    /* pale sky for backgrounds */
  --sky-soft:   #F0F9FF;    /* even softer */
  --sky-mid:    #BAE6FD;    /* mid sky for accents */
  --sky-bright: #0EA5E9;    /* foreground sky-blue accent */
  --sky-deep:   #0284C7;    /* darker foreground sky-blue */
  --sky-line:   rgba(56, 189, 248, 0.25);
  --amber: #FBBF24;
  --amber-deep: #D97706;
  --amber-soft: #FDE68A;
  --amber-50:   rgba(251, 191, 36, 0.10);
  --off-white: #FCFBF7;
  --paper: #F6F4EC;
  --ink:    #1B3550;        /* softer than near-black, reads as navy-ink */
  --ink-60: rgba(27, 53, 80, 0.62);
  --ink-40: rgba(27, 53, 80, 0.40);
  --rule:      rgba(11, 62, 111, 0.10);
  --rule-soft: rgba(11, 62, 111, 0.06);
  --rule-dark: rgba(255, 255, 255, 0.12);

  --font-en: "Bricolage Grotesque", "Geist", -apple-system, sans-serif;
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-ui: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
}

.ej-root {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt" 1;
}

.ej-jp { font-family: var(--font-jp); font-weight: 400; letter-spacing: 0.04em; }
.ej-en { font-family: var(--font-en); letter-spacing: -0.02em; font-weight: 400; }
.ej-mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }

.ej-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ej-section-num {
  font-family: var(--font-en);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.ej-rule { height: 1px; background: var(--rule); border: 0; }
.ej-rule-dark { height: 1px; background: var(--rule-dark); border: 0; }

/* Nav */
.ej-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 64px; position: relative; z-index: 5;
  background: rgba(252,251,247,0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.ej-nav-logo {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.03em;
  display: flex; align-items: baseline; gap: 6px;
}
.ej-nav-logo .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); display: inline-block; transform: translateY(-1px); }
.ej-nav-links { display: flex; gap: 36px; font-size: 13px; color: var(--ink-60); }
.ej-nav-links a { color: inherit; text-decoration: none; transition: color .15s; }
.ej-nav-links a:hover { color: var(--ink); }
.ej-nav-cta {
  font-family: var(--font-ui);
  font-size: 13px; font-weight: 500;
  background: var(--navy); color: white;
  padding: 10px 18px; border-radius: 999px;
  border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.ej-nav-cta::after { content: "→"; font-size: 14px; }

/* Amber check */
.ej-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--amber); color: var(--navy);
  flex-shrink: 0;
}
.ej-check svg { width: 12px; height: 12px; }

/* Section number row (carry-over from current site) */
.ej-section-head {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: start;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 72px;
}
.ej-section-num-big {
  font-family: var(--font-en);
  font-size: 96px;
  font-weight: 400;
  line-height: 0.9;
  color: var(--teal);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.ej-section-title-en {
  font-family: var(--font-en);
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy);
  text-transform: uppercase;
}

/* Sky bloom — decorative radial gradient for adding 'air' to a section */
.ej-sky-bloom {
  position: absolute; pointer-events: none; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(186, 230, 253, 0.55), transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(125, 211, 252, 0.18), transparent 70%);
}
.ej-sky-bloom-soft {
  position: absolute; pointer-events: none; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 40% 30% at 90% 10%, rgba(186, 230, 253, 0.35), transparent 70%);
}
.ej-section-title-jp {
  font-family: var(--font-jp);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--ink-60);
  margin-top: 18px;
}

/* Highlight underline — 聖マーカー風のyellow marker for key phrases */
.ej-mark-yellow {
  background: linear-gradient(transparent 60%, rgba(251, 191, 36, 0.45) 60%);
  padding: 0 2px;
}
.ej-mark-sky {
  background: linear-gradient(transparent 60%, rgba(186, 230, 253, 0.85) 60%);
  padding: 0 2px;
}

/* "Service 01" style left label — amber tab */
.ej-amber-tab {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  letter-spacing: 0.08em;
}
.ej-sky-tab {
  display: inline-block;
  background: var(--sky-bright);
  color: white;
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  letter-spacing: 0.08em;
}
