/* ==========================================================================
   AINARA - Official Website Style System
   Brand: AINARA | AI Build Lab
   Concept: "人の可能性を未来へ"
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --color-brand-navy: #0B1528;
  --color-brand-navy-light: #152238;
  --color-brand-slate: #1E293B;
  --color-brand-muted: #64748B;
  --color-brand-subtle: #94A3B8;
  --color-brand-border: #E2E8F0;
  --color-brand-bg-light: #F8FAFC;
  --color-brand-bg-subtle: #F1F5F9;
  --color-brand-white: #FFFFFF;

  /* Blue Accents (Intelligence / Trust / Technology) */
  --color-accent-blue: #2563EB;
  --color-accent-blue-hover: #1D4ED8;
  --color-accent-blue-light: #EFF6FF;
  --color-accent-blue-border: #BFDBFE;
  --color-accent-cyan: #0284C7;
  --color-accent-sky: #38BDF8;

  /* Gold / Amber Accents (Human Potential / Warmth / Spark) */
  --color-accent-gold: #D97706;
  --color-accent-gold-light: #FEF3C7;
  --color-accent-amber: #F59E0B;

  /* Typography */
  --font-sans-jp: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-sans-en: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --container-max-width: 1160px;
  --container-padding: 24px;
  --section-spacing: 120px;
  --section-spacing-mobile: 72px;

  /* Elevation & Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.15);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Header Height */
  --header-height: 72px;
}

/* --------------------------------------------------------------------------
   2. Reset & Global Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans-jp);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-brand-slate);
  background-color: var(--color-brand-white);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

::selection {
  background-color: rgba(37, 99, 235, 0.18);
  color: var(--color-brand-navy);
}

:focus-visible {
  outline: 2px solid var(--color-accent-blue);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. Typography & Section Header Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans-en);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-blue);
  background: var(--color-accent-blue-light);
  border: 1px solid var(--color-accent-blue-border);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent-blue);
}

.section-title {
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-brand-navy);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--color-brand-muted);
  line-height: 1.8;
  max-width: 680px;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   4. Buttons & CTAs
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.975rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  text-align: center;
  white-space: nowrap;
  user-select: none;
  min-height: 48px;
}

.btn-primary {
  background-color: var(--color-brand-navy);
  color: var(--color-brand-white);
  box-shadow: 0 4px 14px rgba(11, 21, 40, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-accent-blue);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
  color: var(--color-brand-white);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--color-brand-white);
  color: var(--color-brand-navy);
  border: 1.5px solid var(--color-brand-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--color-accent-blue);
  color: var(--color-accent-blue);
  background-color: var(--color-accent-blue-light);
  transform: translateY(-2px);
}

.btn-blue {
  background-color: var(--color-accent-blue);
  color: var(--color-brand-white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.btn-blue:hover {
  background-color: var(--color-accent-blue-hover);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
  color: var(--color-brand-white);
}

.btn-arrow svg {
  transition: transform var(--transition-fast);
}

.btn-arrow:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   5. Site Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-base);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--color-brand-border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.16rem;
  letter-spacing: 0.19em;
  color: #11284A;
}

.brand-logo-mark {
  width: 44px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-logo-sub {
  font-family: var(--font-sans-en);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-brand-muted);
  letter-spacing: 0.01em;
  padding-left: 10px;
  border-left: 1px solid var(--color-brand-border);
  line-height: 1.2;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-sans-en);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-brand-slate);
  letter-spacing: 0.04em;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-blue);
  transition: width var(--transition-base);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--color-accent-blue);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-btn {
  padding: 9px 20px;
  font-size: 0.875rem;
  min-height: 40px;
}

/* Mobile Hamburger */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-brand-navy);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--header-height) + 64px);
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 15% 70%, rgba(245, 158, 11, 0.05) 0%, transparent 40%),
              var(--color-brand-white);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.35) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--color-brand-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-brand-navy);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.hero-main-title {
  font-size: clamp(2.35rem, 4.3vw, 3.75rem);
  font-weight: 800;
  line-height: 1.28;
  color: var(--color-brand-navy);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.title-chunk {
  display: inline-block;
  white-space: nowrap;
}

.hero-sub-title {
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  font-weight: 700;
  color: var(--color-accent-blue);
  line-height: 1.45;
  margin-bottom: 24px;
}

.hero-description {
  font-size: clamp(0.975rem, 1.4vw, 1.125rem);
  color: var(--color-brand-muted);
  line-height: 1.9;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-cta-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #475569;
  line-height: 1.6;
}

.hero-note svg {
  flex-shrink: 0;
  color: var(--color-accent-gold);
  stroke-width: 2.2;
}

/* Hero Visual Card (Understated & Harmonious) */
.hero-visual {
  position: relative;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 390px;
  margin-left: auto;
}

.hero-feature-card {
  background: var(--color-brand-white);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06), 0 2px 6px -2px rgba(15, 23, 42, 0.03);
  position: relative;
  overflow: hidden;
}

.hero-feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-brand-bg-subtle);
}

.hero-card-tag {
  font-family: var(--font-sans-en);
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent-blue);
  background: var(--color-accent-blue-light);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.hero-pill-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-pill-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--color-brand-bg-light);
  border: 1px solid var(--color-brand-border);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.hero-pill-item:hover {
  transform: translateX(3px);
  border-color: var(--color-accent-blue-border);
  background: var(--color-brand-white);
}

.hero-pill-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-pill-icon.blue {
  background: var(--color-accent-blue-light);
  color: var(--color-accent-blue);
}

.hero-pill-icon.gold {
  background: var(--color-accent-gold-light);
  color: var(--color-accent-gold);
}

.hero-pill-icon.navy {
  background: #E2E8F0;
  color: var(--color-brand-navy);
}

.hero-pill-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-brand-navy);
  margin-bottom: 1px;
}

.hero-pill-text span {
  font-size: 0.765rem;
  color: var(--color-brand-muted);
}

/* Floating Accent Bubble */
.floating-accent {
  position: absolute;
  bottom: -14px;
  left: -14px;
  background: var(--color-brand-navy);
  color: var(--color-brand-white);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 16px rgba(11, 21, 40, 0.16);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  animation: float 4s ease-in-out infinite alternate;
}

.floating-accent-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent-amber);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-accent-amber);
}

@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* --------------------------------------------------------------------------
   7. About Section
   -------------------------------------------------------------------------- */
.about-section {
  background-color: var(--color-brand-bg-light);
  border-top: 1px solid var(--color-brand-border);
  border-bottom: 1px solid var(--color-brand-border);
}

.about-lead-card {
  background: var(--color-brand-white);
  border: 1px solid var(--color-brand-border);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 64px);
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}

.about-lead-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-accent-blue), var(--color-accent-amber));
}

.about-lead-title {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  color: var(--color-brand-navy);
  line-height: 1.45;
  margin-bottom: 28px;
}

.about-lead-text {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 2.1;
  color: var(--color-brand-slate);
}

.about-lead-text p {
  margin-bottom: 20px;
}

.about-lead-text p:last-child {
  margin-bottom: 0;
  font-weight: 700;
  color: var(--color-brand-navy);
}

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

.value-card {
  background: var(--color-brand-white);
  border: 1px solid var(--color-brand-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-blue-border);
  box-shadow: var(--shadow-lg);
}

.value-number {
  font-family: var(--font-sans-en);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--color-accent-blue);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.value-number::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-brand-border);
}

.value-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-brand-navy);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.925rem;
  color: var(--color-brand-muted);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   8. Service Section
   -------------------------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}

.service-card {
  background: var(--color-brand-white);
  border: 1px solid var(--color-brand-border);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-base);
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.3);
}

.service-card-num {
  font-family: var(--font-sans-en);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-brand-bg-subtle);
  line-height: 1;
  margin-bottom: 16px;
  transition: color var(--transition-fast);
}

.service-card:hover .service-card-num {
  color: var(--color-accent-blue-light);
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-brand-navy);
  margin-bottom: 24px;
}

.service-item-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-item-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-brand-slate);
}

.service-item-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent-blue);
  flex-shrink: 0;
}

.service-phase-note {
  background: var(--color-brand-bg-light);
  border: 1px dashed var(--color-brand-border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-brand-muted);
}

/* --------------------------------------------------------------------------
   9. AINARA MATCH (Core Highlight Section)
   -------------------------------------------------------------------------- */
.match-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  position: relative;
}

.match-lead-block {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 56px;
}

.match-lead-block p {
  font-size: 1.05rem;
  color: var(--color-brand-slate);
  line-height: 1.95;
  margin-bottom: 16px;
}

.match-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-accent-gold-light);
  color: var(--color-accent-gold);
  border: 1px solid rgba(217, 119, 6, 0.2);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 8px;
}

.match-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-bottom: 40px;
}

.match-card {
  background: var(--color-brand-white);
  border: 2px solid var(--color-brand-border);
  border-radius: var(--radius-xl);
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: all var(--transition-base);
}

.match-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.match-card.enterprise {
  border-color: rgba(37, 99, 235, 0.25);
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.match-card.enterprise:hover {
  border-color: var(--color-accent-blue);
}

.match-card.talent {
  border-color: rgba(217, 119, 6, 0.25);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF9 100%);
}

.match-card.talent:hover {
  border-color: var(--color-accent-amber);
}

.match-card-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.match-card.enterprise .match-card-badge {
  background: var(--color-accent-blue-light);
  color: var(--color-accent-blue);
  border: 1px solid var(--color-accent-blue-border);
}

.match-card.talent .match-card-badge {
  background: var(--color-accent-gold-light);
  color: var(--color-accent-gold);
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.match-card-title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--color-brand-navy);
  line-height: 1.35;
  margin-bottom: 16px;
}

.match-card-desc {
  font-size: 0.975rem;
  color: var(--color-brand-muted);
  line-height: 1.85;
  margin-bottom: 32px;
  flex-grow: 1;
}

.match-card-action {
  width: 100%;
}

.match-card-action .btn {
  width: 100%;
  padding: 16px 24px;
  font-size: 1.025rem;
}

/* --------------------------------------------------------------------------
   10. How It Works Section
   -------------------------------------------------------------------------- */
.how-section {
  background-color: var(--color-brand-white);
  border-top: 1px solid var(--color-brand-border);
}

.how-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-bottom: 40px;
}

.how-column {
  background: var(--color-brand-bg-light);
  border: 1px solid var(--color-brand-border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
}

.how-column-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-brand-border);
}

.how-column-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--color-brand-navy);
  color: var(--color-brand-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-column-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-brand-navy);
}

.flow-step-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.flow-step-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  position: relative;
}

.flow-step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 36px;
  left: 17px;
  width: 2px;
  height: calc(100% - 16px);
  background: var(--color-brand-border);
}

.flow-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-brand-white);
  border: 2px solid var(--color-accent-blue);
  color: var(--color-accent-blue);
  font-family: var(--font-sans-en);
  font-size: 0.875rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

.flow-step-content {
  padding-top: 4px;
}

.flow-step-title {
  font-size: 1.025rem;
  font-weight: 700;
  color: var(--color-brand-navy);
  margin-bottom: 4px;
}

.flow-step-desc {
  font-size: 0.875rem;
  color: var(--color-brand-muted);
  line-height: 1.7;
}

.how-disclaimer {
  font-size: 0.8125rem;
  color: var(--color-brand-subtle);
  text-align: center;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   11. Media Section
   -------------------------------------------------------------------------- */
.media-section {
  background-color: var(--color-brand-bg-light);
  border-top: 1px solid var(--color-brand-border);
}

.media-box {
  background: var(--color-brand-white);
  border: 1px solid var(--color-brand-border);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 60px);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.media-themes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 36px 0 44px;
}

.theme-badge {
  background: var(--color-brand-bg-light);
  border: 1px solid var(--color-brand-border);
  border-radius: var(--radius-full);
  padding: 10px 22px;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--color-brand-slate);
  transition: all var(--transition-fast);
}

.theme-badge:hover {
  background: var(--color-accent-blue-light);
  border-color: var(--color-accent-blue-border);
  color: var(--color-accent-blue);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   12. Vision Section
   -------------------------------------------------------------------------- */
.vision-section {
  background: radial-gradient(ellipse at 50% 50%, rgba(37, 99, 235, 0.06) 0%, transparent 70%),
              var(--color-brand-white);
  padding-top: calc(var(--section-spacing) * 1.3);
  padding-bottom: calc(var(--section-spacing) * 1.3);
  text-align: center;
  position: relative;
}

.vision-card {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.vision-main-copy {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.35;
  color: var(--color-brand-navy);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.vision-sub-copy {
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  font-weight: 700;
  color: var(--color-accent-blue);
  margin-bottom: 40px;
}

.vision-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--color-accent-blue), var(--color-accent-amber));
  margin: 0 auto 40px;
  border-radius: 2px;
}

.vision-body-text {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 2.2;
  color: var(--color-brand-slate);
  font-weight: 500;
}

.vision-body-text p {
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   13. Character Section (アイナルル)
   -------------------------------------------------------------------------- */
.character-section {
  background-color: var(--color-brand-bg-light);
  border-top: 1px solid var(--color-brand-border);
  padding-top: 80px;
  padding-bottom: 80px;
}

.character-card {
  background: var(--color-brand-white);
  border: 1px solid var(--color-brand-border);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  box-shadow: var(--shadow-sm);
  max-width: 840px;
  margin: 0 auto;
}

.character-media {
  flex-shrink: 0;
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-brand-navy);
  border-radius: 50%;
  border: 2px solid rgba(201, 166, 70, 0.7);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(17, 40, 74, 0.16);
}

.character-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.character-content {
  flex-grow: 1;
}

.character-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-brand-muted);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.character-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-brand-navy);
  margin-bottom: 8px;
}

.character-catchphrase {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent-blue-light);
  color: var(--color-accent-blue);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.character-desc {
  font-size: 0.875rem;
  color: var(--color-brand-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   14. Contact Section
   -------------------------------------------------------------------------- */
.contact-section {
  background: var(--color-brand-navy);
  color: var(--color-brand-white);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.25) 0%, transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.contact-section .section-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #38BDF8;
  border-color: rgba(56, 189, 248, 0.3);
}

.contact-section .section-tag::before {
  background-color: #38BDF8;
}

.contact-section .section-title {
  color: var(--color-brand-white);
}

.contact-section .section-subtitle {
  color: #94A3B8;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

.contact-action-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-base);
}

.contact-action-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
}

.contact-card-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.contact-action-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.4;
  margin-bottom: 14px;
}

.contact-action-card p {
  font-size: 0.925rem;
  color: #CBD5E1;
  line-height: 1.8;
  margin-bottom: 28px;
  flex-grow: 1;
}

.contact-action-card .btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   15. Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #070D18;
  color: #94A3B8;
  padding-top: 80px;
  padding-bottom: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand h2 {
  font-family: var(--font-sans-en);
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.footer-brand-slogan {
  font-size: 1rem;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 8px;
}

.footer-brand-label {
  font-size: 0.8125rem;
  color: #64748B;
  letter-spacing: 0.04em;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer-nav-title {
  font-family: var(--font-sans-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #64748B;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  font-size: 0.875rem;
  color: #94A3B8;
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal-links a {
  font-size: 0.8125rem;
  color: #64748B;
}

.footer-legal-links a:hover {
  color: #94A3B8;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: #64748B;
}

.footer-character-whisper {
  font-size: 0.75rem;
  color: #475569;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   16. Animation & Interaction Utilities
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --------------------------------------------------------------------------
   17. Responsive Design (Tablets & Mobile)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --section-spacing: 96px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    order: 2;
  }

  .hero-card-stack {
    max-width: 100%;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .how-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: var(--section-spacing-mobile);
    --header-height: 64px;
    --container-padding: 20px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: #FFFFFF;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
    border-top: 1px solid var(--color-brand-border);
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.15rem;
    font-weight: 700;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-brand-bg-subtle);
  }

  .header-cta-group .header-btn {
    display: none;
  }

  .hero-main-title {
    font-size: clamp(1.95rem, 8.2vw, 2.5rem);
    line-height: 1.32;
  }

  .hero-cta-wrapper {
    flex-direction: column;
  }

  .hero-cta-wrapper .btn {
    width: 100%;
  }

  .match-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .character-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .character-media {
    width: 150px;
    height: 150px;
  }

  .character-catchphrase {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* Utility classes for responsive line breaks */
.pc-only {
  display: inline;
}
.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: inline;
  }
}

/* Accessible Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   18. Subpages & Legal Document Styles (Privacy, Terms, Operator)
   -------------------------------------------------------------------------- */
.subpage-hero {
  padding-top: calc(var(--header-height) + 56px);
  padding-bottom: 48px;
  background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.06) 0%, transparent 50%),
              var(--color-brand-bg-light);
  border-bottom: 1px solid var(--color-brand-border);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-brand-muted);
  margin-bottom: 20px;
}

.breadcrumb-nav a {
  color: var(--color-brand-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb-nav a:hover {
  color: var(--color-accent-blue);
}

.breadcrumb-separator {
  color: var(--color-brand-subtle);
}

.subpage-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--color-brand-navy);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.subpage-meta {
  font-size: 0.8125rem;
  color: var(--color-brand-muted);
}

.subpage-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px var(--container-padding) 96px;
}

.legal-card {
  background: var(--color-brand-white);
  border: 1px solid var(--color-brand-border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-sm);
}

.legal-lead {
  font-size: 1rem;
  line-height: 1.95;
  color: var(--color-brand-slate);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-brand-border);
}

.legal-section {
  margin-bottom: 44px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-brand-navy);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent-blue-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-section-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background-color: var(--color-accent-blue);
  border-radius: 2px;
}

.legal-sub-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-brand-navy);
  margin: 20px 0 10px;
}

.legal-text {
  font-size: 0.95rem;
  line-height: 1.95;
  color: var(--color-brand-slate);
  margin-bottom: 14px;
}

.legal-list {
  margin: 12px 0 18px 0;
  padding-left: 24px;
}

.legal-list li {
  font-size: 0.925rem;
  line-height: 1.85;
  color: var(--color-brand-slate);
  margin-bottom: 8px;
  list-style: disc;
}

.legal-list.ordered {
  padding-left: 24px;
}

.legal-list.ordered li {
  list-style: decimal;
}

.legal-note-box {
  background: var(--color-brand-bg-light);
  border-left: 4px solid var(--color-accent-blue);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 20px 0;
  font-size: 0.9rem;
  color: var(--color-brand-slate);
  line-height: 1.8;
}

/* Operator Info Table */
.operator-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 36px;
  border: 1px solid var(--color-brand-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.operator-table tr:not(:last-child) {
  border-bottom: 1px solid var(--color-brand-border);
}

.operator-table th {
  width: 28%;
  background: var(--color-brand-bg-light);
  padding: 18px 20px;
  text-align: left;
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--color-brand-navy);
  vertical-align: top;
}

.operator-table td {
  padding: 18px 20px;
  font-size: 0.925rem;
  color: var(--color-brand-slate);
  line-height: 1.8;
  background: var(--color-brand-white);
}

.subpage-back-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .subpage-container {
    padding: 32px var(--container-padding) 64px;
  }

  .operator-table {
    display: block;
  }

  .operator-table tbody, .operator-table tr {
    display: block;
  }

  .operator-table th {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-bottom: none;
  }

  .operator-table td {
    display: block;
    width: 100%;
    padding: 8px 16px 16px;
  }
}
