:root {
  --black: #040000;
  --subblack: #b4adc2;
  --gray: #e9e7ec;
  --lightgray: #f8f8fa;
  --pink: #c0607e;
  --wine: #6d2764;
  --navy: #696cdb;
  --lightnavy: #8e91ff;
  --white: #fff;
  --line: rgba(4, 0, 0, 0.09);
  --shadow: 0 18px 48px rgba(105, 108, 219, 0.12);
  --max: 1000px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic", Verdana, Meiryo, sans-serif;
  font-size: 1.6rem;
  line-height: 1.7;
  max-width: 100%;
  overflow-x: clip;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.94));
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(4, 0, 0, 0.06);
  backdrop-filter: blur(12px);
}

.brand img {
  width: 220px;
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-weight: 700;
  font-size: 1.4rem;
}

.nav a {
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--pink);
}

.floating-contact {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 11;
  display: grid;
  place-items: center;
  height: 48px;
  padding: 0 2.4em;
  border-radius: 24px;
  background: var(--navy);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(105, 108, 219, 0.24);
  transition: background 0.2s ease, transform 0.2s ease;
}

.floating-contact:hover,
.base-button:hover {
  background: var(--lightnavy);
}

.floating-contact:hover,
.base-button:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  gap: 48px;
  align-items: center;
  min-height: 760px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 140px 8% 92px;
  overflow: hidden;
}

.hero::after {
  content: "ANALYTICS";
  position: absolute;
  left: 40px;
  bottom: 0;
  z-index: -1;
  color: var(--lightgray);
  font-family: Lato, sans-serif;
  font-size: 11vw;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1;
}

.section-label {
  margin: 0 0 14px;
  color: var(--pink);
  font-family: Lato, sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.42;
}

h1 {
  font-size: clamp(3.8rem, 3.6vw, 4.8rem);
  letter-spacing: 0;
  line-height: 1.18;
}

h2 {
  font-size: clamp(2.8rem, 3.6vw, 4.8rem);
}

h3 {
  font-size: 2.1rem;
}

.hero-lead {
  max-width: 560px;
  margin: 32px 0 0;
  font-size: 1.6rem;
  line-height: 2.3;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 36px;
}

.base-button {
  display: inline-grid;
  place-items: center;
  min-height: 48px;
  padding: 0 2.5em;
  border: 0;
  border-radius: 24px;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: Lato, sans-serif;
  font-weight: 900;
  letter-spacing: 0.08em;
  transition: color 0.15s ease, transform 0.2s ease;
}

.text-link span {
  width: 0;
  height: 0;
  border-left: 15px solid currentColor;
  border-top: 10px solid transparent;
}

.text-link:hover {
  color: var(--pink);
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.visual-card {
  position: absolute;
  background: var(--white);
  border: 6px solid var(--lightgray);
  box-shadow: var(--shadow);
}

.chart-card {
  top: 28px;
  right: 0;
  width: min(500px, 100%);
  padding: 34px;
}

.chart-card p {
  margin: 0 0 28px;
  color: var(--subblack);
  font-family: Lato, sans-serif;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: end;
  height: 210px;
  border-bottom: 2px solid var(--gray);
}

.bar-chart span {
  display: block;
  height: var(--h);
  background: linear-gradient(180deg, var(--navy), var(--lightnavy));
  border-radius: 4px 4px 0 0;
}

.profile-card {
  left: 0;
  bottom: 24px;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 16px;
  align-items: center;
  width: 300px;
  padding: 22px;
}

.profile-card img {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-card strong {
  display: block;
  font-size: 2.1rem;
  line-height: 1.3;
}

.profile-card span {
  display: block;
  margin-top: 8px;
  color: #514b56;
  font-size: 1.3rem;
  line-height: 1.6;
}

.role {
  margin: 0 0 6px;
  color: var(--subblack);
  font-family: Lato, sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.process-card {
  right: 0;
  bottom: 10px;
  display: grid;
  gap: 8px;
  width: 180px;
  padding: 18px;
}

.process-card span {
  display: block;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--lightgray);
  color: #514b56;
  font-size: 1.3rem;
  font-weight: 700;
}

.section-inner {
  width: min(var(--max), 84%);
  margin: 0 auto;
  padding: 96px 0;
}

.first-view-note,
.light-section {
  background: var(--lightgray);
}

.note-grid,
.split,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.note-grid p:last-child,
.support-panel p,
.contact-grid p {
  margin: 0;
  line-height: 2.1;
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.proof-section {
  background: var(--white);
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.evidence-card {
  display: grid;
  align-content: start;
  gap: 24px;
  min-height: 100%;
  padding: 34px;
  border: 6px solid var(--lightgray);
  background: var(--white);
}

.case-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  color: var(--subblack);
  font-family: Lato, sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.case-kicker span {
  color: var(--pink);
}

.case-kicker p {
  margin: 0;
}

.case-points {
  display: grid;
  gap: 18px;
  margin: 0;
}

.case-points div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--gray);
}

.case-points dt {
  color: var(--pink);
  font-weight: 700;
}

.case-points dd {
  margin: 0;
  color: #514b56;
  line-height: 1.9;
}

.evidence-card > a {
  width: fit-content;
  margin-top: 4px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

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

.proof-notes article {
  padding: 26px;
  background: var(--lightgray);
}

.proof-notes strong {
  display: block;
  color: var(--pink);
  font-family: Lato, sans-serif;
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1;
}

.proof-notes p {
  margin: 16px 0 0;
  color: #514b56;
  font-size: 1.4rem;
  line-height: 1.8;
}

.source-note {
  margin: 24px 0 0;
  color: #6b6470;
  font-size: 1.2rem;
  line-height: 1.8;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.reason-grid article {
  padding: 30px;
  border-left: 4px solid var(--pink);
  background: var(--white);
}

.reason-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--subblack);
  font-family: Lato, sans-serif;
  font-weight: 900;
}

.reason-grid p {
  margin: 18px 0 0;
  color: #514b56;
  line-height: 1.9;
}

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

.service-list article {
  padding: 34px 30px 36px;
  border: 6px solid var(--lightgray);
  background: var(--white);
}

.number {
  margin: 0 0 42px;
  color: var(--pink);
  font-family: Lato, sans-serif;
  font-weight: 900;
}

.service-list p:last-child {
  margin: 20px 0 0;
  color: #514b56;
  line-height: 1.9;
}

.support-panel {
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--gray);
}

.support-panel ul {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.support-panel li {
  position: relative;
  padding-left: 1.4em;
  line-height: 1.7;
}

.support-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 8px;
  background: var(--pink);
  border-radius: 50%;
}

.member-block {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 820px;
}

.member-photo img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
}

.position {
  margin: 8px 0 24px;
  color: var(--subblack);
  font-family: Lato, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.member-text > p:last-child {
  margin: 0;
  line-height: 1.9;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  padding: 28px 22px;
  background: var(--white);
}

.flow-list span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  font-family: Lato, sans-serif;
  font-weight: 900;
}

.flow-list p {
  margin: 12px 0 0;
  color: #514b56;
  font-size: 1.4rem;
  line-height: 1.8;
}

.contact-section {
  background: var(--white);
}

.contact-form {
  display: grid;
  gap: 26px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form strong {
  font-size: 1.3rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-radius: 4px;
  background: var(--gray);
  padding: 12px 16px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 180px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 4px 2px var(--pink);
}

.submit-button {
  width: 100%;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 48px;
  background: var(--lightgray);
}

.footer img {
  width: 220px;
}

.footer div {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #514b56;
  font-size: 1.2rem;
}

.footer p {
  margin: 0;
  font-family: Lato, sans-serif;
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    padding: 28px 24px 36px;
  }

  .brand img {
    width: 172px;
  }

  .nav {
    display: none;
  }

  .floating-contact {
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }

  .floating-contact::before {
    content: "";
    width: 24px;
    height: 24px;
    background: url("/assets/official/lean-nishikata-color.svg") center / contain no-repeat;
    filter: brightness(0) invert(1);
  }

  .hero {
    display: block;
    width: auto;
    max-width: 100%;
    min-height: 0;
    margin: 0;
    padding: 112px 28px 64px;
  }

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

  .hero::after {
    font-size: 17vw;
    left: 28px;
  }

  h1 {
    max-width: 100%;
    font-size: 2.8rem;
  }

  h2 {
    max-width: 100%;
    font-size: 2.25rem;
  }

  h3 {
    font-size: 1.8rem;
  }

  .hero-lead {
    max-width: 100%;
    line-height: 2;
  }

  .hero-actions {
    display: grid;
    gap: 16px;
  }

  .base-button {
    min-height: 42px;
    border-radius: 21px;
  }

  .hero-visual {
    display: grid;
    gap: 18px;
    min-height: 0;
    margin-top: 48px;
    overflow: hidden;
  }

  .visual-card {
    position: relative;
    max-width: 100%;
  }

  .chart-card {
    top: auto;
    left: 0;
    right: auto;
    width: 100%;
    max-width: 100%;
    padding: 24px;
  }

  .bar-chart {
    gap: 10px;
    height: 170px;
  }

  .profile-card {
    left: auto;
    bottom: auto;
    grid-template-columns: 88px 1fr;
    width: 100%;
    max-width: 100%;
  }

  .profile-card img {
    width: 88px;
    height: 88px;
  }

  .process-card {
    display: none;
  }

  .section-inner {
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    padding: 64px 0;
    margin-left: 28px;
    margin-right: 28px;
  }

  .note-grid,
  .split,
  .contact-grid,
  .member-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .evidence-grid,
  .proof-notes,
  .reason-grid,
  .service-list,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .evidence-card {
    padding: 28px 24px;
  }

  .case-points div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .proof-notes article,
  .reason-grid article {
    padding: 24px;
  }

  .service-list article {
    padding: 28px 24px;
  }

  .number {
    margin-bottom: 24px;
  }

  .member-photo img {
    width: 112px;
    height: 112px;
  }

  .footer {
    display: block;
    padding: 36px 30px;
  }

  .footer img {
    width: 172px;
  }

  .footer div {
    display: block;
    margin-top: 28px;
  }

  .footer p {
    margin-top: 20px;
  }
}
