:root {
  --navy: #071a33;
  --navy-2: #0d2748;
  --ink: #142033;
  --muted: #66758a;
  --line: rgba(40, 72, 107, 0.16);
  --cyan: #36c8df;
  --cyan-soft: #dff8fb;
  --blue: #206df3;
  --gold: #d99a36;
  --paper: #f7f8f4;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(6, 24, 48, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  letter-spacing: 0.02em;
}

a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.pc-only { display: inline; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(7, 26, 51, .72);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff;
  letter-spacing: -0.04em;
  box-shadow: 0 10px 24px rgba(54, 200, 223, .32);
}
.brand-text { font-size: 15px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; font-size: 14px; }
.nav a { padding: 9px 14px; border-radius: 999px; color: rgba(255,255,255,.82); }
.nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-cta { background: rgba(54, 200, 223, .16); border: 1px solid rgba(54, 200, 223, .28); color: #fff !important; }

.section { padding: 112px 0; position: relative; overflow: hidden; }
.section-dark { background: var(--navy); color: #fff; }
.section-soft { background: #edf7f9; }
.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--cyan);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(50px, 6.6vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.065em;
  margin-bottom: 0;
  white-space: nowrap;
  word-break: keep-all;
}
h1 span { color: var(--cyan); letter-spacing: -0.08em; }
h2 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.18;
  letter-spacing: -0.045em;
  margin-bottom: 20px;
}
h3 { font-size: 24px; line-height: 1.35; letter-spacing: -0.025em; }
.lead { font-size: clamp(22px, 2.7vw, 32px); line-height: 1.35; font-weight: 900; margin-bottom: 28px; letter-spacing: -0.035em; }
.hero-description, .section-lead { color: rgba(255,255,255,.74); font-size: 17px; }
.section-soft .section-lead, .concept .copy-block, .why p, .contact p { color: var(--muted); }

.hero { min-height: 100vh; display: grid; align-items: center; padding-top: 150px; padding-bottom: 80px; }
.hero-layout { position: relative; z-index: 2; }
.hero-copy { position: relative; z-index: 2; max-width: 100%; margin-bottom: clamp(76px, 8vh, 108px); }
.hero-copy .eyebrow { margin-bottom: 54px; }
.hero-lower { display: grid; grid-template-columns: minmax(0, 700px) 420px; gap: clamp(64px, 8vw, 120px); align-items: start; }
.hero-message { max-width: 760px; }
.hero-actions, .contact-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 44px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #fff; box-shadow: 0 14px 34px rgba(32, 109, 243, .28); }
.button.secondary { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.06); }
.contact .button.secondary, .section-soft .button.secondary { border-color: var(--line); color: var(--ink); background: #fff; }

.hero-panel {
  position: relative; z-index: 2;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.06));
  box-shadow: 0 30px 80px rgba(0,0,0,.22);
  backdrop-filter: blur(16px);
  margin-top: -8px;
}
.panel-title { font-weight: 900; font-size: 20px; margin-bottom: 16px; }
.d-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  margin-top: 12px;
}
.d-card strong { display: block; color: var(--cyan); font-size: 22px; line-height: 1.2; }
.d-card span { color: rgba(255,255,255,.78); font-size: 14px; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.grid-plane {
  position: absolute; inset: auto -20% -20% -20%; height: 60%;
  background-image: linear-gradient(rgba(54,200,223,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(54,200,223,.13) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(900px) rotateX(62deg);
  opacity: .35;
}
.orb { position: absolute; border-radius: 50%; filter: blur(48px); opacity: .6; }
.orb-a { width: 420px; height: 420px; background: var(--blue); right: 8%; top: 18%; }
.orb-b { width: 340px; height: 340px; background: var(--gold); right: 26%; bottom: 8%; opacity: .36; }
.cube { position: absolute; border: 1px solid rgba(54,200,223,.25); background: rgba(54,200,223,.06); transform: rotate(45deg); }
.cube-1 { width: 140px; height: 140px; right: 12%; top: 28%; }
.cube-2 { width: 84px; height: 84px; right: 36%; bottom: 22%; }

.two-column { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.copy-block p { font-size: 18px; }
.center { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.center .section-lead { color: var(--muted); }

.services-heading {
  max-width: 1380px;
}
.services-heading .section-lead {
  white-space: nowrap;
}
.services-lead-break {
  display: none;
}

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative;
  min-height: 460px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.service-number {
  color: var(--cyan); font-weight: 900; letter-spacing: .16em; font-size: 13px; margin-bottom: 48px;
}
.service-card h3 { min-height: 74px; margin-bottom: 22px; display: flex; align-items: flex-start; }
.service-card p { min-height: 116px; margin-bottom: 0; }
.service-card p { color: var(--muted); }
.service-card ul { margin: 24px 0 0; padding-left: 1.2em; color: var(--ink); }
.service-card li { margin: 7px 0; }

.split-card {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px;
  padding: 44px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.split-card h2 { font-size: clamp(30px, 4vw, 50px); }

.why { padding: 132px 0; }
.why-card {
  max-width: 1120px;
  padding: clamp(48px, 7vw, 72px);
  border-radius: calc(var(--radius-lg) + 8px);
  background:
    radial-gradient(circle at 90% 12%, rgba(54, 200, 223, .10), transparent 34%),
    linear-gradient(135deg, #ffffff, #fbfdfd);
  border: 1px solid var(--line);
  box-shadow: 0 34px 96px rgba(6, 24, 48, 0.18);
}
.why-card h2 {
  max-width: 880px;
  margin-bottom: clamp(42px, 5vw, 58px);
  font-size: 60px;
  line-height: 1.18;
  letter-spacing: -0.055em;
}
.why-copy {
  max-width: 1040px;
  display: grid;
  gap: 28px;
}
.why .eyebrow {
  color: var(--cyan);
}

.why-copy p {
  margin: 0;
  color: #69727d;
  font-size: 18px;
  line-height: 1.72;
  letter-spacing: -0.01em;
}


.process-heading {
  max-width: 1240px;
  margin-bottom: 52px;
}
.process-heading .section-lead {
  color: var(--muted);
  font-size: 18px;
  white-space: nowrap;
}
.process-lead-break {
  display: none;
}
.consultation-list {
  display: grid;
  gap: 18px;
}
.consultation-row {
  display: grid;
  grid-template-columns: minmax(0, .95fr) 74px minmax(0, 1.05fr);
  align-items: stretch;
  gap: 20px;
}
.consultation-question,
.consultation-answer {
  min-height: 126px;
  padding: 28px 30px;
  border: 1px solid rgba(40, 72, 107, .10);
  border-radius: 22px;
  background: rgba(255,255,255,.90);
  box-shadow: 0 16px 42px rgba(6, 24, 48, .07);
  display: flex;
  align-items: center;
}
.consultation-question {
  gap: 14px;
}
.consultation-question p {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.consultation-number {
  flex: 0 0 auto;
  color: var(--cyan);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .06em;
}
.consultation-answer {
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,249,251,.94));
}
.consultation-answer p {
  margin: 0;
  color: #39485a;
  font-size: 17px;
  line-height: 1.62;
}
.consultation-arrow {
  display: grid;
  place-items: center;
  color: var(--cyan);
  font-size: 54px;
  font-weight: 300;
  line-height: 1;
}

.contact-card {
  padding: clamp(58px, 7vw, 86px);
  text-align: center;
  border-radius: calc(var(--radius-lg) + 8px);
  background: linear-gradient(135deg, #ffffff, #fbfefe);
  border: 1px solid var(--line);
  box-shadow: 0 34px 96px rgba(6, 24, 48, 0.18);
}
.contact-card .eyebrow {
  color: var(--cyan);
}
.contact-card h2 {
  margin-bottom: 38px;
}
.contact-card > p:not(.eyebrow) {
  font-size: 20px;
  color: var(--muted);
}
.contact-card .contact-actions {
  margin-top: 52px;
}
.contact-card .contact-actions { justify-content: center; }
.contact-card .button.secondary { color: var(--ink); }

.site-footer {
  padding: 86px 0 100px;
  background: #06152b;
  color: rgba(255,255,255,.78);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
  gap: clamp(72px, 10vw, 150px);
  align-items: start;
}
.footer-brand-block .eyebrow {
  margin-bottom: 28px;
}
.footer-logo {
  display: block;
  width: min(364px, 70%);
  height: auto;
  object-fit: contain;
  object-position: left center;
}
.footer-tagline {
  margin: 22px 0 0;
  font-size: 22px;
  color: rgba(255,255,255,.80);
}
.footer-values {
  margin: 24px 0 0;
  color: var(--cyan);
  font-size: 20px;
  font-weight: 800;
}
.footer-values span {
  color: rgba(255,255,255,.64);
  padding: 0 8px;
}
.footer-info {
  display: grid;
  gap: 100px;
  justify-items: end;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 17px;
}
.footer-nav a {
  color: rgba(255,255,255,.78);
}
.footer-nav a:hover {
  color: #fff;
}
.footer-contact {
  min-width: 270px;
  font-size: 19px;
}
.footer-contact p {
  margin: 8px 0;
}
.footer-contact strong {
  color: #fff;
}
.footer-contact a:hover {
  color: var(--cyan);
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }


@media (max-width: 1120px) and (min-width: 901px) {
  .process-heading .section-lead { white-space: normal; }
  .process-lead-break { display: block; }
  .services-heading .section-lead { white-space: normal; }
  .services-lead-break { display: block; }
  .hero-lower { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; }
  h1 { font-size: clamp(46px, 5.8vw, 74px); }
  .hero-copy { margin-bottom: 72px; }
  .hero-panel { margin-top: 0; }
}

@media (max-width: 900px) {
  .process-heading .section-lead { white-space: normal; }
  .process-lead-break { display: block; }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 58px;
  }
  .footer-info {
    justify-items: start;
    gap: 44px;
  }
  .footer-nav {
    justify-content: flex-start;
  }
  .nav a:not(.nav-cta) { display: none; }
  .hero-lower, .two-column, .split-card { grid-template-columns: 1fr; }
  h1 { white-space: normal; }
  .hero-copy { margin-bottom: 48px; }
  .hero-copy .eyebrow { margin-bottom: 32px; }
  .hero-panel { max-width: 520px; margin-top: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .consultation-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .consultation-arrow {
    min-height: 34px;
    transform: rotate(90deg);
    font-size: 42px;
  }
  .consultation-question,
  .consultation-answer {
    min-height: auto;
  }
  .pc-only { display: none; }
}
@media (max-width: 560px) {
  .site-footer { padding: 68px 0 76px; }
  .footer-logo { width: 100%; }
  .footer-tagline { font-size: 18px; }
  .footer-values { font-size: 16px; line-height: 1.8; }
  .footer-nav { gap: 14px; font-size: 15px; }
  .footer-contact { font-size: 16px; }
  .why { padding: 84px 0; }
  .why-card { padding: 30px; }
  .why-card h2 { font-size: 34px; }
  .why-copy p { font-size: 16px; }
  .process-heading { margin-bottom: 36px; }
  .process-heading .section-lead { font-size: 16px; }
  .consultation-question,
  .consultation-answer { padding: 22px; }
  .consultation-question p { font-size: 18px; }
  .consultation-answer p { font-size: 16px; }
  .container { width: min(100% - 28px, var(--max)); }
  .site-header { top: 10px; width: calc(100% - 20px); }
  .brand-text { display: none; }
  .nav-cta { padding-inline: 12px !important; }
  .section { padding: 78px 0; }
  .hero { padding-top: 128px; }
  h1 { font-size: 48px; }
  .lead { font-size: 25px; }
  h2 { font-size: 34px; }
  .contact-card, .split-card { padding: 28px; }
}
