:root {
  --navy: #07172f;
  --navy-2: #0b2244;
  --blue: #1854e8;
  --cyan: #18d5ee;
  --cyan-soft: #dffaff;
  --ink: #0d1b2f;
  --muted: #5f6d7c;
  --paper: #f4f8fb;
  --white: #ffffff;
  --line: #d7e1e9;
  --line-dark: rgba(255, 255, 255, 0.16);
  --success: #13856b;
  --warning: #b86816;
  --shadow: 0 24px 70px rgba(5, 25, 56, 0.13);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; }

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

h1, h2, h3 {
  overflow-wrap: break-word;
  word-break: auto-phrase;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--navy);
  background: var(--white);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

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

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(215, 225, 233, 0.85);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  width: 42px;
  aspect-ratio: 1;
  position: relative;
  border: 10px solid var(--navy);
  border-right-color: transparent;
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  right: -10px;
  width: 13px;
  height: 10px;
  background: linear-gradient(135deg, var(--cyan), #50bfff);
  border-radius: 0 4px 4px 0;
}

.brand-mark::before { top: -10px; }
.brand-mark::after { bottom: -10px; }

.brand-copy { display: grid; line-height: 1.1; }
.brand-name { font-size: 28px; font-weight: 800; letter-spacing: -0.05em; }
.brand-tag { margin-top: 7px; font-size: 10px; font-weight: 700; letter-spacing: .06em; }

.global-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 28px; padding: 0; margin: 0; list-style: none; }
.nav-link { text-decoration: none; font-size: 14px; font-weight: 700; }
.nav-link:hover { color: var(--blue); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 0 28px;
  margin-left: 8px;
  color: var(--white);
  background: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.header-cta::after { content: "↗"; color: var(--cyan); font-size: 18px; }
.header-cta:hover { background: var(--blue); }

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}

.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::before { transform: translateY(8px) rotate(45deg); }
.menu-button[aria-expanded="true"]::after { transform: translateY(-8px) rotate(-45deg); }

.hero {
  min-height: min(820px, calc(100svh - 88px));
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 30%, rgba(31, 83, 235, 0.22), transparent 28%),
    linear-gradient(145deg, #06142a 0%, #081a36 65%, #0b2144 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 790px;
  padding-block: 110px 170px;
}

.kicker,
.section-index,
.page-kicker {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(46px, 6.6vw, 86px);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.accent { color: var(--cyan); }

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 2;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  min-height: 58px;
  padding: 14px 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button::after { content: "↗"; font-size: 17px; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy); background: linear-gradient(115deg, var(--cyan), #65c8ff); }
.button-secondary { color: var(--white); border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }
.button-dark { color: var(--white); background: var(--navy); }
.button-outline { color: var(--navy); border-color: var(--line); background: var(--white); }

.hero-note { margin: 18px 0 0; color: rgba(255,255,255,.58); font-size: 12px; }

.hero-wave {
  position: absolute;
  z-index: 1;
  right: -8%;
  bottom: -5%;
  left: -8%;
  height: 47%;
  opacity: .95;
  pointer-events: none;
}

.hero-wave svg { width: 100%; height: 100%; preserveAspectRatio: none; }
.wave-line { animation: wave-shift 10s ease-in-out infinite alternate; transform-origin: center; }
.wave-line:nth-child(2) { animation-duration: 14s; animation-direction: alternate-reverse; }

@keyframes wave-shift {
  from { transform: translateX(-2.2%) scaleY(.94); }
  to { transform: translateX(2.2%) scaleY(1.05); }
}

.hero-meta {
  position: absolute;
  z-index: 3;
  right: 32px;
  bottom: 24px;
  left: 32px;
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.55);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section { padding-block: 120px; }
.section-soft { background: var(--paper); }
.section-dark { color: var(--white); background: var(--navy); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .9fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.2;
  letter-spacing: -0.045em;
  text-wrap: balance;
  word-break: auto-phrase;
}

.heading-line { display: block; }
.heading-phrase { display: inline-block; white-space: nowrap; }

.section-heading p { margin: 0; max-width: 620px; color: var(--muted); }
.section-dark .section-heading p { color: rgba(255,255,255,.68); }

.problem-list,
.service-grid,
.promise-grid,
.contact-grid,
.info-grid,
.feature-grid,
.news-grid {
  display: grid;
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--line);
}

.problem-list { grid-template-columns: repeat(2, 1fr); }
.problem-item { min-height: 210px; padding: 38px; background: var(--white); }
.number { display: block; margin-bottom: 26px; color: var(--blue); font-family: ui-monospace, monospace; font-size: 12px; font-weight: 800; }
.problem-item p { margin: 0; font-size: clamp(16px, 1.7vw, 20px); line-height: 1.8; font-weight: 700; }

.intro-grid,
.split-grid {
  display: grid;
  grid-template-columns: .9fr 1.35fr;
  gap: clamp(44px, 8vw, 120px);
  align-items: start;
}

.big-copy { margin: 0; font-size: clamp(30px, 4vw, 54px); line-height: 1.3; letter-spacing: -.04em; text-wrap: balance; }
.body-copy p { margin: 0 0 22px; color: var(--muted); }
.body-copy p:last-child { margin-bottom: 0; }

.check-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.check-chip { padding: 9px 14px; border-radius: 999px; color: var(--navy); background: var(--cyan-soft); font-size: 12px; font-weight: 800; }

.service-grid { grid-template-columns: repeat(2, 1fr); border-color: var(--line-dark); background: var(--line-dark); }
.service-card {
  position: relative;
  min-height: 330px;
  padding: 38px;
  background: var(--navy);
  text-decoration: none;
  transition: background .25s ease;
}
.service-card:hover { background: var(--navy-2); }
.service-card:nth-child(5) { grid-column: 1 / -1; }
.service-card .en { color: rgba(255,255,255,.47); font-size: 12px; }
.service-card h3 { margin: 64px 0 14px; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.4; }
.service-card p { max-width: 520px; margin: 0; color: rgba(255,255,255,.66); }
.service-card .arrow { position: absolute; top: 34px; right: 34px; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }

.promise-grid { grid-template-columns: repeat(3, 1fr); }
.promise-card { padding: 38px; background: var(--white); }
.promise-card h3 { margin: 0 0 16px; font-size: 21px; line-height: 1.5; }
.promise-card p { margin: 0; color: var(--muted); font-size: 14px; }

.proof-card {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 54px;
  align-items: center;
  padding: clamp(36px, 6vw, 72px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(24, 84, 232, .4), transparent 60%),
    var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.proof-card h2 { margin: 0 0 22px; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.3; text-wrap: balance; }
.proof-card p { margin: 0; color: rgba(255,255,255,.7); }
.proof-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.proof-list li { padding: 16px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.05); font-size: 14px; font-weight: 700; }

.flow-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; margin: 0; list-style: none; }
.flow-item { position: relative; padding: 0 28px 0 0; }
.flow-item:not(:last-child)::after { content: ""; position: absolute; top: 17px; right: 0; width: 36%; height: 1px; background: var(--line); }
.flow-number { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 24px; border-radius: 50%; color: var(--white); background: var(--blue); font-size: 12px; font-weight: 800; }
.flow-item h3 { margin: 0 0 12px; font-size: 18px; }
.flow-item p { margin: 0; color: var(--muted); font-size: 14px; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  display: grid;
  grid-template-columns: 45px 1fr 36px;
  gap: 14px;
  align-items: center;
  padding: 26px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-weight: 800;
}
.faq-question .q { color: var(--blue); font-family: ui-monospace, monospace; }
.faq-question > span:nth-child(2) { text-wrap: pretty; word-break: auto-phrase; }
.faq-question .plus { font-size: 24px; font-weight: 400; transition: transform .2s ease; }
.faq-question[aria-expanded="true"] .plus { transform: rotate(45deg); }
.faq-answer { padding: 0 50px 26px 59px; color: var(--muted); }
.faq-answer p { margin: 0; }

.contact-band { padding-block: 100px; color: var(--white); background: linear-gradient(135deg, #0a244d, #06142a); }
.contact-grid { grid-template-columns: 1fr 1fr; border-color: var(--line-dark); background: var(--line-dark); }
.contact-card { min-height: 230px; padding: 38px; background: rgba(255,255,255,.025); text-decoration: none; }
.contact-card:hover { background: rgba(255,255,255,.07); }
.contact-card .small { color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.contact-card h3 { margin: 38px 0 12px; font-size: 28px; }
.contact-card p { margin: 0; color: rgba(255,255,255,.65); font-size: 14px; }

.page-hero {
  padding-block: 105px 72px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), #0d2d62);
}
.page-hero p { max-width: 720px; margin: 24px 0 0; color: rgba(255,255,255,.72); font-size: 18px; }

.breadcrumbs { padding-block: 18px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs a { text-decoration: none; }

.content-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 76px; }
.toc { position: sticky; top: 116px; align-self: start; padding: 24px; border: 1px solid var(--line); border-radius: 18px; }
.toc-title { margin: 0 0 15px; font-size: 12px; font-weight: 800; }
.toc ul { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.toc a { color: var(--muted); text-decoration: none; font-size: 12px; }
.toc a:hover { color: var(--blue); }

.article { min-width: 0; }
.article-section { padding-block: 0 78px; margin-bottom: 78px; border-bottom: 1px solid var(--line); }
.article-section:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.article-section h2 { margin: 0 0 26px; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.35; letter-spacing: -.035em; }
.article-section h3 { margin: 30px 0 10px; font-size: 21px; }
.article-section p { margin: 0 0 18px; color: var(--muted); }
.article-section p:last-child { margin-bottom: 0; }
.article-section a:not(.button) { color: var(--blue); }

.feature-grid { grid-template-columns: repeat(2, 1fr); }
.feature-card { padding: 30px; background: var(--white); }
.feature-card h3 { margin-top: 0; }
.feature-card p { font-size: 14px; }

.plain-list { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.plain-list li { position: relative; padding: 16px 18px 16px 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.plain-list li::before { content: "✓"; position: absolute; left: 18px; top: 16px; color: var(--blue); font-weight: 900; }

.price-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); }
.price-table th, .price-table td { padding: 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table th { width: 38%; background: var(--paper); font-size: 14px; }
.price-table td { font-weight: 700; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }

.price-highlight { display: flex; align-items: baseline; gap: 18px; padding: 30px; border-radius: 18px; background: var(--navy); color: var(--white); }
.price-highlight strong { color: var(--cyan); font-size: clamp(32px, 5vw, 52px); }
.price-highlight span { color: rgba(255,255,255,.7); }

.notice { padding: 18px 20px; margin-block: 22px; border-left: 4px solid var(--blue); color: var(--muted); background: #eef4ff; font-size: 14px; }
.notice strong { color: var(--ink); }

.contact-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-option { display: flex; flex-direction: column; min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; }
.contact-option:hover { border-color: var(--blue); box-shadow: 0 14px 36px rgba(6,29,64,.08); }
.contact-option .label { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.contact-option h3 { margin: 40px 0 12px; font-size: 26px; }
.contact-option p { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.contact-option .link-text { margin-top: auto; font-weight: 800; }

.business-table { width: 100%; border-collapse: collapse; }
.business-table th, .business-table td { padding: 18px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.business-table th { width: 30%; color: var(--muted); font-size: 13px; }

.empty-state { padding: 60px 30px; border: 1px dashed var(--line); border-radius: 18px; text-align: center; }
.empty-state h2 { margin: 0 0 12px; font-size: 28px; }
.empty-state p { margin: 0; color: var(--muted); }

.site-footer { padding-block: 72px 30px; color: var(--white); background: #041024; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 60px; }
.footer-brand .brand-mark { border-color: var(--white); border-right-color: transparent; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-tag { color: rgba(255,255,255,.55); }
.footer-copy { max-width: 420px; margin: 28px 0 0; color: rgba(255,255,255,.58); font-size: 13px; }
.footer-title { margin: 0 0 18px; color: rgba(255,255,255,.38); font-size: 11px; letter-spacing: .16em; }
.footer-links { display: grid; gap: 9px; padding: 0; margin: 0; list-style: none; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; margin-top: 60px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.42); font-size: 11px; }

.mobile-contact { display: none; }

@media (max-width: 960px) {
  .header-inner { min-height: 76px; }
  .global-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: calc(100svh - 76px);
    display: none;
    padding: 30px 24px 120px;
    overflow-y: auto;
    background: var(--white);
  }
  .global-nav.open { display: block; }
  .nav-list { align-items: stretch; flex-direction: column; gap: 0; }
  .nav-link { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .header-cta { display: none; }
  .menu-button { display: block; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .content-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-options { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .container { width: min(calc(100% - 32px), var(--max)); }
  .brand-mark { width: 34px; border-width: 8px; }
  .brand-mark::before, .brand-mark::after { right: -8px; width: 11px; height: 8px; }
  .brand-mark::before { top: -8px; }
  .brand-mark::after { bottom: -8px; }
  .brand-name { font-size: 23px; }
  .brand-tag { font-size: 8px; }
  .hero { min-height: 720px; }
  .hero-inner { padding-block: 84px 180px; }
  .hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .hero-lead { font-size: 14px; line-height: 1.9; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-wave { height: 38%; }
  .hero-meta { right: 16px; bottom: 14px; left: 16px; }
  .hero-meta span:nth-child(2) { display: none; }
  .section { padding-block: 80px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .page-hero h1 { font-size: clamp(30px, 8.4vw, 40px); line-height: 1.28; }
  .page-hero h1.page-title-long { font-size: clamp(27px, 7.6vw, 36px); }
  .problem-list, .service-grid, .promise-grid, .proof-card, .contact-grid, .feature-grid, .news-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(5) { grid-column: auto; }
  .problem-item { min-height: auto; padding: 28px 24px; }
  .intro-grid, .split-grid { grid-template-columns: 1fr; gap: 34px; }
  .service-card { min-height: 290px; padding: 28px 24px; }
  .service-card h3 { margin-top: 56px; }
  .promise-card { padding: 28px 24px; }
  .proof-card { padding: 32px 24px; border-radius: 20px; }
  .flow-list { grid-template-columns: 1fr; gap: 30px; }
  .flow-item { padding: 0 0 0 56px; }
  .flow-item:not(:last-child)::after { top: 42px; right: auto; bottom: -24px; left: 19px; width: 1px; height: auto; }
  .flow-number { position: absolute; left: 0; top: 0; }
  .faq-question { grid-template-columns: 34px 1fr 28px; padding: 22px 0; }
  .faq-answer { padding: 0 30px 22px 48px; }
  .contact-band { padding-block: 72px; }
  .contact-card { min-height: 210px; padding: 28px 24px; }
  .page-hero { padding-block: 74px 52px; }
  .page-hero p { font-size: 15px; }
  .toc { display: none; }
  .article-section { padding-bottom: 54px; margin-bottom: 54px; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; }
  .price-table tr { padding: 18px; border-bottom: 1px solid var(--line); }
  .price-table th, .price-table td { padding: 0; border: 0; }
  .price-table th { margin-bottom: 6px; background: transparent; }
  .price-highlight { align-items: flex-start; flex-direction: column; gap: 6px; }
  .business-table th, .business-table td { display: block; width: 100%; }
  .business-table th { padding-bottom: 0; border-bottom: 0; }
  .business-table td { padding-top: 4px; }
  .footer-grid { grid-template-columns: 1fr; gap: 42px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .mobile-contact {
    position: fixed;
    z-index: 45;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    justify-content: center;
    padding: 13px 18px;
    color: var(--navy);
    background: linear-gradient(110deg, var(--cyan), #7bd7ff);
    border-radius: 999px;
    box-shadow: 0 12px 40px rgba(2, 20, 49, .28);
    text-decoration: none;
    font-weight: 900;
    font-size: 14px;
  }
  .site-footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
