:root {
  --ink: #0a2033;
  --navy: #0d2b45;
  --navy-deep: #071b2c;
  --blue: #3f769e;
  --paper: #f4f2ed;
  --white: #fff;
  --orange: #ed7d18;
  --orange-ink: #b84f00;
  --slate: #536473;
  --muted: #657581;
  --line: rgba(13, 43, 69, 0.14);
  --line-strong: rgba(13, 43, 69, 0.26);
  --shadow-soft: 0 14px 38px rgba(7, 27, 44, 0.07);
  --font-xs: 0.75rem;
  --font-sm: 0.875rem;
  --font-body: 1rem;
  --font-lead: clamp(1.0625rem, 1.4vw, 1.125rem);
  --font-card-title: clamp(1.375rem, 2.2vw, 1.75rem);
  --font-subheading: clamp(1.75rem, 3vw, 2.25rem);
  --font-section: clamp(2.25rem, 3.75vw, 3.375rem);
  --font-page: clamp(2.75rem, 5vw, 4.5rem);
  --leading-body: 1.85;
  --leading-card: 1.38;
  --leading-heading: 1.18;
  --leading-page: 1.14;
  --card-pad-y: clamp(1.25rem, 2vw, 1.65rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Lato", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    system-ui, sans-serif;
  line-break: strict;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

.container {
  width: min(1200px, calc(100% - 3rem));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(4.75rem, 8.5vw, 8rem);
}

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 5rem;
  padding: 0.8rem clamp(1rem, 4vw, 2rem);
  color: white;
  background: var(--navy-deep);
}

.brand img,
.site-footer img {
  width: 12rem;
  height: auto;
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem 1.1rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: var(--font-sm);
  font-weight: 900;
}

.site-header nav a.is-active,
.site-header nav a:hover {
  color: white;
}

.header-cta,
.button-primary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  font-size: var(--font-sm);
  font-weight: 900;
  line-height: 1;
}

.button-primary {
  border-color: var(--orange);
  color: white;
  background: var(--orange);
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  color: white;
  background: var(--navy-deep);
}

.site-footer p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.article-hero,
.whitepaper-detail {
  padding-block: calc(5rem + 3rem) 4rem;
  color: white;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 4rem 4rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--font-sm);
}

.breadcrumbs a:hover {
  color: white;
}

.article-title {
  max-width: 58rem;
  padding-top: 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.15rem;
  color: var(--orange);
  font-size: calc(var(--font-xs) * 1.44);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2rem;
  height: 1px;
  content: "";
  background: currentColor;
}

h1 {
  margin: 0;
  font-size: var(--font-page);
  line-height: var(--leading-page);
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.article-title > p:not(.eyebrow),
.summary {
  max-width: 44rem;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--font-lead);
  line-height: var(--leading-body);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: var(--font-xs);
}

.hero-image {
  width: 100%;
  max-height: 34rem;
  margin-top: 2.4rem;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.article-toc {
  position: sticky;
  top: 7rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
}

.article-toc > p {
  margin: 0 0 1rem;
  color: var(--orange-ink);
  font-size: var(--font-xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-toc ol {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc li {
  color: var(--slate);
  font-size: var(--font-sm);
  line-height: 1.55;
}

.article-toc li.is-child {
  padding-left: 1rem;
}

.prose {
  min-width: 0;
  max-width: 48rem;
  color: var(--slate);
  font-size: var(--font-body);
  line-height: 1.86;
}

.prose > *:first-child {
  margin-top: 0;
}

.prose h2 {
  scroll-margin-top: 7rem;
  margin: 4rem 0 1.25rem;
  color: var(--navy);
  font-size: var(--font-subheading);
  line-height: var(--leading-heading);
  letter-spacing: -0.018em;
}

.prose h3 {
  scroll-margin-top: 7rem;
  margin: 2.5rem 0 0.9rem;
  color: var(--navy);
  font-size: var(--font-card-title);
  line-height: var(--leading-card);
}

.prose p,
.prose ul,
.prose ol {
  margin-block: 1.15rem;
}

.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.prose blockquote {
  margin: 2.5rem 0;
  border-left: 3px solid var(--orange);
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--navy);
  font-size: var(--font-lead);
}

.prose img {
  width: 100%;
  margin: 2.5rem 0;
}

.related-title,
.form-grid h2 {
  margin: 0 0 2.2rem;
  font-size: var(--font-section);
  line-height: var(--leading-heading);
  letter-spacing: -0.018em;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.content-card,
.whitepaper-card {
  position: relative;
  transition: background 260ms ease;
}

.content-card::before,
.whitepaper-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  content: "";
  background: var(--line-strong);
  transition: background 220ms ease;
}

.content-card:hover,
.whitepaper-card:hover {
  background: rgba(255, 255, 255, 0.48);
}

.content-card > a {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 100%;
  padding-block: var(--card-pad-y) calc(var(--card-pad-y) + 0.15rem);
}

.content-image {
  display: grid;
  aspect-ratio: 12 / 7;
  overflow: hidden;
  place-items: center;
  margin-bottom: 1.1rem;
  background: var(--navy);
}

.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-image > span {
  color: rgba(255, 255, 255, 0.15);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.content-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: calc(var(--font-xs) * 1.44);
  font-weight: 900;
}

.content-meta span,
.whitepaper-card .label {
  color: var(--orange-ink);
}

.content-card h2,
.whitepaper-card h2 {
  margin: 1.45rem 0 0.72rem;
  font-size: var(--font-card-title);
  line-height: var(--leading-card);
}

.content-card p,
.whitepaper-card p {
  margin: 0 0 1.45rem;
  color: var(--slate);
  font-size: var(--font-body);
  line-height: var(--leading-body);
}

.content-card strong,
.whitepaper-card strong {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  width: 100%;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: calc(var(--font-xs) * 1.44);
  font-weight: 900;
}

.content-card strong span,
.whitepaper-card strong span {
  color: var(--orange-ink);
}

.detail-grid,
.form-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(2.25rem, 5.5vw, 5rem);
  align-items: center;
  margin-top: 3rem;
}

.cover {
  display: grid;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  place-items: center;
  background: var(--navy-deep);
  box-shadow: var(--shadow-soft);
}

.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover span {
  color: rgba(255, 255, 255, 0.18);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.9;
}

.audience {
  max-width: 40rem;
  margin-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 1.2rem;
}

.audience span {
  color: var(--orange);
  font-size: var(--font-xs);
  font-weight: 900;
}

.audience p {
  margin: 0.7rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: var(--leading-body);
}

.form-grid {
  grid-template-columns: 0.65fr 1.35fr;
  align-items: start;
  margin-top: 0;
}

.form-grid > div:first-child > p:last-child {
  color: var(--slate);
  line-height: 1.8;
}

.form-surface {
  padding: clamp(1.35rem, 3.2vw, 2.4rem);
  background: var(--paper);
}

.whitepaper-form {
  display: grid;
  gap: 1.3rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

label {
  display: grid;
  gap: 0.5rem;
}

label > span {
  color: var(--navy);
  font-size: var(--font-sm);
  font-weight: 900;
}

b {
  color: var(--orange-ink);
  font-size: var(--font-xs);
}

input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0.35rem;
  padding: 0.9rem 1rem;
  background: white;
  font-size: var(--font-body);
}

.privacy-check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.privacy-check input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
}

.privacy-check a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.whitepaper-form .button-primary {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: var(--font-sm);
  line-height: 1.7;
}

.form-error {
  margin: 0;
  border-left: 3px solid #b53030;
  padding: 0.8rem 1rem;
  color: #8b2020;
  background: rgba(181, 48, 48, 0.06);
}

.simple-page {
  min-height: 70svh;
  padding: calc(5rem + 4rem) clamp(1.5rem, 7vw, 5rem) 5rem;
  background: var(--white);
}

.simple-page h1 {
  max-width: 42rem;
}

.simple-page p:not(.eyebrow) {
  max-width: 36rem;
  color: var(--slate);
  line-height: var(--leading-body);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .site-header nav,
  .site-footer {
    justify-content: flex-start;
  }

  .header-cta {
    width: fit-content;
  }
}

@media (max-width: 800px) {
  .article-layout,
  .detail-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: static;
  }

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

  .cover {
    max-width: 20rem;
  }
}

@media (max-width: 620px) {
  .field-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 2rem, 1200px);
  }

  .site-header,
  .site-footer {
    padding-inline: 1rem;
  }

  .site-footer {
    flex-direction: column;
  }

  .brand img,
  .site-footer img {
    width: 10.5rem;
  }

  .article-hero,
  .whitepaper-detail {
    padding-block: calc(5rem + 2rem) 3rem;
  }

  h1 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .hero-image {
    margin-top: 1.6rem;
  }

  .prose h2 {
    margin-top: 2.8rem;
  }

  .cover {
    max-width: 13rem;
  }
}
