:root {
  --ink: #171310;
  --muted: #6a625b;
  --accent: #a3382f;
  --line: rgba(23, 19, 16, 0.12);
  --line-strong: rgba(23, 19, 16, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero-banner-full {
  width: 100%;
  max-width: none;
  margin: 16px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 0;
  border-right: 0;
  background: #ffffff;
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 16px auto 0;
}

.site-shell:last-of-type {
  margin-bottom: 56px;
}

.topbar,
.navbar,
.section,
.hero-banner,
.hero-panel,
.service-card,
.strength-card,
.process-card,
.contact-card,
.contact-note,
.metric-strip article,
.hero-visual {
  border: 1px solid var(--line);
  background: #ffffff;
}

.navbar {
  border: 0;
}

.topbar,
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
}

.topbar {
  color: var(--muted);
  font-size: 13px;
}

.topbar a {
  color: var(--accent);
  font-weight: 700;
}

.navbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  margin-top: 16px;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-kana,
.eyebrow,
.tag,
.panel-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-name,
.hero h1,
.section-heading h2,
.service-copy h3,
.contact-card h3,
.strength-card strong,
.process-card h3 {
  font-family: "Noto Serif JP", serif;
  word-break: keep-all;
}

.brand-name {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.navbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.button-dark {
  background: var(--ink);
  color: #ffffff;
}

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

.button-ghost {
  border-color: var(--line-strong);
}

.hero-banner {
  margin: 0;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  min-height: 420px;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.hero-banner-full img {
  width: 100%;
  max-width: 100%;
}

.hero {
  display: block;
  align-items: start;
  padding: 24px 0 24px;
}

.hero-copy {
  min-width: 0;
  max-width: 1080px;
}

.hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(30px, 3.7vw, 46px);
  line-height: 1.24;
  letter-spacing: -0.02em;
  word-break: normal;
  overflow-wrap: anywhere;
}

.hero-text,
.section-heading p,
.service-copy p,
.strength-card p,
.process-card p,
.contact-card li,
.contact-note p,
.hero-panel-grid strong {
  color: var(--muted);
}

.hero-text {
  max-width: 820px;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.metric-strip article {
  padding: 16px;
}

.metric-strip strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  line-height: 1;
}

.metric-strip span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  margin-top: 22px;
  padding: 30px;
}

.intro-showcase {
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.intro-showcase img {
  width: 100%;
  height: auto;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.section-heading p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.8;
}

.services-grid,
.strength-grid,
.workflow-grid,
.contact-surface {
  display: grid;
  gap: 16px;
}

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

.service-card {
  display: grid;
  grid-template-columns: minmax(520px, 1.3fr) minmax(0, 0.7fr);
}

.service-image {
  margin: 0;
}

.service-image img {
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.service-copy {
  padding: 26px 24px;
}

.service-copy h3 {
  margin: 10px 0 10px;
  font-size: 22px;
  line-height: 1.3;
}

.service-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.highlight-section .section-heading {
  max-width: 640px;
}

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

.strength-card,
.process-card,
.contact-card,
.contact-note {
  padding: 22px;
}

.strength-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.3;
}

.strength-card p,
.process-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

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

.process-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.process-card h3,
.contact-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
}

.contact-surface {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
}

.contact-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.contact-note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.contact-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .site-shell {
    width: min(100% - 24px, 100%);
  }

  .hero,
  .strength-grid,
  .workflow-grid,
  .contact-surface,
  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    grid-template-columns: minmax(360px, 1.08fr) minmax(0, 0.92fr);
  }

  .hero h1 {
    font-size: clamp(28px, 4.6vw, 40px);
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 16px, 100%);
    margin: 12px auto 0;
  }

  .site-shell:last-of-type {
    margin-bottom: 40px;
  }

  .topbar,
  .navbar,
  .section {
    padding: 18px;
  }

  .topbar,
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    width: 100%;
  }

  .navbar .button {
    width: 100%;
  }

  .hero,
  .services-grid,
  .strength-grid,
  .workflow-grid,
  .contact-surface,
  .metric-strip,
  .service-card {
    grid-template-columns: 1fr;
  }

  .service-image img {
    min-height: 240px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-banner img {
    min-height: 360px;
  }

  .hero h1 {
    max-width: none;
    font-size: 30px;
  }

  .hero-text {
    font-size: 15px;
  }

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

  .section-heading h2 {
    font-size: 26px;
  }

  .service-copy h3,
  .process-card h3,
  .contact-card h3 {
    font-size: 20px;
  }
}
