:root {
  --paper: #f7f2e7;
  --paper-soft: #fffaf0;
  --ink: #171717;
  --muted: #5f5b52;
  --quiet: #8a8376;
  --line: rgba(23, 23, 23, 0.13);
  --line-strong: rgba(23, 23, 23, 0.24);
  --blue: #155eef;
  --teal: #008b8f;
  --green: #2e7352;
  --clay: #a8543e;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(42, 36, 25, 0.13);
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", system-ui, sans-serif;
  --font-en: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 23, 23, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(21, 94, 239, 0.42);
  outline-offset: 3px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 23, 23, 0.1);
  background: rgba(247, 242, 231, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 122px;
}

.brand img {
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 0.86rem;
  font-weight: 700;
}

.nav-links a,
.header-cta {
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.header-cta {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 700;
}

.header-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero {
  min-height: calc(100vh - 72px);
  padding: 88px 0 68px;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.52fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.3;
}

h1 {
  max-width: 840px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 800;
  line-height: 1.22;
}

h3 {
  font-size: 1.16rem;
  font-weight: 800;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 2;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 12px 28px rgba(23, 23, 23, 0.18);
}

.btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.btn-secondary {
  background: rgba(255, 250, 240, 0.42);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--paper-soft);
}

.btn-wide {
  width: 100%;
  margin-top: 6px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: var(--shadow);
  padding: 26px;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--green), var(--clay));
}

.panel-top {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: center;
  margin: 10px 0 28px;
}

.panel-top img {
  width: 70px;
  height: 70px;
}

.panel-kicker {
  margin-bottom: 4px;
  color: var(--quiet);
  font-family: var(--font-en);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-title {
  margin-bottom: 0;
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.metric-grid div {
  min-height: 172px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px;
}

.metric-grid div:nth-child(2n) {
  border-right: 0;
}

.metric-grid div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.metric-grid span {
  display: block;
  margin-bottom: 32px;
  color: var(--clay);
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 800;
}

.metric-grid strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 800;
}

.metric-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: rgba(23, 23, 23, 0.92);
  color: var(--paper);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-grid div {
  min-height: 118px;
  border-right: 1px solid rgba(247, 242, 231, 0.18);
  padding: 26px 28px;
}

.proof-grid div:last-child {
  border-right: 0;
}

.proof-grid span {
  display: block;
  margin-bottom: 8px;
  color: rgba(247, 242, 231, 0.58);
  font-family: var(--font-en);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-grid strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.7;
}

.section {
  padding: 112px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.58fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 46px;
}

.section-head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -30px;
}

.section-head p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 2;
}

.services {
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.58), rgba(255, 250, 240, 0));
}

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

.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.7);
  padding: 28px;
}

.service-card.featured {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.card-number {
  color: var(--teal);
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 14px;
}

.service-card p:not(.card-number) {
  color: var(--muted);
  font-size: 0.95rem;
}

.service-card.featured p:not(.card-number) {
  color: rgba(247, 242, 231, 0.74);
}

.service-card .service-note {
  border-left: 3px solid var(--teal);
  margin: 18px 0 0;
  padding-left: 12px;
  font-weight: 700;
}

.service-card.featured .service-note {
  border-color: #79d0da;
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 800;
}

.service-card.featured li {
  border-color: rgba(247, 242, 231, 0.18);
  color: var(--paper);
}

.service-meta {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}

.service-card.featured .service-meta {
  border-color: rgba(247, 242, 231, 0.18);
}

.service-meta div {
  display: grid;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}

.service-card.featured .service-meta div {
  border-color: rgba(247, 242, 231, 0.18);
}

.service-meta dt {
  color: var(--quiet);
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card.featured .service-meta dt {
  color: rgba(247, 242, 231, 0.58);
}

.service-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.55;
}

.service-card.featured .service-meta dd {
  color: var(--paper);
}

.fit {
  border-block: 1px solid var(--line);
  background: rgba(23, 23, 23, 0.04);
}

.audience-grid,
.fit-grid,
.about-grid,
.faq-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: 74px;
}

.audience {
  background: rgba(255, 250, 240, 0.42);
}

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

.audience-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.7);
  padding: 22px;
}

.audience-list span {
  display: block;
  margin-bottom: 30px;
  color: var(--clay);
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 800;
}

.audience-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.fit-list article {
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
}

.fit-list p,
.about-copy p,
.faq-list p,
.contact-copy p {
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.62);
}

.timeline li {
  min-height: 280px;
  border-right: 1px solid var(--line);
  padding: 28px;
}

.timeline li:last-child {
  border-right: 0;
}

.timeline span {
  display: block;
  margin-bottom: 42px;
  color: var(--clay);
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 800;
}

.timeline p {
  color: var(--muted);
  font-size: 0.94rem;
}

.about {
  background: var(--ink);
  color: var(--paper);
}

.about .eyebrow {
  color: #79d0da;
}

.about h2 {
  color: var(--paper);
}

.about-copy {
  max-width: 760px;
}

.about-copy p {
  color: rgba(247, 242, 231, 0.76);
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 32px 0 0;
  border: 1px solid rgba(247, 242, 231, 0.18);
  background: rgba(247, 242, 231, 0.18);
}

.cred-grid div {
  min-height: 148px;
  background: var(--ink);
  padding: 20px;
}

.cred-grid strong {
  display: block;
  margin-bottom: 18px;
  color: var(--paper);
  font-size: 1.2rem;
  line-height: 1.3;
}

.cred-grid span {
  display: block;
  color: rgba(247, 242, 231, 0.68);
  font-size: 0.9rem;
  line-height: 1.7;
}

.about-meta {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  border-top: 1px solid rgba(247, 242, 231, 0.18);
}

.about-meta div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  border-bottom: 1px solid rgba(247, 242, 231, 0.18);
  padding: 18px 0;
}

.about-meta dt {
  color: rgba(247, 242, 231, 0.58);
  font-family: var(--font-en);
  font-weight: 800;
}

.about-meta dd {
  margin: 0;
  color: var(--paper);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.68);
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 14px 0 0;
}

.contact {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(21, 94, 239, 0.08), rgba(255, 250, 240, 0.5));
}

.mail-note a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.84);
  box-shadow: var(--shadow);
  padding: 28px;
}

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

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(247, 242, 231, 0.76);
  color: var(--ink);
  padding: 12px 13px;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 500;
  line-height: 1.7;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.form-hp {
  position: absolute;
  left: -9999px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  background: var(--paper);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--quiet);
  font-family: var(--font-en);
  font-size: 0.86rem;
}

.form-result {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 0;
}

.form-result .container {
  max-width: 720px;
}

.form-result .logo img {
  width: 140px;
  margin-bottom: 44px;
}

.form-result h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.form-result p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-grid,
  .section-head,
  .audience-grid,
  .fit-grid,
  .about-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section-head .eyebrow {
    margin-bottom: -16px;
  }

  .audience-list,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .timeline li:nth-child(2) {
    border-right: 0;
  }

  .timeline li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  body {
    background-size: 52px 52px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 64px;
  }

  .brand {
    width: 110px;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    padding: 7px 13px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 42px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-panel,
  .service-card,
  .contact-form {
    padding: 22px;
  }

  .panel-top {
    grid-template-columns: 58px 1fr;
  }

  .panel-top img {
    width: 58px;
    height: 58px;
  }

  .metric-grid,
  .proof-grid,
  .audience-list,
  .service-grid,
  .cred-grid,
  .timeline,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid div,
  .metric-grid div:nth-child(2n),
  .proof-grid div,
  .timeline li,
  .timeline li:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-grid div:last-child,
  .proof-grid div:last-child,
  .timeline li:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 72px 0;
  }

  .about-meta div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
