:root {
  --bg: #f5f1ea;
  --bg-strong: #ffffff;
  --surface: rgba(255, 255, 255, 0.8);
  --line: rgba(10, 37, 64, 0.12);
  --text: #10233b;
  --muted: #5e6f80;
  --accent: #0a2540;
  --accent-soft: #dbe6f2;
  --shadow: 0 24px 60px rgba(16, 35, 59, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#top,
#about,
#service,
#company {
  scroll-margin-top: 128px;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(10, 37, 64, 0.08), transparent 32%),
    linear-gradient(180deg, #fbf8f3 0%, var(--bg) 100%);
}

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

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

.page-shell {
  min-height: 100vh;
  padding: 24px;
}

.site-header,
main,
.site-footer {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 30px rgba(16, 35, 59, 0.06);
}

.brand {
  width: clamp(160px, 22vw, 210px);
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

main {
  padding-top: 36px;
}

.section {
  padding: 72px 0;
}

.hero {
  display: block;
  align-items: stretch;
  min-height: calc(100vh - 170px);
}

.hero-copy,
.service-card,
.company-grid {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 6vw, 72px);
  border-radius: var(--radius-lg);
}

.eyebrow,
.service-index,
dt {
  margin: 0 0 12px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3,
p,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero-line {
  display: inline-block;
}

.heading-line {
  display: inline-block;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.64rem);
  font-weight: 700;
}

h3 {
  font-size: 1.75rem;
}

.lead,
.section-body p,
.service-text,
dd,
.hero-panel p {
  font-size: 1.05rem;
  line-height: 1.9;
}

.lead {
  margin-top: 24px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.service-logo {
  display: inline-flex;
  align-items: center;
}

.service-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.service-logo-card {
  width: clamp(120px, 17.6vw, 168px);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.section-body {
  display: grid;
  gap: 18px;
}

.service-section,
.company-section {
  border-top: 1px solid var(--line);
}

.service-card {
  margin-top: 28px;
  padding: 32px;
  border-radius: var(--radius-md);
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
  padding: 32px;
  border-radius: var(--radius-md);
}

dt {
  margin-bottom: 8px;
}

dd {
  color: var(--text);
}

.site-footer {
  padding: 28px 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

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

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

@media (max-width: 900px) {
  .two-column,
  .company-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 16px;
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 28px;
    padding: 18px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .section {
    padding: 48px 0;
  }

  .hero-copy,
  .hero-panel,
  .service-card,
  .company-grid {
    padding: 24px;
  }

  h1 {
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .lead,
  .section-body p,
  .service-text,
  dd,
  .hero-panel p {
    font-size: 1rem;
    line-height: 1.8;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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