:root {
  --color-navy: #232b60;
  --color-navy-2: #1a2148;
  --color-blue: #d04413;
  --color-blue-dark: #ad350c;
  --color-red: #fe5e2c;
  --color-orange: #fe5e2c;
  --color-orange-hover: #ff754c;
  --color-orange-text: #d04413;
  --color-gold: #c9a227;
  --color-text: #1a1a1a;
  --color-muted: #5f6472;
  --color-border: #dfe2e8;
  --color-bg: #f7f7f5;
  --color-white: #ffffff;
  --shadow-sm: 0 10px 30px rgba(8, 26, 53, 0.08);
  --shadow-md: 0 18px 60px rgba(8, 26, 53, 0.16);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background: #1a2148;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0;
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  line-height: 1.75;
  background: #1a2148;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
}


main {
  flex: 1 0 auto;
  width: 100%;
  background: var(--color-white);
}

.site-header,
.site-footer {
  flex-shrink: 0;
}

body.nav-open {
  overflow-y: auto;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(24, 90, 219, 0.45);
  outline-offset: 4px;
}

p,
h1,
h2,
h3,
dl,
dd,
ul,
ol {
  margin-top: 0;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  transform: translateY(-140%);
  background: var(--color-navy);
  color: var(--color-white);
  padding: 10px 14px;
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 226, 239, 0.8);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 28px rgba(8, 26, 53, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 220px;
}

.brand img {
  width: 242px;
  max-height: 46px;
  object-fit: contain;
}

.brand-fallback {
  display: none;
  align-items: center;
  color: var(--color-navy);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--color-navy);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-nav a:hover {
  background: #f2f2f0;
  color: var(--color-blue);
}

.site-nav .nav-cta {
  margin-left: 8px;
  color: var(--color-navy-2);
  background: var(--color-red);
  box-shadow: 0 10px 22px rgba(254, 94, 44, 0.24);
}

.site-nav .nav-cta:hover {
  color: var(--color-navy-2);
  background: var(--color-orange-hover);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 720px;
  display: grid;
  align-items: center;
  color: var(--color-white);
  background:
    radial-gradient(circle at 82% 22%, rgba(24, 90, 219, 0.52), transparent 26%),
    linear-gradient(135deg, #1a2148 0%, #232b60 46%, #39437b 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(90deg, rgba(6, 19, 41, 0.85), rgba(6, 19, 41, 0.55)), url('/img/HP_TOP.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.58;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 580px;
  height: 580px;
  right: -220px;
  top: 80px;
  background: rgba(199, 154, 59, 0.16);
  filter: blur(4px);
}

.hero::after {
  width: 360px;
  height: 360px;
  left: -160px;
  bottom: -140px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 56px;
  align-items: center;
  padding: 96px 0 80px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 26px;
  font-size: clamp(2.25rem, 4.7vw, 4.5rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.hero-lead {
  max-width: 740px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.3;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--color-navy-2);
  background: var(--color-red);
  box-shadow: 0 15px 34px rgba(254, 94, 44, 0.30);
}

.button-primary:hover {
  color: var(--color-navy-2);
  background: var(--color-orange-hover);
}

.button-secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button-light {
  color: var(--color-navy);
  background: var(--color-white);
  box-shadow: 0 12px 30px rgba(8, 26, 53, 0.16);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding: 14px 16px 14px 38px;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 24px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
}

.hero-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.hero-card-label {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.metric-list {
  display: grid;
  gap: 20px;
  margin-bottom: 0;
}

.metric-list div {
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.metric-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.metric-list dt {
  margin-bottom: 6px;
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.metric-list dd {
  margin-left: 0;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.trust-band {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 22px 0;
}

.trust-grid p {
  position: relative;
  margin-bottom: 0;
  padding-left: 24px;
  color: var(--color-navy);
  font-size: 0.95rem;
  font-weight: 800;
}

.trust-grid p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-red);
}

.section {
  padding: 96px 0;
}

.section-muted {
  background: var(--color-bg);
}

.section-dark {
  color: var(--color-white);
  background:
    radial-gradient(circle at 15% 18%, rgba(199, 154, 59, 0.22), transparent 30%),
    linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-2) 100%);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 16px;
  color: var(--color-navy);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.section-dark .section-heading h2,
.section-dark .section-heading p:not(.eyebrow) {
  color: var(--color-white);
}

.section-heading p:not(.eyebrow),
.intro-text p {
  color: var(--color-muted);
  font-size: 1.02rem;
}

.section-dark .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.intro-text {
  padding: 34px;
  border-left: 4px solid var(--color-red);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: linear-gradient(90deg, #fff8f8, #ffffff);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.feature-card,
.service-card,
.problem-card,
.news-item,
.recruit-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  min-height: 280px;
}

.feature-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -72px;
  top: -72px;
  border-radius: 50%;
  background: rgba(24, 90, 219, 0.08);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  color: var(--color-red);
  border: 1px solid rgba(181, 31, 42, 0.22);
  border-radius: 50%;
  font-weight: 900;
}

.feature-card h3,
.service-card h3,
.problem-card h3,
.recruit-panel h3,
.news-item h3 {
  margin-bottom: 12px;
  color: var(--color-navy);
  font-size: 1.22rem;
  line-height: 1.45;
}

.feature-card p,
.service-card p,
.problem-card p,
.news-item p,
.recruit-panel p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.service-list {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
}

.service-card {
  padding: 30px;
}

.service-card-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  color: var(--color-white);
  border: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(199, 154, 59, 0.32), transparent 28%),
    linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-2) 100%);
}

.service-card-main h3,
.service-card-main p,
.service-card-main .text-link {
  color: var(--color-white);
}

.service-card-main p {
  color: rgba(255, 255, 255, 0.76);
}

.service-kicker {
  margin-bottom: 10px;
  color: var(--color-red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.service-card-main .service-kicker {
  color: var(--color-gold);
}

.service-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.86);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-gold);
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--color-blue);
  font-weight: 900;
}

.text-link::after {
  content: "→";
  transition: transform 0.18s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.problem-card {
  min-height: 250px;
  padding: 28px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.problem-card h3 {
  color: var(--color-white);
}

.problem-card p {
  color: rgba(255, 255, 255, 0.72);
}

.timeline {
  counter-reset: timeline;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.timeline li {
  position: relative;
  min-height: 260px;
  padding: 32px;
  background: var(--color-white);
  border-right: 1px solid var(--color-border);
}

.timeline li:last-child {
  border-right: 0;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--color-red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.timeline h3 {
  margin-bottom: 12px;
  color: var(--color-navy);
}

.timeline p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.recruit-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7f1e4 100%);
}

.recruit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 42px;
  align-items: center;
}

.recruit-copy h2 {
  margin-bottom: 18px;
  color: var(--color-navy);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.recruit-copy p {
  color: var(--color-muted);
  font-size: 1.02rem;
}

.recruit-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.recruit-facts div {
  padding: 18px;
  border: 1px solid rgba(199, 154, 59, 0.34);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
}

.recruit-facts strong,
.recruit-facts span {
  display: block;
}

.recruit-facts strong {
  margin-bottom: 5px;
  color: var(--color-navy);
  font-size: 1rem;
}

.recruit-facts span {
  color: var(--color-muted);
  font-size: 0.86rem;
}

.recruit-panel {
  position: relative;
  overflow: hidden;
  padding: 34px;
}

.recruit-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--color-red), var(--color-gold));
}

.recruit-panel ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.recruit-panel li {
  position: relative;
  padding: 13px 14px 13px 38px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fbfdff;
  font-weight: 800;
}

.recruit-panel li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-red);
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 26px;
  align-items: start;
}

.news-item time {
  color: var(--color-red);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.news-item h3 {
  margin-bottom: 8px;
}

.news-item a:hover {
  color: var(--color-blue);
}

.cta-section {
  padding: 82px 0;
  color: var(--color-white);
  background:
    radial-gradient(circle at 88% 22%, rgba(254, 94, 44, 0.24), transparent 28%),
    linear-gradient(135deg, #1a2148 0%, #232b60 70%, #50301b 135%);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta-box h2 {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.cta-box p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.cta-box .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.74);
  background: #1a2148;
  padding-bottom: env(safe-area-inset-bottom);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  padding: 54px 0 34px;
}

.footer-brand {
  margin-bottom: 10px;
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 900;
}

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

.footer-nav a {
  color: rgba(255, 255, 255, 0.74);
}

.footer-nav a:hover {
  color: var(--color-white);
}

.footer-bottom {
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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

@media (max-width: 1080px) {
  .site-nav {
    gap: 0;
    font-size: 0.86rem;
  }

  .site-nav a {
    padding-inline: 9px;
  }

  .hero-grid,
  .service-list,
  .recruit-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 620px;
  }

  .hero-points,
  .trust-grid,
  .recruit-facts {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .problem-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline li:nth-child(2) {
    border-right: 0;
  }

  .timeline li:nth-child(1),
  .timeline li:nth-child(2) {
    border-bottom: 1px solid var(--color-border);
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 210px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 70px 14px auto;
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    transform: translateY(-18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a {
    min-height: 48px;
    padding-inline: 16px;
    border-radius: 12px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    justify-content: center;
    border-radius: 999px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 72px 0 64px;
    gap: 30px;
  }

  .section {
    padding: 68px 0;
  }

  .two-column,
  .footer-grid,
  .cta-box {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cta-box {
    text-align: left;
  }

  .service-subgrid,
  .card-grid,
  .problem-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline li,
  .timeline li:nth-child(2),
  .timeline li:nth-child(1) {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .timeline li:last-child {
    border-bottom: 0;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 560px) {
  body {
    line-height: 1.72;
  }

  .brand img {
    width: 184px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-actions .button,
  .button {
    width: 100%;
  }

  .hero-card,
  .intro-text,
  .service-card,
  .feature-card,
  .problem-card,
  .recruit-panel,
  .news-item {
    padding: 24px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }
}


/* Recruit page additions
-------------------------------------------------- */
html {
  scroll-padding-top: 96px;
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--color-white);
  background:
    radial-gradient(circle at 82% 14%, rgba(199, 154, 59, 0.22), transparent 30%),
    linear-gradient(135deg, #1a2148 0%, #232b60 48%, #39437b 100%);
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
}

.page-hero::before {
  width: 520px;
  height: 520px;
  right: -210px;
  top: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.page-hero::after {
  width: 360px;
  height: 360px;
  left: -170px;
  bottom: -180px;
  background: rgba(181, 31, 42, 0.22);
}

.recruit-hero {
  background:
    linear-gradient(90deg, rgba(6, 19, 41, 0.9), rgba(6, 19, 41, 0.68)),
    url('/img/HP_TOP.jpg'),
    linear-gradient(135deg, #1a2148 0%, #232b60 48%, #39437b 100%);
  background-size: cover;
  background-position: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--color-white);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(310px, 0.82fr);
  gap: 56px;
  align-items: center;
  padding: 74px 0 88px;
}

.page-hero-copy h1 {
  margin-bottom: 26px;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.page-hero-panel {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.anchor-nav {
  position: sticky;
  top: 79px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
}

.anchor-nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}

.anchor-nav-inner::-webkit-scrollbar {
  display: none;
}

.anchor-nav a {
  flex: 0 0 auto;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--color-navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.anchor-nav a:hover {
  color: var(--color-blue);
  background: #f2f2f0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stat-card {
  min-height: 210px;
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.stat-card strong,
.stat-card span {
  display: block;
}

.stat-card strong {
  margin-bottom: 16px;
  color: var(--color-red);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.stat-card span {
  color: var(--color-muted);
  font-weight: 700;
}

.jobs-grid {
  display: grid;
  gap: 26px;
}

.job-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 26px;
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.job-card-head {
  position: sticky;
  top: 154px;
  align-self: start;
}

.job-card-head h3 {
  margin: 18px 0 14px;
  color: var(--color-navy);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.job-card-head p {
  color: var(--color-muted);
}

.job-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--color-red);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.job-badge-blue {
  background: var(--color-blue);
}

.job-badge-gold {
  color: var(--color-navy);
  background: var(--color-gold);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.job-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 0.94rem;
}

.job-table th,
.job-table td {
  padding: 16px 18px;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
}

.job-table tr:last-child th,
.job-table tr:last-child td {
  border-bottom: 0;
}

.job-table th {
  width: 150px;
  color: var(--color-navy);
  background: #f7f7f5;
  text-align: left;
  font-weight: 900;
  white-space: nowrap;
}

.job-table td {
  color: var(--color-muted);
  background: var(--color-white);
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.education-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
}

.education-card span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--color-gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.education-card h3 {
  color: var(--color-white);
}

.education-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.person-list {
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.check-list-dark {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list-dark li {
  position: relative;
  padding-left: 34px;
  color: var(--color-navy);
  font-weight: 800;
}

.check-list-dark li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-red);
  font-weight: 900;
}

.selection-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.selection-steps li {
  min-height: 260px;
  padding: 32px;
  border-right: 1px solid var(--color-border);
  background: var(--color-white);
}

.selection-steps li:last-child {
  border-right: 0;
}

.selection-steps span {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--color-red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.selection-steps h3 {
  color: var(--color-navy);
}

.selection-steps p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.faq-container {
  max-width: 920px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  position: relative;
  cursor: pointer;
  padding: 22px 58px 22px 24px;
  color: var(--color-navy);
  font-weight: 900;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-red);
  font-size: 1.5rem;
  font-weight: 900;
}

.faq[open] summary::after {
  content: "−";
}

.faq div {
  padding: 0 24px 24px;
  color: var(--color-muted);
}

.entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 1080px) {
  .page-hero-grid,
  .job-card {
    grid-template-columns: 1fr;
  }

  .job-card-head {
    position: static;
  }

  .stat-grid,
  .education-grid,
  .benefit-grid,
  .selection-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .education-grid {
    gap: 20px;
  }

  .selection-steps li:nth-child(2) {
    border-right: 0;
  }

  .selection-steps li:nth-child(1),
  .selection-steps li:nth-child(2) {
    border-bottom: 1px solid var(--color-border);
  }
}

@media (max-width: 820px) {
  .anchor-nav {
    top: 70px;
  }

  .page-hero-grid {
    padding: 58px 0 68px;
    gap: 30px;
  }

  .page-hero-panel,
  .job-card,
  .stat-card,
  .education-card,
  .person-list,
  .selection-steps li {
    padding: 24px;
  }

  .stat-grid,
  .education-grid,
  .benefit-grid,
  .selection-steps {
    grid-template-columns: 1fr;
  }

  .selection-steps li,
  .selection-steps li:nth-child(2),
  .selection-steps li:nth-child(1) {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .selection-steps li:last-child {
    border-bottom: 0;
  }

  .entry-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .page-hero-copy h1 {
    font-size: 2.28rem;
  }

  .job-card {
    padding: 18px;
  }

  .job-table {
    min-width: 560px;
  }

  .entry-actions,
  .entry-actions .button {
    width: 100%;
  }
}


/* Recruit page ---------------------------------------------------------- */
.site-nav a[aria-current="page"] {
  color: var(--color-blue);
  background: #f2f2f0;
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--color-white);
  background:
    radial-gradient(circle at 82% 20%, rgba(199, 154, 59, 0.24), transparent 28%),
    linear-gradient(135deg, #1a2148 0%, #232b60 52%, #39437b 100%);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(90deg, rgba(6, 19, 41, 0.88), rgba(6, 19, 41, 0.58)), url('/img/HP_TOP.jpg');
  background-position: center;
  background-size: cover;
  opacity: 0.48;
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
}

.page-hero::before {
  width: 520px;
  height: 520px;
  right: -220px;
  top: 70px;
  background: rgba(24, 90, 219, 0.22);
}

.page-hero::after {
  width: 320px;
  height: 320px;
  left: -150px;
  bottom: -130px;
  background: rgba(255, 255, 255, 0.08);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 54px;
  align-items: center;
  min-height: 560px;
  padding: 92px 0 84px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
}

.breadcrumb a:hover {
  color: var(--color-white);
}

.breadcrumb span::before {
  content: "/";
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.38);
}

.page-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 4.7vw, 4.3rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.page-lead {
  max-width: 760px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}

.page-hero-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.quick-facts {
  display: grid;
  gap: 18px;
  margin-bottom: 0;
}

.quick-facts div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.quick-facts div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.quick-facts dt {
  color: var(--color-white);
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.quick-facts .holiday-fact {
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 10px;
}

.quick-facts .holiday-fact dt {
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.quick-facts dd {
  margin-left: 0;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.anchor-nav {
  position: sticky;
  top: 78px;
  z-index: 900;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(14px);
}

.anchor-nav-inner {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: thin;
}

.anchor-nav a {
  flex: 0 0 auto;
  padding: 8px 14px;
  color: var(--color-navy);
  border-radius: 999px;
  background: var(--color-bg);
  font-size: 0.9rem;
  font-weight: 850;
}

.anchor-nav a:hover {
  color: var(--color-blue);
  background: #f2f2f0;
}

.recruit-value-grid .feature-card {
  min-height: 310px;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.job-card,
.benefit-card,
.training-panel,
.faq-list details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.job-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
}

.job-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-red), var(--color-gold));
}

.job-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.job-kicker {
  width: 100%;
  margin-bottom: 0;
  color: var(--color-red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.job-card h3,
.benefit-card h3,
.training-panel h3 {
  margin-bottom: 0;
  color: var(--color-navy);
  font-size: 1.3rem;
}

.job-card p,
.benefit-card p {
  color: var(--color-muted);
}

.job-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  color: var(--color-white);
  border-radius: 999px;
  background: var(--color-blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.job-badge-gold {
  color: var(--color-navy);
  background: #f3d991;
}

.job-badge-navy {
  background: var(--color-navy);
}

.job-badge-red {
  background: var(--color-red);
}

.table-scroll {
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.job-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #fff;
}

.job-table th,
.job-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.job-table tr:last-child th,
.job-table tr:last-child td {
  border-bottom: 0;
}

.job-table th {
  width: 132px;
  color: var(--color-navy);
  background: #f7f7f5;
  font-weight: 900;
}

.training-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 48px;
  align-items: center;
}

.training-panel {
  padding: 34px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.training-panel h3 {
  margin-bottom: 20px;
  color: var(--color-white);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.benefit-card {
  padding: 26px;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 52px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  color: var(--color-navy);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-red);
  font-size: 1.45rem;
  font-weight: 900;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--color-muted);
}

.entry-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.entry-box p {
  max-width: 780px;
}

.entry-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.entry-list li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.entry-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
}

.entry-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-actions {
  display: grid;
  gap: 12px;
  min-width: 260px;
}

@media (max-width: 1080px) {
  .page-hero-grid,
  .training-grid,
  .faq-grid,
  .entry-box {
    grid-template-columns: 1fr;
  }

  .job-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-card {
    max-width: 720px;
  }
}

@media (max-width: 820px) {
  .anchor-nav {
    top: 70px;
  }

  .page-hero-grid {
    min-height: auto;
    padding: 72px 0 62px;
    gap: 30px;
  }

  .quick-facts div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .recruit-flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page-hero h1 {
    font-size: 2.28rem;
  }

  .page-hero-card,
  .job-card,
  .training-panel,
  .benefit-card {
    padding: 24px;
  }

  .anchor-nav a {
    font-size: 0.84rem;
  }

  .entry-actions {
    min-width: 0;
  }
}

/* ======================================================================
   Final integrated fixes: layout balance, video hero, recruitment cards
   ====================================================================== */
.hero-with-video {
  min-height: clamp(680px, 72vh, 820px);
  background: #1a2148;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  overflow: hidden;
  background: #1a2148;
}

.hero-video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78vh);
  height: max(56.25vw, 100vh);
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

.hero-with-video .hero-bg {
  z-index: -2;
  background:
    linear-gradient(95deg, rgba(6, 19, 41, 0.76) 0%, rgba(6, 19, 41, 0.50) 48%, rgba(6, 19, 41, 0.22) 100%);
  opacity: 1;
}

.hero-with-video .hero-grid {
  position: relative;
  z-index: 1;
}

.section-heading h2,
.page-hero h1,
.hero h1 {
  word-break: keep-all;
  line-break: strict;
}

.text-keep {
  display: inline-block;
  white-space: nowrap;
}

.products-page-hero .page-hero-copy h1,
.recruit-page-hero .page-hero-copy h1 {
  font-size: clamp(2.35rem, 4.4vw, 3.75rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.recruit-page-hero .page-hero-copy,
.products-page-hero .page-hero-copy {
  max-width: 820px;
}

.products-page-hero .product-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
  gap: 52px;
}

.product-hero-card {
  max-width: 420px;
  justify-self: end;
}

.product-hero-card .quick-facts {
  display: grid;
  gap: 0;
}

.product-hero-card .quick-facts div {
  display: block;
  padding: 0 0 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.product-hero-card .quick-facts div:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.product-hero-card .quick-facts dt {
  margin: 0 0 8px;
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.055em;
  white-space: normal;
  overflow-wrap: normal;
}

.product-hero-card .quick-facts dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.6;
}

/* Recruit movie */
.recruit-movie-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 52px;
  align-items: center;
}

.recruit-movie-section .section-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.2;
}

.recruit-video {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-navy);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
}

.recruit-video iframe,
.recruit-video .youtube-poster,
.recruit-video .youtube-poster img {
  width: 100%;
  height: 100%;
}

.recruit-video iframe {
  display: block;
  border: 0;
}

.youtube-poster {
  position: relative;
}

.youtube-poster img {
  display: block;
  object-fit: cover;
}

.youtube-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 26, 53, 0.20), rgba(8, 26, 53, 0.48));
}

.youtube-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  color: var(--color-white);
  background: rgba(181, 31, 42, 0.96);
  box-shadow: 0 16px 36px rgba(8, 26, 53, 0.28);
  font-weight: 900;
  cursor: pointer;
}

.youtube-play-icon {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--color-white);
}

.youtube-open-link {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--color-white);
  background: rgba(8, 26, 53, 0.64);
  font-size: 0.86rem;
  font-weight: 800;
}

.youtube-local-note,
.youtube-noscript {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  margin: 0;
  padding: 10px 12px;
  color: var(--color-white);
  border-radius: var(--radius-sm);
  background: rgba(8, 26, 53, 0.72);
  font-size: 0.86rem;
}

/* Recruit job cards */
.job-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.job-card {
  display: block !important;
  position: relative;
  min-width: 0;
  height: auto;
  padding: 32px !important;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.job-card-head {
  position: static !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin-bottom: 16px;
}

.job-kicker {
  width: 100%;
  margin: 0;
}

.job-card-head h3 {
  flex: 1 1 auto;
  min-width: 210px;
  margin: 0 !important;
  color: var(--color-navy);
  font-size: clamp(1.45rem, 2.1vw, 1.85rem) !important;
  line-height: 1.35;
  word-break: keep-all;
}

.job-card > p {
  margin: 0 0 18px;
  color: var(--color-muted);
  line-height: 1.85;
}

.table-scroll {
  width: 100%;
  margin-top: 20px;
  overflow-x: visible;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.job-table {
  width: 100%;
  min-width: 0 !important;
  table-layout: fixed;
  border-collapse: collapse;
}

.job-table th {
  width: 128px;
  white-space: normal;
}

.job-table th,
.job-table td {
  padding: 15px 16px;
  vertical-align: top;
}

.job-table td {
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.8;
}

.job-skill-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.15em;
  color: var(--color-muted);
}

.job-skill-list li {
  margin: 0;
  line-height: 1.75;
}

.job-card-highlight::before {
  background: linear-gradient(90deg, var(--color-red), var(--color-blue), var(--color-gold));
}

/* About us: president message and access */
.message-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
  gap: 48px;
  align-items: start;
  padding: 42px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.message-title,
.message-body {
  min-width: 0;
}

.message-title h2 {
  margin-bottom: 16px;
}

.president-name {
  color: var(--color-navy);
  font-weight: 900;
}

.president-photo {
  max-width: 260px;
  margin: 22px 0 0;
}

.president-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.president-photo figcaption {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.message-body {
  display: block !important;
  max-width: 760px;
  color: var(--color-text);
}

.message-body p {
  margin-bottom: 1.2em;
  line-height: 2;
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 0.55fr);
  gap: 48px;
  align-items: start;
}

.access-card {
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.access-photo {
  margin: 0;
}

.access-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.access-card-content {
  padding: 30px;
}

@media (max-width: 1080px) {
  .products-page-hero .product-hero-grid,
  .recruit-movie-grid,
  .message-card,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .product-hero-card {
    justify-self: start;
    max-width: 620px;
  }

  .job-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero-with-video {
    min-height: auto;
  }

  .hero-video-bg iframe {
    width: 177.78vh;
    height: 100vh;
  }

  .products-page-hero .page-hero-copy h1,
  .recruit-page-hero .page-hero-copy h1 {
    font-size: clamp(2rem, 9vw, 2.9rem);
  }

  .text-keep {
    display: inline;
    white-space: normal;
  }

  .table-scroll {
    overflow-x: auto;
  }

  .job-table {
    min-width: 560px !important;
  }

  .president-photo {
    max-width: 220px;
  }
}

/* Final typography tuning for Japanese headings */
.products-page-hero .page-hero-copy h1,
.recruit-page-hero .page-hero-copy h1 {
  font-size: clamp(2.15rem, 3.2vw, 3.6rem) !important;
  line-height: 1.22;
}

.recruit-movie-section .section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.85rem) !important;
  line-height: 1.25;
}

/* ======================================================================
   Products page visual refresh v2
   ====================================================================== */
.products-hero-v2 {
  min-height: clamp(680px, 76vh, 840px);
  background:
    radial-gradient(circle at 76% 18%, rgba(24, 90, 219, 0.30), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(199, 154, 59, 0.18), transparent 28%),
    linear-gradient(135deg, #1a2148 0%, #232b60 48%, #39437b 100%);
}

.products-hero-v2 .page-hero-bg {
  background:
    linear-gradient(112deg, rgba(6, 19, 41, 0.88) 0%, rgba(6, 19, 41, 0.70) 48%, rgba(6, 19, 41, 0.38) 100%),
    radial-gradient(circle at 72% 42%, rgba(24, 90, 219, 0.48), transparent 26%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 64px);
  opacity: 1;
}

.products-hero-v2::before {
  width: 520px;
  height: 520px;
  right: -180px;
  top: 95px;
  background: rgba(199, 154, 59, 0.12);
  filter: blur(1px);
}

.products-hero-v2::after {
  width: 420px;
  height: 420px;
  left: -190px;
  bottom: -160px;
  background: rgba(24, 90, 219, 0.16);
}

.product-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: clamp(38px, 5.5vw, 76px);
  align-items: center;
  min-height: clamp(620px, 72vh, 780px);
  padding: 92px 0 84px;
}

.product-hero-copy h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 4.1vw, 4.35rem) !important;
  line-height: 1.14 !important;
  letter-spacing: -0.055em;
  word-break: keep-all;
}

.product-hero-copy h1 span {
  display: block;
}

.product-hero-copy .page-lead {
  max-width: 790px;
}

.product-hero-points {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.product-hero-points li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  line-height: 1.6;
}

.product-hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-red), var(--color-gold));
  box-shadow: 0 0 0 5px rgba(255,255,255,0.08);
}

.product-dashboard {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
}

.dashboard-visual {
  position: absolute;
  inset: 0 0 120px;
  min-height: 340px;
}

.dashboard-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.20);
  background: radial-gradient(circle, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  box-shadow: inset 0 0 80px rgba(255,255,255,0.05), 0 24px 70px rgba(0,0,0,0.18);
}

.dashboard-ring-outer {
  width: 360px;
  height: 360px;
  right: 28px;
  top: 10px;
}

.dashboard-ring-inner {
  width: 230px;
  height: 230px;
  right: 92px;
  top: 76px;
  border-color: rgba(199,154,59,0.35);
}

.dashboard-center {
  position: absolute;
  right: 135px;
  top: 130px;
  width: 146px;
  height: 146px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 36px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 58px rgba(0,0,0,0.20);
}

.dashboard-center span,
.dashboard-center small {
  color: rgba(255,255,255,0.74);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dashboard-center strong {
  display: block;
  margin: 2px 0;
  color: var(--color-white);
  font-size: 3.2rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.06em;
}

.dashboard-panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 28px;
  background: rgba(255,255,255,0.13);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.22);
}

.dashboard-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--color-red), var(--color-gold), var(--color-blue));
}

.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.dashboard-kpis div {
  min-width: 0;
  padding: 18px 14px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
}

.dashboard-kpis strong,
.dashboard-kpis span {
  display: block;
}

.dashboard-kpis strong {
  color: var(--color-white);
  font-size: clamp(1.28rem, 2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

.dashboard-kpis span {
  margin-top: 7px;
  color: rgba(255,255,255,0.76);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.45;
}

.dashboard-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.dashboard-flow span {
  position: relative;
  padding: 9px 8px;
  color: rgba(255,255,255,0.90);
  text-align: center;
  border-radius: 999px;
  background: rgba(8, 26, 53, 0.36);
  font-size: 0.78rem;
  font-weight: 900;
}

.product-anchor-nav {
  box-shadow: 0 12px 32px rgba(8,26,53,0.06);
}

.product-anchor-nav .anchor-nav-inner {
  justify-content: center;
}

.product-feature-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 62%, #f7f7f5 100%);
}

.product-intro-v2,
.product-service-v2,
.product-basics-grid,
.learn-grid-v2,
.comparison-grid-v2,
.product-faq-grid-v2 {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
}

.product-proof-panel {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.product-proof-panel div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f7f7f5, #ffffff);
}

.product-proof-panel span {
  color: var(--color-blue);
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  font-weight: 950;
  letter-spacing: -0.03em;
}

.product-proof-panel p {
  margin: 0;
  color: var(--color-muted);
  font-weight: 800;
  line-height: 1.6;
}

.product-value-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.product-value-card,
.module-card-v2,
.operation-card-v2,
.update-card-v2,
.basics-card-grid article,
.service-scope-list-v2 article,
.system-dev-panels-v2 article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.product-value-card {
  min-height: 290px;
  padding: 28px;
}

.product-value-card::after,
.module-card-v2::after,
.operation-card-v2::after,
.update-card-v2::after,
.basics-card-grid article::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--color-red), var(--color-gold));
}

.product-value-card .card-number {
  color: rgba(24, 90, 219, 0.14);
  font-size: 3rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.08em;
}

.product-value-card h3,
.module-card-v2 h3,
.operation-card-v2 h3,
.basics-card-grid h3,
.service-scope-list-v2 h3,
.system-dev-panels-v2 h3,
.update-card-v2 h3 {
  color: var(--color-navy);
  line-height: 1.45;
  word-break: keep-all;
}

.product-value-card h3 {
  margin: 12px 0 12px;
  font-size: 1.18rem;
}

.product-value-card p,
.module-card-v2 p,
.operation-card-v2 p,
.basics-card-grid p,
.service-scope-list-v2 p,
.system-dev-panels-v2 p,
.update-card-v2 p {
  color: var(--color-muted);
}

.product-basics-section {
  position: relative;
}

.basics-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.basics-card-grid article {
  padding: 26px;
}

.basics-card-grid span,
.operation-card-v2 span,
.service-scope-list-v2 span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 12px;
  padding: 5px 10px;
  color: var(--color-blue);
  border-radius: 999px;
  background: #f2f2f0;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.module-grid-v2,
.operation-grid-v2,
.update-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.module-card-v2 {
  padding: 32px;
}

.module-kicker,
.update-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 4px 10px;
  color: var(--color-navy);
  border-radius: 999px;
  background: rgba(199,154,59,0.18);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.module-card-v2 ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 18px;
  list-style: none;
  border-radius: 18px;
  background: #f7f7f5;
}

.module-card-v2 li {
  position: relative;
  padding-left: 22px;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.65;
}

.module-card-v2 li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-blue);
}

.product-consulting-section {
  background: linear-gradient(180deg, #ffffff, #f9fbff 58%, #ffffff);
}

.service-scope-list-v2,
.system-dev-panels-v2 {
  display: grid;
  gap: 16px;
}

.service-scope-list-v2 article,
.system-dev-panels-v2 article {
  padding: 24px 26px;
}

.process-panel-v2 {
  margin-top: 52px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(8,26,53,0.96), rgba(15,55,112,0.96)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 52px);
  box-shadow: var(--shadow-md);
}

.process-panel-v2 .section-heading h2,
.process-panel-v2 .section-heading p:not(.eyebrow) {
  color: var(--color-white);
}

.process-timeline-v2 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.process-timeline-v2 li {
  position: relative;
  min-width: 0;
  padding: 22px 18px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 20px;
  background: rgba(255,255,255,0.10);
}

.process-timeline-v2 li span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--color-gold);
  font-weight: 950;
  letter-spacing: 0.12em;
}

.process-timeline-v2 h3 {
  margin-bottom: 10px;
  color: var(--color-white);
  font-size: 1rem;
  line-height: 1.45;
  word-break: keep-all;
}

.process-timeline-v2 p {
  margin: 0;
  color: rgba(255,255,255,0.76);
  font-size: 0.92rem;
  line-height: 1.75;
}

.product-dark-section {
  background:
    radial-gradient(circle at 78% 18%, rgba(24, 90, 219, 0.28), transparent 30%),
    linear-gradient(135deg, #1a2148 0%, #232b60 52%, #39437b 100%);
}

.product-dark-grid-v2 {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.addon-panel-v2 {
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.22);
}

.addon-panel-v2 h3 {
  color: var(--color-white);
  margin-bottom: 22px;
}

.product-tag-list li {
  background: rgba(255,255,255,0.10);
}

.operation-grid-v2 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.operation-card-v2 {
  padding: 26px;
}

.product-learn-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f7f5 100%);
}

.learn-checklist-v2 {
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.learn-checklist-v2 h3 {
  color: var(--color-navy);
}

.learn-checklist-v2 ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: learn;
}

.learn-checklist-v2 li {
  position: relative;
  min-height: 42px;
  padding: 10px 10px 10px 48px;
  color: var(--color-text);
  border-radius: 14px;
  background: #f7f7f5;
  font-weight: 750;
  line-height: 1.65;
}

.learn-checklist-v2 li::before {
  counter-increment: learn;
  content: counter(learn, decimal-leading-zero);
  position: absolute;
  left: 12px;
  top: 12px;
  color: var(--color-blue);
  font-size: 0.82rem;
  font-weight: 950;
}

.update-grid-v2 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
}

.update-card-v2 {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 30px;
}

.update-card-v2 .text-link {
  margin-top: auto;
}

.update-card-featured {
  border-color: rgba(199,154,59,0.55);
  background: linear-gradient(180deg, #ffffff, #fffaf0);
}

.comparison-table-wrap-v2 {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.comparison-table-v2 {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table-v2 th,
.comparison-table-v2 td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.comparison-table-v2 tr:last-child td {
  border-bottom: 0;
}

.comparison-table-v2 th {
  color: var(--color-white);
  background: var(--color-navy);
  font-weight: 900;
}

.comparison-table-v2 td:first-child {
  width: 190px;
  color: var(--color-navy);
  background: #f7f7f5;
  font-weight: 900;
}

.product-cta .entry-box {
  border: 0;
}

@media (max-width: 1120px) {
  .product-hero-layout,
  .product-intro-v2,
  .product-service-v2,
  .product-basics-grid,
  .learn-grid-v2,
  .comparison-grid-v2,
  .product-faq-grid-v2,
  .product-dark-grid-v2 {
    grid-template-columns: 1fr;
  }

  .product-dashboard {
    min-height: 430px;
    max-width: 720px;
  }

  .dashboard-visual {
    inset: 0 0 105px;
  }

  .product-value-grid-v2,
  .operation-grid-v2,
  .update-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-timeline-v2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .products-hero-v2 {
    min-height: auto;
  }

  .product-hero-layout {
    min-height: auto;
    padding: 72px 0 62px;
  }

  .product-hero-copy h1 {
    font-size: clamp(2.15rem, 9vw, 3.1rem) !important;
  }

  .product-hero-copy h1 span {
    display: inline;
  }

  .product-dashboard {
    min-height: auto;
  }

  .dashboard-visual {
    display: none;
  }

  .dashboard-kpis,
  .product-value-grid-v2,
  .module-grid-v2,
  .basics-card-grid,
  .operation-grid-v2,
  .update-grid-v2,
  .process-timeline-v2 {
    grid-template-columns: 1fr;
  }

  .product-proof-panel div {
    grid-template-columns: 1fr;
  }

  .process-panel-v2 {
    padding: 26px;
  }

  .comparison-table-wrap-v2 {
    overflow-x: auto;
  }

  .comparison-table-v2 {
    min-width: 640px;
  }
}

@media (max-width: 560px) {
  .product-hero-layout {
    padding-top: 58px;
  }

  .dashboard-panel,
  .addon-panel-v2,
  .learn-checklist-v2,
  .process-panel-v2 {
    padding: 22px;
  }

  .product-value-card,
  .module-card-v2,
  .operation-card-v2,
  .update-card-v2,
  .basics-card-grid article,
  .service-scope-list-v2 article,
  .system-dev-panels-v2 article {
    padding: 22px;
  }

  .dashboard-flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Philosophy Cloud page -------------------------------------------------- */
.philo-page-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(54, 169, 224, 0.24), transparent 32%),
    radial-gradient(circle at 14% 82%, rgba(181, 31, 42, 0.24), transparent 34%),
    linear-gradient(135deg, #120905 0%, #2a120a 42%, #0a2a44 100%);
}

.philo-page-hero .page-hero-bg {
  background-image:
    linear-gradient(105deg, rgba(18, 9, 5, 0.92) 0%, rgba(18, 9, 5, 0.78) 42%, rgba(18, 9, 5, 0.38) 100%),
    url('https://survate.co.jp/img/%E3%83%95%E3%82%A3%E3%83%AD%E3%82%BD%E3%83%95%E3%82%A3%E3%83%BC%E3%82%AF%E3%83%A9%E3%82%A6%E3%83%89%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8PC1.png');
  background-position: center;
  background-size: cover;
  opacity: 0.72;
}

.philo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 58px;
  align-items: center;
  min-height: 650px;
  padding: 92px 0 88px;
}

.philo-hero-logo {
  display: block;
  width: min(330px, 88%);
  margin: 0 0 28px;
  padding: 14px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.philo-hero-visual {
  position: relative;
  min-height: 430px;
}

.philo-browser {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
}

.philo-browser-bar {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.14);
}

.philo-browser-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
}

.philo-browser img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
}

.philo-phone {
  position: absolute;
  right: -18px;
  bottom: -40px;
  width: 170px;
  overflow: hidden;
  border: 7px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.philo-phone img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: top center;
}

.philo-problem-grid,
.philo-benefit-grid,
.philo-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.philo-benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.philo-problem-card,
.philo-benefit-card,
.philo-feature-item,
.philo-price-panel,
.philo-option-card,
.philo-screen-card,
.philo-example,
.philo-campaign,
.philo-mobile-showcase {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.philo-problem-card,
.philo-benefit-card,
.philo-feature-item,
.philo-price-panel,
.philo-option-card {
  padding: 28px;
}

.philo-problem-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
}

.philo-problem-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -52px;
  top: -48px;
  border-radius: 50%;
  background: rgba(54, 169, 224, 0.13);
}

.philo-problem-card span,
.philo-feature-item div,
.philo-flow-list span,
.philo-option-card span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--color-red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.philo-problem-card h3,
.philo-benefit-card h3,
.philo-feature-item h3,
.philo-price-panel h3,
.philo-option-card h3,
.philo-example h3,
.philo-mobile-showcase h3 {
  color: var(--color-navy);
}

.philo-problem-card p,
.philo-benefit-card p,
.philo-feature-item p,
.philo-option-card p,
.philo-example p,
.philo-mobile-showcase p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.philo-split {
  display: grid;
  grid-template-columns: minmax(270px, 0.78fr) minmax(0, 1.22fr);
  gap: 54px;
  align-items: start;
}

.philo-feature-list {
  display: grid;
  gap: 18px;
}

.philo-feature-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px 22px;
  align-items: start;
}

.philo-feature-item div {
  grid-row: span 2;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  border-radius: 50%;
  color: var(--color-white);
  background: linear-gradient(135deg, #5a2d20, #36a9e0);
}

.philo-feature-item h3 {
  margin-bottom: 0;
}

/* Philosophy growth article */
.philo-growth-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(54, 169, 224, 0.13), transparent 30%),
    radial-gradient(circle at 4% 88%, rgba(201, 22, 34, 0.08), transparent 28%),
    #f7f9fc;
}

.philo-growth-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(8, 26, 53, 0.025) 1px, transparent 1px);
  background-size: 100% 72px;
}

.philo-growth-section .container {
  position: relative;
}

.philo-growth-heading {
  max-width: 1040px;
}

.philo-growth-heading h2 {
  max-width: 980px;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

.philo-growth-stack {
  display: grid;
  gap: 24px;
}

.philo-growth-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 42px);
  padding: clamp(30px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(8, 26, 53, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 60px rgba(8, 26, 53, 0.08);
}

.philo-growth-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 170px;
  height: 6px;
  background: linear-gradient(90deg, var(--color-red), #36a9e0);
}

.philo-growth-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(201, 22, 34, 0.22);
  border-radius: 50%;
  color: var(--color-red);
  background: rgba(201, 22, 34, 0.05);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.philo-growth-copy {
  max-width: 980px;
}

.philo-growth-copy h3 {
  margin-bottom: 32px;
  color: var(--color-navy);
  font-size: clamp(1.8rem, 3.3vw, 3rem);
  line-height: 1.28;
  letter-spacing: -0.035em;
  word-break: normal;
  overflow-wrap: anywhere;
}

.philo-growth-copy h4 {
  margin: 28px 0 8px;
  color: var(--color-navy);
  font-size: clamp(1.12rem, 1.8vw, 1.38rem);
  line-height: 1.55;
}

.philo-growth-copy p,
.philo-growth-copy li {
  color: #40506a;
  font-size: 1rem;
  line-height: 1.95;
}

.philo-growth-copy p {
  margin-bottom: 16px;
}

.philo-growth-copy ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 24px;
  padding-left: 1.35em;
}

.philo-growth-emphasis {
  margin-top: 26px;
  padding: 18px 22px;
  border-left: 4px solid var(--color-red);
  color: var(--color-navy) !important;
  background: rgba(201, 22, 34, 0.045);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem) !important;
  font-weight: 900;
}

.philo-growth-card-accent {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 95% 10%, rgba(54, 169, 224, 0.24), transparent 34%),
    linear-gradient(135deg, #232b60 0%, #232b60 100%);
  box-shadow: 0 28px 70px rgba(8, 26, 53, 0.2);
}

.philo-growth-card-accent::after {
  width: 240px;
}

.philo-growth-card-accent .philo-growth-number {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.philo-growth-card-accent h3,
.philo-growth-card-accent h4,
.philo-growth-card-accent p,
.philo-growth-card-accent li {
  color: #fff;
}

.philo-growth-card-accent li::marker {
  color: #59c1ee;
}

.philo-growth-closing {
  margin: 30px 0 0 !important;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem) !important;
  font-weight: 900;
  line-height: 1.6 !important;
}

@media (max-width: 720px) {
  .philo-growth-card {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .philo-growth-number {
    width: 52px;
    height: 52px;
  }

  .philo-growth-copy h3 {
    margin-bottom: 24px;
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .philo-growth-copy p,
  .philo-growth-copy li {
    line-height: 1.8;
  }
}

.philo-flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.philo-flow-list li {
  min-height: 290px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
}

.philo-flow-list h3 {
  color: var(--color-white);
}

.philo-flow-list p {
  color: rgba(255, 255, 255, 0.74);
}

.philo-flow-list strong {
  display: inline-flex;
  margin-top: 14px;
  padding: 8px 12px;
  color: var(--color-navy);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  font-weight: 900;
}

.philo-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.philo-price-panel {
  padding: 30px;
}

.philo-price-description {
  margin: -6px 0 18px;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.philo-price-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
}

.philo-price-table th,
.philo-price-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.philo-price-table tr:last-child th,
.philo-price-table tr:last-child td {
  border-bottom: 0;
}

.philo-price-table th {
  width: 130px;
  color: var(--color-navy);
  background: #f7f7f5;
  font-weight: 900;
}

.philo-price-table td {
  color: var(--color-muted);
}

.philo-price-table strong {
  color: var(--color-navy);
  font-size: 1.2rem;
}

.philo-option-heading {
  margin-top: 34px;
}

.philo-option-heading h3 {
  margin-bottom: 8px;
  color: var(--color-navy);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.philo-option-heading p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.philo-option-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.philo-option-card span {
  margin-bottom: 14px;
  color: var(--color-blue);
}

.philo-example {
  margin-top: 24px;
  padding: 30px;
  background: linear-gradient(135deg, #232b60, #39437b);
}

.philo-example h3,
.philo-example strong {
  color: var(--color-white);
}

.philo-example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 16px;
}

.philo-example-grid div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
}

.philo-example-grid span,
.philo-example .note {
  color: rgba(255, 255, 255, 0.74);
}

.philo-example-grid strong {
  display: block;
  margin: 10px 0 6px;
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  line-height: 1.15;
}

.philo-cost-example-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
}

.philo-cost-example-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  color: var(--color-white);
}

.philo-cost-example-table th,
.philo-cost-example-table td {
  padding: 20px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  vertical-align: middle;
}

.philo-cost-example-table th:last-child,
.philo-cost-example-table td:last-child {
  border-right: 0;
}

.philo-cost-example-table tbody tr:last-child th,
.philo-cost-example-table tbody tr:last-child td {
  border-bottom: 0;
}

.philo-cost-example-table thead th {
  color: #071b37;
  background: #d6effc;
  font-size: 0.92rem;
  line-height: 1.5;
}

.philo-cost-example-table tbody th {
  min-width: 150px;
  color: #071b37;
  background: #c5e9fb;
  font-size: 1.05rem;
  line-height: 1.5;
}

.philo-cost-example-table tbody td {
  background: rgba(255, 255, 255, 0.08);
}

.philo-cost-example-table strong,
.philo-cost-example-table small {
  display: block;
  color: var(--color-white);
}

.philo-cost-example-table strong {
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.48rem);
  white-space: nowrap;
}

.philo-cost-example-table small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 800;
}

.philo-example-notes {
  display: grid;
  gap: 4px;
  margin: 18px 0 0;
  padding-left: 1.3em;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

.philo-campaign {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
  align-items: center;
  padding: 34px;
  background:
    radial-gradient(circle at 85% 20%, rgba(54, 169, 224, 0.16), transparent 30%),
    var(--color-white);
}

.philo-campaign h2 {
  color: var(--color-navy);
}

.philo-campaign-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.philo-campaign-list li {
  position: relative;
  padding: 16px 18px 16px 48px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #f7f7f5;
  color: var(--color-navy);
  font-weight: 900;
}

.philo-campaign-list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 13px;
  color: var(--color-red);
  font-weight: 900;
}

.philo-screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.philo-screen-wide {
  grid-column: 1 / -1;
}

.philo-screen-card {
  overflow: hidden;
}

.philo-screen-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--color-border);
}

.philo-screen-slide img {
  aspect-ratio: auto;
  object-fit: contain;
  background: var(--color-white);
}

.philo-screen-card figcaption {
  padding: 18px 22px;
  color: var(--color-muted);
  font-weight: 800;
}

.philo-mobile-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 34px;
  align-items: center;
  margin-top: 26px;
  padding: 34px;
  background: linear-gradient(135deg, #20100b, #4d2114);
}

.philo-mobile-showcase h3 {
  color: var(--color-white);
}

.philo-mobile-showcase p {
  color: rgba(255, 255, 255, 0.76);
}

.philo-mobile-frames {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.philo-mobile-frames img {
  flex: 0 0 220px;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  border: 7px solid rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1080px) {
  .philo-hero-grid,
  .philo-split,
  .philo-campaign,
  .philo-mobile-showcase {
    grid-template-columns: 1fr;
  }

  .philo-problem-grid,
  .philo-benefit-grid,
  .philo-option-grid,
  .philo-flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .philo-hero-visual {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  .philo-hero-grid {
    min-height: auto;
    padding: 72px 0 70px;
  }

  .philo-hero-logo {
    width: min(280px, 100%);
  }

  .philo-phone {
    display: none;
  }

  .philo-feature-item {
    grid-template-columns: 1fr;
  }

  .philo-feature-item div {
    grid-row: auto;
  }

  .philo-problem-grid,
  .philo-benefit-grid,
  .philo-option-grid,
  .philo-flow-list,
  .philo-pricing-grid,
  .philo-example-grid,
  .philo-screen-grid {
    grid-template-columns: 1fr;
  }

  .philo-screen-wide {
    grid-column: auto;
  }

  .philo-problem-card,
  .philo-benefit-card,
  .philo-feature-item,
  .philo-price-panel,
  .philo-option-card,
  .philo-campaign,
  .philo-mobile-showcase,
  .philo-example {
    padding: 24px;
  }

  .philo-mobile-frames img {
    flex-basis: 190px;
    height: 330px;
  }

  .philo-cost-example-wrap {
    overflow: visible;
    border: 0;
  }

  .philo-cost-example-table,
  .philo-cost-example-table tbody,
  .philo-cost-example-table tr,
  .philo-cost-example-table th,
  .philo-cost-example-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .philo-cost-example-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .philo-cost-example-table tbody {
    display: grid;
    gap: 16px;
  }

  .philo-cost-example-table tbody tr {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
  }

  .philo-cost-example-table tbody th,
  .philo-cost-example-table tbody td {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .philo-cost-example-table tbody td {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 15px 16px;
    text-align: right;
  }

  .philo-cost-example-table tbody td::before {
    content: attr(data-label);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 900;
    text-align: left;
  }

  .philo-cost-example-table tbody td:last-child {
    border-bottom: 0;
  }

  .philo-cost-example-table tbody td small {
    grid-column: 2;
    margin-top: -6px;
  }
}

/* About page visual restoration ----------------------------------------- */
.about-page-hero {
  background:
    radial-gradient(circle at 82% 16%, rgba(199, 154, 59, 0.28), transparent 31%),
    radial-gradient(circle at 10% 82%, rgba(24, 90, 219, 0.22), transparent 28%),
    linear-gradient(135deg, #1a2148 0%, #232b60 52%, #39437b 100%);
}

.about-page-hero .page-hero-bg {
  background-image:
    linear-gradient(110deg, rgba(6, 19, 41, 0.92) 0%, rgba(6, 19, 41, 0.62) 46%, rgba(8, 26, 53, 0.18) 100%),
    radial-gradient(circle at 80% 22%, rgba(199, 154, 59, 0.30), transparent 26%),
    radial-gradient(circle at 86% 72%, rgba(24, 90, 219, 0.34), transparent 34%);
  background-size: cover;
  background-position: center;
  opacity: 1;
}

.about-hero-grid {
  min-height: 560px;
}

.about-hero-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.08));
}

.about-hero-card .quick-facts div {
  grid-template-columns: 126px minmax(0, 1fr);
}

.about-hero-card .quick-facts dt {
  letter-spacing: -0.035em;
}

.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.about-stat-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 156px;
  padding: 26px 24px;
  border: 1px solid rgba(218, 226, 240, 0.95);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 92% 8%, rgba(24, 90, 219, 0.11), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f7f7f5 100%);
  box-shadow: 0 18px 45px rgba(8, 26, 53, 0.08);
}

.about-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--color-red), var(--color-gold));
}

.about-stat-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 105px;
  height: 105px;
  border-radius: 999px;
  background: rgba(181, 31, 42, 0.055);
  z-index: -1;
}

.about-stat-card strong,
.about-stat-card span {
  display: block;
}

.about-stat-card strong {
  margin-bottom: 12px;
  color: var(--color-red);
  font-size: clamp(1.82rem, 3vw, 2.56rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.about-stat-card span {
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.65;
}

.profile-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.profile-card::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--color-red), var(--color-blue), var(--color-gold));
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
}

.profile-table th,
.profile-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.profile-table tr:last-child th,
.profile-table tr:last-child td {
  border-bottom: 0;
}

.profile-table th {
  width: 238px;
  color: var(--color-navy);
  background: #f6f9ff;
  font-weight: 900;
  line-height: 1.65;
}

.profile-table td {
  color: var(--color-text);
  line-height: 1.85;
}

.profile-table td span[lang="en"] {
  color: var(--color-muted);
  font-size: 0.95em;
}

.about-business-grid {
  align-items: start;
}

.about-business-grid .section-heading {
  position: sticky;
  top: 108px;
}

.business-list {
  display: grid;
  gap: 14px;
}

.business-list article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 84px;
  padding: 18px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: 0 12px 30px rgba(8, 26, 53, 0.06);
}

.business-list span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--color-white);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-blue), #39437b);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(24, 90, 219, 0.22);
}

.business-list h3 {
  margin: 0;
  color: var(--color-navy);
  font-size: 1.04rem;
  line-height: 1.55;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 48px;
  align-items: start;
}

.philosophy-panels {
  display: grid;
  gap: 20px;
}

.philosophy-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 10%, rgba(199, 154, 59, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.10);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
}

.philosophy-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-gold), var(--color-red));
}

.philosophy-label {
  margin-bottom: 10px;
  color: var(--color-gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.philosophy-panel h3 {
  margin-bottom: 14px;
  color: var(--color-white);
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  letter-spacing: 0.08em;
}

.philosophy-panel p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.95;
}

.credo-block {
  margin-top: 58px;
}

.compact-heading {
  margin-bottom: 26px;
}

.credo-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.credo-tag-list span {
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.45;
}

.message-card {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(250px, 0.34fr) minmax(0, 0.66fr);
  gap: 42px;
  align-items: start;
  overflow: hidden;
  padding: clamp(30px, 4vw, 48px) !important;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 14%, rgba(24, 90, 219, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: var(--shadow-sm);
}

.message-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, var(--color-red), var(--color-gold));
}

.message-title,
.message-body {
  min-width: 0;
}

.message-title h2 {
  margin-bottom: 12px;
  color: var(--color-navy);
}

.president-name {
  color: var(--color-navy);
  font-weight: 900;
}

.president-photo {
  max-width: 220px;
  margin: 22px 0 0;
}

.president-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border: 6px solid var(--color-white);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(8, 26, 53, 0.15);
}

.president-photo figcaption {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.55;
}

.message-body {
  display: block !important;
  max-width: 780px;
  color: var(--color-text);
}

.message-body p {
  margin-bottom: 1.2em;
  line-height: 2.05;
}

.message-body p:last-child {
  margin-bottom: 0;
}

.access-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 48px;
  align-items: start;
}

.access-card {
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.access-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.access-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(8, 26, 53, 0.30));
}

.access-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.access-card-content {
  padding: clamp(26px, 3vw, 34px);
}

.access-label {
  margin-bottom: 12px;
  color: var(--color-red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.access-card h3 {
  margin-bottom: 12px;
  color: var(--color-navy);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.55;
}

.access-card p[lang="en"] {
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.access-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 30px;
  padding: 0;
  list-style: none;
}

.access-list li {
  position: relative;
  padding-left: 24px;
  color: var(--color-text);
  font-weight: 800;
  line-height: 1.65;
}

.access-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-red);
}

@media (max-width: 1080px) {
  .about-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-business-grid .section-heading {
    position: static;
  }

  .philosophy-grid,
  .message-card,
  .access-grid {
    grid-template-columns: 1fr !important;
  }

  .president-photo {
    max-width: 200px;
  }
}

@media (max-width: 720px) {
  .about-stat-grid {
    grid-template-columns: 1fr;
  }

  .about-stat-card {
    min-height: auto;
  }

  .profile-table,
  .profile-table tbody,
  .profile-table tr,
  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
  }

  .profile-table th {
    padding: 16px 18px 8px;
    border-bottom: 0;
  }

  .profile-table td {
    padding: 0 18px 16px;
  }

  .business-list article {
    grid-template-columns: 1fr;
  }

  .message-card {
    padding: 26px 22px !important;
  }

  .president-photo {
    max-width: 180px;
  }

  .access-card .hero-actions,
  .access-card .hero-actions .button {
    width: 100%;
  }
}


/* ======================================================================
   About page visual restoration
   Restores the richer company profile layout while keeping later updates.
   ====================================================================== */
.about-page .about-page-hero {
  background:
    radial-gradient(circle at 78% 12%, rgba(199, 154, 59, 0.32), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(24, 90, 219, 0.22), transparent 28%),
    linear-gradient(135deg, #1a2148 0%, #232b60 48%, #39437b 100%);
}

.about-page .about-page-hero .page-hero-bg {
  background-image:
    linear-gradient(110deg, rgba(6, 19, 41, 0.92) 0%, rgba(6, 19, 41, 0.64) 44%, rgba(8, 26, 53, 0.20) 100%),
    radial-gradient(circle at 74% 22%, rgba(199, 154, 59, 0.36), transparent 22%),
    radial-gradient(circle at 86% 74%, rgba(24, 90, 219, 0.36), transparent 30%),
    url('../img/hero-abstract.svg');
  background-size: cover, cover, cover, min(740px, 58vw);
  background-position: center, center, center, right center;
  background-repeat: no-repeat;
  opacity: 1;
}

.about-page .about-hero-grid {
  min-height: 560px;
}

.about-page .about-hero-card {
  border-color: rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.about-page .about-hero-card .quick-facts div {
  grid-template-columns: 128px minmax(0, 1fr);
}

.about-page .about-hero-card .quick-facts dt {
  letter-spacing: -0.04em;
}

.about-page .anchor-nav {
  box-shadow: 0 10px 28px rgba(8, 26, 53, 0.06);
}

.about-page .about-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 38px;
}

.about-page .about-stat-card {
  position: relative;
  overflow: hidden;
  min-height: 142px;
  padding: 26px 24px;
  border: 1px solid rgba(217, 226, 239, 0.95);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.98));
  box-shadow: var(--shadow-sm);
}

.about-page .about-stat-card::before {
  content: "";
  position: absolute;
  right: -44px;
  top: -44px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(24, 90, 219, 0.10);
}

.about-page .about-stat-card:nth-child(2)::before {
  background: rgba(199, 154, 59, 0.18);
}

.about-page .about-stat-card:nth-child(3)::before {
  background: rgba(181, 31, 42, 0.10);
}

.about-page .about-stat-card strong,
.about-page .about-stat-card span {
  position: relative;
  display: block;
}

.about-page .about-stat-card strong {
  margin-bottom: 12px;
  color: var(--color-red);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.about-page .about-stat-card span {
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 900;
}

.about-page .profile-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.about-page .profile-table {
  width: 100%;
  border-collapse: collapse;
}

.about-page .profile-table th,
.about-page .profile-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.about-page .profile-table tr:last-child th,
.about-page .profile-table tr:last-child td {
  border-bottom: 0;
}

.about-page .profile-table th {
  width: 240px;
  color: var(--color-navy);
  background: #f7f7f5;
  font-weight: 900;
}

.about-page .profile-table td {
  color: var(--color-text);
}

.about-page .profile-table td span[lang="en"] {
  color: var(--color-muted);
  font-size: 0.95em;
}

.about-page .about-business-grid {
  align-items: start;
}

.about-page .business-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-page .business-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: 0 10px 24px rgba(8, 26, 53, 0.05);
}

.about-page .business-list span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--color-white);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-dark));
  font-size: 0.82rem;
  font-weight: 900;
}

.about-page .business-list h3 {
  margin: 0;
  color: var(--color-navy);
  font-size: 1.02rem;
  line-height: 1.65;
}

.about-page .philosophy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 48px;
  align-items: start;
}

.about-page .philosophy-panels {
  display: grid;
  gap: 20px;
}

.about-page .philosophy-panel {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
}

.about-page .philosophy-label {
  margin-bottom: 10px;
  color: var(--color-gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.about-page .philosophy-panel h3 {
  margin-bottom: 14px;
  color: var(--color-white);
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  letter-spacing: 0.08em;
}

.about-page .philosophy-panel p {
  color: rgba(255, 255, 255, 0.88);
}

.about-page .credo-block {
  margin-top: 58px;
}

.about-page .compact-heading {
  margin-bottom: 26px;
}

.about-page .credo-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.about-page .credo-tag-list span {
  padding: 9px 13px;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 800;
}

.about-page .message-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  padding: 0 !important;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.about-page .message-card::before {
  content: none;
}

.about-page .message-title {
  min-width: 0;
  padding: clamp(28px, 4vw, 42px);
  color: var(--color-white);
  background:
    radial-gradient(circle at 82% 16%, rgba(199, 154, 59, 0.26), transparent 32%),
    linear-gradient(145deg, var(--color-navy) 0%, var(--color-navy-2) 100%);
}

.about-page .message-title .eyebrow,
.about-page .message-title h2,
.about-page .message-title .president-name {
  color: var(--color-white);
}

.about-page .message-title h2 {
  margin-bottom: 12px;
}

.about-page .president-name {
  margin-bottom: 0;
  font-weight: 900;
}

.about-page .president-photo {
  max-width: 210px;
  margin: 24px auto 0;
}

.about-page .president-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.20);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}

.about-page .president-photo figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.about-page .message-body {
  display: block !important;
  max-width: none;
  min-width: 0;
  padding: clamp(30px, 4.5vw, 54px);
  color: var(--color-text);
}

.about-page .message-body p {
  margin-bottom: 1.25em;
  line-height: 2;
}

.about-page .message-body p:last-child {
  margin-bottom: 0;
}

.about-page .access-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 48px;
  align-items: start;
}

.about-page .access-card {
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.about-page .access-photo {
  margin: 0;
}

.about-page .access-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.about-page .access-card-content {
  padding: clamp(26px, 4vw, 38px);
}

.about-page .access-label {
  margin-bottom: 12px;
  color: var(--color-red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.about-page .access-card h3 {
  margin-bottom: 12px;
  color: var(--color-navy);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.55;
}

.about-page .access-card p[lang="en"] {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.about-page .access-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 30px;
  padding: 0;
  list-style: none;
}

.about-page .access-list li {
  position: relative;
  padding-left: 24px;
  color: var(--color-text);
  font-weight: 800;
}

.about-page .access-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-red);
}

@media (max-width: 1080px) {
  .about-page .about-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-page .philosophy-grid,
  .about-page .message-card,
  .about-page .access-grid {
    grid-template-columns: 1fr;
  }

  .about-page .message-title {
    text-align: center;
  }
}

@media (max-width: 720px) {
  .about-page .about-stat-grid {
    grid-template-columns: 1fr;
  }

  .about-page .profile-table,
  .about-page .profile-table tbody,
  .about-page .profile-table tr,
  .about-page .profile-table th,
  .about-page .profile-table td {
    display: block;
    width: 100%;
  }

  .about-page .profile-table th {
    padding-bottom: 8px;
  }

  .about-page .profile-table td {
    padding-top: 0;
  }

  .about-page .business-list article {
    grid-template-columns: 1fr;
  }

  .about-page .president-photo {
    max-width: 180px;
  }

  .about-page .access-card .hero-actions,
  .about-page .access-card .hero-actions .button {
    width: 100%;
  }
}

/* ======================================================================
   About page visual restore / polished layout
   ====================================================================== */
.about-page-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(199, 154, 59, 0.28), transparent 30%),
    radial-gradient(circle at 14% 82%, rgba(24, 90, 219, 0.18), transparent 30%),
    linear-gradient(135deg, #1a2148 0%, #232b60 50%, #39437b 100%);
}

.about-page-hero .page-hero-bg {
  background-image:
    linear-gradient(110deg, rgba(6, 19, 41, 0.92) 0%, rgba(6, 19, 41, 0.68) 42%, rgba(8, 26, 53, 0.28) 100%),
    radial-gradient(circle at 78% 20%, rgba(199, 154, 59, 0.34), transparent 23%),
    radial-gradient(circle at 86% 72%, rgba(24, 90, 219, 0.32), transparent 30%);
  background-size: cover;
  background-position: center;
  opacity: 1;
}

.about-hero-grid {
  min-height: 580px;
}

.about-page-hero .page-hero-copy h1 {
  word-break: keep-all;
  overflow-wrap: normal;
}

.about-hero-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.about-hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--color-red), var(--color-gold), var(--color-blue));
}

.about-hero-card .quick-facts dt {
  letter-spacing: -0.03em;
}

.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.about-stat-card {
  position: relative;
  overflow: hidden;
  min-height: 156px;
  padding: 26px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 90% 12%, rgba(24, 90, 219, 0.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7f7f5 100%);
  box-shadow: 0 14px 38px rgba(8, 26, 53, 0.08);
}

.about-stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--color-red), var(--color-gold));
}

.about-stat-card strong,
.about-stat-card span {
  display: block;
}

.about-stat-card strong {
  margin-bottom: 10px;
  color: var(--color-navy);
  font-size: clamp(1.85rem, 3.1vw, 2.55rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.about-stat-card span {
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 900;
}

.profile-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: 0 18px 52px rgba(8, 26, 53, 0.10);
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
}

.profile-table th,
.profile-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.profile-table tr:last-child th,
.profile-table tr:last-child td {
  border-bottom: 0;
}

.profile-table th {
  width: 250px;
  color: var(--color-navy);
  background: linear-gradient(90deg, #f2f6ff 0%, #f7f7f5 100%);
  border-right: 1px solid var(--color-border);
  font-weight: 900;
  white-space: nowrap;
}

.profile-table tr:nth-child(even) td {
  background: #fbfdff;
}

.profile-table td {
  color: var(--color-text);
  line-height: 1.85;
}

.profile-table td span[lang="en"] {
  color: var(--color-muted);
  font-size: 0.95em;
}

.about-business-grid {
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
}

.business-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.business-list article {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: 0 12px 32px rgba(8, 26, 53, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.business-list article:hover {
  transform: translateY(-2px);
  border-color: rgba(24, 90, 219, 0.22);
  box-shadow: 0 18px 42px rgba(8, 26, 53, 0.10);
}

.business-list span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--color-white);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-red), #d34e5a);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(181, 31, 42, 0.20);
}

.business-list h3 {
  margin: 0;
  color: var(--color-navy);
  font-size: 1.02rem;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

#philosophy.section-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(199, 154, 59, 0.20), transparent 30%),
    radial-gradient(circle at 86% 72%, rgba(24, 90, 219, 0.18), transparent 32%),
    linear-gradient(135deg, #1a2148 0%, #232b60 56%, #232b60 100%);
}

#philosophy.section-dark::before {
  content: "";
  position: absolute;
  inset: 36px 5% auto auto;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 50%;
  pointer-events: none;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 52px;
  align-items: start;
  margin-bottom: 58px;
}

.philosophy-panels {
  display: grid;
  gap: 22px;
}

.philosophy-panel {
  padding: clamp(26px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
}

.philosophy-label {
  margin-bottom: 10px;
  color: var(--color-gold) !important;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.philosophy-panel h3 {
  margin-bottom: 14px;
  color: var(--color-white);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  letter-spacing: 0.08em;
}

.philosophy-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
}

.credo-block {
  position: relative;
  margin-top: 58px;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
}

.compact-heading {
  margin-bottom: 26px;
}

.credo-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.credo-tag-list span {
  padding: 9px 13px;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 800;
}

.message-card {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 52px);
  align-items: start;
  padding: clamp(30px, 5vw, 54px);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(24, 90, 219, 0.08), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f7f7f5 100%);
  box-shadow: 0 18px 52px rgba(8, 26, 53, 0.10);
}

.message-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, var(--color-red), var(--color-gold));
}

.message-title,
.message-body {
  position: relative;
  min-width: 0;
}

.message-title h2 {
  margin-bottom: 12px;
  color: var(--color-navy);
}

.president-name {
  margin-bottom: 0;
  color: var(--color-muted);
  font-weight: 900;
}

.president-photo {
  width: min(100%, 218px) !important;
  max-width: 218px !important;
  margin: 24px 0 0 !important;
}

.president-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(8, 26, 53, 0.14);
}

.president-photo figcaption {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.6;
}

.message-body {
  display: block !important;
  max-width: 780px;
  color: var(--color-text);
  font-size: 1.035rem;
  line-height: 2.05;
}

.message-body p {
  margin: 0 0 1.2em;
}

.message-body p:last-child {
  margin-bottom: 0;
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 48px;
  align-items: start;
}

.access-card {
  display: grid !important;
  grid-template-columns: minmax(220px, 0.46fr) minmax(0, 0.54fr);
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: 0 18px 52px rgba(8, 26, 53, 0.10);
}

.access-photo {
  min-height: 390px;
  height: 100%;
  margin: 0 !important;
  background: #eaf0f8;
}

.access-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.access-card-content {
  padding: clamp(28px, 4vw, 42px);
}

.access-label {
  margin-bottom: 12px;
  color: var(--color-red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.access-card h3 {
  margin-bottom: 12px;
  color: var(--color-navy);
  font-size: clamp(1.28rem, 2.2vw, 1.78rem);
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.access-card p[lang="en"] {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.access-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 30px;
  padding: 0;
  list-style: none;
}

.access-list li {
  position: relative;
  padding-left: 24px;
  color: var(--color-text);
  font-weight: 800;
}

.access-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-red);
}

@media (max-width: 1080px) {
  .about-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-business-grid,
  .philosophy-grid,
  .message-card,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .business-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .access-card {
    grid-template-columns: 1fr;
  }

  .access-photo {
    min-height: 300px;
  }
}

@media (max-width: 720px) {
  .about-page-hero .page-hero-copy h1 {
    line-height: 1.25;
  }

  .about-stat-grid,
  .business-list {
    grid-template-columns: 1fr;
  }

  .profile-table,
  .profile-table tbody,
  .profile-table tr,
  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
  }

  .profile-table tr {
    border-bottom: 1px solid var(--color-border);
  }

  .profile-table tr:last-child {
    border-bottom: 0;
  }

  .profile-table th {
    padding: 16px 18px 8px;
    border-right: 0;
    border-bottom: 0;
    white-space: normal;
  }

  .profile-table td {
    padding: 0 18px 16px;
    border-bottom: 0;
  }

  .business-list article {
    min-height: auto;
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .message-card {
    padding: 28px 22px;
  }

  .president-photo {
    max-width: 190px !important;
  }

  .access-card-content {
    padding: 26px 22px;
  }

  .access-card .hero-actions,
  .access-card .hero-actions .button {
    width: 100%;
  }
}

/* Integrated page polish: About / Policy / AI-DX
-------------------------------------------------- */
.site-nav a[aria-current="page"] {
  color: var(--color-blue);
  background: #f2f2f0;
}

.about-page-hero .page-hero-bg,
.policy-page-hero .page-hero-bg,
.dx-page-hero .page-hero-bg {
  opacity: 0.3;
  background-image:
    radial-gradient(circle at 78% 26%, rgba(199, 154, 59, 0.28), transparent 26%),
    linear-gradient(110deg, rgba(6, 19, 41, 0.95), rgba(6, 19, 41, 0.62));
}

.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.about-stat-card,
.package-card {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f5 100%);
  box-shadow: var(--shadow-sm);
}

.about-stat-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--color-navy);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.about-stat-card span,
.package-card span {
  color: var(--color-muted);
  font-weight: 800;
}

.profile-card,
.policy-card,
.governance-panel,
.access-showcase {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
}

.profile-table th,
.profile-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.profile-table tr:last-child th,
.profile-table tr:last-child td {
  border-bottom: 0;
}

.profile-table th {
  width: 250px;
  color: var(--color-navy);
  background: #f6f9ff;
  font-weight: 900;
}

.about-business-grid,
.philosophy-grid,
.message-card,
.access-grid,
.policy-layout,
.dx-split {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 54px;
  align-items: start;
}

.business-list {
  display: grid;
  gap: 14px;
}

.business-list article,
.philosophy-panel,
.dx-feature-card,
.dx-card-list article,
.dx-usecase,
.tool-card,
.policy-list article {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.business-list article span,
.dx-feature-card span,
.policy-list article span,
.dx-process li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 32px;
  margin-bottom: 12px;
  color: var(--color-red);
  border-radius: 999px;
  background: #fff2f3;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.business-list h3,
.philosophy-panel h3,
.dx-feature-card h3,
.dx-card-list h3,
.dx-usecase h3,
.tool-card h3,
.policy-list h3 {
  color: var(--color-navy);
  line-height: 1.45;
}

.philosophy-panels {
  display: grid;
  gap: 18px;
}

.philosophy-panel,
.section-dark .philosophy-panel {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.philosophy-panel h3,
.section-dark .philosophy-panel h3 {
  color: var(--color-white);
}

.philosophy-label {
  color: var(--color-gold);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.credo-block {
  margin-top: 60px;
}

.credo-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.credo-tag-list span {
  padding: 9px 13px;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.message-card {
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff 0%, #f7f7f5 100%);
  box-shadow: var(--shadow-md);
}

.message-title {
  display: grid;
  gap: 18px;
}

.message-title::after {
  content: "";
  display: block;
  width: min(260px, 100%);
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background: url('https://survate.co.jp/img/DSC_5899.jpg') center top / cover no-repeat;
  box-shadow: var(--shadow-md);
}

.president-name {
  color: var(--color-muted);
  font-weight: 900;
}

.message-body {
  max-width: 760px;
}

.message-body p:last-child {
  margin-bottom: 0;
}

.about-access-grid {
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  align-items: center;
}

.access-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(300px, 1.08fr);
  align-items: stretch;
}

.access-photo {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 22px;
  background: linear-gradient(135deg, #f7f7f5 0%, #f2f2f0 100%);
}

.access-photo img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(8, 26, 53, 0.12);
  background: #fff;
}

.access-photo figcaption {
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.access-card {
  padding: clamp(28px, 4vw, 48px);
  box-shadow: none;
  border: 0;
  border-radius: 0;
}

.access-label {
  color: var(--color-red);
  font-weight: 900;
}

.access-card h3 {
  color: var(--color-navy);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.45;
}

.access-card [lang="en"] {
  color: var(--color-muted);
}

.access-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.access-list li {
  position: relative;
  padding-left: 28px;
  color: var(--color-navy);
  font-weight: 900;
}

.access-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-red);
}

/* Policy pages */
.policy-hero-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.policy-side {
  position: sticky;
  top: 132px;
}

.policy-side h2,
.dx-split .section-heading h2 {
  color: var(--color-navy);
}

.policy-card {
  padding: clamp(26px, 4vw, 44px);
}

.policy-company {
  color: var(--color-navy);
  font-weight: 900;
}

.policy-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.policy-list article {
  box-shadow: none;
}

.policy-list article p:last-child,
.dx-feature-card p:last-child,
.dx-card-list p:last-child,
.tool-card p:last-child {
  margin-bottom: 0;
}

.policy-bullets {
  columns: 2;
  gap: 28px;
  margin: 16px 0 0;
  padding-left: 1.1em;
  color: var(--color-muted);
}

.policy-signature {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  color: var(--color-navy);
  font-weight: 900;
  text-align: right;
}

/* DX page */
.dx-page-hero {
  background:
    radial-gradient(circle at 78% 16%, rgba(24, 90, 219, 0.34), transparent 28%),
    radial-gradient(circle at 20% 80%, rgba(199, 154, 59, 0.22), transparent 24%),
    linear-gradient(135deg, #1a2148 0%, #232b60 52%, #39437b 100%);
}

.dx-hero-card {
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.1);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.dx-dashboard {
  display: grid;
  gap: 14px;
}

.dx-dashboard div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
}

.dx-dashboard span {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--color-white);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-red), var(--color-gold));
  font-weight: 900;
}

.dx-dashboard strong {
  color: var(--color-white);
  font-size: 1.12rem;
}

.dx-dashboard small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.dx-feature-grid,
.dx-usecase-grid,
.tool-grid,
.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.dx-feature-card {
  min-height: 270px;
}

.dx-split.reverse {
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.82fr);
}

.dx-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dx-usecase ul,
.governance-panel ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.dx-usecase li,
.governance-panel li {
  position: relative;
  padding-left: 24px;
  color: var(--color-muted);
  font-weight: 800;
}

.dx-usecase li::before,
.governance-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-red);
}

.tool-card {
  color: rgba(255,255,255,0.84);
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  box-shadow: none;
}

.tool-card h3 {
  color: var(--color-white);
}

.tool-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--color-gold);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dx-process {
  counter-reset: dxprocess;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dx-process li {
  position: relative;
  min-height: 235px;
  padding: 24px;
  border-radius: var(--radius-md);
  color: var(--color-white);
  background: linear-gradient(160deg, #232b60 0%, #232b60 100%);
  box-shadow: var(--shadow-sm);
}

.dx-process h3 {
  color: var(--color-white);
  line-height: 1.45;
}

.dx-process p {
  color: rgba(255, 255, 255, 0.72);
}

.governance-panel {
  padding: clamp(28px, 4vw, 42px);
}

.package-card p {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--color-white);
  border-radius: 14px;
  background: var(--color-red);
  font-weight: 900;
}

.package-card h3 {
  color: var(--color-navy);
}

@media (max-width: 1180px) {
  .about-stat-grid,
  .dx-feature-grid,
  .tool-grid,
  .package-grid,
  .dx-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .access-showcase,
  .dx-usecase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .about-business-grid,
  .philosophy-grid,
  .message-card,
  .access-grid,
  .policy-layout,
  .dx-split,
  .dx-split.reverse,
  .policy-hero-grid {
    grid-template-columns: 1fr;
  }

  .policy-side {
    position: static;
  }

  .access-photo img {
    max-height: none;
  }
}

@media (max-width: 620px) {
  .about-stat-grid,
  .dx-feature-grid,
  .dx-card-list,
  .dx-usecase-grid,
  .tool-grid,
  .package-grid,
  .dx-process {
    grid-template-columns: 1fr;
  }

  .profile-table,
  .profile-table tbody,
  .profile-table tr,
  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
  }

  .profile-table th {
    padding-bottom: 8px;
  }

  .profile-table td {
    padding-top: 8px;
  }

  .policy-bullets {
    columns: 1;
  }

  .access-card {
    padding: 26px;
  }
}




/* === Survate final custom pages: access, policy, dx, video === */

/* Home background video: created by JS only on http/https to avoid YouTube file:// embed errors */
.hero-video-section .hero-bg {
  z-index: -4;
}
.hero-youtube-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.hero-youtube-bg.is-ready {
  opacity: 0.72;
}
.hero-youtube-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120vw;
  height: 67.5vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
}
.hero-video-section::before {
  background: rgba(199, 154, 59, 0.2);
}

/* About us polish + access photo */
.about-page-hero {
  background:
    radial-gradient(circle at 80% 18%, rgba(199, 154, 59, 0.18), transparent 30%),
    linear-gradient(135deg, #1a2148 0%, #232b60 54%, #39437b 100%);
}
.about-hero-card .quick-facts dt {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}
.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 42px 0 34px;
}
.about-stat-card,
.philosophy-panel,
.message-body,
.access-card,
.policy-document,
.policy-toc,
.dx-table-card,
.tool-card,
.usecase-grid article,
.dx-feature-card,
.dx-process li {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.about-stat-card {
  padding: 24px;
}
.about-stat-card dt {
  color: var(--color-red);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
  font-weight: 900;
}
.about-stat-card dd {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-weight: 800;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.company-table th,
.company-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: 0; }
.company-table th {
  width: 190px;
  color: var(--color-navy);
  background: #f7f7f5;
  font-weight: 900;
}
.business-card-grid,
.philosophy-grid,
.value-tags {
  display: grid;
  gap: 18px;
}
.business-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.business-card,
.value-tags li {
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.business-card h3 { color: var(--color-navy); }
.philosophy-panel {
  padding: 30px;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.16);
  background: linear-gradient(135deg, rgba(8, 26, 53, 0.94), rgba(18, 63, 120, 0.92));
}
.philosophy-panel h3 { color: var(--color-white); }
.philosophy-panel p { color: rgba(255,255,255,0.78); }
.value-tags {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.value-tags li {
  color: var(--color-navy);
  font-weight: 800;
}
.message-grid,
.access-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.message-grid {
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
}
.president-photo-card {
  width: min(100%, 300px);
  margin: 28px 0 0;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.president-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
}
.president-photo-card figcaption {
  padding: 12px 8px 4px;
  color: var(--color-navy);
  font-weight: 900;
  text-align: center;
}
.message-body {
  padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}
.message-body p { color: var(--color-text); }
.access-grid {
  grid-template-columns: minmax(220px, 0.72fr) minmax(280px, 0.86fr) minmax(360px, 1.12fr);
}
.access-photo-frame {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f6f9fd);
  box-shadow: var(--shadow-md);
}
.access-photo-frame img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
  background: #f3f6fb;
}
.access-card {
  padding: clamp(28px, 4vw, 42px);
  border-radius: 28px;
}
.access-card h3 {
  margin-bottom: 20px;
  color: var(--color-navy);
  font-size: clamp(1.55rem, 2.8vw, 2.45rem);
  line-height: 1.45;
}
.access-label {
  color: var(--color-red);
  font-weight: 900;
}
.access-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.access-list li {
  position: relative;
  padding-left: 26px;
  color: var(--color-text);
  font-weight: 800;
}
.access-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-red);
}

/* Legal policy pages */
.policy-hero .page-hero-bg {
  background-image: linear-gradient(90deg, rgba(6, 19, 41, 0.92), rgba(6, 19, 41, 0.62)), url('https://survate.co.jp/img/HP_TOP.jpg');
  opacity: 0.52;
}
.policy-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
}
.policy-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 0.68fr);
  gap: 34px;
  align-items: start;
}
.policy-toc {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 10px;
  padding: 24px;
}
.policy-toc a {
  padding: 10px 12px;
  color: var(--color-navy);
  border-radius: 10px;
  background: #f7f7f5;
  font-weight: 800;
}
.policy-toc a:hover { background: #f2f2f0; color: var(--color-blue); }
.policy-document {
  padding: clamp(30px, 5vw, 56px);
}
.policy-document h2 {
  color: var(--color-navy);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.25;
}
.policy-document section {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--color-border);
}
.policy-document h3 {
  color: var(--color-navy);
  font-size: 1.25rem;
}
.policy-document p,
.policy-document li {
  color: var(--color-muted);
}
.policy-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 1.2em;
}
.policy-signature {
  margin-top: 36px;
  padding: 24px;
  border-radius: var(--radius-sm);
  background: #f7f7f5;
}
.policy-signature p { margin-bottom: 6px; color: var(--color-navy); font-weight: 800; }

/* AI/DX page */
.dx-page-hero {
  background:
    radial-gradient(circle at 84% 16%, rgba(24, 90, 219, 0.3), transparent 30%),
    radial-gradient(circle at 20% 70%, rgba(199, 154, 59, 0.18), transparent 34%),
    linear-gradient(135deg, #1a2148 0%, #082248 52%, #39437b 100%);
}
.dx-page-hero .page-hero-bg { opacity: 0.18; }
.dx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 56px;
  align-items: center;
  min-height: 620px;
  padding: 96px 0 84px;
}
.dx-hero-panel {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.1);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}
.dx-orbit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.dx-orbit span {
  min-height: 88px;
  display: grid;
  place-items: center;
  padding: 16px;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  background: rgba(255,255,255,0.1);
  font-weight: 900;
  text-align: center;
}
.dx-feature-grid,
.tool-grid,
.usecase-grid,
.dx-dark-grid {
  display: grid;
  gap: 20px;
}
.dx-feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dx-feature-card { padding: 28px; }
.dx-feature-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--color-red);
  font-weight: 900;
  letter-spacing: 0.16em;
}
.dx-feature-card h3,
.tool-card h3,
.usecase-grid h3,
.dx-dark-grid h3,
.dx-process h3 {
  color: var(--color-navy);
}
.dx-feature-card p,
.tool-card p,
.usecase-grid p,
.dx-process p { color: var(--color-muted); }
.dx-split { align-items: center; }
.dx-table-card { padding: 14px; overflow: hidden; }
.dx-table { width: 100%; border-collapse: collapse; }
.dx-table th,
.dx-table td { padding: 18px 20px; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.dx-table tr:last-child th,
.dx-table tr:last-child td { border-bottom: 0; }
.dx-table th { width: 150px; color: var(--color-navy); background: #f7f7f5; font-weight: 900; }
.dx-dark-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dx-dark-grid article {
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
}
.dx-dark-grid h3 { color: var(--color-white); }
.dx-dark-grid p { color: rgba(255,255,255,0.74); }
.tool-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tool-card { padding: 28px; }
.tool-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--color-blue);
  font-weight: 900;
}
.dx-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dx-process li { padding: 26px; }
.dx-process span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--color-red);
  font-weight: 900;
  letter-spacing: 0.16em;
}
.usecase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.usecase-grid article { padding: 28px; }

/* Recruit flow: four-step selection process */
.recruit-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
}
.recruit-flow li {
  min-height: 0;
  padding: 26px 22px 24px;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}
.recruit-flow .flow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  border-radius: 22px;
  color: var(--color-blue);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.12) 0%, rgba(213, 32, 39, 0.1) 100%);
}
.recruit-flow .flow-icon svg { width: 34px; height: 34px; }
.recruit-flow span { margin-bottom: 14px; }
.recruit-flow h3 { margin-bottom: 10px; font-size: 1.08rem; line-height: 1.45; }
.recruit-flow p { font-size: 0.95rem; line-height: 1.72; }

@media (max-width: 1180px) {
  .dx-feature-grid,
  .dx-dark-grid,
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dx-process,
  .recruit-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .access-grid { grid-template-columns: 1fr 1fr; }
  .access-grid .section-heading { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .about-stat-grid,
  .business-card-grid,
  .value-tags,
  .message-grid,
  .policy-layout,
  .dx-hero-grid,
  .dx-process,
  .recruit-flow,
  .usecase-grid { grid-template-columns: 1fr; }
  .policy-toc { position: static; }
  .access-grid { grid-template-columns: 1fr; }
  .president-photo-card { width: min(100%, 260px); }
  .hero-youtube-bg iframe { width: 177.78vh; height: 100vh; }
}
@media (max-width: 640px) {
  .about-stat-grid,
  .dx-feature-grid,
  .dx-dark-grid,
  .tool-grid { grid-template-columns: 1fr; }
  .company-table th,
  .company-table td,
  .dx-table th,
  .dx-table td { display: block; width: 100%; }
  .company-table th,
  .dx-table th { border-bottom: 0; }
  .access-card .hero-actions,
  .cta-box { align-items: stretch; }
}

/* === Final override: about access photo and president balance === */
.message-title::after {
  display: none !important;
}
.message-card {
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr) !important;
  align-items: start;
}
.president-photo,
.president-photo-card {
  width: min(100%, 280px) !important;
  margin: 22px 0 0 !important;
  padding: 12px !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: var(--shadow-sm) !important;
}
.president-photo img,
.president-photo-card img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5 !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 18px !important;
}
.president-photo figcaption,
.president-photo-card figcaption {
  padding: 10px 6px 2px !important;
  color: var(--color-navy) !important;
  font-weight: 900 !important;
  text-align: center !important;
}
.about-access-grid {
  grid-template-columns: minmax(240px, 0.58fr) minmax(0, 1.42fr) !important;
}
.access-showcase {
  display: grid !important;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr) !important;
  align-items: stretch !important;
  overflow: hidden !important;
}
.access-photo {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: clamp(18px, 2.5vw, 28px) !important;
  background: linear-gradient(135deg, #f7f7f5 0%, #f2f2f0 100%) !important;
}
.access-photo img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 540px !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 20px !important;
  box-shadow: 0 14px 36px rgba(8, 26, 53, 0.12) !important;
  background: #fff !important;
}
.access-card {
  padding: clamp(28px, 4vw, 48px) !important;
}
@media (max-width: 1180px) {
  .access-showcase { grid-template-columns: 1fr !important; }
  .about-access-grid { grid-template-columns: 1fr !important; }
  .access-photo img { max-height: 620px !important; }
}
@media (max-width: 900px) {
  .message-card { grid-template-columns: 1fr !important; }
  .president-photo,
  .president-photo-card { width: min(100%, 260px) !important; }
}


/* Final refinements: Oracle partner logo, product layout, full philosophy list */
.trust-grid .trust-logo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 0;
}

.trust-grid .trust-logo-item::before {
  display: none;
}

.trust-logo-item img {
  width: min(170px, 42vw);
  max-height: 44px;
  object-fit: contain;
}

.trust-logo-item span {
  color: var(--color-navy);
  font-weight: 900;
}

.product-proof-panel .oracle-partner-proof {
  grid-template-columns: 170px minmax(0, 1fr);
}

.product-proof-panel .oracle-partner-proof img {
  width: 160px;
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
}

.product-proof-panel .oracle-partner-proof p {
  color: var(--color-navy);
  font-size: 1.02rem;
}

.product-basics-grid,
.comparison-grid-v2 {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
}

.product-basics-grid > .section-heading,
.comparison-grid-v2 > .section-heading {
  min-width: 0;
  max-width: 100%;
}

.product-basics-grid .section-heading h2,
.comparison-grid-v2 .section-heading h2 {
  max-width: 100%;
  font-size: clamp(2.15rem, 3.05vw, 3.55rem);
  line-height: 1.24;
  letter-spacing: -0.035em;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: auto;
}

.product-basics-grid .section-heading p,
.comparison-grid-v2 .section-heading p {
  max-width: 34em;
}

.basics-card-grid,
.comparison-table-wrap-v2 {
  min-width: 0;
}

.basics-card-grid article {
  padding: clamp(22px, 2.6vw, 32px);
}

.basics-card-grid h3 {
  font-size: clamp(1.18rem, 1.8vw, 1.52rem);
}

.comparison-table-v2 th,
.comparison-table-v2 td {
  line-height: 1.8;
}

.credo-block .section-heading .eyebrow {
  text-transform: none;
}

.credo-list-detailed {
  counter-reset: credo;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credo-list-detailed li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.credo-list-detailed li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--color-navy);
  background: linear-gradient(135deg, var(--color-white), #f7edd5);
  font-size: 0.78rem;
  font-weight: 950;
}

.credo-list-detailed li strong {
  color: var(--color-white);
  font-size: 0.98rem;
  line-height: 1.65;
  font-weight: 850;
}

@media (max-width: 1180px) {
  .product-basics-grid,
  .comparison-grid-v2 {
    grid-template-columns: 1fr;
  }

  .product-basics-grid .section-heading h2,
  .comparison-grid-v2 .section-heading h2 {
    max-width: 900px;
  }

  .credo-list-detailed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .trust-grid .trust-logo-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-proof-panel .oracle-partner-proof,
  .product-proof-panel div {
    grid-template-columns: 1fr;
  }

  .credo-list-detailed {
    grid-template-columns: 1fr;
  }

  .credo-list-detailed li {
    min-height: 0;
  }
}

/* === Final partner logo, product layout, philosophy list fixes === */
.title-line {
  display: block;
}

.trust-grid .trust-partner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding-left: 0;
}

.trust-grid .trust-partner::before {
  display: none;
}

.trust-grid .trust-partner img {
  display: block;
  width: min(168px, 46vw);
  height: auto;
  object-fit: contain;
}

.trust-grid .trust-partner span {
  color: var(--color-navy);
  font-weight: 900;
}

.product-intro-v2 > *,
.product-service-v2 > *,
.product-basics-grid > *,
.learn-grid-v2 > *,
.comparison-grid-v2 > *,
.product-faq-grid-v2 > * {
  min-width: 0;
}

.product-proof-panel .oracle-partner-proof {
  grid-template-columns: 190px minmax(0, 1fr);
  background: linear-gradient(135deg, #ffffff 0%, #f7f7f5 100%);
}

.oracle-partner-logo-wrap {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(8, 26, 53, 0.08);
}

.oracle-partner-logo-wrap img {
  display: block;
  width: 100%;
  max-width: 160px;
  height: auto;
  object-fit: contain;
}

.product-proof-panel .oracle-partner-proof p {
  display: grid;
  gap: 4px;
}

.product-proof-panel .oracle-partner-proof strong {
  color: var(--color-navy);
  font-size: 1.12rem;
  line-height: 1.35;
}

.product-proof-panel .oracle-partner-proof small {
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.55;
}

.product-basics-grid,
.comparison-grid-v2 {
  align-items: start;
}

.product-basics-grid .section-heading,
.comparison-grid-v2 .section-heading {
  max-width: 560px;
  margin-bottom: 0;
}

.product-basics-grid .section-heading h2,
.comparison-grid-v2 .section-heading h2 {
  max-width: 100%;
  font-size: clamp(2.15rem, 3.25vw, 3.35rem);
  line-height: 1.22;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
  word-break: normal;
}

.product-basics-grid .section-heading p,
.comparison-grid-v2 .section-heading p {
  max-width: 520px;
}

.basics-card-grid,
.comparison-table-wrap-v2 {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.comparison-grid-v2 {
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(30px, 4vw, 56px);
}

.comparison-table-wrap-v2 {
  overflow: hidden;
  border-radius: 28px;
}

.comparison-table-v2 th,
.comparison-table-v2 td {
  word-break: normal;
  overflow-wrap: anywhere;
}

.about-page .credo-block {
  margin-top: clamp(50px, 6vw, 82px);
}

.credo-full-list {
  counter-reset: credo;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credo-full-list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 74px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(10px);
}

.credo-full-list li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--color-navy);
  background: linear-gradient(135deg, var(--color-gold), #fff1c7);
  font-size: 0.82rem;
  font-weight: 950;
}

.credo-full-list li p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.55;
}

.about-page .access-showcase {
  overflow: visible !important;
  align-items: center !important;
}

.about-page .access-photo {
  min-height: 0 !important;
  overflow: visible !important;
  border-radius: 30px 0 0 30px !important;
}

.about-page .access-photo img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 500px !important;
  object-fit: contain !important;
  object-position: center center !important;
}

@media (max-width: 1120px) {
  .product-basics-grid .section-heading,
  .comparison-grid-v2 .section-heading {
    max-width: 760px;
    margin-bottom: 10px;
  }

  .product-basics-grid .section-heading h2,
  .comparison-grid-v2 .section-heading h2 {
    font-size: clamp(2rem, 5.4vw, 3rem);
  }

  .title-line {
    display: inline;
  }
}

@media (max-width: 980px) {
  .credo-full-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .trust-grid .trust-partner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .product-proof-panel .oracle-partner-proof {
    grid-template-columns: 1fr;
  }

  .oracle-partner-logo-wrap {
    justify-content: flex-start;
    width: min(100%, 220px);
  }

  .comparison-table-wrap-v2 {
    overflow-x: auto;
  }

  .comparison-table-v2 {
    min-width: 0;
  }

  .about-page .access-photo {
    border-radius: 30px 30px 0 0 !important;
  }
}

@media (max-width: 620px) {
  .credo-full-list {
    grid-template-columns: 1fr;
  }

  .credo-full-list li {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: auto;
  }

  .product-basics-grid .section-heading h2,
  .comparison-grid-v2 .section-heading h2 {
    font-size: 2.1rem;
  }
}

/* === FINAL 2026-06-14 partner/logo layout philosophy override === */
.trust-grid .trust-partner {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: 56px;
  padding-left: 0 !important;
}
.trust-grid .trust-partner::before { display: none !important; }
.trust-grid .trust-partner img {
  display: block;
  width: min(174px, 46vw);
  height: auto;
  object-fit: contain;
  padding: 4px 6px;
  border-radius: 10px;
  background: #fff;
}
.trust-grid .trust-partner span {
  color: var(--color-navy);
  font-weight: 900;
}
.product-proof-panel .oracle-partner-proof {
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f7f7f5 100%);
}
.product-proof-panel .oracle-partner-logo-wrap {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(8, 26, 53, 0.03);
}
.product-proof-panel .oracle-partner-logo-wrap img {
  display: block;
  width: 100%;
  max-width: 168px;
  height: auto;
  object-fit: contain;
}
.product-proof-panel .oracle-partner-proof p { margin: 0; }
.product-proof-panel .oracle-partner-proof strong {
  color: var(--color-navy);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 950;
  line-height: 1.45;
}

/* Products: fix PC text collisions by making long-heading sections editorial/stacked */
.product-basics-section .product-basics-grid,
.comparison-grid-v2 {
  display: block !important;
}
.product-basics-section .section-heading,
.comparison-grid-v2 .section-heading {
  max-width: min(100%, 980px) !important;
  margin-bottom: 42px !important;
}
.product-basics-section .section-heading h2,
.comparison-grid-v2 .section-heading h2 {
  max-width: 980px !important;
  font-size: clamp(2.05rem, 3.05vw, 3.3rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.045em !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}
.product-basics-section .section-heading p,
.comparison-grid-v2 .section-heading p {
  max-width: 780px !important;
}
.product-basics-section .basics-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch;
  min-width: 0;
}
.product-basics-section .basics-card-grid article {
  min-height: 260px;
  padding: 30px 26px;
}
.product-basics-section .basics-card-grid h3 {
  font-size: 1.14rem !important;
  line-height: 1.55;
  word-break: normal !important;
}
.comparison-grid-v2 .comparison-table-wrap-v2 {
  max-width: 1120px;
  margin-inline: auto;
  overflow: hidden;
}
.comparison-table-v2 th,
.comparison-table-v2 td {
  font-size: 0.98rem;
  line-height: 1.8;
}
.comparison-table-v2 td:first-child { width: 230px; }

/* About: show every Survate Philosophy item cleanly */
.credo-block .section-heading .eyebrow {
  color: var(--color-gold) !important;
  text-transform: none !important;
}
.credo-list-detailed {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.credo-list-detailed li {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: start !important;
  min-height: 76px;
  padding: 16px 18px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,0.075) !important;
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}
.credo-list-detailed li span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 999px !important;
  color: var(--color-navy) !important;
  background: linear-gradient(135deg, #f2d28a, #c9a227) !important;
  font-size: 0.78rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.08em;
}
.credo-list-detailed li strong {
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 850 !important;
  line-height: 1.7 !important;
}
@media (max-width: 1180px) {
  .product-basics-section .basics-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 820px) {
  .trust-grid .trust-partner {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  .product-proof-panel .oracle-partner-proof { grid-template-columns: 1fr !important; }
  .product-proof-panel .oracle-partner-logo-wrap {
    justify-content: flex-start;
    width: min(100%, 230px);
  }
  .product-basics-section .section-heading h2,
  .comparison-grid-v2 .section-heading h2 {
    font-size: clamp(1.95rem, 8vw, 2.7rem) !important;
  }
  .product-basics-section .basics-card-grid,
  .credo-list-detailed {
    grid-template-columns: 1fr !important;
  }
  .comparison-grid-v2 .comparison-table-wrap-v2 { overflow-x: auto; }
  .comparison-table-v2 { min-width: 640px; }
}
@media (max-width: 640px) {
  .credo-list-detailed li {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    padding: 14px !important;
  }
  .credo-list-detailed li span {
    width: 38px !important;
    height: 38px !important;
  }
}


/* Survate University expanded section */
.su-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(29, 78, 216, 0.28), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(199, 154, 59, 0.22), transparent 32%),
    linear-gradient(135deg, #1a2148 0%, #232b60 52%, #232b60 100%);
}

.su-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(255,255,255,0.08) 0 1px, transparent 1px),
    linear-gradient(30deg, rgba(255,255,255,0.05) 0 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.14;
  pointer-events: none;
}

.su-section > .container {
  position: relative;
  z-index: 1;
}

.su-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 42px;
  align-items: stretch;
  margin-bottom: 42px;
}

.su-copy h2 {
  max-width: 980px;
  margin-bottom: 22px;
  color: var(--color-white);
  font-size: clamp(2rem, 4.6vw, 4.15rem);
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.su-copy p:not(.eyebrow),
.su-heading p,
.su-system-head p {
  color: rgba(255, 255, 255, 0.78);
}

.su-brand-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.su-logo-line {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}

.su-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 8px rgba(255,255,255,0.06);
}

.su-label {
  margin-bottom: 4px;
  color: rgba(255,255,255,0.58);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.su-name {
  margin: 0;
  color: var(--color-white);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.05;
  font-family: Georgia, "Times New Roman", serif;
}

.su-stats {
  display: grid;
  gap: 14px;
  margin: 0;
}

.su-stats div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.16);
}

.su-stats dt {
  color: var(--color-gold);
  font-size: 1.35rem;
  font-weight: 900;
}

.su-stats dd {
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-weight: 800;
}

.su-mind-skill-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 54px;
}

.su-msb-card,
.su-curriculum-card {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.96);
  box-shadow: var(--shadow-sm);
}

.su-msb-card {
  padding: 30px;
}

.su-msb-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 18px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-red), var(--color-gold));
  font-size: 1.4rem;
  font-weight: 900;
}

.su-msb-card h3,
.su-curriculum-card h4 {
  color: var(--color-navy);
}

.su-msb-card p,
.su-curriculum-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.su-heading {
  max-width: 880px;
  margin-bottom: 24px;
}

.su-heading h3,
.su-system-head h3 {
  margin-bottom: 14px;
  color: var(--color-white);
  font-size: clamp(1.8rem, 3.3vw, 3rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.su-curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 44px;
}

.su-curriculum-card {
  padding: 26px;
}

.su-curriculum-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--color-blue);
  background: #f2f2f0;
  font-size: 0.92rem;
  font-weight: 900;
}

.su-curriculum-card h4 {
  margin-bottom: 12px;
  font-size: 1.08rem;
  line-height: 1.5;
}

.su-system-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 34px;
  align-items: start;
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.1);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.su-system-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.su-system-list div {
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  background: rgba(255,255,255,0.94);
}

.su-system-list span {
  display: block;
  margin-bottom: 10px;
  color: var(--color-red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.su-system-list p {
  margin: 0;
  color: var(--color-navy);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.65;
}

@media (max-width: 1080px) {
  .su-hero,
  .su-system-panel {
    grid-template-columns: 1fr;
  }

  .su-curriculum-grid,
  .su-system-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .su-mind-skill-body,
  .su-curriculum-grid,
  .su-system-list {
    grid-template-columns: 1fr;
  }

  .su-brand-card,
  .su-system-panel {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .su-logo-line,
  .su-stats div {
    grid-template-columns: 1fr;
  }

  .su-logo-line {
    align-items: flex-start;
  }
}

/* Survate University detail enhancement */
.su-logo-image-line {
  display: flex;
  justify-content: center;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.su-logo-image {
  display: block;
  width: min(100%, 420px);
  height: auto;
  max-height: 128px;
  object-fit: contain;
}

.su-brand-card .su-brand-note {
  margin-top: 18px;
}

.su-section .su-curriculum-card:nth-child(10) {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

@media (max-width: 560px) {
  .su-logo-image-line {
    padding: 12px;
    border-radius: 18px;
  }

  .su-logo-image {
    max-height: 96px;
  }
}


.su-cycle-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.su-cycle-flow div {
  position: relative;
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.07));
  box-shadow: 0 18px 54px rgba(0,0,0,0.18);
}

.su-cycle-flow span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.su-cycle-flow h4 {
  margin-bottom: 10px;
  color: var(--color-white);
  font-size: 1.08rem;
  line-height: 1.45;
}

.su-cycle-flow p {
  margin-bottom: 0;
  color: rgba(255,255,255,0.74);
  font-size: 0.92rem;
  line-height: 1.72;
}

@media (max-width: 1080px) {
  .su-cycle-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .su-cycle-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .su-cycle-flow {
    grid-template-columns: 1fr;
  }
}

/* === 2026-06 final anti-overlap/access/philosophy fixes === */
/* Global: prevent large Japanese headings from visually overlapping adjacent cards. */
.section-heading,
.page-hero-copy,
.product-hero-copy,
.su-copy,
.dx-hero-grid > *,
.product-hero-layout > *,
.philo-hero-grid > *,
.two-column > *,
.dx-split > *,
.product-basics-grid > *,
.comparison-grid-v2 > *,
.product-service-v2 > * {
  min-width: 0 !important;
}

.section-heading h2,
.page-hero h1,
.hero h1,
.product-hero-copy h1,
.dx-page-hero h1,
.philo-page-hero h1,
.su-copy h2 {
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  line-break: auto !important;
  white-space: normal !important;
  max-width: 100% !important;
}

.text-keep {
  display: inline !important;
  white-space: normal !important;
}

.title-line {
  display: block !important;
  max-width: 100% !important;
}

/* Products page: make all two-column feature areas breathe. */
.product-hero-layout {
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr) !important;
  gap: clamp(28px, 4vw, 54px) !important;
}

.product-hero-copy h1 {
  font-size: clamp(2.25rem, 3.55vw, 3.85rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.04em !important;
}

.product-dashboard {
  min-width: 0 !important;
  max-width: 100% !important;
}

.product-basics-grid,
.comparison-grid-v2,
.product-service-v2,
.product-intro-v2,
.product-faq-grid-v2 {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr) !important;
  gap: clamp(34px, 5vw, 70px) !important;
  align-items: start !important;
}

.product-basics-section .section-heading,
.product-basics-grid .section-heading,
.comparison-grid-v2 .section-heading,
.product-service-v2 .section-heading {
  width: 100% !important;
  max-width: 620px !important;
  margin-bottom: 0 !important;
}

.product-basics-section .section-heading h2,
.product-basics-grid .section-heading h2,
.comparison-grid-v2 .section-heading h2,
.product-service-v2 .section-heading h2 {
  font-size: clamp(2.05rem, 3.05vw, 3.25rem) !important;
  line-height: 1.28 !important;
  letter-spacing: -0.035em !important;
}

.product-value-card {
  overflow: hidden !important;
}

.product-value-card .card-number {
  position: relative !important;
  inset: auto !important;
  width: 58px !important;
  height: 58px !important;
  margin-bottom: 22px !important;
  opacity: 1 !important;
  font-size: 1.05rem !important;
  border: 1px solid rgba(29, 78, 216, 0.12) !important;
  color: var(--color-blue) !important;
  background: #f2f2f0 !important;
}

.product-value-card h3 {
  position: relative !important;
  z-index: 1 !important;
  margin-top: 0 !important;
}

/* DX page: keep hero and split sections inside the viewport. */
.dx-page-hero .page-hero-grid,
.dx-hero-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.82fr) !important;
  gap: clamp(28px, 5vw, 58px) !important;
}

.dx-page-hero h1 {
  font-size: clamp(2.35rem, 4.2vw, 4.25rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.04em !important;
}

.dx-hero-panel,
.dx-dashboard,
.dx-orbit {
  min-width: 0 !important;
  max-width: 100% !important;
}

.two-column,
.dx-split,
.dx-split.reverse {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr) !important;
  gap: clamp(34px, 5vw, 66px) !important;
}

.dx-split .section-heading h2,
.two-column .section-heading h2 {
  font-size: clamp(2.05rem, 3.4vw, 3.25rem) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.035em !important;
}

.intro-text,
.dx-card-list,
.governance-panel {
  min-width: 0 !important;
}

/* Philosophy Cloud hero. */
.philo-hero-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1.02fr) !important;
  gap: clamp(30px, 5vw, 58px) !important;
}

.philo-page-hero h1 {
  font-size: clamp(2.25rem, 4vw, 4rem) !important;
  line-height: 1.22 !important;
  letter-spacing: -0.04em !important;
}

.philo-hero-visual,
.philo-browser,
.philo-phone {
  max-width: 100% !important;
}

/* Survate University hero: avoid the oversized left title covering the logo card. */
.su-hero {
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.88fr) !important;
  gap: clamp(30px, 5vw, 58px) !important;
  align-items: center !important;
}

.su-copy h2 {
  font-size: clamp(2.15rem, 4.1vw, 4.6rem) !important;
  line-height: 1.22 !important;
  letter-spacing: -0.04em !important;
}

.su-brand-card {
  min-width: 0 !important;
  max-width: 100% !important;
}

/* About page: show 45 Philosophy items cleanly. */
.credo-list-detailed {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.credo-list-detailed li {
  min-height: 74px !important;
}

/* About page access: heading first, then one smart horizontal card below. */
.about-access-grid,
.access-grid.about-access-grid {
  display: block !important;
}

.about-access-grid > .section-heading,
.access-grid.about-access-grid > .section-heading {
  max-width: 820px !important;
  margin: 0 0 34px !important;
}

.access-showcase {
  display: grid !important;
  grid-template-columns: minmax(320px, 0.76fr) minmax(0, 1.24fr) !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 !important;
}

.access-photo {
  min-height: 0 !important;
  padding: clamp(18px, 2.6vw, 28px) !important;
}

.access-photo img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 430px !important;
  object-fit: contain !important;
  object-position: center !important;
}

.access-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
  padding: clamp(28px, 4vw, 46px) !important;
}

.access-card h3 {
  font-size: clamp(1.75rem, 3vw, 2.55rem) !important;
  line-height: 1.38 !important;
  overflow-wrap: anywhere !important;
}

.access-card .hero-actions {
  flex-wrap: wrap !important;
}

@media (max-width: 1180px) {
  .product-hero-layout,
  .dx-page-hero .page-hero-grid,
  .dx-hero-grid,
  .philo-hero-grid,
  .su-hero,
  .product-basics-grid,
  .comparison-grid-v2,
  .product-service-v2,
  .product-intro-v2,
  .product-faq-grid-v2,
  .two-column,
  .dx-split,
  .dx-split.reverse {
    grid-template-columns: 1fr !important;
  }

  .product-dashboard,
  .dx-hero-panel,
  .philo-hero-visual,
  .su-brand-card {
    max-width: 760px !important;
  }

  .credo-list-detailed {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  .access-showcase {
    grid-template-columns: 1fr !important;
  }

  .access-photo img {
    max-height: 360px !important;
  }

  .section-heading h2,
  .page-hero h1,
  .product-hero-copy h1,
  .dx-page-hero h1,
  .philo-page-hero h1,
  .su-copy h2 {
    font-size: clamp(1.95rem, 8vw, 3rem) !important;
  }
}

@media (max-width: 640px) {
  .credo-list-detailed {
    grid-template-columns: 1fr !important;
  }

  .access-card .hero-actions,
  .access-card .hero-actions .button {
    width: 100% !important;
  }
}


/* === 2026-06-14 final visual safety: prevent text collision and rebalance layouts === */
.section,
.page-hero {
  overflow-x: clip;
}

.page-hero-copy,
.section-heading,
.intro-text,
.product-dashboard,
.dashboard-panel,
.dx-hero-panel,
.philo-hero-visual,
.su-copy,
.su-brand-card,
.product-value-card,
.basics-card-grid article,
.service-scope-list-v2 article,
.system-dev-panels-v2 article,
.feature-card,
.job-card {
  min-width: 0 !important;
}

.section-heading h2,
.page-hero h1,
.hero h1,
.product-value-card h3,
.basics-card-grid h3,
.system-dev-panels-v2 h3,
.dx-feature-card h3,
.philo-problem-card h3,
.su-copy h2,
.su-heading h3,
.su-system-head h3 {
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  line-break: auto !important;
}

.text-keep {
  display: inline !important;
  white-space: normal !important;
}

/* フィロクラの長い見出しは、単語の途中ではなく意味のまとまりで改行する */
#flow .section-heading,
#screens .section-heading {
  max-width: min(100%, 1080px);
}

#flow .philo-stable-heading,
#screens .philo-stable-heading {
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  line-break: strict !important;
  font-size: clamp(2.25rem, 4.15vw, 3.7rem);
}

.philo-stable-heading .philo-heading-group {
  display: inline-block;
  white-space: nowrap;
}

.philo-stable-heading .philo-heading-group:not(:last-child) {
  margin-right: 0.18em;
}

/* Products: hero and content blocks */
.products-hero-v2 {
  min-height: auto !important;
}
.product-hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
  gap: clamp(28px, 4vw, 48px) !important;
  min-height: auto !important;
  padding: clamp(72px, 8vw, 104px) 0 clamp(64px, 7vw, 92px) !important;
}
.product-hero-copy h1 {
  max-width: 760px !important;
  font-size: clamp(2.25rem, 4.1vw, 3.85rem) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.045em !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}
.product-hero-copy h1 span {
  display: block !important;
}
.product-dashboard {
  justify-self: end !important;
  width: 100% !important;
  max-width: 360px !important;
  min-height: 0 !important;
}
.dashboard-visual {
  display: none !important;
}
.dashboard-kpis {
  grid-template-columns: 1fr !important;
}
.dashboard-kpis strong {
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}
.product-value-grid-v2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.product-value-card {
  min-height: 0 !important;
}
.product-value-card .card-number {
  opacity: 0.75;
}
.product-value-card h3,
.basics-card-grid h3,
.service-scope-list-v2 h3,
.system-dev-panels-v2 h3,
.operation-card-v2 h3,
.update-card-v2 h3 {
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}
.product-basics-section .product-basics-grid,
.comparison-grid-v2,
#system .product-service-v2 {
  display: block !important;
}
.product-basics-section .section-heading,
.comparison-grid-v2 .section-heading,
#system .section-heading {
  max-width: min(100%, 920px) !important;
  margin-bottom: 34px !important;
}
.product-basics-section .section-heading h2,
.comparison-grid-v2 .section-heading h2,
#system .section-heading h2 {
  max-width: 920px !important;
  font-size: clamp(2rem, 3.2vw, 3.35rem) !important;
  line-height: 1.2 !important;
}
.product-basics-section .basics-card-grid,
.system-dev-panels-v2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  max-width: 1120px !important;
}
.product-basics-section .basics-card-grid article,
.system-dev-panels-v2 article {
  min-height: 0 !important;
}
.comparison-grid-v2 .comparison-table-wrap-v2 {
  width: 100% !important;
  max-width: 1120px !important;
  margin-inline: auto !important;
}
.comparison-table-v2 {
  width: 100% !important;
}
.comparison-table-v2 th,
.comparison-table-v2 td {
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

/* AI/DX: hero and two-column feature sections */
.dx-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
  gap: clamp(30px, 4vw, 48px) !important;
  min-height: auto !important;
  padding: clamp(72px, 8vw, 100px) 0 clamp(64px, 7vw, 88px) !important;
}
.dx-page-hero .page-hero-copy h1 {
  max-width: 760px !important;
  font-size: clamp(2.2rem, 4.4vw, 3.9rem) !important;
  line-height: 1.18 !important;
}
.dx-hero-panel {
  justify-self: end !important;
  width: 100% !important;
  max-width: 380px !important;
}
.dx-orbit {
  grid-template-columns: 1fr 1fr !important;
}
#feature .two-column,
#governance .two-column {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr) !important;
  gap: clamp(30px, 4vw, 56px) !important;
}
#feature .section-heading h2,
#governance .section-heading h2 {
  font-size: clamp(2rem, 3.4vw, 3.35rem) !important;
  line-height: 1.22 !important;
}
#feature .intro-text,
#governance .intro-text {
  border-left-width: 6px !important;
}

/* Philosophy Cloud: avoid clipped hero title */
.philo-hero-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 0.82fr) !important;
  gap: clamp(30px, 4vw, 50px) !important;
  min-height: auto !important;
  padding: clamp(74px, 8vw, 96px) 0 clamp(66px, 7vw, 90px) !important;
}
.philo-page-hero .page-hero-copy h1 {
  max-width: 760px !important;
  font-size: clamp(2.25rem, 4.3vw, 3.95rem) !important;
  line-height: 1.2 !important;
}
.philo-hero-visual {
  justify-self: end !important;
  width: 100% !important;
  max-width: 480px !important;
}
.philo-browser,
.philo-phone {
  max-width: 100% !important;
}

/* Recruit: Survate University hero balance */
.su-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px) !important;
  gap: clamp(30px, 4vw, 48px) !important;
  align-items: center !important;
}
.su-copy h2 {
  max-width: 760px !important;
  font-size: clamp(2.15rem, 4vw, 3.65rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.04em !important;
}
.su-brand-card {
  width: 100% !important;
  max-width: 420px !important;
  justify-self: end !important;
}
.su-stats div {
  grid-template-columns: 120px minmax(0, 1fr) !important;
}

/* About: 45-item philosophy and horizontal access box */
.credo-block .section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 10px auto 0;
  color: rgba(255,255,255,0.76) !important;
}
.credo-list-detailed {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.credo-list-detailed li {
  min-height: 82px !important;
}
.about-page #access .about-access-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 30px !important;
}
.about-page #access .section-heading {
  grid-column: 1 / -1 !important;
  max-width: 860px !important;
  margin-bottom: 0 !important;
}
.about-page #access .access-showcase {
  display: grid !important;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr) !important;
  gap: 0 !important;
  align-items: stretch !important;
  width: 100% !important;
  overflow: hidden !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 34px !important;
  background: #ffffff !important;
  box-shadow: var(--shadow-md) !important;
}
.about-page #access .access-photo {
  display: grid !important;
  place-items: center !important;
  min-height: 330px !important;
  margin: 0 !important;
  padding: 20px !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  background: linear-gradient(135deg, #f7f7f5 0%, #f2f2f0 100%) !important;
}
.about-page #access .access-photo img {
  width: 100% !important;
  height: 100% !important;
  max-height: 380px !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 18px !important;
  background: #ffffff !important;
}
.about-page #access .access-photo figcaption {
  margin-top: 10px !important;
  color: var(--color-muted) !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
}
.about-page #access .access-card {
  min-width: 0 !important;
  padding: clamp(30px, 4vw, 48px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.about-page #access .access-card h3 {
  max-width: calc(100% - 12px) !important;
  margin-right: 12px !important;
  font-size: clamp(1.6rem, 2.25vw, 2rem) !important;
  line-height: 1.45 !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
}
.about-page #access .access-address span {
  display: block;
  white-space: nowrap;
}
.about-page #access .access-address span + span {
  margin-top: 0.22em;
}
.about-page #access .access-card p[lang="en"] {
  max-width: 720px !important;
}

@media (max-width: 1180px) {
  .product-hero-layout,
  .dx-hero-grid,
  .philo-hero-grid,
  .su-hero,
  #feature .two-column,
  #governance .two-column {
    grid-template-columns: 1fr !important;
  }
  .product-dashboard,
  .dx-hero-panel,
  .philo-hero-visual,
  .su-brand-card {
    justify-self: start !important;
    max-width: 680px !important;
  }
  .product-hero-copy h1,
  .dx-page-hero .page-hero-copy h1,
  .philo-page-hero .page-hero-copy h1,
  .su-copy h2 {
    max-width: 920px !important;
  }
  .credo-list-detailed {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .about-page #access .access-showcase {
    grid-template-columns: 1fr !important;
  }
  .about-page #access .access-photo {
    min-height: 260px !important;
  }
  .about-page #access .access-card .hero-actions,
  .about-page #access .access-card .hero-actions .button {
    width: 100% !important;
  }
  .about-page #access .access-address span {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .product-value-grid-v2,
  .product-basics-section .basics-card-grid,
  .system-dev-panels-v2,
  .credo-list-detailed {
    grid-template-columns: 1fr !important;
  }
  .product-hero-copy h1,
  .dx-page-hero .page-hero-copy h1,
  .philo-page-hero .page-hero-copy h1,
  .su-copy h2 {
    font-size: clamp(2rem, 9vw, 2.8rem) !important;
  }
  .su-stats div {
    grid-template-columns: 1fr !important;
  }
}


/* Philosophy Cloud movie */
.philo-movie-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
}

.philo-movie-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 54px;
  align-items: center;
}

.philo-movie-section .section-heading h2 {
  max-width: 720px;
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: 1.22;
}

.philo-movie-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.philo-movie-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(54, 169, 224, 0.25);
  border-radius: 999px;
  color: var(--color-navy);
  background: rgba(54, 169, 224, 0.08);
  font-size: 0.9rem;
  font-weight: 900;
}

.philo-video {
  border: 1px solid rgba(8, 26, 53, 0.12);
  background: #1f120d;
}

.philo-video .youtube-poster-overlay {
  background:
    radial-gradient(circle at 70% 24%, rgba(54, 169, 224, 0.20), transparent 36%),
    linear-gradient(135deg, rgba(18, 9, 5, 0.16), rgba(18, 9, 5, 0.62));
}

@media (max-width: 980px) {
  .philo-movie-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .philo-movie-section .section-heading h2 {
    font-size: 2.05rem;
  }
}


/* Latest recruit / philocra movie image updates */
.recruit-page-hero .page-hero-bg {
  background-image:
    linear-gradient(95deg, rgba(6, 19, 41, 0.62) 0%, rgba(6, 19, 41, 0.36) 42%, rgba(6, 19, 41, 0.10) 100%),
    url('https://survate.co.jp/img/survate_emp.jpg'),
    url('../img/recruit-hero-bright.png');
  background-position: center 34%;
  background-size: cover;
  opacity: 0.98;
}

.recruit-movie-grid {
  align-items: start;
}

.recruit-video-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  min-width: 0;
}

.recruit-video-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f5 100%);
  box-shadow: var(--shadow-sm);
}

.video-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.video-card-meta span {
  flex: 0 0 auto;
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.video-card-meta h3 {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.4;
  text-align: right;
}

.recruit-video-card .recruit-video {
  border-radius: calc(var(--radius-lg) - 12px);
  box-shadow: none;
}

.recruit-video-card .youtube-play {
  min-height: 50px;
  padding: 10px 16px;
  font-size: 0.92rem;
}

.recruit-video-card .youtube-open-link {
  right: 12px;
  bottom: 12px;
  font-size: 0.78rem;
}

.philo-video .youtube-poster img {
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1180px) {
  .recruit-video-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .recruit-page-hero .page-hero-bg {
    background-position: center top;
  }

  .recruit-video-list {
    grid-template-columns: 1fr;
  }

  .video-card-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .video-card-meta h3 {
    text-align: left;
  }
}


/* === Final responsive / favicon update fixes === */
/* Mobile-friendly job requirement tables: no hidden horizontal scroll on phones */
@media (max-width: 700px) {
  .job-card .table-scroll,
  .job-card .table-wrap {
    overflow-x: visible !important;
    border-radius: 18px !important;
  }

  .job-card .job-table,
  .job-card .job-table tbody,
  .job-card .job-table tr,
  .job-card .job-table th,
  .job-card .job-table td {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .job-card .job-table {
    table-layout: auto !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    font-size: 0.94rem !important;
  }

  .job-card .job-table tr {
    border-bottom: 1px solid var(--color-border) !important;
    background: #fff !important;
  }

  .job-card .job-table tr:last-child {
    border-bottom: 0 !important;
  }

  .job-card .job-table th {
    padding: 14px 16px 8px !important;
    border-bottom: 0 !important;
    color: var(--color-navy) !important;
    background: #f7f7f5 !important;
    font-size: 0.86rem !important;
    letter-spacing: 0.04em !important;
  }

  .job-card .job-table td {
    padding: 10px 16px 16px !important;
    border-bottom: 0 !important;
    background: #fff !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .job-skill-list {
    gap: 8px !important;
    padding-left: 0 !important;
    list-style: none !important;
  }
}

/* Product comparison: prevent heading/table overlap */
#comparison .comparison-grid-v2 {
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr) !important;
  gap: clamp(28px, 4vw, 64px) !important;
  align-items: start !important;
  overflow: visible !important;
}

#comparison .comparison-grid-v2 .section-heading {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
}

#comparison .comparison-grid-v2 .section-heading h2 {
  max-width: 720px !important;
  font-size: clamp(2.15rem, 4vw, 4.4rem) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.04em !important;
  overflow-wrap: anywhere !important;
  word-break: keep-all !important;
}

#comparison .comparison-grid-v2 .title-line {
  display: block !important;
  white-space: normal !important;
}

#comparison .comparison-table-wrap-v2 {
  min-width: 0 !important;
  width: 100% !important;
  justify-self: stretch !important;
}

@media (max-width: 1120px) {
  #comparison .comparison-grid-v2 {
    grid-template-columns: 1fr !important;
  }
  #comparison .comparison-grid-v2 .section-heading h2 {
    max-width: 860px !important;
  }
}

@media (max-width: 700px) {
  #comparison .comparison-table-wrap-v2 {
    overflow-x: auto !important;
  }
  #comparison .comparison-table-v2 {
    min-width: 620px !important;
  }
}

/* AI/DX tool list: one AI service per line/card for readability */
.tools-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}

.ai-tool-stack,
.tool-stack {
  display: grid !important;
  gap: 14px !important;
  min-width: 0 !important;
}

.ai-tool-stack a,
.tool-stack a {
  display: grid !important;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: start !important;
  padding: 18px 20px !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: var(--shadow-sm) !important;
  text-decoration: none !important;
}

.ai-tool-stack a:hover,
.tool-stack a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md) !important;
}

.ai-tool-stack strong,
.tool-stack strong {
  display: block !important;
  color: var(--color-navy) !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
}

.ai-tool-stack span,
.tool-stack span {
  display: block !important;
  color: var(--color-muted) !important;
  line-height: 1.7 !important;
}

@media (max-width: 980px) {
  .tools-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .ai-tool-stack a,
  .tool-stack a {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }
}


/* Prevent white blank space after the footer on iPad/Safari and short pages. */
@supports (-webkit-touch-callout: none) {
  html,
  body {
    background-color: #1a2148;
  }
}


/* ------------------------------------------------------------------
   Final iPad footer and Survate University logo fixes
   ------------------------------------------------------------------ */
html,
body {
  background-color: #1a2148 !important;
  overflow-x: hidden;
}

html {
  min-height: 100%;
  overscroll-behavior-y: auto;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overscroll-behavior-y: auto;
}

main {
  flex: 1 0 auto;
  width: 100%;
  background: #ffffff;
}

.site-header,
.site-footer {
  flex-shrink: 0;
}

.site-footer {
  margin-top: 0 !important;
  background: #1a2148 !important;
  padding-bottom: max(34px, env(safe-area-inset-bottom));
  /* Paint the rubber-band/overscroll area below the footer on iPad Safari. */
  box-shadow: 0 100vh 0 100vh #1a2148;
}

body::after {
  content: "";
  display: block;
  flex: 0 0 max(1px, env(safe-area-inset-bottom));
  background: #1a2148;
}

@supports (-webkit-touch-callout: none) {
  html,
  body {
    min-height: -webkit-fill-available;
    background: #1a2148 !important;
  }

  .site-footer::after {
    content: "";
    display: block;
    height: max(32px, env(safe-area-inset-bottom));
    margin-bottom: calc(-1 * env(safe-area-inset-bottom));
    background: #1a2148;
  }
}

/* Survate University: keep the logo vertically centered and fully visible. */
.su-hero {
  align-items: center !important;
}

.su-brand-card {
  align-self: center !important;
  overflow: visible !important;
}

.su-logo-line.su-logo-image-line,
.su-logo-image-line {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: clamp(148px, 15vw, 188px) !important;
  padding: clamp(24px, 2.8vw, 36px) !important;
  border-radius: 28px !important;
  background: #ffffff !important;
  overflow: visible !important;
}

.su-logo-image {
  display: block !important;
  width: min(100%, 560px) !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 126px !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: auto !important;
}

@media (max-width: 760px) {
  .su-logo-line.su-logo-image-line,
  .su-logo-image-line {
    min-height: 118px !important;
    padding: 18px !important;
    border-radius: 22px !important;
  }

  .su-logo-image {
    max-height: 88px !important;
  }
}


/* Home recruit job list: show all current openings compactly */
.recruit-panel ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.recruit-panel li {
  display: flex;
  align-items: center;
  min-height: 54px;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .recruit-panel ul {
    grid-template-columns: 1fr;
  }
}


/* Final update: home recruit panel shows all openings clearly */
.recruit-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.recruit-panel li {
  display: flex;
  align-items: center;
  min-height: 54px;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .recruit-panel ul {
    grid-template-columns: 1fr;
  }
}

/* Final update: keep the president title/name only in the photo caption */
.about-page .message-title > .president-name {
  display: none !important;
}


/* ------------------------------------------------------------------
   Scroll safety fix
   ------------------------------------------------------------------
   The mobile navigation no longer locks the body. This prevents cases
   where mouse-wheel scrolling stops after the menu state is cached or
   left open, while keeping horizontal overflow hidden for layout safety.
*/
html {
  overflow-y: auto !important;
}

body,
body.nav-open {
  overflow-y: auto !important;
  height: auto !important;
}

body {
  overflow-x: hidden;
}

.site-nav.is-open {
  max-height: calc(100dvh - 92px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}


/* Recruit movie: four-video layout update */
.recruit-video-list {
  align-items: stretch;
}

.recruit-video-card {
  display: flex;
  flex-direction: column;
}

.recruit-video-card .recruit-video {
  flex: 1 1 auto;
}

@media (min-width: 1181px) {
  .recruit-video-list {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

/* Job card apply buttons */
.job-card-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.job-apply-button {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-red) 0%, #a7131e 100%);
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 28px rgba(190, 26, 39, 0.18);
}

.job-apply-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(190, 26, 39, 0.26);
}

@media (max-width: 560px) {
  .job-card-actions {
    justify-content: stretch;
  }

  .job-apply-button {
    width: 100%;
    justify-content: center;
  }
}


/* Contact / dedicated form pages */
.contact-page main {
  background: #f7f7f5;
}

.contact-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--color-white);
  background:
    radial-gradient(circle at 88% 18%, rgba(199, 154, 59, 0.22), transparent 28%),
    linear-gradient(135deg, #1a2148 0%, #232b60 52%, #39437b 100%);
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(110deg, rgba(255,255,255,0.08), transparent 38%),
    radial-gradient(circle at 12% 86%, rgba(24,90,219,0.22), transparent 24%);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 54px;
  align-items: center;
  min-height: 520px;
  padding: 90px 0 78px;
}

.contact-hero-copy h1 {
  max-width: 920px;
  margin-bottom: 22px;
  color: var(--color-white);
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 1.16;
  letter-spacing: -0.055em;
}

.contact-hero-card {
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.12);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.contact-hero-card h2 {
  margin-bottom: 18px;
  color: var(--color-white);
  font-size: 1.35rem;
}

.contact-route-list,
.contact-mini-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-route-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-route-list a,
.contact-mini-list li {
  display: block;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
}

.contact-route-list a {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
}

.contact-route-list strong {
  display: block;
  color: var(--color-white);
}

.contact-route-list span,
.contact-mini-list li {
  color: rgba(255,255,255,0.78);
  font-weight: 700;
}

.contact-product-logo {
  display: block;
  max-height: 96px;
  width: auto;
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--color-white);
  object-fit: contain;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 44px;
  align-items: start;
}

.contact-side {
  position: sticky;
  top: 120px;
}

.contact-side h2 {
  margin-bottom: 18px;
  color: var(--color-navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -0.05em;
}

.contact-check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--color-navy);
  font-weight: 850;
}

.contact-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--color-red);
}

.form-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--color-navy);
  font-weight: 900;
}

.form-field.full,
.checkbox-group {
  grid-column: 1 / -1;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  color: var(--color-text);
  background: #fff;
  font: inherit;
  font-weight: 650;
  line-height: 1.55;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(24,90,219,0.75);
  outline: 3px solid rgba(24,90,219,0.16);
}

.required-mark {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--color-white);
  background: var(--color-red);
  font-size: 0.72rem;
  line-height: 1.4;
  vertical-align: middle;
}

.checkbox-group {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #f7f7f5;
}

.checkbox-group legend {
  padding: 0 8px;
  color: var(--color-navy);
  font-weight: 900;
}

.checkbox-group label {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin: 8px 18px 8px 0;
  color: var(--color-text);
  font-weight: 750;
}

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 24px 0 0;
  color: var(--color-muted);
  font-weight: 800;
}

.form-consent a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 28px;
}

.form-status {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--color-navy);
  background: #f2f2f0;
  font-weight: 850;
}

@media (max-width: 980px) {
  .contact-hero-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-side {
    position: static;
  }
}

@media (max-width: 640px) {
  .contact-hero-grid {
    min-height: auto;
    padding: 72px 0 58px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-actions,
  .form-actions .button {
    width: 100%;
  }

  .checkbox-group label {
    display: flex;
    margin-right: 0;
  }

  .contact-route-list {
    grid-template-columns: 1fr;
  }
}

/* Dedicated contact / entry forms ------------------------------------- */
.form-page .site-footer {
  margin-top: 0;
}

.form-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--color-white);
  background: radial-gradient(circle at 85% 16%, rgba(199, 154, 59, 0.24), transparent 30%), linear-gradient(135deg, #1a2148 0%, #232b60 58%, #39437b 100%);
}

.form-hero::before,
.form-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
}

.form-hero::before {
  width: 520px;
  height: 520px;
  right: -220px;
  top: 58px;
  background: rgba(24, 90, 219, 0.2);
}

.form-hero::after {
  width: 360px;
  height: 360px;
  left: -160px;
  bottom: -170px;
  background: rgba(255, 255, 255, 0.08);
}

.philocra-contact-hero {
  background: radial-gradient(circle at 78% 20%, rgba(199, 154, 59, 0.28), transparent 30%), linear-gradient(135deg, #21150f 0%, #3b2922 54%, #6b3f2a 100%);
}

.oracle-contact-hero {
  background:
    radial-gradient(circle at 84% 16%, rgba(201, 22, 34, 0.34), transparent 28%),
    radial-gradient(circle at 12% 90%, rgba(54, 169, 224, 0.18), transparent 26%),
    linear-gradient(135deg, #07162f 0%, #232b60 54%, #5a1420 100%);
}

.oracle-contact-summary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(6, 19, 41, 0.5);
}

.oracle-contact-card-label {
  margin-bottom: 14px;
  color: #ffb8bd;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.oracle-contact-summary h2,
.oracle-contact-summary p,
.oracle-contact-summary .contact-check-list li {
  color: #fff;
}

.oracle-contact-summary .contact-check-list li::before {
  background: #ef4050;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.recruit-entry-hero {
  background: radial-gradient(circle at 82% 18%, rgba(213, 32, 39, 0.25), transparent 30%), linear-gradient(135deg, #1a2148 0%, #232b60 56%, #39437b 100%);
}

.form-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 54px;
  align-items: center;
  min-height: 520px;
  padding: 90px 0 82px;
}

.form-hero-copy h1 {
  margin-bottom: 24px;
  max-width: 920px;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: 1.16;
  letter-spacing: -0.055em;
}

.form-hero-card,
.form-visual-card {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}

.form-visual-card {
  display: grid;
  gap: 18px;
}

.form-visual-card img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.form-visual-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.contact-menu-list,
.form-note-list,
.compact-flow {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-menu-list li,
.form-note-list li,
.compact-flow li {
  position: relative;
  padding-left: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 850;
}

.contact-menu-list li::before,
.form-note-list li::before,
.compact-flow li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--color-red);
}

.form-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: start;
}

.form-layout > .section-heading {
  position: sticky;
  top: 112px;
}

.form-side-note {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.form-side-note h3 {
  margin-bottom: 10px;
  color: var(--color-navy);
}

.form-side-note p,
.form-side-note li {
  color: var(--color-muted);
}

.mini-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.mini-link-list a {
  display: inline-flex;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-blue);
  background: #f7f7f5;
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-field.required > span::after {
  content: " *";
  color: var(--color-red);
}

.form-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #f7f7f5;
  color: var(--color-muted);
  font-weight: 800;
}

.form-check input {
  width: 18px;
  height: 18px;
  margin-top: 0.35em;
  flex: 0 0 auto;
}

.form-check a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.form-status:empty {
  display: none;
}

.form-status:not(:empty) {
  display: block;
}

.recruit-entry-page .compact-flow {
  counter-reset: flow;
}

.recruit-entry-page .compact-flow li {
  color: var(--color-muted);
}

@media (max-width: 1080px) {
  .form-hero-grid,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .form-layout > .section-heading {
    position: static;
  }

  .form-hero-grid {
    min-height: auto;
    padding: 76px 0 66px;
  }
}

@media (max-width: 680px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .form-hero-card,
  .form-visual-card,
  .form-side-note {
    border-radius: 24px;
  }

  .form-actions {
    justify-content: stretch;
  }

  .form-actions .button {
    width: 100%;
  }

  .form-hero-copy h1 {
    font-size: clamp(2.15rem, 12vw, 3.2rem);
  }
}

/* --------------------------------------------------------------------------
   Final layout restoration patch
   Purpose: restore recruit/movie/SU/job card layouts after PHP/contact patches.
---------------------------------------------------------------------------- */
html {
  overflow-y: auto !important;
  background: var(--color-navy) !important;
}

body {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  background: var(--color-navy) !important;
}

main {
  background: var(--color-white);
}

body.nav-open {
  overflow-y: auto !important;
  position: static !important;
}

.site-footer {
  position: relative;
  z-index: 1;
  background: var(--color-navy) !important;
  padding-bottom: max(28px, env(safe-area-inset-bottom));
  box-shadow: 0 80vh 0 80vh var(--color-navy);
}

/* Recruit: movie cards */
.recruit-movie-section .recruit-movie-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.recruit-video-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  min-width: 0;
}

.recruit-video-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.video-card-meta {
  padding: 8px 6px 14px;
}

.video-card-meta span {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--color-red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-card-meta h3 {
  margin: 0;
  color: var(--color-navy);
  font-size: 1.08rem;
}

.recruit-video,
.youtube-poster {
  position: relative;
  min-width: 0;
}

.youtube-poster {
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 8px);
  background: #07162d;
  aspect-ratio: 16 / 9;
}

.youtube-poster img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.youtube-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 12, 28, 0.12), rgba(3, 12, 28, 0.38));
}

.youtube-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-navy);
  font-weight: 900;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.youtube-play-icon {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--color-red);
}

.youtube-open-link {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Recruit: job cards must not inherit the old two-column .job-card layout */
#jobs .job-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

#jobs .job-card {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 30px !important;
  overflow: hidden !important;
}

#jobs .job-card-head {
  position: static !important;
  top: auto !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

#jobs .job-card > p {
  margin: 0 0 18px;
  color: var(--color-muted);
}

#jobs .table-scroll {
  margin-top: 18px;
  overflow-x: visible !important;
}

#jobs .job-table {
  min-width: 0 !important;
  width: 100% !important;
  table-layout: auto;
}

.job-card-actions {
  margin-top: 18px;
}

.job-apply-button {
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--color-white) !important;
  background: var(--color-blue);
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(29, 78, 216, 0.20);
}

/* Survate University */
.su-section {
  position: relative;
  overflow: hidden;
}

.su-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.su-copy h2 {
  max-width: 980px;
  overflow-wrap: anywhere;
}

.su-brand-card {
  display: grid;
  gap: 28px;
  min-width: 0;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
}

.su-logo-line,
.su-logo-image-line {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 168px;
  padding: 18px 22px;
  border-radius: 26px;
  background: var(--color-white);
  overflow: hidden;
}

.su-logo-image {
  display: block;
  width: 100%;
  max-width: 520px;
  max-height: 138px;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.su-stats {
  display: grid;
  gap: 0;
  margin: 0;
}

.su-stats div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.su-stats dt {
  color: var(--color-gold);
  font-size: 1.25rem;
  font-weight: 900;
}

.su-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 900;
}

.su-mind-skill-body,
.su-curriculum-grid,
.su-system-list,
.su-cycle-flow {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.su-mind-skill-body {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 46px;
}

.su-curriculum-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.su-system-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.su-cycle-flow {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.su-msb-card,
.su-curriculum-card,
.su-system-panel,
.su-cycle-flow > div {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
}

.su-msb-card,
.su-curriculum-card,
.su-cycle-flow > div {
  padding: 24px;
}

.su-system-panel {
  margin-top: 34px;
  padding: clamp(24px, 4vw, 38px);
}

.su-curriculum-card h4,
.su-msb-card h3,
.su-system-panel h3,
.su-cycle-flow h4 {
  color: var(--color-white);
}

.su-curriculum-card p,
.su-msb-card p,
.su-system-panel p,
.su-cycle-flow p {
  color: rgba(255, 255, 255, 0.76);
}

/* Contact form checkbox card alignment */
.contact-page .checkbox-group,
.form-panel .checkbox-group {
  grid-column: 1 / -1;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #f7f7f5;
}

.contact-page .checkbox-group legend,
.form-panel .checkbox-group legend {
  grid-column: 1 / -1;
  padding: 0 10px;
  color: var(--color-navy);
  font-weight: 900;
  line-height: 1.4;
}

.contact-page .checkbox-group label,
.form-panel .checkbox-group label {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start;
  gap: 12px;
  min-height: 54px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(196, 210, 230, 0.92);
  border-radius: 16px;
  background: var(--color-white);
  color: var(--color-navy);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.55;
  text-align: left;
}

.contact-page .checkbox-group input[type="checkbox"],
.form-panel .checkbox-group input[type="checkbox"] {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  margin: 0;
  accent-color: var(--color-red);
}

@media (max-width: 1180px) {
  .recruit-movie-section .recruit-movie-grid,
  .su-hero {
    grid-template-columns: 1fr;
  }

  .su-cycle-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  #jobs .job-grid,
  .recruit-video-list,
  .su-mind-skill-body,
  .su-curriculum-grid,
  .su-system-list,
  .contact-page .checkbox-group,
  .form-panel .checkbox-group {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  #jobs .job-card {
    padding: 22px !important;
  }

  #jobs .job-card-head {
    align-items: flex-start;
  }

  #jobs .job-badge {
    margin-top: 4px;
  }

  #jobs .table-scroll {
    border: 0;
    overflow: visible !important;
  }

  #jobs .job-table,
  #jobs .job-table tbody,
  #jobs .job-table tr,
  #jobs .job-table th,
  #jobs .job-table td {
    display: block;
    width: 100% !important;
  }

  #jobs .job-table tr {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-white);
  }

  #jobs .job-table th,
  #jobs .job-table td {
    border-bottom: 0;
    padding: 12px 14px;
  }

  #jobs .job-table th {
    white-space: normal;
    background: #f7f7f5;
  }

  #jobs .job-table td {
    background: var(--color-white);
  }

  .su-logo-line,
  .su-logo-image-line {
    min-height: 126px;
    padding: 14px;
    border-radius: 22px;
  }

  .su-logo-image {
    max-height: 100px;
  }

  .su-cycle-flow {
    grid-template-columns: 1fr;
  }

  .youtube-play {
    padding: 10px 14px;
    font-size: 0.88rem;
  }
}


/* Recruit: AI/DX role refinement */
#jobs .ai-dx-job-card {
  grid-column: 1 / -1;
}

.ai-dx-job-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.ai-dx-job-intro > div,
.ai-dx-fit-box {
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #f7f7f5 0%, #ffffff 100%);
}

.ai-dx-job-intro h4,
.ai-dx-fit-box h4,
.ai-dx-role-card h4 {
  margin: 0 0 10px;
  color: var(--color-navy);
}

.ai-dx-job-intro p,
.ai-dx-fit-box p,
.ai-dx-role-card p {
  margin: 0;
}

.ai-dx-role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 28px;
}

.ai-dx-role-card {
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.ai-dx-role-label {
  margin: 0 0 10px !important;
  color: var(--color-gold) !important;
  font-size: 0.78rem !important;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-dx-role-card h4 {
  font-size: 1.05rem;
  line-height: 1.5;
}

.ai-dx-role-card p {
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.ai-dx-fit-box {
  margin-top: 24px;
}

.ai-dx-fit-box ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin: 16px 0 0;
  padding-left: 1.2em;
  color: var(--color-muted);
}

.ai-dx-apply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.ai-dx-apply-actions .job-apply-button-compact {
  width: auto;
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.9rem;
}

@media (max-width: 1180px) {
  .ai-dx-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ai-dx-job-intro,
  .ai-dx-role-grid,
  .ai-dx-fit-box ul {
    grid-template-columns: 1fr;
  }

  .ai-dx-apply-actions .job-apply-button-compact {
    width: 100%;
  }
}


/* AI/DX job category */
#jobs .job-card-ai-dx {
  grid-column: 1 / -1;
  background:
    radial-gradient(circle at 12% 0%, rgba(29, 78, 216, 0.07), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.ai-dx-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.ai-dx-intro > div,
.ai-dx-open-entry {
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: #f7f7f5;
}

.ai-dx-intro h4,
.ai-dx-open-entry h4,
.ai-role-card h4 {
  margin-bottom: 10px;
  color: var(--color-navy);
}

.ai-dx-relation {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.ai-dx-relation div {
  padding: 18px;
  border-radius: 20px;
  color: var(--color-white);
  background: linear-gradient(135deg, #1a2148 0%, #30396f 100%);
  box-shadow: var(--shadow-sm);
}

.ai-dx-relation strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.96rem;
}

.ai-dx-relation span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.65;
}

.ai-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.ai-role-card {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.ai-role-kicker {
  margin-bottom: 10px !important;
  color: var(--color-blue) !important;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-role-detail {
  margin: 18px 0;
  padding: 18px;
  border-radius: 18px;
  background: #f7f7f5;
}

.ai-role-detail strong {
  display: block;
  margin-bottom: 10px;
  color: var(--color-navy);
}

.ai-role-detail ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.1em;
  color: var(--color-muted);
  line-height: 1.72;
}

.ai-role-fit {
  color: var(--color-muted);
  font-size: 0.96rem;
}

.ai-dx-open-entry {
  margin-top: 22px;
  background: linear-gradient(135deg, #fff7f7 0%, #f7fbff 100%);
}

.ai-dx-open-entry .button {
  margin-top: 10px;
}

@media (max-width: 1080px) {
  .ai-dx-relation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ai-dx-intro,
  .ai-role-grid,
  .ai-dx-relation {
    grid-template-columns: 1fr;
  }

  .ai-role-card,
  .ai-dx-intro > div,
  .ai-dx-open-entry {
    padding: 18px;
  }
}


/* Recruit: ERP job category refinement */
#jobs .job-family-card,
#jobs .erp-job-card {
  grid-column: 1 / -1;
}

#jobs .erp-job-card {
  background:
    radial-gradient(circle at 92% 8%, rgba(199, 154, 59, 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

#jobs .erp-job-card::before {
  background: linear-gradient(90deg, var(--color-red), var(--color-gold));
}

.erp-role-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.erp-role-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f5 100%);
}

.erp-fit-box {
  border-left: 5px solid var(--color-gold);
}

@media (max-width: 1180px) {
  .erp-role-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .erp-role-grid {
    grid-template-columns: 1fr;
  }
}

/* Final fix: Survate University card contrast */
.su-section .su-curriculum-card,
.su-section .su-curriculum-card:nth-child(10),
.su-section .su-system-list div,
.su-section .su-cycle-flow > div {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.07) 100%) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: var(--color-white) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16) !important;
}

.su-section .su-curriculum-card h4,
.su-section .su-curriculum-card p,
.su-section .su-system-list p,
.su-section .su-cycle-flow h4,
.su-section .su-cycle-flow p {
  color: rgba(255, 255, 255, 0.86) !important;
}

.su-section .su-curriculum-card h4,
.su-section .su-system-list p,
.su-section .su-cycle-flow h4 {
  color: var(--color-white) !important;
}

.su-section .su-system-list span,
.su-section .su-cycle-flow span {
  color: var(--color-gold) !important;
}

.su-section .su-curriculum-card strong {
  color: var(--color-blue) !important;
  background: #f2f2f0 !important;
}


/* === Survate University contrast fix 2026-06-15 ===
   Later layout patches changed text to white while some cards remained white.
   Keep the section visually consistent and readable. */
.su-section .su-curriculum-card,
.su-section .su-curriculum-card:nth-child(10),
.su-section .su-curriculum-card:nth-child(10n) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.075) 100%) !important;
  color: var(--color-white) !important;
}

.su-section .su-curriculum-card h4,
.su-section .su-curriculum-card strong + h4 {
  color: var(--color-white) !important;
}

.su-section .su-curriculum-card p {
  color: rgba(255, 255, 255, 0.78) !important;
}

.su-section .su-curriculum-card strong {
  color: var(--color-blue) !important;
  background: #f2f2f0 !important;
}

.su-section .su-system-list div {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.075) 100%) !important;
  color: var(--color-white) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.su-section .su-system-list span {
  color: var(--color-gold) !important;
}

.su-section .su-system-list p {
  color: rgba(255, 255, 255, 0.82) !important;
}

.su-section .su-cycle-flow > div {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.075) 100%) !important;
}


/* === Recruit: Survate University color contrast fix 20260615 === */
.su-section .su-msb-card,
.su-section .su-curriculum-card,
.su-section .su-system-list div {
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f5 100%) !important;
  color: var(--color-navy) !important;
  text-shadow: none !important;
}

.su-section .su-msb-card h3,
.su-section .su-curriculum-card h4,
.su-section .su-system-list p {
  color: var(--color-navy) !important;
  text-shadow: none !important;
}

.su-section .su-msb-card p,
.su-section .su-curriculum-card p {
  color: var(--color-muted) !important;
  text-shadow: none !important;
}

.su-section .su-curriculum-card strong {
  color: var(--color-blue) !important;
  background: #f2f2f0 !important;
}

.su-section .su-system-list span {
  color: var(--color-red) !important;
  text-shadow: none !important;
}

.su-section .su-system-panel {
  background: rgba(255, 255, 255, 0.10) !important;
}

.su-section .su-system-panel h3 {
  color: var(--color-white) !important;
}

.su-section .su-system-head p,
.su-section .su-system-panel > p {
  color: rgba(255, 255, 255, 0.78) !important;
}

.su-section .su-cycle-flow > div,
.su-section .su-cycle-flow div {
  background: linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.08)) !important;
  color: var(--color-white) !important;
}

.su-section .su-cycle-flow h4 {
  color: var(--color-white) !important;
}

.su-section .su-cycle-flow p {
  color: rgba(255,255,255,0.76) !important;
}

@media (max-width: 760px) {
  .su-section .su-curriculum-card,
  .su-section .su-system-list div,
  .su-section .su-cycle-flow > div {
    min-height: auto !important;
  }
}


/* === Final override: Survate University readable white cards 20260615-contrast2 === */
html body .su-section .su-curriculum-grid .su-curriculum-card,
html body .su-section .su-mind-skill-body .su-msb-card,
html body .su-section .su-system-list > div {
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f5 100%) !important;
  border-color: rgba(197, 211, 230, 0.95) !important;
  color: #1a2148 !important;
  text-shadow: none !important;
  box-shadow: 0 18px 44px rgba(7, 26, 53, 0.16) !important;
}

html body .su-section .su-curriculum-grid .su-curriculum-card h4,
html body .su-section .su-mind-skill-body .su-msb-card h3,
html body .su-section .su-system-list > div p {
  color: #1a2148 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

html body .su-section .su-curriculum-grid .su-curriculum-card p,
html body .su-section .su-mind-skill-body .su-msb-card p {
  color: #68758b !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

html body .su-section .su-curriculum-grid .su-curriculum-card strong,
html body .su-section .su-system-list > div span {
  color: #d04413 !important;
  background: #f2f2f0 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

html body .su-section .su-system-panel {
  background: rgba(255, 255, 255, 0.10) !important;
  color: #ffffff !important;
}

html body .su-section .su-system-panel .su-system-head h3,
html body .su-section .su-system-panel .su-system-head p {
  color: #ffffff !important;
  opacity: 1 !important;
}

html body .su-section .su-cycle-flow > div {
  background: linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.08)) !important;
  border-color: rgba(255,255,255,0.18) !important;
  color: #ffffff !important;
}

html body .su-section .su-cycle-flow > div h4 {
  color: #ffffff !important;
}

html body .su-section .su-cycle-flow > div p {
  color: rgba(255,255,255,0.78) !important;
}


/* === SU readable final2 inline-matching override === */
html body .su-section .su-curriculum-grid > .su-curriculum-card,
html body .su-section .su-mind-skill-body > .su-msb-card,
html body .su-section .su-system-list > div {
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f5 100%) !important;
  border-color: rgba(197, 211, 230, 0.95) !important;
  color: #1a2148 !important;
  text-shadow: none !important;
}
html body .su-section .su-curriculum-grid > .su-curriculum-card h4,
html body .su-section .su-mind-skill-body > .su-msb-card h3,
html body .su-section .su-system-list > div p { color: #1a2148 !important; opacity: 1 !important; text-shadow: none !important; }
html body .su-section .su-curriculum-grid > .su-curriculum-card p,
html body .su-section .su-mind-skill-body > .su-msb-card p { color: #68758b !important; opacity: 1 !important; text-shadow: none !important; }
html body .su-section .su-curriculum-grid > .su-curriculum-card strong,
html body .su-section .su-system-list > div span { color: #d04413 !important; background: #f2f2f0 !important; opacity: 1 !important; }

/* ======================================================================
   Header fixed on desktop
   Requested update: keep the PC header menu fixed while scrolling.
   Mobile/tablet menu behavior below 820px is intentionally unchanged.
   ====================================================================== */
@media (min-width: 821px) {
  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 2000 !important;
  }

  body {
    padding-top: 78px;
  }

  html {
    scroll-padding-top: 104px !important;
  }

  .anchor-nav {
    top: 78px !important;
  }
}


/* === Worker dispatch disclosure page / footer micro link === */
.footer-nav .footer-micro-link {
  font-size: 0.82rem;
  opacity: 0.82;
}

.dispatch-page .legal-card {
  font-size: 0.88rem;
  line-height: 1.72;
  letter-spacing: 0.01em;
}

.dispatch-page .dispatch-plain-block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.dispatch-page .dispatch-plain-block h3 {
  margin-bottom: 8px;
  color: var(--color-navy);
  font-size: 1rem;
  line-height: 1.5;
}

.dispatch-page .dispatch-plain-block p,
.dispatch-page .dispatch-plain-block li {
  color: #4f5d70;
  font-size: 0.86rem;
  line-height: 1.78;
}

.dispatch-page .dispatch-plain-block ul {
  margin: 8px 0 0;
  padding-left: 1.25em;
}

.dispatch-page .dispatch-note {
  margin-top: 8px;
  color: #667085;
  font-size: 0.82rem;
}

/* Honeypot fallback: keep anti-bot fields hidden if any legacy form still contains them. */
.form-honeypot,
label.form-honeypot,
input[name="website_confirm"] {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* === Contact pages: hide legacy confirmation honeypot and improve AI/DX card contrast === */
.form-honeypot,
.form-honeypot *,
label.form-honeypot,
input[name="website_confirm"],
[aria-hidden="true"].form-honeypot {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -99999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.dx-contact-hero .contact-hero-card,
.contact-page .dx-contact-hero .contact-hero-card {
  color: #ffffff !important;
}

.dx-contact-hero .contact-hero-card h2,
.dx-contact-hero .contact-hero-card p,
.dx-contact-hero .contact-hero-card .contact-check-list li,
.contact-page .dx-contact-hero .contact-hero-card h2,
.contact-page .dx-contact-hero .contact-hero-card p,
.contact-page .dx-contact-hero .contact-hero-card .contact-check-list li {
  color: rgba(255, 255, 255, 0.94) !important;
  text-shadow: none !important;
}

.dx-contact-hero .contact-hero-card .contact-check-list li,
.contact-page .dx-contact-hero .contact-hero-card .contact-check-list li {
  font-weight: 900 !important;
}

.dx-contact-hero .contact-hero-card .contact-check-list li::before,
.contact-page .dx-contact-hero .contact-hero-card .contact-check-list li::before {
  background: var(--color-red) !important;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.10) !important;
}

/* Company profile contact details */
.company-contact-details p {
  margin: 0;
}

.company-contact-details p + p {
  margin-top: 0.55rem;
}

.company-contact-phone {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.4rem;
  align-items: baseline;
}

.company-contact-phone a,
.company-contact-details > p > a {
  color: var(--color-navy);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.company-contact-caution {
  color: #9e1b24;
  font-weight: 700;
}

/* About page: use full-width philosophy cards */
.about-page #philosophy .philosophy-grid {
  grid-template-columns: 1fr;
  gap: clamp(30px, 4vw, 46px);
}

.about-page #philosophy .section-heading {
  max-width: 920px;
}

.about-page #philosophy .section-heading p:not(.eyebrow) {
  font-size: clamp(1.12rem, 1.45vw, 1.34rem);
  line-height: 2;
}

.about-page #philosophy .philosophy-panels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
}

.about-page #philosophy .philosophy-panel {
  padding: clamp(34px, 4vw, 52px);
}

.about-page #philosophy .philosophy-label {
  font-size: clamp(0.9rem, 1vw, 1rem);
}

.about-page #philosophy .credo-block .section-heading .eyebrow {
  font-size: clamp(0.9rem, 1vw, 1rem);
  letter-spacing: 0.16em;
}

.about-page #philosophy .philosophy-panel h3 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.22;
}

.about-page #philosophy .philosophy-panel p {
  font-size: clamp(1.08rem, 1.35vw, 1.26rem);
  line-height: 2;
}

@media (max-width: 760px) {
  .about-page #philosophy .philosophy-panels {
    grid-template-columns: 1fr;
  }
}

/* Recruit philosophy message and long-form article */
.recruit-philosophy-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(34px, 5vw, 72px);
  border: 1px solid rgba(197, 211, 230, 0.95);
  border-radius: 32px;
  background: linear-gradient(135deg, #ffffff 0%, #f3f7ff 58%, #fff7f4 100%);
  box-shadow: 0 24px 58px rgba(7, 26, 53, 0.10);
}

.recruit-philosophy-copy h2 { margin-bottom: 22px; }
.recruit-philosophy-copy > p { color: #53627a; line-height: 2; }
.recruit-philosophy-copy .recruit-philosophy-lead { color: #1a2148; font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 700; }
.recruit-philosophy-copy blockquote {
  margin: 28px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--color-red);
  background: rgba(255,255,255,0.86);
  color: #1a2148;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.75;
}

.recruit-philosophy-points {
  padding: 0 28px 28px;
  border-radius: 24px;
  background: #1a2148;
  color: #fff;
  overflow: hidden;
}
.recruit-philosophy-photo { margin: 0 -28px 26px; position: relative; background: #dce6ef; }
.recruit-philosophy-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 58% center; }
.recruit-philosophy-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, rgba(7,26,53,0.88)); pointer-events: none; }
.recruit-philosophy-photo figcaption { position: absolute; z-index: 1; right: 18px; bottom: 14px; color: #fff; font-size: 0.85rem; font-weight: 800; }
.recruit-philosophy-points .hero-card-label { color: #ff7680; }
.recruit-philosophy-points ul { display: grid; gap: 0; margin: 20px 0 0; padding: 0; list-style: none; }
.recruit-philosophy-points li { display: grid; gap: 8px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.14); }
.recruit-philosophy-points strong { color: #fff; font-size: 1.05rem; }
.recruit-philosophy-points span { color: rgba(255,255,255,0.76); line-height: 1.75; }

.philosophy-article-page { background: #f7f7f5; }
.philosophy-article-hero { padding: clamp(76px, 10vw, 138px) 0 clamp(54px, 8vw, 100px); background: linear-gradient(135deg, #1a2148 0%, #232b60 66%, #5c1820 145%); color: #fff; }
.philosophy-article-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr); gap: clamp(34px, 6vw, 88px); align-items: center; }
.philosophy-article-hero-copy { min-width: 0; }
.philosophy-article-portrait { position: relative; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,0.24); border-radius: 28px; box-shadow: 0 28px 65px rgba(0,0,0,0.3); }
.philosophy-article-portrait::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,0.12); border-radius: inherit; pointer-events: none; }
.philosophy-article-portrait img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 58% center; }
.philosophy-article-hero .breadcrumb, .philosophy-article-hero .breadcrumb a { color: rgba(255,255,255,0.72); }
.philosophy-article-hero h1 { max-width: 920px; margin: 24px 0; color: #fff; font-size: clamp(2.4rem, 6vw, 5.2rem); line-height: 1.18; letter-spacing: -0.035em; }
.philosophy-article-hero .page-lead { max-width: 780px; color: rgba(255,255,255,0.8); font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 2; }
.philosophy-article-sign { margin-top: 28px; color: #fff; font-weight: 800; }
.philosophy-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(36px, 6vw, 88px); align-items: start; padding-top: clamp(56px, 8vw, 100px); padding-bottom: clamp(70px, 10vw, 130px); }
.philosophy-article { padding: clamp(28px, 5vw, 72px); border: 1px solid #d8e1ee; border-radius: 30px; background: #fff; box-shadow: 0 22px 58px rgba(7,26,53,0.08); }
.philosophy-article section + section { margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(48px, 7vw, 80px); border-top: 1px solid #dfe6ef; }
.philosophy-article h2 { margin-bottom: 28px; color: #1a2148; font-size: clamp(1.75rem, 3.4vw, 2.8rem); line-height: 1.4; }
.philosophy-article h3 { margin: 44px 0 18px; color: #232b60; font-size: clamp(1.3rem, 2.3vw, 1.75rem); line-height: 1.55; }
.philosophy-article p, .philosophy-article li { color: #3c4b62; font-size: 1.02rem; line-height: 2.05; }
.philosophy-article p + p { margin-top: 1.4em; }
.philosophy-article strong { color: #1a2148; }
.philosophy-article blockquote { margin: 26px 0; padding: 22px 26px; border-left: 4px solid var(--color-red); border-radius: 0 16px 16px 0; background: #f6f8fc; color: #263b58; }
.philosophy-article .article-statement { margin: 34px 0; padding: 28px; border-radius: 20px; background: #1a2148; color: #fff; font-family: var(--font-serif); font-size: clamp(1.2rem, 2.2vw, 1.65rem); font-weight: 700; line-height: 1.8; }
.philosophy-article .article-statement strong { color: #fff; }
.philosophy-article .practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.philosophy-article .practice-card { padding: 24px; border: 1px solid #dce4ef; border-radius: 18px; background: #f8faff; }
.philosophy-article .practice-card h3 { margin: 0 0 12px; font-size: 1.1rem; }
.philosophy-article .practice-card p { margin: 0; font-size: 0.95rem; line-height: 1.85; }
.philosophy-article-nav { position: sticky; top: 110px; padding: 24px; border: 1px solid #d8e1ee; border-radius: 20px; background: #fff; box-shadow: 0 16px 40px rgba(7,26,53,0.07); }
.philosophy-article-nav strong { display: block; margin-bottom: 14px; color: #1a2148; }

/* =========================================================
   Survate brand palette: indigo 30 / orange 10 / white 60
   ========================================================= */

body {
  color: #1a1a1a;
  background: #1a2148;
}

main {
  background: #ffffff;
}

.section-heading h2,
.section-title {
  color: #1a2148;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: rgba(254, 94, 44, 0.58);
}

.site-header,
.site-header.is-scrolled {
  color: #ffffff;
  background: rgba(26, 33, 72, 0.97);
  border-bottom-color: rgba(201, 162, 39, 0.42);
  box-shadow: 0 12px 30px rgba(26, 33, 72, 0.18);
}

.brand {
  padding: 6px 11px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.2);
}

.site-nav {
  color: #ffffff;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #ffffff;
  background: rgba(254, 94, 44, 0.2);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px #c9a227;
}

.site-nav .nav-cta,
.site-nav .nav-cta:hover,
.button-primary,
.button-light {
  color: #1a2148;
  background: #fe5e2c;
  border-color: #fe5e2c;
  font-size: max(0.875rem, 14px);
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(254, 94, 44, 0.30);
}

.site-nav .nav-cta:hover,
.button-primary:hover,
.button-light:hover {
  color: #1a2148;
  background: #ff754c;
  border-color: #ff754c;
}

.button {
  font-size: max(0.875rem, 14px);
  font-weight: 800;
}

.text-link,
.section-label,
.section-kicker,
.eyebrow,
.card-number,
.step-number,
.timeline-number {
  color: #d04413;
}

.section-muted,
.section-alt,
.page-section-muted {
  background: #f7f7f5;
}

.site-footer {
  background: #1a2148;
  border-top: 1px solid rgba(201, 162, 39, 0.38);
}

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

.footer-bottom {
  border-top-color: rgba(201, 162, 39, 0.3);
}

/* ERP pages stay restrained: indigo surfaces and focused orange CTAs. */
.erp-page .page-hero,
.erp-page .product-hero,
.erp-page .contact-hero {
  background:
    radial-gradient(circle at 86% 15%, rgba(254, 94, 44, 0.12), transparent 28%),
    linear-gradient(135deg, #1a2148 0%, #232b60 62%, #39437b 100%);
}

.erp-page .button-primary,
.erp-page .nav-cta {
  color: #1a2148;
  background: #fe5e2c;
  border-color: #fe5e2c;
}

.erp-page .button-primary:hover,
.erp-page .nav-cta:hover {
  color: #1a2148;
  background: #ff754c;
  border-color: #ff754c;
}

/* Keep the Oracle badge visually independent from Survate orange. */
.products-page .oracle-partner-proof,
.products-page .oracle-partner-logo-wrap,
.products-page .trust-partner {
  background: #ffffff !important;
  border-color: rgba(35, 43, 96, 0.16) !important;
}

.products-page .oracle-partner-logo-wrap {
  padding: 22px !important;
  box-shadow: 0 12px 34px rgba(26, 33, 72, 0.09) !important;
}

.products-page .oracle-partner-proof {
  isolation: isolate;
  box-shadow: 0 18px 44px rgba(26, 33, 72, 0.08) !important;
}

/* Recruitment can carry more warmth without losing the B2B base. */
.recruit-page .page-hero,
.recruit-page .philosophy-article-hero {
  background:
    radial-gradient(circle at 84% 16%, rgba(254, 94, 44, 0.3), transparent 34%),
    linear-gradient(135deg, #1a2148 0%, #232b60 66%, #633313 132%);
}

.recruit-page .job-card,
.recruit-page .recruit-video-card,
.recruit-page .recruit-philosophy-card {
  border-top-color: #fe5e2c;
}

.recruit-page .timeline::before,
.recruit-page .recruit-flow::before {
  background: #c9a227;
}

.recruit-page .job-badge:not(.job-badge-gold):not(.job-badge-navy),
.recruit-page .job-apply-button {
  color: #1a2148 !important;
  background: #fe5e2c;
  border-color: #fe5e2c;
  box-shadow: 0 12px 28px rgba(254, 94, 44, 0.28);
}

.recruit-page .job-apply-button:hover {
  color: #1a2148 !important;
  background: #ff754c;
  border-color: #ff754c;
  box-shadow: 0 16px 34px rgba(254, 94, 44, 0.34);
}

/* Philocra carries the daruma warmth through rounded orange accents. */
.philocra-page .page-hero {
  background:
    radial-gradient(circle at 84% 18%, rgba(254, 94, 44, 0.34), transparent 31%),
    radial-gradient(circle at 91% 42%, rgba(201, 162, 39, 0.18), transparent 19%),
    linear-gradient(135deg, #1a2148 0%, #232b60 68%, #5c3218 138%);
}

.philocra-page .philo-growth-card,
.philocra-page .feature-card,
.philocra-page .pricing-card {
  border-top-color: #fe5e2c;
}

.philocra-page .philo-growth-section,
.philocra-page .section-muted {
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f5 100%);
}

/* Contrast safeguards ---------------------------------------------------
   Keep the brand palette contextual: dark surfaces use light type, while
   light content surfaces keep the deep indigo headings. */
:where(
  .page-hero,
  .hero,
  .contact-hero,
  .philosophy-article-hero,
  .cta-section,
  .recruit-philosophy-points
) {
  color: #ffffff;
}

:where(
  .page-hero,
  .hero,
  .contact-hero,
  .philosophy-article-hero,
  .cta-section,
  .recruit-philosophy-points
) :where(h1, h2, h3, .page-title, .section-title) {
  color: #ffffff;
}

:where(.page-hero, .hero, .contact-hero, .philosophy-article-hero)
  :where(.page-lead, .hero-lead, .lead) {
  color: rgba(255, 255, 255, 0.88);
}

.page-hero :where(.eyebrow, .section-label, .section-kicker, .hero-card-label),
.hero :where(.eyebrow, .section-label, .section-kicker, .hero-card-label),
.contact-hero :where(.eyebrow, .section-label, .section-kicker, .hero-card-label),
.philosophy-article-hero :where(.eyebrow, .section-label, .section-kicker, .hero-card-label) {
  color: #ffad8f;
}

.page-hero :where(.breadcrumb, .breadcrumb a),
.hero :where(.breadcrumb, .breadcrumb a),
.contact-hero :where(.breadcrumb, .breadcrumb a),
.philosophy-article-hero :where(.breadcrumb, .breadcrumb a) {
  color: rgba(255, 255, 255, 0.82);
}

.cta-section .cta-box :where(.eyebrow, .section-label, .section-kicker) {
  color: rgba(255, 255, 255, 0.88);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.90);
}

.site-footer :where(h1, h2, h3, .footer-brand, strong) {
  color: #ffffff;
}

.site-footer :where(p, a, li),
.site-footer .footer-nav a {
  color: rgba(255, 255, 255, 0.82);
}

/* Secondary actions must remain legible on both light and dark panels. */
:where(.page-hero, .hero, .contact-hero, .philosophy-article-hero, .cta-section)
  .button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.10);
}

:where(.page-hero, .hero, .contact-hero, .philosophy-article-hero, .cta-section)
  .button-secondary:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.19);
}

@media (max-width: 820px) {
  .brand {
    padding: 5px 9px;
  }

  .site-nav {
    color: #1a2148;
    background: rgba(255, 255, 255, 0.99);
    border-color: rgba(35, 43, 96, 0.16);
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    color: #1a2148;
    background: #fff1e8;
  }

  .site-nav .nav-cta,
  .site-nav .nav-cta:hover {
    color: #ffffff;
  }
}
.philosophy-article-nav a { display: block; padding: 9px 0; color: #53627a; font-size: 0.9rem; line-height: 1.45; }
.philosophy-article-nav a:hover { color: var(--color-red); }

@media (max-width: 900px) {
  .recruit-philosophy-card, .philosophy-article-layout, .philosophy-article-hero-grid { grid-template-columns: 1fr; }
  .philosophy-article-portrait { max-width: 680px; }
  .philosophy-article-nav { position: static; order: -1; }
  .philosophy-article .practice-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .recruit-philosophy-card, .philosophy-article { padding: 24px 20px; border-radius: 22px; }
  .philosophy-article p, .philosophy-article li { font-size: 0.98rem; line-height: 1.95; }
}
