:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-muted: #f8fafc;
  --ink: #0f172a;
  --ink-soft: #475569;
  --line: #dbe3ee;
  --line-strong: #c7d2e3;
  --primary: #1d4ed8;
  --primary-deep: #1e3a8a;
  --primary-soft: #eff6ff;
  --success-soft: #ecfdf5;
  --warning-soft: #fff7ed;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 42px rgba(15, 23, 42, 0.08);
  --shell: min(1180px, calc(100vw - 40px));
  --shell-narrow: min(980px, calc(100vw - 40px));
  --font-body: "Noto Sans JP", sans-serif;
  --font-display: "Noto Sans JP", sans-serif;
  --radius-xl: 24px;
  --radius-l: 18px;
  --radius-m: 14px;
  --radius-s: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  font-family: var(--font-body);
  line-height: 1.75;
}

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

.ambient {
  display: none;
}

.site-header,
.site-footer,
.page-shell,
.page-shell--narrow {
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  max-width: none;
  margin-top: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-radius: 0;
  box-shadow: none;
}

.site-header > .brand,
.site-header > .menu-toggle,
.site-header > .site-nav {
  max-width: var(--shell);
}

.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding-inline: max(20px, calc((100vw - min(1180px, calc(100vw - 40px))) / 2));
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.brand__copy strong,
.brand__copy small {
  display: block;
}

.brand__copy strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.brand__copy small {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-self: end;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 500;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--primary-deep);
  background: var(--primary-soft);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 11px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.page-shell {
  width: var(--shell);
  padding: 40px 0 88px;
}

.page-shell--narrow {
  width: var(--shell-narrow);
}

.hero-lp,
.hero-page,
.card-masthead,
.service-card,
.issue-card,
.reason-card,
.flow-step,
.faq-item,
.project-card,
.entry-card,
.fact-card,
.principle-card,
.contact-card,
.contact-note,
.contact-banner,
.hero-page__aside,
.section--panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.hero-lp {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 28px;
  padding: 44px;
  border-radius: var(--radius-xl);
}

.hero-lp__copy h1,
.hero-page h1,
.card-masthead h1 {
  margin: 0;
  max-width: 11ch;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-lp__copy h1 span,
.hero-page h1 span,
.card-masthead h1 span {
  color: var(--primary);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead,
.hero-lp p,
.hero-page p,
.card-masthead p,
.service-card p,
.issue-card p,
.reason-card p,
.flow-step p,
.faq-item p,
.project-card p,
.entry-card p,
.fact-card p,
.principle-card p,
.contact-card p,
.contact-note p {
  margin: 0;
  color: var(--ink-soft);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.button--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  box-shadow: 0 10px 22px rgba(29, 78, 216, 0.2);
}

.button--secondary {
  background: var(--surface);
  color: var(--primary-deep);
  border: 1px solid var(--line-strong);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-row span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-muted);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 500;
}

.hero-lp__panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 20px;
  background: #0f172a;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.hero-lp__panel-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-lp__visual {
  position: relative;
  min-height: 280px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #f8fafc 0 44px, #e2e8f0 44px 45px, #ffffff 45px 100%);
  overflow: hidden;
}

.hero-lp__visual::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 18px 0 0 #f59e0b, 36px 0 0 #22c55e;
}

.hero-lp__visual::after {
  content: "";
  position: absolute;
  inset: 68px 18px 18px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, #eff6ff 0 32%, transparent 32%),
    linear-gradient(#dbeafe 0 44px, transparent 44px),
    linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid #dbe3ee;
}

.hero-lp__metrics {
  display: grid;
  gap: 12px;
}

.hero-lp__metrics article {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-lp__metrics span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-lp__metrics strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
}

.section {
  padding-top: 56px;
}

.section--panel {
  padding: 34px;
  border-radius: 20px;
  background: var(--surface-muted);
}

.section-header {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section-header--center {
  text-align: center;
}

.section-header h2,
.contact-banner h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.service-grid,
.issue-grid,
.reason-grid,
.featured-grid,
.flow-grid,
.faq-list,
.principle-grid,
.entry-grid,
.media-grid {
  display: grid;
  gap: 18px;
}

.service-grid,
.issue-grid,
.reason-grid,
.entry-grid,
.principle-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.issue-card,
.reason-card,
.entry-card,
.principle-card {
  padding: 26px;
  border-radius: 16px;
}

.service-card h3,
.issue-card h3,
.reason-card h3,
.project-card h3,
.flow-step h3,
.faq-item h3,
.principle-card h3 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.45;
}

.service-card__index,
.reason-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.featured-grid--full {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  padding: 18px;
  border-radius: 18px;
}

.project-card__visual {
  position: relative;
  height: 220px;
  margin-bottom: 16px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fafc 0 40px, #ffffff 40px 100%);
}

.project-card__visual::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 16px 0 0 #f59e0b, 32px 0 0 #22c55e;
}

.project-card__visual::after {
  content: "";
  position: absolute;
  inset: 56px 14px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(29, 78, 216, 0.1), transparent 46%),
    linear-gradient(90deg, #f8fafc 0 35%, transparent 35%),
    linear-gradient(180deg, #ffffff, #f8fafc);
}

.project-card__meta,
.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-card__meta span {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-card__summary {
  margin-top: 4px;
  color: var(--ink);
  font-weight: 700;
}

.project-card__detail {
  margin-top: 10px;
}

.project-card__footer {
  margin-top: 22px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-page,
.card-masthead {
  padding: 34px;
  border-radius: 20px;
}

.hero-page {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 20px;
  align-items: start;
}

.hero-page__aside {
  padding: 20px;
  border-radius: 16px;
  background: var(--surface-muted);
}

.hero-page__aside p {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-page__aside strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
}

.editorial-block,
.fact-card,
.contact-note,
.contact-banner {
  padding: 30px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.editorial-block h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.fact-card {
  display: grid;
  gap: 18px;
}

.fact-card span,
.contact-card span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact-card strong,
.contact-card strong,
.entry-card strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.card-masthead {
  text-align: left;
}

.entry-card {
  display: block;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 18px;
}

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

.media-card {
  padding: 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.media-card__frame {
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
  border-radius: 14px;
  border: 1px dashed var(--line-strong);
  background: var(--surface-muted);
  overflow: hidden;
}

.media-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.media-placeholder strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
}

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

.contact-card {
  padding: 24px;
  border-radius: 16px;
}

.contact-note {
  background: var(--surface-muted);
}

.bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.bullet-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
}

.bullet-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

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

.flow-step {
  padding: 22px;
  border-radius: 16px;
}

.flow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.faq-list {
  grid-template-columns: 1fr;
}

.faq-item {
  padding: 24px 26px;
  border-radius: 16px;
}

.contact-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.contact-banner--strong {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.contact-banner--strong .eyebrow,
.contact-banner--strong p,
.contact-banner--strong h2 {
  color: inherit;
}

.contact-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--primary-deep);
  font-weight: 700;
}

.text-link::after {
  content: ">";
  font-size: 0.9em;
}

.is-placeholder {
  color: var(--ink-soft);
  cursor: default;
}

.site-footer {
  width: var(--shell);
  margin-bottom: 44px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.site-footer p {
  margin: 0;
  color: var(--ink-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero-lp,
  .hero-page,
  .editorial-split,
  .contact-layout,
  .contact-banner,
  .featured-grid,
  .featured-grid--full,
  .service-grid,
  .issue-grid,
  .reason-grid,
  .entry-grid,
  .principle-grid,
  .flow-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100vw - 24px, 100%);
    --shell-narrow: min(100vw - 24px, 100%);
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-inline: 12px;
    min-height: 70px;
  }

  .menu-toggle {
    display: inline-block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .button {
    width: 100%;
    text-align: center;
  }

  .page-shell {
    padding-top: 28px;
    padding-bottom: 72px;
  }

  .hero-lp,
  .hero-page,
  .card-masthead,
  .service-card,
  .issue-card,
  .reason-card,
  .flow-step,
  .faq-item,
  .project-card,
  .entry-card,
  .fact-card,
  .principle-card,
  .contact-card,
  .contact-note,
  .contact-banner,
  .hero-page__aside,
  .section--panel {
    padding: 22px;
  }

  .hero-lp__copy h1,
  .hero-page h1,
  .card-masthead h1 {
    font-size: clamp(2.1rem, 11vw, 3.5rem);
  }

  .action-row,
  .contact-banner__actions {
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }
}
