:root {
  --ink: #12243a;
  --muted: #607089;
  --line: #dbe4ef;
  --soft: #f5f9fd;
  --soft-blue: #e9f5ff;
  --blue: #075db3;
  --blue-2: #0c8bd8;
  --cyan: #2bb8cf;
  --green: #2f9f77;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(18, 36, 58, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 228, 239, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  min-height: 72px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(7, 93, 179, 0.22);
}

.brand small {
  display: block;
  margin-top: -3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: #273d59;
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.nav a.active {
  color: var(--blue);
  background: var(--soft-blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 72px);
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.9) 38%, rgba(255,255,255,0.2) 72%),
    url("../images/hero-felix.png");
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 24px 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: var(--cyan);
}

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

.hero h1 {
  max-width: 720px;
  font-size: clamp(36px, 6vw, 66px);
}

.lead {
  max-width: 670px;
  margin: 22px 0 0;
  color: #31465f;
  font-size: 18px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 14px 28px rgba(7, 93, 179, 0.24);
}

.button.ghost {
  color: var(--blue);
  background: rgba(255,255,255,0.82);
  border-color: var(--line);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 52px;
}

.metric {
  min-height: 112px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(219, 228, 239, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(18, 36, 58, 0.08);
}

.metric strong {
  display: block;
  color: var(--blue);
  font-size: 24px;
  line-height: 1.2;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: 84px 24px;
}

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

.section.blue-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 93, 179, 0.94), rgba(13, 136, 200, 0.9)),
    url("../images/trust-review.png") center / cover;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-head h2,
.page-title h1 {
  font-size: clamp(28px, 4vw, 44px);
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.blue-band .section-head p,
.blue-band .eyebrow {
  color: rgba(255,255,255,0.84);
}

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

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

.feature,
.case-card,
.info-card,
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(18, 36, 58, 0.06);
}

.feature,
.info-card {
  padding: 26px;
}

.icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 8px;
}

.feature h3,
.info-card h3 {
  font-size: 19px;
}

.feature p,
.info-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 42px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

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

.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  color: #31465f;
}

.check-list li::before {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  content: "✓";
  background: var(--green);
  border-radius: 50%;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.24);
}

.step {
  min-height: 170px;
  padding: 24px;
  background: rgba(255,255,255,0.12);
}

.step span {
  display: block;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.78);
  font-weight: 800;
}

.step h3 {
  font-size: 18px;
}

.step p {
  margin: 10px 0 0;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

.case-card {
  overflow: hidden;
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-body {
  padding: 22px;
}

.tag {
  display: inline-block;
  padding: 4px 9px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  background: var(--soft-blue);
  border-radius: 999px;
}

.case-body h3 {
  margin-top: 12px;
  font-size: 18px;
}

.case-body p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.cta {
  padding: 58px 24px;
  color: var(--white);
  background: linear-gradient(135deg, #123653, #075db3 58%, #2bb8cf);
}

.cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta h2 {
  font-size: clamp(25px, 4vw, 38px);
}

.cta p {
  margin: 12px 0 0;
  color: rgba(255,255,255,0.82);
}

.page-hero {
  padding: 72px 24px 46px;
  background:
    linear-gradient(135deg, rgba(245,249,253,0.96), rgba(233,245,255,0.92)),
    url("../images/hero-felix.png") center / cover;
  border-bottom: 1px solid var(--line);
}

.page-title {
  max-width: var(--max);
  margin: 0 auto;
}

.page-title p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.table th,
.table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table th {
  width: 210px;
  color: var(--blue);
  background: var(--soft);
}

.table tr:last-child th,
.table tr:last-child td {
  border-bottom: 0;
}

.form-card {
  padding: 28px;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 13px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.notice {
  padding: 16px 18px;
  margin-top: 18px;
  color: #36506b;
  background: var(--soft-blue);
  border: 1px solid #cfe9ff;
  border-radius: var(--radius);
}

.legal {
  max-width: 860px;
}

.legal h2 {
  margin-top: 36px;
  font-size: 23px;
}

.legal p,
.legal li {
  color: #40536c;
}

.site-footer {
  padding: 44px 24px 24px;
  color: rgba(255,255,255,0.82);
  background: #102238;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid h3 {
  color: var(--white);
  font-size: 15px;
}

.footer-grid ul {
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}

.footer-grid li {
  margin-top: 8px;
}

.copyright {
  max-width: var(--max);
  margin: 32px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: grid;
  }

  .nav a {
    padding: 12px;
  }

  .hero {
    min-height: auto;
    background-image:
      linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.88) 58%, rgba(255,255,255,0.45) 100%),
      url("../images/hero-felix.png");
  }

  .hero-inner {
    padding-top: 64px;
  }

  .hero-metrics,
  .grid-3,
  .grid-2,
  .timeline,
  .split,
  .split.reverse,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .cta .container {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }

  .section,
  .cta {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .table th,
  .table td {
    display: block;
    width: 100%;
  }

  .table th {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .header-inner {
    padding: 0 16px;
  }

  .brand span:last-child {
    font-size: 14px;
  }

  .brand small {
    font-size: 10px;
  }

  .hero-inner,
  .section,
  .page-hero,
  .cta,
  .site-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .media img {
    min-height: 260px;
  }
}
