:root {
  --bg: #f6f2ea;
  --bg2: #ffffff;
  --text: rgba(14, 16, 19, 0.92);
  --muted: rgba(14, 16, 19, 0.68);
  --hair: rgba(14, 16, 19, 0.12);
  --hair2: rgba(14, 16, 19, 0.08);
  --accent: #0b2f4a;
  --accent2: #b68a3a;
  --shadow: 0 22px 70px rgba(14, 16, 19, 0.10);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1120px;
  --serif:
    ui-serif,
    "Noto Serif JP",
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
  --sans:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 20% 15%, rgba(182, 138, 58, 0.10), transparent 55%),
    radial-gradient(760px 520px at 86% 22%, rgba(11, 47, 74, 0.10), transparent 58%),
    linear-gradient(180deg, #fbf8f2 0%, var(--bg) 52%, #f1ece2 100%);
  font-family: var(--sans);
  line-height: 1.75;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  text-decoration: underline;
  text-decoration-color: rgba(11, 47, 74, 0.55);
  text-underline-offset: 6px;
}

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

.container {
  width: min(100% - 40px, 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);
  border: 0;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--hair);
  border-radius: 10px;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 242, 234, 0.74);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair2);
  transition: background 160ms ease, box-shadow 160ms ease;
}

.site-header[data-elevated="true"] {
  background: rgba(246, 242, 234, 0.88);
  box-shadow: 0 18px 55px rgba(14, 16, 19, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  filter: drop-shadow(0 14px 30px rgba(11, 47, 74, 0.12));
}

.brand-name {
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: rgba(14, 16, 19, 0.78);
}

.site-nav a {
  padding: 10px 10px;
  border-radius: 10px;
}

@media (min-width: 861px) {
  .page-enterprise .site-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    gap: 10px;
    font-size: 12px;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .page-enterprise .site-nav::-webkit-scrollbar {
    display: none;
  }

  .page-enterprise .site-nav a {
    flex: 0 0 auto;
    padding: 9px 8px;
  }
}

.site-nav a:focus-visible {
  outline: 2px solid rgba(11, 47, 74, 0.38);
  outline-offset: 2px;
}

.nav-cta {
  background: rgba(11, 47, 74, 0.07);
  border: 1px solid rgba(11, 47, 74, 0.12);
}

.nav-cta:hover {
  text-decoration: none;
  background: rgba(11, 47, 74, 0.10);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--hair);
  color: var(--text);
}

.nav-toggle-bars {
  width: 18px;
  height: 12px;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after,
.nav-toggle-bars {
  display: block;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(14, 16, 19, 0.82);
  border-radius: 99px;
}

.nav-toggle-bars::before {
  top: 0;
}
.nav-toggle-bars::after {
  bottom: 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 120px 0 72px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  filter: saturate(0.94) contrast(1.08);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 18% 12%, rgba(0, 0, 0, 0.22), transparent 55%),
    radial-gradient(900px 520px at 84% 32%, rgba(0, 0, 0, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.62) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  justify-items: stretch;
}

.hero-content {
  width: min(960px, 100%);
  justify-self: start;
}

.hero-plate {
  width: min(980px, 100%);
  justify-self: center;
  text-align: center;
}

.hero-plate-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(14px, 3.8vw, 44px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  text-shadow:
    0 18px 60px rgba(0, 0, 0, 0.45),
    0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero-kicker {
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.hero-headline {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(30px, 4.0vw, 56px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.95);
  text-shadow:
    0 18px 70px rgba(0, 0, 0, 0.52),
    0 2px 16px rgba(0, 0, 0, 0.48);
}

.page-enterprise .hero-headline {
  white-space: nowrap;
  font-size: clamp(16px, 4.8vw, 50px);
}

.hero-sub {
  margin: 0 0 18px;
  max-width: 820px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 12px;
}

.hero-value {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 900px;
}

.hero-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 2px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.hero-more::after {
  content: "→";
  opacity: 0.9;
}

.hero-more:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

.hero .button {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
}

.hero .button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.38);
}

.hero .button.primary {
  background: rgba(255, 255, 255, 0.92);
  color: rgba(14, 16, 19, 0.92);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

.hero .button.primary:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(255, 255, 255, 0.55);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: rgba(255, 255, 255, 0.62);
  color: rgba(14, 16, 19, 0.9);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(14, 16, 19, 0.18);
}

.button.primary {
  background: linear-gradient(180deg, rgba(11, 47, 74, 0.96), rgba(11, 47, 74, 0.92));
  border-color: rgba(11, 47, 74, 0.22);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 55px rgba(11, 47, 74, 0.18);
}

.button.primary:hover {
  background: linear-gradient(180deg, rgba(11, 47, 74, 0.99), rgba(11, 47, 74, 0.94));
}

.button.ghost {
  background: transparent;
}


.section {
  padding: 74px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.42);
  border-top: 1px solid var(--hair2);
  border-bottom: 1px solid var(--hair2);
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.grid.two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.rep-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
  align-items: start;
}

.rep-detail-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--hair2);
  background: rgba(255, 255, 255, 0.72);
}

.rep-detail-body {
  display: grid;
  gap: 14px;
}

.panel {
  padding: 22px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--hair2);
  background: rgba(255, 255, 255, 0.68);
}

.panel h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 16px;
}

.panel p {
  margin: 0 0 10px;
  color: rgba(14, 16, 19, 0.80);
}

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

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

.list {
  margin: 0;
  padding-left: 18px;
  color: rgba(14, 16, 19, 0.80);
}

.list li {
  margin: 6px 0;
}

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

.card {
  padding: 22px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--hair2);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 55px rgba(14, 16, 19, 0.08);
  display: grid;
  gap: 12px;
}

.card-top {
  display: grid;
  gap: 6px;
}

.card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.35;
}

.card-sub {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.card-link {
  justify-self: start;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: rgba(11, 47, 74, 0.92);
}

.card-link:hover {
  text-decoration: none;
  opacity: 0.95;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.button.small {
  padding: 9px 14px;
  font-size: 12px;
}

.button.ghost.small {
  background: rgba(11, 47, 74, 0.06);
  border-color: rgba(11, 47, 74, 0.12);
  color: rgba(11, 47, 74, 0.92);
}

.button.ghost.small:hover {
  background: rgba(11, 47, 74, 0.10);
}

.panel-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.template {
  margin: 0;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--hair2);
  background: rgba(255, 255, 255, 0.72);
  overflow: auto;
  color: rgba(14, 16, 19, 0.84);
  font-size: 12px;
  line-height: 1.65;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    "Courier New",
    monospace;
}

.cta {
  padding: 54px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(11, 47, 74, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.62));
  box-shadow: var(--shadow);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.site-footer {
  padding: 26px 0 40px;
  border-top: 1px solid var(--hair2);
  background: rgba(255, 255, 255, 0.38);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-brand {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(14, 16, 19, 0.84);
}

.js .reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 960px) {
  .hero {
    padding: 108px 0 48px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .grid.two {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-actions {
    justify-content: flex-start;
  }

  .rep-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero-plate-title {
    white-space: normal;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 12px 12px;
    background: rgba(246, 242, 234, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hair2);
  }

  .site-nav a {
    padding: 12px 12px;
    border-radius: 12px;
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .nav-cta {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
