:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-elev: #0c0c0c;
  --surface: #111111;
  --surface-2: #171717;
  --text: #ffffff;
  --muted: #b8b8b8;
  --muted-2: #8a8a8a;
  --accent: #ff8a00;
  --accent-soft: rgba(255, 138, 0, 0.18);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 138, 0, 0.24);
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  --container: 1200px;
  --pad: 32px;
  --header-h: 80px;
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 138, 0, 0.08), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(255, 138, 0, 0.06), transparent 20%),
    var(--bg);
  color: var(--text);
  font: 400 16px/1.7 "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  transform: translateY(-180%);
  z-index: 1000;
}

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

.site-shell {
  overflow: clip;
}

.container {
  width: min(calc(100% - var(--pad) * 2), var(--container));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font: 700 0.88rem/1.1 "Inter", "Noto Sans JP", sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding: 120px 0;
}

.section:not(.section--hero) {
  border-top: 1px solid var(--border);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 138, 0, 0.06), transparent 35%);
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 190px;
}

.brand-mark {
  font: 700 clamp(1.65rem, 2vw, 2rem)/1 "Inter", sans-serif;
  letter-spacing: 0.18em;
}

.brand-mark span {
  color: var(--accent);
}

.brand-name {
  color: #f1f1f1;
  font: 600 0.92rem/1.1 "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
}

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

.site-nav a,
.footer-nav a {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  transition: color 220ms var(--ease), transform 220ms var(--ease);
}

.site-nav a::after,
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms var(--ease);
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--text);
}

.site-nav a:hover::after,
.footer-nav a:hover::after {
  transform: scaleX(1);
}

.nav-en {
  font: 700 1rem/1 "Inter", sans-serif;
  letter-spacing: 0.03em;
}

.nav-ja {
  color: var(--muted);
  font: 500 0.74rem/1 "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(17, 17, 17, 0.8);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle-lines {
  display: grid;
  gap: 6px;
}

.menu-toggle-lines span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}

.hero {
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 108px;
  border-top: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(36px, 5vw, 84px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.hero-copy h1 {
  margin: 0 0 22px;
  font: 700 clamp(2.5rem, 4.4vw, 4.4rem)/1.08 "Noto Sans JP", sans-serif;
  letter-spacing: 0.02em;
}

.lead {
  margin: 0 0 18px;
  color: #f0f0f0;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.85;
}

.body-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.hero-visual {
  position: relative;
  min-height: clamp(460px, 58vw, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
  pointer-events: none;
}

.hero-visual::before {
  inset: 12% 10% 18% 8%;
  background:
    radial-gradient(circle at 30% 35%, rgba(255, 138, 0, 0.28), transparent 18%),
    radial-gradient(circle at 68% 30%, rgba(255, 138, 0, 0.18), transparent 15%),
    radial-gradient(circle at 82% 58%, rgba(255, 138, 0, 0.24), transparent 20%),
    linear-gradient(135deg, rgba(255, 138, 0, 0.08), rgba(255, 138, 0, 0));
  mix-blend-mode: screen;
  opacity: 0.65;
}

.hero-visual::after {
  inset: auto 9% 10% 28%;
  height: 20%;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.26), transparent 68%);
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.45));
}

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

.section-heading h2,
.about-copy h2,
.company-heading h2 {
  margin: 0 0 12px;
  font: 700 clamp(2rem, 3vw, 3rem)/1.15 "Noto Sans JP", sans-serif;
  letter-spacing: 0.01em;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0));
}

.service-card {
  min-height: 310px;
  padding: 30px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  border-left: 1px solid var(--border);
  transition: transform 260ms var(--ease), background-color 260ms var(--ease);
}

.service-card:first-child {
  border-left: 0;
}

.service-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.02);
}

.service-card-icon {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  color: var(--accent);
}

.service-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 138, 0, 0.22));
}

.service-card-copy h3 {
  margin: 0 0 10px;
  font: 700 1.12rem/1.4 "Noto Sans JP", sans-serif;
}

.service-card-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.service-chevron {
  margin-top: auto;
  color: var(--accent);
  font-size: 2rem;
  line-height: 1;
  opacity: 0.95;
}

.about-grid,
.company-grid {
  display: grid;
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
}

.about-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
}

.about-copy {
  max-width: 560px;
}

.about-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.95;
}

.about-visual,
.company-visual {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 138, 0, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-visual img,
.company-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-link {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 138, 0, 0.08);
  transition: transform 220ms var(--ease), background-color 220ms var(--ease), border-color 220ms var(--ease);
}

.about-link::after {
  content: "→";
  color: var(--accent);
}

.about-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 138, 0, 0.14);
  border-color: rgba(255, 138, 0, 0.42);
}

.company-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.company-heading {
  display: grid;
  gap: 18px;
  align-content: start;
}

.company-heading h2 {
  margin-bottom: 0;
}

.company-visual {
  aspect-ratio: 5 / 4;
  max-width: 100%;
}

.company-panel {
  display: grid;
  gap: 28px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(17, 17, 17, 0.72);
  box-shadow: var(--shadow);
}

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

.company-meta div {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.company-meta dt {
  margin: 0 0 8px;
  color: var(--accent);
  font: 700 0.86rem/1.2 "Inter", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.company-meta dd {
  margin: 0;
  color: var(--text);
  line-height: 1.8;
}

.muted {
  color: var(--muted);
}

.company-services {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.company-services h3 {
  margin: 0 0 14px;
  font: 700 1.1rem/1.4 "Noto Sans JP", sans-serif;
}

.company-services ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.company-services li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.company-services li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(255, 138, 0, 0.6);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 34px 0 24px;
  background: rgba(0, 0, 0, 0.42);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand--footer {
  min-width: 0;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.footer-nav a {
  flex-direction: row;
  gap: 0;
  color: var(--muted);
  font: 500 0.96rem/1 "Inter", sans-serif;
}

.copyright {
  margin: 0;
  color: var(--muted-2);
  font: 500 0.9rem/1.5 "Inter", sans-serif;
}

@media (max-width: 1180px) {
  .hero-grid,
  .about-grid,
  .company-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .about-copy {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 420px;
  }

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

  .service-card:nth-child(3) {
    border-left: 0;
  }

  .service-card {
    min-height: 280px;
  }

  .company-panel {
    order: 2;
  }

  .company-heading {
    order: 1;
  }

  .company-visual {
    max-width: 520px;
  }
}

@media (max-width: 767px) {
  :root {
    --pad: 18px;
    --header-h: 70px;
  }

  .section {
    padding: 82px 0;
  }

  .header-inner {
    min-height: var(--header-h);
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    font-size: 1.35rem;
  }

  .brand-name {
    font-size: 0.72rem;
  }

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

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    display: grid;
    gap: 0;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    background: rgba(5, 5, 5, 0.96);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  }

  body.menu-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    padding: 16px 14px;
    border-radius: 14px;
    border: 1px solid transparent;
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--border);
  }

  .hero {
    min-height: auto;
    padding-top: 26px;
    padding-bottom: 82px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(2.15rem, 9vw, 3.05rem);
    line-height: 1.12;
    margin-bottom: 18px;
  }

  .hero-visual {
    min-height: 300px;
  }

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

  .section-heading h2,
  .about-copy h2,
  .company-heading h2 {
    font-size: clamp(1.7rem, 7.8vw, 2.2rem);
  }

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

  .service-card {
    min-height: auto;
    align-items: flex-start;
    text-align: left;
    padding: 22px 0 20px;
    border-left: 0;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
  }

  .service-card:first-child {
    border-top: 0;
  }

  .service-card-icon {
    width: 64px;
    height: 64px;
  }

  .service-card-copy h3 {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .service-card-copy p {
    font-size: 0.92rem;
  }

  .service-chevron {
    font-size: 1.6rem;
    align-self: center;
  }

  .about-link {
    display: inline-flex;
    margin-top: 8px;
  }

  .company-panel {
    padding: 22px 18px;
  }

  .company-meta {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .company-meta div {
    padding-top: 12px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-nav {
    justify-content: flex-start;
    gap: 22px;
  }

  .copyright {
    font-size: 0.84rem;
  }
}

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

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

/* ===== 2026 Complete Layout Polish ===== */

/* Hero: use the existing artwork as a true full-width background. */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border-top: 0;
  background: #050505;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header-h));
  padding-top: clamp(76px, 9vh, 118px);
  padding-bottom: clamp(84px, 10vh, 132px);
}

.hero-copy {
  max-width: 600px;
}

.hero-copy h1 {
  margin: 0 0 22px;
  max-width: 12ch;
  font-size: clamp(2.55rem, 3.55vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 0;
  display: block;
  pointer-events: none;
}

.hero-visual::before,
.hero-visual::after {
  content: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 68% 54%;
  filter: brightness(0.72) saturate(0.96) contrast(1.03);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(5, 5, 5, 0.98) 0%,
      rgba(5, 5, 5, 0.94) 23%,
      rgba(5, 5, 5, 0.76) 43%,
      rgba(5, 5, 5, 0.28) 67%,
      rgba(5, 5, 5, 0.08) 100%),
    linear-gradient(180deg,
      rgba(5, 5, 5, 0.22) 0%,
      rgba(5, 5, 5, 0) 42%,
      rgba(5, 5, 5, 0.08) 70%,
      rgba(5, 5, 5, 0.94) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 48%, rgba(255, 138, 0, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.10), transparent 18%);
}

/* Services: preserve all copy while improving reading width and rhythm. */
.section--services .container {
  width: min(calc(100% - var(--pad) * 2), 1320px);
}

.service-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
}

.service-card,
.service-card:first-child,
.service-card:nth-child(3) {
  min-height: 330px;
  padding: 26px 19px 27px;
  gap: 15px;
  border: 0;
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.98), rgba(7, 7, 7, 0.98));
}

.service-card-icon {
  width: 72px;
  height: 72px;
}

.service-card-copy h3 {
  margin-bottom: 9px;
  font-size: 1rem;
  line-height: 1.45;
}

.service-card-copy p {
  font-size: 0.875rem;
  line-height: 1.78;
}

.service-chevron {
  font-size: 1.7rem;
}

/* Company: place the heading above a balanced image/panel pair. */
.company-heading {
  display: block;
  margin-bottom: 34px;
}

.company-heading h2 {
  margin: 0;
}

.company-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(28px, 4vw, 48px);
}

.company-visual {
  min-height: 100%;
  aspect-ratio: 4 / 3;
}

.company-visual img {
  object-position: center;
}

.company-panel {
  align-content: start;
  gap: 23px;
  padding: 25px 27px;
}

.company-meta {
  gap: 14px 22px;
}

.company-meta div {
  padding-top: 12px;
}

.company-meta dt {
  margin-bottom: 6px;
}

.company-services {
  padding-top: 20px;
}

.company-services ul {
  gap: 8px;
}

@media (max-width: 1200px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-card {
    min-height: 300px;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    min-height: 720px;
    padding-top: 90px;
    padding-bottom: 100px;
  }

  .hero-copy {
    max-width: 570px;
  }

  .hero-visual img {
    object-position: 62% center;
  }

  .hero::before {
    background:
      linear-gradient(90deg,
        rgba(5, 5, 5, 0.98) 0%,
        rgba(5, 5, 5, 0.90) 38%,
        rgba(5, 5, 5, 0.46) 72%,
        rgba(5, 5, 5, 0.18) 100%),
      linear-gradient(180deg, rgba(5, 5, 5, 0.24), transparent 45%, rgba(5, 5, 5, 0.94));
  }

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

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

  .company-visual {
    min-height: 0;
    max-width: none;
    aspect-ratio: 16 / 9;
  }
}

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

  .hero-grid {
    min-height: 650px;
    align-items: flex-end;
    padding-top: 120px;
    padding-bottom: 70px;
  }

  .hero-copy h1 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .hero-visual img {
    object-position: 66% center;
    filter: brightness(0.60) saturate(0.94);
  }

  .hero::before {
    background:
      linear-gradient(180deg,
        rgba(5, 5, 5, 0.22) 0%,
        rgba(5, 5, 5, 0.38) 36%,
        rgba(5, 5, 5, 0.93) 72%,
        rgba(5, 5, 5, 1) 100%),
      linear-gradient(90deg, rgba(5, 5, 5, 0.86), rgba(5, 5, 5, 0.28));
  }

  .section--services .container {
    width: min(calc(100% - var(--pad) * 2), 1320px);
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 0;
    border-left: 0;
    border-right: 0;
    background: transparent;
  }

  .service-card,
  .service-card:first-child,
  .service-card:nth-child(3) {
    min-height: auto;
    padding: 22px 0 20px;
    border-top: 1px solid var(--border);
    background: transparent;
  }

  .service-card:first-child {
    border-top: 0;
  }

  .service-card-icon {
    width: 62px;
    height: 62px;
  }

  .service-card-copy p {
    font-size: 0.92rem;
  }

  .company-heading {
    margin-bottom: 24px;
  }

  .company-panel {
    padding: 22px 18px;
  }
}

