/* ==========================================================================
   Go BEYOND SELF, Inc. - Corporate Website
   Design System
   ========================================================================== */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

/* --- Design Tokens --- */
:root {
  /* Brand */
  --primary: #0F766E;          /* Teal 700 — main brand */
  --primary-dark: #115E59;     /* Teal 800 */
  --primary-deep: #0A4F48;
  --primary-light: #14B8A6;    /* Teal 500 */
  --accent: #06B6D4;           /* Cyan 500 */
  --accent-soft: #67E8F9;      /* Cyan 300 */

  /* Ink / Text */
  --ink: #0B1220;              /* Near-black navy */
  --ink-soft: #1F2A44;
  --body: #334155;             /* Slate 700 */
  --muted: #64748B;            /* Slate 500 */
  --muted-2: #94A3B8;          /* Slate 400 */

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-soft: #F7FAFA;
  --bg-mist: #EFF7F6;
  --line: #E2E8F0;
  --line-soft: #EEF2F6;

  /* Status */
  --success: #059669;

  /* Layout */
  --container: 1160px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 8px 24px -12px rgba(15, 118, 110, 0.18), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 48px -16px rgba(15, 118, 110, 0.22), 0 4px 12px rgba(15, 23, 42, 0.06);

  /* Type */
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-display-jp: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", sans-serif;
  --font-en: "Outfit", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* --- Base --- */
html { font-size: 16px; }
body {
  font-family: var(--font-jp);
  color: var(--body);
  background: var(--bg);
  line-height: 1.8;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.02em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display-jp);
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: 0.04em;
  font-weight: 700;
  margin: 0;
}

p { margin: 0; }

/* --- Layout helpers --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
}

/* --- Eyebrow / Tag --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--primary);
  display: inline-block;
}

/* --- Headline styles --- */
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.section-lead {
  color: var(--muted);
  font-size: 16px;
  max-width: 640px;
  margin-bottom: 56px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.35), transparent 55%),
    linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name .en {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.brand-name .jp {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-top: 2px;
}

/* Nav */
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 36px;
  align-items: center;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 999px;
  font-size: 13px !important;
  font-weight: 500;
  transition: all 0.2s ease;
  letter-spacing: 0.06em !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--primary-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(15, 118, 110, 0.4);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--ink);
  padding: 0;
  align-items: center;
  justify-content: center;
}
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 880px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: block;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line-soft);
    padding: 20px 24px 28px;
  }
  .main-nav.open ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .main-nav.open a {
    display: block;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--line-soft);
  }
  .main-nav.open .nav-cta {
    margin-top: 12px;
    display: inline-flex;
    border: none;
  }
  .menu-toggle { display: inline-flex; }
}

/* ==========================================================================
   Hero (Top Page)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 140px;
  background: var(--bg);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 50% at 85% 10%, rgba(6, 182, 212, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(15, 118, 110, 0.10), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F3FAF9 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(15, 118, 110, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--primary);
  font-weight: 500;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.18);
}

.hero-title {
  font-size: clamp(36px, 6.5vw, 72px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  max-width: 920px;
  margin-bottom: 28px;
  color: var(--ink);
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.1s forwards;
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-lead {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 2;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.2s forwards;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.3s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(15, 118, 110, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn svg { width: 16px; height: 16px; }

/* Floating data card on hero */
.hero-data {
  position: absolute;
  right: 24px;
  bottom: -60px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 36px;
  opacity: 0;
  animation: fadeInRight 1s ease 0.6s forwards;
}

.hero-data-item { text-align: left; }
.hero-data-label {
  font-family: var(--font-en);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 8px;
  display: block;
}
.hero-data-value {
  font-family: var(--font-display-jp);
  font-size: 20px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero-data-value .en {
  font-family: var(--font-en);
}

@media (max-width: 880px) {
  .hero { padding: 80px 0 100px; }
  .hero-data {
    position: static;
    margin-top: 48px;
    flex-wrap: wrap;
    gap: 24px;
    padding: 24px;
  }
}

/* ==========================================================================
   About Snapshot Section
   ========================================================================== */
.about-snapshot {
  padding: 120px 0 96px;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 880px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.about-heading h2 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.5;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.about-heading p {
  color: var(--ink-soft);
  line-height: 2.1;
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  background: #fff;
  padding: 32px 28px;
  position: relative;
  transition: background 0.3s ease;
}

.stat:hover { background: var(--bg-mist); }

.stat-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--primary);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.stat-value {
  font-family: var(--font-display-jp);
  font-size: 24px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.stat-value .unit {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 4px;
}

/* ==========================================================================
   Business Section (Cards)
   ========================================================================== */
.business-section {
  background: linear-gradient(180deg, #F7FAFA 0%, #FFFFFF 100%);
  position: relative;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 960px) {
  .business-grid { grid-template-columns: 1fr; gap: 20px; }
}

.biz-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.biz-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.biz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.biz-card:hover::before { transform: scaleX(1); }

.biz-number {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 24px;
  display: block;
}

.biz-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bg-mist) 0%, #fff 100%);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}
.biz-icon svg { width: 24px; height: 24px; }

.biz-card h3 {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.biz-card p {
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.9;
  margin-bottom: 24px;
  flex: 1;
}

.biz-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.biz-list li {
  font-size: 13px;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}

.biz-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--primary);
}

/* ==========================================================================
   Clients / Trust Bar
   ========================================================================== */
.trust-section {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.trust-heading {
  text-align: center;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 72px;
  flex-wrap: wrap;
}

.trust-logo {
  font-family: var(--font-display-jp);
  font-size: 16px;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.trust-logo:hover { opacity: 1; }

@media (max-width: 720px) {
  .trust-logos { gap: 32px; }
  .trust-logo { font-size: 14px; }
}

/* ==========================================================================
   CTA Strip
   ========================================================================== */
.cta-strip {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}

.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 20% 30%, rgba(20, 184, 166, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 80%, rgba(6, 182, 212, 0.18), transparent 60%);
}

.cta-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 880px) {
  .cta-inner { grid-template-columns: 1fr; gap: 32px; text-align: left; }
}

.cta-strip h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 2;
}

.cta-strip .btn {
  background: #fff;
  color: var(--ink);
  justify-self: end;
}
.cta-strip .btn:hover {
  background: var(--primary-light);
  color: #fff;
}

@media (max-width: 880px) {
  .cta-strip .btn { justify-self: start; }
}

/* ==========================================================================
   Page Hero (subpages)
   ========================================================================== */
.page-hero {
  padding: 120px 0 72px;
  background: linear-gradient(180deg, #F3FAF9 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(15, 118, 110, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 70% at 30% 50%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 30% 50%, #000 20%, transparent 70%);
}

.page-hero-en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.page-hero-en::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--primary);
}

.page-title {
  font-size: clamp(34px, 5vw, 52px);
  color: var(--ink);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 24px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--muted-2); }

/* ==========================================================================
   Company Info Table
   ========================================================================== */
.company-table {
  border-top: 1px solid var(--ink);
  width: 100%;
}
.company-table tr {
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}
.company-table tr:hover { background: var(--bg-mist); }

.company-table th,
.company-table td {
  padding: 24px 20px;
  text-align: left;
  vertical-align: top;
  line-height: 1.9;
}

.company-table th {
  width: 220px;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  font-family: var(--font-display-jp);
}

.company-table td {
  color: var(--body);
  font-size: 14.5px;
}

.company-table td .en-label {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}

@media (max-width: 720px) {
  .company-table th,
  .company-table td { display: block; width: 100%; padding: 10px 4px; }
  .company-table th { padding-top: 22px; padding-bottom: 4px; }
  .company-table td { padding-bottom: 22px; }
}

.company-table ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 28px;
}
.company-table ol li { padding-left: 6px; }

@media (max-width: 720px) {
  .company-table ol { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Business Detail
   ========================================================================== */
.biz-detail {
  padding: 48px 0 120px;
}

.biz-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.biz-block:last-child { border-bottom: none; }

@media (max-width: 880px) {
  .biz-block { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
}

.biz-block-index {
  font-family: var(--font-en);
  font-size: 56px;
  font-weight: 300;
  color: var(--primary);
  line-height: 1;
  letter-spacing: 0.02em;
  position: relative;
  padding-top: 10px;
}

.biz-block-index::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--primary);
  margin-top: 20px;
}

.biz-block h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  line-height: 1.5;
}

.biz-block h3 + .en-tag {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
  display: inline-block;
}

.biz-block .biz-desc {
  color: var(--ink-soft);
  line-height: 2.1;
  margin-bottom: 28px;
  font-size: 15px;
}

.biz-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.biz-services > li {
  list-style: none;
  padding: 18px 20px 18px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
  position: relative;
  line-height: 1.7;
}

.biz-services > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  width: 12px;
  height: 2px;
  background: var(--primary);
}

@media (max-width: 600px) {
  .biz-services { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Message (代表挨拶)
   ========================================================================== */
.message-section {
  padding: 40px 0 120px;
}

.message-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
  align-items: start;
}

@media (max-width: 880px) {
  .message-wrap { grid-template-columns: 1fr; gap: 40px; }
}

.message-visual {
  position: sticky;
  top: 100px;
}

.message-mark {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15), transparent 50%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 45%, var(--accent) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 36px;
}

.message-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 40%, transparent 80%);
}

.message-mark-text {
  position: relative;
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-en);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.message-mark-text .big {
  display: block;
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 200;
  font-style: italic;
  margin-bottom: 4px;
}

.message-mark-text .small {
  display: block;
  font-size: 13px;
  letter-spacing: 0.24em;
  opacity: 0.8;
  text-transform: uppercase;
  margin-top: 14px;
}

.message-body h3 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 32px;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.message-body p {
  color: var(--ink-soft);
  line-height: 2.2;
  margin-bottom: 20px;
  font-size: 15.5px;
}

.message-sign {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.message-sign .role {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 500;
}
.message-sign .name {
  font-family: var(--font-display-jp);
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.1em;
  font-weight: 700;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-section { padding: 40px 0 120px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
}

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-info h3 {
  font-size: 18px;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.contact-item { margin-bottom: 28px; }
.contact-item-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}
.contact-item-value {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.9;
}
.contact-item-value a {
  color: var(--primary);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.contact-item-value a:hover { border-bottom-color: var(--primary); }

.contact-form {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
}

.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}

.form-group label .required {
  color: #DC2626;
  font-size: 10px;
  margin-left: 6px;
  padding: 2px 8px;
  background: rgba(220, 38, 38, 0.08);
  border-radius: 4px;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--font-jp);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.form-group textarea { resize: vertical; min-height: 160px; }

.form-submit {
  width: 100%;
  background: var(--ink);
  color: #fff;
  padding: 18px;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -12px rgba(15, 118, 110, 0.4);
}
.form-submit svg { width: 16px; height: 16px; flex-shrink: 0; }

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.7;
  text-align: center;
}

/* ==========================================================================
   Privacy / Legal content
   ========================================================================== */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 0 120px;
}

.legal-content h2 {
  font-size: 20px;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--primary);
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
  color: var(--ink-soft);
  line-height: 2;
  margin-bottom: 16px;
  font-size: 14.5px;
}

.legal-content ul, .legal-content ol {
  color: var(--ink-soft);
  line-height: 2;
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li { margin-bottom: 4px; font-size: 14.5px; }

.legal-meta {
  text-align: right;
  font-size: 13px;
  color: var(--muted);
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .brand { color: #fff; }
.footer-brand .brand-name .en { color: #fff; }
.footer-brand .brand-name .jp { color: rgba(255, 255, 255, 0.5); }

.footer-brand p {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-en);
  font-weight: 500;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
  line-height: 1.8;
}
.footer-col a:hover { color: var(--primary-light); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom .policies {
  display: flex;
  gap: 24px;
}
.footer-bottom .policies a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}
.footer-bottom .policies a:hover { color: #fff; }

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
