:root {
  --bg: #0f1722;
  --bg-soft: #151f2c;
  --paper: #f4efe6;
  --paper-2: #e7e0d4;
  --ink: #111317;
  --sub: #5f635f;
  --line: rgba(17, 19, 23, 0.12);
  --gold: #b9935a;
  --gold-soft: #dbc39b;
  --white: #ffffff;
  --container: min(1180px, calc(100vw - 32px));
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
}

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

h1,
h2,
p,
ul,
dl {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.demo-banner {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #f8f0e3;
  border-bottom: 1px solid rgba(17, 19, 23, 0.12);
  color: #5f4a2e;
  padding: 12px 16px;
  font-size: 0.92rem;
}

.demo-banner p + p {
  margin-top: 4px;
}

.site-header {
  position: sticky;
  top: 72px;
  z-index: 20;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17, 19, 23, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(17, 19, 23, 0.25);
  background:
    linear-gradient(135deg, rgba(185, 147, 90, 0.8), rgba(185, 147, 90, 0)),
    var(--bg);
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.94rem;
  color: var(--sub);
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(185, 147, 90, 0.24), transparent 30%),
    linear-gradient(135deg, #0d141e, #182332 58%, #202b39 100%);
  color: var(--white);
  padding: 56px 0 28px;
}

.hero-grid,
.split-grid,
.contact-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: stretch;
}

.hero-kicker,
.section-label,
.stage-tag,
.featured-tag {
  display: inline-block;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hero-kicker {
  color: var(--gold-soft);
}

.hero h1,
.section-heading h2,
.featured-work h2 {
  font-family: "Manrope", sans-serif;
  line-height: 1.12;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  max-width: 11ch;
}

.hero-subcopy {
  margin-top: 20px;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-weight: 700;
}

.button-primary {
  background: var(--gold);
  color: var(--bg);
}

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

.hero-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.hero-points li,
.stage-panel,
.assurance-list li,
.reason-grid article,
.service-grid article,
.featured-work,
.works-list article,
.recruit-list li,
.info-table,
.contact-list {
  border: 1px solid var(--line);
}

.hero-points li {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.88);
}

.hero-stage {
  display: grid;
  gap: 18px;
  align-content: end;
}

.media-wall {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  min-height: 280px;
}

.media-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(160deg, rgba(185, 147, 90, 0.28), rgba(185, 147, 90, 0.02)),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
}

.media-card-primary {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  background:
    radial-gradient(circle at top right, rgba(185, 147, 90, 0.35), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0)),
    linear-gradient(180deg, rgba(12,18,26,0.12), rgba(12,18,26,0.42));
}

.media-card-primary strong {
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  color: var(--white);
}

.media-label {
  display: inline-block;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.66);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-card-detail,
.media-card-detail-alt {
  min-height: 134px;
}

.media-card-detail {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0)),
    linear-gradient(180deg, rgba(185,147,90,0.22), rgba(185,147,90,0));
}

.media-card-detail-alt {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0)),
    linear-gradient(180deg, rgba(76,95,117,0.4), rgba(76,95,117,0.04));
}

.stage-panel {
  background:
    linear-gradient(180deg, rgba(185, 147, 90, 0.08), rgba(185, 147, 90, 0)),
    rgba(255, 255, 255, 0.04);
  padding: 24px;
  box-shadow: var(--shadow);
}

.stage-panel strong {
  display: block;
  margin-top: 14px;
  font-family: "Manrope", sans-serif;
  font-size: 1.4rem;
}

.stage-panel p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.74);
}

.stage-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.visual-notes {
  display: grid;
  gap: 10px;
}

.visual-notes li {
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.82);
}

.stats-bar {
  background: var(--bg);
  padding: 0 0 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.stats-grid article {
  padding: 24px 20px;
  background: var(--bg-soft);
  color: var(--white);
}

.stats-value {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
}

.stats-label {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.64);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
}

.section {
  padding: 88px 0;
}

.section-muted {
  background: var(--paper-2);
}

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

.split-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  max-width: 13ch;
}

.section-heading p:last-child {
  margin-top: 18px;
  color: inherit;
  opacity: 0.78;
}

.section-label {
  color: var(--gold);
}

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

.assurance-list li {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.05);
}

.reason-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.reason-grid article,
.service-grid article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.58);
}

.service-grid article {
  background: rgba(255, 255, 255, 0.74);
}

.reason-grid h3,
.service-grid h3,
.works-list h3 {
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
}

.reason-grid p,
.service-grid p,
.works-list p,
.recruit-list li,
.contact-list li,
.info-table dd {
  margin-top: 10px;
  color: var(--sub);
}

.works-section {
  background:
    linear-gradient(180deg, rgba(185, 147, 90, 0.07), rgba(185, 147, 90, 0)),
    var(--paper);
}

.works-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
}

.featured-work,
.works-list article,
.recruit-list li,
.info-table,
.contact-list {
  background: rgba(255, 255, 255, 0.76);
}

.featured-work {
  padding: 32px;
  min-height: 100%;
}

.featured-work h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.featured-work p {
  margin-top: 16px;
  color: var(--sub);
}

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

.works-list article {
  padding: 20px;
}

.work-number {
  display: inline-block;
  font-family: "Manrope", sans-serif;
  color: var(--gold);
  font-weight: 800;
}

.recruit-block {
  align-items: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.process-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
}

.process-step {
  display: inline-block;
  font-family: "Manrope", sans-serif;
  color: var(--gold);
  font-weight: 800;
}

.process-grid h3 {
  margin-top: 12px;
  font-family: "Manrope", sans-serif;
  font-size: 1.16rem;
}

.process-grid p {
  margin-top: 10px;
  color: var(--sub);
}

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

.recruit-list li {
  padding: 18px 20px;
}

.info-table {
  display: grid;
  grid-template-columns: minmax(110px, 160px) 1fr;
  padding: 14px 22px;
}

.info-table div {
  display: contents;
}

.info-table dt,
.info-table dd {
  padding: 14px 0;
  border-bottom: 1px solid rgba(17, 19, 23, 0.1);
}

.info-table dt {
  font-weight: 700;
}

.info-table dd {
  margin: 0;
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 0;
}

.contact-list li {
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.82);
}

.section-dark .contact-list {
  background: rgba(255, 255, 255, 0.05);
}

.section-dark .contact-list li {
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer {
  background: #0b1118;
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  min-height: 74px;
}

@media (max-width: 920px) {
  .hero-grid,
  .split-grid,
  .works-hero,
  .contact-grid,
  .reason-grid,
  .service-grid,
  .stats-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .stage-stack {
    grid-template-columns: 1fr;
  }

  .media-wall {
    grid-template-columns: 1fr;
  }

  .site-header {
    top: 88px;
  }
}

@media (max-width: 768px) {
  .site-header {
    position: static;
  }

  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 14px 0;
  }

  .section {
    padding: 56px 0;
  }

  .button {
    width: 100%;
  }

  .info-table {
    grid-template-columns: 1fr;
  }

  .info-table dt {
    border-bottom: 0;
    padding-bottom: 4px;
  }

  .info-table dd {
    padding-top: 0;
  }
}
