/* ============================================
   MP GROUP — Corporate Website Styles
   ============================================ */

:root {
  --c-ink: #0a0e1a;
  --c-ink-2: #141a2a;
  --c-ink-3: #1f2940;
  --c-crimson: #b91c1c;
  --c-gold: #f5b919;
  --c-gold-soft: #e0a513;
  --c-gold-light: #ffd35a;
  --c-gold-dark: #b8891a;
  --c-cream: #faf6ea;
  --c-paper: #fafaf7;
  --c-gray: #545a6b;
  --c-gray-light: #e6e8ec;
  --c-white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(10, 14, 26, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 14, 26, 0.1);
  --shadow-lg: 0 20px 60px rgba(10, 14, 26, 0.15);
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Meiryo", sans-serif;
  --font-serif: "Noto Serif JP", "Yu Mincho", "游明朝", "YuMincho", serif;
  --font-en: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1200px;
  --container-wide: 1360px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  font-family: var(--font-jp);
  color: var(--c-ink);
  background: var(--c-paper);
  line-height: 1.8;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}

/* Japanese-friendly line-break helpers */
.pc-br { display: inline; }
.sp-only { display: none; }
@media (max-width: 720px) {
  .pc-br { display: none; }
  .sp-only { display: inline; }
}

/* Avoid iOS zoom on focus (all text inputs ≥ 16px on mobile) */
@media (max-width: 720px) {
  input[type="text"], input[type="email"], input[type="tel"],
  input[type="number"], input[type="password"], select, textarea {
    font-size: 16px !important;
  }
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: all 0.25s ease; }
a:hover { opacity: 0.8; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; width: 100%; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; width: 100%; }
@media (max-width: 560px) {
  .container, .container-wide { padding: 0 20px; }
}

/* ============== HEADER ============== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 14, 26, 0.06);
  z-index: 100;
  transition: all 0.3s ease;
}
.site-header.on-dark {
  background: rgba(10, 14, 26, 0.6);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header.on-dark .logo-text .brand-jp { color: var(--c-white); }
.site-header.on-dark .logo-text .brand-en { color: rgba(255,255,255,0.6); }
.site-header.on-dark .main-nav a { color: rgba(255,255,255,0.85); }
.site-header.on-dark .main-nav a.active { color: var(--c-gold); }
.site-header.on-dark .nav-cta {
  background: transparent;
  color: var(--c-white) !important;
  border: 1px solid var(--c-gold);
}
.site-header.on-dark .nav-cta:hover {
  background: var(--c-gold);
  color: var(--c-ink) !important;
}
.site-header.on-dark .menu-toggle span { background: var(--c-white); }
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}
.logo-block {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-block img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.site-header.on-dark .logo-block img {
  filter: drop-shadow(0 0 10px rgba(245,185,25,0.3));
}
.logo-text .brand-jp {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--c-ink);
  line-height: 1.15;
}
.logo-text .brand-en {
  font-family: var(--font-jp);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--c-gray);
  margin-top: 3px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--c-gold);
  transition: width 0.3s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--c-gold-dark); }

.nav-cta {
  background: var(--c-ink);
  color: var(--c-white) !important;
  padding: 10px 22px !important;
  border-radius: 2px;
  font-size: 13px !important;
  letter-spacing: 0.1em;
  border: 1px solid var(--c-ink);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--c-gold);
  color: var(--c-ink) !important;
  border-color: var(--c-gold);
  opacity: 1 !important;
}

.menu-toggle {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--c-ink);
  transition: all 0.3s;
}

/* ============== HERO WITH VIDEO ============== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  background: var(--c-ink);
  isolation: isolate;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-wrap video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(4px) brightness(0.82) saturate(1.08) contrast(1.03);
  transform: scale(1.04);
}
/* Cinematic overlay — balanced: dreamy but still sees the scene */
.hero-video-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10,14,26,0.78) 0%, rgba(10,14,26,0.62) 40%, rgba(10,14,26,0.35) 75%, rgba(10,14,26,0.2) 100%),
    linear-gradient(180deg, transparent 45%, rgba(10,14,26,0.65) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(245,185,25,0.12), transparent 45%),
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.2) 100%);
  z-index: 2;
  pointer-events: none;
}
/* Gold particle/grain layer */
.hero-grain {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
  z-index: 3;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 5;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px;
  border: 1px solid rgba(245,185,25,0.35);
  background: rgba(245,185,25,0.05);
  backdrop-filter: blur(4px);
  margin-bottom: 32px;
}
.hero-badge span {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--c-gold);
  text-transform: uppercase;
  font-weight: 600;
}
.hero-badge::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--c-gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--c-gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.8vw, 76px);
  font-weight: 700;
  line-height: 1.22;
  color: var(--c-white);
  max-width: 960px;
  margin-bottom: 32px;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}
.hero h1 .accent {
  color: var(--c-gold);
  background: linear-gradient(135deg, var(--c-gold-light) 0%, var(--c-gold) 60%, var(--c-gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  line-height: 2.05;
  margin-bottom: 52px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--c-gold);
  color: var(--c-ink);
}
.btn-primary:hover {
  background: var(--c-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(245,185,25,0.35);
  opacity: 1;
}
.btn-ghost {
  background: transparent;
  color: var(--c-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
  background: rgba(245,185,25,0.05);
  opacity: 1;
}
.btn-ink {
  background: var(--c-ink);
  color: var(--c-white);
}
.btn-ink:hover {
  background: var(--c-ink-2);
  opacity: 1;
}
.btn-outline {
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-ink);
}
.btn-outline:hover {
  background: var(--c-ink);
  color: var(--c-white);
  opacity: 1;
}
.btn-gold {
  background: var(--c-gold);
  color: var(--c-ink);
}
.btn-gold:hover {
  background: var(--c-gold-light);
  transform: translateY(-2px);
  opacity: 1;
}

.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 5;
  background: linear-gradient(180deg, transparent 0%, rgba(10,14,26,0.85) 100%);
  padding: 40px 0 32px;
  border-top: 1px solid rgba(245,185,25,0.15);
}
.hero-stats-grid {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.hero-stat {
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 20px;
}
.hero-stat:first-child { border-left: none; padding-left: 0; }
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-label {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

.scroll-hint {
  position: absolute;
  bottom: 180px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
  z-index: 6;
}
.scroll-hint::after {
  content: "";
  display: block;
  width: 1px; height: 48px;
  background: rgba(255, 255, 255, 0.3);
  margin: 12px auto 0;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.3; }
  50% { transform: scaleY(1.3); opacity: 0.8; }
}

/* ============== SECTIONS ============== */
section { padding: 120px 0; }
section.compact { padding: 80px 0; }
section.dark { background: var(--c-ink); color: var(--c-white); }
section.cream { background: var(--c-cream); }

.section-head { text-align: center; margin-bottom: 72px; }
.section-head.left { text-align: left; }
.eyebrow {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--c-gold-dark);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
  font-weight: 600;
}
.dark .eyebrow { color: var(--c-gold); }
h2.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.section-lead {
  font-size: 16px;
  color: var(--c-gray);
  max-width: 680px;
  margin: 0 auto;
  line-height: 2;
}
.dark .section-lead { color: rgba(255, 255, 255, 0.72); }
.section-head.left .section-lead { margin: 0; }

/* ============== STATS BAR ============== */
.stats-bar {
  background: var(--c-ink);
  color: var(--c-white);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat-item {
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 24px;
}
.stat-item:first-child { border-left: none; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.75);
}

/* ============== SERVICES GRID ============== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-light);
  padding: 48px 36px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--c-gold-dark);
  font-weight: 600;
  margin-bottom: 20px;
}
.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--c-cream) 0%, #fff 100%);
  border: 1px solid var(--c-gold-light);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-gold-dark);
}
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
}
.service-card p {
  font-size: 14px;
  color: var(--c-gray);
  line-height: 1.9;
  margin-bottom: 24px;
}
.service-card .more {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--c-ink);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-card .more::after {
  content: "→";
  transition: transform 0.3s;
}
.service-card:hover .more::after { transform: translateX(6px); }

/* ============== TWO COLUMN ============== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.two-col.narrow { gap: 64px; }
.two-col img, .two-col .col-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 2px;
}
.two-col .col-img {
  background: linear-gradient(135deg, var(--c-ink) 0%, var(--c-ink-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.two-col .col-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(245,185,25,0.2), transparent 60%);
}
.two-col .col-img img.logo-mark {
  width: 60%;
  height: auto;
  max-width: 280px;
  opacity: 0.95;
  position: relative;
  filter: drop-shadow(0 0 30px rgba(245,185,25,0.3));
}

/* ============== LEADERSHIP ============== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}
.leader-card {
  background: var(--c-white);
  padding: 56px 48px;
  border: 1px solid var(--c-gray-light);
  position: relative;
}
.leader-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 72px;
  background: var(--c-gold);
}
.leader-name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}
.leader-en-name {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--c-gray);
  margin-bottom: 12px;
}
.leader-title {
  display: inline-block;
  font-size: 13px;
  padding: 4px 12px;
  background: var(--c-cream);
  color: var(--c-gold-dark);
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}
.leader-bio {
  font-size: 14px;
  color: var(--c-gray);
  line-height: 2;
}

/* ============== CTA BANNER ============== */
.cta-banner {
  background: linear-gradient(120deg, var(--c-ink) 0%, var(--c-ink-3) 100%);
  color: var(--c-white);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(245,185,25,0.18), transparent 55%);
}
.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 20px;
  position: relative;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-bottom: 36px;
  position: relative;
  line-height: 2;
}
.cta-banner .btn { position: relative; }

/* ============== FOOTER ============== */
.site-footer {
  background: #050812;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-brand .logo-block { margin-bottom: 24px; }
.footer-brand .logo-block img {
  filter: drop-shadow(0 0 16px rgba(245,185,25,0.35));
}
.footer-brand .logo-block .brand-jp { color: var(--c-gold); }
.footer-brand .logo-block .brand-en { color: rgba(255, 255, 255, 0.5); }
.footer-brand p {
  line-height: 2;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-col h4 {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--c-gold);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(255, 255, 255, 0.7); }
.footer-col a:hover { color: var(--c-gold); opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

/* ============== PAGE HERO ============== */
.page-hero {
  background: linear-gradient(135deg, var(--c-ink) 0%, var(--c-ink-2) 100%);
  color: var(--c-white);
  padding: 200px 0 100px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(245,185,25,0.12), transparent 50%);
}
.page-hero::after {
  content: attr(data-kanji);
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 340px;
  font-weight: 900;
  color: rgba(245,185,25,0.05);
  line-height: 0.8;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--c-gold); }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  max-width: 640px;
  line-height: 2;
}
.breadcrumb {
  display: flex;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin-top: 32px;
}
.breadcrumb span { color: rgba(255, 255, 255, 0.3); }

/* ============== COMPANY INFO TABLE ============== */
.info-table {
  background: var(--c-white);
  border: 1px solid var(--c-gray-light);
}
.info-table dl {
  display: grid;
  grid-template-columns: 220px 1fr;
}
.info-table dt, .info-table dd {
  padding: 24px 32px;
  border-bottom: 1px solid var(--c-gray-light);
}
.info-table dt {
  background: var(--c-cream);
  font-weight: 600;
  font-size: 14px;
  border-right: 1px solid var(--c-gray-light);
}
.info-table dd {
  font-size: 15px;
  color: var(--c-ink);
  line-height: 1.9;
}
.info-table > dl > *:nth-last-child(-n+2) { border-bottom: none; }

/* ============== MESSAGE PAGE ============== */
.message-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 72px;
  align-items: start;
}
.message-portrait { position: sticky; top: 120px; }
.portrait-box {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--c-ink) 0%, var(--c-ink-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.portrait-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(245,185,25,0.2), transparent 60%);
}
.portrait-box img {
  width: 55%;
  position: relative;
  filter: drop-shadow(0 0 30px rgba(245,185,25,0.4));
}
.portrait-caption {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--c-gray);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.portrait-title {
  font-size: 13px;
  color: var(--c-gray);
  margin-bottom: 4px;
}
.portrait-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
}
.message-body {
  font-size: 15px;
  line-height: 2.2;
  color: var(--c-ink);
}
.message-body p { margin-bottom: 28px; }
.message-body h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 4px solid var(--c-gold);
}
.message-body .sign-off {
  margin-top: 48px;
  text-align: right;
  font-family: var(--font-serif);
  font-size: 16px;
}
.message-body .sign-off .name-big {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ============== CONTACT PAGE ============== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info-card {
  background: var(--c-ink);
  color: var(--c-white);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-light));
}
.contact-info-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.contact-info-card .info-row { margin-bottom: 24px; }
.contact-info-card .info-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--c-gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.contact-info-card .info-value { font-size: 15px; line-height: 1.8; }
.contact-info-card .info-value.big {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
}
.contact-form {
  background: var(--c-white);
  border: 1px solid var(--c-gray-light);
  padding: 48px 40px;
}
.form-row { margin-bottom: 24px; }
.form-row.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-row label .req {
  color: var(--c-gold-dark);
  margin-left: 6px;
  font-size: 11px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--c-gray-light);
  font-family: inherit;
  font-size: 14px;
  background: var(--c-paper);
  transition: all 0.25s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--c-gold);
  background: var(--c-white);
  box-shadow: 0 0 0 3px rgba(245,185,25,0.1);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-consent {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--c-gray);
  margin: 16px 0 24px;
}
.form-consent input { width: auto; margin-top: 4px; }
.form-consent a { color: var(--c-gold-dark); text-decoration: underline; }
.form-submit { display: flex; justify-content: center; }
.form-submit button {
  padding: 18px 64px;
  background: var(--c-ink);
  color: var(--c-white);
  font-weight: 600;
  letter-spacing: 0.15em;
  font-size: 14px;
  transition: all 0.3s;
}
.form-submit button:hover {
  background: var(--c-gold);
  color: var(--c-ink);
  box-shadow: 0 12px 30px rgba(245,185,25,0.3);
}
.form-submit button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-status {
  display: none;
  padding: 16px 20px;
  margin: 20px 0 0;
  border-radius: 2px;
  font-size: 14px;
  line-height: 1.8;
}
.form-status.ok {
  background: #f0fdf4;
  color: #166534;
  border-left: 4px solid #22c55e;
}
.form-status.err {
  background: #fef2f2;
  color: #991b1b;
  border-left: 4px solid #ef4444;
}
.hp-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ============== FEATURE SPLIT ============== */
.feature-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.feature-item {
  padding: 56px 48px;
  border-right: 1px solid var(--c-gray-light);
  border-bottom: 1px solid var(--c-gray-light);
}
.feature-item:nth-child(2n) { border-right: none; }
.feature-item:nth-last-child(-n+2) { border-bottom: none; }
.feature-num {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: 16px;
}
.feature-item h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature-item p {
  font-size: 14px;
  color: var(--c-gray);
  line-height: 1.9;
}

/* ============== TIMELINE ============== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--c-gray-light);
}
.tl-item { position: relative; padding-bottom: 40px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -40px; top: 6px;
  width: 18px; height: 18px;
  background: var(--c-gold);
  border-radius: 50%;
  border: 3px solid var(--c-paper);
  box-shadow: 0 0 0 2px var(--c-gold);
}
.tl-year {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-gold-dark);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.tl-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.tl-body {
  font-size: 14px;
  color: var(--c-gray);
  line-height: 1.9;
}

/* ============== VALUES ============== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--c-gray-light);
  border-left: 1px solid var(--c-gray-light);
}
.value-cell {
  padding: 48px 40px;
  border-right: 1px solid var(--c-gray-light);
  border-bottom: 1px solid var(--c-gray-light);
  background: var(--c-white);
  text-align: center;
}
.value-kanji {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 700;
  color: var(--c-gold-dark);
  margin-bottom: 12px;
  line-height: 1;
}
.value-en {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--c-gray);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.value-desc {
  font-size: 14px;
  color: var(--c-gray);
  line-height: 1.9;
}

/* ============== BUSINESS DETAIL ============== */
.biz-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--c-gray-light);
}
.biz-section:last-of-type { border-bottom: none; }
.biz-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.biz-grid.reverse { grid-template-columns: 1.2fr 1fr; }
.biz-grid.reverse .biz-visual { order: 2; }
.biz-visual {
  height: 440px;
  background: linear-gradient(135deg, var(--c-ink) 0%, var(--c-ink-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 140px;
  font-weight: 900;
  color: rgba(245,185,25,0.25);
  position: relative;
  overflow: hidden;
}
.biz-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(245,185,25,0.15), transparent 60%);
}
.biz-visual.v2 { background: linear-gradient(135deg, var(--c-ink-2) 0%, var(--c-gold-dark) 120%); }
.biz-visual.v3 { background: linear-gradient(135deg, var(--c-ink-3) 0%, var(--c-ink) 100%); }
.biz-visual.v4 { background: linear-gradient(135deg, #141a2a 0%, #0a0e1a 100%); }
.biz-visual.v5 { background: linear-gradient(135deg, var(--c-gold-dark) 0%, var(--c-ink) 100%); }
.biz-visual.v6 { background: linear-gradient(135deg, var(--c-gold) 0%, var(--c-ink-2) 100%); color: rgba(0,0,0,0.3); }
.biz-content .eyebrow { color: var(--c-gold-dark); }
.biz-content h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
}
.biz-content p {
  font-size: 15px;
  color: var(--c-gray);
  line-height: 2;
  margin-bottom: 20px;
}
.biz-bullets { list-style: none; margin-top: 24px; }
.biz-bullets li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--c-gray-light);
  font-size: 14px;
  position: relative;
}
.biz-bullets li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--c-gold);
  font-size: 12px;
}

/* ============== MAP ============== */
.map-wrap {
  width: 100%;
  height: 380px;
  background: var(--c-gray-light);
  border: 1px solid var(--c-gray-light);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ============== RESPONSIVE ============== */
/* ========== Tablet (≤960px) ========== */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .main-nav.open {
    display: block;
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: var(--c-white);
    padding: 24px;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open ul { flex-direction: column; gap: 20px; align-items: flex-start; }
  .site-header.on-dark.scrolled { background: rgba(10, 14, 26, 0.9); }
  .site-header.on-dark .main-nav.open { background: var(--c-ink-2); }
  .site-header.on-dark .main-nav.open a { color: var(--c-white); }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-stat:nth-child(3) { border-left: none; padding-left: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3) { border-left: none; }
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col img, .two-col .col-img { height: 280px; }
  .leadership-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .info-table dl { grid-template-columns: 1fr; }
  .info-table dt { border-right: none; padding: 16px 20px; }
  .info-table dd { padding: 16px 20px; }
  .message-layout { grid-template-columns: 1fr; gap: 40px; }
  .message-portrait { position: static; max-width: 280px; margin: 0 auto; }
  .contact-layout { grid-template-columns: 1fr; gap: 24px; }
  .feature-split { grid-template-columns: 1fr; }
  .feature-item { border-right: none; padding: 36px 24px; }
  .feature-item:nth-last-child(2) { border-bottom: 1px solid var(--c-gray-light); }
  .values-grid { grid-template-columns: 1fr; }
  .value-cell { padding: 36px 24px; }
  .biz-grid, .biz-grid.reverse { grid-template-columns: 1fr; gap: 32px; }
  .biz-grid.reverse .biz-visual { order: 0; }
  .biz-visual { height: 240px; font-size: 90px; }
  .biz-section { padding: 64px 0; }
  section { padding: 72px 0; }
  .form-row.cols { grid-template-columns: 1fr; gap: 16px; }
  .contact-info-card { padding: 32px 24px; }
  .contact-form { padding: 32px 20px; }
  .hero-stats { position: static; background: var(--c-ink); padding: 32px 0 28px; }
  .scroll-hint { display: none; }
  .hero { padding: 120px 0 0; min-height: auto; }
  .hero-inner { padding-bottom: 40px; }
  .hero::after { display: none; }
  .page-hero { padding: 140px 0 72px; }
  .page-hero::after { font-size: 200px; right: -60px; }
  .leader-card { padding: 36px 24px; }
  .cta-banner { padding: 72px 0; }
  h2.section-title { letter-spacing: 0.02em; }
  .section-head { margin-bottom: 48px; }
}

/* ========== Mobile (≤560px) ========== */
@media (max-width: 560px) {
  /* Header: compact */
  .header-inner { height: 68px; padding: 0 16px; }
  .logo-block img { height: 38px; }
  .logo-text .brand-jp { font-size: 13px; letter-spacing: 0.14em; }
  .logo-text .brand-en { font-size: 9px; letter-spacing: 0.18em; }
  .menu-toggle { width: 28px; height: 28px; }
  .menu-toggle span { width: 22px; }

  /* Hero — mobile-first layout */
  .hero { padding: 96px 0 0; }
  .hero-badge { padding: 6px 12px; margin-bottom: 20px; }
  .hero-badge span { font-size: 9px; letter-spacing: 0.22em; }
  .hero-badge::before { width: 7px; height: 7px; }
  .hero h1 {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.35;
    margin-bottom: 20px;
    letter-spacing: 0;
    word-break: keep-all;
  }
  .hero-sub {
    font-size: 14px;
    line-height: 1.95;
    margin-bottom: 28px;
    max-width: 100%;
  }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-ctas .btn { justify-content: center; padding: 14px 24px; width: 100%; }

  /* Hero stats: one line = "4 · Business Domains" style */
  .hero-stats { padding: 20px 0 18px; margin-top: 32px; }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
    padding: 0 20px;
  }
  .hero-stat {
    border-left: none !important;
    padding: 0;
    text-align: center;
  }
  .hero-stat-num { font-size: 22px; margin-bottom: 4px; }
  .hero-stat-label { font-size: 8.5px; letter-spacing: 0.16em; line-height: 1.4; }

  /* Sections */
  section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .eyebrow { font-size: 10.5px; letter-spacing: 0.24em; margin-bottom: 12px; }
  h2.section-title {
    font-size: clamp(22px, 5.4vw, 28px);
    line-height: 1.5;
    margin-bottom: 16px;
    word-break: keep-all;
    letter-spacing: 0;
  }
  .section-lead { font-size: 14px; line-height: 1.95; }

  /* Page hero */
  .page-hero { padding: 110px 0 56px; }
  .page-hero h1 { font-size: clamp(24px, 6.4vw, 32px); line-height: 1.45; letter-spacing: 0; word-break: keep-all; }
  .page-hero p { font-size: 14px; line-height: 1.95; }
  .page-hero::after { font-size: 140px; right: -40px; top: auto; bottom: -20px; transform: none; }

  /* Stats bar */
  .stats-bar { padding: 40px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .stat-item { border-left: none !important; padding: 8px 0; }
  .stat-item:nth-child(even) {
    border-left: 1px solid rgba(255,255,255,0.1) !important;
    padding-left: 16px;
  }
  .stat-num { font-size: 32px; }
  .stat-label { font-size: 11px; letter-spacing: 0.12em; }

  /* Service cards */
  .service-card { padding: 32px 24px; }
  .service-icon { width: 48px; height: 48px; font-size: 22px; margin-bottom: 18px; }
  .service-card h3 { font-size: 18px; line-height: 1.55; margin-bottom: 12px; }
  .service-card p { font-size: 13px; line-height: 1.85; margin-bottom: 20px; }

  /* Two col */
  .two-col, .two-col.narrow { gap: 28px; }
  .two-col img, .two-col .col-img { height: 220px; }
  .two-col .col-img img.logo-mark { max-width: 180px; }

  /* Feature split */
  .feature-item { padding: 28px 20px; }
  .feature-num { font-size: 32px; margin-bottom: 12px; }
  .feature-item h3 { font-size: 16px; line-height: 1.55; }
  .feature-item p { font-size: 13px; line-height: 1.85; }

  /* Values */
  .value-cell { padding: 28px 20px; }
  .value-kanji { font-size: 44px; }
  .value-desc { font-size: 13px; }

  /* Leader */
  .leader-card { padding: 28px 20px; }
  .leader-card::before { height: 56px; }
  .leader-name { font-size: 22px; }
  .leader-bio { font-size: 13px; line-height: 1.9; }

  /* CTA */
  .cta-banner { padding: 56px 0; }
  .cta-banner h2 { font-size: clamp(20px, 5.2vw, 26px); line-height: 1.55; word-break: keep-all; }
  .cta-banner p { font-size: 13.5px; line-height: 1.9; margin-bottom: 28px; }

  /* Company info */
  .info-table dt { font-size: 13px; padding: 14px 16px; }
  .info-table dd { font-size: 14px; padding: 14px 16px; }

  /* Message page */
  .portrait-box img { width: 50%; }
  .portrait-name { font-size: 20px; }
  .message-body { font-size: 14.5px; line-height: 2.05; }
  .message-body h3 { font-size: 18px; margin-top: 36px; padding-left: 12px; border-left-width: 3px; }

  /* Contact form */
  .contact-info-card { padding: 28px 20px; }
  .contact-info-card h3 { font-size: 18px; }
  .contact-info-card .info-value.big { font-size: 20px; }
  .contact-form { padding: 28px 18px; }
  .form-row label { font-size: 13px; }
  .form-submit button { padding: 16px 40px; width: 100%; font-size: 13.5px; }

  /* Biz detail */
  .biz-grid, .biz-grid.reverse { gap: 28px; }
  .biz-visual { height: 180px; font-size: 72px; }
  .biz-content h3 { font-size: 22px; line-height: 1.5; margin-bottom: 16px; word-break: keep-all; }
  .biz-content p { font-size: 14px; line-height: 1.95; }
  .biz-bullets li { font-size: 13px; padding: 8px 0 8px 24px; }

  /* Timeline */
  .timeline { padding-left: 32px; }
  .timeline::before { left: 6px; }
  .tl-item::before { left: -32px; width: 14px; height: 14px; }
  .tl-title { font-size: 16px; line-height: 1.5; }
  .tl-body { font-size: 13px; line-height: 1.9; }

  /* Footer */
  .site-footer { padding: 56px 0 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .footer-col h4 { margin-bottom: 16px; }
  .footer-bottom { font-size: 11px; justify-content: center; text-align: center; }

  /* Breadcrumb compact */
  .breadcrumb { font-size: 10px; margin-top: 20px; }

  /* Buttons — equal touch targets */
  .btn { padding: 14px 24px; font-size: 13px; }

  /* Service index quick links in services.html */
  .services-index-nav { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .services-index-nav .btn { padding: 12px 6px !important; font-size: 11px !important; }
}

/* ========== Small phones (≤380px) ========== */
@media (max-width: 380px) {
  .container, .container-wide { padding: 0 16px; }
  .hero h1 { font-size: 22px; }
  .hero-sub { font-size: 13.5px; }
  h2.section-title { font-size: 20px; }
  .service-card h3 { font-size: 17px; }
  .hero-stats-grid { grid-template-columns: 1fr 1fr; gap: 14px 8px; }
  .hero-stat-num { font-size: 20px; }
  .hero-stat-label { font-size: 8px; }
  .logo-text .brand-en { display: none; }
  .logo-text .brand-jp { font-size: 14px; }
}

.reveal { opacity: 0; transform: translateY(24px); transition: all 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
