:root {
  --ink: #07131f;
  --ink-2: #102a35;
  --ink-3: #203947;
  --paper: #f4f7f4;
  --paper-2: #e8f0ed;
  --paper-3: #ffffff;
  --muted: #5d6b70;
  --line: rgba(16, 42, 53, 0.12);
  --teal: #22bfa8;
  --teal-2: #43dcc4;
  --blue: #167ec2;
  --gold: #f0b742;
  --red: #d94c3f;
  --shadow: 0 24px 70px rgba(7, 19, 31, 0.16);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 10px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--paper-3);
  color: var(--ink);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(244, 247, 244, 0.86);
  border-bottom: 1px solid rgba(16, 42, 53, 0.08);
  backdrop-filter: blur(18px);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(244, 247, 244, 0.96);
  box-shadow: 0 12px 34px rgba(7, 19, 31, 0.08);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 8px;
}

.brand-text {
  display: grid;
  gap: 0;
  min-width: 0;
}

.brand-name {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}

.brand-sub {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-3);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.section {
  padding: 104px 0;
}

.section-soft {
  background: var(--paper-2);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 900;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
}

h3 {
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 900;
}

p {
  color: var(--muted);
}

.section-dark p,
.section-dark .hero-lead {
  color: rgba(244, 247, 244, 0.78);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff;
  box-shadow: 0 14px 32px rgba(22, 126, 194, 0.24);
}

.button-ghost {
  color: var(--paper);
  border-color: rgba(244, 247, 244, 0.32);
  background: rgba(244, 247, 244, 0.08);
}

.hero {
  position: relative;
  min-height: 860px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 148px 0 88px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 19, 31, 0.94) 0%, rgba(7, 19, 31, 0.72) 46%, rgba(7, 19, 31, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 19, 31, 0.25), rgba(7, 19, 31, 0.78));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 32px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 58px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 900px;
  margin: 0;
  border: 1px solid rgba(244, 247, 244, 0.18);
  background: rgba(7, 19, 31, 0.5);
  backdrop-filter: blur(16px);
}

.hero-metrics div {
  padding: 22px;
  border-right: 1px solid rgba(244, 247, 244, 0.14);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics dt {
  margin-bottom: 5px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 0;
  color: rgba(244, 247, 244, 0.68);
  font-size: 13px;
  font-weight: 700;
}

.trust-strip {
  padding: 20px 0;
  background: var(--ink-2);
  color: rgba(244, 247, 244, 0.84);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.trust-grid span {
  padding: 10px 8px;
  border: 1px solid rgba(244, 247, 244, 0.12);
  border-radius: 8px;
  background: rgba(244, 247, 244, 0.04);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}

.copy-stack p {
  font-size: 17px;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 48px;
}

.section-heading p {
  font-size: 17px;
}

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

.service-card,
.price-card,
.case-card,
.company-card,
.rep-card,
.contact-form,
.process-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-3);
  box-shadow: 0 12px 34px rgba(7, 19, 31, 0.06);
}

.service-card {
  padding: 28px;
  min-height: 390px;
}

.card-number {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 800;
}

.check-list li {
  position: relative;
  padding-left: 25px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #fff 0 25%, var(--teal) 27% 100%);
}

.split-visual {
  align-items: center;
}

.visual-panel {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.feature-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
}

.feature-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--ink-2);
  color: #fff;
  font-weight: 900;
}

.feature-list p {
  margin: 0;
  font-size: 17px;
}

.process-section {
  background:
    radial-gradient(circle at 20% 15%, rgba(67, 220, 196, 0.18), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(240, 183, 66, 0.12), transparent 28%),
    var(--ink);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-grid article {
  min-height: 260px;
  padding: 26px;
  color: var(--paper);
  background: rgba(244, 247, 244, 0.07);
  border-color: rgba(244, 247, 244, 0.12);
}

.process-grid span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.process-grid h3 {
  color: #fff;
}

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

.price-card {
  padding: 30px;
  min-height: 390px;
}

.price-card.featured {
  color: #fff;
  background: linear-gradient(160deg, var(--ink-2), #0f453b);
  border-color: transparent;
  box-shadow: 0 26px 70px rgba(7, 19, 31, 0.24);
}

.price-card.featured p,
.price-card.featured .check-list {
  color: rgba(255, 255, 255, 0.78);
}

.price-card.featured h3 {
  color: #fff;
}

.plan {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(34, 191, 168, 0.12);
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.price-card h3 {
  margin-bottom: 14px;
  font-size: 42px;
}

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

.case-card {
  padding: 28px;
}

.case-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.message-section {
  overflow: hidden;
}

.representative {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.rep-card {
  position: relative;
  display: grid;
  gap: 22px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
    var(--paper-3);
}

.rep-card::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 191, 168, 0.18), rgba(22, 126, 194, 0.12)),
    var(--paper-2);
}

.rep-card img {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 44%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 18px 24px rgba(7, 19, 31, 0.16));
}

.rep-card strong,
.rep-card span {
  display: block;
}

.rep-card strong {
  font-size: 21px;
}

.rep-card span {
  color: var(--muted);
  font-weight: 700;
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 450px);
  gap: 52px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.timeline div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 26px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
}

.timeline p {
  margin: 0;
}

.company-card {
  padding: 30px;
}

.profile-list {
  margin: 0;
}

.profile-list div {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.profile-list div:last-child {
  border-bottom: 0;
}

.profile-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.profile-list dd {
  margin: 0;
  font-weight: 800;
}

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

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-3);
}

summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 24px 22px;
}

.contact-section {
  background:
    linear-gradient(120deg, rgba(7, 19, 31, 0.96), rgba(16, 42, 53, 0.94)),
    var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 56px;
  align-items: start;
}

.contact-points {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.contact-points div {
  padding: 18px;
  border: 1px solid rgba(244, 247, 244, 0.16);
  border-radius: 8px;
  background: rgba(244, 247, 244, 0.06);
}

.contact-points strong,
.contact-points span {
  display: block;
}

.contact-points strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: 18px;
}

.contact-points span {
  color: rgba(244, 247, 244, 0.66);
  font-size: 14px;
}

.contact-form {
  padding: 30px;
  color: var(--ink);
  background: var(--paper-3);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

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

label,
legend {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 900;
}

label span,
legend span {
  color: var(--red);
  font-size: 12px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(16, 42, 53, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border 0.18s ease, box-shadow 0.18s ease;
}

input,
select {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  min-height: 140px;
  padding: 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(34, 191, 168, 0.16);
}

fieldset {
  padding: 0;
  border: 0;
}

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

.checkbox-grid label,
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(16, 42, 53, 0.12);
  border-radius: 8px;
  background: rgba(16, 42, 53, 0.03);
  font-size: 13px;
  font-weight: 800;
}

.checkbox-grid input,
.consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.consent {
  margin: 6px 0 18px;
}

.consent a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.form-status {
  min-height: 24px;
  margin: 0 0 16px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.form-status.success {
  color: #148a6f;
}

.form-submit {
  width: 100%;
}

.site-footer {
  padding: 56px 0 24px;
  background: #06101a;
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 1fr;
  gap: 46px;
}

.footer-brand {
  margin-bottom: 16px;
}

.site-footer p,
.site-footer a,
.site-footer small {
  color: rgba(244, 247, 244, 0.68);
}

.site-footer h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-bottom: 9px;
  font-weight: 800;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 247, 244, 0.12);
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(7, 19, 31, 0.72);
  backdrop-filter: blur(8px);
}

.success-modal.is-open {
  display: grid;
}

.success-dialog {
  position: relative;
  width: min(100%, 460px);
  padding: 34px;
  border-radius: 8px;
  background: var(--paper-3);
  text-align: center;
  box-shadow: var(--shadow);
}

.success-dialog p {
  margin-bottom: 24px;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff;
  font-size: 32px;
  font-weight: 900;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: rgba(16, 42, 53, 0.08);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.subpage-main {
  padding: 132px 0 88px;
  background: var(--paper);
}

.subpage-header {
  max-width: 820px;
  margin-bottom: 44px;
}

.policy-card {
  max-width: 900px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-3);
  box-shadow: 0 12px 34px rgba(7, 19, 31, 0.06);
}

.policy-card section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.policy-card section:first-child {
  padding-top: 0;
}

.policy-card section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.policy-card h2 {
  font-size: 22px;
}

.policy-card p,
.policy-card li {
  color: var(--muted);
}

.policy-card ul {
  margin: 0;
  padding-left: 1.2em;
}

@media (max-width: 1040px) {
  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .split,
  .company-grid,
  .contact-grid,
  .representative {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    gap: 36px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-name {
    max-width: 210px;
    white-space: normal;
  }

  .brand-sub {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 68px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper-3);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
    border-radius: 6px;
  }

  .site-nav a:hover {
    background: var(--paper-2);
  }

  .site-nav a::after {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    min-height: 780px;
    padding: 116px 0 64px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(7, 19, 31, 0.92) 0%, rgba(7, 19, 31, 0.82) 52%, rgba(7, 19, 31, 0.52) 100%),
      linear-gradient(90deg, rgba(7, 19, 31, 0.74), rgba(7, 19, 31, 0.25));
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-metrics,
  .pricing-grid,
  .case-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    border-right: 0;
    border-bottom: 1px solid rgba(244, 247, 244, 0.14);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .trust-grid,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-grid article,
  .price-card {
    min-height: auto;
  }

  .two-columns,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .timeline div,
  .profile-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-form {
    padding: 22px;
  }
}
