:root {
  --navy: #071b4c;
  --blue: #005fdb;
  --sky: #20c7ff;
  --pink: #ff4fa2;
  --red: #ff315f;
  --ink: #10213b;
  --muted: #52647a;
  --paper: #ffffff;
  --soft: #eef6ff;
  --line: #d7e7f7;
  --shadow: 0 22px 70px rgba(3, 28, 75, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
  background: #f8fbff;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px clamp(18px, 4vw, 52px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(215, 231, 247, .8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--sky));
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #263c5c;
  font-size: 14px;
  font-weight: 900;
}

.nav-cta {
  padding: 9px 18px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  box-shadow: 0 10px 28px rgba(0, 95, 219, .24);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #041438;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 100px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0), #f8fbff);
  z-index: 2;
}

.hero-bg {
  position: relative;
  width: 100%;
  background: #041438;
  aspect-ratio: 1672 / 941;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}

.hero-inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 clamp(18px, 4vw, 38px) clamp(40px, 6vw, 80px);
  background: linear-gradient(180deg, transparent 40%, rgba(4, 20, 56, .85));
}

.hero-overlay {
  max-width: 1180px;
  width: 100%;
  text-align: center;
}

.apply-pattern {
  position: absolute;
  inset: 0;
  color: rgba(255, 255, 255, .04);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.2;
  word-spacing: 16px;
  transform: rotate(-4deg) scale(1.08);
  pointer-events: none;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #16a8ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

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

h1 {
  margin: 0;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.1;
  letter-spacing: -.01em;
  text-shadow: 0 10px 26px rgba(0, 0, 0, .24);
}

h1 span {
  display: block;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 4.1vw, 46px);
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.45;
}

.lead {
  max-width: 680px;
  margin: 0 auto;
  color: #d4efff;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
  line-height: 1.8;
}

.hero-actions,
.cta-row,
.apply-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 20px;
}

.hero-actions {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(0, 95, 219, .24);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #0067ff, #25d2ff);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .12);
  box-shadow: none;
}

.button.secondary.dark,
.button.outline {
  color: var(--blue);
  border: 1px solid #a9d3ff;
  background: #fff;
}

.button.big {
  min-height: 60px;
  padding-inline: 30px;
  font-size: 18px;
}

.mini-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.mini-badges span {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .08);
  font-size: 13px;
  font-weight: 700;
}


.container {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
}

.problem-section {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 96px) clamp(18px, 4vw, 52px);
  color: #fff;
  background:
    linear-gradient(160deg, rgba(7, 27, 76, .95), rgba(11, 64, 113, .92)),
    repeating-linear-gradient(45deg, transparent 0 20px, rgba(255, 255, 255, .05) 20px 21px);
}

.problem-section::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -90px;
  width: 55vw;
  height: 180px;
  background: #ffe6f1;
  transform: rotate(-13deg);
}

.problem-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.speech-card {
  min-height: 290px;
}

.speech-card p {
  position: relative;
  margin: 0 0 16px;
  padding: 20px;
  color: var(--navy);
  border: 5px solid #0997ef;
  border-radius: 18px;
  background: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
  word-break: normal;
}

.speech-card p::after {
  content: "";
  position: absolute;
  left: calc(50% - 14px);
  bottom: -19px;
  width: 28px;
  height: 28px;
  border-right: 5px solid #0997ef;
  border-bottom: 5px solid #0997ef;
  background: #fff;
  transform: rotate(45deg);
}

.speech-card img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .28);
}

.problem-call {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 52px auto 0;
  text-align: center;
}

.problem-call p {
  margin: 0 0 10px;
  color: #cdeeff;
  font-weight: 900;
}

.problem-call h2 {
  color: #fff;
  text-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}

.solution,
.why-now,
.flow-section {
  padding: clamp(76px, 9vw, 112px) clamp(18px, 4vw, 52px);
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 42px;
  text-align: center;
}

.solution {
  background: linear-gradient(180deg, #f8fbff, #edf6ff);
}

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

.solution-cards article,
.why-grid article,
.price-panel,
.apply-card {
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.solution-cards article {
  min-height: 280px;
  padding: 28px;
  border: 1px solid #dbeafd;
}

.solution-cards .num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  font-weight: 900;
}

.solution-cards p,
.why-grid p,
.price-panel p,
.demo-copy p,
.apply-card p {
  color: var(--muted);
}

.company-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.company-link:hover {
  color: var(--blue);
}

.demo-section {
  padding: clamp(70px, 8vw, 106px) clamp(18px, 4vw, 52px);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 79, 162, .12), transparent 28%),
    #fff;
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
}

.demo-image img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stats-section {
  padding: 34px clamp(18px, 4vw, 52px);
  color: #fff;
  background: linear-gradient(90deg, #0640b7, #0099ed);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  text-align: center;
}

.stats-grid div {
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, .25);
}

.stats-grid div:last-child {
  border-right: 0;
}

.stats-grid strong,
.stats-grid span {
  display: block;
}

.stats-grid strong {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.stats-grid span {
  margin-top: 8px;
  font-weight: 900;
}

.why-now {
  background: #fff;
}

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

.why-grid article {
  padding: 24px;
  border: 1px solid var(--line);
}

.flow-section {
  background:
    radial-gradient(circle at 80% 5%, rgba(32, 199, 255, .18), transparent 28%),
    linear-gradient(180deg, #edf6ff, #fff);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  min-height: 140px;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
}

.flow-list span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--sky));
}

.price-section {
  padding: clamp(64px, 8vw, 94px) clamp(18px, 4vw, 52px);
  background: linear-gradient(135deg, #071b4c, #005fdb);
}

.price-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(30px, 5vw, 50px);
}

.estimate-panel {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.estimate-head {
  text-align: center;
  margin-bottom: 30px;
}

.estimate-caution {
  margin: 14px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 13px;
}

.estimate-head h2 span,
.estimate-caution span {
  display: inline-block;
}

.estimate-rows {
  display: grid;
  gap: 14px;
}

.estimate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.estimate-label strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
}

.estimate-label span {
  color: var(--muted);
  font-size: 12px;
}

.estimate-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.estimate-controls select,
.estimate-controls input {
  padding: 10px 12px;
  border: 1px solid #b9d4ee;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.estimate-controls select {
  cursor: pointer;
}

.estimate-controls input {
  width: 110px;
  text-align: right;
}

.estimate-controls .unit {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.estimate-options {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px dashed #b9d4ee;
  border-radius: 8px;
}

.estimate-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.estimate-options input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.estimate-result {
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #071b4c, #0a3f9e);
}

.estimate-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  color: #cfe4ff;
  font-size: 13px;
  font-weight: 700;
}

.estimate-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  font-weight: 900;
}

.estimate-total strong {
  font-size: clamp(24px, 4vw, 36px);
  color: #4fd7ff;
  white-space: nowrap;
}

.estimate-footnote {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .65);
  font-size: 12px;
}

.estimate-cta {
  margin-top: 22px;
  text-align: center;
}

.apply-section {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 8vw, 108px) clamp(18px, 4vw, 52px);
  color: #fff;
  background:
    radial-gradient(circle at 20% 15%, rgba(32, 199, 255, .35), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(255, 79, 162, .52), transparent 26%),
    linear-gradient(135deg, #041438, #005fdb 72%, #00a8ff);
}

.apply-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 5vw, 60px);
}

.apply-people img {
  width: min(420px, 100%);
  margin-inline: auto;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, .26));
}

.apply-card {
  padding: clamp(28px, 5vw, 52px);
}

.apply-card h2 {
  color: var(--navy);
}

.apply-card .section-kicker {
  color: var(--red);
}

.apply-contact {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.phone-cta {
  display: grid;
  gap: 4px;
  padding: 20px 24px;
  text-align: center;
  border-radius: 8px;
  border: 2px solid var(--blue);
  background: linear-gradient(180deg, #f2f8ff, #e3f0ff);
  transition: transform .2s ease, box-shadow .2s ease;
}

.phone-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 95, 219, .2);
}

.phone-cta-label {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.phone-cta strong {
  color: var(--navy);
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .02em;
  white-space: nowrap;
}

.phone-icon {
  margin-right: 8px;
  color: var(--blue);
}

.phone-cta-hours {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.form-cta {
  width: 100%;
}

.tagline {
  margin-bottom: 0;
  font-weight: 900;
}

.fixed-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
}

.fixed-cta a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 20px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--pink));
  box-shadow: 0 14px 32px rgba(255, 49, 95, .35);
  font-weight: 900;
}

/* ── Animations ── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.anim-fade-up {
  opacity: 0;
  animation: fadeUp .8s ease-out forwards;
}

.anim-delay-1 { animation-delay: .25s; }
.anim-delay-2 { animation-delay: .5s; }

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}

.reveal.reveal-left {
  transform: translateX(-50px);
}

.reveal.reveal-right {
  transform: translateX(50px);
}

.reveal.reveal-stagger {
  transition-delay: calc(var(--i, 0) * .12s);
}

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

.button {
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.button.glow {
  animation: btnGlow 2.5s ease-in-out infinite;
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(0, 95, 219, .3); }
  50% { box-shadow: 0 8px 40px rgba(0, 150, 255, .55), 0 0 60px rgba(32, 199, 255, .2); }
}

.solution-cards article,
.why-grid article {
  transition: transform .25s ease, box-shadow .25s ease;
}

.solution-cards article:hover,
.why-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 80px rgba(3, 28, 75, .22);
}

.solution-cards .num {
  transition: transform .3s ease;
}

.solution-cards article:hover .num {
  transform: scale(1.1) rotate(-4deg);
}

.flow-list li {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.flow-list li:hover {
  transform: translateY(-4px);
  border-color: var(--sky);
  box-shadow: 0 16px 40px rgba(0, 95, 219, .15);
}

.speech-card {
  transition: transform .25s ease;
}

.speech-card:hover {
  transform: translateY(-4px);
}

.stats-grid strong {
  transition: transform .3s ease;
}

.stats-grid div:hover strong {
  transform: scale(1.12);
}

.fixed-cta a {
  transition: transform .2s ease, box-shadow .2s ease;
  animation: ctaPulse 2s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(255, 49, 95, .35); }
  50% { box-shadow: 0 10px 40px rgba(255, 49, 95, .55), 0 0 50px rgba(255, 79, 162, .2); }
}

.fixed-cta a:hover {
  transform: translateY(-2px) scale(1.04);
}

.nav-cta {
  transition: transform .2s ease, box-shadow .2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(0, 95, 219, .35);
}

.demo-image img {
  transition: transform .4s ease;
}

.demo-image:hover img {
  transform: scale(1.02);
}

@media (max-width: 1040px) {
  .nav {
    display: none;
  }

  .demo-layout,
  .apply-inner {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .solution-cards,
  .why-grid {
    grid-template-columns: 1fr;
  }

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

  .price-panel {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
    padding: 10px 16px;
  }

  .brand {
    font-size: 13px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .hero-bg {
    aspect-ratio: auto;
  }

  .hero-bg img {
    width: 100%;
    height: auto;
    object-fit: contain;
    animation: none;
  }

  .hero-inner {
    position: relative;
    inset: auto;
    padding: 28px 16px 32px;
    background: linear-gradient(180deg, #041438, #0a2a5e);
  }

  .hero-overlay .lead {
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .cta-row .button,
  .apply-buttons .button {
    width: 100%;
  }

  .mini-badges {
    justify-content: center;
  }

  .mini-badges span {
    font-size: 12px;
    padding: 5px 10px;
  }

  h2 {
    font-size: clamp(22px, 6vw, 32px);
  }

  h3 {
    font-size: 18px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .problem-section {
    padding: 48px 16px;
  }

  .speech-card {
    min-height: auto;
  }

  .speech-card p {
    font-size: 16px;
    padding: 16px;
  }

  .problem-call {
    margin-top: 36px;
  }

  .solution,
  .why-now,
  .flow-section {
    padding: 48px 16px;
  }

  .solution-cards article {
    min-height: auto;
    padding: 22px;
  }

  .demo-section {
    padding: 48px 16px;
  }

  .demo-image img {
    border-radius: 8px;
  }

  .stats-section {
    padding: 24px 16px;
  }

  .stats-grid,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .stats-grid div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    padding: 14px;
  }

  .stats-grid div:last-child {
    border-bottom: 0;
  }

  .stats-grid strong {
    font-size: 32px;
  }

  .why-grid article {
    padding: 20px;
  }

  .flow-list li {
    min-height: auto;
    padding: 14px;
  }

  .price-section {
    padding: 48px 16px;
  }

  .price-panel {
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .price-panel .button {
    width: 100%;
  }

  .estimate-panel {
    padding: 22px 16px;
  }

  .estimate-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
  }

  .estimate-controls {
    justify-content: space-between;
  }

  .estimate-controls select {
    flex: 0 0 auto;
  }

  .estimate-controls input {
    flex: 1;
    min-width: 0;
  }

  .estimate-options {
    padding: 14px;
  }

  .estimate-options label {
    font-size: 13px;
    align-items: flex-start;
  }

  .estimate-options input {
    flex-shrink: 0;
    margin-top: 2px;
  }

  .estimate-cta .button {
    width: 100%;
  }

  .apply-section {
    padding: 48px 16px;
  }

  .apply-inner {
    grid-template-columns: 1fr;
  }

  .apply-people img {
    width: min(280px, 80%);
  }

  .apply-card {
    padding: 24px;
  }

  .fixed-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    text-align: center;
  }

  .fixed-cta a {
    font-size: 14px;
    min-height: 48px;
    padding: 12px 20px;
    width: 100%;
    justify-content: center;
  }

  .reveal.reveal-left,
  .reveal.reveal-right {
    transform: translateY(30px);
  }

  h2 br {
    display: none;
  }

  .hero::after {
    display: none;
  }

  .problem-section::after {
    display: none;
  }
}
